:root,
[data-theme="light"] {
    /* html, body color */
    --body-bg: #F2F2F7;

    /* html, body text */
    --body-font-family: 'Inter', sans-serif;
    --body-font-size: 0.9rem;

    /* header */
    --logo-font-size: 1.5rem;

    /* blue text, icons, logo... */
    --color-dark: #161818;
    --color-blue: #007aff;
    --color-blue-disabled: #bed6f0;
    --color-grey: #B8BFCC;

    --color-success: #34C759;
    --color-success-disabled: #a7e9b8;
    --color-warning: #FEC400;
    --color-danger: #DB272A;
    --color-danger-light: #fc4b6c;

    --color-nav-text: #363636;
    --color-nav-end-text: #252525;

    /* cards, inputs background color */
    --bg-white: #fff;
    --bg-nav-white: #e2e8f0;
    --bg-pre-white: #f0f2f5;

    /* cards */
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

    /* modal */
    --modal-border: 1px;
    --modal-border-color: #B8BFCC;

    --black: #000;
    --white: #fff;
    --ddd: #ddd;
    --text-grey: #515151;
    --border-grey: #adb1b3;
    --readonly: #8b8d8f;
    --grey-background: #e9ecef;
    --search-border: #e0e0e0;
    --salmon: salmon;
    --header-bg: #ffffff8f;

    --shadow-color: rgba(0, 0, 0, 0.1);

    --skeleton-bg: #d4d7e050;
    /*--skeleton-bg: #dadbe096;   color antiguo*/

    /* border-radius */
    --border2: 2px;
    /* 0.125rem */
    --border3: 3px;
    /* 0.188rem */
    --border4: 4px;
    /* 0.25rem */
    --border5: 5px;
    /* 0.313rem */
    --border6: 6px;
    /* 0.375rem */
    --border7: 7px;
    /* 0.438rem */
    --border8: 8px;
    /* 0.5rem */

}

[data-theme="dark"] {
    color-scheme: dark;
    /* html, body color */
    --body-bg: #212529;

    /* html, body text */
    --body-font-family: 'Inter', sans-serif;
    --body-font-size: 0.9rem;

    /* headcer */
    --logo-font-size: 1.5rem;

    /* blue text, icons, logo... */
    --color-blue: #007aff;
    --color-grey: #B8BFCC;

    /* cards, inputs background color */
    --bg-white: #2f303a;
    --bg-pre-white: #f0f2f5;

    /* cards */
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-family: var(--body-font-family);
    font-size: var(--body-font-size);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font-family);
    background-color: var(--body-bg);
}

h3 {
    font-size: 1.5em !important;
}

input[disabled],
input[readonly],
select[disabled] {
    border: 1px solid var(--border-grey);
    background-color: var(--grey-background);
    color: var(--readonly);
}


/* START background color */
.bg-white {
    background-color: #fff !important;
}

.bg-primary {
    background-color: var(--color-blue) !important;
}

/* END background color */


/* START Borders */
.border {
    border: 1px solid var(--border-grey);
}

.border-primary {
    border-color: var(--color-blue);
}

.border-secondary {
    border-color: var(--color-grey);
}

.border-warning {
    border-color: var(--color-warning);
}

.border-danger {
    border-color: var(--color-danger);
}

.rounded {
    border-radius: 100px;
}

/* END Borders */


/* START color text */
.text-white {
    color: var(--white) !important;
}

.text-dark {
    color: var(--black) !important;
}

.text-primary {
    color: var(--color-blue) !important;
}

.text-warning {
    color: var(--color-warning) !important;
}

.text-secondary {
    color: var(--color-grey) !important;
}

.text-grey {
    color: var(--text-grey) !important;
}

.text-danger {
    color: var(--color-danger) !important;
}

.text-danger-light {
    color: var(--color-danger-light) !important;
}

/* END color text*/


/* START Encabezado y logo */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
    box-shadow: var(--box-shadow);
    background-color: var(--header-bg);
    flex-wrap: nowrap;
    /* Se asegura de que los elementos no salten a otra línea */
}

.header .logo {
    font-size: var(--logo-font-size);
    font-weight: bold;
    color: var(--color-blue);
    text-decoration: none;
}

.search-bar {
    flex: 0 1 400px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--search-border);
    border-radius: var(--border4);
    background-color: var(--bg-pre-white);
}

.header-icons {
    display: flex;
    gap: 1rem;
    margin: 0px 3px;
}

.header-icons .iconify-header {
    font-size: 1.6rem;
    color: var(--color-grey);
    transition: color 0.3s ease;
    cursor: pointer;
}

.header-icons .iconify-header:hover {
    color: var(--color-blue);
}

.ssn {
    &:invalid {
        outline: red solid 1px;
    }
}

.full-width {
    width: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    margin: 0.4rem 0.4rem 0.8rem;
    padding: 0.2em 0.7em;
    background-color: var(--white);
    border-radius: var(--border6);
    box-shadow: 0 1px 3px var(--shadow-color);
    flex-wrap: wrap;
}

.navbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* END Encabezado y logo */

/* START cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /*gap: 1.5rem;*/
    gap: 1rem;
    padding: 1rem;
    padding-top: 0.4rem;
    margin-left: 2rem;
    margin-right: 2rem;
}

.card {
    /*
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    width: calc(25% - 2rem);
    padding: 0.7rem;
    height: 100%;*/
    height: 100%;
    background: var(--bg-white);
    border: transparent;
    box-shadow: 0 0.125rem 0.5rem var(--shadow-color);
}

.custom-card {
    min-height: 260px;
    height: auto;
}

.card-header {
    display: flex;
    align-items: center;
    height: 2.6rem;
    background-color: transparent !important;
    border-bottom: transparent !important;
}

.card-header .icon {
    color: var(--color-blue);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.card-header .title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-left: 0.2rem;
}


.card-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.7em;
}

.card-details>span,
.card-details-days>span {
    font-size: 0.8rem;
    color: var(--text-grey);
}

.card-details-days {
    display: flex;
    justify-content: space-between;
}

.card-details-days>span:first-child {
    margin-right: 3em;
}

.card-pagination {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.box-department {
    display: flex;
    flex-direction: column;
    min-height: 40px;
    padding: 0.2rem 0.4rem 0.2rem 0.4rem;
    margin-bottom: 0.2rem;
    border-radius: 0.6rem;
    background-color: rgba(0, 122, 255, 0.05);
    border: none;
}

.box-department.box-hover:hover {
    background-color: rgba(0, 123, 255, 0.116);
}

.box-department.cursor-pointer:hover {
    background-color: rgba(0, 123, 255, 0.116);
}

.cursor-pointer {
    cursor: pointer !important;
}

.box-department.active {
    background-color: rgba(0, 123, 255, 0.20);
}

.box-header {
    display: flex;
    align-items: center;
    width: 100%;
}

.box-body {
    width: 100%;
    padding: 2px;
}

.acciones-cont {
    display: flex;
    flex-direction: column;
}

.acciones-dates {
    font-size: 0.8em;
}

.peticion-flex {
    display: flex;
}

/* END cards */

/* START imagen dni*/
.caraDNI {
    gap: 10px;
    margin: auto;
    max-width: 400px;
    height: 100%;
    max-height: 240px;
    width: 100%;
    border: 1px solid #ddd;
    /* bordes redondeados */
    border-radius: var(--border8);
    /* espacio entre la imagen y el borde */
    box-shadow: 0 0.125rem 0.5rem var(--shadow-color);
    /* sombra */
}

.caraDNI.readonly,
.caraOther.readonly {
    border: 1px solid var(--border-grey);
    color: var(--readonly);
}

#foto {
    object-fit: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: var(--border6);
}

.caraDNI img {
    object-fit: cover;
    background-size: cover;
    width: 100%;
    /*height: 100%;*/
    max-height: 100%;
    border-radius: var(--border6);
}

.caraOther {
    height: 60px;
    border: var(--salmon) 1px;
    border-radius: var(--border8);
    /* bordes redondeados */
    padding: 5px;
    /* espacio entre la imagen y el borde */
    box-shadow: 0 0.125rem 0.5rem var(--shadow-color);
    /* sombra */
}

/* END imagen dni */

/* START navbar menu */
.router-nav,
.tab-navigation {
    width: max-content;
    background-color: var(--skeleton-bg);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--border8);
    flex-wrap: wrap;
    width: fit-content;
}

.router-nav li,
.tab-navigation li {
    list-style: none;
}

#modalForm2 .router-nav,
#modalForm2 .tab-navigation {
    width: 100%;
    margin-bottom: 7px;
    background-color: #d4d7e050;
}

.router-nav .route:hover,
.tab-navigation .tab:hover {
    color: var(--color-blue);
    background-color: rgba(255, 255, 255, 0.603);
}

.router-nav .route,
.tab-navigation .tab,
.tab1 {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--text-grey);
    padding: 0rem 0.4rem;
    margin: 0.3rem;
    font-weight: 500;
    /* font-size: 12px; */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--border5);
    transition: background-color 0.3s;
    /* vendorless fallback */
    -o-transition: background-color 0.3s;
    /* opera */
    -ms-transition: background-color 0.3s;
    /* IE 10 */
    -moz-transition: background-color 0.3s;
    /* Firefox */
    -webkit-transition: background-color 0.3s;
    /*safari and chrome */
}

.router-nav button.route,
.tab-navigation button.tab {
    cursor: pointer;
    background-color: transparent;
    border-color: transparent;
    border: none;
    /*font-size: small;*/
    transition: all 0.3s;
}

