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

/*************** ADD CUSTOM CSS HERE.   ***************/
blockquote {
    color: #ffffff !important;
}


.sportspress table.sp-league-table.sp-data-table td{
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.orange-hover a:hover{
    color: #ea5917 !important;
}


.home-jumbo-next-matches-navidation .button.active span{
    background-color: #1d2748 !important;
}

/***** Dropdown nav *****/
.sub-menu.nav-dropdown.nav-dropdown-default li > a,.sub-menu.nav-dropdown.nav-dropdown-default.nav-dropdown>li:last-child:not(.nav-dropdown-col)>a {
          border: 0;
    display: inline-block;
     border-bottom:  2px solid transparent !important;
     line-height: 0;
     margin-bottom: .5rem;
}

.sub-menu.nav-dropdown.nav-dropdown-default li > a:hover,.sub-menu.nav-dropdown.nav-dropdown-default.nav-dropdown>li:last-child:not(.nav-dropdown-col)>a:hover{
    border-bottom:  2px solid white !important;
} 
/***** END Dropdown nav *****/
/*** Utility ***/
/** Header with centerd nav **/
@media screen and (min-width: 851px){
   #header .nav-left{
    width: auto;
gap: .8rem;
    position: relative;
    z-index: 2;
   pointer-events: auto; 
}
	#header .nav-left a{
		cursor: pointer;
	}
.header-inner .flex-col.hide-for-medium.flex-left.flex-grow{
    width: 100vw !important;
    position: absolute;
    left: 0;
pointer-events: none;
    display: flex;
    justify-content: center !important;
    z-index: 1;

}
}
/** END Header with centerd nav **/

.tabbed-content.home-matches .panel.entry-content{
    position: relative;
    z-index: 2;
}

*{
    text-shadow: none !important;
}

.cstm-pr1{
	padding-right: 1rem;
}
.cstm-pr2{
	padding-right: 2rem;
}
.cstm-pr3{
	padding-right: 3rem;
}
.cstm-pr4{
	padding-right: 4rem;
}
.cstm-pr5{
	padding-right: 5rem;
}
@media (max-width: 549px) {
.cstm-pr1{
	padding-right: 0rem;
}
.cstm-pr2{
	padding-right: 0rem;
}
.cstm-pr3{
	padding-right: 0rem;
}
.cstm-pr4{
	padding-right: 0rem;
}
.cstm-pr5{
	padding-right: 0rem;
}
}
.sub-menu.nav-dropdown::before{
   content: "";
   height: 100%;
   width: 150vw;
   background-color: #ea5917;
   display: inline;
   position: absolute;
   top: 0;
   left: -70vw;
z-index: -1;
}

.sub-menu.nav-dropdown{

    top: 64px;
}


.stuck .sub-menu.nav-dropdown{
    top: 55px;
}
.comment-form label{
    color: white !important;
}

.comment-form .form-submit .submit{
    background-color: #ea5917;
}


   .blog-wrapper > .row > .col.large-11 {
        flex-basis: 90% !important;
        max-width: 90% !important;
    }
