@font-face {
  font-family: 'Kanit';
  src: url('../fonts/Kanit/Kanit-Thin.ttf')  format('truetype');
}
@font-face {
  font-family: 'Kanit-extrabold';
  src: url('../fonts/Kanit/Kanit-ExtraBold.ttf')  format('truetype');
}
@font-face {
  font-family: 'Kanit-semibold';
  src: url('../fonts/Kanit/Kanit-SemiBold.ttf')  format('truetype');
}
@font-face {
  font-family: 'Kanit-medium';
  src: url('../fonts/Kanit/Kanit-Medium.ttf')  format('truetype');
}




@font-face {
  font-family: 'Saira';
  src: url('../fonts/Saira_Condensed/SairaCondensed-Thin.ttf')  format('truetype');

}

@font-face {
  font-family: 'Sairasemobold';
  src: url('../fonts/Saira_Condensed/SairaCondensed-SemiBold.ttf')  format('truetype');

}


body{
  font-family: 'Kanit' !important;
  /* color: white !important; */
}

a{
  text-decoration: none !important;
}
.main-content{
  padding-top: 50px;
  padding-bottom: 50px;
}

.sairacondensed{
  font-family: 'Saira';
}

.sairasemibold{
  font-family: 'Sairasemobold';
}

.kanitextrabold{
  font-family: 'Kanit-extrabold';
}
.kanitmedium{
  font-family: 'Kanit-medium';
}
.kanitsemibold{
  font-family: 'Kanit-semibold';
}

p{
  font-size: 18px !important;
}

/*menu-dekstop*/
.menu-dekstop{
  background-color: transparent !important;
}
   /* Stili personalizzati per il menu */
   .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    margin-right: 10px;
    height: 100px !important;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1; /* Occupa lo spazio disponibile per centrare il menu */
}

.navbar-nav .nav-link {
    margin-left: 10px;
}

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}
.navbar-nav .nav-link.show{
  color: white !important;
}

.voci .nav-item {
  text-transform: uppercase !important;
}
.nav-item ul {
  width: 200px;
  border-radius: 0px 0px 20px 20px;
  padding: 10px;
}
.nav-item li a{
  font-family: 'Kanit-extrabold';
  color: #0351AA !important;
  font-size: 14px !important;
}

.nav-item li a:hover{
  color: #D0BA18 !important;
}

 #block-corsadelricordo-main-menu{
  position: relative;
  z-index: 99999;
 }
.form-inline {
    margin-left: auto; /* Sposta la barra di ricerca a destra */
}

.social-icons {
    margin-left: 20px; /* Distanza tra le icone social */
}
.voci .nav-link{
  color: white;
  font-weight: 900;
  font-style: italic;
}

