@media (max-width: 1280px) {
    .header {
        font-size: 13px;
    }
    .show_menu li a{
        padding: 0 3px;
    }
    .navbar-brand img {
        height: 60px;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 100%;
    }

    .video_layer {
        right: 121px;
        width: 60px;
    }

    .video_layer .muted_layer:after {
        left: 22px;
    }

    .primary_box {
        padding: 50px;
    }

    .primary_side {
        padding: 0 50px;
    }

    .primary_box.show_content {
        padding: 150px 50px 50px;
    }

    .primary_child {
        padding: 0 50px 50px;
    }

    .footer {
        padding: 50px 50px 0;
    }

    .slider-counter {
        right: 50px;
    }
    .banner-krajokkaewkhaoyai img {
        width: 150px;
    }
    .sitemap ul{
        padding: 0;
    }
    .sitemap ul>li>ul{
        padding-left: 30px;
    }
}

@media (max-height: 600px) {
    .reservation-box {
        z-index: 9;
    }

    .up .t-datepicker-day {
        bottom: 95px !important;
    }

    .up .t-arrow-top {
        top: -10px !important;
    }
    .popupTop {
        bottom: 92px;
        left: -15px;
    }
}

@media (max-width: 1024px) {
    .primary_box.show_content {
        padding: 50px;
    }


    .slider-counter {
        right: 50px;
    }

    .content_child .col-xs-6.left .box_main {
        padding-left: 50px;
        padding-right: 126px;
    }

    .other_room .main_photos,
    .template_facilities .main_photos,
    .template_facilities .box_main {
        height: 400px;
    }

    .amenities .row_amenities [class*=col-xs-] {
        width: 50%;
    }
    .box_gallery .main_photos {
        height: 250px;
    }
    /* MENU MOBILE */
    .header_fixed .show_menu li a {
        padding: 30px 4px;
    }

    .show_menu {
        position: fixed;
        left: 0;
        top: 0;
        background: #fff;
        height: 100%;
        text-align: left;
        padding: 100px 50px;
        color: #433c3a;
        z-index: 10;
        opacity: 0;
        pointer-events: none;
        transition: 0.6s ease-in-out;

    }

    .show_menu.open_menu {
        opacity: 1;
        pointer-events: auto;
    }

    .show_menu li {
        display: block;
    }

    .show_menu li a,
    .header_fixed .show_menu li a {
        font-size: 16px;
        padding: 9px;
        width: 100%;
        line-height: normal;
    }

    .info_detail {
        position: relative;
        opacity: 1;
        transform: translateY(0em);
        pointer-events: auto;
        padding-left: 25px !important;
        display: none;
        width: 100%;
    }

    .info_detail.active {
        display: inline-block;
    }


    .info_detail li {
        animation-name: fadeInUp;
        animation-duration: 0.5s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        animation-timing-function: ease-in-out;
    }

    .info_detail li:hover {
        background: none !important;

    }

    .info_detail li:hover a {
        color: #275758 !important;
    }

    .pull-right div {
        line-height: 53px;
    }

    .ui-icon-plus, .ui-style {
        display: block;
    }

    .pull-right div:last-child {
        display: none;
    }

    .pull-right {
        right: 50px;
    }

    .video_layer {
        right: 160px;
        top: 47px;
    }

    .book_mobile {
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .reservation {
        display: none;
    }
    .show_menu .info_detail li> a:hover{
        color: var(--pimary-color)!important;
    }
    .video_layer .muted_layer:after{
        left: 0;
        position: relative;
        top: -7px;
    }

    /*********************************/

}

@media (max-width: 991px) {
    .primary_box.show_content {
        padding: 50px;
    }

    .hotel_facilities .col-xs-3 {
        width: 50%;
        padding: 0 0 25px;
    }

    .hotel_facilities .col-xs-3:last-child {
        padding: 0;
    }

    .hotel_facilities .item_box {
        padding: 25px 0 25px 25px;
    }

    .box_gallery .main_photos {
        height: 350px;
    }

    .contact {
        width: 100%;
    }

    .template_room .col-xs-6, .gallery .col-xs-6,
    .template_facilities .col-xs-4,
    .footer .col-xs-4, .content_child .col-xs-7,
    .content_child .col-xs-6, .page_info .col-xs-6 {
        width: 100%;
    }

    .content_child .col-xs-6 {
        position: relative;
        height: auto;
    }

    .content_child .box_main,
    .content_child .item:nth-child(even) .col-xs-6 .box_main {
        padding: 30px;
    }

    /*.main_photos, .item_img_box .second_photos,*/
    /*.content_child .main_photos, .template_facilities .main_photos {*/
    /*    height: auto;*/
    /*}*/
    .gallery ul li:nth-child(1) .main_photos {
        height: 290px;
    }
    .gallery ul li:nth-child(2) .main_photos,
    .gallery ul li:nth-child(3) .main_photos {
        height: 135px;
    }
    .gallery ul li:nth-child(4) .main_photos,
    .gallery ul li:nth-child(5) .main_photos,
    .gallery ul li:nth-child(6) .main_photos {
        height: 200px;
    }

    .side-info .main_photos {
        height: 450px;
    }

    .bg_color .box_main, .bg_white .box_main{
        padding: 30px 0 0 0;
        height: auto;
    }

    .template_facilities .box_main {
        height: auto;
    }

    .template_room.owl-theme .owl-dots {
        float: none;
    }

    .box_photos {
        display: none;
    }

    .footer, .footer .col-xs-4:nth-child(3) {
        text-align: center;
    }

    .footer .col-xs-4 {
        padding: 10px 0;
    }

    .bg_footer.bg_white {
        height: 650px;
    }

    .page_info .box_main {
        padding: 0 0 30px;
        text-align: center;
    }

    .box_main {
        padding: 30px;
        height: auto;
        display: block;
    }

    .template_facilities .box_main {
        text-align: left;
    }
    .slider-counter{
        margin-top: 0;
        bottom: 50px;
    }
    .sitemap .col-xs-6{
        width: 100%;
    }
}

@media (max-width: 820px) {
    .banner-krajokkaewkhaoyai {
        right: 25px;
        bottom: 20px;
    }
    .header {
        position: fixed;
        top: 0;
        height: 80px;
        background: #fff;
        box-shadow: rgba(0, 0, 0, 0.09) 0 0 10px;
        padding: 0 25px;
    }

    .navbar-brand {
        margin-top: 10px;
    }

    .navbar-brand img {
        filter: none;
        height: 60px;
    }
    .header_fixed .navbar-brand img{
        height: 60px;
    }

    .pull-right div {
        line-height: 80px;
    }

    .nav-lang {
        color: #4d4542;
    }

    .ui-style {
        margin: 30px 0;
    }

    .amburgers1, .amburgers2,
    .amburgers3, .amburgers4, .amburgers5 {
        background: #31322d !important;
    }

    .show_menu {
        padding: 80px 25px;
    }

    .ui-style, .slider-counter {
        right: 25px;
    }

    .video_layer {
        right: 25px;
        border: 0;
        z-index: 8;
    }

    .video_layer .muted_layer:before {
        margin: auto 15px;
    }


    .index-video-wrapper, #maximage, .video_section {
        height: 50vh !important;
        margin-top: 70px;
    }

    .slider-arrow {
        height: 20px;
    }

    .slider-arrow a {
        margin: 0 15px;
    }

    .slider-arrow img {
        width: 30px;
    }
    .overlay_slide {
        background: rgba(0, 0, 0, 0);
    }
    .text-slider {
        display: none;
    }

    .primary_box, .primary_box.show_content {
        padding: 50px 25px;
    }

    .primary_side {
        padding: 0 25px;
    }

    .primary_child, .box_gallery {
        padding: 0 25px 50px;
    }

    .footer {
        padding: 50px 25px 0;
    }

    .content_child .item {
        margin-bottom: 25px;
    }


    .slider-counter {
        bottom: 50px;
        margin-top: 0;
    }


    .box_gallery .main_photos {
        height: 200px;
    }

    .map iframe, .other_room .main_photos {
        height: 450px;
    }


    .owl-theme .owl-nav {
        left: 0;
    }

    .box_gallery .col-xs-4 {
        width: 50%;
    }
    .gallery ul li:nth-child(1),
    .gallery ul li:nth-child(2),
    .gallery ul li:nth-child(3),
    .gallery ul li:nth-child(4),
    .gallery ul li:nth-child(5),
    .gallery ul li:nth-child(6) {
        width: 100%;
    }
    .gallery ul li:nth-child(1) .main_photos,
    .gallery ul li:nth-child(2) .main_photos,
    .gallery ul li:nth-child(3) .main_photos,
    .gallery ul li:nth-child(4) .main_photos,
    .gallery ul li:nth-child(5) .main_photos,
    .gallery ul li:nth-child(6) .main_photos{
        height: auto;
    }
    .navbar-brand img.logo_fix{
        display: none;
    }
    .navbar-brand img.logo_scroll{
        display: block;
    }
    .main_gallery{
        display: none;
    }
    .main_facilities{
        padding-bottom: 50px;
    }
    .row_listtransfer .col-xs-4{
        width: 100%;
        margin-bottom: 25px;
    }
    .row_listtransfer .col-xs-4:nth-last-child(1){
        margin-bottom: 0;
    }
    .images_transfer{
        height: 550px;
    }
    .info_detail li a{
        padding: 8px 0!important;
    }
    .list_transfer{
        margin: 50px 0 30px;
    }
     .video_layer .muted_layer:after{
        background: #000000;
    }
    .video_layer .muted_layer:before{
        color: #000000;
    }
    .video_layer .muted_layer:after {
        top: 6px;
    }
}