.current-img-uploaded{
    padding-left: 10%;
    padding-right: 10%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
 @media screen and (max-width: 550px) {
 .last-four-news .image-cover{
        padding-top: 240px !important;

}
 .last-four-news h3,.last-four-news p{
       font-size: 19px;

}
}
 @media screen and (min-width: 551px ) and (max-width: 850px) {
 .last-four-news .image-cover{
        padding-top: 280px !important;

}
}

/**** Home next events Jumbo Cards ****/
.next-match-card .h5-next{
    font-size: 1.8rem;
    margin: 0;
padding: 0;
line-height: 0;
}

.next-match-card .teams-names{
    font-size: 1.7rem;
}

.next-match-card .teams-names span{
    font-size: 1.5rem;
    margin-left: .3rem;
     text-transform: uppercase !important;
}

.next-match-card .next-events-info{
    font-size: 1rem !important;
}

.next-match-card .next-event-campionato{
    font-size: 1.3rem;
    color: #ea5917 !important;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
     line-height: 0;
}




.jumbo-section .section-content{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

.jumbo-section .section-content{
    display: flex;
    justify-content: end;
}


.teams-names{
    text-transform: uppercase;
	font-size: 1.5rem  !important;
}
.prossime-partite-jumbo .banner:hover{
    background-color: #ea5917 !important;
    transition: all .5s ease-in-out;
}

.prossime-partite-jumbo .banner:hover .next-event-campionato,.prossime-partite-jumbo .banner:hover  .teams-names span{
    color: #151d36 !important;
    transition: all .5s ease-in-out;
}

.home-jumbo-next-matches-navidation span{
    background-color: #ea5917 !important;
    padding: .3rem 1.7rem .3rem .3rem !important;
    color: white;
}


.home-jumbo-next-matches-navidation span:hover{
    background-color: #1d2748 !important;
    color: white;
}


.home-next-matches-element .flickity-page-dots{
    opacity: 0;
}



 .home-next-matches-element{
max-width: 50%;

}



@media only screen and (max-width: 550px) {
 .home-jumbo-next-matches-navidation span{
text-wrap: nowrap;
font-size: .88rem;
letter-spacing: -1px;
}
 .home-next-matches-element{
width: 100%;
max-width: 100%;


}
.next-match-card .teams-names{
    font-size: 1.3rem !important;
}
.next-match-card .teams-names span{
    font-size: 1.2rem  !important;
}

.next-match-card .h5-next{
    font-size: 1.6rem !important;

}
}
@media only screen and (max-width: 550px) {
 body .home-jumbo-next-matches-navidation span{
   
    padding: .3rem 1.65rem .3rem .3rem !important;
 }
}
@media only screen and (max-width: 850px) and (min-width: 551px) {
 body .home-jumbo-next-matches-navidation span{
   
    padding: .3rem 1rem .3rem .3rem !important;
 }
}

/**** END Home next events Jumbo Cards ****/
.home-matches > .nav.nav-line {
    z-index: 1;
}

/*** Next matches Home Tabs ***/
.home-matches > .nav.nav-line{
    gap: 2rem;
  
}
.home-matches > .nav.nav-line li span{
 height: 100%;
    color: white !important;
    padding-bottom: 1.7rem;
	    font-size: 25.6px;
}
@media (max-width: 549px) {
.home-matches > .nav.nav-line li span{
        font-size: 19.2px !important;
    }
}
.home-matches > .nav.nav-line li a:before{

    background-color: #fff;
    top: calc(100% - 1.1rem);
}

.home-matches > .nav.nav-line::after{
   content: "";
   height: 1px;
   width: 100vw;
   background-color: rgb(183, 183, 183);
   position: absolute;
   display: block;
   top: 80%;
   right: 0;
}
/*** END Next matches Home Tabs ***/

/***** Organigramma ******/
.organigramma-card .overlay{
 height: 80% !important;
 background-color: red;
 position: absolute;
 top: 20% !important;
  background: rgb(234,89,23);
background: linear-gradient(0deg, rgba(234,89,23,1) 0%, rgba(234,89,23,0) 60%);
opacity: 0;
  transition: opacity 500ms ease-in-out;
    -webkit-transition: opacity 500ms ease-in-out;
    -moz-transition: opacity 500ms ease-in-out;
    -ms-transition: opacity 500ms ease-in-out;
    -o-transition: opacity 500ms ease-in-out;
}
.organigramma-card:hover .overlay{
     opacity: 1;

}

.slider-style-container .flickity-slider>:not(.is-selected){
    opacity: 1 !important;
}

.organigramma-card h2{
    line-height: 1.8rem !important;
}
/****************************/
/*** Cards team effect ***/
.team-cards-width-effect .col:hover{
        flex-basis: 45%;
        max-width: 45%;

}

.team-cards-width-effect .col:not(:hover){
        flex-basis: calc(50% / 4);
        max-width: calc(50% / 4);
     
         transition: all 0.7s ease-in-out;
}


/* Se nessuna col è in hover, la prima col prende 50% */
.team-cards-width-effect:not(:has(.col:hover)) .col:first-child {
    flex-basis: 45%;
    max-width: 45%;
}
.team-cards-width-effect{
       flex-flow: nowrap !important;
}

.team-cards-width-effect .col{
         transition: all 0.7s ease-in-out;  
}

/*** Cards team effect ***/
.team-cards-width-effect .col:not(:hover) .text-box .text{
       opacity: 0 !important;
}
.team-cards-width-effect:not(:has(.col:hover)) .col:first-child .text-box .text{
    opacity: 1 !important;
}
.team-cards-width-effect .col .text-box .text{
         transition: opacity .75s ease-in-out;  
}

.team-cards-width-effect .col:hover .overlay{
    height: 50%;
    position: absolute;
    bottom: 0% !important;
    top: auto;
    background: rgb(234, 89, 23);
    background: linear-gradient(0deg, rgba(234, 89, 23, 1) 0%, rgba(234, 89, 23, 0) 100%);
}
.team-cards-width-effect .col .overlay{
    height: 0%;
    transition: height .6s ease-in; 
}
.team-cards-width-effect:not(:has(.col:hover)) .col:first-child .overlay{
    height: 50%;
    position: absolute;
    bottom: 0% !important;
    top: auto;
    background: rgb(234, 89, 23);
    background: linear-gradient(0deg, rgba(234, 89, 23, 1) 0%, rgba(234, 89, 23, 0) 100%);
}

.team-cards-width-effect .col:hover img{
filter: grayscale(100%) blur(1px);
    
}
.team-cards-width-effect:not(:has(.col:hover)) .col:first-child img{
filter: grayscale(100%) blur(1px);
    
}

.team-cards-width-effect .col  img{
filter: grayscale(0%) blur(1px);
 transition: filter .6s ease-in; 
    
}
/*** END Cards team effect ***/
/*** Pagina singola squadra ***/
.team-page-tabs .tab-panels {
    background-color: #1d2748;
    position: relative;
    width: 100%!important;
    left: 0 !important;
    top: 100%;
   /* left: calc(50% - 50vw) !important;*/
}

.tab-panels::before{
    content: "";
    height: 100%;
    width: 120vw;
    background-color: #1d2748;
    position: absolute;
    top: 0;
    right: 0px;
    z-index: -1;
    left: -150px;;
}

.team-page-tabs.tabbed-content {

    position: relative;
    left: 0;
    right: 0;
}

.team-page-tabs .box-image-inner {
    height: 360px !important;
}
@media only screen and (max-width: 850px) {
 .team-page-tabs .box-image-inner {
    height: 270px !important;
}
}
@media only screen and (max-width: 550px) {
 .team-page-tabs .box-image-inner {
    height: 320px !important;
}
}
.team-member-custom-card:hover .overlay{
    height: 60%;
    background: linear-gradient(0deg, rgba(234,89,23,1) 0%, rgba(234,89,23,0) 100%);
}
.team-member-custom-card .overlay{
    
 background-color: transparent !important;
    bottom: 0;
    top: 40%;
     transition: all .5s ease-in-out;
}

.team-page-tabs .nav-line-bottom{
    gap: 1rem;
}
.team-page-tabs .nav-line-bottom span{

    color: #1d2748;
    padding-bottom: 1rem;
}
@media only screen and (max-width: 550px) {
 .team-page-tabs .nav-line-bottom span{
 font-size: 12px;
    color: #1d2748;
    padding-bottom: .5rem;
}
.team-page-tabs .nav-line-bottom{
    gap: .8rem;
    justify-content: center;
}
}
.team-member-custom-card:hover h4{
	opacity: 1;
	filter: blur(0px);
	left: 10px !important;
}
.team-member-custom-card h4{
    opacity: 0;
    filter: blur(10px);
    transition: all .5s ease-in-out;
        left: -20%;
    position: relative;
}

.team-member-custom-card{
    overflow: hidden;
}
/*** END Pagina singola squadra ***/
/** Sponsor **/
.team-page-tabs.sponsor .nav-line-bottom span {
    color: #fff;
    padding-bottom: 1rem;
}

.team-page-tabs.sponsor .nav-line-bottom>li>a:before, .nav-line-grow>li>a:before, .nav-line>li>a:before {
    background-color: #fff;
}

.team-page-tabs.sponsor .tab-panels {
   border-top: 1px solid grey;
}
/** END Sponsor **/



 /** Archivio Blog **/
.blog-archive #post-list > .row{
    width: 100% !important;
    max-width: 100%;
      margin-left: 0px; 
     margin-right: 0px;
}

.blog-archive #post-list > .row .image-cover{
    padding-top: 140% !important;
}

