/*			Home				*/

.home-h1-seo {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #52311D;
    text-transform: uppercase;
    margin: 0 0 18px 0;
    padding: 8px 14px;
    background: #fdfaf7;
    border-left: 4px solid #52311D;
    border-bottom: 1px solid #ebdcd1;
    border-radius: 2px;
    display: block;
    width: 100%;
    clear: both;
    box-sizing: border-box;
    letter-spacing: 0.2px;
}

.home-h1-seo i {
    margin-right: 8px;
    color: #52311D;
}

@media only screen and (max-width: 768px) {
    .home-h1-seo {
        font-size: 13px;
        padding: 8px 10px;
        margin: 0 0 12px 0;
    }
}

.slide-video-banner {
    float: left;
    width: 100%;
}

.slider-home,
.top-left-content {
    float: left;
    width: calc(68% - 10px);
}

.slider-home {
    overflow: hidden;
}

.video-home {
    margin-bottom: 7px;
}

.video-banner,
.top-right-content {
    float: right;
    width: 32%;
}

iframe {
    max-width: 100%;
    display: block;
}

#owl-slide,
.video-banner {
    margin-bottom: 15px;
}

.banner-hotline {
    background: #52311d;
    padding: 6px;
    text-align: center;
}

.banner-hotline .wrap {
    border: #d7acad solid 1px;
    padding: 30px 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    max-height: 122px;
}

.hotline-ani {
    animation: chunhay 1s ease-in-out 0s infinite;
    font-size: 26px;
    font-weight: 600;
}

@keyframes chunhay {
    0% {
        color: red;
    }
    50% {
        color: #fff;
    }
    100% {
        color: red;
    }
}


/*main-top-content*/

.top-right-content {
    height: 362.5px;
    margin-right: 0;
    overflow: auto;
    box-shadow: 0 0 3px #cacaca;
    margin-bottom: 10px;
}

#featured-page,
.image-adv {
    box-shadow: 0 0 3px #CACACA;
    margin-bottom: 10px;
    float: left;
    width: 100%;
}

#featured-page article {
    padding: 6px;
    overflow: hidden;
}

#featured-page article .alignleft {
    margin-bottom: 0;
}

#featured-page article .entry-title {
    clear: none;
    color: #1a5f7e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.image-adv .image-item {
    width: 33.3%;
    float: left;
    padding: 6px;
}

.image-adv .image-item img {
    height: 120px;
    width: 100%;
}

.image-adv .image-item .image-title {
    display: block;
    margin-top: 3px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    height: 45px;
    overflow: hidden;
}

.top-right-content .wpt-tabs {
    list-style: outside none none;
    margin: 0;
}

.top-right-content ul.wpt-tabs li {
    display: block;
    float: left;
    list-style: outside none none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 50%;
}

.top-right-content ul.wpt-tabs li a {
    background: #fbfbfb none repeat scroll 0 0;
    border-bottom-color: #ededed;
    border-left-color: #ededed;
    display: block;
    font-weight: bold;
    line-height: 2.4;
    padding: 2px 0 4px;
    position: relative;
    color: #444;
    text-decoration: none;
}

.top-right-content ul.wpt-tabs li:first-child a {
    border-left: 0 none;
    margin-left: 0;
}

.top-right-content ul.wpt-tabs li.selected a {
    color: #A97557;
}

.top-right-content .inside {
    background: #fff none repeat scroll 0 0;
    padding-top: 10px;
}

.tab-content li {
    padding: 5px 20px;
    background: url(images/list-style.png) left 5px top 12px no-repeat;
    margin-bottom: 0;
    border-bottom: 0;
}

