/*
Theme Name: Mirai Theme Child
Theme URI: http://www.miraiespana.com
Description: Tema hijo desarrollado por Mirai Espana para hoteles.
Template: mirai
Author: Mirai Espana
*/



/*-------------------------------- MEDIA QUERYS --------------------------------*/

/* iphone portrait & landscape - galaxy portrait & lanscape */
@media (max-device-width: 767px) {

    .container {
        padding-left: 10px;
        padding-right: 10px;
        overflow: hidden;
    }
    .modal.fade.in {
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        border-radius: 0;
    }
    .modal-body {
        max-height: none;
    }
    body .menu li.booking-button, body #menu_web li.menu-item.booking-button, html body.home #menu_web li.booking-button, #logo a span.visible-phone {
        display: none !important;
    }

    /*-------- HEADER --------*/
    /* hamburguer menu 
    .home .wrapper-hamburger-menu {display:block;}
    #menu_web {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 85%;
        left: -85%;
        background-color: #000 !important;
        margin: 0px !important;
        overflow: scroll;
    }
    #menu_web li.menu-item {
        width: 100% !important;
        display: block;
        margin: 0 !important;
    }
    #menu_web li.current-menu-item {
        display: block !important;
    }
    #logo a img {
        display: inline;
    }*/
    
    /*----------------------- EFFECT 3 ------------------------*/
body #menu_web {
    padding-top: 43px !important;
}
ul#menu_web > li > a:before {
    display:none;
}
ul#menu_web>li:hover a, ul#menu_web>li.current-menu-item a, .affix ul#menu_web li ul.sub-menu li:hover a {
    color:#eca933;
    text-decoration:none;
}
.addons-wrapper {
    position: fixed;
    top: 20px;
    left: 10px;
    z-index: 600;
    background: transparent !important;
}
div.addons-wrapper a.hamburger-menu, div.addons-wrapper a.hamburger-menu span, div.addons-wrapper a.hamburger-menu:before {
    color: #333 !important;
    font-size: 25px;
}
div.addons-wrapper a.hamburger-menu.hide-menu:before {
    color:#fff !important;
}
div.addons-wrapper a.hamburger-menu span {
    display:none !important
}
 
.addons-wrapper .hamburger-menu {
    padding: 10px 20px;
}
 
body ul#menu_web {
    bottom: 0;
    left: -100%;
    top: 0;
    width: 100%;
    padding-top: 110px !important;
}
body #menu_web.show li.menu-item a {
    text-align:center;
    font-family: 'Noto Serif', serif;
}

/*SUBMENU*/
ul#menu_web > li.menu-item-has-children > a:after {
    display:none;
}
body ul#menu_web > li > ul.sub-menu {
    background:transparent !important;
    border:none;
    height:auto !important;
}
.affix ul#menu_web li ul.sub-menu a {
    color:#fff;
}
body #menu_web > li ul.sub-menu a:before {
    display:none;
}

 
/* MENU ANIMATION */
#menu_web.show {
    -moz-animation: showMenu 0.5s;
    -webkit-animation: showMenu 0.5s;
    left: 0;
}
 
@-moz-keyframes showMenu {
    0% {left: -100%;}
    100% {left: 0;}
}
 
@-webkit-keyframes showMenu {
    0% {left: -100%;}
    100% {left: 0;}
}
 
#menu_web.hide {
    -moz-animation: hideMenu 0.5s;
    -webkit-animation: hideMenu 0.5s;
    left: -100% !important;
}
 
@-moz-keyframes hideMenu {
    0% {left: 0;}
    100% {left: -100%;}
}
 
