﻿:root {
    /* BORDER */
    --border: 1px solid;
    /* border-radius: 7px */
    --br-7: 7px;
    --br-UP-7: 7px 7px 0px 0px;
    --br-DOWN-7: 0px 0px 7px 7px;
    --br-RIGTH-7: 0px 7px 7px 0px;
    --br-LEFT-7: 7px 0px 0px 7px;
    /* border-radius: 10px */
    --br-10: 10px;
    --br-UP-10: 10px 10px 0px 0px;
    --br-DOWN-10: 0px 0px 10px 10px;
    --br-RIGTH-10: 0px 10px 10px 0px;
    --br-LEFT-10: 10px 0px 0px 10px;
    /* border-radius: 15px */
    --br-15: 15px;
    --br-UP-15: 15px 15px 0px 0px;
    --br-DOWN-15: 0px 0px 15px 15px;
    --br-RIGTH-15: 0px 15px 15px 0px;
    --br-LEFT-15: 15px 0px 0px 15px;
    /* ---------------------------- */
    /**/
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* ELEMENTI PRINCIPALI */

html {
    font-size: 14px;
}

h1 {
    font-size: 2rem; /* 28px */
    font-weight: 700;
}

h2 {
    font-size: 1.57rem; /* 22px */
    font-weight: 500;
}

h3 {
    font-size: 1.285rem; /* 18px */
    font-weight: 500;
}

h4 {
    font-size: 1.143rem; /* 16px */
    font-weight: 500;
}

h5 {
    font-size: 1rem; /* 14px */
    font-weight: 500;
    text-transform: uppercase;
}

h6 {
    font-size: 1rem; /* 14px */
    font-weight: 500;
}

.main-header {
    min-height: 3rem;
    max-height: 3rem;
    padding-top: 0;
    padding-bottom: 0;
}

.main-sidebar {
    font-size: 18px;
}

.main-footer {
    padding: 1rem !important;
}

.sidebar {
    height: calc(100vh - (3.5rem + 1px));
}

.content-wrapper {
    padding: .5rem .5rem 0 .5rem;
    min-height: calc(100vh - 4rem) !important;
    margin-top: 3rem !important;
}

    .content-wrapper .row {
        max-width: 100%;
    }

.nav-sidebar > .user-panel {
    font-weight: normal;
    margin-top: 2rem !important;
}

div.layout-top-nav .main-header {
    margin-left: 0 !important;
}

.layout-top-nav .wrapper .main-header .brand-image {
    margin-top: 0;
}

div.layout-top-nav .content-wrapper {
    margin-left: 0 !important;
}

div.layout-top-nav .main-footer {
    margin-left: 0 !important;
}

hr {
    border: 0;
    padding: 0 !important;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

a,
a:hover {
    text-decoration: none;
}

.nav-link {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

.w-100 label {
    margin-bottom: .27rem;
}

.w-30 {
    width: 30% !important;
}

.w-33 {
    width: 33% !important;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* CALENDAR */

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: .5rem;
    padding-left: 0;
    padding-right: 0;
}

.fc-daygrid-event {
    margin-bottom: 1px;
}

.fc-event.fc-event-draggable, .fc-event[href] {
    cursor: grab;
}

.fc-daygrid-day-frame,
.fc-timegrid-slot-lane {
    cursor: pointer;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */
/* BREADCRUMB */
ul .breadcrumb {
    padding: 10px 16px;
    list-style: none;
    margin-bottom: .5rem;
    padding-left: 0;
}

    ul.breadcrumb li {
        display: inline;
        font-size: 18px;
        color: var(--colore-testo);
    }

        ul.breadcrumb li + li:before {
            padding: 8px;
            color: var(--colore-testo);
            content: "/"
        }

        ul.breadcrumb li a {
            text-decoration: none;
        }

    ul.breadcrumb > li:last-child > span {
        font-weight: bold;
    }

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* NAV TAB */

.nav-tabs > .nav-link {
    border-radius: var(--br-UP-10);
    padding: .25rem .5rem;
    min-width: 7em;
}

.tab-pane-content {
    padding: 1rem;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

.incore-disabled {
    pointer-events: none;
    cursor: not-allowed;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* FORM */

.form-floating:not(.gandalf) {
    margin-bottom: 2rem;
}

    .form-floating:not(.gandalf) > span {
        display: inline-block;
        padding-left: .75rem;
        font-size: .9rem;
        padding: 0px;
    }

    /* Formattazione della Select2 */
    .form-floating:not(.gandalf) > .select2 > span > .select2-selection {
        min-height: 58px;
        background-color: var(--bg-riga-selezionata);
    }

        .form-floating:not(.gandalf) > .select2 > span > .select2-selection > span[role='textbox'] {
            margin-top: 15px;
        }

        .form-floating:not(.gandalf) > .select2 > span > .select2-selection > span[role='presentation'] {
            margin-top: 20px;
        }

.form-check.form-grouping {
    padding: 0;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin: 0 !important;
}

/* GANDALF THEME */
.gandalf .form-floating,
.gandalf .w-100 {
    margin-bottom: 16px;
}

    .gandalf .form-floating input.form-control,
    .gandalf .w-100 select.form-control {
        min-height: 40px;
        font-weight: 400;
        border-radius: 4px;
    }

    /*stile delle select2 multiple (vedere figma)*/

    .gandalf .form-floating label.control-label,
    .gandalf .w-100 label.control-label {
        height: 20px;
        font-size: 12px;
        font-weight: 700;
        padding: 0 .25rem 0 .25rem;
        margin-top: 1rem;
        margin-left: 10px;
        z-index: 99;
    }

        .gandalf .form-floating label.control-label:has(+ div.input-group) {
            margin-top: -.75rem;
        }

        .gandalf .w-100 label.control-label:has(+ select.select2-hidden-accessible:not([multiple])) {
            padding: 0;
        }

    .gandalf .w-100 .select2-selection.select2-selection--multiple {
        max-height: 40px;
        padding: 0;
    }

    .gandalf .w-100 .select2-search.select2-search--inline {
        margin: 0;
    }

    .gandalf .w-100 ul.select2-selection__rendered {
        margin: 0;
        padding: 0;
        padding-left: 12px;
        padding-right: 12px;
    }

    .gandalf .w-100 .select2-selection__choice {
        border-radius: 100px !important;
        min-height: 20px;
        max-height: 20px;
        margin-top: 10px;
        margin-right: 8px;
        padding: 3 21px 4px 4px;
        font-size: 12px;
    }

    .gandalf .w-100 .select2-selection__choice__remove {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        position: relative;
        top: 3px;
        text-align: center;
        line-height: 11px;
    }

    .gandalf .w-100 .select2-selection.select2-selection--multiple input {
        min-height: 24px;
        margin-bottom: 8px;
        margin-top: 8px !important;
    }

    .gandalf .w-100 .select2-container--default .select2-selection--multiple .select2-selection__rendered:after {
        content: "\25BC"; /* Unicode for downward triangle */
        position: absolute;
        right: 10.5px;
        top: 50%;
        transform: translateY(-50%) scaleX(.7) scaleY(.47);
        pointer-events: none;
    }

    .gandalf .form-floating .input-group > input.form-control {
        border-left: transparent !important;
        padding-left: .5rem;
    }

    .gandalf .form-floating > .form-control:focus ~ label,
    .gandalf .form-floating > .form-control:not(:placeholder-shown) ~ label,
    .gandalf .form-floating > .form-select ~ label, .form-check ~ label {
        transform: none !important;
        padding: 0 .25rem 0 .25rem !important;
        opacity: 1;
    }

    .gandalf .form-floating .input-group > .input-group-prepend {
        border: 1px solid;
        border-radius: 4px 0 0 4px;
        border-right: transparent !important;
    }

        .gandalf .form-floating .input-group > .input-group-prepend > span {
            border: none;
            background-color: transparent !important;
            padding: 0;
            padding-left: .25rem;
        }

    .gandalf .w-100 span.select2-selection {
        min-height: 40px;
        padding-top: 1rem;
        border-radius: 4px;
    }

    .gandalf .w-100 span.select2-selection__arrow {
        margin-top: .5rem;
    }

.select2-results__option[aria-selected="true"] {
    font-weight: 600;
}

.gandalf .w-100 > label:first-child {
    position: relative;
    margin-top: 0;
    top: 1rem;
}

.gandalf .form-floating ~ .gandalf .w-100 {
    margin-top: -1px;
}

.gandalf .w-100 ~ .gandalf .w-100 {
    margin-top: -29px;
}

.form-floating.form-floating-symbol {
    margin-top: 2rem;
    margin-bottom: 0 !important;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------ INIZIO PAGINA LOGIN ------------------------ */
/* (vedere anche sezione style all'interno della pagina) */
.login-container-BoxCard {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 1.25rem 1rem;
    height: fit-content;
    width: fit-content;
    min-width: 27%;
}

.login-BoxCard {
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    min-width: 100%;
    padding: 2rem;
    border: var(--border) #dddedf;
    border-radius: var(--br-15);
    height: fit-content;
}

.login-container-img {
    display: flex;
    justify-content: center;
    padding: 1.5rem 2rem 3.5rem 2rem;
}

    .login-container-img > img {
        max-height: 50px;
    }

.login-form-floating-input {
    font-weight: bold !important;
    border-color: #adafb1 !important;
}

.login-form-floating-label {
    color: #757677;
    font-weight: normal !important;
}

.login-container-accedi {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 2rem 0rem 1rem 0rem;
}

input.btn.btn-primary.login-btn-accedi {
    width: 100%;
    border-radius: 50px !important;
    font-weight: bold;
    color: #fff !important;
    background-color: #191650 !important;
    border-color: #191650 !important;
    box-shadow: none !important;
}

    input.btn.btn-primary.login-btn-accedi:hover {
        color: #fff !important;
        background-color: #0D1435 !important;
        border-color: #0D1435 !important;
    }

.login-container-providers-zone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

    .login-container-providers-zone > hr {
        border-top: var(--border) #B3B3B3;
        color: #B3B3B3;
    }

.login-container-line-text-line {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: #757677 !important;
    width: 100%;
}

    .login-container-line-text-line > hr {
        width: 40%;
        border-top: var(--border) #B3B3B3;
    }

    .login-container-line-text-line > span {
        width: 20%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.login-container-providers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0.25rem 0rem 0.25rem 0rem;
}

.login-container-registrati {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem 0rem 0rem 0rem;
    border-color: #191650 !important;
}

.login-btn-registrati {
    width: 100%;
    border-radius: 50px !important;
    background-color: transparent !important;
    color: #191650 !important;
    border: var(--border) #191650 !important;
    font-weight: bold;
}

.btn-primary.login-btn-provider,
.btn-primary.register-btn-provider {
    color: #fff !important;
    background-color: #191650 !important;
    border-color: #191650 !important;
    box-shadow: none !important;
}

    .btn-primary.login-btn-provider:hover,
    .btn-primary.register-btn-provider:hover {
        color: #fff !important;
        background-color: #0D1435 !important;
        border-color: #0D1435 !important;
    }

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* ------------------------ INIZIO PAGINA REGISTER ------------------------ */
.register-container-BoxCard {
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 1.25rem 1rem;
    height: fit-content;
    max-width: 33%;
}

.register-BoxCard {
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    min-width: 100%;
    padding: 2rem;
    border: var(--border) #adafb1;
    border-radius: var(--br-15);
    height: fit-content;
}

.register-container-img {
    display: flex;
    justify-content: center;
    padding: 1.5rem 2rem 3.5rem 2rem;
}

    .register-container-img > img {
        max-height: 50px;
    }

.register-form-floating-input {
    font-weight: bold !important;
    border-color: #adafb1 !important;
}

.register-form-floating-label {
    color: #757677;
    font-weight: normal !important;
}

.register-container-accedi {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 2rem 0rem 1rem 0rem;
}

.register-btn-accedi {
    width: 100%;
    border-radius: var(--br-15) !important;
    font-weight: bold;
}

.register-container-providers-zone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

    .register-container-providers-zone > hr {
        border-top: var(--border) #B3B3B3;
        color: #B3B3B3;
    }

.register-container-line-text-line {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: #757677 !important;
    width: 100%;
}

    .register-container-line-text-line > hr {
        width: 40%;
        border-top: var(--border) #B3B3B3;
    }

    .register-container-line-text-line > span {
        width: 20%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.register-container-providers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0.25rem 0rem 0.25rem 0rem;
}

.register-container-registrati {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem 0rem 0rem 0rem;
    border-color: #191650 !important;
}

button.btn.btn-primary.register-btn-registrati {
    width: 100%;
    border-radius: 50px !important;
    font-weight: bold;
    color: #fff !important;
    background-color: #191650 !important;
    border-color: #191650 !important;
    box-shadow: none !important;
}

    button.btn.btn-primary.register-btn-registrati:hover {
        color: #fff !important;
        background-color: #0D1435 !important;
        border-color: #0D1435 !important;
    }

.register-container-campi-facoltativi {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-container-doppio-campo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.register-container-select {
    display: flex;
    justify-content: center;
}

.register-p-informativo {
    color: #757677;
    padding: 3rem 0rem 1rem 0rem;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/*  INPUT */

input {
    border-radius: var(--br-7);
    padding: .25rem;
}

    /*input[type='checkbox']:checked:after {
        content: '\2713';
    }*/

    input[type='checkbox'] {
        text-align: center;
        display: table-cell;
        vertical-align: middle;
        width: 20px !important;
        height: 20px !important;
        appearance: none;
        border-radius: 10%;
        box-shadow: none;
        font-size: 1em;
        border-radius: 3px;
        margin-right: 10px;
        top: 26px;
    }

    input[type='radio'] {
        width: fit-content;
        margin-left: 1rem;
    }

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* DATATABLE */

table.dataTable {
    padding-top: 1rem;
}

.dt-azioni.dropdown > .btn.dropdown-toggle {
    padding-top: 0;
    padding-bottom: 0;
}

.dataTables_filter > label {
    display: flex;
    align-items: center;
}

div.dt-button-collection {
    border-radius: var(--br-15);
    padding: 0px;
}

    div.dt-button-collection:hover {
        border-radius: var(--br-15);
        padding: 0px;
    }

.dt-otherButtons-container {
    float: left;
    display: flex;
    align-items: center;
}

.dt-otherButtons {
    margin: 0;
}

.dataTables_wrapper .dataTables_filter input,
.dt-buttons .buttons-collection,
.dataTables_wrapper .dataTables_length select {
    border-radius: var(--br-7);
}

.dataTables_wrapper .dataTables_length select {
    font-weight: 700;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 0px; /*2rem;*/
    font-weight: 700;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 0px; /*1.495rem;*/
}

.dt-container {
    padding: 1rem;
    border-radius: var(--br-7);
}

.dt-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.dataTables_length > label {
    margin: 0;
}

.dataTables_info {
    padding: 0;
}

button.dt-button,
div.dt-button,
a.dt-button,
input.dt-button {
    text-align: start;
    border: none;
}

    button.dt-button:hover:not(.disabled),
    div.dt-button:hover:not(.disabled),
    a.dt-button:hover:not(.disabled),
    input.dt-button:hover:not(.disabled) {
        background: none;
        border: none;
    }

.dt-buttons .buttons-collection {
    margin: 0;
}

button.dt-button {
    background: none;
}

div.dt-button-collection button.dt-button,
div.dt-button-collection div.dt-button,
div.dt-button-collection a.dt-button {
    margin: 0;
    border: none;
}

    div.dt-button-collection button.dt-button:last-child,
    div.dt-button-collection div.dt-button:last-child,
    div.dt-button-collection a.dt-button:last-child {
        border-bottom: none;
        border: none;
    }

    div.dt-button-collection button.dt-button:first-child,
    div.dt-button-collection div.dt-button:first-child,
    div.dt-button-collection a.dt-button:first-child {
        border-top: none;
    }

.dt-square-button {
    /*width: 38px;*/
    height: 38px;
}

table.dataTable.no-footer {
    border-bottom: 0;
}

table.dataTable tbody tr td {
    border-top: var(--border);
}

table.dataTable tbody tr.child {
    background-color: transparent !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    min-height: 2.5rem;
    min-width: 2.5rem;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 0;
    padding-right: 0;
    border-radius: 8px;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_paginate > span {
    margin: 0;
}

.dataTables_filter > input[type='search'].searchDT {
    margin: 0;
    border-color: rgba(151, 151, 151, 1) !important;
    background-color: rgba(245, 246, 250, 1) !important;
}
/* ----------------------------------------------------------------------------------------------------------------------------- */
/* DROPDOWN */
.dropdown-toggle {
    content: none;
    background: none;
}

    .dropdown-toggle::after {
        content: none;
        background: none;
    }

.dropdown-menu {
    border-radius: var(--br-15);
    margin: 0;
    padding: 0;
}

    .dropdown-menu > .dropdown-item:first-child {
        border-radius: var(--br-UP-15);
    }

        .dropdown-menu > .dropdown-item:first-child:hover {
            border-top: none;
            border-radius: var(--br-UP-15);
        }

    .dropdown-menu > .dropdown-item:last-child {
        border-radius: var(--br-DOWN-15);
    }

        .dropdown-menu > .dropdown-item:last-child:hover {
            border-bottom: none;
            border-radius: var(--br-DOWN-15);
        }

ul.dropdown-menu > li:first-child > .dropdown-item,
ul.dropdown-menu > li:first-child > .dropdown-item:hover {
    border-radius: var(--br-UP-15);
}

ul.dropdown-menu > li:last-child > .dropdown-item,
ul.dropdown-menu > li:last-child > .dropdown-item:hover {
    border-radius: var(--br-DOWN-15);
}

ul.dropdown-menu > li:only-child > .dropdown-item,
ul.dropdown-menu > li:only-child > .dropdown-item:hover {
    border-radius: var(--br-15);
}

.dropdown-item {
    padding: .8rem;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* DROPDOWN USER*/

.dropdown-user-azioni .dropdown-toggle {
    content: none;
    background: none;
}

    .dropdown-user-azioni .dropdown-toggle::after {
        content: none;
        background: none;
    }

.dropdown-user-azioni .dropdown-menu {
    border-radius: var(--br-15);
    margin: 0;
    padding: 0;
    min-width: 320px;
}

    .dropdown-user-azioni .dropdown-menu > .dropdown-item:first-child {
        border-radius: var(--br-UP-15);
    }

        .dropdown-user-azioni .dropdown-menu > .dropdown-item:first-child:hover {
            border-top: none;
            border-radius: var(--br-UP-15);
        }

    .dropdown-user-azioni .dropdown-menu > .dropdown-item:last-child {
        border-radius: var(--br-DOWN-15);
    }

        .dropdown-user-azioni .dropdown-menu > .dropdown-item:last-child:hover {
            border-bottom: none;
            border-radius: var(--br-DOWN-15);
        }

.dropdown-user-action-first {
    border-top: none;
    border-radius: var(--br-UP-15);
}

.dropdown-user-action-last {
    border-bottom: none;
    border-radius: var(--br-DOWN-15);
}

ul.dropdown-menu > li:last-child > .dropdown-item {
    border: none;
}

    ul.dropdown-menu > li:last-child > .dropdown-item:hover {
        border: none;
    }

ul.dropdown-menu > li:only-child > .dropdown-item {
    border: none;
}

    ul.dropdown-menu > li:only-child > .dropdown-item:hover {
        border: none;
    }

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* CONTACT */

.contact-azioni .dropdown-toggle {
    content: none;
    background: none;
}

    .contact-azioni .dropdown-toggle::after {
        content: none;
        background: none;
    }

.contact-azioni .dropdown-menu {
    border-radius: var(--br-15);
    margin: 0;
    padding: 0;
}

    .contact-azioni .dropdown-menu > .dropdown-item:first-child {
        border-radius: var(--br-UP-15);
    }

        .contact-azioni .dropdown-menu > .dropdown-item:first-child:hover {
            border-top: none;
            border-radius: var(--br-UP-15);
        }

    .contact-azioni .dropdown-menu > .dropdown-item:last-child {
        border-radius: var(--br-DOWN-15);
    }

        .contact-azioni .dropdown-menu > .dropdown-item:last-child:hover {
            border-bottom: none;
            border-radius: var(--br-DOWN-15);
        }

.contact-action-first {
    border-radius: var(--br-UP-15);
    padding: 1rem !important;
}

    .contact-action-first:hover {
        border-radius: var(--br-UP-15);
        padding: 1rem !important;
    }

.contact-action-last {
    border: none !important;
    border-radius: var(--br-DOWN-10) !important;
}

#contactSubmit:not(.incore-disabled):hover {
    border-radius: var(--br-DOWN-15) !important;
}

.contact-action label.control-label,
.contact-action label.form-label {
    font-weight: normal;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* FOOTER */

footer {
    z-index: 1032;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* SWAL */

.swal2-container.swal2-center > .swal2-popup {
    border-radius: var(--br-15);
}

.swal2-popup {
    width: 35%;
    padding: 3rem !important;
}

.swal2-actions {
    justify-content: space-around;
    width: 100%;
}

.swal2-confirm {
    min-width: 40% !important;
    font-size: large;
    font-weight: bold;
}

.swal2-deny {
    min-width: 40% !important;
    font-size: large;
    font-weight: bold;
}

.swal2-icon {
    margin: auto;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* BUTTON */

.btn {
    border-radius: var(--br-10);
    background-color: white;
    color: black;
    border: var(--border) black;
}

.btn-success {
    background-color: white !important;
    color: #37AD48 !important;
    border: var(--border) #37AD48 !important;
}

    .btn-success:hover {
        background-color: #37AD48 !important;
        color: white !important;
        border: var(--border) #37AD48 !important;
    }

.btn-danger {
    background-color: white !important;
    color: red !important;
    border: var(--border) red !important;
}

    .btn-danger:hover {
        background-color: red !important;
        color: white !important;
        border: var(--border) red !important;
    }

.btn-contact {
    border-radius: 100%;
    width: 60px;
    height: 60px;
    padding: .5rem;
}

.btn-up {
    border-radius: 100%;
    width: 30px;
    height: 30px;
    padding: .5rem;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* SELECT2 */

.select2-container {
    padding: 0;
    /*width: 100% !important;*/
}

.select2-container--default .select2-selection--multiple {
    border: var(--border) var(--bg-riga-selezionata);
    border-radius: 7px;
}

.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: var(--border) var(--bg-riga-selezionata);
    border-radius: 7px;
}

.select2-container--default .select2-dropdown {
    border: none;
}

.select2.select2-container.select2-container--default.select2-container--below.select2-container--open {
    width: inherit !important;
}

.select2-selection {
    overflow: hidden;
}

.select2-selection__rendered {
    white-space: normal;
    word-break: break-all;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single:hover,
.select2-container--default .select2-selection--single::selection {
    max-height: 1.75rem;
    border-radius: 7px;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        max-height: 1.25rem;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        margin-top: -.75rem;
    }

[data-select2-id] label.control-label {
    margin-bottom: .25rem;
}

.incore-select {
    width: 100% !important;
}

    .incore-select > label {
        margin-bottom: .25rem;
    }

/* ----------------------------------------------------------------------------------------------------------------------------- */
/* MODALE */
.InCoreModalForm,
.modal-content {
    border-radius: var(--br-10);
}

.InCoreModalBtnOthers {
    display: flex;
    flex-direction: row;
}

    .InCoreModalBtnOthers > button {
        margin-left: .5rem;
        margin-right: .5rem;
    }

/* ----------------------------------------------------------------------------------------------------------------------------- */
/*  DROPZONE  */
.dz-default.dz-message {
    margin: 0px;
}

.dropzone {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--br-10);
    color: black;
}

.incore-dropzone {
    padding: 2px;
}

.dz-button {
    display: flex;
    flex-direction: row;
}

.dz-preview.dz-image-preview {
    margin: 0;
    max-height: 100px;
    max-width: 100px;
}

.dz-image > img {
    max-width: 100px;
    max-height: 100px;
    aspect-ratio: 1;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

/* NAVTAB */

.tab-control {
    padding-top: 0.5rem;
    border-radius: 15px;
}

.tab-content {
    /*padding: 1rem;*/
    padding-top: 0px;
    border-radius: 0px 0px 15px 15px;
    background-color: transparent !important;
}

.tab-control .nav-tabs {
    border: none;
}

.tab-navigation {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

    .tab-navigation > nav {
        border-radius: 8px 8px 0 0;
        padding: 25px 20px 0 20px;
    }

    .tab-navigation .nav-tabs .nav-link {
        border: none;
        border-radius: 0;
        border-bottom: solid 3px;
        margin-right: 24px;
    }

    .tab-navigation > .tab-content > .tab-pane {
        /*background-color: magenta;*/
    }
/*.nav-tabs {
    flex-wrap: nowrap;
}

.nav-tabs > button {
    font-size: 1.2vw !important;
    min-width: 9vw !important;
    max-width: 9vw !important;
}*/

/* ----------------------------------------------------------------------------------------------------------------------------- */

/*  AMMINISTRAZIONE */

/*.manage-form .form-floating {
    margin: 0rem 0.8rem;
}*/

.nav.nav-menu a.nav-link.btn,
.tab-panel .nav button.nav-link {
    border-color: #B3B3B3 !important;
    border: none;
    background-color: transparent !important;
    color: var(--colore-testo) !important;
    font-size: 28px;
    padding: 0; /* 0rem 3rem 0rem 3rem; */
    min-width: 240px;
    margin: 0px !important;
}

.tab-panel .nav button.nav-link {
    font-size: 1.5rem;
    min-width: 175px;
}

    .nav.nav-menu a.nav-link.btn.active,
    .tab-panel .nav button.nav-link.active {
        border-bottom: 3px solid var(--verde-ingage) !important;
        border-radius: 0px;
        pointer-events: none;
    }

    .nav.nav-menu a.nav-link.btn:not(.active):hover,
    .tab-panel .nav button.nav-link:not(.active):hover {
        border-bottom: 3px solid #B3B3B3 !important;
        border-radius: 0px;
        color: #B3B3B3 !important;
    }

/* ----------------------------------------------------------------------------------------------------------------------------- */

/*  ACCORDION */

.accordion-item {
    border: none;
    background-color: var(--bg-riempimento);
}

.accordion-button {
    border-radius: 10px !important;
    font-size: 16px;
    padding: 6px 12px 6px 12px;
}

.accordion-body {
    padding: 2rem .5rem 2rem .5rem;
    margin-top: 1rem;
}

.accordion-body,
.accordion-footer {
    background-color: var(--bg-riempimento);
    border-top: var(--border) var(--border-color-generica);
}

    .accordion-body .form-floating {
        border-radius: 10px;
    }

.accordion-footer {
    padding: 1rem .5rem 0rem .5rem;
}

.accordion-button:focus {
    box-shadow: none;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */
/* SUMMERNOTE */

/*.summernote-label {
    position: relative !important;
    top: -145px !important;
}*/

/* ----------------------------------------------------------------------------------------------------------------------------- */

.incore-flex {
    display: flex;
}

.incore-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.incore-flex-row {
    display: flex;
    flex-direction: row;
}

.incore-flex-row-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.incore-flex-column {
    display: flex;
    flex-direction: column;
}

.incore-flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.br-circle {
    border-radius: 100px;
}

.fs-15 {
    font-size: 15px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-24 {
    font-size: 24px;
}

.box-ingage-side-menu {
    max-width: 180px;
    margin: 0px;
    border-radius: var(--br-15);
    padding: 0rem 1rem 1.5rem 1rem;
}

.error-container {
    max-width: 600px;
    margin: auto;
    text-align: center;
    padding: 1rem;
    border-radius: var(--br-15);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.incore-row-2-column {
    display: flex;
    flex-direction: row; /* Disporre gli elementi in due colonne */
    align-items: center;
    column-gap: 16px;
    padding-bottom: .5rem;
}

    .incore-row-2-column > .w-100 {
        margin-bottom: 0;
        margin-top: 2rem;
    }

    .incore-row-2-column > .form-floating {
        margin-bottom: 1.5rem;
    }

    /* Imposta la larghezza delle colonne */
    .incore-row-2-column > * {
        flex-basis: 50%; /* Ogni colonna occupa il 50% dello spazio disponibile */
    }

/*.incore-row-2-column > *:first-child {
            margin-right: 1.5rem;
        }

        .incore-row-2-column > *:last-child {
            margin-left: 1.5rem;
        }*/


.incore-form-2-column {
    display: flex;
    flex-direction: column; /* Disporre gli elementi in due colonne */
}

    /* Imposta la larghezza delle colonne */
    .incore-form-2-column > div {
        display: flex;
        flex-direction: row; /* Disporre gli elementi in due colonne */
        align-items: center;
        column-gap: 16px;
    }

        .incore-form-2-column > div > * {
            flex-basis: 50%; /* Ogni colonna occupa il 50% dello spazio disponibile */
        }

/* .incore-form-2-column > div > *:first-child {
                margin-right: 1.5rem;
            }

            .incore-form-2-column > div > *:last-child {
                margin-left: 1.5rem;
            }*/

.incore-row-3-column {
    display: flex;
    flex-direction: row; /* Disporre gli elementi in due colonne */
    align-items: center;
    column-gap: 16px;
    padding-bottom: .5rem;
}

    .incore-row-3-column > .w-100 {
        margin-bottom: 0;
        margin-top: 2rem;
    }

    .incore-row-3-column > .form-floating {
        margin-bottom: 1.5rem;
    }

    /* Imposta la larghezza delle colonne */
    .incore-row-3-column > * {
        flex-basis: 33%; /* Ogni colonna occupa il 50% dello spazio disponibile */
    }

/* .incore-row-3-column > *:not(:last-child) {
            margin-right: 1.5rem;
        }

        .incore-row-3-column > *:not(:first-child) {
            margin-left: 1.5rem;
        }*/

.incore-row-5-column {
    display: flex;
    flex-direction: row; /* Disporre gli elementi in due colonne */
    align-items: center;
    column-gap: 16px;
    padding-bottom: .5rem;
}

    .incore-row-5-column > .w-100 {
        margin-bottom: 0;
        margin-top: 2rem;
    }

    .incore-row-5-column > .form-floating {
        margin-bottom: 1.5rem;
    }

    /* Imposta la larghezza delle colonne */
    .incore-row-5-column > * {
        flex-basis: 20%; /* Ogni colonna occupa il 20% dello spazio disponibile */
    }

/*.incore-row-5-column > *:not(:last-child) {
            margin-right: .5rem;
        }

        .incore-row-5-column > *:not(:first-child) {
            margin-left: .5rem;
        }*/

.incore-row-4-column {
    display: flex;
    flex-direction: row; /* Disporre gli elementi in due colonne */
    align-items: center;
    column-gap: 16px;
    padding-bottom: .5rem;
}

    .incore-row-4-column > .w-100 {
        margin-bottom: 0;
        margin-top: 2rem;
    }

    .incore-row-4-column > .form-floating {
        margin-bottom: 1.5rem;
    }

    /* Imposta la larghezza delle colonne */
    .incore-row-4-column > * {
        flex-basis: 25%; /* Ogni colonna occupa il 25% dello spazio disponibile */
    }

/*.incore-row-4-column > *:not(:last-child) {
            margin-right: .5rem;
        }

        .incore-row-4-column > *:not(:first-child) {
            margin-left: .5rem;
        }*/


.incore-form-3-column {
    display: flex;
    flex-direction: column; /* Disporre gli elementi in due colonne */
}

    /* Imposta la larghezza delle colonne */
    .incore-form-3-column > div {
        display: flex;
        flex-direction: row; /* Disporre gli elementi in due colonne */
        align-items: center;
        column-gap: 16px;
    }

        .incore-form-3-column > div > * {
            flex-basis: 33%; /* Ogni colonna occupa il 50% dello spazio disponibile */
        }

/*.incore-form-3-column > div > *:not(:last-child) {
                margin-right: 1.5rem;
            }

            .incore-form-3-column > div > *:not(:first-child) {
                margin-left: 1.5rem;
            }*/

/* Regole CSS applicate solo quando la larghezza dello schermo è inferiore o uguale a 800px */
@media (max-width: 800px) {
    .incore-row-2-column {
        display: flex;
        flex-direction: column; /* Disporre gli elementi in due colonne */
        align-items: center;
        column-gap: 16px;
        padding-bottom: .5rem;
    }
        /* Imposta la larghezza delle colonne */
        .incore-row-2-column > * {
            flex-basis: 100%; /* Ogni colonna occupa il 50% dello spazio disponibile */
        }

        .incore-row-2-column > * {
            margin-right: 0 !important;
            margin-left: 0 !important;
        }

    /* Imposta la larghezza delle colonne */
    .incore-form-2-column > div {
        display: flex;
        flex-direction: column; /* Disporre gli elementi in due colonne */
    }

        .incore-form-2-column > div > * {
            flex-basis: 100%; /* Ogni colonna occupa il 50% dello spazio disponibile */
        }

        .incore-form-2-column > div > * {
            margin-right: 0 !important;
            margin-left: 0 !important;
        }

    .incore-row-3-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        column-gap: 16px;
        padding-bottom: .5rem;
    }

        .incore-row-3-column > * {
            flex-basis: 100%;
        }

        .incore-row-3-column > * {
            margin-right: 0 !important;
            margin-left: 0 !important;
        }

    .incore-form-3-column > div {
        display: flex;
        flex-direction: column;
    }

        .incore-form-3-column > div > * {
            flex-basis: 100%;
        }

        .incore-form-3-column > div > * {
            margin-right: 0 !important;
            margin-left: 0 !important;
        }
}

.incore-filter {
    width: 100% !important;
    display: flex;
    flex-direction: row;
    padding-left: 8px;
}

ul.breadcrumb {
    padding-left: 0;
    padding-right: 0;
}


/* -----------------------------------------DATATABLE ------------------------------------------*/

.gandalf .dataTables_filter {
    float: none !important;
    display: inline-block !important;
}

.gandalf .dataTables_wrapper .dataTables_filter input {
    border-radius: 8px;
    /*margin-left: 10px;*/
}

.gandalf .dt-buttons .buttons-collection {
    border-radius: 4px;
}

.gandalf .dt-topleft-container {
    float: left;
    padding-right: 16px;
    border-right: 1px solid rgba(151, 151, 151, 0.3);
}

.gandalf .dt-topright-container {
    float: right;
    padding-right: 16px;
    border-right: 1px solid rgba(151, 151, 151, 0.3);
}

.gandalf .dt-topright {
    margin-left: 16px;
}

.gandalf .dt-topleft-container > .dt-topleft:not(:first-child) {
    margin-left: 16px;
}

.gandalf .dt-buttons-container {
    margin-left: 16px;
}

/*---------------------------------------------------------------------------------------------*/
i[class*="incore-mi-"] {
    font-style: normal;
}

.nav-sidebar > .nav-item .nav-icon[class*="incore-mi-"] {
    font-size: 24px;
    min-width: 42px;
    margin: 0;
    display: flex;
}

.sidebar .nav-link p {
    font-size: 1.14rem;
}

.nav-item .nav-treeview p {
    margin-left: 28px;
}

.incore-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    column-gap: 16px;
    max-height: 56px;
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 6px;
}

    .incore-row > div,
    .incore-row .form-floating {
        margin: 0;
        padding-top: 6px;
    }

        .incore-row .form-floating label {
            margin-top: -4px !important;
        }

        .incore-row .form-floating input {
            position: initial !important;
            top: 0 !important;
        }

    .incore-row .form-check.form-grouping {
        margin: 0;
        margin-top: 6px;
    }

    .incore-row [class^="incore-row-"][class$="-column"],
    .incore-row [class^="incore-row-"][class$="-column"] > div {
        padding-bottom: 0;
    }

    .incore-row .w-100 {
        padding-top: 6px;
        margin-bottom: 0;
    }

    .incore-row .incore-dropzone {
        margin-top: 6px;
    }


/* -------------------------- WIZARD ------------------------------- */

.wizard-nav {
    border: none;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    scrollbar-width: thin;
    overflow-y: hidden;
    gap: 24px;
}

    .wizard-nav .tab-navigation .nav-tabs .nav-link:not(.active),
    .wizard-nav .tab-navigation .nav-tabs .nav-link {
        min-width: fit-content;
        border: none;
        padding: 0;
    }

.tab-navigation .nav-tabs.wizard-nav .nav-link:hover:not([disabled]) {
    background-color: transparent;
    border: none;
    padding: 0;
}

button.wizard-btn-disabled i,
button.wizard-btn-disabled div{
    color: rgba(0, 0, 0, 0.38) !important;
}

/*  ---------------------------------------------------------------- */

.incore-statodt {
    display: inline-block;
    font-weight: 700;
    padding: .5rem 1.5rem .5rem 1.5rem;
    min-width: 140px;
    text-align:center;
}