/*
Theme Name: KMG
Theme URI: https://www.facebook.com/lamweb.com.vn/
Author: VSS Team
Author URI: https://vsscorporation.com/
Version: 4.1
Text Domain: kmg
*/

.upper {
    text-transform: uppercase;
}

.hidden {
    display: none;
}

.logo.block img {
    max-width: 100px;
}

body.single-post {
    background-image: url('images/news-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    /* Đảm bảo chiều cao của hình ảnh bằng chiều cao của trang web */
}

.sec_core .deco:before,
.sec_core .deco:after {
    -webkit-transform: translateY(-30%);
    -ms-transform: translateY(-30%);
    transform: translateY(-30%);
}

.sec_form_service textarea {
    width: 100%;
    min-height: 200px;
    border-radius: 8px;
    background-color: #F4F4F4;
    border: none;
    margin-top: 4px;
    padding: 12px 16px;
}

.item.promotion {
    position: relative;
}

.item.promotion:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: url('images/promotion.png') no-repeat center center / cover;
    z-index: 1;
}

.sec_calender .calender_table th {
    text-align: center;
    white-space: nowrap;
}

.sec_calender .calender_table table {
    box-sizing: border-box;
}

.sec_calender .calender_table table tr td {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.sec_calender .calender_table .table_wrap table {
    min-width: unset;
}

.wpcf7-form .select-options {
    overflow: scroll;
    height: auto;
}

.sec_calender .group .select-options {
    overflow: auto;
}

a.book_schedule {
    display: block;
    cursor: pointer;
}

.sec_partner .slick-slide .item {
    margin: 0 20px;
}

.services_page .sidebar .accordion-item .accordion-link a.active {
    background: #c8312d;
}

.services_page .sidebar .accordion-item .sub_menu li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

@media screen and (min-width: 978px) and (max-width: 1200px) {
    .container.calendar-container {
        max-width: unset;
    }
}

@media screen and (min-width: 978px) and (max-width: 1366px) {
    .sec_calender .calender_table table tr th,
    .sec_calender .calender_table table tr td {
        font-size: 10px;
        line-height: 1.5;
        padding-left: 3px;
        padding-right: 3px;
    }
    .sec_calender .calender_table table tr th .btn_shared,
    .sec_calender .calender_table table tr td .btn_shared {
        line-height: 1.5;
        padding: 0 10px;
    }
}

@media screen and (min-width: 978px) {
    .tracking_table .table_head .table_td {
        text-align: center;
    }
    .tracking_table .table_head .table_td span {
        width: 100%;
    }
    .page-template-tpl-tracking .inner_page main {
        overflow: unset;
    }
}

@media screen and (min-width: 1366px) and (max-width: 1600px) {
    .sec_calender .calender_table table tr th .btn_shared,
    .sec_calender .calender_table table tr td .btn_shared {
        line-height: 1.5;
        padding: 0 10px;
    }
    .sec_calender .calender_table table tr th,
    .sec_calender .calender_table table tr td {
        padding-left: 3px;
        padding-right: 3px;
        font-size: 12px;
    }
}

@media (min-width: 992px) {
    .sec_core .slider .item {
        width: 20%;
        min-height: 360px;
        position: relative;
    }
}

@media (min-width: 768px) {
    .dropdown-menu .dropdown .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        opacity: 0;
        pointer-events: none;
        transition: all .3s;
    }
    .dropdown-menu .dropdown:hover>.dropdown-menu {
        opacity: 1;
        pointer-events: all;
    }
    .sec_partner .slick-slide .item {
        margin: 0 50px;
    }
}

@media (max-width: 767px) {
    #header .offcanvas-body .nav-link {
        border-top: none;
        position: relative;
    }
    .navbar-nav .nav-link {
        margin-right: 60px;
    }
    .navbar-nav .nav-link:before,
    .navbar-nav .nav-link:after {
        pointer-events: none;
        right: -50px !important;
    }
    .dropdown .dropdown-menu {
        position: static;
        display: none;
    }
    .dropdown:hover>.dropdown-menu {
        display: block;
        padding-top: 0;
        border: none;
        margin-left: 24px;
    }
}

.home .sec_banner .imgDrop {
    height: auto;
    padding-top: 50%;
}

@media (min-width: 768px) {
    .home .sec_banner .imgDrop {
        height: calc(100vh - 68px);
        padding-top: inherit;
    }
    .sec_services .content_main {
        margin-top: 0;
        padding-top: 100px;
    }
}

@media (min-width: 1801px) {
    .home .sec_banner .imgDrop {
        height: calc(100vh - 68px);
        padding-top: inherit;
    }
    .sec_services .content_main {
        margin-top: 0;
        padding-top: 100px;
    }
}