/* Foglio di stile personalizzato */

#tbody_modal_prezzi tr:first-child span,
#tbody_modal_prezzi tr:last-child span {
    display: inline-flex;
    align-items: center;
    font-size: 1.15rem !important;
    padding: 0.325rem 0.5rem;
    border-radius: 0.325rem;
}

#tbody_modal_prezzi tr:first-child span {
    color: #50cd89;
    background-color: #e8fff3;
}

#tbody_modal_prezzi tr:last-child span {
    color: #f1416c;
    background-color: #ffb9b9;
}

.page-loader {
    z-index: 99999;
}

.loader-message .spinner-border {
    display: inline-block;
    width: 6rem;
    height: 6rem;
    margin-bottom: 20px;
}

.loader-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    flex-direction: column;
}

/*Modifichiamo gli stili del body*/
#div_filtro_avanzato {
    width: 100%;
    background: rgba(21, 34, 65, 0.3);
    padding: 10px;
    border-radius: 10px;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected {
    background-color: #6ebbda;
}

.card {
    border: 0;
    /*box-shadow: 8px -6px 10px 4px hwb(229deg 63% 28% / 10%);*/
    box-shadow: 1px 1px 7px 5px rgb(0 0 0 / 10%);
}

.card .card-header .card-title .card-label {
    color: #d44c15;
}

.card-header+.card-body {
    padding-top: 0;
}

.text-blue-sub {
    color: #152241;
    font-size: 13px;
}

.text-red-sub {
    color: #c72a40;
    font-size: 13px;
}

.text-gray {
    font-size: 13px;
}

i.bi.icona-dashboard.bi::before {
    font-size: 30px;
}

.modifica-utente {
    padding: 20px;
}

.avatar-img>img {
    border-radius: 80px;
}

.image-input.image-input-outline .image-input-wrapper {
    border-radius: 50px;
    border: none;
    margin-top: 5px;
}

.btn-primary {
    color: #fff !important;
    background-color: #6EBBDA !important;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: #6EBBDA !important;
}

.btn-bis {
    background-color: #5A6268;
    color: #fff;
}

.btn-bis:hover {
    color: #fff;
}

.btn-active-bis {
    background-color: #5A6268;
}

.import {
    border-radius: 5px;
}

.import .bi:before {
    color: #5a6268;
}

.menu-state-bg .menu-item.show>.menu-link {
    background-color: #d27b8e;
}

.nav-custom .nav-link {
    color: #152241 !important;
}

.nav-custom .nav-link.active {
    opacity: 1;
    border-bottom: 2px solid #152241 !important;
}

.bg-span-dashboard {
    background-color: #c02a44 !important;
}

.dash-modal {
    font-size: 20px;
}

div#signature {
    width: 100%;
    height: 90%;
    position: relative;
}

main {
    min-height: 400px;
}

div#kt_footer div.flex-column {
    border-top: 1px solid #dedede;
}

/*Modifichiamo gli stili dell'header*/
body:not([data-kt-sticky-header=on]) .header .header-menu .menu>.menu-item>.menu-link .menu-icon,
body:not([data-kt-sticky-header=on]) .header .header-menu .menu>.menu-item>.menu-link .menu-icon .svg-icon,
body:not([data-kt-sticky-header=on]) .header .header-menu .menu>.menu-item>.menu-link .menu-icon i,
body:not([data-kt-sticky-header=on]) .header .header-menu .menu>.menu-item>.menu-link .menu-title {
    color: #ffffff;
}

body:not([data-kt-sticky-header=on]) .topbar .btn.btn-custom .svg-icon,
body:not([data-kt-sticky-header=on]) .topbar .btn.btn-custom i {
    color: #ffffff !important;
    background: none !important;
}

