/********************************************************** ruota */

.Raxis {
    stroke: black;
    opacity: .2;
}

circle.Raxis {
    stroke: white;
    stroke-width: 1px;
    fill: none;
}

circle.Raxis.Rrecord {
    stroke: #bae0d6;
    stroke-width: 1px;
    opacity: 1;
}

line.Rrecord {
    stroke: #e4e4e4;
    stroke-width: 8px;
    cursor: pointer;
    opacity: .9;
}

line.Rrecord:hover {
    stroke: #d8d8d8;
}

.Ravg {
    stroke: #71C5AF;
    fill: #71C5AF;
}

.Rrecord {
    stroke: #e4ded7;
    fill: #e4ded7;
}

#ruota-cnt {
    overflow: hidden;
    height: 607px;
    margin-top: 50px;
    /*border-bottom: 1px solid #827f7a;*/
}

#ruota-info {
    position: absolute;
    right: 0;
    top: 0;
}

#ruota-info img {
    width: 100px;
}

#ruota-evidenzia {
    position: absolute;
    width: 1px;
    height: 76%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1d1d1b;
}

#ruota {
    width: 1200px;
    height: 1200px;
}

.ruota-dettagli-cnt {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ruota-dettagli-cnt .posizione {
    font-size: 62px;
    text-align: center;
}

.ruota-dettagli-cnt .posizione span {
    position: relative;
}

.ruota-dettagli-cnt .posizione span::after {
    content: "°";
    font-size: 48px;
    position: absolute;
    right: -18px;
    top: 0;
}

.ruota-dettagli-cnt .nome {
    font-size: 26px;
    font-family: "sole_headline", Georgia, Times, "Times New Roman", serif;
    font-weight: 900;
    width: 200px;
    text-align: center;
}

.sigla {
    font-weight: 900;
    font-size: 15px;
}

.temp {
    font-size: 12px
}

#ruota-zoom-desktop {
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 70px;
    cursor: pointer;
}

.ruota-filo {
    position: absolute;
    bottom: 0;
    width: 38.5%;
    height: 1px;
    border-bottom: 1px solid #1d1d1d;
}

.ruota-filo.allineaSX {
    left: 0;
}

.ruota-filo.allineaDX {
    right: 0;
}

#ruota-dettagli-mobile {
    display: none;
}

.blocco {
    position: relative;
    width: 100%;
    z-index: 0;
}

#ruota-cnt {
    overflow: hidden;
    height: 607px;
    margin-top: 50px;
    /*border-bottom: 1px solid #827f7a;*/
    display: flex;
    justify-content: center;
}

/********************************************************** fine ruota */

/********************************************************** colori */


.c1 {
    color: #223874; /* 1 */
}

.c2 {
    color: #07ab86; /* 2 */
}

.c3 {
    color: #711E52 /* color: #f49622; /* 6 */
}

.c4 {
    color: #4e91ce; /* 3 */
}

.c5 {
    color: #e6333a; /* 4 */
}

.c6 {
    color: #8b214b; /* 5 */
}

.bs0 {
    color: #000000;
}

.bs1 {
    color: #223874;
    z-index: 2;
}

.bs2 {
    color: #07ab86;
    z-index: 2;
}

.bs3 {
    color: #4e91ce;
    z-index: 2;
}

.bs4 {
    color: #e6333a;
    z-index: 2;
}

.bs5 {
    color: #8b214b;
    z-index: 2;
}

.bs6 {
    color: #f49622;
    z-index: 2;
}

.b0 {
    background-color: #000000;  /* 0 */
}

.b1 {
    background-color: #223874; /* 1 */
    z-index: 2;
}

.b2 {
    background-color: #07ab86; /* 2 */
    z-index: 2;
}

.b3 {
    background-color: #711E52; /* background-color: #f49622; /* 6 */
    z-index: 2;
}

.b4 {
    background-color: #4e91ce; /* 3 */
    z-index: 2;
}

.b5 {
    background-color: #e6333a; /* 4 */
    z-index: 2;
}

.b6 {
    background-color: #8b214b; /* 5 */
    z-index: 2;
}

.p1 .pos {
    background-color: #223874 !important;
}

.p2 .pos {
    background-color: #07ab86 !important;
}

.p3 .pos {
    background-color: #4e91ce !important;
}

.p4 .pos {
    background-color: #e6333a !important;
}

.p5 .pos {
    background-color: #8b214b !important;
}

.p6 .pos {
    background-color: #f49622 !important;
}

.p7 .pos {
    background-color: #000000 !important;
}