.router-nav .route.active,
.tab-navigation .tab.active {
    color: var(--color-blue);
    /*border-bottom: 2px solid var(--color-blue);*/
    background-color: var(--white);
}

.tab-navigation-vertical {
    flex-direction: column;
    box-shadow: 0 0.125rem 0.5rem var(--shadow-color);
    /* sombra */
}

.tab-navigation-vertical .tab:not(:last-child) {
    padding: 0.6rem;
    margin: 0.3rem;
    margin-bottom: 0.1rem;
}

.tabs .tabs1 {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--ddd);
    flex-wrap: wrap;
}

.tab-button,
.tab-button1 {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-button.active,
.tab-button1.active {
    color: var(--color-blue);
    border-bottom: var(--border2) solid var(--color-blue);
}

.tab-button:hover,
.tab-button1:hover {
    background-color: var(--bg-white);
}

.tab-pane,
.tab-pane {
    display: none;
    /*margin-top: 10px;*/
    min-height: 250px;
}

.tab-pane.active {
    display: block;
}

/* END navbar menu */

/*START formulario */
.form-group {
    display: flex;
    justify-content: space-between;
    margin: 5px 10px;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 5px 10px;
}

.form-group-inline label {
    max-width: 120px;
    width: 100%;
}

.form-group label {
    flex: 1;
    text-align: left;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="number"] {
    flex: 1;
}

.form-group input[type="checkbox"] {
    margin-left: 5px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 6px;
}

.input-group {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}


#mainForm .content {
    /*height: calc(100% - 180px);*/
    /*overflow-y: auto;*/
    overflow-x: hidden;
    /*margin-bottom: 100px;*/
}

#mainForm2 label {
    color: #444;
    white-space: nowrap;
    min-width: 100px;
    margin-top: 5px;
    width: 150px;
}

.required::after {
    content: " *";
    color: red;
}

.adr {
    width: 50px;
    min-width: 50px;
}

input,
select {
    padding: 4px 4px;
    border: 1px solid var(--ddd);
    border-radius: var(--border4);
    flex: 1;
    /*min-width: 50px;*/
    background-color: var(--white);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.nss-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
}

.nss-group input {
    width: 80px;
    flex: 1;
}

.address-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.address-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-group input {
    width: 70px;
}

.bank-details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bank-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.input-group input,
.input-group select {
    width: 100%;
}


div.input-group2 {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 5px;
    padding: 4px 4px;
}

.report-check {
    /*visibility: hidden;*/
    display: none;
    width: 26px;
    flex-shrink: 0;
    position: absolute;
    right: 5px;
}

.already-selected {
    display: block;
    color: #DB272A;
}

.already-selected:hover {
    color: #bb2d3b;
}

div.input-group2 label {
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /*max-width: 30%;*/
}

div.input-group2 .text-danger {
    font-size: 0.73rem !important;
    position: absolute;
    top: 30px;
    right: 25px;
}

#dni-cad-error,
#penals-cad-error,
#titulacio-cad-error {
    font-size: 0.73rem !important;
    position: absolute;
    top: 60px !important;
    right: 25px;
}

#nss1-error {
    font-size: 0.73rem !important;
    position: absolute;
    top: 30px !important;
    right: 528px;
}

#nss2-error {
    font-size: 0.73rem !important;
    position: absolute;
    top: 30px !important;
    right: 235px;
}

#nss3-error {
    font-size: 0.73rem !important;
    position: absolute;
    top: 30px !important;
    right: 25px;
}

div.input-group2:hover .report-check {
    /*visibility: visible;*/
    display: block;
}

#resolveFieldCont div.input-group2 input,
#resolveFieldCont div.input-group2 select,
#resolveFieldCont div.input-group2 .select2 {
    margin-right: 0px;
}


div.input-group2 input,
div.input-group2 select,
div.input-group2 .select2 {
    height: 26px;
    flex-grow: 1;
    min-width: 0;
    margin-right: 23px;
}

#resolveFieldCont .input-group2 {
    align-items: center;
}

#resolveFieldCont .elm-dif {
    background-color: '';
}

div.input-group2 input[type="checkbox"] {
    height: 17px !important;
}

@media screen and (min-width: 768px) {
    .input-group {
        flex-direction: row;
        width: calc(50% - 8px);
    }

    div.input-group2 {
        flex-direction: row;
    }

    .input-group.full-width {
        width: 100%;
    }

    .input-group.w50 {
        width: 49.5%;
    }

    .bank-details {
        flex-direction: row;
    }

    .bank-group {
        width: auto;
    }

    #select2-cod-niv-form-container {
        max-width: 200px;
    }
}

/* Desktop (1024px and up) */
@media screen and (min-width: 1024px) {
    .input-group {
        width: calc(33.333% - 10px);
    }

    .input-group.half-width {
        width: calc(50% - 8px);
    }

    .input-group.full-width {
        width: 100%;
    }

    .input-group.w50 {
        width: 49.5%;
    }

    .bank-details {
        flex-wrap: nowrap;
    }

    #select2-cod-niv-form-container {
        max-width: 200px;
    }
}

/* Large Desktop (1440px and up) */
@media screen and (min-width: 1440px) {
    /*
    .container {
        padding: 5px;
    }
        */

    .input-group.w50 {
        width: 49.5%;
    }

    .input-group {
        width: 32.5%;
    }

    #select2-cod-niv-form-container {
        max-width: 400px;
    }
}

.language {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-wrap: wrap;
}

.section {
    margin: 5px;
    border: var(--border2) solid var(--color-blue);
    border-radius: var(--border5);
    width: 100%;
    height: 100%;
}

.section-title {
    background-color: var(--color-blue);
    color: var(--white);
    /*padding: 5px;*/
    text-align: center;
    font-weight: bold;
}

#modalForm2 .form-label {
    width: 100%;
    max-width: 120px;
    min-width: max-content;
    display: inline-block;
}

#modalForm2 .form-label2 {
    width: 100%;
    max-width: 200px;
    min-width: max-content;
    display: inline-block;
    margin-top: 0.2rem;
}

.input-danger {
    border: 1px solid var(--color-danger) !important;
}

.section input {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    display: inline-block;
}

/* END formulario */

/* START paginación */
/* Contenedor de la paginación */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
    border-top: 1px solid var(--search-border);
}

.dt-paging nav .current {
    color: var(--white) !important;
}

.dt-paging nav {
    color: var(--color-dark) !important;
}

/* Texto informativo a la izquierda */
.pagination-info {
    font-size: 0.9rem;
    color: #666;
}

/* Controles de paginación (botones) */
.pagination-controls {
    display: flex;
    gap: 0.2rem;
    margin-top: auto;
    padding: 10px;
}

.pagination-controls button {
    height: 24px;
    padding: 2px 8px;
    border-top-left-radius: var(--border4);
    border-top-right-radius: var(--border4);
    border-bottom-left-radius: var(--border4);
    border-bottom-right-radius: var(--border4);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--white);
    border-color: #cfecfe;
    text-decoration: none;
    border: 1px solid transparent;
    color: var(--text-grey);
    font-size: 12px;
    text-wrap: nowrap;
}

.pagination-controls button:hover {
    background-color: rgba(0, 123, 255, 0.240);
}

.pagination-controls button.active {
    background-color: rgba(0, 122, 255, 0.100);
}

.page-button,
.dt-paging-button {
    padding: 0.5rem 0.75rem !important;
    cursor: pointer !important;
    border: none !important;
    background-color: transparent !important;
    color: #333 !important;
    border-radius: var(--border4) !important;
}

.page-button:hover,
.dt-paging-button:hover {
    background-color: #f0f0f0 !important;
}

.page-button.active {
    background-color: var(--color-blue) !important;
    color: var(--white) !important;
    font-weight: bold !important;
}

/* END paginación */


.status-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.status-indicator {
    width: 0.75rem;
    /* 12px */
    height: 0.75rem;
    /* 12px */
    border-radius: 30%;
    margin-right: 0.75rem;
    /* 12px */
}

.status-text {
    flex: 1;
    color: var(--bs-body-color);
    align-items: center;
}

.status-text .badge {
    font-size: 10px;
}

.status-count {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    /* 16px */
    font-weight: 600;
    color: var(--color-dark);
}

.acciones-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-group {
    display: flex;
    margin-left: 1.5rem;
}

.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin-left: -0.5rem;
    background: #DFE4EC;
    border: var(--border2) solid var(--white);
}

.avatar-icon {
    position: relative;
    border-radius: 5px;
    max-width: 100%;
    overflow: hidden;
    width: 7.5rem;
    height: 8rem;
    object-fit: cover;
    background-color: var(--ddd);
}

.department {
    /*width: 3rem;*/
    /*height: 3rem;*/
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin-left: 0.2rem;
    margin-right: 0.5rem;
    /*background: var(--white);*/
    background: rgb(68 70 74 / 12%);
}

.more-count {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin-left: -0.5rem;
    color: #606C80;
    border: var(--border2) solid #f0f0f0;
}

.view-more {
    color: var(--color-blue);
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    display: block;
    margin-top: 1rem;
    /* 16px */
}

.dep-text {
    flex: 1;
    color: var(--color-dark);
    font-weight: 600;
}

.dep-correo {
    font-size: 0.8rem;
    color: var(--color-blue);
    font-weight: 400;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    /* Indica interactividad */
    transition: transform 0.2s ease, color 0.3s ease;
    /* Efecto suave */
}

