/* gauge meter */
.gauge-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 20px 15px 15px;
}

.gauge {
    background: linear-gradient(
        to right,
        #e84c3d,
        #e8653d,
        #e6b222,
        #7cf10e,
        #1eaa59
    );
    width: 200px;
    height: 100px;
    border-radius: 100px 100px 0 0 !important;
    position: relative;
    overflow: hidden;
}

.slice-item {
    display: none;
}

.gauge.min-scaled {
    transform: scale(0.5);
}

.gauge-center {
    content: "";
    width: 80%;
    height: 80%;
    background: #fff;
    border-radius: 100px 100px 0 0 !important;
    position: absolute;
    box-shadow: 0 -13px 15px -10px rgba(0, 0, 0, 0.28);
    right: 10%;
    bottom: 0;
}

.needle {
    width: 85px;
    height: 6px;
    background: #15222e;
    border-bottom-left-radius: 100% !important;
    border-bottom-right-radius: 0px !important;
    border-top-left-radius: 100% !important;
    border-top-right-radius: 0px !important;
    position: absolute;
    bottom: -2px;
    left: 20px;
    transform-origin: 100% 4px;
    transform: rotate(0deg);
    z-index: 9;
}

.four.rischio1 .needle {
    animation: fourspeed1 2s 1 both;
    animation-delay: 1s;
    display: block;
}

.four.rischio2 .needle {
    animation: fourspeed2 2s 1 both;
    animation-delay: 1s;
    display: block;
}

.four.rischio3 .needle {
    animation: fourspeed3 2s 1 both;
    animation-delay: 1s;
    display: block;
}

.four.rischio4 .needle {
    animation: fourspeed4 2s 1 both;
    animation-delay: 1s;
    display: block;
}

.slice-colors {
    height: 100%;
}

.slice-colors .st {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border: 50px solid transparent;
}

.risk-level-4 {
    background-color: #e8653d;
}

.risk-level-4-text {
    color: #e8653d;
}

.risk-level-3 {
    background-color: #e6b222;
}

.risk-level-3-text {
    color: #e6b222;
}

.risk-level-2 {
    background-color: #adf10f;
}

.risk-level-2-text {
    color: #adf10f;
}

.risk-level-1 {
    background-color: #1eaa59;
}

.risk-level-1-text {
    color: #1eaa59;
}

.four .slice-colors .st.slice-item:nth-child(2) {
    border-top: 50px #e6b222 solid;
    border-right: 50px #e6b222 solid;
    background-color: #e8653d;
}

.four .slice-colors .st.slice-item:nth-child(4) {
    left: 50%;
    border-bottom: 50px #1eaa59 solid;
    border-right: 50px #1eaa59 solid;
    background-color: #adf10f;
}

@-webkit-keyframes fourspeed1 {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(16deg);
    }
}

@-webkit-keyframes fourspeed2 {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(65deg);
    }
}

@-webkit-keyframes fourspeed3 {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(115deg);
    }
}

@-webkit-keyframes fourspeed4 {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(164deg);
    }
}
