/*
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:*/


/*GENERALI*/

/*breadcrumbs*/
.g-breadcrumbs-separator,
.g-breadcrumbs-item:not(:first-child) {
    color: var(--color-grigio);
}


/*cta con freccia custom*/
.w-btn-wrapper.align_none a.icon_atright i,
#row-banner-cta .wpb_wrapper .w-btn.us-btn-style_1.icon_atright i {
  background-image: url('https://www.aldeghigiardini.com/wp-content/uploads/arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  width: 1em;
  height: 1em;
}
.w-btn-wrapper.align_none a.icon_atright i:before,
#row-banner-cta .wpb_wrapper .w-btn.us-btn-style_1.icon_atright i:before {
  content: "";
}

/*cta underline con freccia*/
a.w-btn.us-btn-style_4 {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px; 
}
a.w-btn.us-btn-style_4:hover {
  border-bottom-color: var(--color-marrone);
}
a.w-btn.us-btn-style_4 i {
  background-image: url('https://www.aldeghigiardini.com/wp-content/uploads/arrow-neg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  width: 16px;
  height: 16px;
}
a.w-btn.us-btn-style_4 i:before {
  content: "";
}

/*link in content*/
p a,
.testo-underline {
    text-decoration-line: underline;
    text-underline-position: under;
}


/*freccia animata*/
.field {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  width: 300px;
  flex-direction: column;
}
.arrow-wrapper {
  height: 70px;
  display: flex;
  align-items: flex-start;
}
.home .arrow {
  border: 1px solid var(--color-bianco);
}
.arrow {
  width: 0;
  height: 40px;
  border: 1px solid var(--color-marrone-scuro);
  position: relative;
  animation: scroll 1.5s infinite;
}
.home .arrow::after {
  border-top: 10px solid var(--color-bianco);
}
.arrow::after {
  content: '';
  display: block;
  position: absolute;
  top: 100%;
  left: -5px;
  width: 1px;
  height: 10px;
  border-top: 10px solid var(--color-marrone-scuro);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
@keyframes scroll {
  0% { height: 40px; }
  30% { height: 70px; }
  60% { height: 40px; }
}


/*banner interattivi*/
#row-banner .w-ibanner.animation_hebe .w-ibanner-content {
    top: 25%;
}
#row-banner p.w-ibanner-title {
    font-weight: 200;
}
#row-banner .w-ibanner.animation_hebe:hover .w-ibanner-desc {
  opacity: 1;
}
#row-banner .w-ibanner-desc b {
    font-family: Cormorant;
    font-size: 48px;
    font-style: italic;
    font-weight: 600;
    opacity: 1;
}
#row-banner .w-ibanner-desc p:not(b) {
    font-size: 24px;
    line-height: 170%;
}
#row-banner .w-ibanner {
    aspect-ratio: 15/16;
}
#row-banner .w-ibanner-content {
    text-shadow: rgb(0 0 0 / .25) 0 54px 55px,rgb(0 0 0 / .12) 0 -12px 30px,rgb(0 0 0 / .12) 0 4px 6px,rgb(0 0 0 / .17) 0 12px 13px,rgb(0 0 0 / .09) 0 -3px 5px;
}
#row-banner .w-ibanner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 700px;
    background: linear-gradient(180deg, rgb(29 29 29 / 70%) 0%, rgba(29, 29, 29, 0.00) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#row-banner .w-ibanner:hover::after {
    opacity: 1;
}


@media(max-width:1024px){
  #row-banner .w-ibanner.animation_hebe .w-ibanner-content {
    top: 50%;
  }
  #row-banner p.w-ibanner-title {
    font-size: 25px !important;
  }
  #row-banner .w-ibanner-desc b {
    font-size: 22px;
  }
  #row-banner .w-ibanner-desc p:not(b) {
    font-size: 16px;
  }
}

/*immagini affiancate*/
@media(max-width:768px){
  #col-img-affiancate.vc_col-xs-2,
  #col-img-affiancate.vc_col-sm-3,
  #col-img-affiancate.vc_col-sm-6 {
      width: 50% !important;
  }
  #riga-invertita .g-cols.vc_row.via_flex.valign_top.type_default.stacking_default {
    flex-direction: column-reverse;
  }
}