.dep-correo:hover {
    color: #0056b3;
    /* Azul más oscuro al pasar el ratón */
}


/* START opciones datatables */
/* Barra de filtros */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    padding: 1rem 2rem;
}

/* Tablas */
.user-avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    margin-left: -0.5rem;
    /* -8px */
    background: #B8BFCC;
    color: #B8BFCC;
    transition: color 0.3s ease;
}

.user-avatar:hover {
    cursor: pointer;
}

.iconify-acciones {
    font-size: 1.25rem;
    /* Tamaño de 20px */
    color: var(--color-blue);
    /* Azul predeterminado */
    cursor: pointer;
    /* Indica interactividad */
    transition: transform 0.2s ease, color 0.3s ease;
    /* Efecto suave */
}

.iconify-acciones:hover {
    color: #0056b3;
    /* Azul más oscuro al pasar el ratón */
    transform: scale(1.1);
    /* Pequeño zoom al pasar el ratón */
}

.iconify-card {
    font-size: 1.15rem;
    /* Tamaño de 20px */
    color: var(--color-blue);
    /* Azul predeterminado */
    transition: transform 0.2s ease, color 0.3s ease;
    /* Efecto suave */
    margin-right: 0.5rem;
}

.card-header>.iconify-card {
    color: #636c7e;
}

.iconify-card:hover {
    color: #1c66b7;
    /* Azul más oscuro al pasar el ratón */
    transform: scale(1.1);
    /* Pequeño zoom al pasar el ratón */
}

.iconify-card-acciones {
    font-size: 1.25rem;
    /* Tamaño de 20px */
    color: var(--color-grey);
    cursor: pointer;
    /* Indica interactividad */
    transition: transform 0.2s ease, color 0.3s ease;
    /* Efecto suave */
    margin-right: 0.5rem;
}

.iconify-card-acciones:hover {
    /*color: #7A8699;*/
    color: var(--color-blue);
    transform: scale(1.1);
    /* Pequeño zoom al pasar el ratón */
}

.iconify-card-peticion {
    font-size: 1.6rem;
    cursor: pointer;
    /* Indica interactividad */
    transition: transform 0.2s ease, color 0.3s ease;
    /* Efecto suave */
    margin-right: 0.2rem;
}

.iconify-card-peticion:hover {
    transform: scale(1.1);
    /* Pequeño zoom al pasar el ratón */
}

/* Ajuste general para que los iconos sean más escalables */
.iconify-menu {
    font-size: inherit;
    /* Toman el tamaño de su contexto */
}

.iconify-menu {
    color: var(--color-grey);
    transition: color 0.3s ease;
}

.iconify-header {
    color: var(--color-grey);
}


.search-bar-card {
    position: relative;
    margin-bottom: 1rem;
    /* 16px */
    max-width: fit-content;
}

.search-bar-card input {
    width: fit-content;
    padding: 0.5rem 2rem;
    /* 8px 32px */
    border: 0.0625rem solid var(--search-border);
    /* 1px */
    border-radius: var(--border8);
    /* 8px */
    font-size: 0.875rem;
    /* 14px */
}

.search-bar-card::before {
    position: absolute;
    left: 0.625rem;
    /* 10px */
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* END opciones datatables */

/* FRAN START table documents*/
.documents-table table,
.documents-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 5px !important;
    margin-bottom: 1rem !important;
}

.documents-table table thead th,
.documents-table thead th {
    padding: 0.5rem !important;
    font-weight: bold !important;
    margin-bottom: 5px;
}

.documents-table table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    border-bottom: unset;
}

.documents-table table td,
.documents-table td {
    padding: 0.5rem !important;
    border-top: none !important;
    border-bottom: none !important;
}

.documents-table table td:first-child,
.documents-table td:first-child {
    border-top-left-radius: var(--border4);
    border-bottom-left-radius: var(--border4);
}

.documents-table table td:last-child,
.documents-table td:last-child {
    border-top-right-radius: var(--border4);
    border-bottom-right-radius: var(--border4);
}

.documents-table table thead tr th:first-child,
.documents-table thead tr th:first-child {
    border-top-left-radius: var(--border4);
    border-bottom-left-radius: var(--border4);
}

.documents-table table thead tr th:last-child,
.documents-table thead tr th:last-child {
    border-top-right-radius: var(--border4);
    border-bottom-right-radius: var(--border4);
}

.documents-table table tbody tr,
.documents-table tbody tr {
    overflow: hidden !important;
    box-shadow: 0 2px 4px var(--shadow-color) !important;
    background-color: var(--white);
    height: 40px;
}

/*
.documents-table table tbody td a {
    text-decoration: none;
    color: #007aff;
}
   

.documents-table table tbody td a:hover {
    text-decoration: none;
    color: #012041;
}
*/

.table-container {
    margin: 1rem 2rem;
    background-color: var(--white);
    border-radius: 1.25rem;
    box-shadow: 0 1px 3px var(--shadow-color);
    overflow: hidden;
}

.peticion-text {
    flex: 1;
    color: var(--bs-body-color);
    font-weight: 400;
    display: flex;
    flex-direction: column;
}

.peticion-author {
    display: flex;
    align-items: center;
}

.peticion-author-link {
    cursor: pointer;
}

.peticion-author-link:hover {
    color: #007aff;
}

/* FRAN END table documents*/


/* START ACCORDION */
.accordion {
    display: none;
    margin-top: 10px;
    animation: fadeOut 0.5s forwards;
}

.accordion.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.accordion-body {
    width: 100%;
    min-height: 45px;
}

.view-more.down>.chevron {
    transform: rotate(180deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* END accordion */

/* FRAN START ACCORDION FULLCALENDAR */
.card-calendar {
    padding: 10px;
    background-color: var(--white);
    border: 1px solid rgba(233, 235, 240, 1);
    border-top-left-radius: var(--border7);
    border-top-right-radius: var(--border7);
    border-bottom-left-radius: var(--border7);
    border-bottom-right-radius: var(--border7);
    flex-shrink: 0;
}

.card-calendar .fc-col-header {
    margin-bottom: 10px;
}

.card-calendar .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.3em !important;
    flex-wrap: wrap !important;
}

.card-calendar .fc .fc-toolbar-title {
    font-size: 1em !important;
}

.card-calendar .fc .fc-button {
    padding: 0.2em 0.58em !important;
    font-size: 0.8rem;
}

.card-calendar .fc .fc-button .fc-icon {
    font-size: 0.9em !important;
}

.card-calendar .fc-theme-standard td,
.card-calendar .fc-theme-standard th {
    border: none !important;
}

.card-calendar .fc-day {
    border: none !important;
}

.card-calendar .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: 0em !important;
    height: 0px !important
}

.card-calendar .fc .fc-daygrid-day-top {
    justify-content: center;
}

.card-calendar .fc-theme-standard .fc-scrollgrid {
    border: none !important;
}

.card-calendar .fc-event {
    opacity: 0.4;
}

.card-calendar .fc .fc-daygrid-event-harness-abs,
.fc-event-end {
    top: 0px !important;
}

.card-calendar .fc .fc-daygrid-event.fc-daygrid-event {
    top: -2px !important;
    cursor: pointer;
}

.card-calendar .fc .fc-daygrid-event-harness {
    top: -22px !important;
}

.card-calendar .fc-popover-body .fc-daygrid-event-harness {
    top: 0px !important;
}

.card-calendar .fc .fc-daygrid-day-bottom {
    position: absolute;
    top: -24px !important;
    width: 100%;
}

.card-calendar .fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),
.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {
    top: 0px !important;
}

.h-auto {
    height: auto !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.align-items-center {
    align-items: center !important;
}

.badge {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 14px;
    min-height: 15px;
    color: #b3b3b3;
    border-radius: var(--border3);
    margin: 5px;
    flex-shrink: 0;
    background-color: #DFE4EC;
}

.badge.rounded {
    border-radius: 50px;
}

.show,
.in {
    display: block !important;
}

.fade {
    transition: opacity .15s linear;
}

/* FRAN END ACCORDION FULLCALENDAR */


/* START card LOGIN */
.card-navbar {
    display: inline-flex;
    align-items: center;
}

.card-navbar>.card-tab {
    padding: 0px 8px;
    gap: 12px;
    border-radius: 8px 8px 0px 0px;
    background: var(--body-bg);
    text-decoration: none;
    color: var(--text-grey);
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 200% */
}

.card-navbar>.card-tab.active {
    background: var(--white);
}

.form-label-login {
    border-radius: var(--border4);
    border-color: var(--color-grey);
    padding: 12px;
}

.header-login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--header-bg);
    flex-wrap: nowrap;
    /* Se asegura de que los elementos no salten a otra línea */
}

.header-login .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-blue);
    text-decoration: none;
}

/* END card LOGIN */

.card-tab-content {
    display: none;
    width: 100%;
    height: 100%;
    background-color: var(--white);
}