.voci .nav-item:hover{
  box-shadow: inset 0px -4px 0px #D0BA18
}
.nav-item ul {
  display: none;
  position: absolute;
  background-color: white;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media(min-width: 768px){
/* Show the submenu when hovering over the parent nav item */
.nav-item:hover > ul {
  display: block;
  z-index: 999999999999;
}
}
/* Optional: Add some styling to the submenu */
.nav-item ul li {
  padding: 5px 10px;
}

/* Optional: Add some style to the link in the submenu */
.nav-item ul li a {
  color: #333;
  text-decoration: none;
}
.nav-item ul li a:hover {
  color: #007bff; /* Or any color of your choice */
}


/*header home*/
.containerheader-home{
    background-image:url('/themes/custom/corsadelricordo/img/Slider-CdR.jpg'); 
    padding-top: 226px;
    padding-bottom: 201px; 
    margin-top: -127px;
    clip-path: polygon(0% 100%, 100% 90%, 100% 0%, 0% 0%); 
    

}

.img-slider-home p{
  color: #03BFE3;
  margin-bottom: -25px;
  font-size: 20px !important;
  font-weight: 900;
}

.img-slider-home img{
  border-bottom: 3px solid;
  border-image: linear-gradient(to right, green 33.3%, white 33.3%, white 66.6%, red 66.6%) 1;
}

.countdown{
  /* background-image:url('/themes/custom/corsadelricordo/img/linea-bianca.svg');  */
  display: flex;
  justify-content: flex-end;
  padding-right: 20px; 
  height: 189px;
  margin-top: -50px;
}
/* .countdown .container{
  padding-top: 50px;
} */
.label-number{
  color: #03BFE3 !important;
  font-weight: 800;
  font-size: 20px !important;
}

.countdown .number{
  color: #0351AA;
  font-size: 50px !important;
}

.countdown .time-box{
  text-align: center;
}

.box-slider-prox-gara p{
  color: white;
  padding-left: 10px;
  padding-top: 10px;
}

.region-partenzagara img{
  width: 30px;
  margin-right: 15px;
}
.region-partenzagara{
  color: #0D2C67;
  font-weight: 800;
  margin-top: -8px;
}


.countdown .text-danger.fw-bold{
  color: #0351AA !important;
  font-style: italic;
  font-family: 'Kanit-extrabold';
  font-size: 30px !important;
}

.region-partenzagara .kanitextrabold{
  font-size: 30px !important;
  color: #0351AA;
  font-style: italic;
}

.region-partenzagara .kanitsemibold{
  color: #0D2C67;
  font-style: italic;
  margin-top: -15px;
  margin-bottom: 0px;
}

.box-slider-prox-gara{
   margin-top: 30px;
  border: 1px solid white;
  backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
background: #FFFFFF45;
border-radius: 12px;
width: 50%;
}

.box-slider-prox-gara .col-12.col-md-5{
  padding-right: 0px;
  border-left: 1px solid white;
  padding-left: 0px;
}
.inizio-gara-slider{
  border-bottom: 1px solid white;
}

.luogo-gara-home,.inizio-gara-slider{
  font-size: 15px !important;

}

.luogo-gara-home span, .inizio-gara-slider span{
  font-size: 18px !important;
  font-style: italic;

}

.label-data-gara-home{
  font-size: 18px !important;
}
.data-gara-home{
  font-size: 30px !important;
  text-transform: uppercase;
  font-style: italic;

}
.nav-link i{
  color: white;
}

/*container scopri di piu*/
.container-info-home{
  background-color: #0351aa;
}
.container-info-home img{
  width: 100% !important;
}

.btn-scopri{
  border: 1px solid white;
  width: fit-content;
  border-radius: 20px;
  padding: 4px;
  padding-left: 18px;
}
.btn-scopri a{
  color: white !important;
  text-decoration: none;
  font-size: 17px !important;
    font-style: oblique;
}

.btn-scopri img{
  width: 30px !important;
  margin-left: 15px;
}

.container-info-home h2{
  padding-bottom: 10px;
  border-bottom: 1px solid #03bfe3;
  color: white;
}

.container-info-home .kanitsemibold, .container-info-home p{
  color: white;
}

.container-info-home .sairasemibold{
  color: #03bfe3 !important;
  font-size: 18px;
} 
.container-info-home a{
  text-decoration: none !important;
}


/*Box gara home*/
.edizione-home a{
  text-decoration: none;
}

.edizione-gara:after {
  content: "";
  display: block;
  width: 100px; 
  height: 2px; 
  background-color: #0351AA;
  margin-top: 5px; 
}

.edizione-home .numero-edizione-gara{
    color: #0351AA;
    font-size: 60px !important;
    margin-bottom: 0px !important;
    font-style: italic;
    margin-top: -35px;
}
.edizione-home .edizione-gara{
  -webkit-text-stroke: 1px #0351AA; 
  font-size: 65px !important;
  color: transparent;
  font-size: 60px;
  font-style: italic;

}
.edizione-header{
  -webkit-text-stroke: 1px white; 
  color: transparent;
  font-style: italic;
}

.edizione-home .sairacondensed{
  font-size: 18px !important;
}

.second-ticket .col-8 img{
  width: 17px;
  float: left;
  margin-right: 10px;
}

.first-ticket{
  align-content: center;
  text-align: center;
  position: relative;
  height: 250px;
}
.archivio-news-btn{
  margin-top: 20px;
}
.archivio-news-btn a{
  color: #03BFE3 !important;
  text-decoration: none;
  font-size: 20px;
  font-style: italic;
}
.archivio-news-btn img{
  width: 20px;
  margin-left: 15px;
}

.km-comp-nocomp{
  border: 1px solid;
  background-color: white;
  border-radius: 12px;
  padding: 2px;
  color: #0D2C67 !important;
  font-size: 12px !important;
  font-weight:900 ;
}
.km-comp-nocomp img{
  width: 27px !important;
  display: inline !important;
  margin-right: 10px;
}
.img-cartina-italia{
  align-content: center;
  text-align: center;
}

.ticket-gara .subtitle.sairacondensed{
  text-transform: uppercase;
  color: #03BFE3;
  font-size: 15px;
  font-weight: 900;
}

.second-ticket p a, .second-ticket p.kanitextrabold{
  color: #0351AA;
  text-decoration: none;
  font-size: 30px !important;
  font-style: italic;
  text-transform: uppercase;
}

.first-ticket .kanitextrabold{
  color: #0351AA;
  font-size: 30px;
}

.first-ticket .kanitmedium{
  color: #0351AA;
  font-size: 20px;
}

.box-gare-home{
  padding-bottom: 50px;
}










/*news*/
.news-home{
  background-color: #0D2C67;
  padding-top: 100px;
  padding-bottom: 100px;
}
.news-home .pager{
  display: none !important;
}
.news-home h3{
  color: white !important;
  font-size: 18px;
}
.news-home h3 a{
  text-decoration: none !important;
  font-style: italic !important;
  text-transform: uppercase;
}

.news-home .owl-stage-outer{
  height: 400px;
}

.news-content{
  margin-top: 15px;
}
.news-content p{
  font-weight: 900;
}
.news-title{
  margin-top: 15px;
}
.news-content strong{
  color: white !important;
}
.news-content p{
  font-size: 14px !important;
  text-align: left !important;
  color: white !important;
}

.news-content p, .news-title a{
  color: white !important;
}
.news-category{
  color: #03bfe3;
}
.news-image, .news-image img{
  height: 200px;
}

.news-date{
  color: white !important;
    position: absolute;
    right: 0;
    background: #0D2C67;
    padding: 10px;
    z-index: 9999999;
}
.news-date .day{
  display: block;
  text-align: center;
  font-family: 'Kanit-extrabold';
  font-size: 30px !important;
  margin-bottom: 0px;
  height: 33px;
  margin-top: -10px !important;
}

.news-date .month{
  font-family: 'Kanit-medium';
  font-style: italic;
  font-size: 15px !important;
  margin-bottom: 0px;
  text-align: center;
}

.box-left-news-home h3{
  font-size: 70px !important;
}
.box-left-news-home h3:first-child{
  color: transparent !important;
    -webkit-text-stroke: 1px white;
}


/* .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}

.owl-prev, .owl-next {
  background-color: rgba(0, 0, 0, 0.5); 
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
}

.owl-prev {
  left: -10px;
}

.owl-next {
  right: -10px;
} */


/*Elenco neews*/
.path-news .slider-news-all, .path-new-edizione-2024 .slider-edizioni-precendenti-all,
.node-14 .slider-contatti, .node-13 .slider-contatti, .path-new-edizione-2023 .slider-edizioni-precendenti-2023,
.path-new-edizione-2022 .slider-edizioni-precendenti-2022, .path-search .slider-ricerca, .page-node-type-article .slider-gara-articolo,
.page-node-type-page .slider-pagina  {
  display: block !important;
  margin-bottom: 50px;
}

.page-node-type-gara .slider-gara, .page-node-type-pillole-di-storia .slider-gara, 
.page-node-type-article .slider-gara{
  display: none !important;
}

.page-node-type-gara .main-content, .page-node-type-pillole-di-storia .main-content,
.page-node-type-article .main-content{
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.page-node-type-pillole-di-storia h1{
  font-size: 25px !important;
}

.img-news img{
  height: 250px;
  border-radius: 12px;
  clip-path: polygon(0% 86%, 114% 100%, 100% 0%, 0% 0%);
}
.m-news{
color: #0351AA;
margin-bottom: 0px;
font-size: 16px;     
  text-align: center;
  font-weight: 900;
}
.d-news{
color: #0351AA;
margin-bottom: 0px;
font-size: 24px !important;    

}
.img-news {
  position: relative;  
}

.giorno-mese-new {
  position: absolute;
  right: 10px;       
  background-color: white;
  padding: 5px 10px;
  z-index: 10;        
}
.title-news h2{
  height: 150px;
  text-transform: uppercase;
}
.title-news a{
  font-size: 20px !important;
  text-decoration: none;
  color: #0351AA;
  font-style: italic;
}

.contenuto-news, .contenuto-news span, .contenuto-news p, .page-node-type-article p, .node-14 p,
.node-33 p, .node-27 p, .node-7 p, .node-8 p, figcaption{
  color: #0D2C67;
  font-weight: 900;
}
.node-33 p a{
  color: #0351AA;
  text-decoration: none;
  font-weight: 900;

}
.title-news p{
  color: #03BFE3 !important;
  font-weight: 900;
  font-size: 20px !important;
  margin-top: 10px;
}



/*carosello gara*/
/* .ticket {
  position: relative;
  background: url('/themes/custom/corsadelricordo/img/ticket_gara.svg') no-repeat center center;
  background-size: cover;
  border-radius: 15px;
  padding: 15px;
  color: #053c84; 
}
.ticket .date {
  font-size: 22px;
  font-weight: bold;
  text-align: left;
}
.ticket .location {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
}
.ticket .subtitle {
  font-size: 14px;
  color: #4cafb3;
  font-weight: bold;
}
.ticket .distance {
  background: white;
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: black;
}
.ticket .distance img {
  width: 16px;
  margin-right: 5px;
} */






/*partner*/
.partner .row{
  text-align: center !important;
}
.partner{
  padding-top: 50px;
  padding-bottom: 50px;
}
.partner img{
  width: 150px;
}

.partner .asi:hover{
  content: url('/themes/custom/corsadelricordo/img/ASI-hover.jpg'); 
}
.partner .coni:hover{
  content: url('/themes/custom/corsadelricordo/img/CONi-hover.jpg'); 
}
.partner .esul:hover{
  content: url('/themes/custom/corsadelricordo/img/ESUL-hover.jpg'); 
}
.partner .federat:hover{
  content: url('/themes/custom/corsadelricordo/img/federat-hover.jpg'); 
}
.partner .anvgd:hover{
  content: url('/themes/custom/corsadelricordo/img/ANVGD-hover.jpg'); 
}



/*pillole di storia*/
.pillole-storia {
  padding-top: 100px;
  padding-bottom: 100px;
}

.page-node-type-pillole-di-storia p{
  color: #0D2C67 !important;
  font-weight: 700 !important;
}

.img-centrale-pillole img{
  width: 90% !important;
}

.prima-pillola {
  margin-bottom: 40%;
}


.title-pillole{
  margin-bottom: 50px;
}

.title-pillole, .img-centrale-pillole{
  text-align: center !important;
}
.title-pillole img{
  width: 30%;
}

.number-pillola{
  color: transparent !important;
  -webkit-text-stroke: 1px #0351AA;
  font-size: 40px !important;
}

.pillola a{
  color: #0351AA;
  font-style: italic;
  padding-bottom: 10px;
  border-bottom: 1px solid #d0ba18;
  text-decoration: none;
}

.pillola p{
  color: #0d2c67;
  font-weight: 900;
}

.pillola.right{
  text-align: right !important;
}

.pillola.right .number-pillola{
  margin-left: 20px;
}
.pillola.left .number-pillola{
  margin-right: 20px;
}

.pillola-storia h3 {
  transition: color 0.3s ease, margin-left 0.3s ease;
}

.pillola-storia h3:hover, .pillola-foibe h3:hover{
  color: #03bfe3; 
  margin-left: 20px; 
}

.pillola-esuli h3:hover, .pillola-vita h3:hover{
  color: #03bfe3; 
  margin-right: 20px; 
}

.pillola-storia h3:hover .number-pillola, .pillola-foibe h3:hover .number-pillola, 
.pillola-vita h3:hover .number-pillola, .pillola-esuli h3:hover .number-pillola {
  -webkit-text-stroke: 1px #03bfe3; 
}

.pillola-storia h3:hover::before, .pillola-foibe h3:hover::before {
  content: ">";
  color: #03bfe3;
  font-weight: bold;
  margin-right: 5px; 
}

.pillola-vita h3:hover::after, .pillola-esuli h3:hover::after{
  content: "<";
  color: #03bfe3;
  font-weight: bold;
  margin-left: 5px; 
}

.box-right-news-home p{
  text-align: right;
}
.box-right-news-home p a{
  font-style: italic;
  color: white;
  font-size: 18px !important;
  text-decoration: none;
}
.box-right-news-home p a img{
  margin-left: 10px !important;
}







/*gara singola*/
.box-contenuto-gara{
  padding-bottom: 0px !important;
}
.page-node-type-gara .region.region-content, .page-node-type-pillole-di-storia .region.region-content{
  padding-left: 0px;
  padding-right: 0px;
}



.box-title-gara{
  background-color: #f3f7fb;
  padding-top: 70px;
  padding-bottom: 150px;
}
.box-title-gara .container{
  text-align: center;
}
.box-title-gara p{
  color: #03BFE3;
  font-weight: 900;
  text-transform: uppercase;
}
.box-title-gara h1{
color: #0351AA;
font-size: 70px !important;
text-transform: uppercase;
font-style: italic;
}

.box-descr-gara{
  box-shadow: 0px 0px 42px -14px rgba(0,0,0,0.75);
  border-radius: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 50px;
  padding-right: 50px;
  background: white;
  margin-top: -95px;
}

.box-descr-gara .kanitextrabold{
  color: #0351AA;
}

.box-descr-gara img {
  width: 45%;
}

.box-descr-gara .row{
  text-align: center;
}

.box-descr-gara .giorno, .box-descr-gara .mese{
  color: #0351AA;
}
.box-descr-gara .giorno{
  font-size: 60px !important;
}
.box-descr-gara .mese{
  font-size: 30px !important;
  font-weight: 900;
}
.box-descr-gara .bordo-descr-gara{
  border-right: 1px solid #707070;
}

.comp-no-comp{
  font-weight: 900;
  font-style: italic;
}

.km{
  font-size: 30px !important;
}
.box-descr-gara.container p {
  margin-bottom: 0px;
}
.box-contenuto-gara{
  padding-bottom: 100px;
}
.box-contenuto{
  margin-top: 100px;
}
.box-contenuto .nav.nav-pills{
  display: flex;
  justify-content: center;
}
.box-contenuto .nav.nav-pills .nav-item {
  margin-right: 50px;
  display: flex;
}
 .nav-pills .nav-link{
  background-color: transparent;
  color: #6b7ea2;
}
.nav-pills .nav-link.active{
  border-bottom: 3px solid #03bfe3;
  background-color: transparent;
  border-radius: 0px ;
  color: #0351AA;

}

.nav-item button{
  background-color: transparent;
  color: #0351AA;
  font-weight: 900;
  font-style: italic;
}

#regolamento h2, #percorso h2, #iscrizioni h2{
  -webkit-text-stroke: 1px #0351AA; 
  font-size: 70px !important;
  text-align: center;
  color: transparent;
}

.title-rego-comp{
  color: #0D2C67;
  text-align: center;
  font-size: 40px !important;
}
.title-rego-comp:after, .box-info h4:after, .box-premi h4:after, 
.box-gara-non-competitiva h4:after, .box-patrocini h4:after {
  content: "";
  display: block;
  width: 100px; 
  height: 2px; 
  background-color: #03bfe3;
  margin-top: 5px; 
  margin-left: auto;
  margin-right: auto;
}


.cont-rego-comp, .accordion-content p, #iscrizioni p, .box-gara-non-competitiva p,
#regolamento p, ul li, ol li{
  color: #0D2C67;
  font-weight: 900;
}
.telefono-gara, .email-gara{
  color: white !important;
}
.percorso-box p{
  color: #0D2C67;
  font-weight: 900;
  font-style: italic;
}

