/*
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;
    }
    
    
    /* preheader */
    
    #pre-header {
        display: none;
    }
    .widget_qtranslate {
        margin: 15px 10px 0 0;
    }
    
    /* mainheader */
    
    #header .affix-wrapper .flex {
        display: block!important;
        overflow: hidden;
    }
    #header .affix-wrapper > div > .container {
        padding: 10px 0;
    }
    #header .affix-wrapper {
        padding: 0;
    }
    #header #logo {
        max-width: 42%;
        padding: 0 10px;
        float: left;
    }
    #header #logo a img {
        max-height: 50px;
    }
    #header .modal-engine-wrapper {
        vertical-align: top;
        margin: 0 50px 0 0;
        text-align: center;
        overflow: hidden;
    }
    #header .btn-modal-engine {
        padding: 15px;
        display: inline-block;
        font-size: 16px;
        visibility: visible;
        opacity: 1;
    }
    
      ul.menu_int {
        display: none;
    }
        
    /*-------- MAIN --------*/
    .home section#main {display: block;}
    
    #content-header > img {
        height: 260px;
    }
    
    .engine-wrapper {
        bottom: 0;
    }
    
    .main-title, .footer-title {
        font-size: 2em;
    }
    
    .background-img[class^="col-"], .background-img[class*=" col-"] {
        position: static;
        height: 260px;
    }
    
    /* changing flex axes */
    .fx-sm-column {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    
    /*-------- 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 li:last-child a {
        margin-right: 0;
    }
    
    /* newsletter */
    
    .newsletter > div {
        padding: 0 0 20px;
        max-width: 100%;
    }
    
    /* carousel controls */
    
    .carousel-control.left {left: 10px;}
    .carousel-control.right {right: 10px;}
    .container .carousel-control.left {left: 0px;}
    .container .carousel-control.right {right: 0px;}
    
    /* widget qtranslate */
    
    .home #footer .widget_qtranslate {
        margin: 0;
        padding: 20px 0;
    }
    .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;
    }
    
    /* HOME */
    
    .iconlist i {
        margin: -4px 15px 0 0;
        font-size: 2em;
        float: left;
    }
    .iconlist li {
        padding: 15px 0;
        text-align: left;
    }
    .iconlist span {
        overflow: hidden;
    }
    
    /* SERVICES */
    .directory .description {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        padding: 60px 20px;
    }
    .directory img {
        position: absolute;
        object-fit: cover;
        height: 100%;
        width: auto;
        left: 0;
        min-width: 100%;
    }
        #general-info li {
        border-right: none;
        border-bottom: 1px solid #bea072;
        padding: 20px;
    }
    #general-info li:last-child {
        border-bottom: none;
    }

    .flickity-page-dots .dot {
        display: none;
    }
    
    #engine-modal .mi-be-square .mi-be {
        width: 100%;
        padding: 20px 0;
    }
    
    .aviso-home {
        margin: 10px;
        font-size: 16px;
        padding: 10px;
    }

    /******************IMPROVEMENTS*******************/
    .directory .description p {
        min-height: 5em;
    }
}

/*------------------------------------------------------------------------------*/