.card-tab-body {
    display: flex;
    width: 100%;
    padding: 10px 6px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.card-tab-content.active {
    display: block;
}


.card-big-arrow {
    flex-shrink: 0;
    color: var(--color-grey);
    font-size: 1.6rem !important;
}

.request-bar {
    display: flex;
    padding-right: 6px;
    align-items: center;
    gap: 6px;
    width: 100%;
    border-radius: var(--border4);
    margin-bottom: 3px;
    padding-left: 0.50rem;
}

.request-bar:hover {
    background: rgba(163, 163, 163, 0.096);
}

.request-bar.active {
    background: rgba(0, 122, 255, 0.15);
}

.request-bar .request-title {
    width: 100%;
    min-width: 80px;
    max-width: 120px;
    color: var(--text-grey);
    flex-shrink: 0;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.request-bar .request-buttons {
    display: flex;
    flex-shrink: 0;
    width: 52px;
}

.request-bar .btn-accept-request {
    color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-bar .btn-accept-request[disabled] {
    color: var(--color-grey);
}

.request-bar .btn-deny-request {
    color: var(--color-danger);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* START barra progreso */
.progress {
    flex-shrink: 1;
    display: flex;
    width: 100%;
    height: 8px;
    overflow: hidden;
    font-size: .70313rem;
    background-color: var(--grey-background);
    border-radius: var(--border4);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
    position: relative;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    white-space: nowrap;
    background-color: #b7b6c2;
    transition: width 0.6s ease;
}

.progress-mark {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    /* Position the marker at the middle */
    transform: translateX(-50%);
    /* Center the marker horizontally */
    width: 4px;
    /* Width of the marker */
    height: 100%;
    /* Full height of the bar */
    background-color: rgb(248 216 5);
}

.dias-ocupados {
    background-color: #4A8658 !important;
}

.dias-libres {
    background-color: #43AD5D !important;
}

.dias-fallidos {
    background-color: var(--color-danger-light) !important;
    z-index: 9999;
}

/* END barra progreso */

/* START MODAL */
.modal {
    --bs-modal-zindex: 1055;
    --bs-modal-width: 1440px;
    --bs-modal-lg-width: 1440px;
    --bs-modal-md-width: 900px;
    --bs-modal-padding: 1rem;
    --bs-modal-margin: 0.5rem;
    --bs-modal-color: ;
    --bs-modal-bg: var(--bs-body-bg);
    --bs-modal-border-color: var(--bs-border-color-translucent);
    --bs-modal-border-width: var(--bs-border-width);
    --bs-modal-border-radius: var(--bs-border-radius-lg);
    --bs-modal-box-shadow: var(--bs-box-shadow-sm);
    --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) -(var(--bs-border-width)));
    --bs-modal-header-padding-x: 1rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1rem;
    --bs-modal-header-border-color: var(--bs-border-color);
    --bs-modal-header-border-width: var(--bs-border-width);
    --bs-modal-title-line-height: 1.5;
    --bs-modal-footer-gap: 0.5rem;
    --bs-modal-footer-bg: ;
    --bs-modal-footer-border-color: var(--bs-border-color);
    --bs-modal-footer-border-width: var(--bs-border-width);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-modal-zindex);
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-header .btn-close {
    margin-left: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: var(--bs-modal-margin);
    pointer-events: none;
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--color-dark);
    pointer-events: auto;
    background-color: var(--bg-white);
    background-clip: padding-box;
    border: 1px solid var(--ddd);
    border-radius: var(--border6);
    outline: 0;
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding: 0.4rem 1rem;
    border-bottom: 1px solid var(--ddd);
    border-top-left-radius: var(--border6);
    border-top-right-radius: var(--border6);
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 10px;
    max-height: calc(100vh - 150px);
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 0.4rem 1rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--ddd);
    border-bottom-right-radius: var(--border6);
    border-bottom-left-radius: var(--border6);
}

.modal-backdrop {
    opacity: 0;
}

.modal-backdrop.in,
.modal-backdrop.show {
    --bs-backdrop-zindex: 1054;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
    opacity: var(--bs-backdrop-opacity);
}

@media (min-width: 576px) {}

/*sizes*/
.modal-full {
    max-width: unset !important;
    margin: 0px !important;
}

.modal-full .modal-body {
    max-height: unset !important;
}

@media (min-width: 576px) {
    .modal {
        --bs-modal-margin: 1.75rem;
        --bs-modal-box-shadow: var(--box-shadow);
    }

    .modal-lg {
        max-width: var(--bs-modal-lg-width) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .modal-md {
        max-width: var(--bs-modal-md-width) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

.modal-idle {
    z-index: 9999;
}

/* END MODAL */

/* START DIALOG */
.dialog {
    position: absolute;
    padding: 0px 20px 20px 20px;
    z-index: 12;
}

.dialog-index {
    z-index: 12;
}

.dialog-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    background-color: var(--bg-white);
    background-clip: padding-box;
    border: 1px solid var(--ddd);
    border-radius: var(--border8);
    outline: 0;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
    align-items: center;
    padding: 1rem 1rem;
    border-bottom: 1px solid var(--ddd);
    border-top-left-radius: var(--border6);
    border-top-right-radius: var(--border6);
}

.dialog-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.dialog-body {
    overflow-y: auto;
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.dialog-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: calc(1rem - 0.5rem * 0.5);
    background-color: var(--bg-white);
    border-top: 1px solid var(--ddd);
    border-bottom-right-radius: var(--border6);
    border-bottom-left-radius: var(--border6);
}

/* END DIALOG */

/* START TOAST */
.toast {
    --bs-toast-zindex: 1090;
    --bs-toast-padding-x: 0.75rem;
    --bs-toast-padding-y: 0.5rem;
    --bs-toast-spacing: 1.5rem;
    --bs-toast-max-width: 350px;
    --bs-toast-font-size: 0.875rem;
    --bs-toast-color: ;
    --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85);
    --bs-toast-border-width: var(--bs-border-width);
    --bs-toast-border-color: var(--bs-border-color-translucent);
    --bs-toast-border-radius: var(--bs-border-radius);
    --bs-toast-box-shadow: var(--bs-box-shadow);
    --bs-toast-header-color: var(--bs-secondary-color);
    --bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85);
    --bs-toast-header-border-color: var(--bs-border-color-translucent);
    width: 365px;
    max-width: 100%;
    font-size: 0.875rem;
    color: var(--color-nav-text);
    pointer-events: auto;
    background-color: var(--bg-white);
    background-clip: padding-box;
    border: 1px solid var(--ddd);
    box-shadow: var(--box-shadow);
    border-radius: var(--border6);
}

.toast-container {
    position: absolute;
    z-index: 9999;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    pointer-events: none;
}

.toast-container>:not(:last-child) {
    margin-bottom: 1.5rem;
}

.toast-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: var(--color-nav-text);
    background-color: var(--bg-white);
    background-clip: padding-box;
    border-bottom: 1px solid var(--ddd);
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px);
}

.toast-body {
    padding: 0.75rem;
    word-wrap: break-word;
}

.toast-bg-info {
    color: var(--color-blue);
}

.toast-bg-success {
    color: var(--color-success);
}

.toast-bg-warning {
    color: var(--color-warning);
}

.toast-bg-danger {
    color: var(--color-danger);
}

/* END TOAST */

.card-disponibilidad {
    width: 100%;
    min-width: 250px;
    /*max-width: 800px;*/
    height: max-content;
    padding: 7px 3px;
    background-color: var(--white);
    border: 1px solid rgba(233, 235, 240, 1);
    border-top-left-radius: var(--border7);
    border-top-right-radius: var(--border7);
    border-bottom-left-radius: var(--border7);
    border-bottom-right-radius: var(--border7);
}

/* START SCROLLBAR */
/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* END SCROLLBAR */

/* START TIMELINE */
.card-timeline {
    height: 100%;
    padding: 5px;
    background-color: var(--white);
    border: 1px solid rgba(233, 235, 240, 1);
    border-top-left-radius: var(--border7);
    border-top-right-radius: var(--border7);
    border-bottom-left-radius: var(--border7);
    border-bottom-right-radius: var(--border7);
    margin-bottom: 10px;
}

.timeline {
    max-height: calc(100vh - 365px);
    overflow: auto;
}

.timeline-container {
    display: flex;
}


.timeline-body {
    width: 100%;
    overflow-x: auto;
    grid-area: 2 / 1 / 3 / 3;
    margin-left: 8px;
}

.applied-drag {
    cursor: grab;
}

@media (max-width: 1200px) {
    .modal-req {
        flex-direction: column;
    }

    .modal-tl {
        margin-left: 0px !important;
    }
}


.timeline-header {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(31, 1fr);
    justify-items: center;
    align-items: center;
    height: 25px;
}

.timeline-header div {
    /*width: 25px;*/
    width: 100%;
    min-width: 16px;
    font-size: 0.8rem;
    text-align: center;
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-column: span 1;
    border-radius: var(--border5);
}

.employee-name {
    background: var(--white);
    padding: 2px 10px;
    border-bottom: 1px solid var(--ddd);
}

.timeline-names {
    display: grid;
    max-width: 150px;
    width: 100%;
}

.timeline-name {
    display: flex;
    align-content: center;
    align-items: center;
    width: 100%;
    height: 25px;
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-size: 0.7rem;
    /*margin: 3px;*/
    padding-left: 2px;
    margin-left: 3px;
    margin-top: 3px;
    line-height: 9px;
}

.timeline-name.active {
    background-color: #b3d3f7;
    border-radius: var(--border4);
}

.timeline-events {
    margin-top: 3px;
}


.timeline-events-row {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(31, 1fr);
    justify-items: center;
    align-items: center;
    height: 25px;
    margin-bottom: 3px;
}

.timeline-events-row div {
    width: 100%;
    min-width: 16px;
    height: 100%;
    max-height: 25px;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.7rem;
}

.timeline-event {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-warning);
    color: var(--white);
    grid-column: span 1;
    border-radius: var(--border5);
    cursor: pointer;
}

.timeline-event.active-event {
    background-color: #ff9878;
}

.timeline-event.active-request {
    background-color: #f54703;
}