#focus-intro .b0 {
    z-index: 3;
    cursor: pointer;
}

.macro-dettaglio-box-cnt,
.macro-dettaglio-palle-cnt,
.macro-dettaglio-dida-cnt,
.macro-dettaglio-pulsante-cnt {
    position: relative;
    float: left;
    width: 65%;
    left: 50%;
    transform: translateX(-50%);
}

.anni-cnt {
    position: relative;
    float: left;
    width: 65%;
}


.macro-dettaglio-pulsante-cnt {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.macro-dettaglio-dida-cnt {
    color: #1d1d1b;
    margin: 50px 0 10px 0;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.macro-dettaglio-dida2 {
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    font-weight: 700;
    color: #bdbcbc;
}

.macro-dettaglio-box {
    position: relative;
    float: left;
    width: calc(16.66667% - 16px);
    padding: 8px;
}

.macro-dettaglio-box:before {
    content: "";
    border-left: 1px solid #000;
    height: 90%;
    position: absolute;
    left: 0;
}

.macro-dettaglio-box:first-of-type:before {
    content: none;
}


.bottone {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer
}

.macro-dettaglio-box .bottone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -45px;
}

.freccino {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8e8a85;
    width: 1px;
    height: 20px;
    bottom: -80px;
}

.mostraIndicatori {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #b2b2b2;
    bottom: -80px;
    text-transform: uppercase;
    font-size: 12px;
    width: auto;
    white-space: nowrap;
}

/********************************************************** colori */

/********************************************************** palle */

.macro-dettaglio-palle-cnt {
    background-image: url(../img/punto.svg);
    background-repeat: repeat-x;
    background-position: left center;
    background-size: 1px;
    height: 13px;
    margin: 0 0 50px 0;
}

.macro-dettaglio-palle {
    position: absolute;
    height: 100%;
    width: 50%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #eeedef;
    z-index: 1;
}

.macro-dettaglio-palla,
.focus-intro-palla {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 13px;
    height: 13px;
    position: absolute;
    left: 10px;
}

.macro-dettaglio-palla {
    top: 50%;
    transform: translate(-50%, -50%);
}

.macro-dettaglio-posizione {
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    width: 23px;
    height: 23px;
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.macro-dettaglio-box-cnt .nome {
    font-size: 16px;
    line-height: 16px;
    font-weight: 900;
    font-family: "soleSans", Helvetica, Arial, Sans-Serif;
}

.macro-dettaglio-box-cnt .posizione {
    font-size: 45px;
    line-height: 50px;
}

.macro-dettaglio-box-cnt .puntiSpiega {
    margin-top: 10px;
    font-weight: 600;
    font-family: "soleSans", Helvetica, Arial, Sans-Serif;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .3) !important;
    font-size: 12px;
    line-height: 14.4px;
}

.macro-dettaglio-box-cnt .punti {
    color: #000;
    font-weight: 600;
    font-family: "soleSans", Helvetica, Arial, Sans-Serif;
    font-size: 12px;
    line-height: 16.3px;
}

/********************************************************** fine palle */

/********************************************************** TOOLTIP*/
#isTooltip {
    top: -300px;
    left: -300px;
    position: absolute;
    width: 130px;
    color: #423434;
    /* background: #eeeef0; */
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 10px;
    opacity: 0;
    text-align: center;
    z-index: 90;
}

#isTooltip .dida {
    font-family: "soleSans", Helvetica, Arial, Sans-Serif;
    font-size: 10px;
    font-weight: 400;
    color: #999999;
    margin-bottom: 4px;
}

#isTooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

.isTooltipDx {
    -webkit-border-bottom-right-radius: 0 !important;
    -moz-border-radius-bottomright: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.isTooltipDx:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 190px;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid #fff;
    border-right: none;
    border-left: 8px solid transparent;
}

.isTooltipCx:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

.isTooltipSx {
    -webkit-border-bottom-left-radius: 0 !important;
    -moz-border-radius-bottomleft: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.isTooltipSx:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 8px;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: none;
}

#isTooltip .nome {
    font-size: 20px;
    font-family: "soleSans", Helvetica, Arial, Sans-Serif;
    font-weight: 800;
    margin-bottom: 12px;
}

#isTooltip .posizione {
    font-size: 38px;
    font-family: "soleSans", Helvetica, Arial, Sans-Serif;
    font-weight: 400;
    margin-bottom: 12px;
    padding-left: 10px;
    line-height: 31px;
}

#isTooltip .indicatore {
    text-transform: uppercase;
    font-size: 15px;
    font-family: "soleSans", Helvetica, Arial, Sans-Serif;
    margin-bottom: 12px;
    font-weight: 500;
}

