/*
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 ul {
    margin-left: 1.5rem;
}
.box_flex {
    display: flex;
    gap: 3rem;
}
video {
    clip-path: inset(0px 0px);
}
.w-video:not(.confirm_load) {
    background-color: transparent!important;
}
.w-video.with_overlay {
    opacity: 0.9;
    transform: scale(1);
    transition: all 200ms linear;
}
.w-video.with_overlay:hover {
    opacity: 1;
    transform: scale(0.99);
    transition: all 200ms linear;
}

/* Header */
header#page-header .l-subheader.at_top {
   background: #E5EDFD;
}

/* Hero Home */
#hero_home.l-section {
    background: #f6f8fc;
}
/* #hero_home .l-section-video {
    height: 99%;
    overflow: hidden;
} */
#hero_home .l-section-video>video {
    object-fit: contain;
    clip-path: inset(1px 1px);
}

/* Servizi */
.grid_servizi .w-grid-list {
    justify-content: center;
}
.grid_servizi .w-grid-item-h {
    border-radius: 22px;
    border: 1px solid var(--logo-pronto, #023AA3);
    background: #FFF;
    box-shadow: 0px 4px 100px 0px rgba(56, 137, 247, 0.15);
    padding: 40px;
    transition: all 200ms linear;
}
.grid_servizi .w-grid-item-h:hover {
    box-shadow: 0px 2px 50px 0px rgba(56, 137, 247, 0.0);
    transition: all 200ms linear;
}
.grid_servizi .w-grid-item-h h4 {
    color: var(--logo-pronto, #023AA3);
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

/* Scheda Servizio */
.single-servizio #hero_servizio .w-post-elm.post_image {
    text-align: center;
}
.single-servizio #content_servizio .g-cols.wpb_row.via_grid .post_content .g-cols {
   border-radius: 10px;
   padding: 50px 50px 30px;
   background: #FFF;
   box-shadow: 0px 46.297px 92.594px 0px #E5EBF8;
   max-width: 860px;
   margin: auto;
}
.single-servizio #content_servizio .w-iconbox {
    margin-bottom: 45px;
    align-items: center;
}
.single-servizio #content_servizio .w-iconbox-icon * {
    width: 0.8em;
}
.single-servizio #content_servizio .w-iconbox-icon i {
    font-size: 34px;
    color: #023390;
    width: 2em;
}
.single-servizio #content_servizio .g-cols.wpb_row.via_grid h4 {
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
}

.single-servizio #content_servizio #box_come_funziona .g-cols {
    padding: 0 0 50px;
    border-radius: 50px;
}
.single-servizio #content_servizio #box_come_funziona .w-iconbox {
    margin: 20px 0;
}
.single-servizio #content_servizio #box_come_funziona h2 {
    background: #EAF2FA;
    padding: 55px 0;
    border-radius: 50px 50px 0 0;
}

/* Tabella Caratteristiche - Home */
#tabella_features.g-cols {
    border-radius: 50px;
    background: #FFF;
    box-shadow: 0px 40px 40px 0px #E0E8F2;
    max-width: 900px;
    margin: auto;
    padding: 50px;
}
#tabella_features.g-cols select,
#tabella_features.g-cols .select2.select2-container {
    border-radius: 5px;
    border: 1px solid #E1E2F1;
    background: #FFF;
    box-shadow: 0px 2px 4px 0px #B7C2D3;
    appearance: none;
    -webkit-appearance: none;
    background: url(img/down.png) 218px center no-repeat;
    padding-right: 40px;
    color: #A2ABBD;
    text-align: left;
    /* padding-left: 15px; */
}
#tabella_features .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0;
    border-radius: 5px;
    height: auto;
}
#tabella_features .select2-container--open .select2-selection {
    box-shadow: none;
}
#tabella_features .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #A2ABBD;
    line-height: 50px;
    padding-left: 15px;
}
#tabella_features .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
}
#tabella_features .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #023AA3 transparent transparent transparent;
    border-width: 6px 5px 0 5px;
    margin-left: -6px;
}