.blog-archive #post-list > .row .image-cover img{
   object-fit: cover !important;
}

.blog-archive #post-list > .row{
  
}
.blog-archive #post-list .post-item{
    padding-left: 2px;
    padding-right: 2px;
}

.blog-archive #post-list .box-text-inner.blog-post-inner{
    padding-left: .7rem;
    padding-right: 1rem;
}

/*** Claendario ***/
.sp-event-blocks .logo-odd {
    display: flex;
    width: 30% !important;
    gap: 1.5rem;
    align-items: center;
    max-width: 25% !important;
    position: relative;
    top: 10px;

    
}
.sp-event-blocks .logo-even {
    display: flex;
    width: 30% !important;
    gap: 1.5rem;
    align-items: center;
    max-width: 25% !important;
    flex-direction: row-reverse;
        position: relative;
top: 10px;
}

.sp-event-blocks .logo-odd img,.sp-event-blocks .logo-even img{
width: 70px !important;
height: 70px !important;
max-width: 70px;
    max-height: 70px !important;

    object-fit: contain;
  /*  border-radius: 999rem;*/
}
.sp-event-blocks.sp-data-table tr{
    border: 2px solid white !important;
    border-left: 0 !important;
    border-right:  0 !important;
}
.sp-event-blocks.sp-data-table td{
padding-bottom: 5550px !important;
}

