﻿.riquadro_dettagli_ticket {
    background-color: #1ab394;
    color: white;
    text-decoration: none;
}

    .riquadro_dettagli_ticket .stato_danger {
        background-color: red;
    }

    .riquadro_dettagli_ticket .progress {
        margin-bottom: 10px;
    }

        .riquadro_dettagli_ticket .progress:last-of-type {
            margin-bottom: 0;
        }

.print_pdf_H4 {
    text-align: center;
    /*color: green;*/
    padding-bottom: 35px;
    /*    background-image: url("../images/santandrea_logo_trasp.png");*/
    background-image: url("../images/logo_cliente.png");
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}

/*.prova a:before {
    content: '\A';
    word-wrap: break-word;
}
*/
.print_pdf_span {
    border: 1px solid;
    padding: 0px 6px 3px 6px;
    margin-top: 20px;
}

.pdf_table_intestazione {
    border: 1px solid;
    padding: 0px 6px 3px 6px;
    background-color: #00a99c;
    color: white;
}

.pdf_table_body_bold {
    font-weight: bold;
    width: 10%;
    min-width: 9%;
}

.pdf_table_body {
    width: 23%;
    min-width: 22%;
}

.pdf_text_right {
    text-align: right;
}

.pdf_text_bold {
    font-weight: bold;
}

.pdf_min_height {
    min-height: 100px;
}

.pdf_font_title_xlarge {
    font-size: x-large;
}

.nav-footer {
    padding: 33px 25px;
    background-color: #2f4050;
    /*background-image: url("patterns/header-profile.png");*/
}

.custom-progress .progress {
    position: relative;
    height: 10px;
    margin-top: 10px;
    margin-bottom: 0px;
    background: gray;
    background: -moz-linear-gradient( left, green 50%, yellow 75%, red 100% );
    background: -webkit-gradient( linear, left top, right top, color-stop(50%, green), color-stop(75%, yellow), color-stop(100%, red) );
    background: -webkit-linear-gradient( left, green 50%, yellow 75%, red 100% );
    background: -o-linear-gradient( left, green 50%, yellow 75%, red 100% );
    background: -ms-linear-gradient( left, green 50%, yellow 75%, red 100% );
    background: linear-gradient( to right, green 50%, yellow 75%, red 100% );
}

.amount {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    transition: all 0.8s;
    background: gray;
    width: 0;
}


/*hide sidebar*/

.hide-sidebar {
    overflow: hidden;
    width: auto;
    height: 100%;
}


@media screen and (max-width:768px) {

    /* Da mobile togliamo i padding e i margin inutili */
    .padding-0-md {
        padding: 0px 0px !important;
    }

    .dflex-column-md {
        display: flex;
        flex-direction: column;
    }

    .map-point {
        max-width: 200px !important;
    }

    .imageMaintenanceSite {
        display: none !important;
    }

    .divMaintenanceSite {
        padding-top: 0rem !important;
    }

    .h1MaintenanceSite {
        font: normal normal bold 28px/41px Open Sans !important;
    }

    .pMaintenanceSite {
        font-size: 15px
    }

    .divPMaintenance {
        padding-bottom: 8rem;
    }
}

.dflex {
    display: flex !important;
}

.justify-center {
    justify-content: center;
}

.min-width-50 {
    min-width: 50px;
}

.min-width-70 {
    min-width: 70px;
}
/* L'elemento attivo della sidebar diventa piu grande il font-size ed aggiunge un pallino ● */
.nav-second-level li.active a {
    font-size: 15px !important;
}

.nav-second-level li.active > a::before {
    content: "● ";
    font-size: 15px !important;
}

.nav-third-level li:not(.active) a {
    padding-left: 65px !important;
    font-size: 13px !important;
}

.nav-third-level li.active a::before {
    content: "● ";
}

.nav li:focus > .nav-second-level {
    display: block;
    border-radius: 0 2px 2px 0;
    min-width: 140px;
    height: auto;
}

/* Quando passi con il mouse sopra l'elemento della sidebar si illumina difianco a sinistra */
#side-menu > li:hover:not(.active) > a {
    border-left: 4px solid white;
}