.timeline-holiday {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    grid-column: span 1;
    border-radius: var(--border5);
    /*background-color: #488ddb;*/
}

.timeline-weekend {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-grey);
    grid-column: span 1;
    border-radius: var(--border5);
}

/* END TIMELINE */


/* START DROPZONE */
.dropzone .dp-message {
    display: none;
}

/* END DROPZONE */




.idle-blur {
    filter: blur(5px);
    pointer-events: none;
}



/* START BUTTON, BTN */
.btn {
    cursor: pointer;
    background-color: transparent;
    border-color: transparent;
    border: none;
    border-radius: var(--border4);
    /*font-size: small;*/
    transition: all 0.3s;
    width: max-content;
    padding: 0.40rem;
}

.btn-primary {
    background-color: #1B6DD0;
    color: var(--white);
}

.btn-primary-light {
    background-color: rgba(0, 122, 255, 0.1);
}

.btn-success {
    background-color: var(--color-success);
    color: var(--white);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #444;
}

.btn-warning {
    background-color: var(--color-warning);
    color: var(--white);
}

.btn-danger {
    background-color: var(--color-danger);
    color: var(--white);
}

.btn:hover {
    opacity: 0.9;
}

.btn-datatables button {
    padding: 0.50rem;
    margin-right: 0.50rem;
}

.btn-datatables button:hover {
    background-color: #007bff10;
}

/* START LOGIN */
.btnLogin {
    cursor: pointer;
    width: 100%;
    height: 2.5rem;
    border-radius: var(--border4);
    background-color: var(--color-blue);
    color: var(--white);
    border-color: transparent;
    border: none;
}

.btnRecover {
    cursor: pointer;
    width: 100%;
    height: 2.5rem;
    border-radius: var(--border4);
    background-color: var(--color-blue);
    color: var(--white);
    border-color: transparent;
    border: none;
}

/* END LOGIN */
/* END BUTTON, BTN */



/* START positioning */
.flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.position-static {
    position: static !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.position-fixed {
    position: fixed !important;
}

.position-sticky {
    position: sticky !important;
}

.top-0 {
    top: 0 !important;
}

.end-0,
.right-0 {
    right: 0 !important;
}

.bottom-0 {
    bottom: 0 !important;
}

.left-0,
.start-0 {
    left: 0 !important;
}

.justify-content-unset {
    justify-content: unset !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

/* END positioning */


/* START SPACING */
.w-auto {
    width: auto !important;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.me-auto {
    margin-right: auto;
}

.ms-auto {
    margin-left: auto;
}

.mt-auto {
    margin-top: auto;
}

.mb-auto {
    margin-bottom: auto;
}

/* margin */
.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 0.50rem !important;
}

.m-2 {
    margin: 1rem !important
}

.m-3 {
    margin: 1.50rem !important;
}

/* margin top */
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.5025rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.50rem !important;
}

/* margin bottom */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.50rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.50rem !important;
}

/* margin left */
.ml-0,
.ms-0 {
    margin-left: 0 !important;
}

.ml-1,
.ms-1 {
    margin-left: 0.50rem !important;
}

.ml-2,
.ms-2 {
    margin-left: 1rem !important;
}

.ml-3,
.ms-3 {
    margin-left: 1.50rem !important;
}

/* margin right */
.mr-0,
.me-0 {
    margin-right: 0 !important;
}

.mr-1,
.me-1 {
    margin-right: 0.25rem !important;
}

.mr-2,
.me-2 {
    margin-right: 0.50rem !important;
}

.mr-3,
.me-3 {
    margin-right: 1rem !important;
}

.mr-4,
.me-4 {
    margin-right: 1.25rem !important;
}

.mr-5,
.me-5 {
    margin-right: 1.50rem !important;
}

/* margin left right */
.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mx-1 {
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
}

.mx-2 {
    margin-left: 0.50rem !important;
    margin-right: 0.50rem !important;
}

.mx-3 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mx-4 {
    margin-left: 1.25rem !important;
    margin-right: 1.25rem !important;
}

.mx-5 {
    margin-left: 1.50rem !important;
    margin-right: 1.50rem !important;
}

/* margin up down */
.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.my-2 {
    margin-top: 0.50rem !important;
    margin-bottom: 0.50rem !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-4 {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
}

.my-5 {
    margin-top: 1.50rem !important;
    margin-bottom: 1.50rem !important;
}

/* padding */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.50rem !important
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.25rem !important;
}

.p-5 {
    padding: 1.50rem !important;
}

.pe-0 {
    padding-right: 0 !important;
}

.pe-1 {
    padding-right: 0.25rem !important;
}

.pe-2 {
    padding-right: 0.50rem !important;
}

.pe-3 {
    padding-right: 1rem !important;
}

.pe-4 {
    padding-right: 1.25rem !important;
}

.pe-5 {
    padding-right: 1.50rem !important;
}

.ps-auto {
    padding-left: auto !important;
}

.ps-0 {
    padding-left: 0 !important;
}

.ps-1 {
    padding-left: 0.25rem !important;
}

.ps-2 {
    padding-left: 0.50rem !important;
}

.ps-3 {
    padding-left: 1rem !important;
}

.ps-4 {
    padding-left: 1.25rem !important;
}

.ps-5 {
    padding-left: 1.50rem !important;
}

/* left right */
.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.px-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.px-2 {
    padding-left: 0.50rem !important;
    padding-right: 0.50rem !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.px-4 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.px-5 {
    padding-left: 1.50rem !important;
    padding-right: 1.50rem !important;
}

/* top bottom */
.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.py-2 {
    padding-top: 0.50rem !important;
    padding-bottom: 0.50rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.py-5 {
    padding-top: 1.50rem !important;
    padding-bottom: 1.50rem !important;
}

/* END SPACING */


.nowrap {
    flex-wrap: nowrap !important;
}

/* START TEXT ALIGN */
.ta-center {
    text-align: center !important;
}

/* END TEXT ALIGN */


/* START FONT SIZE */
.fs-1 {
    font-size: 0.70rem !important;
}

.fs-2 {
    font-size: 0.85rem !important;
}

.fs-3 {
    font-size: 1.25rem !important;
}

/* END FONT SIZE */


#pdfButtons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.drag-tbl {
    border: 2px dashed #77a2ff;
    border-radius: var(--border6);
}

.hr {
    border: 0;
    height: 0;
    border-top: 1px solid var(--shadow-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.align-items-end {
    align-items: flex-end !important;
}

.total-box {
    background-color: var(--color-blue);
    color: var(--white);
    text-align: center;
    padding: 5px;
    font-weight: bold;
    width: 100px;
    height: 26px;
}

.input-file-label {
    text-decoration: none;
    cursor: pointer;
}

.dp-message {
    position: absolute;
    color: var(--white);
}


/* START calendar.php / fullcalendar / main calendar styles */
.calendar .months-container {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 0;
    display: flex !important;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y)* -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}

.calendar .month-container {
    min-width: 180px;
    text-align: center;
    height: 240px;
    padding: 0;
}

.calendar .month-container .day .day-content {
    position: relative;
    font-size: 0.75rem;
    font-family: var(--font-inter);
    color: var(--text);
    text-align: center;
}

.calendar .calendar-header {
    width: 50% !important;
}

.calendar .calendar-header table th {
    font-size: 0.75rem !important
}

.calendar .calendar-header table th:hover {
    background: #eee;
    border-radius: var(--border6);
    cursor: pointer;
}

.glyphicon-chevron-left:before {
    content: "\e079";
}

.glyphicon-chevron-right:before {
    content: "\e080";
}

/*
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    color: var(--white);
    background-color: #3c8dbc;
}

.dropdown-menu>li>a {
    padding: 6px 12px;
    font-size: 13px;
    height: 30px;
    border-top-right-radius: var(--border4);
    border-top-left-radius: var(--border4);
    border-bottom-right-radius: var(--border4);
    border-bottom-left-radius: var(--border4);
}
*/

.calendar-buttons button.active {
    background-color: var(--color-blue);
    color: var(--white);
}

.calendar-buttons button:hover {
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--color-dark)
}


.calendar table td,
.calendar table th {
    border: none;
    width: 2px !important;
    min-width: 0px !important;
    height: 2px !important;
    padding: 0px !important;
    font-size: 12px;
}

.calendar .fc-multiMonthYear-view {
    justify-content: center !important;
}

.calendar .fc-daygrid-body-balanced .fc-daygrid-day-events {
    top: -2px;
}

.calendar .fc-multimonth-month {
    border-radius: 0.75rem;
    padding: 0.6rem 1rem;
    box-shadow: 0 0.125rem 0.5rem var(--shadow-color);
    background: var(--bg-white);
    margin: 2px;
    padding-top: 0.6rem !important;
}

.calendar .fc-multimonth-header {
    padding-bottom: 1.2rem;
}

.calendar .fc-multimonth {
    border: unset !important;
}

.calendar .fc-multimonth-title {
    font-size: 0.875rem !important;
    text-align: left !important;
}

.calendar .fc-col-header-cell-cushion,
.calendar .fc-daygrid-day-number {
    font-size: 0.75rem !important;
    color: #030229 !important;
}

.calendar .fc-multimonth-title {
    padding: 0.2em 0px !important;
}

.calendar .fc-toolbar-title {
    font-size: 0.875rem !important;
}

.calendar .fc-day-disabled {
    background: unset !important;
}

.calendar .fc-day-disabled .fc-scrollgrid-sync-inner {
    background: hsla(0, 0%, 82%, .1) !important;
    height: 25px;
    min-height: 0px !important;
    border-radius: var(--border4);
}

.calendar .fc-prev-button .fc-icon-chevron-left,
.calendar .fc-next-button .fc-icon-chevron-right {
    font-size: 0.8rem;
}

.calendar .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.3em !important;
}

