td {
    vertical-align: middle ! important;
}

/************* LOADING FICHAS **************/
.loading {
    display: flex;
}

.loading .dot {
    position: relative;
    width: 1.2em;
    height: 1.2em;
    margin: 0.48em;
    border-radius: 50%;
}

.loading .dot::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: wave 2s ease-out infinite;
}

.loading .dot:nth-child(1) {
    background: #45b9b3;
}

.loading .dot:nth-child(1)::before {
    animation-delay: 0.2s;
}

.loading .dot:nth-child(2) {
    background: #33a4a5;
}

.loading .dot:nth-child(2)::before {
    animation-delay: 0.4s;
}

.loading .dot:nth-child(3) {
    background: #239197;
}

.loading .dot:nth-child(3)::before {
    animation-delay: 0.6s;
}

.loading .dot:nth-child(4) {
    background: #127f8a;
}

.loading .dot:nth-child(4)::before {
    animation-delay: 0.8s;
}

.loading .dot:nth-child(5) {
    background: #016d7d;
}

.loading .dot:nth-child(5)::before {
    animation-delay: 1s;
}

@keyframes wave {

    50%,
    75% {
        transform: scale(2.5);
    }

    80%,
    100% {
        opacity: 0;
    }
}

/************************************************/
.modalCentrosSubtitle {
    font-family: 'Raleway', sans-serif;
    color: var(--text-secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
    padding-left: 10px;
}

.modal-cognitivestats {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 6;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-cognitivestats-content {
    background-color: #f2f2f2;
    margin: auto;
    padding: 20px;
    width: 80%;
    height: 95%;
    border-radius: 25px !important;
    overflow-y: auto;
    overflow-x: hidden;
}

/* The Close Button */
.close-modal-cognitivestats {
    color: var(--fourth-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-modal-cognitivestats:hover,
.close-modal-cognitivestats:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* The Close Button */
.close-modal2-cognitivestats {
    color: var(--fourth-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-modal2-cognitivestats:hover,
.close-modal2-cognitivestats:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}


.result_spacing {
    margin-left: 5px;
}

.addsubusericon {
    position: relative;
    display: inline-block;
}

.addsubusericon .img-top {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.addsubusericon:hover .img-top {
    display: inline;
}

[data-tooltip]:before {
    position: absolute;
    content: attr(data-tooltip);
    opacity: 0;
    transition: all 0.15s ease;
    padding: 10px;
    color: white;
    white-space: nowrap;
    width: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 1px silver;
    text-align: center;
}

[data-tooltip]:hover:before {
    opacity: 1;
    background: var(--primary-color);
    margin-top: -50px;
    width: auto;
    display: block;
    left: 50%;
    transform: translate(-50%);
}

[data-tooltip]:not([data-tooltip-persistent]):before {
    pointer-events: none;
}

.download {
    width: 100%;
    height: 75px;
    background: transparent;
    float: left;
    border-radius: 5px;
    position: relative;
    color: white;
    cursor: pointer;
}

.download>.fa {
    color: white;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.df,
.dg,
.dfn {
    position: absolute;
    left: 70px;
}

.dg {
    top: 39px;
    font-size: .88em;
    color: white;
}

.df {
    top: 13px;
    font-size: .88em;
    color: white;
}

.dfn {
    top: 10px;
    font-size: 1.08em;
    color: var(--primary-color);
}

.download:hover {
    /* -webkit-filter: invert(100%);
  filter: invert(100%); */
    background-color: #D5D8DC;
}

.img_login {
    opacity: 1 ! important;
    width: 75%;
}

.btn_login,
.btn_login:focus {
    background-color: var(--primary-color) ! important;
    border: 1px solid var(--primary-color) ! important;
    color: white;
}

.btn_login:hover {
    background-color: white ! important;
    border: 1px solid white ! important;
    color: var(--primary-color);
}

.btn_crear,
.btn_crear:focus {
    background-color: var(--primary-color) ! important;
    border: 1px solid var(--primary-color) ! important;
    color: white;
}

.btn_icon img {
    max-width: 30px;
}

button.btn_icon {
    border-style: none;
    background: rgba(0, 0, 0, 0);
}

.btn_style,
.btn_style:focus {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    background-color: #F7F7F7 ! important;
    border: 1px solid #F7F7F7 ! important;
    color: var(--fourth-color);
}

.btn_style:hover {
    background-color: var(--fourth-color) ! important;
    border: 1px solid var(--fourth-color) ! important;
    color: #F7F7F7;
}

.btn_ver,
.btn_ver:hover,
.btn_ver:focus {
    background-color: var(--primary-color) ! important;
    border: 1px solid var(--primary-color) ! important;
    color: white;
}

#btn_download_2semanas {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 2.5vh
}

#btn_download_2semanas:hover {
    color: var(--primary-color);
}

.btn_back {
    color: #ffffff ! important;
    background-color: #778899 ! important;
    border: 1px solid #778899 ! important;
    margin-right: 10px;
}

.btn-circle.btn-lg:hover {
    border: 1px solid #c5494c;
    background-color: #c5494c;
}

.btn-circle.btn-lg:hover>i {
    color: white;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 12px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
    color: #AEAEB3 ! important;
    border: 1px solid #AEAEB3;

}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.center_vertical {
    display: flex;
    align-items: center;
}

.contenedor {
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

.multiple_selector_mapas {
    width: 95% ! important;
    border: 0 ! important;
}

.alerts_background {
    background: none ! important;
    top: 0 ! important;
    padding: 0 ! important;
}

.separador {
    border: 1px solid #eee ! important;
}

.descripcion_field {
    border: 0 ! important;
}

.icon-barra>i {
    font-size: 18px;
}

.title {
    font-family: Raleway, sans-serif;
}

.title-top {
    font-family: Raleway, sans-serif ! important;
}

.select2-selection__rendered>li {
    font-family: Roboto, sans-serif;
}

.img_login {
    opacity: 1 ! important;
    width: 75%;
}

.dropdown-menu {
    min-width: 150px !important;
}

.form-control:focus {
    border-color: transparent ! important;
}

.form-control {
    border-color: transparent ! important;
}

.center_btn_arrow {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.text-white {
    color: white;
}

.sidebar-header-custom {
    padding-left: 0 ! important;
    padding-right: 0 ! important;
    text-align: center ! important;
}

/*DataTable modifications*/

.dataTables_wrapper {
    width: 100% ! important;
}

.dataTables_paginate {
    width: 80% ! important;
}

.single_selector_centro,
.single_selector_set,
.single_selector_cliente,
.multiple_selector_device,
.single_selector_pais,
.single_selector_autonomia,
.single_selector_provincia,
.single_selector_deterioro,
.multiple_selector_diagnostico,
.single_selector_oficio {
    width: 95% ! important;
    border: 0 ! important;
}

.select2-selection {
    font-family: Raleway, sans-serif ! important;
    background-color: var(--fourth-color) !important;
    border-radius: .25rem;
    text-align: center !important;
}

.select2-selection--multiple {
    background-color: var(--light-background-color) !important;
}

.select2-selection__placeholder,
.select2-selection__rendered {
    color: #495057 !important;
}

.select2-container {
    width: 100% !important;
}

.select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    margin-left: 0 !important;
}

.select2-container .select2-selection .select2-selection__arrow {
    top: auto !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ffffff !important;
}

.select2-results__option {
    font-family: Roboto, sans-serif ! important;
}

.select2-selection--multiple .select2-selection__rendered .select2-search--inline {
    margin-left: 0px;
}

.username_edition_font {
    font-family: Roboto, sans-serif;
    font-weight: bold;
}

.breadcrumb>li:before {
    content: none ! important;
}

.arrow-right:before {
    font-family: 'Font Awesome 5 free';
    content: "\f105";
    visibility: visible;
    font-weight: 900;
    font-style: normal;
    margin: 0 10px 0 10px;
}

.icono-video-playlist {
    font-family: 'Font Awesome 5 free' !important;
}

.img_card {
    max-width: 300px;
    max-height: 200px;
    width: auto ! important;
    height: auto ! important;
    padding: 5px;
}

#upload_progress_bar {
    width: 100%;
    background-color: grey;
    height: 15px;
    border-radius: 10px;
}

#upload_progress {
    width: 0;
    border-radius: 10px;
    height: 15px;
    background-color: #0dccbe;
}

.paginate_button.disabled {
    display: none ! important;
}

.dataTables_paginate {
    padding-top: 0 ! important;
    margin-left: auto ! important;
}

#search_input_video_modal {
    border: 1px solid #ced4da ! important;
}

#search_legend_videos {
    border: 1px solid #ced4da ! important;
    height: 30px ! important;
    min-height: 5px ! important;
    font-size: 14px ! important;
}

#repositorio-items {
    padding: 10px;
    text-decoration: none;
    list-style: none;
    height: 400px;
    overflow: auto;
}

#repositorio-items>li {
    height: 90px;
    overflow: hidden;
    border: 1px #eaeaea solid;
    line-height: 16px !important;
    padding: 8px;
    float: left;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: #0dccbe ! important;
}

