/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Text Domain: hello-elementor-child
*/
/* General */
.animation,
#header-main,
.button, .to-invert-fill-stroke, .to-invert-fill, .to-invert-stroke,
#footer-main a,.social-links ul a,
button[type="submit"], .box-menu img,
.box, body .slider-blog-last a img, .map-customers .region-path,
.slider-box-background, .slider-boxes .slider-box h3, .slider-boxes .slider-box p, .slider-boxes .slider-box::after,
.qodef-blog .qodef-blog-item .qodef-e-media-image img, .carousel-custom-slider-card img {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
*:focus {
    outline: none;
}
.overflow-hidden {
    overflow: hidden!important;
}
.text-right {
    text-align: right;
}
.icon,
.box::after, .slider-blog-last-button-prev, .slider-blog-last-button-next,
.v2 .banner h2::after, .slider-boxes .slider-box::after {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
body .padding-top {
    padding-top: 100px;
}
body .padding-bottom {
    padding-bottom: 100px;
}
body .padding-top-small {
    padding-top: 50px;
}
body .padding-bottom-small {
    padding-bottom: 50px;
}
body .padding-lateral {
    padding-left: 30px;
    padding-right: 30px;
}
b, strong {
    font-weight: bold;
}
#qodef-back-to-top.qodef--predefined:hover .qodef-back-to-top-icon {
    border-color: #E737B5;
    background-color: #E737B5;
}
.invert, .invert * {
    color: #fff;
}
.grey, .grey * {
    color: #A0A0A0;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    word-wrap: normal!important;
}
.primary-color, .primary-color * {
    color: #44A1DC;
}
h4-grey, .qodef-h4-grey {
    color: #A0A0A0;
}
u {
    color: #0A4263;
    text-decoration: none;
}
/*menù*/

/*header*/

/* Header trasparente in cima */
.site-header {
  background: transparent;
  transition: background .3s ease;
}

/* Dopo scroll di 100px (sticky attivo) */
.site-header.elementor-sticky--effects {
  background: #0A4263!important; /* nero trasparente */
}

.site-header.elementor-sticky--effects a,
.site-header.elementor-sticky--effects .elementor-menu-toggle i {
  color: #fff !important; /* link e burger bianchi */
}
/* Header sticky più basso */
.site-header.elementor-sticky--effects {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    transition: all 0.3s ease; /* animazione morbida */
}



/*homepage*/
/*scritta slider è sul blocco html*/
/*chi siamo*/
/*timeline*/
/* Timeline container */
/* Timeline container */
.timeline-container {
  max-width: 100%;
  margin: 50px auto;
  text-align: center;
}

/* Timeline base line */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  padding: 0 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ddd;
  z-index: 1;
}

/* Timeline step container */
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  width: 25%;
}

/* Dot style - inactive */
.timeline-step .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(10, 66, 99, 0.24);
  transition: all 0.3s ease;
  margin-bottom: 10px;
  position: relative;
  top: 10px; /* Sollevato un po' rispetto alla linea */
}

/* Dot style - active */
.timeline-step.active .dot {
  background-color: #0A4263;
  transform: scale(1.8);
  top: 0; /* riportato sulla linea */
}

/* Text style - inactive */
.timeline-step p,
.timeline-step .timeline-title {
  color: #0A42633D;
  transition: color 0.3s ease;
}

/* Text style - active */
.timeline-step.active p,
.timeline-step.active .timeline-title {
  color: #0A4263;
}

/* Timeline full width trick */
.timeline-swiper-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
}

.timeline-swiper {
  width: 100%;
}
/*card chi siamo*/
/* Contenitore */
.team-card {
  position: relative;
  overflow: hidden;
  background-color: #0A4263;
  color: #fff;
  text-align: center;
  height: 300px; /* o la dimensione che vuoi */
  padding: 20px;
  border-radius: 10px;
}


/* immagine inizialmente nascosta sotto */
.team-card .team-img {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: bottom 0.5s ease;
  z-index: 1;
}