.sp-event-blocks.sp-data-table .sp-event-date{
   font-size: .8rem !important;
    color: white !important;
}
.sp-event-blocks.sp-data-table .sp-event-league{
    font-size: 1rem;
}
.sp-event-blocks.sp-data-table .sp-event-results .sp-result {
    font-weight: 600 !important;
    font-size: 1.5rem;
    margin-top: .3rem !important;
    margin-bottom: .3rem !important;
	font-family: "Bai Jamjuree" !important;
}
.sp-event-blocks.sp-data-table .sp-event-date{
    margin-bottom: 0 !important;
}
@media screen and (max-width: 550px){
   .sp-event-blocks.sp-data-table .team-name-custom{
       display: none !important;
   }
   
   .sp-event-blocks .logo-odd img,.sp-event-blocks .logo-even img{
width: 80% !important;

}

}

#footer a{
	color: white;
}


#footer a:hover{
	color: #1d2748;
}

.match-scorsi-row .col-inner{
    position: relative;
    top: 0;
    left: 0;
}

.match-scorsi-row  .text-box{
    height: 100% !important;
width: 100% !important;
padding: 1.4rem;


}

.match-scorsi-row .text-box-content{
    position: relative;
    height: 100% !important;
    width: 100% !important;

}

.match-scorsi-row .league-name{
    position: absolute;
    top: 10px;
    text-transform: uppercase;
    font-size: 1.2rem;
}
.match-scorsi-row .played-teams-names{
    font-size: 1.6rem;
    padding-right: 1rem;
}

.match-scorsi-row .played-points{
    font-size: 1.5rem;
}
.match-scorsi-row .match-info{
        position: absolute;
    bottom: 10px;
    text-transform: uppercase;
    font-size: 1rem;
    width: 100%;
}

.match-scorsi-row .banner{
	width: 99% !important;
}

.match-scorsi-row .event-date{
    font-size: 1rem;
}


@media only screen and (max-width: 850px) {
   
    .match-scorsi-row .league-name{
        position: absolute;
        top: 10px;
        text-transform: uppercase;
        font-size: 1rem;
        line-height: 1rem;
    }
    .match-scorsi-row .played-teams-names{
        font-size: 1rem;
        padding-right: 1rem;
    }
    
    .match-scorsi-row .played-points{
        font-size: 1.2rem;
    }
    .match-scorsi-row .match-info{
        position: absolute;
        bottom: 10px;
        text-transform: uppercase;
        font-size: 1rem;
        width: 100%;
    }
	.match-scorsi-row .event-date{
    font-size: .8rem;
}

  }

  @media only screen and (max-width: 550px) {
    
    .match-scorsi-row .league-name{
        position: absolute;
        top: 10px;
        text-transform: uppercase;
        font-size: 1.2rem;
        line-height: 1rem;
    }
    .match-scorsi-row .played-teams-names{
        font-size: 1.3rem;
        padding-right: 1rem;
    }
    
    .match-scorsi-row .played-points{
        font-size: 1.5rem;
    }
    .match-scorsi-row .match-info{
        position: absolute;
        bottom: 10px;
        text-transform: uppercase;
        font-size: 1rem;
        width: 100%;
    }
	  .match-scorsi-row .event-date{
    font-size: 1rem;
}

  }

.team-member-content{
    padding: 2px !important;
}
.team-member-custom-card  .person-name{
    font-size: 23px;
    line-height: 20px;
}


/** Gallery **/
.gallery-card .col-inner{
    padding: 2px !important;
}

.gallery-title{
    font-size: 2rem !important;
    font-weight: bold;
}

@media only screen and (max-width: 850px) {
	.team-member-custom-card  .person-name{
    font-size: 17px;
    line-height: 20px;
}
}
@media only screen and (max-width: 550px) {
	.team-member-custom-card  .person-name{
    font-size: 17px;
    line-height: 20px;
}
}
.gallery-date{
    color: #ea5917 !important;
    margin-right: 1rem;
}
.single-post #comments{
    display: none;
}