#isTooltip .punti {
    margin-bottom: 12px;
    font-size: 18px;
    font-family: "soleSans", Helvetica, Arial, Sans-Serif;
    font-weight: 400;
}

/********************************************************** fine TOOLTIP*/

/********************************************************** SELETTORI */
.custom-select .selected {
    width: 300px;
    height: 50px;
    padding: 9px 10px 10px;
    border-radius: 4px;
    border: solid 2px #0F0F0F;
    color: #0F0F0F;
    cursor: pointer;
    transition: all 0.3s ease;
}

#selettore-rosone-provincia:hover,
#selettore-rosone-indicatore:hover,
.titolo-15:hover {
    background-color: var(--grigio-chiaro) !important;
}

.custom-select .custom-freccia {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 8px;
    color: #0F0F0F;
}

.custom-select .arrow {
    border: solid #0F0F0F;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transition: transform .2s, margin .2s;
    transform: rotate(45deg);
    margin: -3px 0 0;
}

.selettore-seleziona:not(.aperto) .custom-select .selectHide {
    display: none;
}

.custom-select .items {
    color: #0F0F0F;
    border-radius: 0px 0px 5px 5px;
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    height: 221px;
    padding: 19px 17px 20px 0;
    box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.16);
    background-color: #FFF8F0;
}

.custom-select .items div {
    color: #0F0F0F;
    padding-left: 1em;
    cursor: pointer;
    user-select: none;
    padding: 11px 9.5px 11px 9.5px;
}

.gap-8 {
    gap: 8px
}

#selettori-rosone {
    z-index: 6;
    position: relative;
}

.selezionato {
    font-weight: bold;
}

/********************************************************** fine SELETTORI */

@media only screen and (max-width: 1199px) and (min-width: 481px) {
    .ruota-dettagli-cnt .posizione {
        font-size: 52px;
        padding-left: 10px;
    }

    #ruota-cnt {
        height: 500px;
    }
}

@media only screen and (max-width: 1007px) and (min-width: 481px) {
    div#ruota-cnt {
        height: 390px;
        display: flex;
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .selettoriCnt {
        display: block;
    }

    .selGrande {
        position: relative;
        width: 90%;
        height: 100%;
        margin: 0 5%;
    }

    #ruota {
        height: 700px;
        width: 700px;
    }

    #ruota-dettagli-dsk {
        display: none;
    }

    #ruota-dettagli-mobile {
        display: block;
        position: relative;
    }

    .ruota-dettagli-cnt {
        bottom: -16px;
    }

    .ruota-dettagli-cnt .nome {
        margin-top: -10px;
        width: 100%;
    }

    .ruota-dettagli-cnt .posizione {
        font-size: 29px;
        padding-left: 0;
        line-height: 70px;
        top: 10px;
        transform: translateY(9px);
    }
    
    .ruota-dettagli-cnt .posizione span::after {
        content: "°";
        font-size: 28px;
        position: absolute;
        right: -11px;
        top: -20px;
    }

    .sigla {
        font-weight: 900;
        font-size: 21px;
    }

    .ruota-filo {
        width: 28.5%;
        height: 1px;
    }

    #ruota-evidenzia {
        position: absolute;
        width: 1px;
        height: 82%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #1d1d1b;
        top: 5px;
    }

    #sfondo-ruota-mobile {
        display: block;
        position: relative;
        width: 100%;
        height: 40px;
        background-image: url(../img/sfondo-ruota-mobile.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        margin-top: 40px;
    }

    #ruota-zoom-desktop,
    #ruota-info {
        display: none;
    }

    #ruota-cnt {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        height: 345px;
    }

    #selettori-rosone {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: auto;
    }

    .custom-select .selected {
        width: 300px;
        height: 40px;
        padding: 6px 10px 10px;
    }

    .custom-select .custom-freccia {
        right: 0;
        top: 2px;
    }
}



#ruota-cnt {
    position: relative;
    aspect-ratio: 2 / 1;
    width: 100% !important;
    height: auto !important;
}

#ruota {
    width: 100% !important;
    height: auto !important;
    transform-origin: center bottom;
}

.ruota-dettagli-cnt {
    transition: all .3s ease;
}

#ruota svg {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
}

.no-zoom #ruota {
    transform-origin: center center;
}

.no-zoom#ruota-cnt {
    aspect-ratio: 2 / 1.2;
}

.no-zoom .ruota-dettagli-cnt {
    transform: translate(-50%, -50%) scale(.7);

    top: 50%;
}