﻿
@media (min-width: 992px) and (max-width: 1100px) {
    .mbvs
    {
        display:none;
    }
}
@media (min-width: 992px) {
    .lg-pr-0
    {
        padding-right:0;
    }
    ul.dropdown-menu li {
        position: relative;
    }

    ul.navbar-nav > li.nav-item:hover > ul.dropdown-menu {
        display: block;
    }

    ul.navbar-nav > li.nav-item > ul.dropdown-menu > li:hover ul.dropdown-menu {
        display: block;
    }

    ul.navbar-nav > li.nav-item > ul.dropdown-menu > li ul.dropdown-menu {
        left: 100%;
        top: 0;
    }

    ul.navbar-nav > li.nav-item:hover > ul.dropdown-menu .fa-caret-right {
        position: absolute;
        right: 15px;
        top: 12px;
    }
    .mb-nav,
    .navbar-toggler {
        display: none !important;
    }
    .navbar-dark .navbar-nav .nav-link
    {
        color:#212121;
    }
    .navbar-dark .navbar-nav .nav-link:hover {
        color: #4b9ed1;
    }
    .navbar
    {
        position:relative;
        width:100%;
    }
    .col--item
    {
        width:50%;
        float:left;
    }
    .widget-bar .item--name a {
        -webkit-line-clamp: 3;
        max-height: 60px;
    }
}

@media (max-width: 991px) {    
    h3.blog-title
    {
        margin-top:10px;
        margin-bottom:10px;
    }
    .modal.fade .modal-dialog {
        padding: 30px;
    }
    .modal-header
    {
        border:none;
    }
    .modal-fullscreen-sm-down .modal-content
    {
        border-radius:5px;
    }
    .modal-info
    {
        text-align:center;
        display:table;
        max-width:400px;
        margin:10px auto 20px auto;
    }
    .modal-title {
        text-align: center;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 700;
    }
    .modal-header .btn-close {
        border: solid 1px #000;
        border-radius: 50%;
        width: 10px;
        height: 10px;
        margin-right: 5px;
        margin-top: 5px;
    }    
        .col--info {
            line-height: 20px;
        }
    .col--thumb img
    {
        height:80px;
        width:100%;
        object-fit:cover;
    }
    .nav-search .fa{
        margin-right:5px;
    }
    .nav-search {
        width: calc(100% - 30px);
        float: left;
        background-color: #fff;
        margin: 5px 15px;
        height: 32px;
        line-height: 32px;
        text-indent: 15px;
        border-radius: 5px;
    }
        .nav-search a{
            display:block;
        }
    .mb-nav {
        display: inline-block;
        width: 100%;
        background-color: #2a9805;
    }
    .navbar {
        width: 100%;
    }
        .navbar .nav-link {
            padding-top: 5px;
            padding-bottom: 5px;
        }
        .nav-item .fa-caret-down {
            display: none;
        }

    .nav-item {
        border-bottom: dashed 1px #207b01;
        position: relative;
    }
    .multi-collapse .dropdown-toggle
    {
        top:0;
    }
    .dropdown-toggle {
        position: absolute;
        right: 0;
        top: 5px;
        width: 40px;
        height: 40px;
        text-align: center;
    }
    .dropdown-menu li:last-child
    {
        border:none
    }
    .box--contact ul li {
        width: 100%;
        float: none;
        white-space: normal;
        line-height: 30px;
        border-bottom: dashed 1px #f0f0f0;
    }
}

@media (min-width:768px) and (max-width: 991px) {
    header .mb-logo {
        max-width: calc(100% - 60px);
    }
    
}

@media (max-width: 767px) {
    .item--name a {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        max-height: 40px;
    }
    .col--info .item--name {
        white-space: initial;
        line-height: 18px;
        margin-bottom: 10px;
        font-weight: 600;
    }
    .lSPager img {
        height: 50px !important;
        object-fit: cover;
        width: 100%;
    }
    .box--item .item--rows
    {
        border-bottom:none;
        margin-bottom:0;
        padding-bottom:0;
    }
    .col--info {
        white-space: nowrap;
        color: #515151;
        line-height: 20px;
    }
    .col--thumb img {
        min-height: 80px;
        object-fit: cover;
    }
    .form-register, .main-contact
    {
        padding:30px 10px;
    }
}
@media (min-width: 576px)
{
    .col-sm-20 {
        width: 20%;
        position: relative;
    }
}
@media(min-width: 767px) {
    .line-2 {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
    }
    .line-4 {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        text-overflow: ellipsis;
    }
}
@media (max-width: 575px) {    
    .form-register, .main-contact {
        padding: 30px 5px;
    }
    .col-sm-20 {
        width: 20%;
        position:relative;
    }
    .col-sm-20 {
        width: 25% !important;
        margin-bottom: 10px;
    }

    .needs-validation > .g-3 > .col-12 > .row > .col-sm-20:first-child {
        width: 100% !important;
    }

    .needs-validation > .g-3 > .col-12 > .row {
        --bs-gutter-x: 5px;
    }
    .dropify-wrapper.touch-fallback {
        height: 100px !important;
        padding:10px 0;
    }
    .dropify-wrapper.touch-fallback .dropify-message
    {
        padding:0;
        top:0;
    }
    header .ptb-10 {
        padding-top: 2px !important;
        padding-bottom: 5px !important;
    }
    .coccoc-alo-phone {
        bottom: 130px;
    }
    header {
        margin-bottom: 0;
    }
    .item--name {
        line-height: 18px;
    }
    .mb10
    {
        margin-bottom:2px;
    }    
    .col--info .item--name {
        margin-bottom: 10px;
        font-weight: 700;
    }
    .box--item {
        padding-left: 5px;
        padding-right: 5px;
    }
    .lSSlideWrapper img {
        height: 100% !important;
    }
    .item--name {
        margin-bottom: 5px !important;
    }
    .item--name a {
        -webkit-line-clamp: initial;
        max-height: initial !important;
        line-height: 16px;
        overflow: initial;        
    }
    .col--thumb img {
        min-height: 120px;
        object-fit: cover;
    }
    .col--info .row.item-line {
        font-size:14px;
    }

    .col-imgthumb {
        width: 100%;
        margin:0 0 15px 0;
    }    
}
@media (max-width: 991px) {
    .logo-img
    {
        position:relative;
    }
    .logo-img img {
        max-height: 70px; /* Ẩn menu gốc */
    }
    .navbar-toggler {
        right: 10px;
        position: absolute;
        top: calc(50% - 20px);
    }
    .navbar--icon {
        margin-top: 5px;
        height: 2px;
        width: 20px;
        background-color: #2a9805;
        margin-bottom: 5px;
        display: inherit;
    }
    .navbar-toggler
    {
        background:none;
    }
}