@media (max-height: 600px) {
    .index-video-wrapper, #maximage, .video_section{
        height: 100vh!important;
    }
}
@media (max-width: 600px) {
    .banner-krajokkaewkhaoyai img {
        width: 100px;
    }
    .banner-krajokkaewkhaoyai {
        right: 0;
        text-align: center;
        left: 0;
    }
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }


    .hotel_facilities {
        text-align: center;
    }

    .hotel_facilities .col-xs-3 {
        width: 100%;
    }

    .hotel_facilities .item_box {
        height: auto;
        padding: 0;
    }

    .hotel_facilities .line {
        display: none;
    }

    .box_main,
    .content_child .box_main,
    .content_child .col-xs-6.left .box_main
    {
        padding: 25px;
    }
    .template_facilities .box_main {
        padding: 25px;
    }

    .amenities .row_amenities [class*=col-xs-] {
        width: 100%;
        padding: 5px 10px;
    }

    .show_menu {
        padding: 50px 25px;
    }

    .row_gallery {
        margin-right: -5px;
        margin-left: -5px;
    }
    .row_gallery li {
        padding: 5px;
    }
    /*.gallery ul li:nth-child(1) .main_photos, .gallery ul li:nth-child(2) .main_photos, .gallery ul li:nth-child(3) .main_photos, .gallery ul li:nth-child(4) .main_photos, .gallery ul li:nth-child(5) .main_photos, .gallery ul li:nth-child(6) .main_photos {*/
    /*    height: 120px;*/
    /*}*/

    .box_gallery .main_photos {
        height: 120px;
    }

    .box_gallery .col-xs-4 {
        width: 50%;
        padding: 5px;
    }

    .filter-controls ul li {
        margin: 10px;
    }

    .contact .col-xs-6, .contact .col-xs-12 {
        width: 100%;
    }

    .icon_contact {
        left: 20px;
    }

    .side-info .main_photos {
        height: 250px;
    }
    .navbar-brand {
        margin: 10px 0;
    }
    .map iframe, .other_room .main_photos {
        height: 350px;
    }
    .images_transfer, .content_child .main_photos, .other_room .main_photos, .template_facilities .main_photos, .template_box .main_photos{
        height: 280px;
    }
    .hotel_facilities .item_box{
        text-align: center;
    }
    .info_room .editable.page_info ul {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
    .main_meeting li{
        width: 100%;
    }
}

@media (max-width: 375px) {
    .video_layer {
        right: 10px;
    }

    .map iframe, .other_room .main_photos {
        height: 300px;
    }

    .bg_footer {
        height: 200px;
    }
    .owl-theme .owl-nav [class*=owl-] {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    .owl-theme .owl-nav [class*=owl-] i {
        font-size: 17px;
    }
}


@media (max-width: 320px) {
    .navbar_fix {
        max-height: 350px;
        overflow: auto;
    }

    .filter-controls ul li {
        margin: 6px 4px;
    }
}
