/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/* General */
main#page-content {
    background: #F2F6F6;
    min-height: 100vh;
}
main#page-content .l-section-h.i-cf {
    max-width: var(--site-content-width, 1200px);
}

/* Header */
header .l-subheader-h {
    max-width: 900px;
}
header#page-header .l-subheader-cell.at_left {
    flex-basis: 0;
}
header .w-nav-title {
    display: inline-flex;
    align-items: center;
}
header .w-nav-title:before {
    content: "";
    font-family: "fontawesome";
    padding-right: 6px;
    font-size: 20px;
    line-height: normal;
    font-weight: 400;
}
.home .w-nav-title:before {
    content: "\f015";
}
.in .w-nav-title:before {
    content: "\f2f6";
}
.out .w-nav-title:before {
    content: "\f2f5";
}

/* Home */
#btn_main_section .w-btn-wrapper,
#btn_main_section .w-btn-wrapper .w-btn {
    width: 100%;
}
#btn_main_section .w-btn-wrapper .w-btn {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#btn_main_section .w-btn-wrapper .w-btn i {
    font-size: 20px;
}

/* Form */
.gform_wrapper {
   background: white;
   border-radius: 20px;
   padding: 30px 40px;
   margin-bottom: 15px;
}
.gform_heading h2.gform_title {
    text-transform: uppercase;
    margin-bottom: 20px;
}
.gform_heading .gform_required_legend,
.gform_wrapper form .gfield .gfield_required {
    display: none;
}
.gform_wrapper form .gfield .gfield_validation_message,
.gform_wrapper form .gfield .validation_message {
    font-size: 13px;
    margin-block-start: 0;
}
.gform_wrapper form .gfield .gfield_label {
    font-size: 18px;
    line-height: normal;
    font-weight: 700;
    margin-bottom: 8px;
}
.gform_wrapper form .gfield .gfield_checkbox input  {
    box-shadow: inset 0px 0px 0px 1px var(--color-content-primary);
}
.gform_wrapper form .gfield .gfield_checkbox label {
    font-size: 14px;
    line-height: normal;
}
.gform_wrapper form #field_1_11 .gchoice {
    display: flex;
    align-items: center;
}

#loading_section {
    display: none;
    width: 100%;
    position: absolute;
    top: var(--header-height);
    z-index: 1;
}
#loading_section .w-image {
    background: white;
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 15px;
}

/* Form Uscita */
#form_uscita {
    display: none;
    padding-top: calc(var(--header-height) + 50px);
}
#form_uscita .gform_wrapper form {
    display: grid;
}
#form_uscita .gform_wrapper form .gform-body {
    order: 2;
}
#form_uscita .gform_wrapper form .gform-footer {
    order: 1;
}
#form_uscita .gform_wrapper form .gfield .gfield_label {
    margin-bottom: 0;
}
#form_uscita .gform_wrapper .gform_fields .gfield select,
#form_uscita .gform_wrapper .gform_fields .gfield input[type="text"],
#form_uscita .gform_wrapper .gform_fields .gfield input[type="email"] {
   padding: 0;
   background: transparent;
   border: 0;
   box-shadow: none;
   height: auto;
   line-height: normal;
   min-height: auto;
}

/* Confirmation Page */
.gform_confirmation_wrapper {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 40px auto;
    text-align: left;
}
.gform_confirmation_wrapper h3 {
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    font-size: 28px;
}
.gform_confirmation_wrapper p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: black;
}
.gform_confirmation_wrapper h6 {
    border: 1px dotted;
    margin: 20px auto;
    padding: 8px 12px;
    display: inline-block;
    border-radius: 8px;
}

/* Responsive */
@media screen and (max-width: 480px) {

    .gform_wrapper {
       border-radius: 15px;
       padding: 20px;
    }
    .gform_confirmation_wrapper {
        border-radius: 15px;
        padding: 25px;
    }
    .gform_confirmation_wrapper h3 {
        font-size: 22px;
    }
    .gform_confirmation_wrapper h6 {
        font-size: 18px;
    }
    #form_uscita .g-cols.wpb_row.via_grid {
        display: block;
    }

}
