/**
 * TMS Content Management System
 * @version 4.x
 * @author TMS Holdings <contact@tms.vn>
 * @copyright (C) 2009-2021 TMS Holdings. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://tms.vn
 */
.wraper {
    width: 100%;
}

.site-banner {
    height: 0;
    padding-bottom: 22%;
}

.sllaptop {
    display: block
}

.slmobile {
    display: none
}

@media (max-width:1180.98px) {
    .section-header-bar {
        background-size: 550px;
    }

#home_banner { 
    margin-top: 60px;
 }
}

@media (max-width:1119.98px) {
    .tms_block_home_title h2
    {
        font-size: 28px;
    }
    .wsmenu>.wsmenu-list>li {
        position: relative;
    }

    .wsmenu>.wsmenu-list>li>ul.sub-menu {
        right: 0;
    }

    .dichvu_left {
        height: 425px;
    }

    .dichvu_left_text {
        -webkit-line-clamp: 4;
    }

    .list-contact-bot .item {
        padding: 23px 10px 10px;
    }

    .header-nav-inner {
        padding: 0;
    }

    .site-description {
        margin-bottom: 0;
    }

    .section-header-bar {
        background-position: center -10px;
    }

    .header-left .email {
        width: 265px !important;
        padding: 4px 12.5px;
        margin: 1px 0 0 0;
    }

    .header-right .phone {
        width: 225px;
        padding: 3px 12.5px;
    }

    .block-title {
        font-size: 26px;
    }

    .video-tabs li a {
        font-size: 18px;
    }

    .section-header-bar .header-nav {
        padding-left: 10px;
        padding-right: 10px;
    }

    #tip {
        right: 10px;
    }

    #header .logo {
        padding-left: 10px;
    }

    .section-header-bar {
        background-size: 500px;
    }

}

@media (max-width:991.98px) {
.slider_home_item_text {bottom: 20%;}
.slider_home_item_text h2 {font-size: 20px;}
.slider_home_item_text h3 {font-size: 20px;}
    .tms_block_home_title h2
    {
        font-size: 25px;
    }
    .cctt
    {
        position: relative;
    }
    .dichvu_left {
        height: 310px;
    }

    .dichvu_left img {
        max-height: 205px;
    }

    .list-contact-bot {
        margin-bottom: 30px;
    }

    .list-contact-bot .item .text h5 {
        font-size: 15px;
    }

    .list-contact-bot .item .text b {
        font-size: 11px;
        margin: 0;
    }

    .dscs .home_maps {
        padding: 10px 0;
        height: auto;
    }

    .contacForm textarea.form-control {
        height: 230px;
    }

    .sticky.sticky-scroll {
        top: 65px;
    }

    .list-contact-bot .item:nth-child(1) .text b {
        font-size: 16px;
    }

    .logofooter {
        text-align: center;
    }

    #tms_home_hinhanh .tms_block_home_title h2 {
        padding: 10px 15px 0;
    }

    #tms_home_hinhanh .tms_block_home_text {
        padding: 10px 35px 0;
    }

    #tms_home_dichvu {
        padding: 25px 0 30px 0;
    }

    #tms_home_banner,
    #tms_top {
        padding-top: 65px;
    }

    .section-header-bar {
        display: none;
    }

    .tuvan-mobile {
        display: block;
        text-align: center;
        margin-top: 30px;
    }

    .tuvan-mobile a {
        display: inline-block;
        width: 80%;
        background: #d50f16;
        color: #fff;
        padding: 10px 20px;
        text-transform: uppercase;
        font-weight: 500;
    }

    .form-hotline {
        margin: 20px 0px 0;
    }

    .quangcaobottom {
        margin-left: 0;
    }

    .block-title {
        font-size: 20px;
    }

    .block-sub-title {
        margin-right: 40px;
        font-size: 12px;
    }

    .video-tabs {
        margin: 15px 0;
    }

    .video-tabs li a {
        font-size: 15px;
    }

    .link-more {
        font-size: 14px;
        width: 80%
    }

    .section-content>div {
        width: 100%;
    }

    .section-content>div:first-child {
        display: none;
    }

    .contact-form .section-content {
        background-size: 220%;
        padding-bottom: 20px;
    }

    .container {
        width: 100%;
    }

    #menu-site-default .navbar-right {
        display: none;
    }

    .column-margin-left {
        margin-left: 0 !important;
    }

    .qr-code-wraper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .copyright {
        margin: 10px 10px 0 10px;
    }

    #ftip {
        left: 15px;
    }

}

