/*
Theme Name: Chorus Volley Theme
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/chorus-volley-theme/font/Montserrat-Regular.woff') format('woff');
  font-weight: 400;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/chorus-volley-theme/font/Montserrat-Medium.woff') format('woff');
  font-weight: 500;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/chorus-volley-theme/font/Montserrat-SemiBold.woff') format('woff');
  font-weight: 600;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/chorus-volley-theme/font/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/chorus-volley-theme/font/Montserrat-Black.woff') format('woff');
  font-weight: 900;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/chorus-volley-theme/font/Montserrat-Italic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
}

:root {
  --kwprimary: #004AAD;
  --kwsecondary: #F94646;
  --bianco: white;
  --kwgrey: #403934;
  --gold: #E5C762;
  --gold-scuro: #B6943B;
}

html {
	font-size: 20px;
}
.weight-400{
	font-weight: 400 !important;
}
.weight-500,
p{
	font-weight: 500 !important;
}
.weight-600,
h2{
	font-weight: 600 !important;
}
.weight-700,
h1{
	font-weight: 700 !important;
}
.weight-900{
  font-weight: 900 !important;
}
h1{
  color: var(--kwprimary);
	font-size: 3.3rem;
  margin-bottom: 0;
}
.title-h1{
	font-size: 3rem;
}
h2{
  color: var(--kwsecondary);
	font-size: 2rem;   
}
h3{
	font-weight: 900 !important;
	font-size: 1.6rem;
}
.text-bold-36{
	font-weight: 700 !important;
	font-size: 1.75rem;
}
.italic{
	font-weight: 300;
	font-style: italic;
}
.size-24{
	font-size: 1.2rem;
}
.size-32{
	font-size: 1.6rem;
}
.size-27
h1, h2, h3{
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1;
}
h2 + p,
h1 + p{
	margin-top: 25px;
	margin-bottom: 0;
}
.header-nav-main>li{
	margin: 0 15px;
}
.header-nav-main .nav-dropdown>li>a{
	color: var(--kwprimary);
	font-size: 0.8rem;
	font-weight: 700;
}
.header-nav-main .nav-dropdown>li>a:hover{
	color: var(--kwsecondary);
}
.blu{
	color: var(--kwprimary);
}
.gold{
	color: var(--gold);
}
.gold-scuro{
	color: var(--gold-scuro);
}
.gold-scuro-bg{
	background-color: var(--gold-scuro) !important;
}
.rosso{
	color: var(--kwsecondary);
}
.bianco{
	color: var(--bianco);
}
.bg-bianco{
	background-color: var(--bianco);
}
.grigio{
  color: var(--kwgrey);
}
.text-underline{
	border-bottom: 2px solid var(--kwsecondary);
}
a:hover{
	color: var(--kwsecondary);
}
.titolo a:hover .icona-svg-link{
  transition: transform 0.6s cubic-bezier(.34, 1.56, .64, 1);
}
.titolo a:hover .icona-svg-link{
  transform: translateX(10px) translateY(-10px) rotate(12deg);
  /* in hover il movimento deve essere più lineare */
  transition: transform 0.45s cubic-bezier(.25,.1,.25,1);
}
.section{
	padding-top: 90px !important;
    padding-bottom: 90px !important;
}
.sezione-sponsor{
	padding-top: 60px !important;
  padding-bottom: 60px !important;	
}
.section-no-padding{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.pt-0 {
  padding-top: 0 !important;
}
.pbt-25{
  padding: 25px 0 !important;
}
.white-underline{
	border-bottom: 2px solid var(--bianco);
	color: var(--bianco);
}
p,
p + p{
	margin-bottom: 0px;
	margin-top: 20px;
}
.testimonianze p{
  margin-top: 40px !important;
}
.test
.mb-45{
	margin-bottom: 1.3em;
}
.testo-sottolineato{
	text-decoration: underline;
}
.border-image .img-inner,
.border-image .box-image{
	border-radius: 16px;
	border-width: 4px;
	border-style: solid;
}
.border-blu, .border-blu .img-inner{
	border-color: var(--kwprimary);
}
.border-oro-scuro, .border-oro-scuro .box-image{
	border-color: var(--gold-scuro);
}
.border-rosso, .border-rosso .box-image{
	border-color: var(--kwsecondary);
}
/* .border-image img{
	filter: grayscale(100);
	transition: filter .6s, opacity .6s, transform .6s, box-shadow .3s;		
} 
.border-image:hover img{
	filter: grayscale(0);
}*/
.resta-aggiornato .box-image{
	overflow: visible;
}
.resta-aggiornato .box-image img{
	border-radius: 12px;
}
.resta-aggiornato .box-image a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -25px;  /* metà altezza dell'icona */
    transform: translateX(-50%);
    width: 50px;    /* dimensione icona */
    height: 50px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
}
.resta-aggiornato .border-blu .box-image a:after{
	background-image: url(https://www.chorus.sviluppo.host/wp-content/uploads/icon-blu.svg);
}
.resta-aggiornato .border-oro-scuro .box-image a:after{
	background-image: url(https://www.chorus.sviluppo.host/wp-content/uploads/icon-oro-scuro.svg);
}
.resta-aggiornato .border-rosso .box-image a:after{
	background-image: url(https://www.chorus.sviluppo.host/wp-content/uploads/icon-rosso.svg);
}
.resta-aggiornato .border-rosso:hover .box-image a:after,
.resta-aggiornato .border-oro-scuro:hover .box-image a:after,
.resta-aggiornato .border-blu:hover .box-image a:after{
    transform: translateY(-10px) rotate(12deg);
    transition: transform 0.45s cubic-bezier(.25, .1, .25, 1);
}
.box-text-bottom .box-text{
	padding-bottom: 0;
}
.resta-aggiornato .box-text-bottom .box-text{
	padding-top: 30px;
}
.btn-cta{
	font-size: 1.1rem;
	line-height: normal;
	font-weight: 600;
}
.btn-cta span{
	padding: 8px 40px;
	text-decoration: underline;
}
.shadow-row{
	box-shadow: 3px 3px 3px #004AAD66;
	padding: 30px;
}
#footer .gold-scuro-bg.btn-cta span{
	padding: 8px 10px !important;
	font-size: 1rem !important;
}
#footer .gold-scuro-bg.btn-cta{
	min-height: 1.5em;
	margin-bottom: 0;
	margin-right: 0;
}
#footer section{
	padding-top: 65px !important;
	padding-bottom: 60px !important;
}
.section-academy{
	padding-top: 140px !important;
	padding-bottom: 140px !important;
	/* background-image: url(/wp-content/uploads/icon-bg.png); */
  background-image: url(/wp-content/uploads/ball-bg.png);
  background-size: 6%;  
} 
.max-width-1440{
	max-width: 1440px !important;
}
.lanostrarete{
	max-width: 1240px !important;
	padding: 50px 60px;
}

