/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

.wraper {
    width: 100%;
}

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

@media (max-width: 1119.98px) {

    #tip {
        right: 10px;
    }

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

@media (max-width: 991.98px) {
    .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) {
    .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;
    }

    .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;
    }

    .breadcrumbs-wrap {
        display: none;
    }

    .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;
    }

    #menusite .navbar-default {
        background-color: #428bca;
        border-color: #428bca;
        border-radius: 0;
        min-height: 0;
    }

    #menusite .navbar-default:before,
    #menusite .navbar-default:after,
    #menusite .navbar-header:before,
    #menusite .navbar-header:after {
        display: none;
    }

    #menusite .navbar-default .navbar-nav>li {
        margin-left: 0;
    }

    #menusite .navbar-default .navbar-nav>li:first-child {
        margin-left: 0;
    }

    #menusite .navbar-default .navbar-nav>li:last-child {
        margin-right: 0;
    }

    #menusite .navbar-default .navbar-nav>li>a {
        background-color: #428bca;
        color: #fff;
        padding-right: 35px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #menusite .navbar-default .navbar-nav>li>a:hover,
    #menusite .navbar-default .navbar-nav>li>a:focus,
    #menusite .navbar-default .navbar-nav>.open>a,
    #menusite .navbar-default .navbar-nav>.open>a:hover,
    #menusite .navbar-default .navbar-nav>.open>a:focus {
        background: linear-gradient(to bottom,
                #357ebd 0%,
                #2f70a7 100%) !important;
        color: #ffffff !important;
    }

    #menusite .navbar-default .navbar-nav>.active>a,
    #menusite .navbar-default .navbar-nav>.active>a:hover,
    #menusite .navbar-default .navbar-nav>.active>a:focus {
        background: #4247ca !important;
        color: #ffffff !important;
    }

    #menusite .navbar-default .navbar-nav>li>a>.caret {
        position: absolute;
        width: 30px;
        height: 30px;
        border: 0;
        right: 4px;
        top: 4px;
        margin-left: 0;
        line-height: 1;
    }

    #menusite .navbar-default .navbar-nav>li>a>.caret:before {
        font-family: 'FontAwesome';
        content: '\f0d7';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(-50%, -50%, 0px);
    }

    #menusite .navbar-nav {
        margin: 0 0 10px 0;
    }

    #menusite .navbar-collapse {
        position: absolute;
        padding: 0;
        border: 0;
        top: 50px;
        width: 100%;
    }

    #menusite .navbar-toggle {
        margin-left: 0;
        margin-right: -55px;
        color: #dcdcdc;
        border-color: #428bca;
        background-color: #428bca;
        position: absolute;
        left: 10px;
    }

    #menusite .navbar-toggle:hover,
    #menusite .navbar-toggle:focus {
        color: #fff;
        background-color: #245682;
        border-color: #245682;
    }

    #menusite .navbar-nav .dropdown-mobile {
        border-top-width: 1px !important;
        border-top-style: solid !important;
        border-top-color: #82b2dc !important;
    }

    #menusite .dropdown-submenu {
        margin: 0;
        padding: 0;
    }

    #menusite .dropdown-submenu li>ul>li {
        margin-left: 30px;
    }

    #menusite .dropdown-submenu a {
        line-height: 33px;
        background-color: #82b2dc;
        border-top-width: 1px !important;
        border-top-style: solid !important;
        border-top-color: #a6c8e6 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #menusite .dropdown-submenu li a {
        color: #333333 !important;
    }

    #menusite .dropdown-submenu>a:after {
        display: none;
    }

    .module_content {
        padding: 6px 0;
    }

    .content-map {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .content-map #sidebar-list {
        display: flex;
        flex-basis: calc(100%);
        flex-direction: column;
    }

    .content-map #maps-show {
        display: flex;
        margin-top: 0px;
        flex-basis: calc(100%);
        justify-content: center;
        flex-direction: column;
    }

    .content-map #sidebar-list{
        height: 35vh !important;
    }
    .content-map #maps-show {
        height: calc(65vh) !important;

    }
}

@media (max-width: 499.98px) {
    .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: 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) {
    .container {
        width: 100%;
    }

}

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


@media only screen and (max-width: 965px) {
    header .mobile_logo {
        display: block;
        margin-left: 20px;
    }

    .section-header-bar,
    .header-nav {
        padding: 0;
    }

    header .logo,
    header .headerSearch,
    .left_reels,
    .contactDefault #menu-bar ul li a span,
    .personalArea .signed .userBlock a .user-name {
        display: none;
    }

    .section-header-bar {
        top: unset;
        bottom: 0;
        z-index: 1;
    }

    .news_column,
    #card-post {
        border: unset;
        padding-left: 10px;
        padding-right: 10px;
    }

    #card-post:before {
        content: unset;
    }

    #content-page {
        display: block;
    }

    .contactDefault #menu-bar {
        display: unset;
    }

    .contactDefault #menu-bar ul li {
        margin: 0 1vw;
        list-style: none;
        height: 100%;
        position: relative;
        justify-content: center;
        align-items: center;
        display: flex;
        flex: 1;
    }

    #list-posts {
        padding-bottom: 50px;
    }

    #lightbox {
        flex-direction: column;
    }

    #lightbox #content-left {
        padding: 0;
        flex: 1;
        width: 100%;
        margin-top: 0;
    }

    #lightbox #content-right {
        flex: 1;
        width: 100%;
        padding-bottom: 60px;
        margin-top: 0;
    }

    #container-content {
        z-index: 1;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }

    #btn-left, #btn-right {
        z-index: 2;
        top: 0;
    }

    .closeLightbox {
        top: 15px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        -khtml-border-radius: 50%;
    }

    .btn-right {
        z-index: 1000;
    }

    .notification {
        position: relative;
        justify-content: center;
        align-items: center;
        display: flex;
        flex: 1;
        flex: 0 0 50px;
    }

    .notification a span {
        font-size: 30px;
    }

    a.menu-avatar img {
        width: 28px;
        height: 28px;
        object-fit: cover;
        border-radius: 100%;
    }

    .open>.user-menu-top-right.dropdown-menu {
        top: unset;
        right: 18.5px;
        position: fixed;
        bottom: 70px;
    }

    .menu-avatar .icon-meatball-menu-1 {
        color: #fff;
        font-size: 35px;
    }

    /*.modal-open .modal {*/
    /*    top: 25%;*/
    /*}*/
}

@media (max-height: 950px) {
    #modal_custom_reels .modal-content .modal-body {
        /* overflow: auto; */
        /* max-height: 500px; */
        /* overflow-y: auto!important; */
    }

    #modal_custom_reels .modal-content {
        /* height: calc(100vh - 120px); */
    }
}

@media (max-width: 700px) {
    .modal-dialog {
        width: calc(100% - 100px);
        margin: 30px auto;
    }

}