@charset "UTF-8";
/* CSS Document 
Theme Name: Carpenteria 3P - Contatti
Author: Si.Be Group
*/


/* CONTATTI TOP */

.contatti_top {
    width: 100%;

    background: #e9ecf4;

    padding: 58px 0 72px;
}

.contatti_top_int {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.contatti_breadcrumb {
    font-size: 14px;
    line-height: 1;
    font-weight: 800;

    color: #1d1d22;

    margin-bottom: 58px;
}

.contatti_breadcrumb span {
    color: #1d1d22;
}

.contatti_top_grid {
    width: 100%;

    display: grid;
    grid-template-columns: 42% 50%;
    gap: 8%;
    align-items: start;
}

.contatti_dati {
    max-width: 500px;
}

.contatti_dati h1 {
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;

    color: #1d1d22;

    margin-bottom: 14px;
}

.contatti_dato {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-bottom: 16px;
}

.contatti_dato_icon {
    width: 18px;
    flex: 0 0 18px;

    padding-top: 3px;
}

.contatti_dato_icon img {
    width: 100%;
    height: auto;

    display: block;
}

.contatti_dato_txt {
    flex: 1;
}

.contatti_dato_txt p {
    color: #1d1d22;
    font-weight: 500;
}

.contatti_dato_txt a {
    color: #1d1d22;
    text-decoration: none;

    transition: all 0.25s ease;
}

.contatti_dato_txt a:hover {
    color: #ff1f10;
}

.contatti_orari {
    margin-top: 48px;
}

.contatti_orari_head {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 22px;
}

.contatti_orari_icon {
    width: 24px;
    flex: 0 0 24px;
}

.contatti_orari_icon img {
    width: 100%;
    height: auto;

    display: block;
}

.contatti_orari_head h2 {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;

    color: #1d1d22;
}

.contatti_orari_lista {
    padding-left: 38px;
}

.contatti_orari_lista h3 {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;

    color: #1d1d22;

    margin-bottom: 5px;
}

.contatti_orari_lista p {
    color: #1d1d22;
    font-weight: 500;

    margin-bottom: 18px;
}

.contatti_orari_lista p:last-child {
    margin-bottom: 0;
}

.contatti_mappa h2 {
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;

    color: #1d1d22;

    margin-bottom: 22px;
}

.contatti_mappa_box {
    width: 100%;
    height: 360px;

    overflow: hidden;

    background: #d8dce6;
}

.contatti_mappa_box iframe {
    width: 100%;
    height: 100%;

    border: none;

    display: block;
}


/* CONTATTI PREVENTIVO */

.contatti_preventivo {
    width: 100%;

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

    background: #fff;
}

.contatti_preventivo_sx {
    min-height: 620px;

    position: relative;
    overflow: hidden;

    background-image: url("../Immagini/form-contatti.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    display: flex;
    align-items: center;
}

.contatti_preventivo_sx_int {
    width: 90%;
    max-width: 500px;

    margin-left: max(5vw, calc((100vw - 1400px) / 2));
    margin-right: auto;

    color: #fff;
}

.contatti_preventivo_icon {
    width: 44px;

    margin-bottom: 22px;
}

.contatti_preventivo_icon img {
    width: 100%;
    height: auto;

    display: block;
}

.contatti_preventivo_sx h2 {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;

    color: #fff;
}

.contatti_preventivo_sx .linea_rossa {
    margin-top: 14px;
    margin-bottom: 34px;
}

.contatti_preventivo_sx p {
    max-width: 480px;

    color: #fff;
    font-weight: 500;
}

.contatti_preventivo_dx {
    min-height: 620px;

    display: flex;
    align-items: center;

    background: #fff;

    padding-top: 72px;
    padding-bottom: 72px;
}

.contatti_preventivo_dx_int {
    width: 70%;
    max-width: 620px;

    margin-left: 11%;
    margin-right: auto;
}


/* FORM STATICO */

.contatti_form {
    width: 100%;
}

.form_riga {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    margin-bottom: 18px;
}

.form_riga_full {
    grid-template-columns: 1fr;
}

.form_riga_tre {
    grid-template-columns: 1.4fr 0.7fr 0.9fr;
}

.form_campo {
    width: 100%;
}

.form_campo label {
    display: block;

    font-size: 15px;
    line-height: 1.25;
    font-weight: 400;

    color: #1d1d22;
    text-transform: uppercase;

    margin-bottom: 8px;
}

.form_campo input,
.form_campo textarea {
    width: 100%;

    border: none;
    border-radius: 6px;

    background: #e9ecf4;
    color: #1d1d22;

    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;

    padding: 0 14px;

    outline: none;

    transition: all 0.25s ease;
}

.form_campo input {
    height: 42px;
}

.form_campo textarea {
    height: 115px;

    padding-top: 12px;
    padding-bottom: 12px;

    resize: none;
}

.form_campo input:focus,
.form_campo textarea:focus {
    background: #dde2ee;
}

.privacy_row {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-top: 22px;
    margin-bottom: 22px;
}

.privacy_row input {
    width: 13px;
    height: 13px;

    flex: 0 0 13px;

    margin-top: 2px;
    padding: 0;
}

.privacy_row label {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 400;

    color: #1d1d22;

    margin: 0;
}

.form_submit {
    width: 100%;

    display: flex;
    justify-content: center;
}

.form_submit .wpcf7-submit {
    width: 260px;
    height: 48px;

    border: none;
    border-radius: 8px;

    background: #ff1f10;
    color: #fff;
    -webkit-text-fill-color: #fff;

    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;

    cursor: pointer;

    opacity: 1;
    appearance: none;
    -webkit-appearance: none;

    transition: all 0.25s ease;
}

.form_submit .wpcf7-submit:hover,
.form_submit .wpcf7-submit:focus-visible {
    background: #c9160c;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.form_submit .wpcf7-submit:disabled {
    background: #ff1f10;
    color: #fff;
    -webkit-text-fill-color: #fff;

    opacity: 1;
}

.form_submit {
    width: 100%;

    display: flex;
    justify-content: center;

    position: relative;
}

.form_submit .wpcf7-spinner {
    position: absolute;
    right: 0;
    top: 50%;

    margin: 0;

    transform: translateY(-50%);
}


/* MEDIA FOR TABLET AND MOBILE DEVICE */

@media only screen and (max-width: 800px) {

    .contatti_top {
        padding: 48px 0 60px;
    }

    .contatti_breadcrumb {
        margin-bottom: 38px;
    }

    .contatti_top_grid {
        display: block;
    }

    .contatti_dati {
        max-width: 100%;
        margin-bottom: 45px;
    }

    .contatti_dati h1,
    .contatti_mappa h2 {
        font-size: 22px;
    }

    .contatti_orari {
        margin-top: 38px;
    }

    .contatti_orari_lista {
        padding-left: 38px;
    }

    .contatti_mappa_box {
        height: 320px;
    }


    .contatti_preventivo {
        display: block;
    }

    .contatti_preventivo_sx {
        min-height: auto;

        padding: 70px 0;
    }

    .contatti_preventivo_sx_int {
        width: 90%;
        max-width: 100%;

        margin: 0 auto;
    }

    .contatti_preventivo_sx h2 {
        font-size: 30px;
        line-height: 1.18;
    }

    .contatti_preventivo_sx .linea_rossa {
        margin-top: 13px;
        margin-bottom: 28px;
    }

    .contatti_preventivo_dx {
        min-height: auto;

        padding: 60px 0 70px;
    }

    .contatti_preventivo_dx_int {
        width: 90%;
        max-width: 100%;

        margin: 0 auto;
    }

    .form_riga,
    .form_riga_tre {
        display: block;

        margin-bottom: 0;
    }

    .form_campo {
        margin-bottom: 18px;
    }

    .form_campo label {
        font-size: 15px;
    }

    .privacy_row label {
        font-size: 14px;
    }

    .form_submit button {
        width: 100%;
    }

}