
/* ===== BANNER SLIDER: Nuovo design ===== */

/* CLS FIX: dimensioni esplicite per lo slider */
.banner-section.style-two {
    min-height: 600px;
    position: relative;
}
.banner-carousel .slide-item {
    min-height: 600px;
}

/* Default: immagini centrate sulle persone */
.banner-carousel .slide-item .image-layer {
    background-position: center center !important;
}

/* Classi per punto focale personalizzabile dall'admin */
.banner-carousel .slide-item .image-layer.focus-top {
    background-position: center 10% !important;
}
.banner-carousel .slide-item .image-layer.focus-center {
    background-position: center center !important;
}
.banner-carousel .slide-item .image-layer.focus-bottom {
    background-position: center 80% !important;
}
.banner-carousel .slide-item .image-layer.focus-left {
    background-position: 20% 20% !important;
}
.banner-carousel .slide-item .image-layer.focus-right {
    background-position: 80% 20% !important;
}

/* Per slide con immagini verticali */
.banner-carousel .slide-item .image-layer.img-vertical {
    background-size: contain !important;
    background-color: #074224;
}

/* Contenuto slide: allineato in alto a destra */
.slider-content {
    text-align: right !important;
    padding-right: 40px !important;
    padding-left: 0 !important;
    margin-left: auto !important;
}

/* CHIAVE: override padding 55vh del tema — porta il contenuto in ALTO */
.banner-section.style-two .banner-carousel .slide-item {
    padding: 140px 0px 80px 0px !important;
    display: flex !important;
    align-items: flex-start !important;
}
.banner-carousel .slide-item .row {
    justify-content: flex-end !important;
}

/* Etichetta tag (es. "Per il sociale") */
.slider-tag {
    display: inline-block;
    padding: 5px 16px;
    border: 2px solid #37b43f;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
    background: rgba(55, 180, 63, 0.15);
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease 0.3s;
}

.banner-carousel .active .slider-tag {
    opacity: 1;
    transform: translateY(0);
}

/* Titolo grande bold */
.slider-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 72px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    margin-bottom: 20px !important;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s ease 0.5s;
}

.slider-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.slider-title a:hover {
    color: #37b43f !important;
}

.banner-carousel .active .slider-title {
    opacity: 1;
    transform: translateY(0);
}

/* Descrizione sotto il titolo */
.slider-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    max-width: 500px;
    margin-left: auto;
    margin-bottom: 30px !important;
    font-family: 'DM Sans', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.7s;
}

.banner-carousel .active .slider-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Bottone CTA verde */
.slider-btn-box {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease 0.9s;
}

.banner-carousel .active .slider-btn-box {
    opacity: 1;
    transform: translateY(0);
}

.slider-cta {
    display: inline-block;
    padding: 14px 32px;
    background-color: #37b43f;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

.slider-cta:hover {
    background-color: #2d9633;
    transform: translateX(5px);
}

.slider-cta i {
    margin-left: 10px;
    font-size: 12px;
}

/* Contatore slide (04 / 04) - in basso a sinistra */
.slider-counter {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
}

.slider-counter-current {
    color: #37b43f;
    font-size: 28px;
    font-weight: 700;
}

/* Gradiente: da destra (per testo) e dall'alto */
.banner-carousel .slide-item .gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        270deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.4) 45%,
        rgba(0, 0, 0, 0.05) 100%
    ),
    linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.5) 100%
    ) !important;
    z-index: 5;
}

/* Owl dots personalizzati */
.banner-section .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.banner-section .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.banner-section .owl-dots .owl-dot.active span {
    width: 30px;
    border-radius: 6px;
    background: #37b43f;
}