.tooltip-style {
    background-color: #089578 !important;
    /*background: linear-gradient(90deg, rgba(41,56,70,1) 0%, rgba(41,56,70,1) 36%, rgba(8,149,120,0.8) 100%) !important;*/
    color: white !important;
    border: none !important;
    font-size: 10px !important;
    height: 10px;
    box-shadow: 3px 3px 6px #dbdbdb !important;
    display: flex;
    align-items: center;
    border-radius: 30px;
    opacity: .8;
}


/* -------------------------------- */
/* ACCESSIBILITA UTENTE - CONTRASTI */
/* -------------------------------- */

/*Modifica del colore demo del menù*/
.coloretestodemo {
    color: #F0CBCB;
}

/* Modifica colore del navbar in alto a destra*/
.nav.navbar-right > li > a {
    color: #646464 !important;
}
/* Modifica del nuovo colore rosso*/
.bg-danger {
    background-color: #CB0000 !important;
}

/* Modifica del nuovo colore blu*/
.bg-success-ticket {
    background-color: #006FB5 !important;
    color: white;
}

/* Modifica del nuovo verde di navbar-minimalize*/
.btn-bg {
    background-color: #089578 !important;
    color: #FFFFFF;
    border-color: white;
    transition: transform .1s;
}

    .btn-bg :hover {
        background-color: #089578 !important;
        color: #FFFFFF;
        border-color: white;
        transform: scale(1.2);
    }



.posizioneLabel {
    background-color: #1ab394;
    color: white;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    padding: 3px 8px;
    text-shadow: none;
    font-size: 12px;
    border: 1px solid #1ab394;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    width: auto;
    height: auto;
}
/* Modifica del nuovo verde sezione notifiche*/
.label-primary-condivisa {
    background-color: #089578 !important;
    color: #FFFFFF !important;
}

/*Modifica dei contrasti pagina ticket management (home)*/
.box-shadow-light {
    box-shadow: 0 5px 18px rgb(0 0 0 / 0.2) !important;
}

/*Modifica del contrasto nella pagina IndexAssets*/
/*Modifica del colore del tasto filtri*/

.try {
    color: #646464 !important;
}
/*Modifica del colore di btn-success in IndexConsumabili*/
.btn-success-tickets {
    background-color: #006FB5 !important;
}

/*Modifica del colore di btn-primary nella stessa pagina di btn-success*/
.btn-primary-consumabili {
    background-color: #089578 !important;
    border-color: #089578 !important;
}


/*modifica del colore dei link per la pagina management*/
.links {
    color: #0505A4 !important;
}

    .links :hover {
        color: #23527c !important;
    }

/*Modifica button "leggi"*/
.btn-read {
    background-color: #727272 !important;
    color: white !important;
    border: none;
}

    .btn-read.active:focus, .btn-read.active:hover {
        background-color: #235ff7;
        color: white;
    }

/* Checkbox checkate modificate */
input[type='checkbox'][disabled][checked] {
    width: 0px;
    height: 0px;
}

    input[type='checkbox'][disabled][checked]:after {
        content: "✅";
        position: absolute;
        margin-top: -11px;
        margin-left: -2px;
        font-size: 12px;
    }

@media screen and (max-width:576px) {
    .column-sm {
        flex-direction: column;
    }

    .align-items-sm {
        align-items: center;
    }

    .imageMaintenanceSite {
        display: none !important;
    }

    .divPMaintenance {
        padding-bottom: 8rem;
    }
}


.space-between {
    justify-content: space-between
}

/*INDICATORI DI QUALITA'*/

.iq_row {
    display: flex;
    flex-direction: column;
}

.iq_col {
    display: flex;
    width: 107%;
}

.text_truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 50px;
}

.tr_font {
    font-size: 14px;
}

.Iq_table_style {
    border-collapse: separate;
    border-spacing: 0 1em;
    margin-bottom: 0px !important;
}

.rotate_label {
    transform: rotate(-90deg);
    color: white;
    font-weight: bold;
}

/*INCIDENT*/

.incident {
    width: 56px;
    background-color: rgb(247, 202, 172) !important;
    margin-top: 6rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    text-align: center
}

.incident_label {
    transform: rotate(-90deg);
    color: white;
    font-weight: bold;
    text-align: center
}

/*CHANGE STANDARD*/

.change_standard {
    width: 56px;
    margin-bottom: 1rem;
    background-color: rgb(255, 229, 152) !important;
    border: none;
    margin-top: 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    text-align: center
}

