html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/* -------ESTILOS PAGINACIÓN---------- */
body .pagination {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

body .pagination li,
body .pagination li a{
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    color: #007bff;
    background-color: #f8f9fa;
    font-size: 14px;
    cursor: pointer;
}

body .pagination li.active {
    background: #052795 !important;
    color: white !important;
}

/* ------ESTILOS GRID DE LA BIBLIOTECA---------- */

body .grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 25px;
    justify-content:center;
    justify-items: center;
    align-items: center;
}

body .text-truncate-multiline {
    /*width: 185px;*/
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; 
}

@media (max-width: 1024px) {
    body .grid {
        grid-template-columns: repeat(4,1fr);
    }
}
@media (max-width: 800px) {
    body .grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 600px) {
    body .grid {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 400px) {
    body .grid {
        grid-template-columns: repeat(1,200px);
    }
}

/*ESTILOS PARA EL SELECT2*/
body .select2-container {
    width: 100% !important;
}

body .select2-container .select2-selection--multiple {
        width: auto !important;
    }

body .select2-container--default .select2-selection--multiple {
    min-height: 36px;
    border: 1px solid #ced4da;
    border-radius: 6px;
}

body .select2-container--default .select2-selection--multiple .select2-selection__choice {
        display: inline-block;
        width: auto;
        justify-content: center;
        background-color: #e9ecef;
        color: #495057;
    }

body .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 2px solid #052795 !important;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
/*selec2 - selection*/
body .select2-container .select2-selection {
    display: inline-block; 
    width: 100%;
    height: auto !important;
    min-height: 39px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    justify-content: center;
    align-content: center;
}
body .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}
/*Estilos borde separador*/
body .border-separator {
    border-right: 1px solid #ccc !important;
}
@media (max-width: 575px) {
    body .border-separator {
        border-right: none !important;
        border-bottom: 1px solid #ccc !important;
        margin-bottom: 8px;
    }
}
/**/
body .w-custom {
    width: 15%;
}

@media (max-width: 575px) {
    body .w-custom {
        width: 100% !important;
    }
}