.organigramma-card h2{
    letter-spacing: -1px;
    /*line-height: .75rem !important;*/
}

.organigramma-card p{
    text-transform: uppercase;
}

.facilities-orange-card .text-box {
    position: relative;
    position: top;
    height: 100% !important;
    padding-top: 1.7rem ;
    padding-bottom: 1.7rem ;

}

.facilities-orange-card .orange-text{
   position: absolute;
   top: 0px !important;
}
.facilities-orange-card .orange-adresse{
   position: absolute;
   bottom: 0 !important;
   margin: 0;
}
.facilities-orange-card .orange-adresse p{
    margin: 0;
}
.facilities-orange-card .text-box-content {
    height: 100%;

}
.facilities-orange-card .orange-adresse p:first-child{
    margin-bottom: 1.5rem;
}
.facilities-orange-card .orange-adresse a{

   border-bottom: 3px solid rgba(255,255,255,.22);
}

.facilities-orange-card .orange-adresse a:hover{
color: #1d2748;
   border-bottom: 3px solid rgba(255,255,255,.5);
}
.tabbed-content .nav-size-xlarge>li>a span{
    font-size: 23.008px !important;

}


/* Nuovo Slider Prossimi Match */

.next-matches-model-league{
    font-size: 1rem;

    
}

.next-matches-model .box-image:has(img){
    max-height: 150px;
    border-radius: 999rem !important;
    overflow: hidden;
   

}

.next-matches-model .box-image img{
    height: 150px;
    width: auto !important;
     object-fit: contain;
    border-radius: 999rem !important;
    overflow: hidden;
}

