
div.dataTables_wrapper div.dataTables_length select {
    padding-right: 36px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
    padding: 0;
}

@media (min-width: 1024px) {
    .modal-dialog {
        max-width: 900px;
    }    
}

.dropzone {
    height: 100%;
    padding: 0 0;
    position: relative
}

.dropzone .btnAttachmentDelete 
, .dropzone .btnAttachmentDownload {
    position: absolute;
    top: 20px;
    width: 35px;
    height: 35px;
    padding: 5px;
    border-radius: 20px;
}

.dropzone .btnAttachmentDelete {    
    top: 60px;
}

.dropzone .dz-image {
    text-align: center;
    background: #cccc;
}

.dropzone .dz-image i {
    font-size: 90px;
}

.dropzone .dz-message i{
    font-size: 60px;
}

select.form-control {
    -webkit-appearance: auto;
}

.mb_crud_detail .mb_value {
    background-color: lightgreen;
    margin-bottom: 3px;
    min-height: 30px;
    padding: 5px;
}

div.mb_input_password input {
    display: inline;
    width: auto;
}

div.mb_input_password label {
    padding-left: 10px;
    padding-right: 10px;
}

div.mb_crud_detail label {
    padding-top: 0;
    padding-bottom: 0;
}

main > .alert {
    margin-top: 30px;
}

.mb_crud_list_filters {
    margin-bottom: 30px;
}

.filters-footer button {
    margin: 0 2px;
}

.mb_crud_list_filters .mb_from_to .col-form-input .form-control,
.mb_crud_list_filters .mb_from_to .col-form-input .input-group,
.mb_crud_list_filters .mb_from_to .col-form-input .input-group-text
{
    display: inline-block;
    width: auto;
}

.mb_crud_list_filters .mb_from_to .col-form-input .form-control{
    margin-left: 20px;
    margin-right: 20px;
}

.mb_crud_list_filters .mb_from_to .col-form-input .input-group .form-control {
    margin-right: 0px;
}

.mb_crud_list_filters .mb_from_to .col-form-input .input-group-text{
    margin-right: 20px;   
}

/* .mbListActions a{
    margin-right: 5px;
} */


.mb_mandatory label{
    font-weight: bold;
}

.mb_mandatory label.form-check-label{
    font-weight: normal;
}


.mb_error.mb_full {
    color: #008000!important;
    font-size: 5em;
    text-align: center;
    display: grid;
    height: 70vh;
    justify-content: center; /* aligns the items horizontally */
    align-items: center; /* aligns the items vertically */    
}

/* .toast-container.position-absolute {
    position: sticky!important;
    top: 50px;
} */

.mb_multiselect {
    border: 0;
}

.mb_crud_form .row.alert {
    padding: 2px 0px;
}

.mb_crud_form .row.alert .mb_warning_text{
    color: red;
    font-size: smaller;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
    
    top: -3px;
    position: relative;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* htmlTags */
.dropdown.form-control-disabled {
    background-color: rgb(233, 236, 239);
}

.dropdown.form-control-disabled .btn-close{
    display: none;
}

/**/

.mbBtnListEditHidden .mbBtnListEdit{
    display: none;
}

/* .d-flex .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; 
    height: 20px; 
    border-radius: 50%; 
} */

.mbListActions {
    text-align: right;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    /* margin-top: 10px; */
}


table.dataTable tbody tr.medicalCertificateExpired {    
    background-color: rgba(255, 0, 0, 0.250)
}

table.dataTable tbody tr.medicalCertificateExpiring {
    background-color: rgba(255, 255, 0, 0.250);
}

table.dataTable tbody tr.medicalCertificateExpiredForRegistration {
    background-color: rgba(255, 166, 0, 0.250)
}


.mb_row_formUid {
    height: 0px;
}

.mb_row_formUid i {
    display: none;
}

.dropdown-menu.tags-menu {
    position: sticky;
}

/* Righe di dettaglio informazioni */
.info-row {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e9ecef;
}
.info-row:last-child { border-bottom: none; }
.info-label {
    width: 40%; /*140px;*/
    font-weight: 500;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.info-value {
    flex: 1;
    font-weight: 600;
    color: #212529;
}
@media (max-width: 576px) {
    .info-row {
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.8rem 0;
    }
    .info-label { width: auto; }
}

/* --- */

.action-icons {
    text-align: right;
}