@-webkit-keyframes hideMenu {
    0% {left: 0;}
    100% {left: -100%;}
}
/*--------------------- END EFFECT 3 ----------------------*/
    
    
    
    
    
    
    /* preheader */
    
    #pre-header {
        display: none;
    }
    .contact-header > li {
        display: block;
        text-align: left;
        padding: 0 0 6px 0;
    }
    .contact-header {
        font-size: 12px;
        float: left;
        padding-left: 10px;
    }
    .contact-header > li:before {
        display: none;
    }
    .widget_qtranslate {
        position:absolute;
        top: 31px;
        right: 13px;
    }
    .widget_qtranslate:before {
        border-left:none;
    }
    
    /* mainheader */
    
    #header .affix-wrapper .flex {
        display: block!important;
    }
    #header .affix-wrapper {
        padding: 0;
        z-index: 1;
        width: 70%;
    }
    #header #logo {
        position: fixed;
        left: 50%;
        top: 8px;
        transform: translateX(-50%);
        margin-top:0;
    }
    #header #logo a img {
        display:block;
        height: 65px;
    }
    #header .modal-engine-wrapper {
        vertical-align: top;
        margin: 0 50px 0 0;
        text-align: center;
        overflow: hidden;
    }
    #header .btn-modal {
        padding: 16px 21px;
        display: inline-block;
    }
    #header .affix-wrapper > .affix {
        border: 0;
        padding: 0;
        background: #f8f8f8;
        height: 80px;
    }
    #header .affix-wrapper > div > .container {
        padding:0;
    }
    #logo {
        margin-top: 0px;
    }
    .affix #logo img {
        transform: none;
    }
        
    /*-------- MAIN --------*/
    .home section#main {display: block;}
    
    /*-------- FOOTER --------*/
    #footer .content {
        display: block!important;
    }
    .home #footer .content > * {
        display: inherit;
    }
    #footer, #footer .align-right, #footer .align-left {
        text-align: center;
    }
    #footer .container > .row > * {
        padding: 20px 0;
    }
    .logo-footer {
        display: none;
    }
    .postfooter .menu li.booking-button {
        display: none!important;
    }
    #footer .socialmedia {
        text-align:center;
    }
    #footer .socialmedia li:last-child a {
        margin-right: 0;
    }
    
    /* newsletter */
    
    .newsletter > div {
        padding: 0 0 20px;
        max-width: 100%;
    }
    
    /* carousel controls */
    
    .carousel-control.left {left: 0px !important;top:50% !important;}
    .carousel-control.right {right: 0px !important;top:50% !important;}
    .container .carousel-control.left {left: 0px;}
    .container .carousel-control.right {right: 0px;}
    
    /* widget qtranslate */
    
    .home #footer .widget_qtranslate {
        margin: 0;
        padding: 20px 0 60px;
    }
    .home #footer .widget_qtranslate:after {
        position: static;
        display: inline-block;
    }
    
    /* BLOG */
    
    .blog-wrapper {
        padding-right: 0;
    }
    .blog-sidebar .widget_search form input[type="text"] {
        width: auto;
    }
    .blog-sidebar {
        width: auto;
        display: inline-block;
        margin-left: 50%;
        transform: translateX(-50%);
    }
    .post #respond .comment-form-author, .post #respond .comment-form-email {
        width: 100%;
        float: none;
        padding: 0;
    }
    .post ol > li.comment > ul.children {
        padding-left: 20px;
    }
    .post ol > li.comment > ul.children > li.comment > ul.children {
        padding-left: 0;
    }
    
    /* Advantages row */
    .advantages-row .row {
        display: -webkit-box!important;
        display: -ms-flexbox!important;
        display: -webkit-flex!important;
        display: flex!important;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        -ms-flex-pack: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
        -webkit-box-pack: center;
        align-items: center;
    }
    .advantages-row ul, .advantages-row li {
        display: block;
        width: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .advantages-row .title i {
        display: none;
    }
    .advantages-row .title {
        padding-right: 0;
    }
    
     /*MOBILE RESPONSIVE*/
     /*PADDING&MARGIN*/
     .mbl {
        margin-bottom: 40px !important;
     }
     section > .flex-wrap .pal, section > .flex-wrap-reverse .pal{
        padding: 50px 10px;
     }
     
     /*FLEX*/
     .flex-wrap {
        flex-wrap:wrap;
        -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    }
    .flex-wrap-reverse {
        flex-wrap:wrap-reverse;
    }
    .main-title {
        font-size: 40px;
        top: 40%;
        left: 20%;
        right: 20%;
    }
    .title2, .cat-cookies-policy h1, .cat-cookies-policy h2 {
        font-size: 30px;
        line-height: 37px;
        text-align:left
    }
    .not-home .main-title {
        font-size: 30px;
    }
    .title2:after, .cat-cookies-policy h1:after, .cat-cookies-policy h2:after {
        margin: 30px 0 !important;
    }
    .motor-modal-wrapper {
        display:none;
    }
    section p {
        line-height: 1.6;
        text-align: left;
    }
    .postfooter {
        padding-bottom:100px;
    }
    /*FOTOS*/
    #content-header > img {
        height: 400px;
    }
    .col-md-6 > img {
        height: 300px;
    }
    .compl-image {
        height:600px;
        object-fit: cover;
    }

    /*FORM*/
    #contact-form .wpcf7-submit {
        width: 40%;
    }
    #contact-form .wpcf7 .row {
        margin-bottom:0;
    }
    /*PAGES*/
    /*LOCATION*/
    .latlon-wrapper {
        text-align: left;
    }
    .latlon-wrapper li {
        margin: 5px 0;
    }
    /*ROOMS*/
    .rooms-listing-wrapper .common-services li {
        width:100% !important;
    }
    /*OFFERS*/
    .offers-listing-wrapper .offer .offer-button, .rooms-detail-wrapper .offer .offer-button {
        position:relative;
    }
    .offers-listing .offer .offer-title, .offers-listing .offer .offer-description, .offers-listing .offer .offer-includes {
        margin-left:0;
    }
    .offers-detail-wrapper .offer-features-wrapper {
        text-align:left;
    }
    body.cat-rooms .rooms-listing-wrapper, body.cat-room-detail .rooms-detail-wrapper, body.cat-offers .offers-listing-wrapper, body.cat-offer-detail .offers-detail-wrapper {
        margin-top:100px;
    }
    .rooms-detail-wrapper .room a.booking_mobile, .offers-detail-wrapper .offer a.booking_mobile {
        display: block;
        text-align: center;
        background: #eca933;
        color: #FFF;
        font-family: 'Noto Sans', sans-serif;
        width: 80px;
        padding: 20px 30px;
        text-shadow: none;
        text-transform: uppercase;
    }
    .rooms-detail-wrapper .room a.booking_mobile:hover, .offers-detail-wrapper .offer a.booking_mobile:hover {
        background: #e79401;    
    }
    .offer .offer-photo {
        position: relative;
        margin: 0 auto;
        float: none;
    }
    .offer .offer-button {
        bottom:0;
        right:auto;
        margin:10px auto;
    }
    /*GALLERY*/
    .main-title {
        top: 30%;
    }
    /*MOTOR*/
    .motor-mobile {
        z-index: 601;
        position: fixed;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
    }
    .motor-mobile a {
        display:block;
        text-align:center;
        background: #eca933;
        color: #FFF;
        font-family: 'Noto Sans', sans-serif;
        letter-spacing: 1px;
        padding: 15px 30px;
        text-shadow: none;
        text-transform: uppercase;
    }
    .motor-mobile a:hover,.motor-mobile a:active {
        background:#e79401;
        text-decoration:none
    }
    p.ventajas-mobile{
        display: block;
        position: relative;
        top: 150px;
        z-index: 2;
        text-align: center;
        color: #fff;
        background-color: rgba(0,0,0,0.8);
        padding: 15px;
    }
    #modal-ventajas .modal-header{
            padding: 25px;
    }
    
    #modal-ventajas .modal-header .close{
        right: 15px;
    	bottom: 140px;
    }
    #modal-ventajas ul{
    	padding:0;
    }
    #modal-ventajas li{
    	width:100%;
    }
    .cat-landing-wifi .addons-wrapper{
    	display:none;
    }
     .cat-landing-wifi label{
    	text-align:left;
    }
    .cat-landing-wifi div.wpcf7-mail-sent-ok, .cat-landing-wifi div.wpcf7-validation-errors{
    	color:#fff;
    }
    #menu_aux1 li {
    display: block;
    margin-bottom: 15px;
    padding: 0;
}
     .club {
        width: auto;
        border-bottom: 1px solid #eca933;
    }
        #motor-modal-mobile {
    	pointer-events:none;
    }
    #motor-modal-mobile.in {
        pointer-events:initial;
        text-align:center;
    }
    #motor-modal-mobile.in .modal-header .close {
        top:0;
        right:10px;
    }
    #motor-modal-mobile.in .mi-be-square {
        width:90%;
        max-width:90%;
    }
    
    #openhotel-modal {
        width: auto;
    }

    .open-hotel-link {
        top: 85px;
        max-width: 193px;
        font-size: 16px;
        padding: 5px;
    }

}

/*------------------------------------------------------------------------------*/