.tab-content li .entry-title {
    font-size: 13px;
    margin-bottom: 0;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.tab-content li .entry-title a {
    color: #444;
}

.tab-content li .entry-title a:hover {
    color: #A97557;
}


/*list-sub-category*/

.box-cat-heading .list-sub-category {
    list-style: none;
    margin: 0;
    border-bottom: #eaeaea solid 1px;
    overflow: hidden;
    display: block;
    line-height: normal;
}

.box-cat-heading .list-sub-category li {
    font-weight: 600;
    border-left: #eaeaea solid 1px;
    color: #A97557;
    display: inline-block;
}

.box-cat-heading .list-sub-category li:hover {
    color: #52311D;
}

.list-sub-category a {
    display: block;
    line-height: normal;
    padding: 8px 10px;
}


/*content-bottom*/

.list-entry-bottom {
    float: left;
    width: 100%;
    margin: 15px 0px;
}

.box-cat {
    float: left;
    width: 100%;
    margin-bottom: 15px;
}

.box-cat-heading {
    overflow: hidden;
    position: relative;
}

.box-cat-heading .heading {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    margin: 0;
}

.heading::after {
    background: #52311D none repeat scroll 0 0;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}

.text-title {
    display: inline-block;
    min-width: 200px;
    padding: 8px 50px 8px 30px;
    position: relative;
    background: linear-gradient(to bottom, #52311D, #52311De6, #52311D);
    border-radius: 5px 0px 0px 0px;
    -webkit-clip-path: polygon(100% 100%, 0% 100%, 0% 0%, 80% 0%, 81% 10%, 83% 25%, 86% 45%, 88% 55%, 89% 60%, 92% 73%, 93% 76%, 95% 84%, 97% 91%);
    clip-path: polygon(100% 100%, 0% 100%, 0% 0%, 80% 0%, 81% 10%, 83% 25%, 86% 45%, 88% 55%, 89% 60%, 92% 73%, 93% 76%, 95% 84%, 97% 91%);
    line-height: normal;
}

.text-title::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    top: 0;
    left: 15px;
}

.box-content ul li {
    float: left;
    width: 50%;
    transition: all 0.4s ease-in-out 0s;
}

.box-content li.first-news {
    padding: 20px;
    overflow: hidden;
}

.box-content li.other-news {
    list-style: disc inside;
    padding: 5px 20px;
    height: 30px;
    overflow: hidden;
}

.box-content li.other-news h3.entry-title {
    display: inline;
}

.box-content li.first-news h3.entry-title {
    overflow: hidden;
}

.box-content li.first-news h3.entry-title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.entry-title a {
    color: #000;
}

.entry-title a:hover {
    color: #a97557;
}

.entry-title {
    font-size: 14px;
    line-height: 23px;
    margin: 0;
    clear: none;
}

.entry-title.post-title-main {
    font-weight: 600;
}

.box-content .entry-thumbnail {
    margin: 0 10px 0 0;
    position: relative;
    line-height: 0;
    transition: all 0.4s ease-in-out 0s;
}

.entry-meta {
    color: #888;
    margin: 5px 0;
    font-size: 80%;
}

.entry-meta span,
.entry-meta i {
    display: inline-block;
    margin-right: 7px;
}

.box-content li.first-news .entry-thumbnail {
    width: 175px;
    float: left;
}

.entry-thumbnail a {
    display: block;
    font-size: 0;
}

.first-news .entry-thumbnail img {
    height: 115px;
    width: 100%;
    display: block;
}

.box-content li.first-news .entry-summary {
    margin: 0;
}

.more-link {
    color: #FFF;
    float: left;
    background: #A97557;
    padding: 5px 12px;
    line-height: 22px;
    border-radius: 2px;
    margin-top: 10px;
}

.more-link:hover {
    background: #52311D;
}

.overlay-icon:before {
    content: '\f15c';
    color: #FFF;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    border: 3px solid #FFF;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    line-height: 35px;
    margin: -20px 0 0 -20px;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    transform: scale(0);
    transition: all 0.3s ease-in-out;
}

.entry-thumbnail a:hover .overlay-icon:before {
    opacity: 1;
    transform: scale(1);
}

iframe {
    max-width: 100%;
}


/*Responsive*/

@media only screen and (max-width: 980px) {
    .box-content li.first-news .entry-thumbnail {
        width: 50%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1190px) {
    .banner-hotline .wrap {
        font-size: 12px;
    }
}

@media only screen and (max-width: 767px) {
    .video-home {
        display: none;
    }
    .slider-home,
    .video-banner {
        width: 100%;
    }
    .banner-hotline .wrap {
        max-height: none;
        padding: 20px 0;
        font-size: 15px;
    }
    .box-cat-heading .list-sub-category li {
        padding: 0 8px;
    }
}

@media only screen and (max-width: 640px) {
    .box-content ul li:not(.first-news),
    .top-left-content {
        width: 100%;
    }
    .top-right-content {
        width: 100%;
        height: auto;
    }
    .box-cat-heading .list-sub-category {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .box-content li.first-news {
        width: 100%;
        padding: 20px 0;
    }
    .box-content li.other-news {
        padding: 5px 0;
    }
    .image-adv .image-item {
        width: 50%;
    }
    .image-adv .image-item:last-child {
        display: none;
    }
}