/* BALL HOMEPAGE */
.riga {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1270px;
}

.column {
  text-align: center;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.ball-container {
  height: 230px; /* altezza del box dove cade la palla */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.ball {
  width: 140px;
  /* animation: dropBounce 1s ease-in-out 4; */
  animation-fill-mode: forwards;
  transform-origin: center;
}
.ball.animate {
  animation: dropBounce 1s ease-in-out 3 forwards;
}

/* Animazione "caduta e piccolo balzo" */
@keyframes dropBounce {
  0% {
    transform: translateY(-170px) rotate(0deg);
  }
  60% {
    transform: translateY(40px) rotate(20deg);
  }
  80% {
    transform: translateY(50px) rotate(-10deg);
  }
  100% {
    transform: translateY(40px) rotate(0deg);
  }
}
/* FINE BALL HOMEPAGE */

/* SLIDE HOME */
#overlay-fixed-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: center; /* centra il contenuto */
}    
#overlay-fixed {
    width: 100%;
    max-width: 1270px;  /* larghezza massima */
    padding: 30px 0;
    height: 90vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#overlay-fixed h1 {
    color: white;
    font-size: 4rem;
    margin: 0;
	line-height: 1.2;
}

#overlay-fixed img {
opacity: 0.6;
}

.overlay-left {
    flex: 0 0 58.33%;   /* 7/12 */
padding-right: 60px;
}

.overlay-right {
    flex: 0 0 41.66%;   /* 5/12 */
    text-align: right;
}
/* FINE SLIDE HOME */

.header-nav-main .nav-dropdown {
	min-width: 350px;
}

/* CERCHI CHI SIAMO */
.cerchio-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 40px;
}

