/*
Theme Name: hillstate_theme
Version: 1.0
Description: A child theme of Best by MyThemeShop
Template: mts_best
Text Domain: best
*/

@import url("../mts_best/style.css");

.home .single_page .breadcrumb,.home .single_page > header{
	display: none;
}

#sidebar .widget h3.widget-title {
    background: #3498db;
    color: #ffffff;
    font-size: 20px !important;
    line-height: 50px !important;
    text-align: center;
    padding-left: 0px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin: 0 0 10px 0;
}
/*cf7 style*/
.cf7_wrap {
    width: 100%;
    overflow: hidden;
}
.cf7_wrap input,
.cf7_wrap textarea,
.cf7_wrap select{
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    background: #fff;
    -webkit-appearance: none;
}
.cf7_wrap input:focus,
.cf7_wrap textarea:focus{
	border: 1px solid #ffa300;
	color: #ffa300;
	outline: none;
}
.cf7_wrap input[type="date"]:before {
   content: attr(placeholder) !important;
   color: #aaa;
   margin-right: 0.5em;
 }
.cf7_wrap  input[type="date"]:focus:before,
.cf7_wrap  input[type="date"]:valid:before {
   content: "";
 }
.cf7_wrap input,
.cf7_wrap select{
	height: 39px;
}
.cf7_wrap select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAVklEQVQImX3KQQ3AIBBE0bkjBTHIwUF9sBI2+4VgAwscyqUH0tD+ZC6TJ6AD98+63D0D4wMMd8+SJKAA8wUmULQXEXVHEVF1CmgPakcgSWaWgMvM0v4v8Btn7NLEpSUAAAAASUVORK5CYII=") right 10px center no-repeat #FFF !important;
}
.cf7_wrap textarea{
	height: 125px;
}
.cf7_row{
	margin-bottom: 4px;
}
.cf7_col1 {
    width: 50%;
    float: left;
    padding-right: 2px;
    margin-bottom: 4px;
}
.cf7_col2 {
    width: 50%;
    float: right;
    padding-left: 2px;
    margin-bottom: 4px;
}
.cf7_submit {
    text-align: right;
    margin-top: 15px;
}
.wpcf7-form-control.wpcf7-submit {
    border: 1px solid #ffa300;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    background: #ffa300;
    width: 100%;
    height: 39px;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    float: right;
    padding: 0;
}
.wpcf7-form-control.wpcf7-submit:hover{
	border: 1px solid #d88f0e;
	background: #d88f0e;
    color: #fff !important;
}
div.wpcf7 img.ajax-loader {
    position: relative;
    top: 0px;
    left: 15px;
}
span.wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin: 5px 0 0;
}
select.wpcf7-form-control {
    border: 1px solid #ccc;
    background: #fff;
}
input.wpcf7-form-control.wpcf7-submit {
    width: auto;
    padding: 0 20px;
    margin: 0 auto;
    float: none;
}
@media (max-width: 767px){
	.cf7_wrap_full_mobile .cf7_col1,
	.cf7_wrap_full_mobile .cf7_col2{
    	width: 100%;
    	padding-left:0;
    	padding-right:0;
    	
	}
}
.cf7_wrap_left {
    width: 70%;
    float: left;
}
.cf7_wrap_right {
    width: 30%;
    float: right;
padding-left: 20px;
}
.wpcf7-response-output {
    float: left;
    margin: 0 10px 0 !important;
}
/*End cf7*/
.logo-wrap {
    margin: 0;
}
.header-inner {
    padding: 20px 0;
}
.cf7_wrap_right .wpcf7-submit {
    margin-top: 43px;
}
.tab_widget ul.wps_tabs li a {
    color: #fff!important;
    font-size: 14px;
    font-weight: normal;
    text-shadow: none;
}
.tab_widget ul.wps_tabs li.active, .tab_widget ul.wps_tabs li.active a:hover {
    background: #0271bf;
    border-bottom: 0;
}
#wpadminbar #wp-admin-bar-my-account.with-avatar>a img{
	height: 16px !important;
}
iframe[name='google_conversion_frame'] { 
    height: 0 !important;
    width: 0 !important; 
    line-height: 0 !important; 
    font-size: 0 !important;
    margin-top: -13px;
    float: left;
}
.stick_menu {
    background: #ffb200;
    color: #fff;
    margin: 0;
    min-height: 1px;
}
.stick_menu.menu_fixed {
    position: fixed;
    width: 300px;
    top: 105px;
}
.stick_menu.menu_absolute {
    position: absolute;
    bottom: 0;
    width: 300px;
}
ul.svl_menu_stick_values {
    margin: 0;
    padding: 10px 0;
    list-style: none;
    overflow: hidden;    
}
ul.svl_menu_stick_values li {
    list-style: none;
    display: block;
    margin: 0;
}
ul.svl_menu_stick_values li a {
    color: #fff;
    display: block;
    font-size: 16px;
    margin: 0;
    padding: 10px 10px 10px 30px;
}