.faq-item h3{
  font-size: 40px !important;
  font-style: italic;
  color: #0351AA;
  text-transform: uppercase;

}
.faq-item .accordion-header{
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #cad7e6;
  display: flex;
    justify-content: space-between;
}

.faq-item .accordion-content{
  display: none;
  padding-top: 20px;
  padding-bottom: 20px;
}

.box-info .gara-indirizzo img{
  width: 40px;
  margin-right: 10px;
}

.box-info, .box-gara-non-competitiva{
  background-color: #f3f7fb;
  padding-top: 50px;
  padding-bottom: 50px;
}

.divisore-grey{
  margin-top: 50px !important;
}

.box-info h4, .box-premi h4, .box-gara-non-competitiva h4, .box-patrocini h4{
  font-style: italic;
  padding-bottom: 10px;
  /* border-bottom: 1px solid #03bfe3; */
  color: #0D2C67;
  text-align: center;
  font-size: 40px !important;
}


.box-info h3{
  font-family: 'Kanit-semibold';
  color:#0351AA;
  font-style: italic;
  font-size: 18px !important;
}

.box-info p.kanitextrabold{
  color: #0D2C67;
  font-style: italic;
}

.box-info .email-tel p{
  font-style: italic;
  padding: 20px;
  color: white;
}