.cerchio {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  margin-left: -40px;   /* sovrapposizione */
  border: 2px solid var(--bianco);
  opacity: 0;
  transform: translateX(60px);
}
.cerchio.animate{
  animation: slideIn 5s ease forwards;
  animation-delay: calc(var(--i) * 1s); 
}
.cerchio:hover img{
  filter: grayscale(0);
}
.cerchio:first-child {
  margin-left: 0;       /* il primo non sovrappone */
}
.cerchio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100);
  transition: filter .6s, opacity .6s, transform .6s, box-shadow .3s;
}
.cerchio span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.1;  
}

@keyframes slideIn {
  from {
    transform: translateX(110px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* FINE CERCHIO */

.padding-top-bottom-25{
	padding: 25px 0 !important;
}

/* CARD SQUADRE */
.players-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 50px;
}
.player-card {
  perspective: 1000px;
}
.card-flip {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
.atlete:hover .card-inner {
  transform: rotateY(180deg);
}
.card-front {
  position: relative;
  width: 100%;
  height: auto;
}
.card-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}
.card-front img,
.card-back img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.card-info {
  margin-top: 15px;
  position: relative;
  z-index: 100;
}
.card-info p{
  margin-top: 5px;
}
.card-info h2{
  text-transform: uppercase;
}
.card-info .weight-500{
  font-size: 16px;
}
.card-front,
.card-back,
.card-front *,
.card-back * {
  backface-visibility: hidden !important;
  transform-style: preserve-3d !important;
}
/* FINE CARD */

.col-blog-news .ux-relay__control,
.mt-30{
  margin-top: 30px;
}

/* BLOG */
/* Posizionamento del cerchio */
.box-image .image-color a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30px; /* metà fuori e metà dentro */
    transform: translateX(-50%) translateY(20px);
    width: 80px;
    height: 80px;
    background: url('/wp-content/uploads/icon-rosso.svg') no-repeat center center;
    background-size: 55%;
    border-radius: 50%;
    opacity: 0;
    transition: all .35s ease;
    z-index: 20;
    pointer-events: none;
}
.box-image:hover .image-color a::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.post-item:hover .box-image .image-color a::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.news-blog .image-cover,
.news-blog .box-image{
  overflow: visible;
}
.post-tag{
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--kwprimary);
    color: var(--bianco);
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 400;
    z-index: 20;
    pointer-events: none;
    border: 1px solid var(--bianco);
}
.from_the_blog_excerpt,
.data-blog{
  font-size: 16px;
  opacity: 0.75;
}
.blog-single .large-10{
  max-width: 100%;
  flex-basis: 100%;
}
/* FINE BLOG */

.sponsor-slide .img{
  padding: 0 10px !important;
}
.sponsor-slide .img img{
  border-radius: 10px !important;
}
.top-sponsor .img-inner{
  box-shadow: 2px 3px 5px var(--gold-scuro);
  border-radius: 10px;
}
.sponsor-blu .img-inner{
  box-shadow: 2px 3px 5px var(--kwprimary);
  border-radius: 10px;
}
.col-form-contact{
  position: relative;
  z-index: 10;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--kwprimary);
}
.wpcf7-form #form-contatto .flex-row .flex-col,
.wpcf7-form .flex-row .flex-col {
    margin-bottom: 10px;
}
.wpcf7 span.wpcf7-list-item{
    margin-right: 0 !important;
}
.wpcf7-acceptance input[type=checkbox] {
    margin-bottom: 0;
}
.btn-form{
    border-radius: 99px;
    padding-left: 50px;
    padding-right: 50px;
}

.valore-0 { 
  --shift:0px; 
}
.valore-1 {  
  --shift:60px;
}

/* Nascondi l'SVG interno */
.ux-relay__button.ux-relay__nav-button svg {
    display: none;
}

