@media only screen and (max-width:1024px){
    .room_welcome .column_attr {
        display: block;
    } 
    .cd-horizontal-timeline .events li:first-child a {
        left: 1%;
    }
    .cd-horizontal-timeline .events li:nth-child(2) a {
        left: 17%;
    }
    .cd-horizontal-timeline .events li:nth-child(3) a {
        left: 30%;
    }
    .cd-horizontal-timeline .events li:nth-child(4) a {
        left: 43%;
    }
    .cd-horizontal-timeline .events li:nth-child(5) a {
        left: 55%;
    }
    .cd-horizontal-timeline .events li:nth-child(6) a {
        left: 71%;
    }
    .cd-horizontal-timeline .events li:last-child a {
        left: 88%;
    }
    .timeline.fixed {
        width: 100%;
        left: 0px;
    }
    .menu_content {
        padding: 0 10px;
    }
    .room_welcome {
        min-height: auto;
    }
    .home_video_sec .content_video.iframe.auto-wh iframe{
        height: 100%;
    }
    .home_video_sec .youtube-player,
    .home_video_sec .youtube-player iframe {
        height: 400px;
    }
    .home div#Subheader {
        top: 176%;
    }
}
@media only screen and (max-width:991px){
    h2 {
        font-size: 25px !important;
    }
    .home_video_sec .content_video.iframe.auto-wh {
        height: 300px;
        padding-bottom: 10% !important;
    }
    /*nav#overlay-menu {
        width: 65% !important;
    }*/
    .room_welcome_text {
        margin-top: 0;
    }
    .room_welcome {
        min-height: auto;
    }
    .room_welcome h2, .home_welcome h2 {
        font-size: 19px !important;
    }
    .room_welcome p {
        font-size: 14px;
    }
    .room_welcome a {
	    font-size: 11px;
	    letter-spacing: 4px;
	    padding: 4px 12px;
	}


    /*.home_page_slider .content_slider .slick-list {
	    height: 340px !important;
	}

	.content_slider .content_slider_ul li {
	    transform: scale(2.4);
	}*/
	.logo-overlay .inner-cont img {
	    height: 18px !important;
	}

    .slider_sec .content_slider a.slider_prev {
        left: 33% !important;
    }
    .slider_sec .content_slider a.slider_next {
        right: 33% !important;
    }
    .rest_page_slider .content_slider a.slider_prev{
        left: 40% !important;       
    }
    .rest_page_slider .content_slider a.slider_next {
        right: 40% !important;
    }
    .home div#Subheader {
        top: 111%;
    }
    .mobile-hide{
        display: none;
    }
}
@media only screen and (max-width:767px){  
    h1.title {
        font-size: 23px !important;
    }
    .home .content_slider.flat .content_slider_ul .slick-list {
	    height: 330px !important;
	}
	.home .content_slider .content_slider_ul li img, .home .content_slider.flat .content_slider_ul .slick-list .slick-track {
	    height: 100% !important;
	}

    #Top_bar #logo img.logo-mobile {
        width: 43%;
        max-height: 62px !important;
    }
    .top_bar_left >  .logo > #logo > img{
        display: block;
    }

    .top_bar_right_link > a.action_button_home, #Header > .overlay-menu-toggle:after {
    	font-size: 11px;
    }
    body:not(.home) .top_bar_right_link > a.action_button_home {
	    border: 1px solid #9d7c2f;
	}
    #Overlay {
	    top: 8%;
	    left: 0;
	    width: 100%;
	    height: 100%;
	}
	.header-overlay .overlay-menu-toggle.focus .close:before {
	    margin-top: 60px;
	}
	#logo_overlay img {
	    height: 60px;
	}

    .lang_select {
        top: 42px;
        right: 29px;
    }
    .lang_select select {
        width: 80px;
    }
    .lang_select:after {
        padding: 6px 4px;
    }

    .ui-tabs .ui-tabs-panel {
        padding: 15px 15px 15px;
    }

    .ui-tabs .ui-tabs-panel ol, .ui-tabs .ui-tabs-panel ul {
        margin-left: 0 !important;
    }

    /*#Overlay > #overlay-menu {
        width: 57% !important;
        left: 6% !important;
        margin-left: 0 !important;
    }*/
    div#Header_wrapper {
        background-size: cover;
        background: transparent;
    }
    #Header_wrapper > #Subheader {
        padding: 0px !important;
        margin-top: 20px;
    }
    .home_welcome {
        margin: 0px 0 !important;
    }
    .home_video_sec .content_video.iframe.auto-wh {
        height: 200px;
        padding: 5%;
    }
    .header-overlay .overlay-menu-toggle {
        left: 22px;
        right: auto !important;
    }
    .below_video_text {
	    margin: 40px 0;
	}
	#mc_embed_signup + p {
	    display: none;
	}
    span.menu_text {
        left: 70px;
    }
    .header-overlay .overlay-menu-toggle {
        left: 16px;
    }
    .home .top_bar_right_link,
    .top_bar_right_link {
        right: 28px;
        top: 10px;
    }
    #Header > .overlay-menu-toggle {
	    top: 17px !important;
	}
    body:not(.home) #Header_wrapper{
        background: transparent;
        min-height: 120px;
    }
    .slider_sec .hide-arrows {
        margin-bottom: 10px;
    }
    .room_welcome {
        margin-bottom: 35px !important;
        min-height:auto !important;
    }
    .menu_content {
        min-height: auto;
        padding: 0 30px;
    }
    .restaurant_menu_sec .section_wrapper {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .menu_ind_content{
       border-bottom:  1px solid #9d7c2f;
       padding:25px 0 !important;
    }
    .menu_ind_content:last-child {
        border-bottom: 0;
    }
    .rest_border:last-child{
        border-bottom: 0;
    }
    .rest_border:nth-child(2) .rest_border {
	    border-top: 0;
	}
	.rest_border.valign-top + div.section {
	    clear: both;
	}
	.home_welcome.restaurant_text .mobile_align_center {
	    padding-left: 33px!important;
	    padding-right: 33px!important;
	}
    .cd-horizontal-timeline {
        display: none;
    }
    .rest_border .one-second.column {
        width: 100% !important;
    }
    .border-bottom-menu {
       border-bottom:  1px solid #9d7c2f; 
    }
    .slider_sec .content_slider a.slider_prev {
        left: 31% !important;
    }
    .slider_sec .content_slider a.slider_next {
        right: 31% !important;
    }
    .room_welcome_text {
        margin-top: 0%;
    }
    .slider_sec .content_slider {
        margin: 0 0 0px;
    }
    .section_wrapper .column {
        margin: 0 0 0 !important;
        height: auto!important;
    }
    .slider_sec .content_slider .slider_pagination {
        min-height: auto !important;
        max-height: 38px;
    }
    .rooms_text_img .column.two-fifth.rooms_left_desc_area, .rooms_text_img .column.two-fifth.rooms_right_desc_area {
	    margin-top: 10px !important;
	}
    .restaurant_text {
        margin-bottom: 45px !important;
    }
    .home_welcome.restaurant_text {
        margin-bottom: 50px !important;
    }
    .home div#Header_wrapper {
        min-height: 400px;
        background-size: auto 100%;
    }
    .home_video_sec .content_video.iframe.auto-wh iframe,
    .home_video_sec .youtube-player,
    .home_video_sec .youtube-player iframe {
        height: 230px;
    }
    div#Header_wrapper > #Header > #Top_bar {
    	min-height: 80px !important;
        background: transparent !important;
       /* border-bottom: 1px solid #caab53;*/
    }
    div#Header_wrapper > #Header > #Top_bar.is-sticky{
            background: #fff !important;
    }
    .rooms_left_desc_area .column_attr{
        padding: 0;
    }
    .rooms_right_desc_area .column_attr{
        padding: 0;
    }
    .rooms_left_desc_area .column_attr, .rooms_right_desc_area .column_attr {
        margin-bottom: 40px;
    }
    .slider-description h3.title{
        font-size: 23px !important;
    }
    .home_video_sec .section_wrapper, .map_sec_home .section_wrapper {
	    padding: 0 !important;
	}
    #Footer .widgets_wrapper .column.foot-link {
        top: 0;
        margin-top: 30px;
    }
    #Footer .widgets_wrapper .widget + div.mt-25 {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #Footer .widgets_wrapper .widget + div.mt-35 {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
