#main-area {
    min-height: 100vh;
}

#main-area .btn-outline {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #14446A;
    line-height: 23px;
    padding: 8px 20px;
    border-radius: 3px;
    border: 2px solid #14446A;
    transition: all 0.2s ease-in-out;
    text-transform: none;
    /*display: inline;*/
}

#main-area .btn-outline:hover {
    background: #14446A;
    color: #ffffff;
    border: 2px solid #14446A;
}

#main-area .btn-green {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    line-height: 23px;
    padding: 8px 20px;
    background: #5CB85C;
    border-radius: 3px;
    border: 2px solid #5CB85C;
    transition: all 0.2s ease-in-out;
    text-transform: none;
    display: inline;
}

#main-area .btn-green:hover {
    background: #57AC57;
    color: #ffffff;
}

#main-area a {
    text-decoration: none;
}

#main-area a.link-mini {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    line-height: 18px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    padding-bottom: 0px;
    border-bottom: 1px solid transparent;
}

#main-area a.link-mini:hover {
    padding-bottom: 2px;
    border-bottom: 1px solid #333333;
}

#main-area a.link {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #14446A;
    line-height: 20px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    padding-bottom: 0px;
    border-bottom: 2px solid transparent;
}

#main-area a.link:hover {
    padding-bottom: 3px;
    border-bottom: 2px solid #14446A;
}

#main-area .line-l {
    height: 1px;
    width: 100%;
    background: #E6E6E6;
    margin: 25px 0;
}

#main-area .subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-weight: 500;
    color: #000000;
    line-height: 28px;
}

#main-area p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    color: #333;
    margin-bottom: 0;
}

#main-area .title-normal {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    color: #000000;
    margin-bottom: 0;
}

.main-breadcrumb {
    padding: 20px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.main-breadcrumb nav {
    background: #fff !important;
}

.main-breadcrumb .breadcrumb {
    margin-bottom: 0;
}

.main-breadcrumb .breadcrumb li {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    line-height: 18px;
}

.main-breadcrumb .breadcrumb a {
    color: #666666;
}

.main-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    /*color: #666666;*/
    color: #14446A;
}

.main-breadcrumb .breadcrumb-item.active {
    font-weight: 500 !important;
    color: #666666;
}

#main-content {
    padding: 20px 20px;
}

#main-content b,
#main-content strong,
#main-content .fat {
    /*font-weight: 500;*/
    font-weight: 800;
}

.profile .img-profilo {
    width: 160px;
    height: auto;
}

.profile .name {
    font-family: 'Roboto', sans-serif;
    font-size: 29px;
    font-weight: 500;
    color: #14446A;
    line-height: 38px;
}

.profile .desc {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    line-height: 25px;
}

.profile nav.tab-profile {
    background: #fff;
}

.profile .tab-content {
    padding-top: 30px;
}

.tab-profile .nav-tabs {
    border-bottom: 1px solid #dedede;
}

.tab-profile .nav-tabs .nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333333;
    margin-bottom: -1px;
    background: 0 0;
    border: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.tab-profile .nav-tabs .nav-item.show .nav-link,
.tab-profile .nav-tabs .nav-link.active {
    /*font-weight: 500;*/
    font-weight: 800;
    color: #14446A;
    background-color: #fff;
    border-color: transparent;
    border-bottom: 6px solid #14446A;
}

/* ---------------- FORM ---------------- */

#std-form .form-check-input:focus {
    border-color: rgba(222, 222, 222, 1) !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.05);
}

#std-form .form-check-label {
    font-family: 'BarlowC R', sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: #333333;
    padding: 0;
}

#std-form .form-label, #std-form .form-check-label {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    /*font-weight: 500;*/
    font-weight: 800;
    line-height: 25px;
    color: #000000;
    margin-bottom: 10px;
}

#std-form .form-control {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #333333;
    border: 1px solid #DEDEDE;
    border-radius: 4px;
    padding: 8px 10px;
    transition: all 0.3s ease-in-out;
}

#std-form .form-control:hover {
    border: 1px solid #cdcdcd;
}

#std-form .form-control::placeholder {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #333333 !important;
    transition: all 0.3s ease-in-out;
}

#std-form .form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.05);
}

#std-form .form-select {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333333 !important;
    border: 1px solid #DEDEDE;
    border-radius: 4px;
    padding: 7px 10px;
}

#std-form option {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #333333;
}

#std-form .form-select:focus {
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.05);
}

#std-form .form-control:disabled,
#std-form .form-select:disabled {
    background-color: #f6f6f6 !important;
}

#std-form .form-check-input:checked {
    background-color: #01A527;
    border-color: #01A527;
}

#std-form .form-switch {
    display: flex !important;
    justify-content: start;
    padding-left: 0;
}

#std-form .form-switch .form-check-input {
    padding-left: 0;
    margin-left: 20px;
}

#std-form .form-switch .form-check-input:focus {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e") !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
}

#std-form .form-check-input:focus {
    border-color: rgba(280, 0, 0, 0.25) !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.05);
}

/* ---------------------------  TABLE  ---------------------------*/

.general-table {
    display: grid;
    width: 100%;
}

.general-table.attach-table {
    grid-template-columns: 1.5fr 4.5fr 1fr 1.5fr 1.5fr;
    /* Personalizza la larghezza delle colonne */
}

.general-table .table-row {
    display: contents;
    /* Mantiene l'allineamento senza bisogno di wrapper extra */
}

.general-table .cell {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    padding: 20px 20px;
    transition: all 0.1s ease-in-out;
    min-height: 100%;
    /* Per centrare anche il contenuto della cella */
}

.general-table .cell.bg-l {
    background-color: #F6F6F6;
}

.general-table .header-table {
    display: contents;
    /* Mantiene l'allineamento senza bisogno di wrapper extra */
}

.general-table .header-table .cell {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    padding: 10px 20px;
    background-color: transparent;
    border-bottom: 0;
    transition: all 0.1s ease-in-out;
    min-height: 100%;
    align-items: center;
}

.file-btn, .upload-result {
    color: #fff !important;
}

.file-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hide {
    display: none;
}

.form-check-input:disabled {
    opacity: unset !important;
}