.box-premi{
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-node-type-gara .field__label{
  display: none;
}

.box-premi p{
  color: #0D2C67;
  font-weight: 900;
}
.box-premi li{
  color: #0351AA;
  list-style: none;
  font-weight: 900;
}
.parag-non-comp, .table-redazione td{
  font-weight: 900;
  color: #0D2C67;
}

.slider-gara, .slider-gara-gare, .slider-gara-storia, .slider-gara-articolo{
background-image: url('/themes/custom/corsadelricordo/img/header.jpg');
padding-top: 151px;
padding-bottom: 125px;
margin-top: -126px;
}

.region-breadcrumb{
  position: absolute;
  color: white !important;
  left: 50%;
  display: none;
}

.breadcump-gara p{
  text-align: center;
  font-size: 50px !important;
  color: white !important;
  font-style: italic;
  text-transform: uppercase;
}
.breadcump-gara a{
  text-decoration: none;
  color: white !important;

}
.link-breadcump,.breadcump-gara p.sairasemibold{
  font-size: 20px !important;
  font-style: normal;
  color: white !important;
}


.telefono-gara{
background-image: url('/themes/custom/corsadelricordo/img/tel.svg');
background-repeat: no-repeat;
}

.email-gara{
  background-image: url('/themes/custom/corsadelricordo/img/mail.svg');
  background-repeat: no-repeat;

}

.sfondo-percorso-non-comp{
  background-color: #f3f7fb;
}
.sfondo-percorso-non-comp .container{
  padding-top: 70px;
  padding-bottom: 60px;

}

.sfondo-percorso-non-comp .percorso-box{
  background: white !important;
}


.km-comp-img, .km-nocomp-img{
  position: absolute;
  font-size: 30px !important;
  font-family: 'Kanit-extrabold';
  font-style: italic;
  padding: 15px;
  color: #0351AA;
}

.km-comp-img{
  background-color: white;
  bottom: 0px;
  left: 11px;
}

.km-nocomp-img{
background-color: #f3f7fb;
top: 0px;
right: 0px;
}

#percorso .img-percorso img{
  width: 100% !important;
}

