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




/*************** ADD CUSTOM CSS HERE.   ***************/
/**** Pop up form iscrizione ***/
#btn-prenotazione{
    background-color: rgba(0, 0, 0, 0.8);
    padding: 3rem 2rem !important;
    border-radius: 20px;
}

#btn-prenotazione form label{
    color: #D5FE00;
}

#btn-prenotazione form input,#btn-prenotazione form textarea,#btn-prenotazione form select{
    border-radius: 10px;
}

#btn-prenotazione form .col{
   padding-bottom: 0;
}
#btn-prenotazione form select option{
   background-color: rgba(0, 0, 0, 0.8); 
   color: white;
}

#btn-prenotazione form .wpcf7-not-valid-tip{
    background-color: red;
    color: white;
    font-weight: bold;
}

#btn-prenotazione form .wpcf7-submit{
    color: black;
    padding: 0.2rem 1.5rem;
}

#btn-prenotazione form .wpcf7-spinner{
    display: none;
}
/***************************/


/**** Bottone Whatsapp Corso Individual ****/
.wa-button-custom::before{
    content: '';
    height: 100%;
    width: 30%;
    display: block;
    background-color: #D5FE00;
    position: absolute;
    border-radius: 40px;
    top: 0;
    left: 0;
    background-image: url('https://diventerofuoriclasse.it/wp-content/uploads/2024/06/social.png');
    background-size: 2rem;
    background-repeat: no-repeat;
     border-radius:40px 0px 0px 40px;
    background-position-x: 70%;
    background-position-y: 50%;
    pointer-events: none;
}
.wa-button-custom::after{
    content: "SCRIVICI";
    height: 100%;
    width: 70%;
    display: block;
    background-color: #D5FE00;
    position: absolute;
    border-radius:0 40px 40px 0;
    top: 0;
    right: 0;
    text-align: left;
    padding-left: 1rem;
    pointer-events: none;
}
/******************************************/

.full-height-col .banner-bg.fill{
   width: 50vw !important;
}

/*** Colore loghi footer ***/
.footer-logo{
    filter: invert(97%) sepia(95%) saturate(20%) hue-rotate(46deg) brightness(104%) contrast(100%);
}
/**********************************/



/** Slider Pagina About da mobile **/
@media only screen and (max-width: 549px) {
  .page-id-10 .row.is-selected{
      width: 100vw !important;
  }
}
/******************************/

/*** Colore icone social ***/
.header-nav .social-icons.follow-icons a{
    color: black !important;
}
.social-icons.follow-icons a{
    color: white !important;
}
/***************************/
/****** STILE LINK  BANNER   ******/
.link-decoration-custom {
  text-decoration: none;
  color: white;
  font-weight: 700;
  position: relative;
	cursor: pointer !important;
	padding: 7px 1.5rem 0 1.5rem;
}

.link-decoration-custom::before {
  content: '';
  background-color: #D5FE00;
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 8px;
  z-index: -1;
  transition: all .3s ease-in-out;
}

.link-decoration-custom:hover::before {
  bottom: 0;
  height: 100%;
	
}
.link-decoration-custom:hover {
  color: black !important;
	
}
/************************/

/***  Slider Pagina About Bottoni ***/
.page-id-10 .flickity-page-dots{
    bottom: -50px !important;
}
.page-id-10 .flickity-page-dots{
	left: 10% !important;
}
.page-id-10 .flickity-page-dots .dot{
    background-color: white !important;
    padding: 0.4rem;
	border: 2px solid #D5FE00;
}
/**********************************/


