.mt-30 {
    margin-top: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mr-10 {
    margin-right: 10px;
}

.h-100 {
    height: 100% !important;
}

.pb-30 {
    padding-bottom: 30px;
}

.btn-dettaglio_rischi {
    background-color: #305631 !important;
    border-radius: 0;
    padding: 15px;
    font-size: 1.5rem;
}

.container-allerte .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border: 0 !important;
}

.container-allerte .nav-tabs .nav-link {
    border: 0 !important;
}

.container-allerte .nav.nav-tabs.nav-tabs-cards {
    background-color: #d5d5d5;
    border-radius: 70px;
}

.container-allerte .nav-item {
    width: 40%;
    border-radius: 50px;
    background: unset !important;
    background-color: #d5d5d5 !important;
}

.container-allerte .nav-link {
    color: #000;
    padding: 15px;
}

.container-allerte .nav-link.active {
    color: white !important;
    border-radius: 70px !important;
    background-color: #0059b3 !important;
}

.container-allerte .card_magica {
    border: 1px solid black;
    border-top: 15px solid;
    padding: 20px;
    border-radius: 15px;
    box-shadow: #00000026 0px 0rem 0.2rem 1px;
}

.container-allerte .card_magica .head {
    text-align: center;
    border-bottom: 1px solid #c5c5c5;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.container-allerte .card_magica .head h4 {
    font-weight: 700;
}

.container-allerte .card_magica .body {
    border-bottom: 1px solid #c5c5c5;
    margin-bottom: 15px;
    padding-bottom: 10px;
    padding-top: 15px;
}

.container-allerte .card_magica.green {
    border-top-color: #00EF0A;
}

.container-allerte .card_magica.orange {
    border-top-color: #FD8215;
}

.container-allerte .card_magica.yellow {
    border-top-color: #F8FD15;
}

.container-allerte .card_magica.red {
    border-top-color: #ED0707;
}

#title_today,
#title_tomorrow {
    font-size: 1.35rem !important;
}

#title_today b,
#title_tomorrow b {
    padding-left: 15px;
}

.modal-header {
    border-bottom: 0 !important;
}

.modal-content {
    border-radius: 20px;
}

.color_div_legend {
    width: 50px;
    height: 50px;
}

.color_div_legend.none {
    background-color: #c5c5c5;
}

.color_div_legend.green {
    background-color: #00EF0A;
}

.color_div_legend.orange {
    background-color: #FD8215;
}

.color_div_legend.yellow {
    background-color: #F8FD15;
}

.color_div_legend.red {
    background-color: #ED0707;
}

.pd_modal {
    padding: 10px 0px;
}


.page-title {
    color: var(--bs-primary);
}

#modal_legenda .modal-content {
    border-radius: 4px;
}

#modal_legenda .modal-dialog .modal-content .modal-header {
    padding-top: 10px;
}

#modal_legenda .title-legenda {
    font-size: 2rem;
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .mb-mobile-card {
        margin-bottom: 10px;
    }

    #modal_legenda .modal-dialog {
        margin: 25px;
    }

    #modal_legenda .title-legenda {
        font-size: 1.5rem;
    }

    #modal_legenda p {
        font-size: 1rem !important;
    }

    #modal_legenda .pd_modal {
        padding: 5px 0px;
    }

    #modal_legenda .modal-body {
        padding: 0 !important;
    }

    .color_div_legend {
        width: 30px;
        height: 30px;
    }

    .container-allerte .nav-item {
        width: 50% !important;
    }
}



.stato_allerta.green {
    color: #00EF0A;
}

.stato_allerta.orange {
    color: #FD8215;
}

.stato_allerta.yellow {
    color: #F8FD15;
}

.stato_allerta.red {
    color: #ED0707;
}

/*.path-allerte-meteo .breadcrumb-item, .path-allerte-meteo .breadcrumb-item a, .path-allerte-meteo .page-title {*/
/*color: #fff !important;*/
/*}*/

.path-allerte-meteo .breadcrumb-item.green,
.path-allerte-meteo .breadcrumb-item.green a,
.path-allerte-meteo .page-title.green {
    /* color: #00EF0A !important; */
    color: #ffffff !important;
}

.path-allerte-meteo .breadcrumb-item.orange,
.path-allerte-meteo .breadcrumb-item.orange a,
.path-allerte-meteo .page-title.orange {
    /* color: #FD8215 !important; */
    color: #ffffff !important;
}

.path-allerte-meteo .breadcrumb-item.red,
.path-allerte-meteo .breadcrumb-item.red a,
.path-allerte-meteo .page-title.red {
    /* color: #ED0707 !important; */
    color: #ffffff !important;
}

.path-allerte-meteo .breadcrumb-item.yellow,
.path-allerte-meteo .breadcrumb-item.yellow a,
.path-allerte-meteo .page-title.yellow {
    /* color: #F8FD15 !important; */
    color: #ffffff !important;
}

.image_allerta_page.green {
    background-image: url('/modules/custom/allertalom/vendor/images/slider/green.jpeg');
}

.image_allerta_page.orange {
    background-image: url('/modules/custom/allertalom/vendor/images/slider/orange.jpeg');
}

.image_allerta_page.yellow {
    background-image: url('/modules/custom/allertalom/vendor/images/slider/yellow.jpeg');
}

.image_allerta_page.red {
    background-image: url('/modules/custom/allertalom/vendor/images/slider/red.jpeg');
}

.image_allerta_page {
    position: relative;
}

.image_allerta_page:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(48, 86, 49, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.image_allerta_page .main-container {
    position: relative;
    z-index: 2;
}

.tabella_head.green {
    background-color: #00EF0A;
}

.tabella_head.orange {
    background-color: #FD8215;
}

.tabella_head.yellow {
    background-color: #F8FD15;
}

.tabella_head.red {
    background-color: #ED0707;
    color: white;
}

.data-short {
    display: none;
}

@media (max-width: 567px) {
    .data-full {
        display: none;
    }

    .data-short {
        display: inline;
    }
}

.colonna_iniziale {
    /*border-top-left-radius: 25px;*/
    /*border-bottom-left-radius: 25px;*/
    padding-left: 15px !important;
}

.colonna_finale {
    /*border-top-right-radius: 25px;*/
    /*border-bottom-right-radius: 25px;*/
}

.generico_colonna {
    border: none;
    background-color: #f5f5f5;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    vertical-align: middle !important;
}

.container-allerte .table tbody tr {
    /*-webkit-box-shadow: 5px 5px 15px -9px #000000;*/
    /*box-shadow: 5px 5px 15px -9px #000000;*/
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

@media screen and (max-width: 768px) {
    .hide_mobile {
        display: none;
    }
}