﻿
.BoxStatistiche {
    background-color: #dde0ed;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.DashboardHero {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

.DashboardHero__media {
    flex: 0 0 360px;
    width: 360px;
    max-width: 100%;
}

.DashboardHero__content {
    flex: 1 1 420px;
    min-width: 320px;
}

.DashboardTileGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
    margin-top: 20px;
}

.DashboardTile {
    flex: 0 0 260px;
    width: 260px;
    max-width: 100%;
}


.BtnDashboard {
    border-radius: 20px !important;
    position: relative;
    margin-bottom: 0;
}

.BoxDipendente {
    height: 200px !important;
    padding: 20px;
}

.BoxReferente {
    height: 190px !important;
 
}

.BtnDashboard .rz-button {
    display: block !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
}

    .BtnDashboard .rz-button:hover {
    }

.BtnDashboard.BoxDipendente .rz-button .rzi {
    position: absolute;
    top: 40px;
    right: 50px;
    background-color: #ffffff2a;
    padding: 20px;
    border-radius: 5px;
    font-size: 30px !important;
    color: #fff !important;
    font-weight: 300 !important;
}

.BtnDashboard.BoxDipendente .rz-label {
    color: #fff;
    font-size: 35px;
    position: absolute;
    left: 50px;
    top: 80px;
}

.BtnDashboard .rz-button-box {
    display: block;
}

.BtnDashboard.BoxDipendente .rz-button p {
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 16px;
    margin-top: 5px;
    position: absolute;
    bottom: 50px;
    text-align: left;
    left: 58px !important;
}

.BtnDashboard .rz-button:hover p {
    text-decoration: underline;
}

.BtnDashboard .rz-button:hover .rzi {
    font-size: 30px !important;
    font-weight: 300 !important;
}
/*****************REFERENTE*/

.BtnDashboard.BoxReferente .rz-button .rzi {
    position: absolute;
    top: 20px;
    right: 30px;
    background-color: #ffffff2a;
    padding: 20px;
    border-radius: 5px;
    font-size: 30px !important;
    color: #fff !important;
    font-weight: 300 !important;
}

.BtnDashboard.BoxReferente .rz-label {
    color: #fff;
    font-size: 35px;
    position: absolute;
    left: 30px;
    top: 90px;
}


.BtnDashboard.BoxReferente .rz-button p {
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 16px;
    margin-top: 5px;
    position: absolute;
    bottom: 30px;
    text-align: left;
    left: 38px !important;
}
/*****************FINEREFERENTE*/
.BtnDashboard_Registrazione,
.BtnDashboard_Registrazione:hover {
    background-image: url(../images/Dashboard/Box_Celeste.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashboard_Clienti,
.BtnDashboard_Clienti:hover {
    background-image: url(../images/Dashboard/Box_Celeste.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashboard_CatCorsi,
.BtnDashboard_CatCorsi:hover {
    background-image: url(../images/Dashboard/Box_Viola.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashboard_ListinoIfas,
.BtnDashboard_ListinoIfas:hover {
    background-image: url(../images/Dashboard/Box_ViolaL.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashboard_Workflow,
.BtnDashboard_Workflow:hover {
    background-image: url(../images/Dashboard/Box_Rosa.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BoxLink .col-md-2 div {
    background-color: #EEF2FF;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    height: 100px;
    display: block;
    width: 100% !important;
    position: relative;
}

    .BoxLink .col-md-2 div img {
        width: 50px;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .BoxLink .col-md-2 div span {
        font-size: 25px;
        font-weight: bold;
        color: #134A88;
        position: absolute;
        top: 30px;
        right: 20px;
        display: block;
    }

    .BoxLink .col-md-2 div small {
        text-align: right;
        display: block;
        line-height: 15px;
        color: #134A88;
        padding: 60px 20px 0 0;
        width: 100% !important;
    }

.BoxLink .col-md-2 .rz-button {
    width: 100% !important;
    height: 100%;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

    .BoxLink .col-md-2 .rz-button:hover div {
        background-color: #dbe3ff !important;
    }

    .BoxLink .col-md-2 .rz-button .rz-button-box {
        width: 100%;
    }


.DashDipendente {
    position: relative;
    height: 270px;
    margin-bottom: 20px;
}

.DashboardHeroCard {
    width: 100%;
}

    .DashDipendente .GifBgLogo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .DashDipendente .LogoDashboard {
        position: absolute;
        top: 40%;
        left: calc(50% - 100px);
        width: 200px;
    }

@media (max-width:768px) {
    .DashboardHero__media,
    .DashboardHero__content,
    .DashboardTile {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }

    .DashDipendente {
        height: auto !important;
    }

    .DashDipendente .GifBgLogo {
        min-height: 270px;
    }
}