.custom-control-label::before {
    background-color: lightgrey ! important;
}

#video_files {
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 100px;
}

#video_files>li {
    border: 1px #e1e1e1 solid;
    width: 200px;
    margin: 15px;
    display: inline-block;
    padding-left: 0;
    padding-right: 0;
}

#video_files>li span {
    font-size: 40pt;
    margin: 5px;
}

#video_files>li i {
    color: #676767;
    font-size: 15px;
    font-style: normal;
}

#video_files>li>div>#icon_video {
    display: inline-block;
    text-align: center;
    padding: 0;
}

#video_files>li>div>#icon_x {
    display: inline-block;
    text-align: center;
    padding: 0;
    margin-left: -10px;
}

#video_files>li>div>#nombre_vid {
    text-align: center;
}

#video_files p {
    margin-bottom: 0;
}

.nombre_videos_playlist {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#visibilidad_vid {
    text-align: center;
}

#pCursor {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
}

.dropzone .dz-default.dz-message {
    width: 100%;
    height: 100%
}

#modalNewLevel>div {
    transform: translate(0, 0);
}

.video_list {
    padding-left: 50px;
}

#contenedor_playlists {
    max-height: 300px;
    overflow-y: auto;
}

.playlist-box {
    background-color: #e9e9e9 ! important;
}