.round-button-arrow{
  background-color: white;
  height: 45px;
    width: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.round-button-arrow-w{
  background-color: black;
  height: 45px;
    width: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.round-button-arrow > img, 
.round-button-arrow-w > img {
  margin: 0;
  padding: 0;
  width: 50%;
  
}
.accordion p{
    font-size: 1.15rem !important;
}
.faq-title span{
	font-weight: bold;
	font-size: 1.2rem;
}
.set-behind{
	position: relative;
top: 0;
	bottom: 0;
	z-index: -1;
}
.set-front{
	position: relative;
top: 0;
	bottom: 0;
	z-index: 2;
}
.set-behind .bg-loaded,.set-behind .banner.has-hover{
	border-radius: 15px;
}
.header-nav.header-nav-main.nav-left{
justify-content: center !important;
	
}

.br-15 img{
	border-radius: 15px;
}
/*** Rendere piu visibile il testo in grassetto ***/
b, strong {
font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0.3px 0.3px 0.3px;
    
}
/************************************************/
/**************** NEW CARD EVENTI ********************/

.event-card-section{
    padding: 0 !important;
}
.event-card-col-custom {
    background-color: red !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
   /** height: 500px; **/
     background-color: green !important;
     position: relative;
     top: 0;
     bottom: 0;
     padding: 2rem !important;
     border-radius: 15px;
}
.event-card-col-custom .col-inner{  
     padding: 1.2rem  !important;
border-radius: 15px !important;
     
}
.event-card-col-custom .event-card-bottom-col{
 position: absolute ;
 bottom: 2rem;
	left: 2rem;

}
.event-card-col-custom .event-card-bottom-col h2{
line-height: 60px !important;
}
.event-card-second-col{
    position: relative !important;
    padding: 2rem !important;
    left: -1.7% !important;
    z-index: -1;
    
}

.event-card-second-col .banner{
height: 100%;
border-radius: 15px !important;
    
}
.event-card-second-col .banner-bg{
height: 100%;
border-radius: 0 15px 15px 0 !important;
    
}
/******** BIG TABLET *********/
@media screen and (max-width: 1100px) and (min-width: 850px){
    .event-card-col-custom h2{
        font-size: 2.3rem !important;
        line-height: 30px !important;
    }
    .event-card-col-custom .event-card-bottom-col h2{
font-size: 3.5rem !important;
}
    .event-card-col-custom .event-card-bottom-col h3{
font-size: 1rem !important;
}
.event-card-col-custom {
    height: 400px !important;
}

}
/******* TEBLET ********/
@media screen and (min-width: 730px) and (max-width: 850px){
    .event-card-col-custom h2{
        font-size: 2rem !important;
        line-height: 30px !important;
    }
    .event-card-col-custom .event-card-bottom-col h2{
font-size: 2.5rem !important;
}
    .event-card-col-custom .event-card-bottom-col h3{
font-size: 1rem !important;
}
.event-card-col-custom {
    height: 300px !important;
}
.event-card-col-custom .col-inner{
    padding: 0.2rem  !important;
	border-radius: 15px !important;
}
.event-card-col-custom .button{
    font-size: 0.9rem;
    font-weight: bold;
}
}
/********* MOBILE *************/
@media screen and (max-width: 729px){
	.event-card-second-col{
		display: none !important;
	}
		.event-card-section .event-card-col-custom{
	    flex-basis: 100%;
        max-width: 100%;
	}
	.event-card-col-custom .col-inner{
    padding: 0.2rem  !important;
	border-radius: 15px !important;
}
    .event-card-col-custom h2{
        font-size: 2rem !important;
        line-height: 30px !important;
        text-align: center;
    }
    .event-card-col-custom .event-card-bottom-col h2{
font-size: 2.2rem !important;
text-align: left;

}
    .event-card-col-custom .event-card-bottom-col h3{
font-size: 1.2rem !important;

}
	.event-card-bottom-col .mt-0.pt-0.uppercase{
    line-height: 0.75;
}
.event-card-col-custom {
    height: 370px !important;
}
.event-card-col-custom .col-inner{
    padding: 0.40rem  !important;
    border-radius: 15px;
}
	.event-card-col-custom .event-card-bottom-col {

    left: .5rem; 
}
	
.event-card-col-custom .button{
    font-size: 0.9rem;
    font-weight: bold;
}
}
/***********************************************************/
/****** STILE MAPPA PAGINA ABOUT ******/

.custom-map-about{
    height: 25rem;
    width: 25rem;
    border-radius: 50%;
    
}
.custom-map-about iframe{
    border-radius: 50%;
    
}
.custom-map-about .i4ewOd-pzNkMb-haAclf{
  background-color: red !important;
  display: none !important;
}

/******  Effetto hover delle card nella homepage *******/
.custom-home-card .col-inner{
    background-color: #EAEAEA !important;
	
}

.custom-home-card:hover .col-inner{
    background-color: #232323 !important;
}

.custom-home-card:hover h3, .custom-home-card:hover p{
   color: white !important;
}
.custom-home-card h3{
   color: black !important;
}
.custom-home-card p{
    color: grey !important;
}

.round-button-arrow-w{
    background-color: black !important;
	cursor: pointer;
}
.custom-home-card:hover .round-button-arrow-w  img{
    filter: drop-shadow(16px 16px 20px red) invert(100%) !important;
}

.custom-home-card:hover .round-button-arrow-w{
    background-color: white !important;
	cursor: pointer;
}
.prox-eventi-section .col-inner .row,.custom-home-card .col-inner{
    height: 100% !important;
}
@media only screen and (max-width: 1300px) and (min-width: 850px){
    .custom-home-card h3{
    font-size: 2.8vh;
}
.custom-home-card p{
    font-size: 2.5vh;
}
.round-button-arrow-w{
    height: 35px !important;
    width: 35px !important;
}
}

/*******************************************************************************/

/*** Background delle FAQ attive ***/

.page-id-54 .accordion-title.active{
	background-color: #a19f9feb !important;
}
.page-id-54 .accordion-title.active .accordion-inner p{
	font-size: 1.2rem !important;
}

/***** SLIDER PAGINA EVENTI ******/
@media only screen and (max-width: 750px){
    .selector-events h2{
    font-size: 2rem !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
    animation: fontgrow 5s infinite;
}

.selector-events.selected-custom h2{
 font-size: 2.2rem !important;
}
}
    .selector-events h2{
    padding-top: 0.8rem;
    padding-bottom: 0.5rem;
}
 /*   .selector-events.selected-custom{
-webkit-box-shadow: 0px 3px 5px 2px #000000; 
box-shadow: 0px 3px 5px 2px #000000;
}
*/
.selector-events{
     cursor: pointer;
}
.selector-events.all-ev.selected-custom{
     background-color: #D5FE00 !important;
	border-radius: 50px;
}
.selector-events.all-ev.selected-custom h2{
    color: black;
}

.page-id-13 ol.flickity-page-dots{
    visibility: hidden;
}


.page-id-13 ol.flickity-page-dots li:last-child{
    visibility: hidden;
}
.selector-events.one-ev.selected-custom{
    background-color: #D5FE00 !important;
	border-radius: 50px;
}
.selector-events.one-ev.selected-custom h2{
    color: black;
}
/***************************************/

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.events-small-img img{
    border-radius: 15px;
    margin-bottom: -15%;
}
.events-small-card {
    position: relative;
    top: 0;
    bottom: 0;
    z-index: 2;
}

}
/***** Reviews ******/
.star-rating:before{
	color: #c3c3c3 !important;
}
.page-id-54 .star-rating span:before{
    color: #d5fe00 !important;
	    text-shadow: 1.5px 1.5px 1.5px black;
}
.page-id-54 .star-rating span:after{
    color: black !important;
}

.vedi-altro-custom a{
    text-align: center !important;

    font-size: 1.7rem;
   
}


.accordion-inner{
    padding: 0 !important;
	padding-top: 1rem !important;
}
/*******************/

/*** Button Custom ***/
.button.primary{
    color: black !important;
    font-weight: bold !important;
}
/****** Corsi Dropdown ******/
/******* NEW ******/
/*********** Mobile **********/
.mobile-corsi .hidden-btn{
   visibility: visible !important;
    height: 100% !important;
}


.mobile-corsi .corso-pill{
    margin-bottom: 1rem !important;
}
.page-id-10 .mobile-corsi .accordion-title::after,.page-id-10 .mobile-corsi .accordion-title::before{
    content: ".";
        width: 0px;
    height: 0px;
    background-color: #14632E !important;
    position: absolute;
    right: 0px !important;
    top: 0px !important;
}

.page-id-10 .mobile-corsi .accordion-title:hover {
    background-color: black;

}
.page-id-10 .mobile-corsi .accordion-title:hover span{
    color: #D5FE00 !important;
    font-weight: bold;
}
/*************************/
.corso-pill{
    padding-bottom: 1px !important;
}
.visible-btn{
     display: block !important;
}
.hidden-btn{
    display: none !important;
     height: 0px !important;
}

.close-corsi-button{
   display: none;
   font-size: 2rem !important;
   font-weight: bold;
   background-color: #d5fe00;
   color: black;
   padding: 1rem 3rem;
   border-radius: 10px;
	cursor: pointer;
 
}
.accordion-title.plain.active span:after{
    visibility: hidden;
}
.accordion-title .corsi-custom button,.corsi-custom span:after{
     visibility:  visible; 
    position: absolute; 
    top: 0.2rem; 
    left: 0; 
    content: "TROVA IL PACCHETTO GIUSTO PER TE ↓"; 
    color: BLACK;
	display: block;	
    width: 100% !important;
}

.corsi-custom button,.corsi-custom span{
   visibility: hidden;
   position: relative;
	font-size: 2rem;
	font-weight: bold;
	width: 100% !important;
}
.page-id-10 .accordion-title{
    
	text-align: center;
	padding: 1rem 0 !important;
background-color: #EAEAEA;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;

position: relative;
left: 0;
top: 0;
}
.page-id-10 .accordion-title:hover{
background-color: black;

}
.accordion-title:hover span:after{

    color: #D5FE00 !important;
}
.page-id-10 .accordion-title::before{
content: "";
width: 20px;
height: 30px;
background-color: black !important;
position: absolute;
top: -32px;
left: -.5px;

}
.page-id-10 .accordion-title::after{
content: "";
width: 20px;
height: 30px;
background-color: black !important;
position: absolute;
right: -0.5px;
top: -32px;

}
  



/*****************************/
.vedi-altro-custom i{
 visibility: hidden !important;
   
}
.last-col-custom {
  position: relative;
  top: 0;
  bottom: 0;

}
.dropdown-custom {
  position: absolute !important;
  top: 0 !important;
  right: -2% !important;
  color: red;
  height: 100% !important;
  width: 1vh !important;
  background-color:#d5fe00;
  padding: 1rem !important;
  border-radius: 0 15px 15px 0;
}
.dropdown-custom .col-inner{
  position: absolute !important;
  top: 0 !important;
  right: 1% !important;
  color: red;
  height: 100% !important;
  width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center !important;
  background-color:#d5fe00;
  padding: 1rem !important;
  line-height: 0 !important;
	
}
.dropdown-custom .col-inner h2{
  display: flex;
  justify-content: center;
  align-items: center !important;
color: black;
}
.dropdown-custom h2 {
  font-size: 2.5rem;
  margin: auto 0 !important;
  display: inline;
}

.page-id-10 .accordion-title i{
 visibility: hidden !important;
   
}
.corsi-custom button,.corsi-custom span{
	
	font-size: 2rem;
	font-weight: bold;
	display: block;
}
.page-id-10 .accordion-title{
	text-align: center;
	padding: 1rem 0 !important;
}
.dropdown-custom .col-inner h2.active{
 transform: rotate(3.142rad);
}
/***************************/


/** Modifiche di Fra **/
.plan-cards > .col {
	min-height: auto;
}

.plan-cards > .col > .col-inner {
	display: flex;
	flex-direction: column;
}

.plan-cards .card-price {
	margin-top: auto;
}

body .underlined {
	text-decoration: underline !important;
}
/**** Nuove Tabs *****/
.custom-events-tabs .tab.active span{
    font-size: 3rem !important;
    color: Black !important;
    background-color: #d5fe00;
    padding: .5rem 7rem;
    border-radius: 30rem;

    
}
.custom-events-tabs .tab span{
    font-size: 3rem !important;
    color: grey !important;
    padding: .5rem 7rem;
    border-radius: 30rem;
    transition: all .2s ease-in-out;
}

.custom-events-tabs .tab:hover span{
    color: Black !important;
    background-color: #d5fe00;
}

@media only screen and (max-width: 1025px) {
 .custom-events-tabs .tab.active span{
    font-size: 2.5rem !important;
 padding: .5rem 5rem;
}
.custom-events-tabs .tab span{
    font-size: 2.5rem !important;
 padding: .5rem 5rem;
}
}
@media only screen and (max-width: 850px) {
 .custom-events-tabs .tab.active span{
    font-size: 2rem !important;
 padding: .5rem 3rem;
}
.custom-events-tabs .tab span{
    font-size: 2rem !important;
 padding: .5rem 3rem;
}
}

@media only screen and (max-width: 550px) {
 .custom-events-tabs .tab.active span{
    font-size: 1.5rem !important;
 padding: .5rem 1rem;
 opacity: 1;
}
.custom-events-tabs .tab span{
    font-size: 1.5rem !important;
 padding: .5rem 1rem;
  background-color: lightgrey;
  opacity: .7;
}
}

/*** End Nuove tabs ***/