/* Frecce nav */
.banner-section .owl-nav .owl-prev,
.banner-section .owl-nav .owl-next {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.banner-section .owl-nav .owl-prev:hover,
.banner-section .owl-nav .owl-next:hover {
    background: rgba(55, 180, 63, 0.7) !important;
    border-color: #37b43f !important;
}

/* Responsive */
@media (max-width: 767px) {
    .slider-title {
        font-size: 36px !important;
        line-height: 1.1 !important;
    }
    .slider-desc {
        font-size: 14px !important;
        max-width: 100%;
    }
    .slider-tag {
        font-size: 11px;
        padding: 4px 10px;
    }
    .slider-cta {
        padding: 10px 20px;
        font-size: 12px;
    }
    .slider-counter {
        display: none;
    }
    .slider-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: left !important;
    }
    .banner-carousel .slide-item .auto-container {
        padding-top: 30px !important;
    }
    .slider-desc {
        margin-left: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .slider-title {
        font-size: 52px !important;
    }
    .slider-desc {
        font-size: 15px !important;
    }
}

/* ===== Fine banner slider ===== */


.logo_sito{
    height:90px;
}



.img_elenco_news {
    height: 250px !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position-y: 50%;
    background-position-x: 50%;
}



.btn-cookie-wrapper {
    position: fixed !important;
    left: 10px !important;
    bottom: 10px !important;
    z-index: 9999 !important;
    display: none !important;
}


.titolonotizia .widget-title {
    position: relative;
    display: block;
    margin-bottom: 22px;
    padding-left: 68px;
}


    .titolonotizia .widget-title:before {
        position: absolute;
        content: '';
        width: 4px;
        height: 4px;
        left: 0px;
        top: 15px;
    }

    .titolonotizia .widget-title:before {
        background: #195129;
    }

    .titolonotizia .widget-title:after {
        position: absolute;
        content: '';
        width: 50px;
        height: 4px ;
        left: 8px;
        top: 15px;
    }

    .titolonotizia .widget-title:after {
        background: #37b43f;
    }








.titolo_squadre {
    margin-bottom: 70px !important;
    margin-top: 50px !important;
}

.roster_club {
    background-size: cover;
    background-position-y: 5%;
    background-position-x: 50%;
    height: 280px !important;
}


.notizie_team {
    background-size: cover;
    background-position-y: 5%;
    background-position-x: 50%;
    height: 180px !important;
}



.img_dx {
    position: inherit !important;
    display: block !important;
    /* text-align: center; */
    padding: 0px !important;
}


.elenco_news_squadre {
    background-size: cover;
    background-position-y: 50%;
    background-position-x: 50%;
    height: 120px !important;
    width: 120px !important;
}



.post_squadre {
    position: relative;
    padding-left: 90px;
    padding-bottom: 27px;
    margin-bottom: 24px;
    min-height: 107px;
    border-bottom: 1px solid #e6e6ea;
}
 


.img_figure {
    position: absolute;
    left: 0px;
    top: 6px;
    width: 70px;
    height: 70px;
    border-radius: 5px;
}




.staff_h6 {
    color: #a8a8a8;
    text-align: right;
    padding: 0px 20px 18px 0px;
}


.color-site {
    color: #696b7e !important;
}

    .color-site p {
        color: #696b7e !important;
        font-family: 'Merriweather Sans', sans-serif !important;
        font-size: 16px;
    }


.img_news {
    /*width: 100%;
    height: 200px;
    object-fit: contain /*contain?*/;
}


.inner-box-news h5 {
    color: #195129;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}


.upper_title {
    color: #095257;
}

.inner_first {
    padding: 30px;
    z-index: 555;
}

.inner_first img{
   width:200px;
}

.elenco_news {
    background-size: cover;
    background-position-y: 50%;
    background-position-x: 50%;
    height: 250px !important;
}

.elenco_news_altre {
    background-size: cover;
    background-position-y: 50%;
    background-position-x: 50%;
    height: 400px !important;
}




.news_image {
    max-width: 100%;
    position: relative;
    vertical-align: top;
    background-size: cover;
    background-position-y: 50%;
    background-position-x: 50%;
    height: 200px !important;
}


.table-div {
    display: table !important; 
}

.table-row {
    display: table-row !important;
}

.table-cell 
{
    width:45% !important;
    display: table-cell !important;
    vertical-align:top !important;
    height:200px;
}

.table-cell-1 {
    width: 55% !important;
    display: table-cell !important;
    vertical-align: top !important;
    height: 200px;
}


.auto-news {
    position: static;
    max-width: 1600px;
    padding: 0px 15px;
    margin: 0 auto;
}

.home_news {
    position: absolute !important;
    top: -180px !important;
    z-index: 55 !important;
    height: 200px !important;
    width: 100% !important;
    margin:0 auto !important;
}


.inner-box-news {
    background-color: #ffffff !important;
    padding-left: 10px !important;
    padding-top:5px;
    color: #fff !important;
}

.inner-text-news{
    padding:6px;
}


.giovanili {
    color: #fded04;
}


.senior_tags {
    color: #fded04 !important;
}

/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {

   
}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {

   
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

  
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

    .giovanili {
        color: #ffffff;
    }
    .senior_tags {
        color: #ffffff;
    }
    .minibasket_home{
        display:none !important;
    }
    .banner-section {
        margin-top: 0px !important;
        position: relative;
        overflow: hidden;
    }


    iframe {
        width: 100% !important;
    }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {


    .logo_sito {
        height: 60px;
    }



    .giovanili {
        color: #ffffff;
    }
    .minibasket_home {
        display: none !important;
    }

    .senior_tags {
        color: #ffffff;
    }

    .banner-section {
        margin-top:0px !important;
        position: relative;
        overflow: hidden;
    }

    .solutions-section .inner-container {
        position: relative;
        display: block;
        background: #f5f5f6;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: -138px;
        z-index: 1;
        margin-top: 100px;
    }

    .seniorhome {
        color: #fff !important;
    }

    iframe{

        width:100% !important;
    }
     
     
}


@media (min-width: 390px) and (max-width: 480px) {


    .solutions-section .inner-container {
        position: relative;
        display: block;
        background: #f5f5f6;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: -138px;
        z-index: 1;
        margin-top: 100px;
    }


    .banner-section {
        margin-top: 0px !important;
        position: relative;
        overflow: hidden;
    }

    .seniorhome{
        color:#fff !important;
        z-index:588888;
    }


    iframe {
        width: 100% !important;
    }
     
    
}