.shareit.bottom {
    float: left;
    clear: none;
    padding: 0 0 0 20px;
}
form#mtscontact_form, div#mtscontact_success {
    clear: both;
}
.wpcf7 input {
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
}
@media (max-width: 830px){
	.stick_menu{
		display: none;
	}
}
body .mfp-wrap {
    z-index: 99999999999;
}
body .mfp-bg {
    z-index: 9999999999;
}

.full-width .article {
    width: 100%;
}
.blog_items_kygui {
    margin: 0 -15px !important;
}
.margin_mobile div#content_box {
    overflow: hidden !important;
}
.blog_items_kygui article.kygui_box {
    padding: 0 15px;
    margin: 0 0 30px 0;
    clear: none;
}
.blog_items_kygui article.kygui_box .post-data{
    background: #fff;
    padding: 10px;
    border: 1px solid #e6e4e4;
    border-top: 0;
}
.blog_items_kygui article.kygui_box:nth-child(3n+1) {
    clear: both;
}
.blog_items_kygui article.kygui_box .post-data .post-data-container h2 {
    margin: 0 0 5px 0 !important;
    line-height: 20px;
}
.blog_items_kygui article.kygui_box .post-data footer {
    background: none;
    overflow: initial;
}
.blog_items_kygui article.kygui_box .post-data footer ul {
    border-top: 1px solid #e6e4e4;
    margin: 10px 0 0;
    list-style: none;
    padding: 10px 0 0 0;
    overflow: hidden;
}
.blog_items_kygui article.kygui_box .post-data footer ul li {
    width: 50%;
    float: left;
    margin: 0 0 10px 0;
}
.blog_items_kygui article.kygui_box .post-data footer ul li:nth-child(2n+1){
    clear: both;
}

.owl-item article.kygui_box {
    width: 100% !important;
}
.blog_items_kygui.owl-carousel {
    margin: unset !important;
}
.blog_items_kygui .owl-item article.kygui_box {
    padding: 0 !important;
}

@media (min-width: 768px) {
    .blog_items_kygui article.kygui_box {
        width: 33.333%;
        float: left;
    }
}



span.label_text {
    position: absolute;
    z-index: 10;
    top: 8px;
    left: 8px;
    border-radius: 5px;
    display: inline-block;
    color: #fff;
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: 14px;
}


.container-full {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
.header-inner {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
}
.logo-wrap {
    margin-right: 30px;
    max-width: 190px !important;
}

nav#navigation {
    background: transparent;
}
nav#navigation > ul > li > a {
    color: #333 !important;
    padding: 10px;
}
.home #navigation .menu .home-menu-item a, #navigation .menu .current-menu-item > a {
    color: #333 !important;
    background: transparent !important;
}
nav#navigation > ul > li {
    margin-left: 20px;
}
#navigation ul li {
    border: 0;
}
div#header {
    box-shadow: 0 1px 3px rgb(0 0 0 / 9%);
    background: #fff;
}
.home header#site-header {
    margin-bottom: 0;
}
.banner_home img {
    width: 100%;
    display: block;
}
.home .main-container {
    max-width: 100%;
    width: 100%;
}
.section_1 {
    padding: 50px 0;
    background: #fff;
}
.sec1_left {
    width: 75%;
    float: left;
    padding-right: 20px;
}

.sec1_right {
    width: 25%;
    float: right;
}

.banner_item img {
    display: block;
    width: 100%;
    height: auto;
}

.banner_item {
    margin-bottom: 20px;
}

.sec_title > strong {
    display: block;
    padding: 5px 10px;
    float: left;
    position: relative;
    font-size: 21px;
}

.sec_title > a {
    float: right;
}

.sec_title {
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 20px;
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.sec_title > strong:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: #0ea211;
}
.post_left, .post_right {
    width: 50%;
    float: left;
}
article.post-box-news .post-img {
    margin-bottom: 10px;
}
.post_right {
    padding-left: 20px;
}
.post_right .title.post-title a {
    text-transform: none;
    font-weight: 400;
}

article.post-box-news .post-img {
    margin-bottom: 10px;
}

.post_right {
    padding-left: 20px;
}

.post_right .title.post-title a {
    text-transform: none;
    font-weight: 400;
}

.post_right article.post-box-news {
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.post_right article.post-box-news:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sec2 {
    background: #fafafa;
    padding: 50px 0;
}

.sec2_title {
    margin-bottom: 20px;
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}
.sec2_title > strong {
    font-size: 21px;
}

.sub_menu ul li {
    list-style: none;
    float: left;
    margin-left: 20px;
    position: relative;
}
.sub_menu ul li a {
    color: #333;
}
.sub_menu ul li a:hover {
    color: #0ea211;
}
.sub_menu ul li:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 1px;
    top: 3px;
    background: #333;
    left: -10px;
}
.sub_menu ul li:first-child:before {
    display: none;
}
.link_xem_them {
    text-align: center;
}

.link_xem_them a {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #333;
    border: 1px solid #e6e4e4;
    border-radius: 5px;
}
.link_xem_them a .fa {
    margin-left: 5px;
}