@media (max-width:767.98px) {
    .tms_block_home_title h2
    {
        font-size: 20px;
    }
    .list-contact-bot {
        margin-bottom: 15px;
    }
.sanpham_item {
height: 100%;
}
.sanpham_item_img {

    width: 100%;
    height: 240px;

}
.sanpham_item_text a {
font-size: 22px;
}
    .box-maps a {
        margin: auto;
        margin-left: 5px;
        background: #ef810a;
        width: 30%;
        font-size: 12px;
        color: #fff;
        padding: 6px 10px 6px 10px;
        text-align: center;
        border-radius: 5px;
    }

    .popup_content img {
        width: 100%;
        height: auto;
    }

    .contacForm textarea.form-control {
        height: auto;
    }

    .tmsnoidung {
        display: none;
    }

    .bl-title {
        margin-bottom: 5px;
        font-size: 16px !important;
    }

    .section-footer-top .row>div:not(:last-child) {
        padding-bottom: 20px;
    }

    .video-tabs li.active a {
        color: #fff;
    }

    .tintuc_item_text .date {
        font-size: 10px;
    }

    .tintuc_item_text h3 {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .pc-hien {
        display: none;
    }

    .pc-an {
        display: block;
        margin: 20px auto 0;
        clear: both;
        width: 45%;
        border-radius: 5px;
    }

    .block-sub-title {
        font-size: 12px;
        margin-right: 0;
    }

    .dichvu_right {
        margin: 4px;
    }

    .dichvu_right img {
        height: 100%;
        object-fit: cover;
        object-position: center;
        width: 100%;
        border-radius: 12px;
        -o-object-fit: cover;
    }

    .dichvu_right_title {
        font-size: 11px;
    }

    .coppyright {
        display: flex;
        text-align: center;
        flex-wrap: wrap;
    }

    .dichvu_item_img {
        height: 240px;
    }

    .tms_block_home_title h2 {
        font-size: 20px;
    }

    .sllaptop {
        display: none
    }

    .slmobile {
        display: block
    }

    .tms_block_home_text {
        font-size: 14px;
    }

    #tms_breadcrumbs ul li a {
        font-size: 22px;
        padding: 10px 25px;
    }

    .box-shadow {
        box-shadow: none;
        -webkit-box-shadow: none;
    }

    .site-banner {
        height: 300px;
        max-height: 100%;
        padding-bottom: 0;
    }

    .header-nav-inner {
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .contactDefault {
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .personalArea,
    .social-icons {
        padding-left: 10px;
    }

    .social-icons .content,
    .contactDefault .content {
        display: none;
    }

    .contactList li {
        display: block;
    }

    .contactList li .fa,
    .contactList li [class^='icon-'],
    .contactList li [class*=' icon-'] {
        width: 20px !important;
    }

    .hidden-ss-block,
    .hidden-ss-inline,
    .hidden-ss-inline-block {
        display: none !important;
    }

    #header {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #header .right-ads,
    #header .logo {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        width: 100%;
    }

    #header .logo {
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #header .right-ads {
        padding-top: 0;
    }

    #header .logo img {
        max-height: 100px;
    }

    .section-nav > .wraper {
        position: inherit;
    }

    .second-nav {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    .third-nav .bg {
        padding: 10px 5px;
    }

    .third-nav .current-time {
        display: none;
    }

}