/* Imposta immagini personalizzate come sfondo dei bottoni */
.ux-relay__button.ux-relay__nav-button--prev {
    background-image: url('https://www.chorus.sviluppo.host/wp-content/uploads/Arrow-8.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 30px;  /* larghezza del bottone */
    height: 30px; /* altezza del bottone */
    border: none; /* se vuoi rimuovere bordo */
}

.ux-relay__button.ux-relay__nav-button--next {
    background-image: url('https://www.chorus.sviluppo.host/wp-content/uploads/Arrow-7.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 30px;
    height: 30px;
    border: none;
}

/* Mantieni il cursore a mano */
.ux-relay__button.ux-relay__nav-button {
    cursor: pointer;
}

/* Gestione bottone disabilitato */
.ux-relay__button.ux-relay__nav-button:disabled {
    opacity: 0.3;
    cursor: default;
}
.ux-relay__control--bottom{
  padding: 0;
  background-color: var(--kwprimary);
}
.press-blog .ux-relay__control--bottom{
  background-color: var(--kwsecondary);
}
.squadre-sx{
  background-color: var(--kwsecondary);
  text-align: left;
  padding: 15px 0 15px 20px;
  border-radius: 15px;
}
.squadre-sx h2,
.squadre-dx h2{
  font-size: 1.4rem;
}
.link-squadre{
  align-items: center;
}
.link-squadre .icon-box-text{
  margin-right: 10px;
}
.link-squadre p,
.link-squadre-dx p{
  margin-top: 0 !important;
}
.link-squadre-dx .icon-box-text{
margin-left: 10px;
}
.squadre-dx{
  background-color: var(--kwprimary);
  text-align: right;
  padding: 15px 20px 15px 0;
  border-radius: 15px;
  width: 100%; 
}
.fp-contatti{
  padding: 20px;
  border: 1px solid var(--kwprimary);
  border-radius: 15px;
}
.fp-contatti input,
.fp-contatti textarea{
    border: 1px solid var(--kwprimary);
    border-radius: 5px;
}
.fp-contatti label{
  color: var(--kwprimary);
  font-weight: 600;
}
.strutture{
  width: 500px;
  padding: 25px 10px;
  background-image: url(https://www.chorus.sviluppo.host/wp-content/uploads/sfondo-rete.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center; 
}
.strutture p{
  font-size: 18px;
}
h2.title-h1 + span.italic{
  line-height: 1.6;
}
#sb_instagram #sbi_load{
  margin-top: 20px;
}
#sb_instagram #sbi_images .sbi_item{
  -webkit-box-shadow: 2px 3px 0px -1px #FFFFFF;
  box-shadow: 1px 2px 4px -1px #FFFFFF;
}
.ux-relay__control--bottom .ux-relay__nav-button--next{
  position: absolute !important;
  right: 0 !important;
  margin-right: 15px !important;
}
.ux-relay__control--bottom{
  text-align: left;
}
.ux-relay__control--bottom .ux-relay__nav-button--prev{
  margin-left: 15px;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	html {
	  font-size: 18px;
	}
  .card-info h2{
    width: 50%;
  }
	.section{
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}
	.section-academy{
		padding: 120px 15px;
	} 	
	.icona-svg-link{
		width: 10%;
	}
	.pt-0-mobile,
  .pt-0{
		padding-top: 0 !important;
	}
	h1, h2, h3{
		line-height: 1.3em;
	}
  h1{
    font-size: 2.4rem;
  }
	#overlay-fixed h1{
		font-size: 3rem;
	}
	.text-bold-36{
		font-size: 1.6rem;
	}
  .pt-0{
    padding-top: 0 !important;
  } 
  .pb-mobile{
    padding-bottom: 0 !important;
  }
  .top-sponsor img,
  .sponsor-blu img{
    padding: 0 20px;
  }   
  .col-form-contact{
    padding-left: 15px;
    padding-right: 15px;
  } 
  .players-container{
    gap: 30px;
  } 
  .row-collapse>.trasform-left-campionati,
  .row-collapse>.trasform-right-campionati{
    padding: 0 15px !important;
    transform: translateY(-45px);
    z-index: 6;
  }
  .strutture{
    width: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;    
  }
  h2, h1, h3{
    line-height: 1;
  }
  .section-title-mb{
    padding-top: 50px !important;
  }
  .text-alingn-left-mb{
    text-align: left !important;
  }
  .squadre-dx{
    text-align: left;
    padding: 15px 0px 15px 20px;
  }
  .squadre-sx{
    text-align: right;
    padding: 15px 20px 15px 0;
  }
  .top-sponsor .image-color img{
    filter: grayscale(0);
  }
  /* .col-contatti .col-inner{
    display: grid;
  }
  .ordine-1{
    order: -1;
  } */
   .testimonianze em{
      font-size: 16px !important;
   }
}