/*tablet*/
@media (min-width: 769px) and (max-width: 1024px){
  .col-mob-50.vc_col-sm-3 {
    width: 50%;
  }
  .col-mob-100.vc_col-sm-4,
  .col-mob-100.vc_col-sm-8,
  .col-mob-100.vc_col-sm-6  {
    width: 100%;
  }
}

/*banner cta*/
#row-banner-cta p.w-actionbox-title {
    font-weight: 200;
    line-height: normal;
}
#row-banner-cta .w-actionbox-description strong {
    font-family: Cormorant;
    font-size: 48px;
    font-weight: 600;
}
#row-banner-cta .w-actionbox-text p {
    margin: 25px 0 0;
}
@media(max-width:767px){
  #row-banner-cta p.w-actionbox-title {
    font-size: 24px !important;
  }
  #row-banner-cta .w-actionbox-description strong {
    font-size: 36px;
    line-height: 1.1;
  }
  #row-banner-cta .w-actionbox-text p {
    margin: 18px 0 0;
  }
}




/*gallery con foto miniatura*/
.row-gallery .w-gallery.w-gallery-list {
    gap: 50px !important;
    column-gap: 60px !important;

}

/*tab verticali*/
.singolo-servizio button.w-tabs-item.active {
    text-decoration: underline;
    text-underline-position: under;
}
@media(max-width:584px){
  .singolo-servizio .w-tabs-section-title {
      font-weight: 200;
  }
  .singolo-servizio .w-tabs-section-header:focus,
  .singolo-servizio .w-tabs-section-header:hover {
    background: var(--color-bianco);
  }
}
@media (min-width: 769px) and (max-width: 1024px){
  .singolo-servizio .img-invertita img,
  .singolo-servizio .text-invertita {
    margin-top: 20px;
  }
  .col-mob-100.text-center p {
    text-align: center;
  }

}


/*timeline*/
#row-timeline::after {
    content: "";
    height: calc(100% - 60px);
    position: absolute;
    left: 50%;
    top: 70px;
    z-index: 100;
    width: 1px;
    display: block;
    background: rgba(68, 71, 77, 0.50);
    transform: translateX(-50%);
}
#row-timeline .info::before {
    content: "";
    height: 30px;
    display: block;
    position: absolute;
    border: 2px solid var(--color-marrone-scuro);
    top: 115px;
    z-index: 200;
    background: #fff;
    left: 0;
}
#row-timeline .info-dx::before {
    content: "";
    height: 30px;
    display: block;
    position: absolute;
    border: 2px solid var(--color-marrone-scuro);
    top: 115px;
    z-index: 200;
    background: #fff;
    right: -3px;
}
@media(max-width:768px){
  #row-timeline::after {
    left: 2%;
    top: 0;
  }
  #row-timeline .info::before {
    left: 7.6%;
    top: 38px;
  }
  #row-timeline .info-dx::before {
    left: 7.6%;
    top: 70px;
    width: 0px;
  }
  section#row-timeline {
    margin-left: 10px;
    padding-left: 35px;
  }
}

@media(max-width:600px){
  #row-timeline .info::before {
    left: 47px;
  }
  #row-timeline .info-dx::before {
    left: 47px;
  }
}



/*faq*/
#col-faq.w-tabs.accordion>div>.w-tabs-section {
    border-style: none !important;
}
#col-faq .w-tabs-section-content-h.i-cf {
    padding-left: 30px;
}
#col-faq .w-tabs-section-title {
    font-weight: 600;
}


/*HEADER*/

/*cta con colore differente se sticky*/
@media(min-width:576px){

  .page-id-727 .l-header.bg_transparent:not(.sticky) .us-btn-style_2{
    border-color: var(--color-marrone-scuro);
    color: var(--color-marrone-scuro) !important;
  }

  .l-header.bg_transparent:not(.sticky) .us-btn-style_2 {
    background: transparent;
    border-color: var(--color-bianco);
    color: #fff !important;
  }
  .l-header.bg_transparent:not(.sticky) .us-btn-style_2:hover {
    background: var(--color-bianco);
    border-color: transparent;
    color: var(--color-marrone-scuro)!important;
  }
}
@media(max-width:575px){
  body:not(.home) .w-nav-icon {
    color: var(--color-marrone-scuro);
  }
  body.home .l-header.bg_transparent:not(.sticky) .us-btn-style_2 {
    border-color: var(--color-bianco);
    color: var(--color-bianco) !important;
  }
}

