﻿
html, body {
    font-family: 'Inter', sans-serif !important;
}


.tableCustum {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px
}

    .tableCustum th {
        font-weight: 200;
        font-size: 14px;
        padding-bottom: 14px;
        color: #55534F;
    }

    .tableCustum tr {
        border-bottom: 1px solid #cecececc;
    }

    .tableCustum td {
        padding: 18px 8px;
        font-size: 16px;
        text-align: left;
        font-weight: 600;
    }
.box-cluster-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: auto;
    object-fit: cover;/* o fissa se vuoi */
}
.box-list-metodologia {
    background-color: rgb(242, 248, 253);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #D6e4ee;
}

.box-list-metodologia ul{
    margin-bottom: 0;
}
    /* Overlay scuro */
    .box-cluster-img .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 1;
    }

    /* Contenitore testi */
    .box-cluster-img .text-top-left {
        position: absolute;
        top: 0;
        left: 0;
        padding: 20px;
        color: whitesmoke;
        font-weight: bold;
        font-size: 20px;
        z-index: 2;
    }

    /* Icona in basso a destra */
    .box-cluster-img .icon-bottom-right {
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 10px 20px 0px;
        color: whitesmoke;
        font-size: 24px;
        z-index: 2;
    }
.box-cluster-img:hover .overlay {
    background-color: rgba(0, 0, 0, 0.60); /* più chiaro su hover */
}
.manager-card-small{
   width: 450px;
    padding: 10px 25px;
}
.manager-card-small a{
    font-size:12px;
    text-decoration: none;
}

.picture-small-manager {
    background-color: blue;
}

.img-custum-reverse {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.position {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #0d6efd;
    font-size: 16px;
    font-weight: bold;
}

.position a:hover{
    text-decoration: none;
}
.color-success{
    background-color: #deecdc;
    color: #297844;
    font-weight: 700;
}

.color-danger {
    background-color: #fae3de;
    color: #db4242;
    font-weight: 700;
}

.manager-score-variation {
    width: 50px;
    margin-top: -8px;
}

.sportivo-name{
    text-decoration: none;
    color:black; 
    font-size: 14px;
    font-weight: 600;
}
.sport-anchor {
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    padding: 5px 25px;
    background-color: rgb(242, 248, 253);
    color: #4281db;
    font-size: 16px;
    border-radius: 18px;
    width: fit-content;
    display: inline-block;
    border: 1px solid #D6e4ee;
}

    .sport-anchor:hover {
        background-color: #D6e4ee;
    }

    .grafico-Sportivo {
        width: 100%;
        height: 300px;
    }

.img-custum {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.position-top {
    width: 65px;
    height: 65px;
    display: inline-block;
    text-align: center;
    align-content: center;
    background-color: #0d6efd;
    border-radius: 10px;
    color: whitesmoke;
    font-size: 20px;
}

.clusterName{
    padding: 4px 20px;
    border-radius: 15px;
    color: white;
    display: inline-block;
}

.sportivo-position{
    width: 140px;
    height: 170px;
    background-color:black;
    color: whitesmoke;
    border-radius:15px;
}

.box-cluster{

    padding: 20px 10px 0 0;

}

.box-cluster img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 50px;
    height: auto;
    object-fit: cover;
}

.contact-form{
    padding: 40px 80px;
    background-color: #fbfbfa;
    border-radius: 10px;
    border: 1px solid #e7e7e7;
}

.breadcrumb li:last-child{
    font-weight: bold;
}

.breadcrumb a:hover {
    text-decoration: underline !important;
}

    .contact-form input, .contact-form button, contact-form textarea{
        border-radius: 10px !important;
    }


        .form-check {
            font-size: 12px;
        }

.privacy-link {
    color: inherit;
    text-decoration: none;
}

    .privacy-link:hover {
        color: black;
        text-decoration: underline;
    }

a[href^="mailto:"] {
    color: inherit; /* colore nero */
    text-decoration: none; /* rimuove la sottolineatura di default */
}

    a[href^="mailto:"]:hover {
        text-decoration: underline; /* sottolineato all'hover */
        color: inherit; /* resta nero anche all'hover */
    }
a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
}

    a[href^="tel:"]:hover {
        text-decoration: underline;
    }


.wrapper-input{
    margin-bottom: 15px;

}