.header .header-menu .menu>.menu-item>.menu-link .menu-icon,
.header .header-menu .menu>.menu-item>.menu-link .menu-icon .svg-icon,
.header .header-menu .menu>.menu-item>.menu-link .menu-icon i,
.bi::before,
[class*=" bi-"]::before,
[class^=bi-]::before {
    font-size: 20px;
}

.menu-state-icon-primary .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-icon,
.menu-state-icon-primary .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-icon .svg-icon,
.menu-state-icon-primary .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-icon i,
.menu-state-icon-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon,
.menu-state-icon-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon .svg-icon,
.menu-state-icon-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-icon i {
    color: #6ebbda;
}

.btn.btn-active-light-primary:hover:not(.btn-active) i {
    color: #6ebbda;
}

.btn-check:active+.btn.btn-active-light-primary .svg-icon,
.btn-check:active+.btn.btn-active-light-primary i,
.btn-check:checked+.btn.btn-active-light-primary .svg-icon,
.btn-check:checked+.btn.btn-active-light-primary i,
.btn.btn-active-light-primary.active .svg-icon,
.btn.btn-active-light-primary.active i,
.btn.btn-active-light-primary.show .svg-icon,
.btn.btn-active-light-primary.show i,
.btn.btn-active-light-primary:active:not(.btn-active) .svg-icon,
.btn.btn-active-light-primary:active:not(.btn-active) i,
.btn.btn-active-light-primary:focus:not(.btn-active) .svg-icon,
.btn.btn-active-light-primary:focus:not(.btn-active) i,
.btn.btn-active-light-primary:hover:not(.btn-active) .svg-icon,
.btn.btn-active-light-primary:hover:not(.btn-active) i,
.show>.btn.btn-active-light-primary .svg-icon,
.show>.btn.btn-active-light-primary i,
.menu-state-icon-primary .menu-item.show>.menu-link .menu-icon,
.menu-state-icon-primary .menu-item.show>.menu-link .menu-icon .svg-icon,
.menu-state-icon-primary .menu-item.show>.menu-link .menu-icon i {
    color: #6ebbda;
}

.show>.btn.btn-active-light-primary {
    background-color: rgb(255 255 255 / 10%) !important;
}

.alert-icon.bi::before {
    font-size: 20px;
    color: #fff;
    margin-right: 1rem;
    margin-bottom: .5rem;
}

.header-fixed[data-kt-sticky-header=on] .header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 97;
    background-color: #fff;
    box-shadow: 0 10px 30px 0 rgb(82 63 105 / 8%);
    height: 65px;
    border-bottom: 0;
    padding: 0;
}

i.bi.nuovo-icon::before {
    margin-left: 5px;
}

.nuovo-icon {
    color: #6ebbda;
}

/*Modifichiamo gli stili delle icone nell'header sticky*/
span.menu-icon:hover {
    color: red;
}


h1.titolo {
    color: #ffffff;
}

body {
    overflow-x: hidden;
    background-image: url(../../img/bg-header-comparatore-ingromarket.png);
    background-size: 100%;
}

/*Modifichiamo gli stili della toolbar*/
.py-lg-15 {
    padding-top: 2rem !important;
}

.messaggio-conferma {
    margin-top: 30px;
    text-align: center;
}

.elenco-contratti hr:last-child {
    display: none;
}

.col-half {
    width: 46%;
    float: left;
    margin: 0 2%;
}

.col-quarto {
    width: 21%;
    float: left;
    margin: 0 2%;
}

.tbc-azioni {
    min-width: 100px;
}

.servizio-blocco {
    padding: 10px;
    background-color: #eaeaea;
}

.servizio-blocco:nth-child(4n+1) {
    border: 2px solid #6cbc4d;
}

.servizio-blocco:nth-child(4n+2) {
    border: 2px solid #01afec;
}

.servizio-blocco:nth-child(4n+3) {
    border: 2px solid #48922b;
}

.servizio-blocco:nth-child(4n+4) {
    border: 2px solid #0a83ae;
}

