main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/** LOGIN PAGE */
.required:after{
    content: unset;
}
.required label:after{
    content: "*";
    color: #F64E60;
    padding-left: 5px;
}

/** SELECT 2 */
.select2-container {
    width: 100% !important;
}
.select2-selection.select2-selection--multiple,
.select2-selection.select2-selection--single{
    height: 44px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b,
.select2-container--default .select2-selection--multiple .select2-selection__arrow b{
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #3F4254;
    position: relative;
    line-height: 1.5;
    height: 100%;
}
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single{
    border: 1px solid var(--kt-input-border-color);
    border-radius: 0.475rem;
}

/** BREADCRUMBS */
.breadcrumb .breadcrumb-item:after{
    content: "•";
    padding-left: 0.5rem;
}

#loading-spinner {
    display: flex;
    position: fixed;
    z-index: 10000;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(192, 192, 192, 0.5);
    background-repeat: no-repeat;
    background-position: center;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

#loading-spinner:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid #ccc;
    border-top-color: #2b4175;
    animation: spinner 0.8s linear infinite;
    z-index: 99999;
}

.spinner2 {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-right: 5px;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

thead.kv-table-header{
    background-color: transparent;
    background-image: unset;
}

.previzioni-aree-delimitate-card .select2-container .select2-selection--single,
.previzioni-aree-delimitate-card .select2-container .select2-selection--multiple{
    min-height: 44px !important;
    position: relative;
}
.previzioni-aree-delimitate-card .select2-container .select2-selection--single .select2-selection__rendered{
    padding-top: 7px;
}
.previzioni-aree-delimitate-card .select2-search.select2-search--inline{
    position: absolute;
    left: 0;
}
.previzioni-aree-delimitate-card .select2-selection.select2-selection--multiple{
    padding-top: 5px !important;
}
.previzioni-aree-delimitate-card .select2-container--default .select2-selection--multiple .select2-selection__choice{
    margin-top: 10px !important;
}
.previzioni-aree-delimitate-card .select2-container--default .select2-selection--multiple .select2-search--inline{
    margin-top: 7px !important;
}

.nav-tabs .nav-link{
    font-size: 15px;
}
.nav-tabs .nav-link.active{
    font-weight: 800;
}

.trattamento-row td,
.pulizia-row td,
.misure_protezione-row td{
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.trattamento-row td:first-child,
.pulizia-row td:first-child,
.misure_protezione-row td:first-child{
    padding-left: 0 !important;
}
.trattamento-row td:last-child,
.pulizia-row td:last-child,
.misure_protezione-row td:last-child{
    padding-right: 0 !important;
}

.btn-disabled {
    opacity: 0.5; /* Opacità */
    cursor: not-allowed; /* Cambia il cursore per indicare il disabilitato */
    pointer-events: none;
}

.input-disabled {
    background-color: #eff2f5;
    border-color: #e4e6ef;
    opacity: 1;
    pointer-events: none;
    cursor: not-allowed;
}

.fs-12{
    font-size: 12px;
}