.wrapper-input label{
    margin-bottom: 12px !important;
}
    .wrapper-input input{
        font-size: 11px;
        padding: 10px 20px !important;

    }

        .wrapper-input input::placeholder,
        .wrapper-input textarea::placeholder {
            color: #9A9A97;
            opacity: 1;
        }

    .form-label {
        font-weight: normal;
        font-size: 12px;
    }
.invio-messaggio-form{
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight:bold;
}


.position-2 {
    width: 50px;
    height: 50px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #373530;
    font-size: 16px;
    font-weight: bold;
}
.box-metodologia p {
    font-size: 14px;
    margin: 0;
}
.box-metodologia-img {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    height: 400px;
    background-color: grey;
    border-radius: 12px;
}

#scrollToTopBtn{
    border-radius: 10px !important;

}
.sub-header-container {
    display: flex;
    height: max-content;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    margin-top: 40px;
    font-size: 16px;
    align-items: stretch;
}

.box-large {
    background-color: #0d6efd;
    width: 130px;
    height: 150px;
    color: white;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}
    .box-large img{
        opacity: 0.5;
    }

    .box-1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        width: max-content;
    }


.box-2 {
    border-left: 2px;
    border-left-style: solid;
    border-left-color: lightgrey;
    padding-left: 20px;
    padding-right: 25px;
    display: grid;
    row-gap: 20px;
    border-left: 2px;
    border-left-style: solid;
    border-left-color: lightgrey;
}

.box-3 {
    font-size: small;
    display: grid;
    grid-auto-rows: auto auto;
    row-gap: 40px;
    align-items: end;

}
.grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: end;
}
#bio{
    font-size: 14px;
}

.tablePartial td {
    display: flex;
    align-items: center;
    padding: 12px 0px;
    font-size: 16px;
}


.rowCustom {
    border-bottom: 1px solid #e7e7e7;
}

.currentPos {
    width: 50px; 
    height: 50px; 
    background-color: #0d6efd;
    color: white;
    display: flex;
    font-size: 16px; 
    font-weight: bold;
    margin-right: 10px; 
    justify-content: center;
    align-items: center;
    border-radius: 10px;

    flex-shrink: 0;
}

.dimmed {
    opacity: 0.20;
}

.dimmed:hover {
    opacity: 1;
}
.box-small {
    background-color: #e9ecef;
    text-align: center;
    padding: 1rem;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    background-color: #373530;
    border-radius: 12px;
    color: white;
}


.place-home{
    width:100%;
    height:auto;
    object-fit: cover;
}

    .box-medium {
        width: 100px;
        margin-top: 20px;
        padding: 15px 20px;
        border-radius: 8px;
        height: 35px;
        background-color: lightgray;
    }

.itemCarousel {
    width: 170px;
    height: 35px; 
    border-radius: 8px; 
    margin-right: 35px; 
    flex-shrink: 0; 
    font-size: 12px;
    overflow: hidden;
    background-color: #fbfbfa;
    border: 1px solid #dbdbd9;
}

.classifica-mensile {
    width: 100%;
    height: 300px;
    border: 1px solid black;
    margin-top: 32px;
}

.box img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.sportivoName{
    text-decoration: none;
    color:inherit;
    font-size: 14px;
    font-weight: bold;
}
/* Immagine Sportiva piccola */
.sportivoImg {
    height: 51px;
    object-fit: cover;
    border-bottom-right-radius: 6%;
    border-top-right-radius: 6%;
}

/* Posizione */
.posizione {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f2f3f5;
    margin: 0;
    padding: 0;
    width: fit-content;
    border-radius: 8px;
}

.posizione-rank {
    align-content:center;
    width: 60px;
    background-color: #373530;
    color: white;
    font-weight: bold;
    padding: 18px;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}


/* Box della performance */
.performance-box {
    background-color: #fbfbfa;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
    height: 50px;
    display: flex;
    align-items: center;
}

    .performance-box:hover {
        background-color:#e7e7e7;
    }
.performance-link {
    padding: 10px 20px;
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.btn-slider-1,
.btn-slider-2 {
    background-color: #373530; /* colore attivo */
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-slider-1:disabled,
    .btn-slider-2:disabled {
        background-color: #cccccc; /* colore disattivo */
        color: #666666;
        cursor: not-allowed;
    }

.copy-feedback {
    display: inline-block;
    margin-left: 10px;
    color: green;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#btnCopy {
    border-radius: 10px !important;
    padding: 10px 15px;
    font-weight: bold;
    width: 100%;
}

#btnSend {
    border-radius: 10px !important;
    background-color: rgb(242, 248, 253);
    color: rgb(66, 129, 219);
    border: 1px solid #D6e4ee;
    padding: 10px 15px;
    width: 100%;
    font-weight: bold;
}

#phoneButton {
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.copied {
    color: #DEECDC !important; /* verde tipo Bootstrap "success" */
    font-weight: bold;
    background-color: #346B47 !important;
    border: none !important;
}


#messageBox {
    margin-top: 1em;
    padding: 10px;
    border-radius: 5px;
    display: none; /* nascosto di default */
}