.percorso-box {
  background: #EAF1FA;
  border-radius: 15px;
  position: relative;
  border: 1px solid #cbdbee;
}

.box-arrivo{
  padding: 0px 15px 15px 15px;
  border-top: 1px solid #cbdbee;
}
.box-partenza{
  padding: 15px 15px 0px 15px;
}
#percorso-gara-competitiva p, #percorso-gara-non-competitiva p{
  position: relative;
  margin-bottom: 10px !important;
  font-size: 15px !important;
}
#percorso-gara-competitiva p::before, #percorso-gara-non-competitiva p::before {
  content: "•";
  color: #03bfe3;
  font-size: 2.2em;
  position: absolute;
  left: -20px;
  top: 51%;
  transform: translateY(-50%);
}

.box-km-comp-nocomp{
  margin-top: 30px !important;
}

.tapp-prec-succ{
  margin-top: 50px;
  text-align: center;
}

.img-tap-succ, .img-tap-prec{
  width: 50%  !important;
}

.linea {
  border-left: 3px dashed #007bff;
  margin-left: 22px;
  position: absolute;
  height: calc(100% - 50px);
  top: 40px;
}
.icona {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hidden {
  display: none;
}

#percorso-gara-competitiva, #percorso-gara-non-competitiva{
  padding-left: 50px;
  height: 200px; 
  overflow-y: auto;
}

/* Stile base della scrollbar */
#percorso-gara-competitiva::-webkit-scrollbar,
#percorso-gara-non-competitiva::-webkit-scrollbar {
  width: 8px; /* Larghezza della scrollbar */
  border-radius: 12px !important;
}
/* Nascondere le freccette della scrollbar */
#percorso-gara-competitiva::-webkit-scrollbar-button,
#percorso-gara-non-competitiva::-webkit-scrollbar-button {
  display: none; /* Rimuove le freccette */
}
/* Sfondo della scrollbar */
#percorso-gara-competitiva::-webkit-scrollbar-track,
#percorso-gara-non-competitiva::-webkit-scrollbar-track {
  background: #a2b0c3 !important; /* Colore del track */
  border-radius: 12px !important; /* Bordi arrotondati */
}

/* Maniglia della scrollbar */
#percorso-gara-competitiva::-webkit-scrollbar-thumb,
#percorso-gara-non-competitiva::-webkit-scrollbar-thumb {
  background: #0351aa !important; /* Colore della maniglia */
  border-radius: 10px !important; /* Bordi arrotondati */
}

/* Stile per Firefox */
#percorso-gara-competitiva,
#percorso-gara-non-competitiva {
  scrollbar-width: thin; /* Riduce la larghezza della scrollbar */
  scrollbar-color: #0351aa transparent;
}

.perc-noncomp, .perc-comp{
  font-size: 40px !important;
}

.arrivo-title, .partenza-title, .table-la-storia h3, .page-node-type-pillole-di-storia span, .node-115 h3 {
  font-family: 'Kanit-extrabold';
  color: #0351AA !important;
  font-style: italic;
}