@media(min-width:1200px){
  body:not(.home) .w-nav-control {
    color: var(--color-marrone-scuro);
  }
  .no-touch .l-header.bg_transparent:not(.sticky) .at_middle .w-nav>a:hover, 
  .no-touch .l-header.bg_transparent:not(.sticky) .at_middle .w-socials.shape_none.color_text a:hover, 
  .no-touch .l-header.bg_transparent:not(.sticky) .at_middle .w-socials.shape_none.color_link a:hover {
    color: var(--color-marrone) !important;
  }
}


.l-header.sticky .us-btn-style_2 {
  background: transparent;
  border-color: var(--color-marrone-scuro);
  color: var(--color-marrone-scuro) !important;
}

/*burger menu mobile*/
@media(max-width:768px){
  a.w-nav-control span {
    display: none;
  }
}


/* HOMEPAGE */

/*logo*/
.home div#logo,
.page-id-727 div#logo {
    margin-right: 0.7rem!important;
}
.home #logo img {
  content: url('https://www.aldeghigiardini.com/wp-content/uploads/Logo-negativo.svg');
}





/*hero*/
#row-hero .l-section-img {
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  animation: zoomInBackground 12s ease forwards;
}

@keyframes zoomInBackground {
  from {
    background-size: 100%;
  }
  to {
    background-size: 110%;
  }
}



#row-hero {
  position: relative;
  overflow: hidden;
}
#row-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(29, 29, 29, 0.50) 40%,
    rgba(29, 29, 29, 0.00) 80%
  );
  pointer-events: none;
  z-index: 1;
}
#row-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(180deg,rgba(29, 29, 29, 0.90) 0%, rgba(29, 29, 29, 0.50) 40%, rgba(29, 29, 29, 0.00) 100%);
    pointer-events: none;
    z-index: 1;
}
#row-hero .wpb_column {
  position: relative;
  z-index: 3;
}
#row-hero p,
#row-hero span {
  text-shadow: rgb(0 0 0 / .25) 0 54px 55px,rgb(0 0 0 / .12) 0 -12px 30px,rgb(0 0 0 / .12) 0 4px 6px,rgb(0 0 0 / .17) 0 12px 13px,rgb(0 0 0 / .09) 0 -3px 5px;
}

@media(min-width:575px){
  #col-hero::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 130px;
      background: linear-gradient(180deg,rgba(29, 29, 29, 0.90) 0%, rgba(29, 29, 29, 0.50) 40%, rgba(29, 29, 29, 0.00) 100%);
      pointer-events: none;
      z-index: 1;
  }
}

@media(max-width:1024px){
  #row-hero.l-section.full_height.valign_bottom {
      justify-content: center !important;
  }
}


/*esplora*/
@media(max-width:575px){
  #row-esplora-interna .col-linea {
    align-items: center !important;
  }
}

@media (min-width: 575px) and (max-width: 1015px){
  #row-esplora > .l-section-h > .g-cols > .vc_col-sm-3 {
    width: 50% !important; 
    flex: 0 0 50% !important;
  }
  #row-esplora > .l-section-h > .g-cols > .vc_col-sm-3 > .vc_column-inner {
    width: 100%; 
    margin-left: 24px;
  }

  #row-esplora-interna > .l-section-h > .g-cols > .vc_col-sm-4 {
    width: 50% !important; 
    flex: 0 0 50% !important;
    padding-bottom: 18px;
  }
  #row-esplora-interna > .l-section-h > .g-cols > .vc_col-sm-4 > .vc_column-inner {
    width: 100%; 
  }
  #row-esplora .tablets_align_right {
    text-align: left;
    margin-left: -24px;
  }
  #row-esplora-interna .tablets_align_right {
    text-align: left;
  }
  #row-esplora h3 {
    margin-left: 24px;
  }
}