.navbar-dark .navbar-brand {
    color: #FF0004;
}

.navbar-brand {
    margin-right: 30px;
}

.navbar-brand img {
    max-height: 30px;
}

a.nav-link,
a.dropdown-item {
    display: flex;
}

.dropdown-toggle::after {
    margin-top: 10px;
}

.btn.btn-round {
    border-radius: 50px;
    padding: 1px 10px 2px 10px;
}

.copyright-content {
    font-size: 12px;
    padding-top: 20px;
}

.form-label {
    margin-bottom: 0;
    margin-top: .5rem;
}

#div_filtro_avanzato .form-label {
    margin-bottom: 0.5rem;
    margin-top: .5rem;
    color: #fff;
}

span.etichetta-filtro {
    margin-right: 20px;
    padding-top: 6px;
}

table.table tbody tr td,
table.table thead tr th,
table.table thead {
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

table.table tbody tr td:first-child,
table.table thead tr th:first-child,
table.table thead:first-child,
table.table tbody tr td:last-child,
table.table thead tr th:last-child,
table.table thead:last-child {
    border-left: none;
    border-right: none;
}

.tabella-clienti {
    font-size: 14px;
}

i.bi.icona-dashboard.bi::before {
    font-size: 35px;
    color: #6ebbda;
}

.toolbar .btn.btn-custom {
    background-color: #6ebbda;
}

.toolbar .btn.btn-custom:hover {
    background-color: #6ebbda;
    color: #fff;
}


.btn.btn-active-color-primary:not(.btn-active),
.show>.btn.btn-active-color-primary,
.btn.btn-active-color-primary:not(.btn-active) .svg-icon {
    color: #fff;
}

.btn.btn-active-color-primary:hover:not(.btn-active),
.show>.btn.btn-active-color-primary,
.btn.btn-active-color-primary:hover:not(.btn-active) .svg-icon {
    color: #fff;
}

body:not([data-kt-sticky-header=on]) .topbar .btn.btn-custom .svg-icon,
body:not([data-kt-sticky-header=on]) .topbar .btn.btn-custom i {
    color: #d44c15;
    /*Da verificare*/
    background-color: rgb(255 255 255 / 50%);
}

/*Modifichiamo gli stili delle tabelle*/

table td.ingro,
table tr.ingro {
    background-color: #bcdfed !important;
    color: #000;
}

.table tr:hover {
    color: #000 !important
}

table.comparazione span i {
    color: #ffffff;
}

table.table-striped.comparazione td {
    text-align: center;
}

table.comparazione .bi::before {
    font-size: 15px !important;
}

#dettagli_listino .table td,
#dettagli_listino .table th {
    padding-left: 20px;
}

#dettagli_listino .table tr {
    border-bottom: solid 1px #444;
}


table.table tbody tr td,
table.table thead tr th,
table.table thead {
    border-left: none;
    border-right: none;

}

.table th,
.table td {
    border-color: #e7e9ed;
}

.badge-light-danger {
    color: #f1416c !important;
    background-color: #ffb9b9 !important;
}

