/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Studio Be4 team
Author: Studio Be4
Author URI: https://studiobe4.it
Template: hello-elementor
Version: 1.0.7
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Banner Cookie - attivare se si usa LegalBlink
#cm_tertiary_btn {background-color:#333333!important;color:#FFFFFF!important;}
#cc_div .c_button, #cc_div .c_link, #cc_div #cm {border-radius:0px!important;}*/
/*Classi generali*/
.normalPadding {
  padding-top: 6%;
  padding-bottom: 6%;
  padding-left: 15%;
  padding-right: 15%;
}
h3 {
  margin: 0px;
}

/*HOME*/
#hero {
  padding-left: 8%;
}
#bloccoTestoHero {
  padding-top: 9%;
}
#hero #divImmagine img {
  padding-top: 5%;
  padding-right: 10%;
  aspect-ratio: 60/107;
  object-fit: cover;
  width: auto;
}
.telefonoParagrafoCardHome p {
  margin: 0px;
}
/*Servizi*/
#imgServizi {
  aspect-ratio: 1/1;
  object-fit: cover;
}

/*Prestazione*/
#prestazioneHero {
  gap: 4%;
}
#prestazioneHeroTesto {
  padding-left: 15%;
}
#prestazioneHeroTesto p {
  margin-bottom: 0px;
}
#prestazioneHero img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: auto;
  height: 698px;
}
.bottoneContattiPrestazione:hover svg {
  fill: white !important;
}

/*Chi sono*/
#chiSonoHero {
  gap: 4%;
}
#chiSonoHero #testo {
  padding-top: 7%;
  padding-left: 15%;
}
#chiSonoHero #img {
  height: 873px;
  background-size: contain !important;
  background-position: bottom right !important;
  background-repeat: no-repeat;
}
/*Contatti*/
#sediListing .jet-listing-grid__items {
  gap: 60px;
}
#sediListing #testoSede {
  padding-left: 60px;
  padding-top: 60px;
}
#sediListing
  .jet-listing-grid__item:nth-child(even)
  .elementor-element-3467eb9 {
  flex-direction: row-reverse;
}
#sediListing .jet-listing-grid__item:nth-child(even) #mappa {
  border-radius: 40px 0px 0px 40px;
}
#sediListing .jet-listing-grid__item:nth-child(even) #testoSede {
  padding-left: 0px;
}
/*FORM*/
.form {
  padding-top: 6%;
  padding-right: 26%;
  padding-left: 26%;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.sfondoForm {
  position: relative;
  z-index: 1;
  margin-top: -300px;
  padding-top: 300px;
}

.form .elementor-element-b6e4924 {
  position: relative;
  z-index: 3;
}
.field-type-checkbox-field {
  padding-top: 50px;
}
.field-type-checkbox-field span a {
  color: var(--e-global-color-text);
  font-weight: 500;
}
.field-type-checkbox-field span a:hover {
  color: var(--e-global-color-primary);
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
}
:where(.wp-block-columns) {
  margin-bottom: 20px;
}
label.jet-form-builder__field-label.for-checkbox p {
  margin-bottom:0px;
}
/*Popup*/
.jet-popup__close-button {
  background: transparent !important;
  box-shadow: none !important;
}
/*Grazie*/
#grazie {
  padding-left: 22%;
}
#cardGrazie {
  position: relative;
  z-index: 2;
  margin-right: -11%;
  aspect-ratio: 1;
  height: auto;
}
#imgGrazie {
  position: relative;
  z-index: 1;
}
/*privacy e cookie*/
.iframePrivacyCookie iframe{
	margin-left:-16.5%;
	height:600px;
}
/*Laptop (max 1366px)*/
@media (max-width: 1366px) {
  #hero {
    padding-left: 5.5%;
  }
  #bloccoTestoHero {
    padding-top: 7%;
    padding-bottom: 7%;
    flex: 0 0 48%;
  }
  #hero #divImmagine img {
    padding-top: 4%;
    padding-right: 7%;
    height: 700px;
  }
  .normalPadding {
    padding-top: 6%;
    padding-bottom: 6%;
    padding-left: 11%;
    padding-right: 11%;
  }
  #prestazioneHeroTesto {
    padding-left: 4%;
  }
  #prestazioneHero img {
    height: 500px;
  }
  #chiSonoHero {
    gap: 3%;
  }
  #chiSonoHero #testo {
    padding-top: 6%;
    padding-left: 11%;
  }
  .form {
    padding-top: 6%;
    padding-left: 11%;
    padding-right: 11%;
  }
  .sfondoForm {
    margin-top: -260px;
    padding-top: 260px;
  }
  #grazie {
    padding-left: 20%;
  }
  #cardGrazie {
    margin-right: -10%;
  }
  .iframePrivacyCookie iframe{
	margin-left:0px;
  }
}
@media (max-width: 1280px) {
  .normalPadding {
    padding-top: 6%;
    padding-bottom: 6%;
    padding-left: 8%;
    padding-right: 8%;
  }
}

