label.form-label {
    font-size: 12px;
    font-weight: bold;
}

/* Oscurecer un poco al hacer hover sobre los dropdown-item y el activo también */
.dropdown-item:hover,
.dropdown-item.active {
    background-color: #e9ecef !important;
}

html[data-layout-mode="dark"] .dropdown-item:hover,
html[data-layout-mode="dark"] .dropdown-item.active {
    background-color: #343a40 !important;
}

/* agregar border más pronunciado al dropdown menú */
.dropdown-menu {
    border: 1px solid #ced4da !important;
}

div.d-grid {
    padding-top: 7px !important;
}

div.tbl_img_container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.tbl_img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

/* label.form-label {
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 2px;
} */

label.form-label {
    font-size: 12.5px !important;
    margin-bottom: 2px;
    margin-top: 8px;
}

span.required {
    color: red !important;
}

table.dataTable tbody td {
    vertical-align: middle;
}

img.img-sized {
    max-height: 200px !important;
    object-fit: cover;
}

.bootstrap-select>.dropdown-toggle {
    border: 1px solid #ced4da !important;
}

html[data-layout-mode="dark"] .bootstrap-select>.dropdown-toggle {
    border: 1px solid #313131 !important;
}

form.was-validated .bootstrap-select>.form-control:invalid+.dropdown-toggle {
    border-color: #dc3545 !important;
}

form.was-validated .bootstrap-select>.form-control:valid+.dropdown-toggle {
    border-color: #0ab39c !important;
}

form.was-validated .form-group.has-validation:has(.bootstrap-select > .form-control:invalid + .dropdown-toggle) .invalid-feedback {
    display: block;
}

table.dataTable tbody tr.selected td {
    background-color: rgba(54, 70, 116, 0.839) !important;
    color: white !important;
    box-shadow: none !important;
}

table.dataTable tbody tr.selected td button.btn {
    color: white !important;
    border-color: white !important;
}

td.custom-width {
    max-width: 50px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

div#equipo-mdl.modal {
    background-color: rgba(1, 1, 1, 0.241);
}

div#modal-email.modal,
div#modal-descripcion.modal,
div#modal-detallePeriodico.modal,
div#modal-asignacion.modal {
    background-color: rgba(1, 1, 1, 0.241);
    z-index: 1056;
}

html[data-layout-mode="dark"] div#equipo-mdl.modal {
    background-color: rgba(255, 255, 255, 0.139);
}

select.form-select:disabled {
    cursor: not-allowed;
}

input.form-control:read-only {
    cursor: not-allowed;
}

textarea.form-control:read-only {
    cursor: not-allowed;
}

.custom-view {
    background-color: white;
}

.custom-view:invalid {
    background-color: #f8d7da;
}

fieldset, legend {
    all: revert;
}

div.tbl-img-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.tbl-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

button.icon-custom-container {
    padding: 6px 2px;
    min-width: 30px;
    text-align: center;
    border: 0.5px solid #757575;
    margin: 6px 0px;
    border-radius: 0.3rem;
    background-color: inherit;
    color: #595959;
    vertical-align: middle;
}

button.icon-custom-container i {
    font-size: 18px;
}

html[data-layout-mode="dark"] button.icon-custom-container {
    border-color: #757575;
    color: #ced4da;
}

.fs-7 {
    font-size: 11px !important;
}

.custom-switch-xl {
    width: 3rem !important;
    height: 1.5rem !important;
}

input[switch] {
    display: none
}

input[switch]+label {
    font-size: 1em;
    line-height: 1;
    width: 56px;
    height: 24px;
    background-color: #ced4da;
    background-image: none;
    border-radius: 2rem;
    padding: .16667rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    font-weight: 500;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out
}

input[switch]+label:before {
    color: #343a40;
    content: attr(data-off-label);
    display: block;
    font-family: inherit;
    font-weight: 500;
    font-size: 12px;
    line-height: 21px;
    position: absolute;
    right: 1px;
    margin: 3px;
    top: -2px;
    text-align: center;
    min-width: 1.66667rem;
    overflow: hidden;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out
}

input[switch]+label:after {
    content: "";
    position: absolute;
    left: 3px;
    background-color: #e9e9ef;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 2rem;
    height: 20px;
    width: 20px;
    top: 2px;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out
}

input[switch]:checked+label {
    background-color: #5156be
}

input[switch]:checked+label {
    background-color: #5156be
}

input[switch]:checked+label:before {
    color: #fff;
    content: attr(data-on-label);
    right: auto;
    left: 3px
}

input[switch]:checked+label:after {
    left: 33px;
    background-color: #e9e9ef
}

input[switch]:disabled+label {
    opacity: .5;
    cursor: not-allowed
}

input[switch=bool]+label {
    background-color: #fd625e
}

input[switch=bool]+label:before, input[switch=bool]:checked+label:before, input[switch=default]:checked+label:before {
    color: #fff
}

input[switch=bool]:checked+label {
    background-color: #2ab57d
}

.avatar-xxl {
    width: 180px;
    height: 180px;
}

.custom-employee-image{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-user .profile-photo-delete {
    position: absolute;
    left: auto;
    right: auto;
    bottom: 0;
    cursor: pointer;
}

.avatar-ssm {
    height: 2.3rem;
    width: 2.3rem;
  }

.custom-employee-button {
    color: white !important;
    font-size: 0.8rem;
}

html[data-layout-mode="dark"] .custom-employee-button {
    color: #ced4da !important;
}

.bootstrap-select .dropdown-menu.show {
    z-index: 1056 !important;
}