#contact_success_message {
    background-color: #d4edda; /* verde chiaro */
    color: #155724; /* verde scuro */
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 5px;
}

#contact_error_message {
    background-color: #f8d7da; /* rosso chiaro */
    color: #721c24; /* rosso scuro */
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
}

#btnSend:hover {
    background-color: #D6e4ee;
}
.copy-feedback.show {
    opacity: 1;
}


    .p-box {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        width: 90px;
        text-align: center;
    }

.tooltip-inner {
    background-color: #373530 !important;
    color: whitesmoke;
    font-size: 14px;
    text-align: left;
    border-radius: 10px !important;
    padding: 12px;
}

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-arrow::before {
    border-top-color: #373530 !important;
}
.img-sportivi-side{
    border: 1px solid #e7e7e7;
    border-radius: 10px;

}
.btn-slider-1 {
    border-radius: 10px !important;
    border: 1px solid #e7e7e7 !important;
}

    .btn-slider-2 {
    border-radius: 10px !important;
}

.disabled-button {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Pulsanti banner cookie */
#privacypolicy---nb .cc-nb-okagree {
    background-color: #0d6efd !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    border: none;
}

    #privacypolicy---nb .cc-nb-okagree:hover {
        background-color: #0b5ed7 !important;
    }

    #privacypolicy---nb .cc-nb-reject {
        background-color: rgb(242, 248, 253) !important;
        color: rgb(66, 129, 219) !important;
        padding: 10px 20px !important;
        border-radius: 10px !important;
        border: 1px solid #D6e4ee;
    }

        #privacypolicy---nb .cc-nb-reject:hover {
            background-color: #D6e4ee !important;
        }

        #privacypolicy---nb .cc-nb-changep {
            background-color: rgb(242, 248, 253) !important;
            color: rgb(66, 129, 219) !important;
            padding: 10px 20px !important;
            border-radius: 10px !important;
            border: 1px solid #D6e4ee;
        }

            #privacypolicy---nb .cc-nb-changep:hover {
                background-color: #D6e4ee !important;
            }

            .cc-cp-foot-save {
                background-color: #0d6efd !important;
                color: #fff !important;
                padding: 10px 20px !important;
                border-radius: 10px !important;
                border: none;
            }

.cc-pc-head-lang-select {
    outline: none !important;
}

    .cc-pc-head-lang-select:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: #ced4da !important;
        }

.cc-nb-main-container{
    padding: 30px !important;
    margin: 0;
}
/* 📱 Smartphone (max 600px) */
@media (max-width: 600px) {
    .currentPos {
                width: 2.5rem; /* ~40px */
                height: 2.5rem;
                font-size: 0.6875rem; /* 11px */
                margin-right: 0.375rem; /* 6px */
                border-radius: 0.5rem; /* 8px */
            }
        }

        @media (max-width: 767px) {
            .sportivi-img {
                object-fit: contain;
            }
        }
        /* Solo aggiunte per la gestione sport-mobile / sport-desktop */
        /* Nascondo colonna sport desktop su mobile */
        @media (max-width: 767.98px) {
            .d-md-table-cell {
                display: none !important;
            }

            .sport-mobile {
                display: block !important;
            }

            /* Eventuali stili di padding e font su mobile */
            .tableCustum td,
            .tableCustum th {
                padding: 8px 4px;
                font-size: 14px;
            }
        }
        /* Su desktop nascondo sport-mobile */
        .sport-mobile {
    display: none;
}

@media (max-width: 768px){
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .box-cluster-img {
        height: 200px !important;
    }

        .box-cluster-img img {
            height: 200px !important;
            object-fit: cover;
        }
}
@media (max-width: 767.98px) { /* Bootstrap breakpoint < md */
    .no-underline-mobile {
        text-decoration: none !important;
    }
}

@media (max-width: 768px) {
    .tooltip {
        display: none !important;
    }
}
.icon-tooltip {
    display: none;
}

    .icon-tooltip.show-tooltip {
        display: inline-block;
        cursor: pointer;
    }