/* Hover: l’immagine sale verso l’alto */
.team-card:hover .team-img {
  bottom: 0;
}

/* testi sopra */
.team-card h3,
.team-card p {
  position: relative;
  z-index: 2;
}
/*vari corsi*/
/* Nascondi inizialmente il box testo sulle card */
.slide-hover .slide-caption {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.5s ease;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: #fff;
  /*background: rgba(0, 0, 0, 0.5);*/
  pointer-events: none;
}

/* Quando passi sopra la slide, mostra il testo */
.slide-hover:hover .slide-caption {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* Stile bordo e ombra come le card */
.slide-hover {
  border: 1px solid #E0E0E0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Effetto hover leggero */
.slide-hover:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: #B0B0B0;
}
/*Lavora con noi*/
/*form*/
/* Contenitore form */
.my-cf7-form {
  background-color: #0A4263;
  color: #ffffff;
}

/* Stile campi input e textarea */
/* Wrapper form */
.my-cf7-form {
  max-width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
  color: #ffffff;
}

/* Label */
.my-cf7-form label {
  display: block;
  margin-bottom: 0px;
  font-size: 14px;
}

/* Input, select e textarea */
.my-cf7-form input[type="text"],
.my-cf7-form input[type="email"],
.my-cf7-form select,
.my-cf7-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  padding: 10px 0;
  font-size: 16px;
  margin-bottom: 0px;
  box-shadow: none;
}

.my-cf7-form input::placeholder,
.my-cf7-form textarea::placeholder {
  color: #ffffff;
  opacity: 0.7;
}

/* Focus effect */
.my-cf7-form input:focus,
.my-cf7-form select:focus,
.my-cf7-form textarea:focus {
  outline: none;
  border-bottom: 2px solid #ffffff;
}

/* Checkbox */
.my-cf7-form input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.3);
}

/* Privacy text */
.my-cf7-form p {
  font-size: 13px;
  line-height: 1.4;
}

/* Pulsante */
.my-cf7-form input[type="submit"] {
  background: none;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 10px 30px;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.my-cf7-form input[type="submit"]:hover {
  background: #ffffff;
  color: #002F4D;
}
.my-cf7-form textarea {
    height: 120px;
}
/*Contatti*/
/*form*/
/* Contenitore form */
.cf7-form-alt {
  background-color: trasparent;
  color: #ffffff;
}

/* Wrapper form */
.cf7-form-alt {
  max-width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
  color: #0A4263;
}

/* Label */
.cf7-form-alt label {
  display: block;
  margin-bottom: 0px;
  font-size: 14px;
}

/* Input, select e textarea */
.cf7-form-alt input[type="text"],
.cf7-form-alt input[type="email"],
.cf7-form-alt select,
.cf7-form-alt textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #0A4263;
  color: #0A4263;
  padding: 10px 0;
  font-size: 16px;
  margin-bottom: 0px;
  box-shadow: none;
}

.cf7-form-alt input::placeholder,
.cf7-form-alt textarea::placeholder {
  color: #0A4263;
  opacity: 0.7;
}

/* Focus effect */
.cf7-form-alt input:focus,
.cf7-form-alt select:focus,
.cf7-form-alt textarea:focus {
  outline: none;
  border-bottom: 2px solid #0A4263;
}

/* Checkbox */
.cf7-form-alt input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.3);
}

/* Privacy text */
.cf7-form-alt p {
  font-size: 13px;
  line-height: 1.4;
}