/* Login CSS */
body.login-panel {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-signin {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.form-control.read-only {
    border: 1px solid #f4c530;
}

/* END Login CSS */

@media (min-width: 992px) {

    h1.titolo {
        padding-top: 10px;
    }

    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }

    .filtri-interventi {
        text-align: end;
        padding-top: 20px;
    }

    .intervento-head>div,
    .intervento>div {
        border-bottom: 1px solid #444444;
        border-left: 1px solid #444444;
        padding: 10px;
    }

    .intervento-head>div {
        border-top: 1px solid #444444;
    }

    .intervento-head>div:first-child {
        border-top-left-radius: 10px;
    }

    .intervento-head>div:last-child {
        border-top-right-radius: 10px;
    }

    .intervento-head>div:last-child,
    .intervento>div:last-child {
        border-right: 2px solid #6e6e6e;
    }

    .intervento:last-child>div:first-child {
        border-bottom-left-radius: 10px;
    }

    .intervento:last-child>div:last-child {
        border-bottom-right-radius: 10px !important;
    }

    .row.intervento:nth-child(odd) {
        background-color: #ededed;
    }

    .row.intervento:nth-child(even) {
        background-color: #fff;
    }

    .row.intervento:hover {
        background-color: #9bd1e4 !important;
        color: #fff;
    }

    .row.intervento:hover .modal {
        color: #212529;
    }

    .intervento-head {
        background-color: #6ebbda;
        color: #fff;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .int-t {
        display: none;
    }

    .row.intervento .int-cliente {
        font-weight: bold;
    }

    i.bi.elenco.bi::before {
        font-size: 17px;
        color: #5a6268;
    }

    a.link {
        color: #5a6268;
    }

    a.link:hover {
        color: #fff;
    }

    .form-control .form-control-solid {
        color: rgb(42 68 130);
    }

    div.ingro {
        background-color: #bcdfed;
    }

}

@media (max-width: 991px) {
    /* TABLET - SM */

    .int-m {
        display: none;
    }

    .text-blue-sub {
        color: #152241;
        font-size: 13px;
    }

    .text-red-sub {
        color: #c72a40;
        font-size: 13px;
    }

    .text-gray {
        font-size: 13px;
    }

    .filtri-interventi {
        font-size: 14px;
        padding-bottom: 10px;
    }

    .filtri-interventi a {
        font-size: 14px;
    }

    .row.intervento {
        margin: 0 1px 20px 1px;
        border-radius: 10px;
        padding: 10px;
        font-size: 13px;
    }

    .row.intervento .int-cliente {
        font-size: 15px;
        font-weight: bold;
    }

    .row.intervento:nth-child(odd) {
        background-color: #ffffffff;
        border: solid 0.5px #4444;
    }

    .row.intervento:nth-child(even) {
        background-color: #eaeaea;
    }

    .int-break {
        display: none;
    }

    hr.int-t {
        margin: 5px 0;
    }

    a.link {
        color: #fff;
    }

    i.bi.elenco.bi::before {
        color: #152241;
    }


}

@media (max-width: 576px) {

    /* SMARTPHONE - < SM */
    body {
        background-size: 100% 150px;
    }
}


@media (max-width: 991.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 56px;
        /* Height of navbar */
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #343a40;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    }

    .offcanvas-collapse.open {
        visibility: visible;
        transform: translateX(-100%);
    }
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    color: rgba(255, 255, 255, .75);
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .875rem;
    color: #6c757d;
}

.nav-underline .nav-link:hover {
    color: #007bff;
}

.nav-underline .active {
    font-weight: 500;
    color: #343a40;
}

.text-white-50 {
    color: rgba(255, 255, 255, .5);
}

.bg-purple {
    background-color: #6f42c1;
}

.contenuto_etichetta {
    font-weight: bold;
    font-size: 1.1rem;
}

.eliminato {
    background-color: #B9B9B9;
    border: 1px solid #FB0004;
}

.eliminato .row {
    background: rgba(255, 255, 255, 0.8);
}

/* Stile per l'header fisso della tabella comparazione */
.table-responsive {
    position: relative;
}

table.comparazione thead.top-fixed {
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: table;
    width: 100%;
    table-layout: fixed;
}

table.comparazione thead.top-fixed tr {
    display: table-row;
}

table.comparazione thead.top-fixed th {
    background-color: #fff;
    display: table-cell;
}

/* Assicura che la tabella mantenga lo stesso layout */
table.comparazione {
    table-layout: fixed;
    width: 100%;
}

/* Stile per la riga intervento-head fissa */
.row.intervento-head.top-fixed {
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #6ebbda;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    display: flex;
}

.row.intervento-head.top-fixed div[class*="col-"] {
    background-color: #6ebbda;
}