/*CHANGE NON STANDARD*/

.change_non_standard {
    width: 56px;
    margin-bottom: 1rem;
    background-color: rgb(197, 224, 179) !important;
    border: none;
    margin-top: 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.tutti {
    width: 56px;
    margin-bottom: 1rem;
    background-color: rgb(165, 165, 165) !important;
    border: none;
    margin-top: 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.request {
    width: 56px;
    margin-bottom: 1rem;
    background-color: rgb(156, 194, 229) !important;
    border: none;
    margin-top: 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
/*HELPERS*/

.padding-no {
    padding-right: 0px;
}

.padding-r-no {
    padding-right: 0px;
}

.padding-10 {
    padding: 10px !important;
}

.padding-l-no {
    padding-left: 0px;
}

.padding-b-no {
    padding-bottom: 0px !important;
}

.padding-left-no {
    padding-left: 0px !important;
}

.margin-b-15 {
    margin-bottom: 1rem !important;
}

.margin-b-30 {
    margin-bottom: 2rem !important;
}

.z-index-1 {
    z-index: 1;
}

.position-absolute {
    position: absolute;
}

.margin-t-15 {
    margin-top: 9rem;
}

/* NAVBAR INTERA DA MOBILE */
body.body-small.fixed-sidebar.mini-navbar .navbar-static-side {
    width: 100vw !important;
    background-color: #233645 !important;
}
/* /TipiManutenzione/Create - /TipiManutenzione/Edit */

#divTipoAsset {
    display: none;
}

#divModello {
    display: none;
}

#divAsset {
    display: none;
}

#radioTipoAsset:checked ~ div {
    display: block;
}

#radioModello:checked ~ div {
    display: block;
}

#radioAsset:checked ~ div {
    display: block;
}

/**/

.alignitemscenter {
    align-items: center;
}

/* INDEX - MANUTENZIONE versione MOBILE:*/
.divManutenzioneScaduta {
    width: 100%;
    height: auto;
}

.bordoLabel {
    border: 1px solid red;
}


.stileEsitoManutenzione {
    border-radius: 3px;
    padding: 2px;
    opacity: 0.7;
}

.bordoManutenzioneScaduta {
    border: 0.5px solid #CB0000 !important;
}

.bordoManutenzioneSenzaData {
    border: 0.5px solid #FFCA2C !important;
}


.label-tipomanutenzione {
    background-color: #FFFFFF;
    color: #1ab394;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    padding: 3px 8px;
    text-shadow: none;
    font-size: 12px;
    border: 1px solid #1ab394;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    width: auto;
    height: auto;
}

.label-centrointerno {
    background-color: #21B9BB;
    color: white;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    padding: 3px 8px;
    text-shadow: none;
    font-size: 12px;
    border: 1px solid #21B9BB;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    width: auto;
    height: auto;
}
/* Creazione di tutte le classi per correggere tutti gli stili in linea presenti in T-Quadro (540) */

.rounded-100 {
    border-radius: 100%;
}

.rounded-3 {
    border-radius: 3rem;
}

.rounded-2 {
    border-radius: 2rem;
}

.rounded-1 {
    border-radius: 1.25rem;
}

.padding-x-5 {
    padding: 0 5px;
}

.height-100vh {
    height: 100vh;
}

.w-100 {
    width: 100%;
}


.bg-primary-dark {
    background-color: darkgreen !important;
}

.object-fit-cover {
    object-fit: cover;
}

.text-align-right {
    text-align: right;
}

.icona-timeline-color {
    color: white;
}

.icona-testo-inline {
    display: inline-block;
}

