/*
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;
    }
    
    .ph0-xs {padding-left: 0;padding-right: 0;}
    .fx-column-md, .fx-column-xs {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    /*-------- HEADER --------*/
    
    /* 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;
    }
    
    /* mainheader */
    
    #header .affix-wrapper {
        padding: 0;
    }
    #header #navigationweb {
        padding: 0 10px;
    }
    #header #logo {
        max-width: 40%;
        float: left;
    }
    #header #logo a img {
        max-height: 50px;
        display: inline;
    }
    #header .modal-engine-wrapper {
        vertical-align: top;
        margin: 0!important;
        text-align: center;
        overflow: hidden;
    }
    #header .affix.modal-engine-wrapper {
        display: block;
    }
    #header .booking-modal-btn, .booking-link {
        padding: 16px 21px;
        font-size: 16px;
        letter-spacing: normal;
    }
    /* booking link for mobile */
    #header .booking-modal-btn {display: none!important}
	.booking-link {display: block!important;}
        
    /*-------- MAIN --------*/
    .home section#main {display: block;}
    
    /*-------- FOOTER --------*/
    #footer {height: auto;}
    #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 {
        font-size: 20px;
        width: 20px;
        margin-top: -25px;
    }
    
    /* widget qtranslate */
    
    .home #footer .widget_qtranslate {
        margin: 0;
        padding: 20px 0;
    }
    .home #footer .widget_qtranslate:after {
        position: static;
        display: inline-block;
    }
    
    /* icons-list */

    .icons-list {
        float: none;
        display: inline-block!important;
        width: 74%;
    }
    
    .icons-list > li {
        text-align: left;
        margin-bottom: 20px;
        width: auto;
        float: none;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .icons-list > li:last-child {
        margin-bottom: 0;
    }
    
    .icons-list i {
        font-size: 33px;
        margin-right: 15px;
    }
    
    /* main title */

    .main-title {
        font-size: 35px;
    }
    
    /* BLOG */
    
    .blog-wrapper {
        padding: 50px 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;
    }

    /* REVIEWS */
    
    #cuadroOpiniones div.hssurveys_full > div.hssurveys_full > div, div.hssurveys_full ul.questions {
        padding: 15px;
    }
    #cuadroOpiniones div.hssurveys_full .comments p.commentsPerson span.date {
        float: none;
        display: block;
    }
    #cuadroOpiniones div.hssurveys_full p.more {
        text-align: center;
    }
    
    /* 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 .mi-title i {
        display: none;
    }
    .advantages-row .mi-title {
        padding-right: 0;
    }
    /**/
    .postfooter .menu li {
        padding-left: 5px;
    }
    .room-box .room-detail .room-description .more-info{
    	 width: 45%;
    	margin: 25px auto 0 auto;
    }
    #get-plane .row, #get-boat .row{
    	padding: 0 20px 20px 20px;
    }
        #get-plane.pvm{
    	padding:0!important;
    }
    #get-plane h2, #get-boat h2{
    	font-size:22px;
    }
    .cat-tourism #intro.align-center{
        text-align:left!important;
    }
    .places .flex{
    	flex-wrap:wrap;
    }
    .places.pvm{
        padding: 20px 0;
    }
    .places .plm, .places .prm{
        padding:10px;
    }
    #trips .flex, #sports .flex{
        flex-direction: column-reverse;
    }
    .mainfooter {
        padding: 20px 0;
    }
    .ngg-pro-mosaic-container img{
        pointer-events:none;
    }
    #legal.pvl, div#cookies-wrapper-content, #contact-us.pvl{
        padding:50px 10px;
    }
    .mi-title2, #cookies-wrapper-content h1, #cookies-wrapper-content h2, .rooms-listing-wrapper h2, .rooms-detail-wrapper h2, .offers-listing-wrapper h2, .offers-detail-wrapper h2, .blog-wrapper h2, .blog-wrapper h1, .blog-wrapper #posts_con_categoria, .mi-iata-content h2, .starter-offers .offers-mashup dl dt {
        font-size: 1.6em;
        line-height: 35px;
    }
    .common-form {
        width: 95%;
    }
    textarea {
        width: 90%!important;
        max-width: 90%!important;
        height: 180px!important;
    }
    .common-form span.wpcf7-not-valid-tip {
        font-size: 12px;
        margin-top: -15px;
        margin-bottom: 10px;
    }
    .home-services-list {
        position: relative;
        background: transparent;
        color: #a17326;
        top: 0px;
	}
    
    .home-services-list p:before, .home-services-list p:after{display:none}
    
    .home-services-list span {
    	font-size: 15px;
    	margin-bottom: 20px;
	}
    
    .phl{padding: 0 15px}
    
    div#modal-register {
        width: 100%;
        margin: -250px 0 0 0px!important;
    }
    
    .club.modal.fade.in {
        top: 34%;
    }
}

/*------------------------------------------------------------------------------*/