.home .blog_items_kygui article.kygui_box .post-data .post-data-container h2 a {
    height: 66px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.sec_white{
    background: #fff;
}

.news_overplay_wrap {
    margin-left: -10px;
    margin-right: -10px;
}
.news_overplay {
    width: 25%;
    float: left;
    padding: 0 10px;
    margin-bottom: 20px;
}

.news_overplay .news_overplay_thumb,
.news_latest_thumb{
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 61.36%;
    height: auto;
    background-position: 50% 50%;
    background-size: cover;
}

.news_overplay .news_overplay_thumb img,
.news_latest_thumb img{
    right: 0;
    width: 100% !important;
    height: 100% !important;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    transition: all .3s linear;
}

.news_overplay a {
    display: block;
    position: relative;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    overflow: hidden;
}

.news_overplay_info {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    color: #fff;
    font-weight: 700;
}

.news_overplay a:before {
    content: "";
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}
.news_overplay_wrap:after {
    content: "";
    display: table;
    clear: both;
}
.news_overplay a:hover .news_overplay_thumb img {
    transform: scale(1.2);
}
.news_overplay_wrap .news_overplay:nth-child(1) {
    width: 50%;
}
.news_overplay_wrap .news_overplay:nth-child(1) .news_overplay_thumb {
    padding-top: calc(61.36% + 10px);
}

.keyword ul > li {
    list-style: none;
    float: left;
    margin: 0 5px 5px 0;
}

.keyword a {
    color: #2C2C2C;
    background: #F2F2F2;
    border-radius: 40px;
    padding: 5px 12px;
    display: block;
}

@media (max-width: 767px){
    .keyword ul {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        display: block;
    }
    .keyword ul > li {
        display: inline-block;
        float: none;
    }
    .keyword ul::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
}

.news_latest_thumb {
    margin-bottom: 15px;
    border-radius: 5px;
}
.news_latest_info {
    font-size: 16px;
    text-transform: none;
    line-height: 1.3;
    color: #333;
    padding: 0 0 0 55px;
    position: relative;
    height: 40px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.news_latest_info span.counter {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 40px;
    line-height: 1;
    display: block;
}

.banner_home .owl-prev {
    left: 20px !important;
}

.main-container .owl-prev, .main-container .owl-next {
    background: transparent !important;
    top: 40%;
    color: #333 !important;
}

.main-container .owl-prev i, .main-container .owl-next i {
    color: #222;
}

.baochi_info {
    display: flex;
    align-items: center;
}

.baochi_info img {
    border: 1px solid #F2F2F2;
    background: #fff;
    padding: 4px;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    margin-right: 10px;
}
.baochi_info h3 {
    font-size: 16px;
    text-transform: none;
    line-height: 1.3;
    color: #333;
    position: relative;
    max-height: 40px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin: 0;
    flex: 1;
}
#navigation .menu a:hover, #navigation .menu .current-menu-item > a {
    color: #333 !important;
}
#navigation .menu .menu-item-wpmm-megamenu a:hover, #navigation .menu .current-menu-item.wpmm-megamenu-showing > a {
    color: #fff !important;
}

@media (min-width: 1001px) {
    .main-container .owl-prev {
        left: -40px;
    }

    .main-container .owl-next {
        right: -40px;
    }
}
@media screen and (max-width: 1000px){
    .logo-wrap {
        margin-right: 10px;
    }
    .header-inner {
        padding: 10px 0;
    }
    .container.container-full {
        max-width: 100%;
    }
    #navigation .menu li, #navigation .menu li a {
        font-size: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
    }
    nav#navigation > ul > li {
        margin-left: 8px;
    }
    .owl-nav > div {
        bottom: 50%;
        top: 50%;
        margin-top: 20px;
    }
    .section_1 {
        padding: 20px 0;
    }
    .sec2 {
        overflow: hidden;
    }
}
@media screen and (max-width: 865px){
    .header-inner {
        justify-content: space-between;
    }
    .sec2_title > strong {
        font-size: 18px;
    }

}
@media screen and (max-width: 767px){
    .sec1_left {
        width: 100%;
        padding-right: 0;
    }
    body.home {
        background: #fff;
    }
    .post_left, .post_right {
        width: 100%;
    }
    .post_right {
        padding-left: 0;
        border-top: 1px solid #efefef;
        margin-top: 20px;
        padding-top: 10px;
    }
    .sec1_right {
        width: 100%;
        margin-top: 20px;
    }
    .sec2_title {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .sec2_title > strong {
        font-size: 21px;
        margin-bottom: 10px;
    }
    .sub_menu ul li:nth-child(1) {
        margin-left: 0;
    }
    .sub_menu ul li {
        display: inline-block;
        float: none;
        margin-bottom: 8px;
    }
    .sub_menu ul {
        text-align: center;
    }
    .news_overplay_wrap .news_overplay:nth-child(1) {
        width: 100%;
    }
    .news_overplay {
        width: 50%;
    }
    .sec2 {
        padding: 20px 0;
    }
    .baochi_info img {
        width: 40px !important;
        height: 40px !important;
    }
    .baochi_info h3 {
        font-size: 14px;
    }
    .main-container .owl-prev,.main-container .owl-next {
        top: 20%;
    }
    .main-container .owl-prev {
        left: 0;
    }
    .main-container .owl-next {
        right: 0;
    }
}