.calendar .fc-daygrid-day-top {
    justify-content: center;
}

.calendar .fc-event {
    opacity: 0.4;
}

.calendar .fc-multimonth-daygrid-table {
    margin-top: 10px;
}

.calendar .fc-multimonth-month.p1,
.calendar .fc-multimonth-daygrid.p1,
.calendar .fc-multimonth-header.p1 {
    display: block;
    background-color: rgb(219, 241, 255);
}

.calendar .fc-multimonth-month.p2,
.calendar .fc-multimonth-daygrid.p2,
.calendar .fc-multimonth-header.p2 {
    display: block;
    background-color: #e0ffe0;
}

.calendar .fc-multimonth-month.p3,
.calendar .fc-multimonth-daygrid.p3,
.calendar .fc-multimonth-header.p3 {
    display: block;
    background-color: #ffecdf;
}

.calendar .fc-daygrid-day-top.p1:hover,
.calendar .fc-event.p1:hover {
    cursor: pointer;
    border-radius: var(--border3);
    background-color: #2383C4 !important;
}

.calendar .fc-daygrid-day-top.p2:hover {
    cursor: pointer;
    border-radius: var(--border3);
    background-color: #449D44;
}

.calendar .fc-daygrid-day-top.p3:hover {
    cursor: pointer;
    border-radius: var(--border3);
    background-color: #F06000;
}

.fc-popover {
    z-index: 99999;
}

.calendar .fc-popover-body {
    height: 300px;
    overflow: auto;
}

.calendar .title-hidden {
    color: transparent;
}

.calendar .fc-more-popover .title-hidden {
    color: var(--white);
}

.calendar .fc-daygrid-more-link {
    font-size: 0.75rem !important;
    width: 100%;
    background-color: #5d5d5d69;
    color: var(--white);
    border-radius: var(--border3);
    min-height: 24px;
}

.calendar .fc-multimonth-daygrid-table .fc-daygrid-more-link {
    font-size: 0.75rem !important;
    width: 100%;
    background-color: #5d5d5d69;
    color: var(--white);
    border-radius: var(--border3);
    min-height: 17px;
}

.calendar .fc-dayGridMonth-view,
.calendar .fc-dayGridWeek-view,
.calendar .fc-dayGridDay-view {
    background-color: var(--white);
}

.calendar .fc-more-popover {
    width: 320px;
}

/* END fullcalendar / main calendar styles */


.card-edit-event {
    height: 100%;
    padding: 1rem;
    background-color: var(--white);
    border: 1px solid rgba(233, 235, 240, 1);
    border-top-left-radius: var(--border7);
    border-top-right-radius: var(--border7);
    border-bottom-left-radius: var(--border7);
    border-bottom-right-radius: var(--border7);
    margin-bottom: 10px;
}

.event-cursor {
    cursor: pointer;
}

#current-sch-tab {
    padding: 10px;
    width: 200px;
    border-radius: var(--border4);
    border: 1px solid black;
}

/* START control de presencia timeline */
#controlTable {
    max-height: 630px;
    overflow: auto;
}

#timeline {
    border: 1px solid #bed5cd;
    overflow-x: scroll;
    overflow-y: scroll;
    white-space: nowrap;
    height: 800px;
}

.hour {
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    white-space: nowrap;
    width: 60px;
    height: 100%;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-grey);
}

.hours {
    float: left;
    vertical-align: middle;
    white-space: nowrap;
    height: 30px;
}

/* START temp (this should be changed in the backend) modifs */
.hours[style*="background-color:green"] {
    background-color: #43AD5D !important;
    border-radius: var(--border2);
}

/* END temp (this should be changed in the backend) modifs */

.rind {
    float: left;
    width: 2100px;
    height: 30px;
    vertical-align: middle;
    clear: both;
    margin-top: 2px;
    margin-bottom: 2px;
}

.dia {
    float: left;
    width: 80px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trab {
    float: left;
    width: 200px;
    border-left: 1px solid #bed5cd
}

.hdr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--white);
}

#controlTable b {
    font-size: 0.75rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: var(--text-grey);
}

.rind .dia {
    font-size: 0.75rem;
    line-height: 1.5rem;
    color: var(--text-grey);
}

.hora {
    float: left;
    width: 1900px;
    text-align: center;
    height: 100%;
}

.inner {
    border: 1px solid var(--white);
    position: fixed;
    font-weight: bold;
}

/* END control de presencia timeline */


/* START control de presencia map */
#mapTable table tbody tr {
    height: 1.25rem;
}

#mapCont {
    height: 400px;
}

#mapTable .table>tbody>tr.info {
    background-color: #007AFF1A;
}

#mapTable .table>tbody>tr.danger {
    background-color: #DB272A1A;
}

/* END control de presencia map */


/* START control de presencia cac */
#qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem;
}

/* END control de presencia cac */


/* START dropdown temp */
.btn-group .dropdown-menu {
    display: none;
}

.btn-group.open .dropdown-menu {
    display: block;
}

/* END dropdown temp */


/* START datatables styles */
.form-select {
    height: 26px;
}

.select2-container {
    padding: 0px;
}

.select2-container--default.select2-container--default .select2-selection--single {
    height: 26px;
    font-size: 0.75rem;
    color: var(--text-grey);
    border: 1px solid #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.65rem;
    font-size: 0.75rem;
    color: var(--text-grey);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 22px;
}

.form-control,
input[type="date"],
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="email"] {
    height: 26px !important;
    font-size: 0.75rem !important;
    color: var(--text-grey) !important;
}

.input-group2 select {
    font-size: 0.75rem !important;
    color: var(--text-grey) !important;
}

.select2-selection--multiple .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    font-size: 0.75rem;
    color: var(--text-grey) !important;
}

.select2-search__field::placeholder {
    font-size: 0.75rem;
    color: var(--text-grey) !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #aaa;
}

.select2-selection--multiple {
    height: 1.65rem !important;
    min-height: 24px !important;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 0px;
}

.select2-selection--multiple .select2-selection__choice__display {
    font-size: 0.75rem;
}

.select2-selection__rendered {
    display: flex !important;
    flex-direction: column !important;
    /*width: 50% !important;*/
}

.dt-header-left label,
.dt-header-left .dropdown-toggle {
    font-size: 0.80rem;
}

.dt-header-right {
    margin-left: auto !important;
}

.dt-header-right .dt-span {
    font-size: 0.80rem;
}

/*
.dropdown-toggle {
    display: flex;
}

.dropdown-toggle .iconify {
    margin-left: 0.5rem;
}
    */

.documents-table .dt-paging {
    padding: 0.4rem;
    border-radius: var(--border4);
    background-color: var(--white);
}

.documents-table .dt-paging-button.current {
    background-color: #007bff69 !important;
}

.documents-table .dt-paging-button:hover {
    background: #007AFF1A !important;
}

.documents-table .dt-container .dt-paging .dt-paging-button:hover {
    color: var(--color-dark) !important;
}

.documents-table .dt-paging-button:hover .dt-paging nav {
    color: var(--color-dark) !important;
}

.documents-table #dt-length-0 {
    background-color: var(--white) !important;
}

.documents-table thead>tr>th.dt-orderable-asc:hover,
.documents-table thead>tr>th.dt-orderable-desc:hover,
.documents-table thead>tr>td.dt-orderable-asc:hover,
.documents-table thead>tr>td.dt-orderable-desc:hover {
    outline: unset !important;
    outline-offset: unset !important;
    background-color: #007AFF08 !important;
    border-radius: var(--border4);
}

.documents-table th.dt-type-numeric,
.documents-table th.dt-type-date,
.documents-table td.dt-type-numeric,
.documents-table td.dt-type-date {
    text-align: left !important;
}

.documents-table thead>tr>th.dt-orderable-asc span.dt-column-order:before,
.documents-table thead>tr>th.dt-ordering-asc span.dt-column-order:before,
.documents-table thead>tr>td.dt-orderable-asc span.dt-column-order:before,
.documents-table thead>tr>td.dt-ordering-asc span.dt-column-order:before {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7.293 8.293 3.995-4a1 1 0 0 1 1.32-.084l.094.083 4.006 4a1 1 0 0 1-1.32 1.499l-.094-.083-2.293-2.291v11.584a1 1 0 0 1-.883.993L12 20a1 1 0 0 1-.993-.884L11 19.001V7.41L8.707 9.707a1 1 0 0 1-1.32.084l-.094-.084a1 1 0 0 1-.084-1.32l.084-.094 3.995-4-3.995 4Z' fill='%23212121'/%3E%3C/svg%3E") !important;
    bottom: 0px !important;
    left: -15px !important;
}

.documents-table thead>tr>th.dt-orderable-desc span.dt-column-order:after,
.documents-table thead>tr>th.dt-ordering-desc span.dt-column-order:after,
.documents-table thead>tr>td.dt-orderable-desc span.dt-column-order:after,
.documents-table thead>tr>td.dt-ordering-desc span.dt-column-order:after {
    content: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.883 4.01 12 4.003a1 1 0 0 1 .993.884l.007.116v11.584l2.293-2.294a1 1 0 0 1 1.32-.084l.094.084a1 1 0 0 1 .084 1.32l-.084.094-3.996 4a1 1 0 0 1-1.32.084l-.094-.084-4.004-4a1 1 0 0 1 1.32-1.498l.094.084L11 16.582V5.003a1 1 0 0 1 .883-.993L12 4.003l-.117.007Z' fill='%23212121'/%3E%3C/svg%3E") !important;
    top: 5px !important;
    left: -5px !important;
}