@media (max-width:499.98px) {
 #home_banner {
    margin-top: 80px;
}   
.slider_home_item_text h2 {
    font-size: 16px;
}
.slider_home_item_text h3 {
    font-size: 14px;
}
.slider_home_item_text {
    bottom: 10%;
}
#tms_home_taisao {
    padding: 10px 0;
}
#tms_home_dichvu {
    padding: 25px 0 30px 0;
}
.sanpham_item_img {
    width: 100%;
    height: 160px;
}
.sanpham_item_text a {
    font-size: 14px;
}
.sanpham_item_text {
 
    min-height: 100px;

}
    .tms_block_home_title h2
    {
        font-size: 18px;
    }
    #tms_home_why  .banner-figure {
        float: unset;
        text-align: center;
    }

    #tms_home_why  .banner-figcaption {
        text-align: center;
        padding-top: 5px;
        margin-left: 0;
    }

    .banner-figure a {
        display: inline-block;
        position: relative;
        overflow: hidden;
    }

    .tms_blog_tinnoibat_item_img {
        width: 100%;
        height: 160px;
    }

    .tms_blog_tinnoibat_item_text a {
        font-size: 14px;
    }

    .nv-infodie {
        width: 100%;
    }

    .cookie-notice {
        left: 0;
        width: 100%;
    }

    .visible-ss-block {
        display: block !important;
    }

    .visible-ss-inline {
        display: inline !important;
    }

    .visible-ss-inline-block {
        display: inline-block !important;
    }

    .hidden-ss-block,
    .hidden-ss-inline,
    .hidden-ss-inline-block {
        display: none !important;
    }

    #tip,
    #footer-tip {
        max-width: 100%;
        margin-right: 0 !important;
    }

    #header .logo img {
        max-height: 60px;
    }

}

@media (min-width:500px) and (max-width:991.98px) {
    #footer .menu li {
        width: 32%;
    }

    #footer .menu li:nth-child(3n + 2) {
        padding-right: 8px;
        padding-left: 7px;
    }

    #footer .menu li:nth-child(3n),
    #footer .menu li:nth-child(3n + 1) {
        padding-left: 0;
        padding-right: 0;
    }

}

@media (min-width:375px) and (max-width:768.98px) {
    #tms_home_hinhanh .tms_block_home_title h2 {
        padding: 10px 35px 0;
    }

    #tms_home_hinhanh .tms_block_home_text {
        padding: 10px 60px 0;
    }

}

@media (min-width:819.99px) and (max-width:900px) {
    .dichvu_left {
        height: 333px;
    }

    .dichvu_left_text {
        -webkit-line-clamp: 5;
    }

}

@media (min-width:500px) {
    .nv-infodie {
        width: 500px;
        left: 50%;
        margin-left: -250px;
    }

}

@media (min-height:500px) {
    .container {
        width: 100%;
    }

    .nv-infodie {
        height: 500px;
        top: 50%;
        margin-top: -250px;
    }

}

@media (min-width:768px) {
    .wraper {
        width: 100%;
    }

    .hidden-ss-block {
        display: block !important;
    }

    .hidden-ss-inline {
        display: inline !important;
    }

    .hidden-ss-inline-block {
        display: inline-block !important;
    }

}

@media (min-width:992px) {
    .quangcaobottom {
        margin-bottom: 0;
        height: 240px;
    }

    .container {
        width: 100%;
    }

    .wraper {
        width: 100%;
        max-width: 1080px;
    }

}

@media (min-width:992px) and (max-width:1023.98px) {
    .section-header-bar {
        background-size: 470px;
    }

    .header-right .phone,
    .header-left .email {
        font-size: 13px;
    }

}

@media (min-width:1200px) {
    .wraper {
        width: 1180px;
        max-width: 1180px
    }

}