/* Pulsante */
.cf7-form-alt input[type="submit"] {
  background: none;
  border: 1px solid #0A4263;
  color: #0A4263;
  padding: 10px 30px;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.cf7-form-alt input[type="submit"]:hover {
  background: #ffffff;
  color: #002F4D;
}

.cf7-form-alt textarea {
  height: 120px;
}
/*carosello custom*/
.carousel-custom {
  display: flex;
  margin-top: 50px;
}
.carousel-custom .carousel-custom-main {
  width: 20%;
}
.carousel-custom .carousel-custom-slider {
  width: 80%;
  padding-left: 35px;
  position: relative;
}

.carousel-custom-main-card, .carousel-custom-slider-card {
  background-color: #efefef;
  border-radius: 20px;
  padding: 20px 15px;
  position: relative;
}
.carousel-custom-slider-card {
  background-color: #0a4263;
}
/*Maschera bianca fissa sul lato destro (indipendente dall’hover)*/
.carousel-custom-slider-card{
  position:relative;
  box-shadow: inset -1px 0 0 0 #fff; 
}

/**/
.carousel-custom-main-card::after, .carousel-custom-slider-card::after {
    content: '';
    display: block;
    width: 66px;
    height: 67px;
    background-image: url(assets/imgs/Tavola-disegno-1.png);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
    background-size: cover;
}
}
.carousel-custom-main-card h2, .carousel-custom-main-card p {
  color: #0A4263;
}
.carousel-custom-slider-card h6, .carousel-custom-slider-card h3 {
  color: #fff;
}
.carousel-custom-slider-card h6 {
  font-size: 32px;
    position: relative;
    z-index: 2;
}
.carousel-custom-slider-card h3 {
  font-size: 28px;
}
.carousel-custom-main-card h2, .carousel-custom-slider-card h6 {
  padding-right: 50px;
}
.carousel-custom-main-card-caption, .carousel-custom-slider-card-caption {
  display: flex;
  width: 100%;
  min-height: 320px;
  align-items: flex-end;
}
.carousel-custom-slider-card-caption {
  z-index: 2;
  position: relative;
}
.carousel-custom-main-card-caption > div, .carousel-custom-slider-card-caption > div {
  width: 100%;
}
.carousel-custom-main-card-caption p, .carousel-custom-slider-card-caption h3 {
  margin: 0;
}

.carousel-custom-slider .swiper-slide > a {
  display: block;
}
.carousel-custom-slider-card img {
  opacity: 0;
  z-index: 1;
  width: 100%;
  height: 100%!important;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 20px!important;
}
.carousel-custom-slider-swiper .swiper-slide > a:hover .carousel-custom-slider-card img {
  opacity: 1;
}
.carousel-custom-slider-button-next, .carousel-custom-slider-button-prev {
  top: -30px!important;
}
.carousel-custom-slider-button-next {
  right: 0!important;
}
.carousel-custom-slider-button-prev {
  left: auto!important;
  right: 50px!important;
}
@media (max-width: 1240px) {
  .carousel-custom .carousel-custom-main {
    width: 30%;
  }
  .carousel-custom .carousel-custom-slider {
    width: 70%;
  }
}
@media (max-width: 992px) {
  .carousel-custom .carousel-custom-main, .carousel-custom .carousel-custom-slider {
    width: 50%;
  }
}
.carousel-custom-slider-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px; /* spazio tra card e logo */
}

.carousel-custom-slider-card {
    background-color: #063b5f; /* o il tuo colore */
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    min-height: 250px; /* imposta un'altezza minima se necessario */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    text-align: left;
}

.carousel-custom-slider-card-logo {
    margin-top: 0;
}