/* END datatables styles */


/* modal form 3 */
.active-modif {
    background-color: #f0d990;
}


/* START skeleton loader */
.body-graph {
    display: flex;
    height: 100%;
    justify-content: center;
}

.box-graph {
    width: 140px;
    height: 400px;
    margin-left: 50px;
}

.skeleton-cont {
    display: none;
}

.skeleton-load {
    background-color: var(--skeleton-bg);
    position: relative;
    overflow: hidden;
    padding: 0.8rem;
}

.skeleton-load::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(141, 135, 123, 0.185) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: loading 1.5s cubic-bezier(0.57, -0.01, 0.21, 0.89) infinite;
}

/* skeleton loading animation */
@keyframes loading {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* END skeleton loader */


/* START alerts */
.alert-info {
    background-color: var(--color-blue);
    color: var(--white);
    border-radius: var(--border6);
}

.alert-warning {
    background-color: var(--color-warning);
    color: var(--white);
    border-radius: var(--border6);
}

.alert-danger {
    background-color: var(--color-danger);
    color: var(--white);
    border-radius: var(--border6);
}

/* END alerts */




/* START spinner */
.loader {
    position: absolute;
    z-index: 9999;
}

.loader1 {
    top: 40%;
    left: 50%;
    border: 0.5rem solid #525252;
    border-radius: 50%;
    border-top: 0.5rem solid #589df0;
    width: 3rem;
    height: 3rem;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(55, 152, 218, 0.6);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.loader2 {
    position: relative;
    display: flex;
    justify-content: space-between;
    top: 50%;
    left: 4%;
    width: 4rem;
}

.loader2 div {
    width: 0.6rem;
    height: 0.6rem;
    background-color: #3498db;
    border-radius: 50%;
    animation: dot-flashing 1.5s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}

.loader2 div:nth-child(2) {
    animation-delay: 0.3s;
}

.loader2 div:nth-child(3) {
    animation-delay: 0.6s;
}

.loader2 div:nth-child(4) {
    animation-delay: 0.9s;
}

@keyframes dot-flashing {

    0%,
    20%,
    80%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}


.loader3::after {
    position: relative;
    display: flex;
    justify-content: space-between;
    top: 50%;
    left: 4%;
    width: 4rem;
}

.loader2::after div {
    width: 0.6rem;
    height: 0.6rem;
    background-color: #3498db;
    border-radius: 50%;
    animation: dot-flashing 1.5s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}

.loader2::after div:nth-child(2) {
    animation-delay: 0.3s;
}

.loader2::after div:nth-child(3) {
    animation-delay: 0.6s;
}

.loader2::after div:nth-child(4) {
    animation-delay: 0.9s;
}

@keyframes dot-flashing {

    0%,
    20%,
    80%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* END spinner */


/* START breadcrumb */
.bcrumb {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: max-content;
    padding: 0.6rem 0.6rem 0.6rem 2rem;
    flex-wrap: wrap;
    padding: 0 0;
    margin-left: 2.5rem;
    list-style: none;
    background-color: #fafafa;
}

.bcrumb>.bc {
    font-size: 0.8rem;
}

.bc-arrow {
    color: #494949;
    font-size: 0.8rem;
}

/*
.bcrumb .bc+.bc::before {
    content: url('../images/chevronright.svg');
    color: #494949;
    font-size: 1rem;
}
    */

/* END breadcrumb */



/* START switch */
.form-check {
    display: block;
    min-height: 1rem;
    margin-bottom: .125rem;
    margin-bottom: 2px;
}

.form-switch .form-check-input {
    width: 2em;
    margin-left: -2.5em;
    background-image: 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");
    background-position: left center;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
}

.form-check-input[type=checkbox] {
    border-radius: 4px;
}

.form-check-input {
    background-position: left center;
}

.form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-switch .form-check-input {
    width: 2em;
    margin-left: -2.5em;
    background-image: 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");
    background-position: left center;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
}

.form-check-input:checked {
    background-color: #1e88e5;
    border-color: #1e88e5;
}

.form-check-input[type=checkbox] {
    border-radius: 4px;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.875em;
}

.form-check-input {
    background-position: left center;
}

.form-check-input {
    width: 1.375em;
    height: 1.375em;
    margin-top: .0625em;
    vertical-align: top;
    background-color: #eaedf5;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 0;
    appearance: none;
}

.form-check-label {
    display: inline-block;
}

/* END switch */

/* The blocker that disables interaction with inner elements */
.input-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Higher than inputs inside */
    background: transparent;
    display: none;
    /* Default hidden */
    cursor: pointer;
}

/* Show blocker when in report mode */
.report-mode .input-blocker {
    display: block;
}

.report-mode .input-groups2 {
    pointer-events: none;
}

.report-mode div.input-group2:hover {
    padding: 4px;
    transition: background-color 0.2s ease, border 0.2s ease;
    background-color: #f0f8ff;
    border: 1px solid #90caf9;
    border-radius: 4px;
    cursor: pointer;
}

.report-mode div.input-group2.selected {
    background-color: #e0f7ff;
    border: 1px solid #2196f3;
}

.report-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999999;
    display: none;
}

.report-backdrop::after {
    content: '';
    display: block;
    height: 100%;
}

.report-mode .report-backdrop {
    display: block;
}


.elm-dif {
    background-color: #ff74740f !important;
    border-radius: 4px;
}

.elm-dif input,
.elm-dif select,
.elm-dif .select2-selection {
    border: 1px solid rgb(255 203 203);
    background-color: #ffb0b01c;
}

.btn-success:disabled {
    background-color: var(--color-success-disabled);
    color: var(--white);
}

.btn-primary:disabled {
    background-color: var(--color-blue-disabled);
    color: var(--white);
}

:root,
[data-bs-theme=light] {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 13, 110, 253;
    --bs-secondary-rgb: 108, 117, 125;
    --bs-success-rgb: 25, 135, 84;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 33, 37, 41;
    --bs-primary-text-emphasis: #052c65;
    --bs-secondary-text-emphasis: #2b2f32;
    --bs-success-text-emphasis: #0a3622;
    --bs-info-text-emphasis: #055160;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #58151c;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-secondary-bg-subtle: #e2e3e5;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #9ec5fe;
    --bs-secondary-border-subtle: #c4c8cb;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-color-rgb: 33, 37, 41;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233, 236, 239;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-color-rgb: 33, 37, 41;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248, 249, 250;
    --bs-heading-color: inherit;
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13, 110, 253;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10, 88, 202;
    --bs-code-color: #d63384;
    --bs-highlight-color: #212529;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545;
}

.offcanvas,
.offcanvas-lg,
.offcanvas-md,
.offcanvas-sm,
.offcanvas-xl,
.offcanvas-xxl {
    --bs-offcanvas-zindex: 1045;
    --bs-offcanvas-width: 400px;
    --bs-offcanvas-height: 30vh;
    --bs-offcanvas-padding-x: 1rem;
    --bs-offcanvas-padding-y: 1rem;
    --bs-offcanvas-color: var(--bs-body-color);
    --bs-offcanvas-bg: var(--bs-body-bg);
    --bs-offcanvas-border-width: var(--bs-border-width);
    --bs-offcanvas-border-color: var(--bs-border-color-translucent);
    --bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);
    --bs-offcanvas-transition: transform 0.3s ease-in-out;
    --bs-offcanvas-title-line-height: 1.5;
}

.offcanvas.show:not(.hiding),
.offcanvas.showing {
    transform: none;
}

.offcanvas.hiding,
.offcanvas.show,
.offcanvas.showing {
    visibility: visible;
}

.offcanvas.offcanvas-start {
    top: 0;
    left: 0;
    width: var(--bs-offcanvas-width);
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
}

.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: var(--bs-offcanvas-zindex);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    transition: var(--bs-offcanvas-transition);
}

.offcanvas,
.offcanvas-lg,
.offcanvas-md,
.offcanvas-sm,
.offcanvas-xl,
.offcanvas-xxl {
    --bs-offcanvas-zindex: 1045;
    --bs-offcanvas-width: 400px;
    --bs-offcanvas-height: 30vh;
    --bs-offcanvas-padding-x: 1rem;
    --bs-offcanvas-padding-y: 1rem;
    --bs-offcanvas-color: var(--bs-body-color);
    --bs-offcanvas-bg: var(--bs-body-bg);
    --bs-offcanvas-border-width: var(--bs-border-width);
    --bs-offcanvas-border-color: var(--bs-border-color-translucent);
    --bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);
    --bs-offcanvas-transition: transform 0.3s ease-in-out;
    --bs-offcanvas-title-line-height: 1.5;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}

.offcanvas-title {
    margin-bottom: 0;
    line-height: var(--bs-offcanvas-title-line-height);
}

.offcanvas-body {
    flex-grow: 1;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    overflow-y: auto;
}

.offcanvas-header .btn-close {
    padding: calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);
    margin-top: calc(-.5 * var(--bs-offcanvas-padding-y));
    margin-right: calc(-.5 * var(--bs-offcanvas-padding-x));
    margin-bottom: calc(-.5 * var(--bs-offcanvas-padding-y));
    margin-left: auto;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

