/* @override 
	http://muangboranmuseum.com/wp-content/themes/Muangboranmuseum/phone.css?* */

@media (max-width: 1300px) {
    .main_a {
        height: 620px;
        min-height: 60vh;
        background-attachment: scroll;
    }
    .placesg_a {
        height: 40vh;
        background-attachment: scroll;
    }
   /* .mainslide,
    .mainslide video {
        width: 100%;
        height: 974px;
    }*/
    .menu li {
        font-size: 20px;
    }
    .ftmenu li {
        font-size: 14px;
    }
    .about_a {
        background-attachment: scroll;
    }
}

@media (max-width: 1049px) {
    html,
    body {
        font-size: 13px;
    }
    * {
        max-width: 100%;
    }
    .wrap {
        /*width: 325px;*/
        width: 100%;
    }
    .menu-icon {
        cursor: pointer;
        display: inline-block;
        float: right;
        padding: 20px 10px;
        user-select: none;
    }
    .menu-icon .navicon {
        background: #8f8f8f;
        display: block;
        height: 2px;
        position: relative;
        transition: background .2s ease-out;
        width: 25px;
    }
    .menu-icon .navicon:before,
    .menu-icon .navicon:after {
        background: #8f8f8f;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .2s ease-out;
        width: 100%;
    }
    .menu-icon .navicon:before {
        top: 7px;
    }
    .menu-icon .navicon:after {
        top: -7px;
    }
    .menu-btn:checked~.menu {
        max-height: 100vh;
        display: block;
    }
    .menu-btn:checked~.menu-icon .navicon {
        background: transparent;
    }
    .menu-btn:checked~.menu-icon .navicon:before {
        transform: rotate(-45deg);
    }
    .menu-btn:checked~.menu-icon .navicon:after {
        transform: rotate(45deg);
    }
    .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
    .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
        top: 0;
    }
    #header {
        padding: 0;
        z-index: 10001;
    }
    #header.small {
        transform: translateY(-20px);
        height: 100px;
    }
    .logo {
        top: 15px;
        left: 15px;
        width: auto;
        height: 50px;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
    }
    #header.small .logo {
        height: 35px;
        top: 35px;
        width: auto;
    }
    #header.touch {
        background-color: rgba(255, 255, 255, .9);
        transform: translateY(0);
        height: 100vh;
    }
    #header.touch .logo {
        top: 15px;
        height: 50px;
    }
    .phonemenu {
        position: fixed;
        z-index: 100;
        right: 5px;
        top: 19px;
        display: block;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
    }
    #header.small .phonemenu {
        transform: translateY(5px);
    }
    #header.touch .phonemenu {
        transform: translateY(0px);
    }
    .hoption {
        display: none;
    }
    .menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        margin-top: 100px;
        height: calc(100vh - 150px);
        padding-bottom: 50px;
        overflow: auto;
    }
    .menu::-webkit-scrollbar {
        width: 0px;
        /* remove scrollbar space */
        background: transparent;
        /* optional: just make scrollbar invisible */
    }
    #header.touch .menu {
        opacity: 1;
        visibility: visible;
        max-height: unset;
    }
    .menu li {
        display: block;
        float: left;
        width: 100%;
        margin: 0;
    }
    .menu li a {
        color: #283f71 !important;
        font-size: 21px;
        line-height: 57px;
    }
    .menu.white li.booking,
    li.booking {
        padding: 0;
        border: 0 !important;
    }
    .menu.white .placemenu p.ev a {
        color: #a87010 !important;
    }
    .menu.white li.booking:hover {
        background: transparent;
    }
    li.booking:hover {
        background: transparent;
    }
    .menu.white li.booking a,
    li.booking a {
        padding: 15px 70px;
        border: 1px solid #283f71;
        border-radius: 20px;
        background-color: #fff;
    }
    .placemenu {
        background: transparent;
        left: 0;
        right: 0;
        top: 0;
        border-radius: 0;
        margin: 0 auto;
        box-shadow: unset;
        width: 100%;
        box-sizing: border-box;
    }
    .hplace.open .placemenu {
        position: relative;
    }
    .menu li .placemenu a {
        font-size: 14px;
        line-height: 30px;
    }
    /*.mainslide,
    .mainslide video {
        width: 100%;
        height: 281px;
    }*/
    .mnacon {
        /*position: relative;
	    	bottom: 0;
	    	padding-top: 100px;
	    	width: 275px;
    	    padding-bottom: 200px;
    	    padding-left: 20px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.59), transparent);*/
        position: relative;
        bottom: 0;
        padding-top: 100px;
        width: 100%;
        padding-bottom: 100px;
        padding-left: 5%;
        background-image: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.59));
        padding-right: 5%;
        box-sizing: border-box;
        text-align: center;
    }
    .mnhead {
        font-size: 24px;
        line-height: 36px;
        text-shadow: 2px 2px rgba(0, 0, 0, 0.29);
        text-align: center;
        margin-bottom: 20px;
    }
    .mnhead.x {
        width: 100%;
        text-shadow: 2px 2px rgba(0, 0, 0, 0.29);
        text-align: center;
        margin-bottom: 20px;
    }
    .mnpage {
        display: none;
    }
    .main_a {
        background-attachment: scroll;
    }
    .main_a .mntext {
        padding-right: 0px;
        width: 100%;
        font-size: 13px;
        /* padding-left: 5%; */
        padding-bottom: 0px;
        text-align: left;
    }
    .mntext::-webkit-scrollbar {
        width: 0px;
        /* remove scrollbar space */
        background: transparent;
        /* optional: just make scrollbar invisible */
    }
    .mnmore.white a,
    .mnmore a,
    .abdview {
        color: #000;
        background-image: url(images/01-main_78.png);
        width: 100%;
        text-align: center;
        border: solid 1px #fff;
        display: block;
        height: 50px;
        line-height: 47px;
        font-size: 16px;
        text-decoration: none;
        padding: 0px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.54);
    }
    .main_b {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .mnbcon {
        width: 90%;
        margin-top: 30px;
        margin-left: 5%;
        margin-right: 5%;
    }
    .mnbpic {
        width: 90%;
        margin-right: 5%;
        padding-top: 0;
        margin-left: 5%;
    }
    #abbpic1 {
        width: 295px;
        margin: 0 15px;
    }
    #abpic2 {
        right: 30px;
        top: 0;
        width: 65px;
    }
    #abpic3 {
        bottom: -10px;
        width: 65px;
    }
    .main_c {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .mncpic {
        width: 100%;
    }
    .mnccon {
        width: 90%;
        margin-top: -90px;
        margin-left: 5%;
        margin-right: 5%;
    }
    .mnccon select,
    .downloadmap {
        width: 100%;
        background: #fff;
        border: 1px solid #000;
        color: #000;
        text-align: center;
        font-size: 16px;
        height: 50px;
        padding: 0;
        line-height: 47px;
    }
    /*color: #000;
background-image: url(images/01-main_78.png);
width: 100%;
text-align: center;
border: solid 1px #fff;
display: block;
height: 50px;
line-height: 47px;
font-size: 16px;
text-decoration: none;
padding: 0px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.54);*/
    .main_d {
        padding-top: 50px;
        padding-bottom: 50px;
        min-height: unset;
    }
    .mndhead {
        font-size: 22px;
    }
    .swiper-slide.newsbbox:first-child {
        width: 100%;
    }
    .newsbbox {
        margin-bottom: 30px;
    }
    .newsbbox:first-child .mnddate {
        display: block;
    }
    .newsbbox:nth-child(2),
    .newsbbox:nth-child(3),
    .swiper-slide.newsbbox {
        width: 100%;
    }
    .mainnews .swiper-pagination {
        width: 100% !important;
        background: #FFF;
    }
    .mndboxh {
        margin-bottom: 30px;
        width: 90%;
        margin-left: 5%;
    }
    .main_g {
        min-height: unset;
    }
    .mngleft {
        width: 100%;
        min-height: unset;
        padding-bottom: 160px;
    }
    .mngcon {
        margin-right: 0;
        width: 325px;
        float: none;
        margin: 0 auto;
        padding-top: 50px;
    }
    .mngtype a,
    ul.tabs.mngtype li {
        width: 161px;
    }
    .mngmap {
        width: 100%;
    }
    .ftmenu {
        display: none;
    }
    .copyright {
        width: 100%;
        margin-left: 0;
        padding-left: 10px;
        box-sizing: border-box;
        font-size: 8px;
    }
    #content {
        padding-bottom: 40px;
    }
    #footer {
        height: 40px;
        line-height: 40px;
    }
    .about_a {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .abahead {
        font-size: 24px;
        line-height: 36px;
        width: 70%;
        margin-left: 15%;
    }
    .abchead {
        font-size: 25px;
        line-height: 36px;
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    .newsgdate {
        margin-bottom: 11px;
    }
    .newscontent p,
    .newscontent .wp-block-gallery {
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: left;
    }
    .abawhite {
        width: 325px;
        height: 400px;
    }
    .abacon {
        width: 100%;
        margin: 0;
        padding: 20px 30px;
    }
    .abacon p {
        line-height: 25px;
    }
    /*.about_b {
	    	display: none;
	    }*/
    .swiperheadwrap {
        width: 325px;
        top: 50px;
    }
    .mntext {
        font-size: 12px;
        line-height: 24px;
        text-align: center;
    }
    .about_c .swiper-container {
        padding-top: 210px;
    }
    .about_c .swiper-button-next,
    .about_c .swiper-button-prev {
        width: 15px;
        height: 26px;
        margin-top: 25px;
        background-size: 15px 26px;
    }
    .gallerywrap a {
        width: 300px;
    }
    .abcpic {
        width: 100%;
        box-sizing: border-box;
    }
    .about_c .mntext {
        margin-bottom: 20px;
        text-align: center;
    }
    .about_d {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .abdcon {
        width: 325px;
    }
    .abdpic {
        width: 100%;
    }
    .abdcontact {
        width: 100%;
        padding: 0px;
    }
    .abdbox {
        margin: 0;
        padding: 0;
        background: #FFF;
        width: 100%;
        border-radius: 10px;
        padding: 10px 25px;
        line-height: 24px;
        box-sizing: border-box;
        margin-bottom: 10px;
        text-align: center;
    }
    .about_c .parallax-bg {
        transform: unset !important;
    }
    .abbcon {
        width: 325px;
        margin-left: 0;
        margin-right: 50px;
    }
    .abbpic {
        width: 325px;
        margin-left: 0;
    }
    .abbpic.rightside {
        margin-right: -10px;
    }
    .place_a {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .plamap {
        width: 80%;
        height: auto;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .platext {
        float: none;
        width: 325px;
        margin: 0 auto;
        line-height: 26px;
    }
    .place_b {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .place_b img {
        margin-bottom: 8px;
        display: inline-block;
    }
    .plccon {
        display: none;
    }
    .pldhead {
        margin-bottom: 20px;
    }
    .pldlist li {
        width: 100%;
        padding: 0;
        height: 40px;
        font-size: 16px;
    }
    .psgbleft {
        float: left;
        width: 90%;
        margin-right: 5%;
        margin-left: 5%;
        text-align: center;
    }
    .place_d {
        margin-bottom: 0px;
    }
    .event {
        background-position: top center;
        background-size: 100% auto;
    }
    .evcon {
        width: 100%;
        padding-bottom: 50px;
        padding-top: 300px;
        padding-left: 25px;
        padding-right: 25px;
        box-sizing: border-box;
        text-align: center;
    }
    .archeventhead {
        font-size: 24px;
        line-height: 36px;
        width: 100%;
    }
    .evservice {
        width: 100%;
        box-sizing: border-box;
        border-right: 0;
    }
    .placesg_a {
        background-attachment: scroll;
        height: 50vh;
    }
    .psgcon {
        width: 100%;
        display: block;
        height: auto;
        position: absolute;
        margin: 0px;
        bottom: 0;
        padding-bottom: 25vh;
        top: unset;
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.99), transparent);
    }
    .psgcon .mnhead {
        margin-bottom: 0px;
    }
    .mngsubh {
        font-size: 15px;
        margin-bottom: 10px;
        margin-top: 1px;
        width: 95%;
        padding-left: 5%;
        text-align: center;
        box-sizing: border-box;
    }
    /* .psgcmap {
	    	margin-bottom: -90px;
	    }*/
    .eventsg_b {
        padding: 50px 25px;
        box-sizing: border-box;
    }
    .eventsg_b .psgbsocial,
    .placesg_b .psgbsocial {
        right: 10px;
        width: 35px;
    }
    .placesg_b .psgbsocial {
        top: 160px;
    }
    .placesg_b .place_b {
        display: none;
    }
    .psgbleft ul.tabs li {
        margin-right: 16px;
        margin-bottom: 10px;
        float: left;
        color: #fff;
        width: 100%;
        text-align: center;
        border: solid 1px rgba(255, 255, 255, 0.42);
        display: block;
        height: 50px;
        line-height: 47px;
        font-size: 16px;
        text-decoration: none;
        padding: 0px;
        background-color: rgba(255, 255, 255, 0);
        border-radius: 8px;
        box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.42);
    }
    .psgbleft ul.tabs li.current {
        margin-right: 16px;
        margin-bottom: 10px;
        float: left;
        color: #000;
        width: 100%;
        text-align: center;
        border: solid 1px rgba(255, 255, 255, 0.42);
        display: block;
        height: 50px;
        line-height: 47px;
        font-size: 16px;
        text-decoration: none;
        padding: 0px;
        background-color: rgba(255, 255, 255, 1);
        border-radius: 8px;
        box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.42);
    }
    .psgbhead {
        font-size: 24px;
        line-height: 36px;
    }
    .egsbleft,
    ul.tabs {
        width: 100%;
        margin-right: 0;
        /* overflow-y: scroll; */
        margin-top: 16px;
    }
    .evcall {
        width: 100%;
        box-sizing: border-box;
    }
    .esgmore p {
        width: 220px;
    }
    .psgbright {
        width: 90%;
        margin-top: 10px;
        margin-left: 5%;
        padding-bottom: 100px;
    }
    .psgbright a {
        color: #fff;
        text-decoration: underline;
    }
    .placesg_b {
        padding-bottom: 0px;
    }
    .psgccon {
        float: left;
        width: 90%;
        margin-left: 5%;
        margin-top: 45px;
        color: #6b6b6b;
    }
    .esgcbox {
        width: 45%;
    }
    .esgcbox p {
        font-size: 14px;
    }
    .placesg_d {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .psgdcon {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
    .psgcbox {
        margin-right: 8px;
        width: 45%;
        display: inline-block;
        margin-left: 8px;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
    }
    .tkcon {
        width: 90%;
        margin-left: 5%;
    }
    .tklist,
    .tklist.x {
        width: 100%;
        margin: 0 0 10px;
        box-sizing: border-box;
    }
    .ticket {
        padding-top: 100px;
        padding-bottom: 80px;
        background-position: center bottom;
    }
    .tkprice,
    .tkmark,
    .tkaccept,
    .tkpay {
        width: 100%;
    }
    .policy {
        width: 100%;
        margin-top: 100px;
        margin-bottom: 50px;
        padding: 0 25px;
        box-sizing: border-box;
    }
    .news {
        margin-top: 100px;
    }
    .newsbbox:first-child,
    .newsbbox {
        width: 100%;
    }
    .mnddate {
        text-align: center;
        margin-top: 0;
    }
    .newsbbox .mntext {
        margin-bottom: 0;
    }
    .newssingle_a {
        padding-top: 100px;
    }
    .newscontent {
        margin-bottom: 0;
        padding: 0 25px;
        box-sizing: border-box;
    }
    .newssgshare {
        margin-top: 0;
        display: inline-block;
    }
    .evmore {
        float: none;
        display: inline-block;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.54);
        color: #000 !important;
        width: 100%;
        box-sizing: border-box;
        height: 52px;
        line-height: 47px;
        font-size: 16px;
    }
    .psgbsocial img {
        display: inline-block;
        clear: unset;
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
        height: 15px;
        margin-bottom: 0;
    }
    .eventsg_b .psgbsocial,
    .placesg_b .psgbsocial {
        width: 100%;
        text-align: center;
        width: 100%;
        right: 0;
        bottom: 30px;
        top: auto;
    }
    .eventsg_b .wrap {
        padding-bottom: 100px;
        position: relative;
        display: inline-block;
    }
    .psgbsocial p {
        margin-bottom: 0;
        margin-top: 0;
    }
    .fb_iframe_widget {
        width: 325px;
    }
    #issues li {
        display: none;
    }
    #issues li.selected {
        display: block;
    }
    .about_a {
        background-attachment: scroll;
    }
    #issues li {
        width: 100%;
        display: block;
    }
    #dates {
        display: none;
    }
    #timeline .mntext {
        height: auto;
    }
    #coupon_code {
        float: left;
        height: 29px;
    }
    .cart_totals h2 {
        padding-left: 10px;
        box-sizing: border-box;
    }
    .checkout-button {
        background-color: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.54) !important;
        color: #000 !important;
        height: 40px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        line-height: 24px !important;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .menu li.hplace,
    .menu.white li.hplace {
        background-image: none;
        padding-right: 0px;
    }
    .timeline-container,
    .timeline-list,
    .timeline-item {
        width: 325px !important;
    }
    .timeline-horizontal .timeline-dots li {
        width: 300px !important;
    }
    .timeline-dots-wrap.bottom {
        display: none;
    }
    .select2-search--dropdown,
    .select2-container {
        width: 100%;
    }
    .hlang {
        margin-top: 10px;
    }
    .wpml-ls-legacy-dropdown-click a {
        padding-right: 10px !important;
    }
    .period .plchead {
        font-size: 18px;
        line-height: 30px;
    }
    .periodleft {
        width: 100%;
        margin-bottom: 30px;
        padding-top: 0;
    }
    .periodleft .plccollage {
        height: 187px;
    }
    .periodleft .plcbox {
        display: none;
    }
    .periodright {
        width: 100%;
        padding: 0 25px;
        box-sizing: border-box;
    }
    .periodtitle h2 {
        font-size: 28px;
        line-height: 30px;
        width: 100%;
        margin-bottom: 10px;
    }
    .periodtitle span {
        width: 100%;
        padding-left: 0;
    }
    .periodyear {
        padding: 0 0 15px;
    }
    .perioddetail {
        height: auto;
    }
    ul.placeinperiod {
        height: auto;
    }
    .recentplace {
        margin: 20px 0 50px;
    }
    ul.placeinperiod li {
        width: 100%;
        padding: 0 !important;
        text-align: center;
    }
    .menu li.socialmb{
    	margin-top: 50px;
    	text-align: center;
    	display: block !important;
    }
    .socialmb .hsocial{
    	float: none;
    	margin: 0 15px;
    }
    .main_e{
    	height: 100%;
    }
    .galleriagallery{
    	height: 215px;
    	position: relative;
    	z-index: 1;
    }
    .main_e .blankspace{
    	display: none;
    }
    .mainslide video{
    	height: auto;
    }
}