/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

:root {
  --azzurro: #68bceb;
  --bianco: #ffffff;
  --blu-chiaro: #158acc;
  --blu-scuro: #2c5883;
  --nero: #000000;
}

p {
  margin-top: 0;
}

/* -------------------------------------------------------------------------------- */
/* ! Containers
/* -------------------------------------------------------------------------------- */

.max-1900 .fusion-builder-row {
  max-width: 1900px !important;
}

/* -------------------------------------------------------------------------------- */
/* ! Header
/* -------------------------------------------------------------------------------- */

.fusion-tb-header {
  z-index: 10;
  position: relative;
}

#main,
.fusion-tb-footer {
  z-index: 9;
  position: relative;
}

.header-top p,
.fusion-footer .footer-3 .testo p {
  display: flex;
  align-items: center;
}

.header-top p {
  margin-right: 30px;
}

.header-top p::before,
.fusion-footer .footer-3 .testo p::before {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  background-image: url("img/icona-phone.png");
  background-size: 23px 23px;
}

.header-top .email p::before,
.fusion-footer .footer-3 .testo p:nth-child(2):before {
  width: 24px;
  height: 18px;
  background-image: url("img/icona-email.png");
  background-size: 24px 18px;
}

.header-top p::before {
  margin-right: 10px;
}

.header-top p a {
  margin-left: 5px;
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .header-bottom .left {
    width: 14%;
  }

  .header-bottom .right {
    width: 86%;
  }

  .header-bottom .right .fusion-column-wrapper {
    margin-left: 0px !important;
  }

  .header-bottom .right .awb-menu__main-a_regular {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
}

@media (min-width: 992px) {
  .d-none-992 {
    display: none !important;
  }

  #menu-menu-principale {
    margin-right: -18px;
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Footer
/* -------------------------------------------------------------------------------- */

.fusion-footer .footer-3 .testo p {
  gap: 12px;
}

.fusion-footer .footer-3 .testo a {
  text-decoration: none !important;
}

.fusion-footer .footer-3 .testo a:hover,
.fusion-footer .footer-3 .testo a:focus {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

@media (min-width: 1600px) {
  .fusion-footer .footer-1,
  .fusion-footer .footer-4 {
    width: 20% !important;
  }

  .fusion-footer .footer-2,
  .fusion-footer .footer-3 {
    width: 30% !important;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .fusion-footer .footer-1 {
    width: 20% !important;
  }

  .fusion-footer .footer-2 {
    width: 33% !important;
  }

  .fusion-footer .footer-3 {
    width: 22% !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .fusion-footer .footer-1 {
    display: none !important;
  }

  .fusion-footer .footer-2 {
    width: 45% !important;
  }

  .fusion-footer .footer-4 {
    width: 30% !important;
  }
}

@media (max-width: 767px) {
  .fusion-footer .footer-3 .testo p {
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Homepage
/* -------------------------------------------------------------------------------- */

#hp-clienti {
	display: none !important;
}

.fusion-button.width-295 {
  width: 295px;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  #hp-servizi .title .fusion-title-heading {
    font-size: 35px !important;
  }

  #hp-clienti .titolo-2 .fusion-title-heading {
    font-size: 39px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #hp-servizi .title .fusion-title-heading,
  #hp-clienti .titolo-2 .fusion-title-heading {
    font-size: 30px !important;
  }

  #hp-numeri .fusion-title-heading {
    font-size: 22px !important;
  }
}

@media (min-width: 992px) {
  #hp-numeri .fusion-title-heading br {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #hp-servizi .title .fusion-title-heading {
    font-size: 35px !important;
  }

  #hp-clienti .titolo-2 .fusion-title-heading {
    font-size: 33px !important;
  }

  #hp-numeri .fusion-title-heading {
    font-size: 20px !important;
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Servizi
/* -------------------------------------------------------------------------------- */

.testo-servizio ul li,
.testo-servizio ol li {
  margin-bottom: 20px;
}

.testo-servizio ol li {
  font-weight: 700;
}

.testo-servizio ol li em {
  font-weight: 400;
  font-style: normal;
}

.testo-servizio img.alignright {
  max-width: 52%;
  border-radius: 10px;
  margin-left: 4%;
  margin-bottom: 2%;
  margin-top: 40px;
}

.testo-servizio h2 {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .testo-servizio img.aligncenter {
    display: none;
  }
}

@media (max-width: 767px) {
  .header-interna h1 {
    font-size: 35px !important;
  }

  .testo-servizio ul,
  .testo-servizio ol {
    padding-left: 20px;
  }

  .testo-servizio img.alignright {
    display: none;
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Form 
/* -------------------------------------------------------------------------------- */

#responsive-form .form-row {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}

.wpcf7 .wpcf7-form.failed .wpcf7-response-output,
.wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
.wpcf7 .wpcf7-form.spam .wpcf7-response-output,
.wpcf7 .wpcf7-form.unaccepted .wpcf7-response-output {
  max-width: 940px !important;
  margin-left: auto;
  margin-right: auto;
}

#responsive-form label {
  font-size: 18px;
  font-weight: 600;
  color: var(--bianco);
}

#responsive-form .column-half,
#responsive-form .column-full {
  float: left;
  position: relative;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#responsive-form .clearfix:after {
  content: "";
  display: table;
  clear: both;
}

#responsive-form .wpcf7-list-item {
  margin: 0px;
}

#responsive-form .wpcf7-list-item label {
  font-weight: 300;
  font-size: 15px;
}