.btn-close {
    --bs-btn-close-color: #000;
    --bs-btn-close-bg: url('./offcanvas-close.svg');
    --bs-btn-close-opacity: 0.5;
    --bs-btn-close-hover-opacity: 0.75;
    --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-btn-close-focus-opacity: 1;
    --bs-btn-close-disabled-opacity: 0.25;
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: var(--bs-btn-close-color);
    background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat;
    filter: var(--bs-btn-close-filter);
    border: 0;
    border-radius: .375rem;
    opacity: var(--bs-btn-close-opacity);
}

.imgDoc {
    transition: opacity 0.2s ease-in-out;
}

.imgDoc:hover {
    opacity: 0.6;
    cursor: pointer;
}

.docModalPreview .imgDoc {
    max-width: 850px;
}

.docModalPreview .imgDoc:hover {
    opacity: 1;
    cursor: default;
}

#prevModalCanvas:hover {
    cursor: grab;
}

.draggable-wrapper {
    position: absolute;
    top: 100px;
    left: 100px;
    cursor: grab;
}

.table-bordered thead tr th {
    border: 1px solid #ddd;
}

.dt-control {
    min-width: 0px;
    width: 50px;
}

.dt-control::-webkit-outer-spin-button,
.dt-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dt-control {
    appearance: textfield;
    -moz-appearance: textfield;
}

.prof-name {
    font-size: 0.8rem;
}

.phead {
    background-color: white !important;
}

.phead .dt-column-title {
    font-size: 0.8rem;
}

.h-one.ce {
    background-color: #cccccc !important;
}

.h-two.ce {
    background-color: #cccccc !important;
}

.h-three {
    background-color: #bedaf8 !important;
}

.td-diff {
    font-size: 0.8rem;
}

.all-total {
    background-color: #fffcce;
}

.all-total th:first-child {
    border-left: 1px solid #858585;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.all-total th:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.all-total th {
    border-right: 1px solid #858585;
    border-bottom: 1px solid #858585;
}

.diff-reduce {
    background-color: #e8ffa8;
}

.diff-increase {
    background-color: #ffc7b1;
}

/*
#mainForm .content {
    height: calc(100vh - 235px);
}
*/

.dropzone .drop-message {
    margin-bottom: 30px;
}

.dropzone .dz-message {
    z-index: 9998;
}

/*
#penals.dropzone .dz-message,
#titulacio.dropzone .dz-message {
    height: 100%;
}
    */

.dropzone .dz-message .dz-button {
    cursor: pointer;
    color: #000000;
    background-color: #ffffff61;
    border-color: #343a40;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .15);
    /*display: inline-block;*/
    position: absolute;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: dashed 1px #769dff;
    padding: .375rem .75rem;
    font-size: .80rem;
    border-radius: 4px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.dz-default.dz-message {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}




/* START nav tabs */

.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: #0d6efd;
    --bs-nav-link-hover-color: #0a58ca;
    --bs-nav-link-disabled-color: rgba(33, 37, 41, 0.75);
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none !important;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.tab-content>.active {
    display: block;
}

.tab-content>.tab-pane {
    display: none;
}

main a,
main button,
main input,
main select,
main textarea,
main h2,
main h3,
main h4,
main [tabindex="0"] {
    scroll-margin-top: 80px;
    scroll-margin-bottom: 100px;
}

.fade {
    transition: opacity .15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

/* END nav tabs */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-pagos tbody input,
.table-pagos tbody span {
    width: 100% !important;
    min-width: 0px;
    max-width: 100%;
}

.table-pagos tbody input[type='checkbox'] {
    width: 15px !important;
    min-width: 0px;
    max-width: 100%;
}

.table-pagos tbody span {
    width: 100% !important;
    min-width: 0px;
    max-width: 100%;
    display: block;
}


.pills-dist .nav-link.active {
    background-color: #5f5f5f;
}

#div_set .nav-link {
    text-align: left;
}

#depar-cont .select2-selection {
    height: 100px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 20px;
}

.custom-tooltip {
    z-index: 9999;
}

#mainCal a {
    text-decoration: none;
}

.planif-table table {
    border-spacing: 0 !important;
}

#mainForm .actions {
    z-index: 9999;
    position: fixed;
    bottom: 0;
    /*margin-top: auto;*/
}

.dt-layout-table {
    overflow-x: auto;
}

#select2-cod-niv-form-container {
    text-overflow: ellipsis;
}

.alta-tooltip {
    max-width: 420px;
}

.is-invalid {
    border: 2px solid red !important;
}

.cta-link {
    color: #515151;
}

.cta-link:hover {
    color: #0d6efd;
}





/* Opcional: Para ajustar el ancho de las opciones y asegurarte de que se dividan correctamente */
.select2-results {
    width: auto;
    /* Ajusta el ancho según el contenido */
}


.select2-container--default.select2-table-dropdown .select2-results__option,
.select2-container--default.select2-table-dropdown .select2-table-header,
.select2-table-row {
    display: flex;
    padding: 4px 8px;
    border-bottom: 1px solid #eee;
    font-size: 0.4em;
}

.select2-table-header {
    background: #f0f0f0;
    font-weight: bold;
    display: flex;
}

.select2-table-col.nombre {
    width: 60%;
}

.select2-table-col.patronal {
    width: 20%;
    text-align: center;
}

.select2-table-col.alta {
    width: 12%;
    text-align: center;
}

.select2-table-col.conveni {
    width: 8%;
    text-align: center;
}

.select2-table+.select2-container .select2-results__option {
    font-size: 0.4em;
}

.select2-table.select2-container--open .select2-dropdown {
    width: auto !important;
    min-width: 100% !important;
    max-width: none !important;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Estilo adicional para las opciones dentro del dropdown */
.select2-table .select2-results__options {
    white-space: nowrap;
    /* Evita que el texto se divida en varias líneas */
}

/* Estilo para la cabecera */
.select2-tabla-header {
    display: flex;
    font-weight: bold;
    padding: 5px 10px;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ccc;
}

/* Estilo para las filas de las opciones */
.select2-tabla-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
}

.select2-tabla-col strong {
    font-size: 0.74rem;
}

.select2-tabla-col {
    flex: 1;
    /*padding: 0 10px;*/
    white-space: nowrap;
}

/* Estilo para las opciones */
.select2-tabla-col.nombre {
    font-weight: bold;
}

/*
.select2-tabla-col.alta,
.select2-tabla-col.baja,
.select2-tabla-col.conveni {
    text-align: center;
}
*/

#recoverAlert {
    position: absolute;
    bottom: 10px;
    right: 20px;
}

.group-found {
    display: block !important;
}

.pagaments-dz {
    max-height: 60px;
}

#pass_status_rep,
#pass_status {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 0.3rem;
}

.pass-incorrect {
    color: #bb2d3b;
}

.pass-correct {
    color: #2b9746;
}

.fc-daygrid-event .fc-daygrid-event-dot {
    display: none;
}

.failed-selector {
    border: 2px solid !important;
    border-color: rgb(255, 82, 85) !important;
}

.hide-after::after {
    display: none !important;
    content: none !important;
}

.modif-msg {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 700px;
}

.modif-msg i {
    font-size: 3rem !important;
}

.modif-msg p {
    font-size: 1.6rem;
    text-align: center;
}

.tabBadge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes horizontal-shaking {
    0% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(5px)
    }

    50% {
        transform: translateX(-5px)
    }

    75% {
        transform: translateX(5px)
    }

    100% {
        transform: translateX(0)
    }
}

#saveConfigImg[disabled]+.btnSaveConfigImg {
    cursor: default;
    pointer-events: none;
    opacity: 0.6;
}



.card-filters .select2-container--default .select2-selection--multiple {
    /*min-height: 38px !important;*/
    height: auto !important;
    overflow-y: visible !important;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

.card-filters .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

.card-filters .select2-selection__choice {
    white-space: normal !important;
    /*line-height: 1.2 !important;*/
}

.card-filters .select2-dropdown {
    width: auto !important;
    min-width: 100% !important;
}

.card-filters .select2-selection__choice {
    background-color: rgba(248, 249, 250, 1) !important;
}

/*
.select2-tabla-colc strong {
    font-size: 0.70rem !important;
}
*/

#fieldListCont>* {
    padding-top: 10px;
    padding-bottom: 10px;
}

#fieldListCont .text-danger {
    top: 36px !important;
}

#fieldListCont #dni-cad-error {
    top: 50px !important;
}

#fieldListCont #penals-cad-error,
#fieldListCont #titulacio-cad-error {
    top: 62px !important;
}

.user-baja>td {
    background-color: #ffd7d7 !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: var(--grey-background) !important;
}

#mainForm .content {
    height: 100% !important;
}

.app-img {
    max-width: 400px;
}

.app-tl-img {
    transition: opacity 0.2s ease-in-out;
    max-width: 200px;
    cursor: pointer;
}

.app-tl-img:hover {
    opacity: 0.6;
}

#prevCanvas .imgDoc {
    transition: opacity 0.2s ease-in-out;
    border: 1px solid black;
}

.dp-tl canvas.imgDoc {
    border: 1px solid black;
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important;
}

.allDiffCont .imgDoc {
    height: 130px !important;
}

.doc-item {
    transition: background-color 0.2s ease-in-out;
}

.doc-item:hover {
    cursor: pointer;
    background-color: #eee;
}

.doc-item.border-success:hover {
    background-color: #dcede5;
}

.doc-item .doc-preview .app-tl-img {
    max-height: 120px;
}