@media only screen and (max-width:480px){ 
    .below_video_text {
        margin: 40px 0;
    }
}



@media only screen and (min-width: 1241px) {
    nav#overlay-menu {
        width: 30%;
        position: absolute;
	    margin-top: 0 !important;
	    margin-bottom: 0 !important;
	    left: 50%;
	    top: 50%;
	    /*transform: translate(-50%, -50%);*/
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
    #Top_bar.is-sticky #logo img.logo-sticky {
	    max-height: 144px !important;
	}
}

@media only screen and (min-width: 1025px) and (max-width: 1240px) {
    nav#overlay-menu {
        width: 33%;
        margin-top: 92px !important;
    }
    .sticky-white #Top_bar.is-sticky, .sticky-white #Top_bar.is-sticky #menu {
        height: 75px;
        position: fixed !important;
    }
    .room_welcome {
	    min-height: 350px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    nav#overlay-menu {
        width: 46%;
        margin-top: 105px !important;
    }
    .menu_content {
        min-height: 455px;
    }
    .sticky-white #Top_bar.is-sticky, .sticky-white #Top_bar.is-sticky #menu {
        height: 75px;
        position: fixed !important;
    }
    .height-200 {
        min-height: 230px !important;
    }
    .height-230 {
        min-height: 230px !important;
    }
    .height-270 {
        min-height: 295px !important;
    }
    .height-300 {
        min-height: 333px !important;
    }
    .tours_content .menu_content {
        min-height: 175px;
    }
    .wedding_content .menu_content {
        min-height: 205px;
    }
    .rooms_left_desc_area .column_attr{
        padding: 0 30px 0 0;
    }
    .rooms_right_desc_area .column_attr{
        padding: 0 0 0 30px;
    }
    .slider-description h3.title{
        font-size: 30px !important;
    }
    #overlay-menu ul li a {
        font-size: 15px;
    }
    .room_welcome p {
        margin-bottom: 10px;
    }
    .menu_content h4 {
        font-size: 20px !important;
    }

    .home_page_slider .content_slider a.slider_prev {
	    left: 40%;
	}
	.home_page_slider .content_slider a.slider_next {
	    right: 40%;
	}
	.logo-overlay .inner-cont img {
	    height: 25px !important;
	}
	#Top_bar #logo, .header-fixed #Top_bar #logo, .header-plain #Top_bar #logo, .header-transparent #Top_bar #logo {
		padding: 0 0;
	}
	#Overlay {
	    top: 0%;
	    left: 0%;
	    width: 100%;
	    height: 100%;
	}
	.cd-horizontal-timeline .events a {
		font-size: 10px;
	}
	body:not(.home) .top_bar_right_link > a.action_button_home {
	    border: 1px solid #9d7c2f;
	}
}