.padding-label-5 {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.width-100 {
    width: 100px;
}

.width-160 {
    width: 160px !important;
}

.width-20 {
    width: 20px;
}

.width-15 {
    width: 15px;
}

.width-10 {
    width: 10px;
}

.comunicationBoxCheck {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    padding: 5px;
    width: 30px;
    text-align: center;
    border-top: 1px solid #e7eaec;
    border-bottom: 1px solid #e7eaec;
    border-left: 1px solid #e7eaec;
    border-right: 1px solid #e7eaec;
    background: #f8f8f8;
}

.position-center {
    position: center;
}

.margin-t-25 {
    margin-top: 25px;
}

.display-none {
    display: none;
}

.padding-b-30 {
    padding-bottom: 30px;
}

.padding-x-10 {
    padding: 0px 10px;
}

.padding-y-10 {
    padding: 10px 0px;
}

.padding-x-30 {
    padding: 0px 30px;
}

.padding-10-30 {
    padding: 10px 30px;
}

.min-height-150 {
    min-height: 150px;
}

.padding-t-20 {
    padding-top: 20px;
}

.padding-b-10 {
    padding-bottom: 10px;
}

.padding-l-0 {
    padding-left: 0px !important;
}

.margin-0 {
    margin: 0px !important;
}

.margin-10 {
    margin: 10px;
}

.margin-3 {
    margin: 3px;
}

.margin-30 {
    margin: 30px;
}

.margin-20 {
    margin: 20px;
}

.padding-2 {
    padding: 2px;
}

.padding-3 {
    padding: 3px;
}

.padding-5 {
    padding: 5px;
}

.padding-10 {
    padding: 10px;
}

.padding-15 {
    padding: 15px !important;
}

.text-primary {
    color: #1AB394 !important;
}

.padding-b-70 {
    padding-bottom: 70px;
}

.padding-t-70 {
    padding-top: 70px;
}

.max-w-100 {
    max-width: 100%;
}

.top-minus-5 {
    top: -5px;
}


.overflow-wrap-break-word {
    overflow-wrap: break-word;
}

.padding-t-10 {
    padding-top: 0.625rem;
}

.display-inline-block {
    display: inline-block;
}

.max-width-30 {
    max-width: 30px;
}

.height-auto {
    height: auto;
}

.padding-0 {
    padding: 0px !important;
}

.padding-b-15 {
    padding-bottom: 15px;
}

.min-height-100 {
    min-height: 100px !important;
}

.display-inline {
    display: inline;
}

.cursor-pointer {
    cursor: pointer;
}

.text-red {
    color: red;
}

.text-blue {
    color: blue;
}

.text-white {
    color: white !important;
}

.max-width-80 {
    max-width: 80px;
}

.text-align-left {
    text-align: left;
}

.text-align-center {
    text-align: center;
}

.padding-b-35 {
    padding-bottom: 35px;
}

.height-20 {
    height: 20px;
}

.height-50 {
    height: 50px;
}

.margin-t-10 {
    margin-top: 10px;
}

.margin-t-12 {
    margin-top: 12px;
}

.bordoTrasparente {
    border: 1px thin;
}

.background-norepeat {
    background-repeat: no-repeat;
}

.position-relative {
    position: relative;
}

.float-right {
    float: right;
}

.text-lightgrey {
    color: lightgrey;
}

.bg-gray {
    background-color: gray;
}

.text-last-justify {
    text-align-last: justify;
}

.white-space-nowrap {
    white-space: nowrap;
}

.bg-primary {
    background-color: #1AB394 !important;
}

.padding-r-20 {
    padding-right: 20px;
}

.padding-r-10 {
    padding-right: 10px;
}

.padding-r-40 {
    padding-right: 40px;
}

.margin-b-0 {
    margin-bottom: 0px !important;
}

.background-contain {
    background-size: contain;
}

.text-forestgreen {
    color: forestgreen;
}

.margin-t-30 {
    margin-top: 30px;
}

.margin-t-3 {
    margin-top: 3px;
}

.text-seagreen {
    color: seagreen;
}

.width-1580 {
    width: 1580px;
}

.f-bold {
    font-weight: bold;
}

.float-left {
    float: left;
}

.min-height-300 {
    min-height: 300px;
}

.bg-white-60 {
    background-color: rgba(255, 255, 255, 0.6);
}

.max-height-30 {
    max-height: 30px;
}

.flex-column {
    flex-direction: column;
}

.direction-row {
    flex-direction: row;
}

.justify-end {
    justify-content: right;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.width-40 {
    width: 40px;
}

.vertical-align-middle {
    vertical-align: middle;
}

.max-width-fitcontent {
    max-width: fit-content;
}

.overflow-y-auto {
    overflow-y: auto;
}

.height-25 {
    height: 25px;
}

.height-30 {
    height: 30px;
}

.w-30 {
    width: 30%;
}

.margin-r-30 {
    margin-right: 30px;
}

.margin-r-20 {
    margin-right: 20px;
}

.margin-r-10 {
    margin-right: 10px;
}

.margin-r-5 {
    margin-right: 5px;
}

.margin-l-25 {
    margin-left: 25px;
}

.margin-l-29 {
    margin-left: 29px;
}

.margin-l-30 {
    margin-left: 30px;
}

.margin-l-0 {
    margin-left: 0px;
}

.margin-l-15 {
    margin-left: 15px;
}

.w-50 {
    width: 50%;
}

.h-100 {
    height: 100%;
}

.bg-inherit {
    background-color: inherit !important;
}

.right-20 {
    right: 20px;
}

.width-30 {
    width: 30px;
}

.margin-b-0 {
    margin-bottom: 0px !important;
}

.white-space-pre-line {
    white-space: pre-line;
}

.white-space-pre-wrap {
    white-space: pre-wrap;
}

.w-4 {
    width: 4%;
}

.w-5 {
    width: 5%;
}

.w-10 {
    width: 10%;
}

.w-20 {
    width: 20%;
}

.w-40 {
    width: 40%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

.border-0 {
    border: 0px solid;
}

.border-1 {
    border: 1px solid;
}

.border-1-lightgray {
    border: 1px solid lightgray;
}

.padding-l-5 {
    padding-left: 5px;
}

.padding-t-3 {
    padding-top: 3px;
}

.min-width-40vw {
    min-width: 40vw;
}

.height-65 {
    height: 65px;
}

.gap-5 {
    gap: 5px;
}

.display-block {
    display: block !important;
}

.float-none {
    float: none !important;
}

.border-t-0 {
    border-top: 0px;
}

.padding-b-25 {
    padding-bottom: 25px;
}

.right-0 {
    right: 0px;
}

.top-0 {
    top: 0px;
}

.left-10 {
    left: 10px;
}

.f-w-500 {
    font-weight: 500;
}

.f-w-300 {
    font-weight: 300;
}

.margin-b-5 {
    margin-bottom: 5px;
}

.margin-b-80 {
    margin-bottom: 80px;
}

.margin-b-60 {
    margin-bottom: 60px;
}

.margin-t-5 {
    margin-top: 5px;
}

.box {
    position: relative;
    max-width: 600px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
}



.containerRibbon {
    --d: 6px; /* folded part */
    --c: #edf0f4; /* color */
    --f: 12px; /* ribbon font-size */

    position: relative;
    margin: 0px;
}

    .containerRibbon::before {
        content: attr(data-ribbon);
        position: absolute;
        font-size: var(--f);
        font-weight: bold;
        top: 0px;
        right: 5px;
        transform: translate(29.29%, -100%) rotate(45deg);
        color: #6FA8DC;
        text-align: center;
        border: 1px solid;
        border-bottom: 0;
        transform-origin: bottom left;
        padding: 5px 35px calc(var(--d) + 5px);
        background: linear-gradient(rgba(0, 0, 0, 0.5) 0 0) bottom/100% var(--d) no-repeat var(--c);
        background-clip: padding-box;
        clip-path: polygon(0 0,100% 0,100% 100%,calc(100% - var(--d)) calc(100% - var(--d)),var(--d) calc(100% - var(--d)),0 100%);
        -webkit-mask: linear-gradient(135deg,transparent calc(50% - var(--d) * 0.707),#fff 0) bottom left, linear-gradient(-135deg, transparent calc(50% - var(--d) * 0.707), #fff 0)bottom right;
        -webkit-mask-size: 300vmax 300vmax;
        -webkit-mask-composite: destination-in;
        mask-composite: intersect;
    }

.ribbonLeft::before {
    left: 0;
    right: auto;
    transform: translate(-29.29%, -100%) rotate(-45deg);
    transform-origin: bottom right;
}
/* TICKET */
.divTicketDaApprovare {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 800px) {
    .padding-sm-300 {
        padding-bottom: 300px;
    }

    .imageMaintenanceSite {
        display: none !important;
    }

    .divPMaintenance {
        padding-bottom: 8rem;
    }
}

.divMaintenanceSite {
    text-align: left;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
}

.h1MaintenanceSite {
    /* Layout Properties */
    top: 311px;
    left: 103px;
    width: 643px;
    height: 77px;
    /* UI Properties */
    text-align: left;
    font: normal normal bold 52px/71px Open Sans;
    letter-spacing: 0px;
    color: #23323F !important;
    opacity: 1;
    margin-left: 4rem;
}

.pMaintenanceSite {
    top: 412px;
    left: 103px;
    width: 714px;
    height: 45px;
    text-align: left;
    letter-spacing: 0px;
    color: #23323F;
    opacity: 1;
    margin-left: 4rem;
}

.buttonMaintenanceSite {
    padding-top: 2rem;
    /* UI Properties */
    text-align: left;
    font: normal normal 600 16px/22px Open Sans;
    letter-spacing: 0px;
    opacity: 1;
    margin-left: 4rem;
}

.divPMaintenance {
    display: flex;
}

.imageMaintenanceSite {
    display: flex;
    width: 94%;
}

.htmlMaintenance {
    overflow-y: hidden;
}

.divPMaintenance {
    padding-bottom: 10rem;
}

.h1LimitUser {
    font-size: 200% !important;
    text-align: left;
    font: normal normal bold 52px/71px Open Sans;
    letter-spacing: 0px;
    color: #23323F !important;
    opacity: 1;
    margin-left: 4rem;
}

.divLimitUser {
    text-align: left;
    padding-top: 17rem;
    display: flex;
    flex-direction: column;
}

.imageLimitUser {
    display: flex;
    width: 80%;
    justify-content: center;
}

.imagedivLimitUser {
    display: flex;
    justify-content: center;
}

.mt-4 {
    margin-top: 4rem;
}

.wrong-credentials-h1 {
    margin-left: 5rem;
    margin-right: 4rem;
    margin-bottom: 3rem;
}

.retrunLogin {
    border-radius: 13px;
    box-shadow: 5px 8px 10px #bdbdbd;
}

.popover {
    pointer-events: auto;
}

.popover-content {
    user-select: text;
}

.btn-default-lang {
    color: inherit;
    background: transparent;
}

.btn-lang-center {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.btn-lang {
    border: none;
}

.img-lang {
    width: 25px;
    height: 25px;
}

/* Personalizzazione dei tab */
.nav-link.custom-tab {
    background-color: #f8f9fa; /* Colore di sfondo personalizzato */
    border: 1px solid #dee2e6; /* Colore e spessore del bordo */
}

    .nav-link.custom-tab.active {
        background-color: #007bff; /* Colore di sfondo quando attivo */
        color: white; /* Colore del testo quando attivo */
    }

/* Personalizzazione del bordo delle card */
.card.custom-card-primary {
    /*border: 2px solid #007bff;*/ /* Colore e spessore del bordo per allarmi attivi */
    border: 1px solid #6c757d; /* Colore e spessore del bordo per allarmi attivi */
}

.card.custom-card-danger {
    border: 1px solid #dc3545; /* Colore e spessore del bordo per allarmi (rosso) */
}

/*.card.custom-card-secondary {
    border: 1px solid #6c757d;*/ /* Colore e spessore del bordo per storico allarmi */
/*}

.card.custom-card-info {*/
/*border: 2px solid #17a2b8;*/ /* Colore e spessore del bordo per eventi di monitoraggio */
/*border: 1px solid #6c757d;*/ /* Colore e spessore del bordo per eventi di monitoraggio */
/*}*/

/*.nav-link.active {
    background-color: #007bff;*/ /* Colore di sfondo per il tab attivo */
/*color: white;*/ /* Colore del testo per il tab attivo */
/*font-weight: bold;*/ /* Testo in grassetto per il tab attivo */
/*}*/



ul {
    list-style-type: none; /* Rimuove i puntini dall'elenco */
    padding: 0;
}


/* Stili per i link dei tab */
.nav-link-principali, .nav-link-monitoraggio {
    padding: 10px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid transparent;
    border-radius: 4px;
}

    .nav-link-principali.active, .nav-link-monitoraggio.active {
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
    }

    .nav-link-principali.text-danger.active, .nav-link-monitoraggio.text-danger.active {
        color: #fff;
        background-color: #dc3545; /* Rosso quando attivo */
        border-color: #dc3545;
    }

/* Stili per i contenuti dei tab */
.tab-pane-principali, .tab-pane-monitoraggio {
    display: none; /* Nascondi tutti i contenuti dei tab per impostazione predefinita */
}

    .tab-pane-principali.active, .tab-pane-monitoraggio.active {
        //border: 1px solid #007bff; /* Bordo colorato per il contenuto attivo */
        padding: 15px; /* Padding per il contenuto del tab */
        //background-color: #f8f9fa; /* Colore di sfondo per il contenuto attivo */
        display: block; /* Mostra solo il contenuto del tab attivo */
    }
/* Stile per il contenuto del tab attivo */
.tab-pane.active {
    padding: 15px; /* Padding per il contenuto del tab */
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.cards-container {
    border: ridge;
    border-color: red;
    padding-left: 2rem;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /*padding: 10px;*/
}

.cards-container-Warning {
    border: ridge;
    border-color: yellow;
    padding-left: 2rem;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /*padding: 10px;*/
}


.padding-t-15 {
    padding-top: 15px;
}


.leaflet-container {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 756/607;
}

#map {
    background-color: white;
}

.marker-cluster-red {
    background-color: rgba(226, 76, 76, 0.6);
}

    .marker-cluster-red div {
        background-color: rgba(204, 57, 57, 0.6);
    }


/* CONNECT-APP: */
/*Stile per il campo input nella pagina index, non legge classi bootstrap */

.input-group-text {
    display: flex;
    align-items: center; /* Allinea verticalmente al centro */
    justify-content: center; /* Allinea orizzontalmente al centro */
    //background-color: #f9f9f9 !important; /* Colore di sfondo per l'icona */
    //border: 1px solid #ced4da !important; /* Colore del bordo */
}

.input-group .form-control {
    border-left: none; /* Rimuove il bordo sinistro per evitare doppio bordo */
}

/* Stile per la barra di navigazione inferiore */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222; /* Colore scuro */
    padding: 10px 0; /* Aggiungere un po' di padding per spaziatura */
    z-index: 1000;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    margin: 0;
}

    /* Imposta la riga in flex per allineare orizzontalmente */
    .bottom-nav .row {
        display: flex;
        justify-content: space-around; /* Spaziatura uniforme tra gli elementi */
        align-items: center; /* Allineamento verticale centrato */
        width: 100%; /* Assicurati che prenda tutto lo spazio disponibile */
        margin: 0; /* Elimina margini interni */
    }

/* Stile dei collegamenti nel footer*/
.bottom-nav-link {
    color: white;
    text-decoration: none;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .bottom-nav-link i {
        font-size: 18px; /* Icone più grandi */
        margin-bottom: 3px;
    }

.bottom-nav p {
    margin: 0;
    font-size: 10px;
}

.bottom-nav .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0; /* Elimina i margini */
}

/*Stile per l'immagine nella pagina Details' */
.image-container {
    position: relative;
    width: 100%;
}

    .image-container img {
        width: 100%;
        height: auto;
    }

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    color: rgba(0, 0, 0, 1); /* Nero pieno */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}


    .back-button:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.btn-blu {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;
}

.custom-tags-container {
    margin: 10px 10px 20px 10px; /* margini: top, right, bottom, left */
}

/*Stile per card in pagina Index e card servizi in pagina Details */
.card-container-mobile {
    display: flex;
    justify-content: center;
    gap: 20px; /* Spazio tra i blocchi */
    padding: 10px;
}

.card-item {
    background-color: #fff; /* Sfondo bianco */
    border-radius: 10px; /* Angoli arrotondati */
    width: 90px; /* Larghezza di ogni blocco */
    height: 90px; /* Altezza di ogni blocco */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leggera ombra */
}

.card-icon {
    font-size: 24px;
    color: #333; /* Colore icona */
}

.card-text {
    margin-top: 5px;
    font-size: 12px;
    color: #666; /* Colore testo */
}

/*Stile per timeline in pagina DettaglioPercorso */
/* Stile per la sezione della timeline */
.new-page-timeline-section {
    //background-color: #f8f9fa;
}

.new-page-timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

    .new-page-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 30px;
        width: 2px;
        background: #dee2e6;
    }

.new-page-timeline-item {
    position: relative;
    margin-bottom: 30px;
}

    .new-page-timeline-item::before {
        content: '';
        position: absolute;
        left: 21px;
        top: 0;
        width: 16px;
        height: 16px;
        background-color: #337ab7;
        border-radius: 50%;
        z-index: 1;
        border-bottom: 2px solid #337ab7;
    }

.new-page-timeline-body {
    margin-left: 60px;
    padding: 10px 15px;
    background-color: #000000;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.new-page-timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
}

.new-page-timeline-text {
    font-size: 1rem;
    color: #6c757d;
}

.no-decoration {
    text-decoration: none !important;
    color: white !important;
}

.custom-mb-6 {
    margin-bottom: 4rem; /* Aumenta il valore del margine qui, 4rem è maggiore di 3rem di mb-5 */
}

.li_horizontal {
    display: inline-block; /* Mostra i tab in linea */
    margin-right: 10px;
}

.borderRight {
    height: 100%;
    border-style: groove;
    border-width: thin;
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
    border-right-color: grey;
}

.h-100 {
    height: 100%;
}

.h-80 {
    height: 80%;
}

.btn-color {
    color: #089578;
}

.p-left-4 {
    padding-left: 4.5rem;
}

.p-top-2 {
    padding-top: 2rem;
}

.canvasImg {
    padding-left: 7rem;
}

.imgAllarme {
    width: 15rem !important;
}

.p-bottom-2 {
    padding-bottom: 2rem;
}

.cards {
    border: ridge;
    border-color: red;
    padding-left: 1rem;
}

.p-top-3 {
    padding-top: 3rem;
}

.p-top-05 {
    padding-top: 0.5rem;
}

.border-radius20 {
    border-radius: 20rem !important;
}

.btn-Allarmi {
    background: red;
    color: white;
}

    .btn-Allarmi:hover {
        background: white;
        color: red;
        border: solid;
        border-width: thin;
    }


.p-bottom-1 {
    padding-bottom: 1rem;
}

.p-left-1 {
    padding-left: 1rem;
}

.m-top-25 {
    margin-top: 25rem;
}

.m-top-10 {
    margin-top: 10rem;
}

.header-buttons {
    padding-left: 1.7rem;
    margin-bottom: 1rem;
}

.tab-button {
    background: white;
    border: none;
    font-size: 16px;
    color: black;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

    .tab-button:hover {
        box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
    }

    .tab-button.active {
        background-color: #007bff;
        color: white;
        font-weight: bold;
        cursor: default;
        box-shadow: none;
    }

.warnings-badge {
    background-color: red;
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-radius: 10px;
    padding: 2px;
    margin-left: -1px;
    padding-bottom: 4px;
    padding-left: 7px;
    padding-right: 8px;
    text-shadow: none;
}
@media (min-width: 1750px) {
    #DetailsTicketAnagrafica{
        width:80%;
    }
    #divRightSideBar {
        width: 20% !important;
        height: 100vh;
    }

    .embedded-sidebar-container {
        position: static !important;
        width: 100% !important;
        height: 100vh !important;
        border: none !important;
        z-index: 1 !important;
        padding-left: 0px;
        background-color:white !important;
    }

    .embedded-sidebar-container .sidebar-container {
        width: 100% !important;
        height: 100vh !important;
        overflow: visible;
        padding: 0 !important;
    }

    .embedded-sidebar-container .nav-tabs {
        display: none;
    }

    .mobile-sidebar-trigger-row {
        display: none;
    }
}
@media screen and (max-width: 1749px) {
    #DetailsTicketAnagrafica {
        width: 100%;
    }
    .embedded-sidebar-container {
        position: fixed;
        top: 60px; /* Altezza approssimativa della navbar superiore */
        right: -320px; /* Nascosto a destra */
        width: 300px;
        height: calc(100vh - 60px);
        z-index: 2050; /* Sopra a tutto */
        transition: right 0.3s ease-in-out;
        overflow-y: visible;
        background-color: white !important;
    }

        .embedded-sidebar-container .sidebar-container {
            width: 100% !important;
            height: 100vh !important;
            overflow: visible;
            padding: 0 !important;
        }

        .embedded-sidebar-container.show-mobile {
            right: 0px;
            background-color: white;
        }

        .embedded-sidebar-container #right-sidebar {
            width: 30% !important;
            height: 100% !important;
            background-color: #ffffff !important;
            display: block !important;
            overflow-y: auto;
            border-left: 1px solid #e7eaec;
        }

    body.page-scrolled .embedded-sidebar-container {
        top: 0px !important;
        height: 100vh !important;
    }

    #divRightSideBar {
        background-color: white !important;
        width: 0% !important;
        display:block;
    }

    .mobile-sidebar-trigger-row {
        display: block;
        margin-bottom: 15px;
    }
}