@import url('../../../css/fontawesome6/all.css');

:root {
    --color-dark-gray-rgb: 77, 77, 77;       /* #4D4D4D */
    --color-dark-gray: #4D4D4D;

    --color-warm-beige-rgb: 155, 146, 126;   /* #9B927E */
    --color-warm-beige:#9B927E;

    --color-soft-blue-rgb: 155, 176, 196;    /* #9BB0C4 */
    --color-soft-blue: #9BB0C4;

    --color-light-gray-rgb: 246, 246, 246;   /* #F6F6F6 */
    --color-light-gray: #F6F6F6;

    --color-sand-rgb: 201, 193, 175;         /* #C9C1AF */
    --color-sand: #C9C1AF;

    --color-pale-blue-rgb: 228, 235, 244;    /* #E4EBF4 */
    --color-pale-blue: #E4EBF4;

    --color-medium-gray-rgb: 92, 92, 92;     /* #5C5C5C */
    --color-medium-gray: #5C5C5C;

    --color-ivory-rgb: 240, 233, 226;        /* #F0E9E2 */
    --color-ivory: #F0E9E2;


    --auth-box-background-color: rgba(var(--color-ivory-rgb), 0.769);
    --btn-primary: rgb(var(--color-medium-gray-rgb));
    --btn-primary-hover: rgb(var(--color-dark-gray-rgb));

    --body-background-color: rgb(247, 247, 247);
    --primary: rgb(var(--color-dark-gray-rgb));


    --secondary: #6c757d;

    --text-color: rgb(var(--color-medium-gray-rgb));
    --disabled-text-color: rgba(33, 37, 41, 0.55);


    --sidebar-bg-color: rgb(41, 35, 92);
    --sidebar-bg-hover-color: rgba(0, 0, 0, 0.27);
    --sidebar-text-color: rgb(219, 219, 219);
    --sidebar-hover-color: rgb(255, 255, 255);
    --sidebar-active-color: rgb(227, 10, 24);

    --swall-color: rgb(33, 37, 41);
    --swall-primary: rgba(41, 35, 92, 0.05);
    --swall-primary-hover: rgba(41, 35, 92, 0.3);
    --swall-primary-focus: rgba(41, 35, 92, 0.1);

    --btn-primary-gs: #464172;
    --btn-primary-color: #FFF;

    --btn-primary-hover-gs: #3c385a;
    --btn-primary-hover-color: #FFF;


}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--body-background-color) !important;
    color: var(--text-color) !important;
}
.font-size-medium{
    font-size:0.85rem;
}
.background_login {
    background: rgb(144, 144, 144);
    background: linear-gradient(139deg, rgba(144, 144, 144, 1) 0%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.background_login img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-wrapper {
    min-height: 100vh;
    position: relative;
}

.auth-wrapper .auth-box {
    padding: 20px;
    box-shadow: -3px 6px 5px rgba(0, 0, 1, 0.4);
    background: var(--auth-box-background-color);

    width: 90%;
    border-radius: 12px;

}

.auth-wrapper .auth-box .logoLogin {
    text-align: center;
    height: auto;
    padding:16px;
}

.auth-wrapper .auth-box .logoLogin img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.kiosco-container {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.kiosco-workspace {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kiosco-workspace-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    height: 100%;
    overflow: hidden;
}

.kiosco-workspace-header {
    height: 80px;
}

.kiosco-workspace-header nav {
    height: 100% !important;
}

.kiosco-workspace-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 15px 0;
}

.sidebar .sidebar-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar .sidebar-nav {
    overflow: auto;
    flex-grow: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.sidebar .sidebar-nav nav:nth-child(1) {
    height: 100%;
    overflow: auto;
}

.sidebar .sidebar-nav nav:nth-child(2) {
    border-top: 1px solid var(--sidebar-text-color);
}

.sidebar .sidebar-nav ul li.nav-item a.nav-link label {
    cursor: pointer;
}
.form-control {
    border-radius: 0.5rem ;
}
.input-icon-wrapper{
    position:relative;
    margin-bottom: 1rem !important;
}
.input-icon-wrapper .input-icon-left {
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    color: #6c757d;
    pointer-events: none;
}
.input-icon-wrapper .input-icon-right {
    position: absolute;
    right: 0.75rem;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    color: #6c757d;
    pointer-events: none;
}

.input-icon-wrapper .form-control.icon-left {
    padding-left: 2.5rem; /* espacio para el ícono */
}
.input-icon-wrapper .form-control.icon-right {
    padding-right: 2.5rem; /* espacio para el ícono */
}
.input-icon-wrapper .form-control.icon-both {
    padding-left: 2.5rem; /* espacio para el ícono */
    padding-right: 2.5rem; /* espacio para el ícono */
}

.form-control.icon-right.is-invalid ~ .input-icon-right,
.form-control.icon-both.is-invalid ~ .input-icon-right{
    right: 1.5rem;
}


.input-icon-wrapper .invalid-feedback {
    position:absolute;
}

.input-icon-right.showText{
    pointer-events:all !important;
    cursor: pointer;
}



/*
.input-group.icon-both .form-control {
    border-radius: 0 !important;
    border-left:none !important;
    border-right:none !important;
}
.input-group .input-group-text.icon{
    width:34px !important;
    background-color: #fff !important;
}
.input-group .input-group-prepend .input-group-text{
    border-radius: .375rem 0 0 .375rem !important;
}
.input-group .input-group-append .input-group-text{
    border-radius: 0 .375rem .375rem 0 !important;
} */

/* .form-control,
.form-control:focus {
    box-shadow: none !important;
}

.input-group:focus-within {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.25rem rgba(var(--color-soft-blue-rgb), 0.75);
  border-radius: .375rem;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
  border-color: rgb(var(--color-soft-blue-rgb));
} */

.icon-md { font-size: 1.25rem; }
/*
.input-group-prepend{
    border-left:none !important;
}
.input-group-prepend .input-group-text{
    border-radius: 0.5rem 0 0 0.5rem;
    background-color: #fff;
    border-left:none !important;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border-color: #9BB0C4;
    box-shadow: 0 0 2px rgba(91,115,139,0.16),0 8px 16px rgba(91,115,139,0.16);
}
.form-control:focus {

    border-color: #9BB0C4;

}


.input-group.icon-left .form-control:focus{
    border-left:none !important;
} */

.btn {

    border-radius: 0.375rem;
    transition: color 0.01s ease-in-out, background-color 0.15s ease-in-out, border-color 0.01s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn-kiosco-primary {
    color: #FFF;
    background: var(--btn-primary) linear-gradient(180deg, var(--btn-primary), var(--btn-primary)) repeat-x;
    border-color: var(--btn-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    font-size: 1em !important;
}

.btn-kiosco-primary:disabled {
    color: #fff;

}

.btn-kiosco-primary:not(:disabled):hover {
    color: #fff;
    background: var(--btn-primary-hover) linear-gradient(180deg, var(--btn-primary-hover), var(--btn-primary-hover)) repeat-x;
    border-color: var(--btn-primary-hover);
}

.btn-kiosco-primary:not(:disabled):focus,
.btn-kiosco-primary.focus {
    color: #fff;
    background: var(--btn-primary-hover) linear-gradient(180deg, var(--btn-primary-hover), var(--btn-primary-hover)) repeat-x;
    border-color: var(--btn-primary-hover);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.1rem rgba(73, 68, 116, 0.5);
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background: var(--btn-primary-hover) linear-gradient(180deg, var(--btn-primary-hover), var(--btn-primary-hover)) repeat-x;
    border-color: var(--btn-primary-hover);
}

.btn-kiosco-add {
    color: var(--primary);
}

.btn-kiosco-add:hover {
    color: var(--btn-primary-hover);
}

.btn-kiosco-modal {
    background-color: var(--swall-primary) !important;
    color: var(--swall-color);
    border: none;
    box-shadow: none;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
}

.btn-kiosco-modal:focus {
    background-color: var(--swall-primary-focus) !important;
    border: 0px;

    box-shadow: none !important;
}

.btn-kiosco-modal:hover,
.btn-kiosco-modal:active {
    background-image: linear-gradient(var(--swall-primary-hover), var(--swall-primary-hover)) !important;
    border: 0px;

}


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


.table-container {
    height: 100%;
}

.table-hover tbody tr:hover {
    background-color: #bdbdbd !important;
}

.clickable-row {
    cursor: pointer;
}

tr.disabled-row {
    cursor: auto;
    color: var(--disabled-text-color);
}

.table-hover tbody tr.disabled-row:hover,
tr.disabled-row:hover {
    background-color: rgba(0, 0, 0, 0.055);
    color: var(--disabled-text-color);
}

/*
.table-striped tbody tr.disabled-row:hover:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}*/

tr.selected,
.multiple-select-selected,
.table-hover tbody tr.selected:hover {
    background-color: #5897fb !important;
    color: #FFF;
}

.alert-pointer {
    position: absolute;
    align-self: center;
    width: 8px;
    height: 8px;
    background: var(--orange);
    top: 12px;
    border-radius: 50%;
    font-size: 6px;
    color: #fff;
}

.alert-pointer.ap-top-right {
    right: 4px;
    top: 4px;
}

.col-foto-emp {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    margin-top: 1rem;
    height: 160px;
}

.col-foto-emp img {
    max-height: 90%;
}

.dataTables_wrapper,
.DTFC_LeftBodyLiner,
.DTFC_LeftBodyWrapper {
    height: 100% !important;
}

.dataTables_scroll,
.DTFC_ScrollWrapper,
.DTFC_LeftWrapper {
    height: 100% !important;
    display: flex;
    flex-direction: column;
}

body.swal2-shown.swal2-height-auto {
    height: 100% !important;
}

.swal2-popup {
    color: var(--text-color);
    font-family: inherit;
    font-size: inherit !important;
    padding: 0 0 12px;
}

.swal2-title {
    color: var(--text-color) !important;
    padding: 12px 12px 0 !important;
}

.swal2-html-container {
    margin: 12px 12px 0;
}

.swal2-actions {
    margin: 0 !important;
    margin-top: 1.25em;
}

.swal2-styled.swal2-confirm {
    border-radius: .25em !important;
    color: var(--swall-color) !important;
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    background-image: linear-gradient(var(--swall-primary), var(--swall-primary)) !important;
}

.swal2-styled.swal2-cancel {
    border-radius: .25em !important;
    color: var(--swall-color) !important;
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    background-image: linear-gradient(var(--swall-primary), var(--swall-primary)) !important;
}

.swal2-styled:focus {
    background-color: var(--swall-primary-focus) !important;
}

.swal2-actions:not(.swal2-loading) .swal2-styled:hover,
.swal2-actions:not(.swal2-loading) .swal2-styled:active {
    background-image: linear-gradient(var(--swall-primary-hover), var(--swall-primary-hover)) !important;
}

body.swal2-toast-shown .swal2-container.swal2-bottom-end,
body.swal2-toast-shown .swal2-container.swal2-bottom-right {
    top: auto;
    right: 25px !important;
    bottom: 25px !important;
    left: auto;
}

div.dataTables_scrollHead,
.DTFC_LeftHeadWrapper {
    flex: 1 0 auto;
}

div.dataTables_scrollBody table {
    border-top: 1px solid #dee2e6;
}

.dataTables_filter {
    text-align: right !important;
    margin-top: 0;
}

/****Select2 Estilos ****/
.select2-container {
    /*width: 100% ;*/
    max-width: -webkit-fill-available;
    text-align: left;
    font-size: inherit !important;
    border-radius: 3px !important;
    line-height: 20px !important;
    border: none !important;
    border-radius: 0.25rem !important;
}

.select2-container .select2-selection--single {
    height: calc(1.5em + 0.24rem + 2px) !important;
    border: 1px solid #ced4da !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

div.form-group span.select2-container {
    /* agregardo recientemente*/
    width: 100% !important;

}

.select2-container:focus,
.select2-container .select2-selection--single:focus {
    color: #495057;
    background-color: #fff;
    border-color: #5246b8;
    outline: 0;
}

.select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #ddd;
    color: inherit;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #5897fb;
    color: white;
}

span.select2 .select2-container .select2-container--default {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 20px !important;
    color: #495057 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

.select2-selection__arrow b {
    margin-top: -3px !important;
}

.select2-is-valid {
    border-color: #1cc88a !important;
}

.select2-is-invalid {
    border-color: #e74a3b !important;
}

.select2-search input {
    width: 100%;
    height: calc(1.5em + 0.24rem + 2px);
    padding: 0.12rem 0.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057 !important;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem;
}

.select2-search input:focus {
    /*border-color: #5246b8 !important;*/
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(41, 35, 92, 0.25);
}

div,
.select2-container--default .select2-results>.select2-results__options {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.1);
}

.ui-front {
    z-index: 1050 !important
}

.badge-status {
    position: absolute;
    transform: scale(.75);
    transform-origin: top;
    margin-top: 0.9rem;
}


@media (min-width: 576px) {
    .auth-wrapper .auth-box{
        max-width: 315px !important;
    }
    .modal-600 {
        max-width: 500px;
        margin: 1.75rem auto;
    }

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

}
@media (max-width: 575.98px){

    .auth-wrapper .auth-box{
        height: 100vh;
        border-radius: 0;
        width: 100%;
        max-width: 100% !important;
        padding: 8rem 4rem;
        box-shadow: none;
        background:linear-gradient(to bottom, var(--auth-box-background-color) 43%, rgba(255,255,255,0));
        backdrop-filter: none;
    }
}
@media (max-width: 767.98px) {

}
/*--->  Pantallas >= 768px */
@media (min-width: 768px) {
      .auth-wrapper .auth-box{
        max-width: 320px;
    }
    .modal-600 {
        max-width: 600px;
        margin: 1.75rem auto;
    }

    .modal-700 {
        max-width: 700px;
    }

    .col-foto-emp {
        -ms-flex: 0 0 140px;
        flex: 0 0 140px;
        height: 200px;
        margin-top: 0px;
    }

    .col-foto-emp img {
        max-width: 140px;
        max-height: 140px;
    }

}

/*--> Pantallas >= 992px */
@media (min-width: 992px) {
     .auth-wrapper .auth-box{
        max-width: 350px !important;
    }
    .sidebar {
        position: relative !important;
        margin-left: 0px !important;
    }

    .col-foto-emp {
        -ms-flex: 0 0 160px;
        flex: 0 0 160px;
        height: 220px;
    }

    .col-foto-emp img {
        max-width: 160px;
        max-height: 160px;
    }

}

@media (min-width: 1200px) {
    .col-foto-emp {
        -ms-flex: 0 0 200px;
        flex: 0 0 200px;
        height: 220px;
    }

    .col-foto-emp img {
        max-width: 200px;
        max-height: 200px;
    }

}

@media (min-width: 1440px) {

    body,
    .dropdown-menu,
    .col-form-label-sm,
    .input-group-text,
    .input-group-sm>.form-control,
    .input-group-sm>.custom-select,
    .input-group-sm>.input-group-prepend>.input-group-text,
    .input-group-sm>.input-group-append>.input-group-text,
    .input-group-sm>.input-group-prepend>.btn,
    .input-group-sm>.input-group-append>.btn,
    .custom-select,
    .custom-select-sm,
    .popover-header,
    h6,
    .h6 {
        font-size: 0.90vw;
    }

    h4,
    .h4 {
        font-size: 1.25vw;
    }

    h5,
    .h5 {
        font-size: 1.20vw;
    }

    .form-control,
    .btn,
    .select2-container {
        font-size: 1em !important;
    }

    .btn-lg,
    .btn-group-lg>.btn {
        font-size: 1.1em !important;
    }

    .select2-container .select2-selection--single {
        height: calc(1.5em + 0.24rem + 2px) !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 22px !important;
        color: #495057 !important;
        padding: 0.12rem 0.5rem !important;
    }

    .select2-container--default.select2-container--disabled .select2-selection--single {
        background-color: #dee2e6 !important;
        cursor: default;
    }

    small,
    .small {
        font-size: 76%;
        font-weight: 400;
    }
}

@media (min-width: 1920px) {

    body,
    .dropdown-menu,
    .col-form-label-sm,
    .input-group-text,
    .input-group-sm>.form-control,
    .input-group-sm>.custom-select,
    .input-group-sm>.input-group-prepend>.input-group-text,
    .input-group-sm>.input-group-append>.input-group-text,
    .input-group-sm>.input-group-prepend>.btn,
    .input-group-sm>.input-group-append>.btn,
    .custom-select,
    .custom-select-sm,
    .popover-header,
    h6,
    .h6 {
        font-size: 1rem;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6 {
        margin-bottom: 0.5rem;
        font-weight: 500;
        line-height: 1.2;
    }

    h1,
    .h1 {
        font-size: 2.5rem;
    }

    h2,
    .h2 {
        font-size: 2rem;
    }

    h3,
    .h3 {
        font-size: 1.75rem;
    }

    h4,
    .h4 {
        font-size: 1.5rem;
    }

    h5,
    .h5 {
        font-size: 1.25rem;
    }

    .modal-f900 {
        max-width: 980px;
        margin: 1.75rem auto;
    }
}

.gradient {

    animation: loadingAnimation 1.85s linear infinite;
    animation-fill-mode: forwards;
    background: #f6f7f8;
    background: linear-gradient(to right, #fafafa 8%, #f4f4f4 38%, #fafafa 54%);
    background-size: 5000px 640px;
    /*background: linear-gradient(90deg, rgba(250,250,250,0.9), rgba(200, 199, 199, 0.3));
    background-size: 400% 400%;
    animation: loadingAnimation 3s ease-in-out infinite;*/
    color: #d9d2d2
}

@keyframes loadingAnimation {
    0% {
        background-position: -468px 0
    }

    100% {
        background-position: 468px 0
    }
}

@keyframes loadingAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable thead th {

    text-align: center;
}

table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
    text-align: left;
}

.dt-search {
    position: relative;
}

.dt-search input {
    width: 250px;
    height: 28px;
    text-indent: 4px;
}

.dt-search .fa-search {
    position: absolute;
    top: 8px;
    left: auto;
    right: 8px;
    color: #C0C0C0;
}


textarea.autosize {
    overflow: hidden;
    resize: none;
    min-height: 53.2px !important;
    -moz-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, height 1.26s ease;
    ;
    -webkit-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, height 1.26s ease;
    ;
    -o-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, height 1.26s ease;
    ;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, height 0.26s ease;
}

#employeeInfo img {
    height: 35px;
    width: 35px;
    object-fit: cover;
    ;
}

.dropdown-item.changecia {
    display: flex;
    align-items: center;
}

.dropdown-item.changecia::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    background-color: transparent;
    /* por defecto invisible */
    border-radius: 50%;
}

.dropdown-item.changecia.selected::before {
    background-color: var(--primary);
    /* puntito verde solo en el seleccionado */
}