.next-matches-model {
    background-color: transparent;
    min-height: 330px;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
.next-matches-model::before {
content: "";
   background-color: #151d36;
   height: 100% !important;
   width: calc(100% - 10px);
   position: absolute;
   top: 0;
   bottom: 0;
   left: 5px;
}
.flickity-viewport:has(.next-matches-model){
     min-height: 330px;
}

.next-matches-model-league{
    color: #ea5917 ;
    text-transform: uppercase;
	font-weight: bold;
	font-size: 1.3rem !important;
}

.next-matches-model-teams{
     text-transform: uppercase;
}


.next-matches-model .box-text{
	display: none !important;
}
@media (max-width: 549px) {
.next-matches-model .next-matches-model-league{
        font-size: 1rem !important;
    }
}

/* END Nuovo Slider Prossimi Match */
.gallery-title{
    margin: 1.2rem 0 !important;
}
/* Nuovo Slider Match Passati */

.past-matches-model-league{
    font-size: 1rem;

    
}
.past-matches-model  .img-inner{
    display: flex;
    justify-content: center !important;
}

.past-matches-model  img{
    height: 80px !important;
    width: auto !important;
     object-fit: contain;


object-fit: contain !important;
}

.past-matches-model {
    background-color: transparent;
    min-height: 330px;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
.past-matches-model::before {
content: "";
   background-color: #ea5917;
   height: 100% !important;
   width: calc(100% - 10px);
   position: absolute;
   top: 0;
   bottom: 0;
   left: 5px;
}
.flickity-viewport:has(.past-matches-model){
     min-height: 330px;
}

.past-matches-model-league{
    color:  #151d36 !important;
    
    text-transform: uppercase;
	font-weight: bold;
	font-size: 1.3rem !important;
}

.past-matches-model-team{
     text-transform: uppercase;
     font-size: .8rem;
     font-weight: bold;
}


.past-matches-model .box-text{
	display: none !important;
}
@media (max-width: 549px) {
.past-matches-model .past-matches-model-league{
        font-size: 1rem !important;
    }
}


/******** NEW *********/
.new-played-matches h2{

    font-size: 1.4rem;
    line-height: 1.6rem;
    text-transform: uppercase;
    }
    .new-played-matches .img{
    height: 100px !important;
    object-fit: contain;
    }
    
    .new-played-matches .league-name{
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    }
    


    .new-played-matches{
    background-color: transparent !important;
    max-height: 400px;
    height: 400px;
    z-index: 5;
    position: relative;
    top: 0;
    left: 0;
    display: flex !important;
    align-items: center !important;
    }
    .new-played-matches::before{
    content: "";
    height: 100%;
    width: 98%;
    left: 1%;
    /*background-color: #ea5917;*/
    display: block;
    position: absolute;
    z-index: 0;
    background-image: url(/wp-content/uploads/2025/03/IMG-Partite-giocate-1.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    
    }
    
.to-be-played.new-played-matches::before{
    transition: all .3s ease-in-out;
    background-image: url(/wp-content/uploads/2025/03/IMG-Partite-Da-Giocare-1.webp);
}
.to-be-played.new-played-matches .league-name,.to-be-played.new-played-matches h2 span{
  color: #ea5917 !important;
  line-height: 1;
    }
    
    .flickity-viewport:has(.new-played-matches){
    height: 450px !important;
    }
    .flickity-viewport:has(.new-played-matches.jumbo-matches){
        height: 400px !important;
        }
    .to-be-played.new-played-matches.jumbo-matches{
        max-height: 400px;
        height: 400px;

        }

        .flickity-viewport:has(.new-played-matches.jumbo-matches:hover) .to-be-played.new-played-matches.jumbo-matches::before{
            background-image: url(/wp-content/uploads/2025/03/IMG-Partite-giocate-1.webp) !important;

            
        }
        .flickity-viewport:has(.new-played-matches.jumbo-matches:hover) .new-played-matches.jumbo-matches .league-name, body .flickity-viewport:has(.new-played-matches.jumbo-matches:hover) .new-played-matches.jumbo-matches h2 span{
            color: #151d36 !important;

              }


/* END Nuovo Slider Match Passati */

/** Gallery  **/
.gallery-card .banner-layers{
    background: rgb(21,29,54);
background: linear-gradient(180deg, rgba(21,29,54,0) 0%, rgba(21,29,54,0) 30%, rgba(21,29,54,1) 100%);
}



.gallery-card .text-box {

    width: 100% !important;
    bottom: 0;
    padding: 1.5rem;
    
}

.gallery-card .gallery-card-league{
    text-align: left;
    font-weight: bold;
    font-size: 2.5rem;
    margin: 0;
}

.gallery-card .gallery-card-teams{
    font-size: 1rem;
        font-weight: bold;
    text-align: left;
        margin: 0;
        line-height: 1rem;
	    margin-top: .5rem;
    margin-bottom: .5rem;
}

.gallery-card .gallery-card-date{
    text-align: left;
    font-size: 12px;
     margin: 0;
     color: #cb602e;
     font-weight: bold;
}

.gallery-card .gallery-card-link{
    text-align: left !important;
    font-size: 16px;
     margin: 0;
     color: white !important;
     text-decoration: underline;
     margin-top: 1.1rem;
    
    
}
/** END Gallery **/
.sponsor-section , .section-content .cstm-tabs .tab-panels, .sponsor-section .tab-panels::before, .sponsor-section .nav.nav-line-bottom {
    background-color: #151d36 !important;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/*** EFFETTO IMMAGINI ALL'HOVER ***/
.box-image img, .banner-bg img{
    transform: scale(1.05);
    transition: transform 0.5s ease-in-out;
}
.box-image img:hover, .banner img:hover{
    transform: scale(1);
}
/*** END EFFETTO IMMAGINI ALL'HOVER ***/

@media only screen and (max-width: 850px) {
    .news-home-card {
      height: 550px !important;
   }
  
  .flickity-viewport:has(.news-home-card){
      height: 550px !important;
  }
  .news-home-card .box-image{
      height: 450px;
  }
  .news-home-card .box-image .image-cover{
       height: 450px;
  }
  
  }

  .section-link{
    color: white !important;
    opacity: .7;
    text-decoration: none !important;
    position: relative;
    top: 0;
    font-size: 1rem;
}
@media only screen and (max-width: 550px) {
	  .section-link{
    font-size: .85rem;
}
}

.section-link::before{
    content: "";
    height: 2px;
    width: 0%;
    background-color: #ea5917;
    position: absolute;
    display: block;
    bottom: 1px;
    z-index: -1;
    transition: all .5s ease-in-out;
}

.card-btn.section-link::before{
    z-index: 1;

}

.section-link:hover{
        opacity: 1;
}
.section-link:hover::before{
    width: 100% !important;
}
.lussana-cstm-link.white {
      background-image: linear-gradient(
      to right,
      #1d2748,
      #1d2748 50%,
      #fff 50%
    );
  }
  
  .lussana-cstm-link.white:before {
    background: #1d2748;
  }
  
.lussana-cstm-link {
  
    background-image: linear-gradient(
      to right,
      #ea5917,
      #ea5917 50%,
      #fff 50%
    );
    opacity: .5;
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
   
  }
  
  .lussana-cstm-link:before {
    content: '';
    background: #ea5917;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
  }
  
  .lussana-cstm-link:hover {
   background-position: 0;
     opacity: 1;
  }
  
  .lussana-cstm-link:hover::before {
    width:100%;
  }

  .new-played-matches p{
    text-transform: capitalize;
}


.blog-archive-category-cutm {
    font-weight: 600;
    color: #ea5917;
    font-size: 1rem;
}
.blog .blog-post-inner:has(.post-title) .is-divider{
    display: none;
}


 #header .header-nav.header-nav-main a {
    font-family: "Alatsi", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}



@media only screen and (max-width: 550px) {
    .team-page-tabs ul.nav-line-bottom{

flex-wrap: nowrap;
    overflow: scroll;
    justify-content: start !important;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem !important;
    }
    
    .team-page-tabs.tabbed-content .nav-size-xlarge>li>a span{
        text-wrap: nowrap;
        font-size: 1.1rem !important;
    }
.team-page-tabs .nav-line-bottom::-webkit-scrollbar {
  display: none;
}
}
@media only screen and (max-width: 550px) {
    .home-matches ul{

flex-wrap: nowrap;
    overflow: scroll;
    justify-content: start !important;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem !important;
    }
    
    .home-matches.tabbed-content .nav-size-xlarge>li>a span{
        text-wrap: nowrap;
        font-size: 1.1rem !important;
    }
.home-matches ul::-webkit-scrollbar {
  display: none;
}
	.home-matches > .nav.nav-line::after {
    width: 200vw;
    left: 0;
}
	
}
.article-inner .entry-image {
    max-height: 700px !important;
	display: flex;
    justify-content: center;
}
.article-inner .entry-image img {
    max-height: 700px !important;
    object-fit: contain;
	object-position: 0% 20%;
}

.type-post .entry-divider{
   display: none;
}

.back-custm-btn{
   margin-bottom: 2rem !important; 

   display: inline-block;
   
}
.back-custm-btn:hover{
   color: #ea5917 !important;
   
}

.home-youtube-card.not-ytb .overlay {
    background: linear-gradient(0deg, #151D36 0%, rgba(234, 89, 23, 0) 90%);
}
.home-youtube-card .overlay {
    background: linear-gradient(0deg, rgba(234, 89, 23, 1) 0%, rgba(234, 89, 23, 0) 70%);
    transition: all .3s ease-in-out;
    height: 100%;
    position: absolute;
    top: 100%;
}
.home-youtube-card:hover .overlay {
 top: 10%;
}
.home-youtube-card{
    overflow: hidden;
}
.home-youtube-card .box-text{

    padding: 0;
    bottom: 20px !important;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
}

.home-youtube-card .box-text h4{
   font-size: 1.5rem;
   line-height: 1.5rem;
   letter-spacing: -1px;
}
.home-youtube-card .box-text h2{
   font-size: 3rem;
   margin-bottom: 1rem !important;
   line-height: 1.5rem;
   letter-spacing: -1px;
}

.home-youtube-card .box-text a{
   font-size: 1.1rem;
   line-height: 1.7rem;
   font-weight: 600;
   text-decoration: underline;
}
.home-youtube-card .box-text{
    right: 100%;
        transition: all .5s ease-in-out;
}
.home-youtube-card:hover .box-text{
    right: 0%;
}

.home-youtube-card.box{
    height: 550px !important;
    
}
.home-youtube-card.box .box-image,.home-youtube-card.box .box-image > div {
   height: 100% !important;
    
}
.flickity-viewport:has(.home-youtube-card){
    min-height: 550px;
}

.home-youtube-card.box img{
   height: 100%;
   object-fit: cover;
    
}

@media screen and (max-width: 550px) {
    .flickity-viewport:has(.home-youtube-card){
        min-height: 500px;
    }
    .home-youtube-card.box{
        height: 500px !important;
        
    }
}

@media screen and (max-width: 550px) {
  .page-template-gallery .home-youtube-card.box{
                height: 485px !important;
        margin-bottom: 2rem;
        
    }
    
    .page-template-gallery .home-youtube-card.box a{
        font-size: 12px !important;
        line-height: 12px;
    }
        .page-template-gallery .home-youtube-card.box h2{
        font-size: 30px !important;

    }

.page-template-gallery .home-youtube-card.box .gap-element{
    padding-top: 10px !important;
}
.page-template-gallery .home-youtube-card.box .box-text{
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
}    

h1{
    letter-spacing: -1px !important; 
}

.blog .blog-archive .post-title a{
    font-size: 19px;
}

.blog-single h1.entry-title{
    font-size: 2.5rem !important;
    margin-bottom: 0;
}

.blog-single .entry-header-text small{
        font-weight: 600;
    color: #ea5917;

}

@media only screen and (max-width: 550px) {
.blog-single h1.entry-title{
    font-size: 1.5rem !important;
    margin-bottom: 0;
}
}

.blog .blog-archive .box-text-inner small{
    font-size: 100%;
}

.tabbed-content:has(.tab-panels) ul .tab span{
    letter-spacing: -1px;
}


.page:has(.sponsors-page) .footer-sponsors-slider{
    display: none !important;
}

.single.single-sp_event .gallery-card .banner-layers{
    display: none;
}



.slider .flickity-prev-next-button:hover .arrow, .slider .flickity-prev-next-button:hover svg {
    fill: #ea5917 !important;
}

.slider-orange  .slider .flickity-prev-next-button:hover .arrow, .slider .flickity-prev-next-button:hover svg {
    fill: #1d2748 !important;
}

/*** Mobile Menu ***/
.off-canvas-center.mfp-bg.mfp-ready.main-menu-overlay{
    opacity: 1;
}

.off-canvas-center .nav-sidebar.nav-vertical>li .toggle {

   width: 100%;
   margin-right: 0;
   opacity: 1;
}

.off-canvas-center .nav-sidebar.nav-vertical>li .toggle .icon-angle-down{
    position: relative;
    left: 25%;
}

.off-canvas-center .nav-sidebar.nav-vertical>li.active>.toggle {
     transform: rotate(0deg) !important; 
}

.off-canvas-center .nav-sidebar.nav-vertical>li.active>.toggle>.icon-angle-down{
    transform: rotate(180deg) !important; 

}
.off-canvas-center .nav-sidebar.nav-vertical>li>.toggle>.icon-angle-down{
    transform: rotate(0deg) !important; 
    transition: all .2s ease-in-out;

}

/*** END Mobile Menu ***/
a.back-to-top:hover i{
    color: white;
}
body.page-template .flickity-prev-next-button:disabled, button.flickity-prev-next-button[disabled] {

   opacity: 1 !important; 
    pointer-events: auto !important;
}

.team-member-custom-card .box-text{
    pointer-events: none;
}


.section-link.btn-blue::before{
    background-color: #191b35;
}
.cstm-sponsor-section img{
   transform: scale(1.0);
}

.cstm-sponsor-section img:hover{
   transform: scale(.95);
}
.banner .banner-bg img{
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}
.banner:hover .banner-bg img{
   transform: scale(1);
}

@media only screen and (max-width: 550px) {
	.nav-sidebar.nav-vertical > li.menu-item.active{
    background-color: #d34300 !important;
}

	
  .flickity-slider .is-selected .organigramma-card .overlay {
    opacity: 1 !important;
}

.flickity-slider .is-selected .box-image img,.is-selected .banner img {
    transform: scale(1);
}

.flickity-slider .is-selected .home-youtube-card .overlay {
    top: 10%;
}

.flickity-slider .is-selected .home-youtube-card .box-text {
    right: 0%;
}
}
.scopri-dettagli a{
padding: .8rem 2rem;
background-color: #151d36;
background-color: #db561a;
color: white;
font-weight: bold;
transition: all .2s ease-in-out;
}

.new-played-matches.to-be-played.jumbo-matches.is-selected:hover .scopri-dettagli a {
    background-color: #151d36;
}

 .scopri-dettagli a:hover {
    background-color: #151d36;
}

.new-played-matches.to-be-played.jumbo-matches.is-selected {
    z-index: 6;
}


.real-youtube-card.home-youtube-card::after{
    content: "";
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.2);
    display: block;
    position: absolute;
    top: 0;
    background-image: url(/wp-content/uploads/2025/04/logo-youtube.webp);
    background-size: 25%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    pointer-events: none;
    transition: all .3s ease-in-out;
}

.real-youtube-card.home-youtube-card::hover::after{
    display: none;
}

.col-inner:has(.real-youtube-card.home-youtube-card:hover) .real-youtube-card.home-youtube-card::after{
   opacity: 0;
}

#footer .slider-nav-light .flickity-prev-next-button .arrow, #footer .slider-nav-light .flickity-prev-next-button svg {
    fill: #ea5917;
}


#footer .slider-nav-light .flickity-prev-next-button svg {
    fill: #ea5917;
}



.new-played-matches-col .img {
    max-width: 9rem !important;
    object-fit: contain !important;
    max-height: 9rem !important;
}

.new-played-matches-col .img img{
    object-fit: contain !important;
     max-width: 9rem !important;
     max-height: 9rem !important;
}