@media(min-width:1200px){
  #row-esplora .col-linea .wpb_text_column p:hover,
  #row-esplora-interna .col-linea .wpb_text_column p:hover {
    padding: 100px 0; 
  }
}
@media (min-width: 575px) and (max-width: 1200px){
  #row-esplora .col-linea .wpb_text_column p,
  #row-esplora-interna .col-linea .wpb_text_column p {
    padding: 97px 0 !important; 
  }
}
#row-esplora .col-linea .wpb_text_column p,
#row-esplora-interna .col-linea .wpb_text_column p {
  position: relative;
  padding: 115px 0; 
  text-align: center;
  z-index: 100;
  transition: padding 0.3s ease; /* aggiungi la transizione */
}
#row-esplora .col-linea .wpb_text_column p::before,
#row-esplora .col-linea .wpb_text_column p::after,
#row-esplora-interna .col-linea .wpb_text_column p::before,
#row-esplora-interna .col-linea .wpb_text_column p::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 90px;
  background-color: var(--color-bianco);
}
#row-esplora .col-linea .wpb_text_column p::before,
#row-esplora-interna .col-linea .wpb_text_column p::before {
  top: 0;
}
#row-esplora .col-linea .wpb_text_column p::after,
#row-esplora-interna .col-linea .wpb_text_column p::after {
  bottom: 0;
}

#row-esplora .col-linea .wpb_text_column::before,
#row-esplora-interna .col-linea .wpb_text_column::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(29, 29, 29, 0.30) 0%, rgba(29, 29, 29, 0.30) 100%);
  pointer-events: none;
  z-index: 1;
}
#row-esplora a,
#row-esplora-interna a {
  text-decoration: none !important;
}
#row-esplora p,
#row-esplora-interna p {
  text-shadow: rgb(0 0 0 / .25) 0 54px 55px,rgb(0 0 0 / .12) 0 -12px 30px,rgb(0 0 0 / .12) 0 4px 6px,rgb(0 0 0 / .17) 0 12px 13px,rgb(0 0 0 / .09) 0 -3px 5px;
}

/*FORM*/
p.gform_required_legend {
    display: none;
}

#gform_1 input[type="tel"], 
#gform_1 input[type="text"], 
#gform_1 input[type="email"] {
    border-bottom: 1px solid var(--color-marrone-scuro) !important;
    border: none;
    color: var(--color-marrone-scuro);
    box-shadow: none;
    border-radius: 0;
}
legend.gfield_label.gform-field-label.gfield_label_before_complex {
    margin-bottom: 0;
    color: var(--color-marrone-scuro);
}
label.gfield_label.gform-field-label {
  color: var(--color-marrone-scuro);
}
div#field_1_7,
div#field_1_8,
div#field_1_9 {
    margin-bottom: 5px !important;
}
div#field_1_8,
div#field_1_10 {
    margin-top: 15px;
}
.gform-theme--foundation #gform_1 .gform_fields {
    grid-row-gap: 20px!important;
}
#input_1_9 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* due colonne uguali */
  gap: 10px;
}
#gform_1 input[type="submit"] {
    background-color: var(--color-marrone);
    border-radius: 30px;
    font-weight: 400!important;
    font-size: 16px;
    color: var(--color-bianco)!important;
    padding: 11px 23px;
}
#gform_1 input[type="submit"]:hover {
    background-color: var(--color-marrone-scuro);
}
.gform_wrapper .gform_fields .gfield textarea {
  font-size: 14px;
  color: var(--color-marrone-scuro);
}
span.gfield_required.gfield_required_asterisk {
    color: var(--color-marrone-scuro) !important;
}
.gform-theme--framework .gform-field-label--type-inline {
  color: var(--color-marrone-scuro) !important;
}
input#input_1_12_1,
input#input_1_14_1 {
    border-radius: 50%;
    width: 15px;
    height: 15px;
}
.gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
  color: var(--color-marrone);
}
.ginput_container.ginput_container_consent {
  margin-top: 10px;
}