/*Tablet (max 1024px)*/
@media (max-width: 1024px) {
  #hero {
    padding-left: 4%;
    padding-right: 0;
  }
  #bloccoTestoHero {
    padding-top: 5%;
    padding-bottom: 5%;
    flex: 0 0 52%;
  }
  #hero #divImmagine img {
    padding-top: 3%;
    padding-right: 0;
    height: 580px;
  }
  .normalPadding {
    padding-top: 5%;
    padding-bottom: 5%;
    padding-left: 6%;
    padding-right: 6%;
  }
  #chiSono {
    flex-direction: column;
    align-items: center;
  }
  #chiSono img {
    display: none;
  }
  #bloccoTestoChiSono {
    width: 100%;
  }
  .jet-listing-grid__item:first-child .cardSediHome {
    min-height: 329px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  #prestazioneHero {
    flex-direction: column;
    gap: 0;
  }
  #prestazioneHeroTesto {
    padding-top: 5%;
    padding-left: 6%;
    padding-right: 6%;
    width: 100%;
  }
  #prestazioneHero img {
    height: auto;
    width: 100%;
    aspect-ratio: 4/3;
  }
  #prestazioneHero #contenitoreImgPrestazione {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
  }
  #chiSonoHero {
    gap: 2%;
  }
  #chiSonoHero #testo {
    padding-top: 5%;
    padding-bottom: 5%;
    padding-left: 4%;
  }
  #chiSonoHero #img {
    background-size: cover !important;
    background-position: top center !important;
    height: stretch;
  }
  #sediListing .jet-listing-grid__items {
    gap: 40px;
  }
  #sediListing #testoSede {
    padding-left: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #sediListing
    .jet-listing-grid__item:nth-child(even)
    .elementor-element-3467eb9 {
    flex-direction: row-reverse;
  }
  #sediListing .jet-listing-grid__item:nth-child(even) #mappa {
    border-radius: 40px 0px 0px 40px;
  }
  #sediListing .jet-listing-grid__item:nth-child(even) #testoSede {
    padding-left: 0px;
  }
  .form {
    padding-top: 5%;
    padding-left: 6%;
    padding-right: 6%;
  }
  .sfondoForm {
    margin-top: -200px;
    padding-top: 200px;
  }
  #grazie {
    padding-left: 6%;
  }
}

/*Mobile (max 767px)*/
@media (max-width: 767px) {
  #hero {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }
  #bloccoTestoHero {
    padding-top: 7%;
    padding-bottom: 5%;
    padding-left: 4%;
    padding-right: 4%;
    flex: unset;
    width: 100%;
    text-align: left;
  }
  #hero #divImmagine {
    width: 100%;
    justify-content: center;
  }
  #hero #divImmagine img {
    padding-top: 0;
    padding-right: 0;
    height: auto;
    width: 80%;
    max-width: 380px;
    object-fit: cover;
  }
  .jet-listing-grid__item:first-child .cardSediHome {
    min-height: 0px;
  }
  .normalPadding {
    padding-top: 8%;
    padding-bottom: 8%;
    padding-left: 4%;
    padding-right: 4%;
  }
  #chiSono {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  #chiSono img {
    display: none;
  }
  #chiSonoHero {
    flex-direction: column;
    gap: 0;
  }
  #chiSonoHero #testo {
    padding-top: 7%;
    padding-left: 4%;
    padding-right: 4%;
    width: 100%;
  }
  #chiSonoHero #img {
    background-size: cover;
    background-position: center bottom !important;
  }
  #imgServizi {
    aspect-ratio: 4/3;
  }
  #sediListing .jet-listing-grid__item:nth-child(even) #mappa {
    border-radius: 0px 0px 40px 40px;
  }
  #sediListing .jet-listing-grid__item:nth-child(even) #testoSede {
    padding-left: 40px;
  }
  #testoSede {
    padding-right: 40px;
  }
  .form {
    padding-top: 8%;
    padding-left: 4%;
    padding-right: 4%;
  }
  .sfondoForm {
    margin-top: -120px;
    padding-top: 120px;
  }
  #grazie {
    padding-top: 4%;
    padding-bottom: 4%;
    padding-left: 2%;
    padding-right: 2%;
  }
  #cardGrazie {
    align-self: center;
    margin-right: 0px;
  }
}