.page-node-type-pillole-di-storia span.toggle-icon{
  color: white !important;
}

/*edizioni precedenti con gallery*/
.field--name-field-foto{
  width: 100% !important;
}

.field--name-field-foto .field__item{
  width: 30% !important;
  text-align: center !important;
  float: left !important;
  margin-bottom: 30px;
}
.field--name-field-colonna-sx{
  width: 60% !important;
}



/*la storia*/
.table-la-storia img{
  width: 60%;;
}
.table-la-storia .row, .node-115 .row{
  margin-bottom: 100px;
}
.table-la-storia .row .col-12.col-md-6:nth-child(2){
  text-align: center;
}



/*redazione*/
.table-redazione thead th{
  background-color: #0351aa;
  color: white;
}







/* Stile generale del footer */
footer {
    background-color:#0351aa ;
    padding: 100px 0 20px 0px;
    color: white !important;
    border-top: 3px solid;
    border-image: linear-gradient(to right, green 33.3%, white 33.3%, white 66.6%, red 66.6%) 1;
  }
  
  /* Logo e testo */
  .footer-logo {
    width: 330px; /* Regola la dimensione del logo */
    margin-bottom: 10px;
  }
  
  
  
  /* Icone social */
  .social-icons img {
    width: 35px; /* Dimensione delle icone social */
    margin-right: 10px;
  }
  
  /* Newsletter */

  
  .newsletter-form {
    display: flex;
    align-items: center;
  }
  
  .newsletter-form input[type="email"] {
    padding: 5px;
    border-radius: 4px;
    margin-right: 10px;
  }
  
  .newsletter-form button {
    padding: 15px 20px;
    background-color: #0d2c67; /* Colore del pulsante */
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Kanit-extrabold';

  }
  
  .newsletter-form button:hover {
    background-color: #0056b3; /* Colore al passaggio del mouse */
  }
  
  .privacy-text {
    font-size: 12px !important;
    margin-top: 5px;
    color: white !important;
  }
  
  /* Link del footer */
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  .footer-links li a{
    margin-right: 15px;
    font-size: 18px !important;
    font-family: 'Kanit-semibold';
    font-style: italic;
    color: white !important;
    text-decoration: none !important;

  }
  
  /* Crediti */
  .credits {
    font-size: 14px !important;
    text-align: right;
    color: white !important;
  }
  .credits a{
    color: #03BFE3 !important;
    text-decoration: none;
  }
  .footer-links-row{
    padding-top: 30px;
    border-top: 1px solid white;
  }

  .newsletter-form {
    padding: 8px 12px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    border: 1px solid white;
}

.email-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.transparent-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    width: 100%;
}

.transparent-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

button {
    border-radius: 25px;
    padding: 10px 20px;
    border: none;
    background-color: #1e3a8a;
    color: white;
}


/*news singola*/
.page-node-type-article .region.region-content{
  padding: 0px !important;
}

.box-single-news{
margin-top: 100px;
  
}
.field--name-field-image img{
  margin-bottom: 50px;
}
span.bredcump-news-single{
  color: #03BFE3 !important;
}

.title-page-news-single{
    font-size: 70px !important;
    text-align: center !important;
    color: white !important;
}

.col-3.first-ticket:after {
  content: '';
  border-radius: 100%;
  color: white;
  position: absolute;
  top: -6px;
  border: 12px solid;
  right: -14px;
}

.col-3.first-ticket::before {
  content: '';
  border-radius: 100%;
  color: white;
  position: absolute;
  bottom: -7px;
  border: 12px solid;
  right: -13px;
}
.col-3.first-ticket{
  border-right: 3px dashed white;
}
.ticket-gara{
  background-color: #e7eef7;
  border-radius: 15px;
}

.second-ticket{
  padding: 20px;
  height: 250px;
  align-content: center;
}

.vista-gare .ticket-gara{
  margin-bottom: 50px;
}

.view-header{
  text-align: center;
  font-family: 'Kanit-extrabold';
  color: #0351AA;
  font-style: italic;
}
.view-header p{
  font-size: 70px !important;

}
.box-patrocini{
  padding-top: 50px !important;
}
.box-patrocini img{
  max-width: 100px !important;
}
.img-patrocini-partner{
  align-items: center;
  text-align: center;
}
.box-patrocini h4 {
  text-align: center;
  color: #0D2C67;
  margin-bottom: 50px;
}

.box-patrocini p.kanitextrabold{
  font-size: 18px !important;
  color: #0D2C67;
}

.box-patrocini p.kanitsemibold{
  font-size: 25px !important;
  color: #0351AA !important;
}

.border-bottom-patrocini{
  border-bottom: 2px solid #0351AA;
}
.riga-patrocini{
  margin-bottom: 100px;
}

/*pillole di storia*/
.title-page-news-single{
  font-size: 50px !important;
}
.node-113 .box-single-news img, .node-114 .box-single-news img, .node-115 .box-single-news img{
  width: 100% !important;
}



/*ricerca form*/
#search-container {
  display: none;
}

#search-toggle {
  cursor: pointer;
  display: inline-block;
  margin-left: 15px;
}

#search-toggle img {
  width: 40px;
  height: auto;
}

#edit-keys{
  width: 75% !important;
}

.path-search .main-content, .page-node-type-page .main-content{
  margin: 0 auto;
  width: 80%;
}

