/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

/* Handle */
::-webkit-scrollbar-thumb {
    background: #86c8bc;
    border-radius: 10px;
}

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

html,
body {
    background-color: #f8fafa;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem;
}

.form-control-feedback {
    position: absolute;
    padding: 6px;
    pointer-events: none;
    right: 10px;
    margin-right: 6px;
}

.input-invalid {
    border-color: #dc3545;
}

.user-card {
    border: none;
    width: 500px;
    min-height: 100px;
    padding: 20px;
    border-radius: 3px;
    background-color: white;
    box-shadow: 0px 5px 10px rgb(0 0 0 / 20%);
    position: relative;
    overflow: hidden;
}

.user-image {
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 5px;
}

.user-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.content {
    padding-top: 75px !important;
    overflow: auto;
    padding-bottom: 75px !important;
}

@media (min-width: 1400px) {
    .container-custom {
        max-width: 1000px;
    }
}

@media (min-width: 992px) {
    .w-custom {
        width: 50% !important;
    }
}

@media (min-width: 576px) and (max-width: 992px) {
    .w-custom {
        width: 75% !important;
    }
}

@media (max-width: 576px) {
    .w-custom {
        width: 100% !important;
    }
}

.btn-close-session {
    position: absolute;
    top: 20px;
    right: 20px;
}

.margin-checkbox {
    margin-left: 6% !important;
}

.row-mobile {
    display: none;
}

.card {
    border-radius: .75rem;
}

.select2-container .select2-selection--single {
    height: 36px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0.375rem 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px;
}

.select2-dropdown {
    z-index: 1061;
}

.select2 {
    width: 100% !important;
}

.table-fixed {
    overflow: auto;
    max-height: 65vh;
    padding-left: 0.1px;
    padding-right: 0.1px;
}

.table-fixed>table>thead>tr>th {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 1;
    vertical-align: bottom;
    background-color: #fff;
    border: none;
    white-space: nowrap;
    border-top: none !important;
    border-bottom: none !important;
    background-clip: padding-box;
}

.table-fixed table tbody:nth-of-type(1) tr:nth-of-type(1) td {
    border-top: none !important;
}

.table-fixed>table>tfoot>tr>td {
    position: sticky;
    bottom: 0px;
    z-index: 1;
    vertical-align: bottom;
    background-color: #e00e0e;
    border: none;
    box-shadow: 0px 2px 0px #dee2e6;
    white-space: nowrap;
    border: 1.1px solid #0093BA;

}

.table-fixed>table {
    margin-bottom: 0 !important;
    border-collapse: collapse;
    width: 100%;
}

.table-fixed>table>tbody>tr>td,
.table-fixed>table>thead>tr>th,
.table-fixed>table>tfoot>tr>td {
    word-break: inherit;
}

.btn-navbar {
    background-color: transparent;
    border-radius: .50rem;
    font-weight: 500;
    margin-left: .5rem;
    margin-right: .5rem;
}

.btn-navbar span {
    margin-left: 2.5px;
}

.btn-navbar.btn-active {
    background-color: #E1F4EF;
    border-color: #E1F4EF;
    font-weight: 700;
}

.btn-navbar.btn-active.salida {
    background-color: #4DB1AA;
    border-color: #E1F4EF;
    font-weight: 700;
}

.btn-navbar:hover {
    background-color: #F2F5F4;
    border-color: #F2F5F4;
}

.btn-navbar.disabled,
.btn-navbar:disabled {
    background-color: #F2F5F4;
    border-color: #F2F5F4;
    opacity: 0.65;
    pointer-events: none;
}

.btn-navbar img {
    width: 13px;
    aspect-ratio: auto 13 / 13;
    height: 13px;
}

/*.container {
    box-shadow: 3px 3px 19px -10px rgba(0, 0, 0, 0.1);
}

.nav {
    box-shadow: 3px 3px 19px -10px rgba(0, 0, 0, 0.2);
}*/

.margin-form-check {
    margin-top: 28px;
}

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

.btn-mobile.borrarDiaEntrenamiento,
.btn-mobile.borrarArancel,
.btn-mobile.borrarFecha,
.btn-mobile.borrarEstadistica {
    display: none;
}

.btn-home img {
    float: left;
    margin-right: 10px;
    height: 38px;
    width: 38px;
    color: #fff;
    background-color: #4db1aa;
    border-radius: 10%;
    text-align: center;
    vertical-align: middle;
    padding: 7px;
}

.btn-home i {
    float: left;
    margin-right: 10px;
    height: 38px;
    width: 38px;
    color: #fff;
    background-color: #4db1aa;
    border-radius: 10%;
    text-align: center;
    vertical-align: middle;
    font-size: 25px;
}

.btn-home + p {
    clear: left;
    margin-top: 15px;
}

.btn-home h4,
.btn-home h5 {
    text-align: left;
    margin: 0
}

.btn-home h4 {
    font-size: 1.2rem;
}

.btn-home h5 {
    font-size: 0.8rem;
}

.btn-home span {
    font-size: 18px;
    justify-content: left;
    display: flex;
}

.accordion-inicio .accordion-button {
    font-weight: bold;
}

.accordion-inicio .accordion-item:first-of-type {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.accordion-inicio .accordion-item:first-of-type .accordion-button {
    border-top-left-radius: calc(10px - 1px);
    border-top-right-radius: calc(10px - 1px);
}

.accordion-inicio .accordion-item:last-of-type {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.accordion-inicio .accordion-item:last-of-type .accordion-button {
    border-bottom-left-radius: calc(10px - 1px);
    border-bottom-right-radius: calc(10px - 1px);
}


@media only screen and (max-width: 576px) {

    .btn-mobile.borrarDiaEntrenamiento,
    .btn-mobile.borrarArancel,
    .btn-mobile.borrarFecha,
    .btn-mobile.borrarEstadistica {
        display: block;
    }

    .btn-close.borrarDiaEntrenamiento,
    .btn-close.borrarArancel,
    .btn-close.borrarFecha,
    .btn-close.borrarEstadistica {
        display: none;
    }

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

    .row-desktop {
        display: none;
    }

    .row-mobile {
        display: flex;
    }

    .table-fixed {
        max-height: initial !important;
    }

    /*.container {
        box-shadow: 3px 3px 19px -10px rgba(0, 0, 0, 0.2);
    }*/

    .nav-link img {
        width: 19px;
        aspect-ratio: auto 19 / 19;
        height: 19px;
    }

    .btn-home h4 {
        font-size: 1rem;
    }
}

.was-validated .form-select:invalid+.select2 .select2-selection {
    border-color: #dc3545 !important;
}

.was-validated .form-select:valid+.select2 .select2-selection {
    border-color: #198754 !important;
}

*:focus {
    outline: 0px;
}

.btn-return {
    padding-left: 0;
    font-weight: 700 !important;
    font-size: calc(1rem + .6vw) !important;
    cursor: pointer;
}

.btn-return:hover {
    color: #51a192;
}

.dataTables_info,
.dataTables_filter,
.dataTables_length,
.dataTables_paginate {
    display: none;
}

thead th {
    white-space: nowrap;
    background-color: #fff !important;
    border-bottom-width: 0px !important;
    box-shadow: none !important;
}

.dataTables_scrollHeadInner>table,
.dataTables_scrollBody>table {
    width: 100% !important;
}

.modal thead th {
    width: auto;
}

table.dataTable.table-sm>thead>tr>th:not(.sorting_disabled) {
    padding-right: 30px;
}

.btn-xxs {
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.2rem 0.5rem;
}

.btn-xs {
    font-size: 0.9rem;
    line-height: 1;
}
