/**
Theme Name: Astra Child
Author: TOSTAY
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 4.14.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* =========================================================
   TO STAY - MODULO PRENOTAZIONE
   Layout stile Airbnb
   ========================================================= */

.mphb_sc_search-form {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    width: 100%;
    max-width: 520px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e1e1e1;
    border-radius: 16px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   TITOLO
   --------------------------------------------------------- */

.mphb_sc_search-form::before {
    content: "Aggiungi le date per conoscere i prezzi";

    grid-column: 1 / -1;

    display: block;

    margin-bottom: 20px;

    color: #222222;

    font-size: 22px;
    line-height: 1.15;
    font-weight: 600;
}


/* ---------------------------------------------------------
   NASCONDE LA FRASE "I CAMPI OBBLIGATORI..."
   --------------------------------------------------------- */

.mphb-required-fields-tip {
    display: none !important;
}


/* ---------------------------------------------------------
   CAMPI GENERALI
   --------------------------------------------------------- */

.mphb_sc_search-form > p {
    margin: 0;
}


/* ---------------------------------------------------------
   CHECK-IN
   --------------------------------------------------------- */

.mphb_sc_search-check-in-date {
    padding: 12px 14px;

    border: 1px solid #bdbdbd;
    border-right: none;

    border-radius: 12px 0 0 12px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   CHECK-OUT
   --------------------------------------------------------- */

.mphb_sc_search-check-out-date {
    padding: 12px 14px;

    border: 1px solid #bdbdbd;

    border-radius: 0 12px 12px 0;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   LABEL
   --------------------------------------------------------- */

.mphb_sc_search-form label {
    display: block;

    margin: 0 0 4px 0;

    color: #222222;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;

    text-transform: uppercase;
}


/* Nasconde l'asterisco/formato dopo le label */

.mphb_sc_search-form label abbr {
    display: none;
}


/* ---------------------------------------------------------
   INPUT DATE
   --------------------------------------------------------- */

.mphb_sc_search-form input.mphb-datepick {
    width: 100%;

    height: 24px;

    padding: 0 !important;

    border: 0 !important;
    outline: none !important;

    background: transparent !important;

    box-shadow: none !important;

    color: #333333;

    font-size: 14px;

    box-sizing: border-box;
}


/* Placeholder */

.mphb_sc_search-form input.mphb-datepick::placeholder {
    color: #717171;
    opacity: 1;
}


/* ---------------------------------------------------------
   OSPITI
   --------------------------------------------------------- */

.mphb_sc_search-adults {
    grid-column: 1 / -1;

    margin-top: -1px !important;

    padding: 12px 14px;

    border: 1px solid #bdbdbd;

    border-radius: 0 0 12px 12px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   SELECT OSPITI
   --------------------------------------------------------- */

.mphb_sc_search-adults select {
    width: 100%;

    height: 24px;

    padding: 0 !important;

    border: 0 !important;
    outline: none !important;

    background-color: transparent !important;

    box-shadow: none !important;

    color: #333333;

    font-size: 14px;

    cursor: pointer;
}


/* ---------------------------------------------------------
   PULSANTE
   --------------------------------------------------------- */

.mphb_sc_search-submit-button-wrapper {
    grid-column: 1 / -1;

    margin-top: 16px !important;
}


/* Pulsante */

.mphb_sc_search-submit-button-wrapper input[type="submit"] {
    width: 100%;

    height: 50px;

    padding: 0 20px;

    border: 0 !important;
    border-radius: 25px;

    background: #003B95 !important;

    color: #ffffff !important;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s ease, transform 0.2s ease;
}


/* Hover */

.mphb_sc_search-submit-button-wrapper input[type="submit"]:hover {
    background: #002B6F !important;

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   CAMBIA "CERCA" IN "CONTROLLA LA DISPONIBILITÀ"
   --------------------------------------------------------- */

.mphb_sc_search-submit-button-wrapper {
    position: relative;
}

.mphb_sc_search-submit-button-wrapper input[type="submit"] {
    font-size: 0;
}

.mphb_sc_search-submit-button-wrapper input[type="submit"]::after {
    content: "Controlla la disponibilità";

    font-size: 16px;
}


/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.mphb_sc_search-form input.mphb-datepick:focus,
.mphb_sc_search-form select:focus {
    outline: none !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .mphb_sc_search-form {
        grid-template-columns: 1fr;

        padding: 20px;

        border-radius: 14px;
    }


    .mphb_sc_search-form::before {
        grid-column: 1;

        font-size: 20px;

        margin-bottom: 16px;
    }


    .mphb_sc_search-check-in-date {
        border-right: 1px solid #bdbdbd;

        border-radius: 12px 12px 0 0;
    }


    .mphb_sc_search-check-out-date {
        margin-top: -1px !important;

        border-radius: 0;
    }


    .mphb_sc_search-adults {
        grid-column: 1;

        margin-top: -1px !important;

        border-radius: 0 0 12px 12px;
    }


    .mphb_sc_search-submit-button-wrapper {
        grid-column: 1;
    }
}