.select2-container--open .select2-dropdown--below {
    border: 1px solid #E1E2F1;
    background: #FFF;
    box-shadow: 0px 2px 4px 0px #B7C2D3;
    border-radius: 0 0 5px 5px;
}
.select2-container .select2-search.select2-search--dropdown {
    display: none;
}
.select2-container--default .select2-results>.select2-results__options {
    border-radius: 0 0 5px 5px;
}
.select2-container ul li.select2-results__option {
    height: 46px;
    color: #A2ABBD;
    margin: 0;
    padding-left: 15px;
    padding-top: 8px;
}

.select2-container.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #023AA3;
}

#tabella_features table>caption {
    display: none;
}
#tabella_features table tr.row-1 th {
    vertical-align: bottom;
}
#tabella_features table tr.row-1 th.column-2 {
    color: var(--logo-pronto, #023AA3);
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
}
#tabella_features table tbody tr td {
    vertical-align: middle;
}
#tabella_features table tbody tr td.column-1 {
    text-align: left;
}
#tabella_features table tbody tr td.column-1 strong {
    color: var(--logo-pronto, #023AA3);
    font-size: 17px;
    margin-bottom: 5px;
    display: inline-block;
}
#tabella_features table tbody tr td.column-1 {
    color: #757D8C;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}

/* contact form */
form.wpcf7-form input:not([type="submit"]),
form.wpcf7-form textarea,
form.wpcf7-form select {
    margin-top: 0;
    margin-bottom:14px;
    border: 1px solid #999;
    background: #f5f5f5;
}
form.wpcf7-form textarea {
    margin-bottom:0;
}
form.wpcf7-form input[type="submit"] {
   width: 100%;
   border-radius: 30px;
   background: #000;
   padding: 0.8em 1.8em;
   padding-right: 45px;
}
form.wpcf7-form .box_submit {
  position: relative;
}
form.wpcf7-form .box_submit i {
    position: absolute;
    right: 25px;
    top: 17px;
    font-size: 16px;
}
.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}
.wpcf7-list-item-label {
    font-size: 12px;
    line-height: 16px;
}
.wpcf7 .box_flex {
    gap: 10px;
    align-items: center;
}
.newsletter,
.privacy  {
    margin: 15px 0 0;
    display: inline-block;
}
.privacy {
    clear: both;
    line-height: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    margin: 0;
    display: block;
}
.privacy .wpcf7-form-control-wrap {
    margin-top: 0;
}
.wpcf7 .privacy span.wpcf7-list-item {
    display: flex;
    gap: 10px;
    align-items: center;
}
.wpcf7 .privacy input[type="checkbox"] {
    height: 1.5em;
    margin: 0;
    font-size: 12px;
}
.wpcf7-spinner {
  position: absolute;
}
.wpcf7 form .wpcf7-response-output {
	color: white;
}

/* footer */
#box_contatti,
#box_footer {
    padding: 100px 0;
}
footer #box_contatti h2,
footer #box_contatti p {
    color: white;
}
#box_contatti .w-separator.size_medium.with_line {
    height: 4rem;
}
#box_contatti .l-section-video>video {
    /* object-fit: contain; */
}
#box_contatti .wpb_text_column p {
    margin: 0;
}
#box_contatti .wpb_text_column a {
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    text-decoration-line: underline;
    color: white;
}
#box_contatti .w-iconbox-text a {
    color: white;
}
#box_contatti .w-separator .w-separator-h:before {
    opacity: 0.2;
}
#box_footer p,
#box_footer a,
#box_footer h2 {
    color: white;
    /* font-family: 'HelveticaNeue-thin'; */
}
#box_footer p {
    font-weight: 300;
    font-size: 14px;
    line-height: 26px;
}
#box_footer h2 {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
}
#box_footer h2.widgettitle {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    text-transform: none;
}
#box_footer ul li a {
    line-height: 30px;
}