.carousel-custom-slider-card-logo img {
    max-height: 40px;
    width: auto;
}
/*logo*/
.carousel-custom-slider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-custom-slider-card {
    background-color: #063b5f;
    color: white;
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.carousel-custom-slider-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.carousel-custom-slider-icon {
    margin-top: 16px;
    text-align: center;
}

.carousel-custom-slider-icon img {
    max-width: 50px;
    height: auto;
    display: inline-block;
    object-fit: contain;
}
/*card singola con numero e img*/
.card { 
	width: 100%; 
} 

.single-card .single-card-content { 
	background-color: #0a4263; 
	border-radius: 20px; 
	padding: 20px 15px; 
	position: relative; 
	color: white; 
	min-height: 320px; 
	display: flex; 
	flex-direction: column; 
	justify-content: flex-end; 
	text-align: left; 
	overflow: hidden; 
} 

.single-card .single-card-content::after { 
	content: ''; 
	display: block; 
	width: 66px; 
	height: 67px; 
	/*background-image: url('/wp-content/themes/hello-elementor-child/assets/imgs/Tavola-disegno-1-copia.png'); /* modifica il path se serve */ 
	position: absolute; 
	right: 0; 
	top: 0; 
	z-index: 3; 
	background-size: cover; 
} 

/* Immagine */ 
.single-card .single-card-content img { 
	opacity: 1; 
	position: absolute;
	top: 0; 
	left: 0; 
	height: 100% !important; 
	width: 100%; 
	object-fit: cover; 
	border-radius: 20px !important; 
	z-index: 1; 
	transition: opacity 0.3s ease-in-out; 
}

/* Numero in alto a sinistra sopra l’immagine */
.single-card .card-number-top {
  font-size: 32px;
  color: white;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 4;
  margin: 0;
}

/* Contenitore caption in basso */
.single-card .single-card-caption {
  position: relative;
  z-index: 2;
  padding-right: 50px;
}

/* Titolo */
.single-card .card-title {
  font-size: 32px;
  color: white;
  margin: 0;
}

/*card singola con titolo*/
/* === CARD SINGOLA GRIGIA (Ways) === */

.single-card-grey {
  width: 100%;
}

.single-card-grey .carousel-grey-main-card {
  background-color: #efefef;
  border-radius: 20px;
  padding: 20px 15px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
}

/* SVG in alto a destra (solo per questa card) */

.single-card-grey .carousel-grey-main-card::after {
  content: ''; 
	display: block; 
	width: 66px; 
	height: 67px; 
	background-image: url('/wp-content/themes/hello-elementor-child/assets/imgs/Tavola-disegno-1-copia.png'); /* modifica il path se serve */ 
	position: absolute; 
	right: 0; 
	top: 0; 
	z-index: 3; 
	background-size: cover; 
}

/* Titolo principale in alto a sinistra */
.carousel-grey-card-title {
  position: absolute;
  top: 10px;
  left: 15px;
  z-index: 4;
  max-width: 80%;
}

.carousel-grey-card-title span {
  font-size: 32px;
  font-weight: 600;
  color: #0A4263;
  display: block;
  line-height: 1;
  margin-right: 100px;
}

/* Testi */
.single-card-grey .carousel-grey-main-card p {
  color: #0A4263;
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 16px;
}

.single-card-grey .carousel-grey-main-card-caption {
  display: flex;
  width: 100%;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.single-card-grey .carousel-grey-main-card-caption > div {
  width: 100%;
}

.swiper-button-next::after, .swiper-button-prev::after {
  content: ''!important;
}
.swiper-button-next, .swiper-button-prev {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.swiper-button-next {
  background-image: url('assets/imgs/next.svg');
}
.swiper-button-prev {
  background-image: url('assets/imgs/prev.svg');
}
/* Breadcrumb bianche nella pagina "Lavora con noi"*/
.elementor-shortcode,
.elementor-shortcode a,
.elementor-shortcode span {
    color: #0A4263 !important;
}
.page-id-441 .elementor-shortcode,
.page-id-441 .elementor-shortcode a,
.page-id-441 .elementor-shortcode span {
    color: #ffffff !important;
}
.page-id-552 .elementor-shortcode,
.page-id-552 .elementor-shortcode a,
.page-id-552 .elementor-shortcode span {
    color: #ffffff !important;
}
/* Header Ways sticky full width */
.elementor-element.elementor-element-2e9e9bd0.elementor-sticky--effects {
    width: 100% !important;
    max-width: 100% !important;
    inset-inline-start: 0 !important;
    left: 0 !important;
    right: 0 !important;
}


