/* @override 
	http://casapapa.plaimanas.co/wp-content/themes/casapapa/phone.css?* */


@media (max-width: 1350px) {
    .main_b .swiper-button-prev {
        left: 10px;
    }

    .main_b .swiper-button-next {
        right: 10px;
    }

    .hamburger {
        display: block;
        position: fixed;
        top: 5px;
        left: 15px;
        z-index: 10;
        cursor: pointer;
    }

    .menu-icon {
        cursor: pointer;
        padding: 20px 10px;
        display: block;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;

    }

    .menu-icon .navicon {
        background-color: #000;
        display: block;
        height: 2px;
        position: relative;
        -webkit-transition: background .2s ease-out;
        -o-transition: background .2s ease-out;
        transition: background .2s ease-out;
        width: 25px;
    }

    .menu-icon .navicon:before,
    .menu-icon .navicon:after {
        background-color: #000;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        -webkit-transition: all .2s ease-out;
        -o-transition: all .2s ease-out;
        transition: all .2s ease-out;
        width: 100%;
    }

    #header.open .menu-icon .navicon {
        background-color: transparent;
    }

    #header.open .menu-icon .navicon:before,
    #header.open .menu-icon .navicon:after {
        background: #000;
        top: 0px;
    }

    #header.open .menu-icon .navicon:before {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #header.open .menu-icon .navicon:after {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .menu-icon .navicon:before {
        top: 7px;
    }

    .menu-icon .navicon:after {
        top: -7px;
    }

    #header {
        height: 50px;
        overflow: hidden;
    }

    #header.open {
        overflow: scroll;
        overflow-x: hidden;
        overflow-y: auto;
        height: 100vh;
    }

    .menu-active {
        /*height: auto;*/
        /*overflow: hidden !important;*/
    }

    .menuactive {
        margin-bottom: 60px;
        opacity: 0;
        visibility: hidden;
    }

    .menu {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        font-size: 20px;
        line-height: 20px;
        float: none;
        clear: both;
    }

    .menu li {
        display: block;
        margin: 0;
        float: left;
        width: 100%;
    }

    .menu > li {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .menu > li > a {
        width: 100%;
        display: block;
        float: left;
    }

    .menu > li:nth-child(4) {
        margin-bottom: 30px;
    }

    .submenu {
        position: static;
        display: none;
        top: auto;
        bottom: auto;
        left: auto;
        text-align: center;
        border: 0;
        width: 100%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px 0 20px;
    }

    .submenu > li {
        margin-left: auto;
        margin-right: auto;
        float: none;
        clear: both;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .submenu .close {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 0;
        background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E") center center no-repeat #eaeaea;
        background-size: 15px;
        left: 0;
    }

    .hsocial {
        position: static;
        top: auto;
        right: auto;
        float: left;
        width: 100%;
        opacity: 0;
        visibility: hidden;
    }

    .hsocial form {
        float: none;
        margin: 0 auto;
        display: block;
    }

    .hsearch {
        float: none;
    }

    .hsocial .socialwrap {
        width: 100%;
    }

    .hsocial a {
        font-size: 0;
        background-position: center center;
        background-size: auto 20px;
        width: 25px;
        height: 25px;
        display: inline-block;
        margin: 10px 5px 0 5px;
        background-repeat: no-repeat;
    }
    .hsocial a > img {
        display: none;
    }
    .hsocial a.fb {
        background-image: url(images/social-006_facebook.png);
    }

    .hsocial a.ig {
        background-image: url(images/glyph-logo_May2016_200.png);
    }

    .logo {
        height: 40px;
        width: auto;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    #header.open .menuactive,
    #header.open .hsocial {
        opacity: 1;
        visibility: visible;
    }
}



@media (max-width: 1023px) {
    .conhead {
        font-size: 50px;
    }
}



@media (max-width: 768px) {
    .wrap {
        width: 325px !important;
    }

    * {
        max-width: 100% !important;
        background-attachment: scroll !important;
    }

    img {
        height: auto;
    }

    .galleria,
    .galleria1,
    .galleria2,
    .galleria *,
    .galleria1 *,
    .galleria2 * {
        max-width: none;
    }

    .navi {
        left: 15px;
        top: 15px;
    }

    #wrapper {}

    #header {
        height: 50px;
    }

    .mnaicon {
        position: sticky;
        position: -webkit-sticky;
        top: 80px;
        margin-bottom: 120px;
    }

    .main_a {
        width: 325px;
        margin-right: auto;
        margin-left: auto;
        float: none;
        clear: both;
        padding-top: 0;
        padding-bottom: 0;
    }

    .mnacon {
        float: left;
        clear: both;
    }

    div#content div.main_a div.mnacon ul.mnamenu {

        display: none;
    }

    div#content div.main_a div.mnacon img.mnapic {
        margin-right: auto;
        margin-left: auto;
        margin-top: -95px;
    }

    div#content div.main_a div.mnacon div.mnainfo p.mnatext {
        font-size: 17px;
        width: 270px;
        line-height: 29px;
    }

    div#content div.main_a div.mnacon div.mnainfo div.mnasocial {
        /*		width: 40px;*/
    }

    div.mnasocial img {
        margin-bottom: 4px;
    }

    .main_b {
        padding-top: 60px;
        padding-bottom: 0;
    }

    div.main_b div.mnbbox {
        width: 200px;
        margin-left: auto;
        margin-right: auto;
        float: none;
        clear: both;
        display: block;
        margin-bottom: 25px;
    }

    .mainslide {
        height: auto;
    }

    .main_c {
        padding-top: 40px;
    }

    /*	  .main_cgalleria .galleria .galleria-container {
		 	-webkit-border-top-left-radius: 310px;
		 	-webkit-border-top-right-radius: 310px;
		 	-moz-border-radius-topleft: 310px;
		 	-moz-border-radius-topright: 310px;
		 	border-top-left-radius: 310px;
		 	border-top-right-radius: 310px;
		 }*/
    .mnccon {
        margin-top: 0;
        margin-bottom: 25px;
    }

    /*		 div#content div.main_c div.main_cgalleria{
		 	width: 325px;
		 	height: 325px;
		 	margin-left: auto;
		margin-right: auto;
		 	float: none;
		 	clear: both;
		 }
		 	 div#content div.main_c div.main_cgalleria .galleria {
		 	 	height: 310px;
		 	 	margin-left: 15px;
		margin-top: 15px;
		 	 	width: 310px;
		 	 }*/

    div#content div.main_c div.main_cgalleria {
        margin-left: auto;
        margin-right: auto;
        float: none;
        clear: both;
        width: 375px;
        height: 375px;
        background-color: transparent;
    }

    div#content div.main_c div.main_cgalleria .galleria {
        height: 100%;
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }

    .main_cgalleria:after {
        display: none;
    }

    .main_d {
        padding-top: 40px;
        padding-bottom: 25px;
    }

    .conhead {
        font-size: 25px;
        line-height: normal;
        margin-bottom: 15px;
    }

    .mndpic {
        margin-bottom: 15px;
    }

    .mndhead {
        font-size: 15px;
        line-height: normal;
        margin-bottom: 5px;
    }

    .mndsubh {
        font-size: 12px;
        line-height: normal;
        margin-bottom: 5px;
    }

    .mndtext {
        line-height: normal;
        font-size: 12px;
    }

    .conmenu {
        top: 50px;
        margin-bottom: 15px;
    }

    .conhead + .conmenu {
        margin-top: -20px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        background-size: 20px !important;
    }

    .main_e .swiper-container .swiper-button-next,
    .main_e .swiper-container .swiper-button-prev {
        top: 95px;
    }

    .art .swiper-container .swiper-button-next,
    .art .swiper-container .swiper-button-prev,
    .viscon .swiper-container .swiper-button-next,
    .viscon .swiper-container .swiper-button-prev {
        top: 200px;
    }

    #content {
        padding-bottom: 0;
        margin-top: 50px;
    }

    div#footer {
        padding-top: 25px;
        height: auto;
        position: static;
    }

    .ftcon {
        width: 325px;
    }

    .ftbox {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        float: left;
        clear: none;
    }

    .ftbox.b,
    .ftbox.c,
    .ftbox.d {
        width: 50%;
        margin-right: 0;
        margin-left: 0;
        margin-top: 0;
    }

    .ftbox.f {
        width: 100%;
        text-align: left;
    }

    div#footer div.ftcon p.copyright {
        font-size: 8px;
        letter-spacing: 1px;
        margin-top: 15px;
    }

    .fthead {
        font-size: 13px;
        line-height: normal;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 5px;
    }

    .ftsubh {
        font-size: 12px;
        line-height: normal;
        margin-bottom: 5px;
    }

    ul.ftmenu {
        margin-bottom: 10px;
    }

    ul.ftmenu li {
        font-size: 12px;
        line-height: normal;
        margin-bottom: 5px;
    }

    .locmap {
        margin: 0;
    }

    .locmap .col {
        width: 100%;
        height: 375px;
    }

    .locmap .col > img {
        width: auto;
        height: 375px;
    }

    .loctext {
        font-size: 20px;
        line-height: normal;
        width: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    blockquote.wp-block-quote {
        width: auto;
        margin: 0 25px 25px;
    }

    .blogsghead {
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .article-content > * {
        margin-bottom: 25px !important;
    }

    .bloggrey {
        padding-top: 25px;
        padding-bottom: 15px;
    }

    .bgstory {
        margin-left: 0;
        margin-right: 0;
    }

    .bgshead {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .blogbox {
        margin-right: auto;
        margin-bottom: 15px;
        margin-left: auto;
        width: 325px !important;
        clear: both;
        float: left;
    }

    .blogbox img {
        height: 225px !important;
        margin-bottom: 10px;
        width: 100%;
    }

    .blogcategory {
        margin-bottom: 0;
    }

    .blogsingle {
        padding-top: 0;
    }

    div.blogsgshare {
        padding-top: 0;
        padding-bottom: 25px;
    }

    .blogcon {
        width: 325px;
        margin-right: auto;
        margin-left: auto;
    }

    .blog {
        padding-top: 25px;
        padding-bottom: 0;
    }

    .visitor {
        padding-top: 25px;
        padding-bottom: 0;
    }

    div.artbox {
        width: 325px;
        margin-right: auto;
        margin-left: auto;
    }

    div.artbox div.artcon {
        margin-top: 15px;
    }

    div.artcon h2.arthead {
        font-size: 20px;
        line-height: normal;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .art {
        padding-bottom: 0;
    }

    .visbox {
        margin-left: 0;
        margin-right: 0;
    }

    .viscon .swiper-container {
        padding-bottom: 25px;
    }

    div.team {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom-style: none;
    }

    div.team div.teaminfo {
        width: 100%;
    }

    div.partner h2.pnhead {
        font-size: 20px;
        line-height: normal;
    }

    div.team div.teaminfo h2.teamhead {
        font-size: 20px;
        line-height: normal;
        margin-bottom: 10px;
    }

    .teamtext {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    div.team div.teambox {
        margin-left: 23px;
        margin-bottom: 15px;
        margin-right: 24px;
    }

    div.team div.teambox img {
        margin-bottom: 5px;

    }

    .conmenu li {
        margin-left: 7px;
        margin-right: 7px;
    }

    .pkgtype,
    .pkgfacility,
    .pkgprice,
    .pkgmark {
        margin: 0;
        width: 100%;
    }

    .pkgtype:before {
        content: 'Package';
        font-weight: bold;
        margin-right: 10px;
    }

    .pkgfacility:before {
        content: 'Facilities';
        font-weight: bold;
        margin-right: 10px;
    }

    .pkgprice:before {
        content: 'Price';
        font-weight: bold;
        margin-right: 10px;
    }

    .pkgmark:before {
        content: 'Remark';
        font-weight: bold;
        margin-right: 10px;
    }

    div#package.team div.teamcon div.teampkg:first-child {
        display: none;
    }

    div.teampkg {
        padding-bottom: 25px;
        padding-top: 25px;
    }

    div.teampkg:last-child {
        border-bottom-style: none;
    }

    div#package.team div.teaminfo p.teamtext {
        margin-bottom: 0;
    }

    .wedding {
        padding-top: 25px;
    }

    .pnlogo {}

    .pnlogo img {
        width: 122px;
        margin-right: 20px;
        margin-left: 20px;
        margin-bottom: 10px;
    }

    .pncon > img,
    .pnpic {
        margin-bottom: 25px;
        margin-top: 10px;
    }

    .partner {
        margin-bottom: 0;
        padding-top: 15px;
    }

    .partner:last-child {
        border-bottom-style: none;
    }

    .pnhead {
        width: 100%;
    }

    h2.bgshead {
        font-size: 20px;
    }

    .wedbox {
        margin: 0 0 20px;
        width: 80%;
    }

    div.wedbox img {
        margin-bottom: 10px;
    }

    div.wedbox p {
        margin-bottom: 0;
    }

    div#content div.weddingsingle {
        padding: 25px 0 0;
    }

    div.wedsgdetail {
        width: 325px;
        margin-right: auto;
        margin-left: auto;
        float: none;
        clear: both;
        margin-bottom: 0;
    }

    div.wedsgcon a.back {
        display: none;
    }

    .wedsgcon img {
        width: 325px;
        margin-right: auto;
        margin-left: auto;
        float: none;
        display: block;
        clear: both;
    }

    .room {
        padding-top: 25px;
        padding-bottom: 0;
    }

    .room_awrap {
        margin-top: 25px;
    }

    .roomslide {
        width: 100%;
        height: auto;
        position: static;
    }

    .roomslide .galleria {
        width: 350px;
        height: 325px;
        margin-right: auto;
        margin-bottom: 0;
        float: none;
        clear: both;
        position: static;
    }

    .room_a {
        margin-top: 25px;
        padding-top: 0;
    }

    div.room_a div.racon {
        padding-right: 0;
        padding-left: 0;
        margin-right: auto;
        margin-left: auto;
        float: none;
        clear: both;
        width: 100%;
    }

    div.room_a div.racon div.ratextwrap {
        width: 325px;
        clear: both;
        padding: 0 0 25px;
        height: auto;
        min-height: 0;
    }

    div.ratextwrap ul.ramenu {
        background-color: transparent;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 15px;
        position: static;
    }

    h3.rahead {
        margin-bottom: 20px;
        font-size: 20px;
        line-height: normal;
    }

    .room_b {
        padding-top: 0;
        padding-bottom: 0;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rb-prev {
        margin-left: 0;
        display: none;
    }

    .rb-next {
        margin-right: 0;
        display: none;
    }

    .room_b .wrap {
        display: none;
    }

    .rbpic {
        margin-bottom: 0;
        width: auto;
        max-width: none;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .room_awrap {
        overflow: hidden;
    }

    .ablogo {
        position: static;
        top: auto;
    }

    .mnccon {
        float: none;
        clear: both;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .main_cgalleria { display: none !important;}
}