.path-search h3{
  font-family: 'Kanit-extrabold';
}

.path-search h3 a{
  color: #0351AA;
  font-style: italic;
  text-decoration: none;
}

.path-search .search-result__snippet{
  color: #0D2C67;
}

.alert.alert-error.alert-danger{
  display: none;
}

.path-search .search-form{
  display: none !important;
}

.title-contatti{
  font-family: 'Kanit-extrabold';
  color: #0351AA;
  text-transform: uppercase;
}

.data-completa-pros-gara{
  display: none;
}


/*HOME*/
@media(max-width:768px){
  .first-ticket .kanitextrabold{
    font-size: 20px !important;
  }
  .edizione-home .edizione-gara{
    margin-top: -30px;
  }
  .region-gara{
    margin-top: 30px;
  }
  .containerheader-home{
    padding-bottom: 140px !important;
    clip-path: none !important
  }
  .luogo-gara-home, .inizio-gara-slider{
    width: 50%;
    float: left;
    text-align: center;
  }
  .inizio-gara-slider{
    border-bottom: none;
  }
  .data-gara-home{
    text-align: center;
  }

  .box-slider-prox-gara .col-12.col-md-5{
    border-top: 1px solid white;
  }
  #search-toggle{
    display: none;
  }
  .slider-gara, .slider-gara-gare, .slider-gara-storia, .slider-gara-articolo{
    background-size: cover;
    background-position: center;
  }

  .containerheader-home{
    padding-top: 150px !important;
  }

.img-slider-home{
  text-align: center !important;
}
.img-slider-home img{
  width: 80% !important;
}

.box-slider-prox-gara{
  width: 80% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 100px !important;
}
.container-info-home .btn-scopri{
  margin-bottom: 50px !important;
}
.countdown{
  justify-content: flex-start !important;
  margin-top: 0px !important;
  padding-right: 0px !important;
}
.countdown .container{
  justify-content: center !important;
}
.countdown .number{
  font-size: 35px !important;
}


.pillola.right{
  text-align: center !important;
}
.pillola.right:first-child{
  margin-top: 25px !important;
}
.pillole-storia, .news-home {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}
.title-pillole img{
  width: 70% !important;
}
.prima-pillola{
  margin-bottom: 20px !important;
}
.box-left-news-home h3{
  font-size: 40px !important;
}
.pillola.right .number-pillola{
  margin-left: 0px !important;
}
.pillola{
  text-align: center !important;
}
}

@media(max-width: 768px){
/*gara singola*/
.box-descr-gara{
  width: 80% !important;
}
.box-descr-gara .giorno{
  font-size: 45px !important;
}
.box-descr-gara .mese{
  font-size: 20px !important;
  margin-bottom: 30px;
}

.box-km-comp-nocomp .col-12.col-md-6, .box-patrocini h4{
  margin-bottom: 30px !important;
} 

.box-descr-gara .bordo-descr-gara{
  border-bottom: 1px solid !important;
  border-right: none !important;
}

.box-descr-gara img{
  margin-top: 30px;
}
.box-contenuto .nav.nav-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Permette di adattarsi su mobile */
}

.box-contenuto .nav.nav-pills .nav-item {
  margin: 10px; /* Aggiunge un po' di spazio */
  display: flex;
  flex-direction: column; /* Mantiene l'icona sopra il testo */
  align-items: center; /* Centra il contenuto */
}

.box-contenuto img.icon {
  width: 45px !important;
}
#regolamento h2, #percorso h2, #iscrizioni h2{
  font-size: 45px !important;
}
.title-rego-comp{
  font-size: 20px !important;
}
.title-rego-comp{
  font-size: 20px !important;
}
.faq-item h3{
  font-size: 20px !important;
}
.faq-item img.icon , .box-info img{
  width: 30px !important;
}
.box-info h4, .box-premi h4, .box-gara-non-competitiva h4, .box-patrocini h4{
  font-size: 20px !important;
}

.box-patrocini img {
  width: 100% !important;
  padding-top: 20px !important;
}
.img-percorso{
  margin-top: 50px !important;
}
#arrow-icon-nocomp, #arrow-icon-comp{
  width: 25px !important;
}
}

/*elenco gare*/
@media(max-width: 768px){
  .view-header{
    font-size: 50px !important;
  }
  .second-ticket{
    padding: 13px !important;
  }
  .img-cartina-italia img{
    width: 90% !important;
  }
  .second-ticket .kanitextrabold{
    margin-bottom: 0px !important;
  }
  .km-comp-nocomp{
    margin-bottom: 10px !important;
  }
}



/*footer*/
@media(max-width:768px){
  .footer-links li a{
    font-size: 12px !important;
  }
  .credits{
    text-align: center !important;
    margin-top: 30px !important;
  }
  .social-icons{
    margin-left: 0px !important;
    text-align: center !important;
    margin-bottom: 30px;
    margin-top: 30px !important;
  }
  footer{
    padding: 40px 0px !important;
    padding-bottom: 0px !important;
  }
}



@media(min-width: 768px){
  .mobile{
    display: none;
  }
  .dekstop{
    display: block;
  }
  .box-title-gara p  {
    font-size: 20px !important;
  }
  }

@media(max-width: 768px){
.mobile{
  display: block;
}
.dekstop{
  display: none;
}

.slider-gara, .slider-gara-gare, .slider-gara-storia, .slider-gara-articolo{
  margin-top: 0px !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}
.km-comp-nocomp img{
  width: 17px !important;
  margin-right: 5px !important;
}

footer{
  text-align: center;
}
}