@media only screen and (max-width: 767px) {
    nav#overlay-menu {
        width: 57%;
        margin-top: 140px !important;
    }
    .sticky-white #Top_bar.is-sticky, .sticky-white #Top_bar.is-sticky #menu {
        height: 80px;
        position: fixed !important;
    }
    #Top_bar .logo #logo, .header-transparent #Top_bar #logo {
    	height: 80px;
    	line-height: 80px;
    }
    .home .content_slider.flat a.button {
	    bottom: -9%!important;
	    top: auto !important;
	}
	.home_page_slider .content_slider a.slider_prev {
	    left: 32% !important;
	}
	.home_page_slider .content_slider a.slider_next {
	    right: 32% !important;
	}
	.home_welcome h6, .home_welcome h2, .below_video_text h6 {
	    font-size: 10px !important;
	}
	.room_welcome h2, .home_welcome h2 {
	    font-size: 18px !important;
	}
	.menu_content h4 {
		font-size: 18px !important;
	}
	.restaurant_text p br {
	    display: none;
	}

	.intro_text p, .menu_content p {
	    font-size: 13px;
	    line-height: 1.7;
	}
    .home div#Subheader {
        top: 10%;
    }

    #Top_bar .logo #logo, #Top_bar .logo .custom-logo-link {
        margin: 0px 50px;
    }
    .menu-border {
        margin-bottom: 25px;
    }
}


@media only screen and (min-width: 1368px) and (max-width:1800px) {
    .header-overlay .overlay-menu-toggle.focus .close:before {
        margin-top: 105px;
    }
    .header-overlay .overlay-menu-toggle {
        left: 46px;
    }
    .box_content {
        padding: 0 200px;
    }
    #Top_bar #logo img {
        max-height: 72px !important;
    }
}