.chart-legend {
    width: 20px;
    height: 10px;
}

.legend_items {
    cursor: pointer;
}

.contenedor {
    margin-left: 30px;
    margin-right: 30px;
}

.title_pages {
    font-weight: 600 ! important;
    color: #4d4f5a;
    font-family: 'Raleway', sans-serif
}

.title_page_stats {
    font-weight: 600 ! important;
    font-size: 29px;
}

#tabla_centros_semanal>thead,
#tabla_centros_semanal>tbody,
#tabla_centros_semanal>tfoot {
    text-align: center;
}

#tabla_centros_mensual>thead,
#tabla_centros_mensual>tbody,
#tabla_centros_mensual>tfoot {
    text-align: center;
}

.pass_row {
    display: flex;
}



/* Estilo tablas estadisticas */
#recordHistoricTable {
    width: 100% !important;
    border-bottom: none;
}

#recordHistoricTable_wrapper {
    margin-top: 20px;
    /* Espacio superior */
    border: 1px solid #ddd;
    /* Borde del contenedor de la tabla */
    padding: 20px;
    /* Espaciado interno del contenedor de la tabla */
    padding-top: 40px;
    border-radius: 8px;
    /* Borde redondeado del contenedor de la tabla */


}

.dataTables_wrapper .row {
    margin: 0 !important;

}

#recordHistoricTable tr:first-child th:first-child {
    border-top-left-radius: 10px !important;
}

#recordHistoricTable tr:first-child th:last-child {
    border-top-right-radius: 10px !important;
}

#recordHistoricTable tr:last-child td:first-child {
    border-bottom-left-radius: 10px !important;
}

#recordHistoricTable tr:last-child td:last-child {
    border-bottom-right-radius: 10px !important;
}

#recordHistoricTable tr:hover {
    background-color: #f2f2f2 !important;
}

#recordHistoricTable th,
#recordHistoricTable td {
    border: 1px solid #ddd !important;
    /* Borde de las celdas */
    padding: 10px !important;
    /* Espacio interior de las celdas */
    text-align: left !important;
    color: var(--text-secondary-color) !important;
    /* Color del texto */
}

#recordHistoricTable th {
    background-color: var(--light-background-color) !important;
    /* Color de fondo de las celdas del encabezado */
}

#recordHistoricTable_paginate li:hover {
    background: none !important;
    border: none !important;
}

/* Container styles */
#recordHistoricTable_paginate {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;

}

/* Button styles */
#recordHistoricTable_paginate a {
    display: inline-block !important;
    padding: 12px 16px !important;
    /* Increased padding for bigger squares */
    margin: 0 5px !important;
    /* Slightly increased margin */
    border: 1px solid #ddd;
    border-radius: 6px !important;
    /* Slightly increased border-radius */
    background-color: #fff !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    /* Increased font size */
    transition: all 0.3s ease !important;
}

/* Hover and active styles */
#recordHistoricTable_paginate a:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

#recordHistoricTable_paginate a.current {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    pointer-events: none !important;
}

/* Disabled button styles */
#recordHistoricTable_paginate a.disabled {
    background-color: #f7f7f7 !important;
    color: #ccc !important;
    border-color: #ddd !important;
    pointer-events: none !important;
}

/* Additional styles for better appearance */
#recordHistoricTable_paginate span.ellipsis {
    padding: 12px 16px !important;
    /* Increased padding for consistency */
    color: #999 !important;
    font-size: 16px !important;
    /* Increased font size */
}

/* Estilos para el scroll de los tags*/

#tags-container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    height: 150px;
    /* Altura inicial */
    min-height: 20px;
    /* Altura mínima */
    max-height: 400px;
    /* Altura máxima */
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    resize: vertical;
    /* Permite redimensionar verticalmente */
    position: relative;
}


.tag-label {
    display: inline-block;
    cursor: pointer;
    margin: 2px;
}

.tag-checkbox {
    display: none;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 16px !important;
    font-size: 12px;
    color: #333;
    transition: all 0.2s ease;
}

.tag-checkbox:checked+.tag {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;

}

/* Estilo para la barra de desplazamiento */
#tags-container::-webkit-scrollbar {
    width: 6px;
}

#tags-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#tags-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#tags-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}