.owl-theme .owl-dots .owl-dot span{
  background-color: #f0eab7!important;

}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span{
  background-color: #D0BA18 !important;
}


@media(min-width: 768px) and (max-width: 1560px){
  .countdown{
    height: 280px;
    margin-top: -145px !important;
  }
  .countdown .container{
    padding-top: 100px;
  }
  .box-slider-prox-gara{
    width: 450px;
  }
  .img-cartina-italia img{
    width: 100% !important;
  }
}


/*menu mobile*/
@media(max-width:768px){

  /*menu*/
#block-corsadelricordo-main-menu .container-fluid, #block-corsadelricordo-main-menu .container{
  background: #0d2c65;
  padding: 0px !important;
}
.voci .nav-item:hover{
  box-shadow: none !important;
}
.nav-item ul{
  border-radius: 0px !important;
}

.voci li{
  border-bottom: 1px solid white;
  padding-top: 15px;
  padding-bottom: 15px;
}
.navbar-brand{
  padding-left: 15px;
}
.navbar-toggler{
  margin-right: 15px;
}
.nav-item ul {
position: static !important;
width: 100%;

}
.navbar-nav.social-icons{
  display: block;
  margin-top: 20px;
}
.navbar-nav.social-icons li{
  width: 33% !important;
  float: left;

}
.toggle-icon {
  display: inline-block;
  font-style: normal !important;
  margin-left: 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 40px !important;
  color: white;
}
.voci .nav-link{
  display: flex;
      justify-content: space-between;
      align-items: center;
}
.navbar-toggler {
  border: none !important; /* Bordo bianco con opacità */
}
.navbar-toggler:focus {
  box-shadow: none; /* Rimuove il bordo e l'effetto di focus */
  outline: none; /* Rimuove il contorno */
}

.navbar-toggler-icon {
  filter: invert(1); /* Inverte i colori, utile se l'icona è scura */
}
}

@media (min-width: 768px) {
  .toggle-icon {
      display: none; 
  }
  .edizione-home .edizione-gara{
    margin-top: -35px !important;
  }
}


/*newsletter*/
#edit-subscriptions-wrapper, #edit-message, .captcha__description.description, #edit-mail-0-value--description,
 #edit-captcha-response--description, .captcha__title{
  display: none !important;
}
.region-newsletter #edit-submit{
background-color: #0D2C67;
padding: 10px;
font-family: 'Kanit-extrabold' !important;
border-radius: 30px;
font-size: 16px !important;
text-transform: uppercase;
}
#edit-mail-wrapper .js-form-item{
  margin: 0px !important;
}
.field--name-mail input::placeholder {
  color: white;
  opacity: 1; 
}
.region-newsletter .form-control{
  background: transparent;
  padding: 15px 25px;
  border-radius: 29px;
  color: white;
  font-weight: 900;
  padding-left: 40px;
}
.region-newsletter #edit-actions{
  position: absolute;
  top: -11px;
  right: 4px;
}
.region-newsletter{
  position: relative
}

p.newsletter-title {
  font-family: 'Kanit-extrabold';
  font-size: 30px !important;
  margin-bottom: 10px;
  font-style: italic;
  color: white !important;
}

p.logo-text {
  font-size: 18px !important;
  font-family: 'Kanit-semibold';
  color: white !important;
}

p.credits{
  color: white !important;
}


.messages--error.messages-list__item, .messages--error{
  display: none !important;
}

.field--name-mail {
  position: relative;
}

.field--name-mail input {
  padding-left: 40px; /* Spazio per l'icona */
}

.field--name-mail::before {
  content: "";
  background: url('/themes/custom/corsadelricordo/img/email_footer.png') no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.region-newsletter .js-form-type-email label{
  display: none;
}

.tondo-patrocini{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  border: 1px solid rgba(217, 236, 247, 0.37);
  position: relative;
  margin: 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 5px 5px 15px 5px rgba(217, 236, 247, 0.37);
  background-size: contain;
}

@media(max-width: 768px){
  .tondo-patrocini{
    width: 100px;
    height: 100px;
  }
}

.news-item {
  position: relative;
  overflow: hidden;
}

.news-image {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.news-image img {
  transition: all 0.3s ease-in-out;
  clip-path: polygon(0% 90%, 100% 100%, 100% 0%, 0% 0%);
}

.news-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 255, 0); /* Inizialmente trasparente */
  transition: background 0.3s ease-in-out;
  z-index: 1;
}

.news-item:hover .news-image::before {
  background: rgb(15 15 110 / 61%); /* Blu chiaro in hover */
  clip-path: polygon(0% 92%, 100% 100%, 100% 0%, -15% -1%);

}

.news-item:hover .news-image img {
  filter: brightness(1.2);
  transform: scale(1.02); /* Leggero zoom */
}

.page-node-type-article .box-single-news p{
  font-family: 'Kanit' !important;
  color: #0D2C67 !important;
  font-weight: 700 !important;
}

.page-node-type-gara .region.region-content{
  padding-bottom: 100px !important;
}

a.link-breadcump{
  color: #03BFE3 !important;

}

.path-news .views-view-grid .col-12.col-sm-12.col-md-6{
  margin-bottom: 50px !important;
}

.data-gara-completa{
  display: none !important;
}