@media screen and (min-width: 850px) {
	.col.medium-6, .col-large-6,
	.col.medium-8,
	.col.medium-4,
	.col{
		padding-bottom: 0 !important;
	}
	.blog-news .col{
		padding-bottom: 20px !important;
	}
	.box-text-pd-0 .box .box-text{
		padding-bottom: 0 !important;
	}
    .wpcf7-form .flex-row.double .flex-col:nth-child(1) {
        margin-right: 10px;
    }
	.padding-top-bottom-35 {
		padding: 35px 0 !important;
	}	
	.lanostrarete{
		background-color: var(--bianco);
	}	
  .news-blog .post-item:nth-child(n+4){
    margin-top: 40px;
  }
  .row-sponsor .col:nth-child(n+5),
  .row-sponsor-blu .col:nth-child(n+5) {
    margin-top: 60px;
  }  
  .top-sponsor img,
  .sponsor-blu img{
    padding: 0 30px;
  }
  .col-form-contact{
    margin-top: -60px;  
    margin-bottom: -60px;
  } 
  .wpcf7-form .flex-row:not(.single) .flex-col:nth-child(1) {
      margin-right: 10px;
  }   
  .squadre-sx{
    transform: translateX(50px);
    z-index: 6;
  }
  .squadre-dx{
    transform: translateX(-50px);
    z-index: 6;   
  }
  .link-squadre{
    transform: translateX(20px);
    z-index: 6;
  }
  .link-squadre-dx{
    transform: translateX(-20px);
    z-index: 6;   
  }
  .row-strutture .col:nth-child(2),
  .row-strutture .col:nth-child(3){
    margin-bottom: 60px;
  }
}
@media only screen and (max-width: 1117px) and (min-width: 850px){
  .link-squadre .size-32{
    font-size: 1.2rem;
  }
  .squadre-sx h2{
    font-size: 1.3rem;
  }
  .trasform-left-campionati .link-squadre{
    margin-top: 0.5rem !important;
  }
}
@media (max-width: 768px) {
	.riga {
		flex-direction: column;
		gap: 40px; /* più spazio tra una “carta” e l’altra */
	}
	.column {
		width: 100%;
	}
	.overlay-right {
		display: none !important;
	}  
    .overlay-left {
        flex: 0 0 100%;
		padding-left: 15px;
    }	
}
@media screen and (max-width: 850px){
	.lanostrarete{
		padding: 15px;
	}
}
@media screen and (min-width: 1920px){
	.row, #overlay-fixed,  .container {
		max-width: 1500px !important;
	}
	.row-full-width {
		max-width: 100% !important;
	}	
	.cerchio {
		width: 330px;
		height: 330px;	
	}
}
/* Tablet */
@media (max-width: 992px) {
  .players-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 450px) {
  .players-container {
    gap:15px;
  }
  .atlete .card-info h2,
  .player-card .card-info h2{
    font-size: 18px;
  }
  .atlete .card-info .weight-500,
  .player-card .card-info .weight-500{
    font-size: 16px;
  } 
  .valore-1 { --shift:40px; }  
  .shadow-row {
      padding: 30px 10px;
  }  
}
@media (max-width: 360px) {
  #footer .weight-400{
    font-size: 16px;

  }
}
@media only screen and (max-width: 968px) and (min-width: 850px){
  #logo{
    width: 100px !important;
  }
  .link-squadre-dx{
    margin-top: 0.4rem !important;
  }
  .link-squadre-dx .size-32{
    font-size: 1.1rem !important;
  }
  .squadre-dx h2{
    font-size: 1.2rem !important;
  }
}

@media only screen and (max-width: 1320px) and (min-width: 770px){
  #overlay-fixed-wrapper{
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media only screen and (max-width: 900px) and (min-width: 770px){
  .cerchio {
      width: 200px;
      height: 200px;
  }
  .cerchio span{
    font-size: 18px;
  }
}

@media only screen and (max-width: 769px) and (min-width: 550px){
  .cerchio {
      width: 150px;
      height: 150px;
  }
  .cerchio span{
    font-size: 15px;
  }
}

@media only screen and (max-width: 1060px) and (min-width: 995px){
  .strutture {
      width: 470px;
  }
}

@media only screen and (max-width: 995px) and (min-width: 850px){
  .strutture {
      width: 400px;
  }
}
@media (min-width: 360px) {
  .overlay-left p{
    width: 70%;
  }
}