#responsive-form .wpcf7-submit {
  float: right;
  width: 290px;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  background-color: var(--bianco);
  color: var(--blu-scuro);
  border-radius: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
}

#responsive-form .wpcf7-submit:hover,
#responsive-form .wpcf7-submit:focus,
#responsive-form .wpcf7-submit:active {
  background-color: var(--blu-scuro);
  color: var(--bianco);
}

.wpcf7-not-valid-tip {
  color: #ffcc00;
}

.wpcf7 .wpcf7-form.failed .wpcf7-response-output,
.wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
.wpcf7 .wpcf7-form.spam .wpcf7-response-output,
.wpcf7 .wpcf7-form.unaccepted .wpcf7-response-output {
  background-color: rgba(255, 204, 0, 0.1) !important;
  border: 1px solid #ffcc00 !important;
  color: #ffcc00 !important;
}

input.wpcf7-not-valid {
  border: 3px solid #ffcc00 !important;
}

@media (min-width: 768px) {
  #responsive-form .column-half,
  #responsive-form .column-full {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  #responsive-form .column-half {
    width: 50%;
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Servizi
/* -------------------------------------------------------------------------------- */

.testo-chisiamo img.alignright {
  max-width: 52%;
  border-radius: 10px;
  margin-left: 4%;
  margin-bottom: 2%;
}

@media (min-width: 768px) {
  .testo-chisiamo img.aligncenter {
    display: none;
  }
}

@media (max-width: 767px) {
  .testo-chisiamo img.alignright {
    display: none;
  }
}

/* -------------------------------------------------------------------------------- */
/* ! Lavora con noi
/* -------------------------------------------------------------------------------- */

.carica-file p {
	margin-bottom: 5px !important;
}

.custom-file-field {
	margin-bottom: 20px;
}

.custom-file-field input {
    display: none;
}

.custom-file-field label {
    font-size: 15px !important;
	line-height: 1;
    cursor: pointer;
    display: block;
    color: #000 !important;
    padding: 11.5px 30px;
    border-radius: 5px;
    margin: 0px;
	display: inline-block;
    transition: all 0.3s ease;
	font-weight: 400 !important;
}

.custom-file-field label{
    background-color: var(--bianco) !important;
}

.custom-file-field label:hover{
    background-color: #ddd !important;
}

@media (min-width: 1200px) and (max-width: 1599px) {
	.titolo-lavora .fusion-title-heading {
		font-size: 50px !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.titolo-lavora .fusion-title-heading {
		font-size: 45px !important;
	}
	
	.form-lavora .fusion-column-wrapper {
		padding: 25px !important;
	}
	
	.form-lavora .titolo .fusion-title-heading {
		font-size: 35px !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.titolo-lavora .fusion-title-heading {
		font-size: 50px !important;
	}
	
	.form-lavora .titolo .fusion-title-heading {
		font-size: 35px !important;
	}
}

@media (max-width : 767px) {
	.form-lavora .titolo .fusion-title-heading {
		font-size: 24px !important;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Contatti
/* -------------------------------------------------------------------------------- */

.testi-contatti p {
	margin-bottom: 10px !important;
}

.testi-contatti a {
	color: var(--nero) !important;
}

.testi-contatti .email {
  background-image: url("img/icona-email-blu.png");
  background-size: 24px 18px;
  background-repeat: no-repeat;
  background-position: 20px center;
}

.testi-contatti .telefono {
  background-image: url("img/icona-phone-blu.png");
  background-size: 23px 23px;
  background-repeat: no-repeat;
  background-position: 20px center;
}

.testi-contatti .email:hover,
.testi-contatti .email:focus {
  background-image: url("img/icona-email.png");
  background-size: 24px 18px;
  background-repeat: no-repeat;
  background-position: 20px center;
}

.testi-contatti .telefono:hover,
.testi-contatti .telefono:focus {
  background-image: url("img/icona-phone.png");
  background-size: 23px 23px;
  background-repeat: no-repeat;
  background-position: 20px center;
}

@media (min-width: 992px) and (max-width: 1199px) {
	.bottoni-contatti {
    width: 100% !important;
  }
}