@media only screen and (min-width: 1801px) and (max-width:1920px) {
    .header-overlay .overlay-menu-toggle.focus .close:before {
        margin-top: 130px;
    }
    .header-overlay .overlay-menu-toggle {
        left: 50px;
    }
    .box_content {
        padding: 0 200px;
    }
    #Top_bar #logo img {
        width: 60%;
        /*max-height: 130px !important;*/
    }
    #Header > .overlay-menu-toggle {
        top: 24px !important;
    }
    .menu_color #Header > .overlay-menu-toggle {
        top: 14px !important;
    }
    /*.home .top_bar_right_link {
        top: 30px;
    }
    .menu_color.home .top_bar_right_link {
        top: 20px;
    }*/
    #Top_bar.is-sticky #logo, #Top_bar.is-sticky .custom-logo-link {
        padding: 1px 0!important;
        height: 72px!important;
        line-height: 50px!important;
    }
    .is-sticky#Top_bar #logo img.logo-sticky {
        width: 51% !important;
        max-height: 110px !important;
    }
    .page-id-26 .rest_border .one-second.column {
        height: 480px;
    }
    .page.page-id-159 .wrap.mcb-wrap.mcb-wrap-npfjehycw.one.rest_border:nth-child(11) .menu_ind_content:first-child {
        height: 752px;
    }
}


@media only screen and (min-width : 2048px) and (max-width : 5120px) {
	.loading {
	    width: 180px;
	    height: 180px;
	}
	li>img.scale-with-grid.wp-post-image {
	    width: 100%;
	}
	.header-overlay .overlay-menu-toggle.focus .close:before {
        margin-top: 310px;
        width: 70px;
	    height: 70px;
	    transform: scale(2.3);
	    background-position: -354px -18px;
    }
    .header-overlay .overlay-menu-toggle.focus {
        left: 130px;
    }
    #Top_bar #logo img {
    	width: 165%;
    	max-width: 200%;
    	height: auto !important;
    }
    #overlay-menu ul li a {
	    padding: 10px 0;
	    font-size: 35px;
	    line-height: 85px;
	}
	.top_bar_right_link > a.action_button_home {
	    font-size: 45px;
	    padding: 6px 30px 12px;
	    display: block;
	    line-height: normal;
	    letter-spacing: 10px;
	}
	.header-overlay.sticky-header .overlay-menu-toggle i.icon-menu-fine:before {
	    background-image: url(https://theempirebrunei.com/wp-content/themes/betheme-child/images/EMP_Sprite.png);
	    width: 80px;
	    height: 80px;
	    transform: scale(2.4);
	    background-position: -137px -8px;
	}
	#Header > .overlay-menu-toggle:after {
	    font-size: 50px;
	    top: 25px;
	    left: 114px;
	}
	.logo-overlay .inner-cont img {
	    height: 125px !important;
	}
	#Top_bar img.logo-sticky.scale-with-grid {
	    max-height: 136px !important;
	}
	#Top_bar.is-sticky {
	    height: 150px;
	}
	.home_page_slider .content_slider .slider_pagination {
	    font-size: 35px;
	    max-height: 70px;
	    line-height: 70px;
	}
	.home_page_slider .content_slider a.button {
	    bottom: -47px;
	}
	.home_page_slider .content_slider a.slider_next {
	    right: 47%;
	}
	.home_page_slider .content_slider a.slider_prev {
	    left: 47%;
	}
}


@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .is-sticky#Top_bar #logo img.logo-sticky {
        width: 51% !important;
        max-height: 145px !important;
    }
    #Top_bar #logo img {
        width: 60%;
        /*max-height: 130px !important;*/
    }
    select::-ms-expand {
        display: none;
    }
    #overlay-menu ul li {
        list-style-type: none !important;
        list-style-image: url(data:0);
    }
    .cd-horizontal-timeline .events {
        height: 2px;
    }
    .cd-horizontal-timeline .events li:nth-child(4) a {
        left: 43% !important;
    }

    .cd-horizontal-timeline .events a {
        letter-spacing: 1px !important;
    }

    body select#lang {
      background-image: none;
    }

    [lang="en-US"] .cd-horizontal-timeline .events li:nth-child(4) a {
    	left: 47% !important;
    }
}