@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700&amp;display=swap");

body {
    font-family: 'Montserrat', sans-serif !important;
}

.preloader-static {
    align-items: center;
    background: rgba(54, 54, 54, 0.767);
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    transition: opacity 0.2s linear;
    width: 100%;
    z-index: 9999;
    opacity: 1;
    transform: opacity 1s linear;
    display: none;
}

.dropdown-menu-lg {
    width: 320px;
}

.dropdown-custom-sm[data-bs-popper] {
    right: -60px!important;
    left: auto;
}

/* ON hover notificacion */
.notificacion:hover {
    background-color: #e4e4e4;
}

.notificacion-leida{
    background-color: #f5f5f5!important;
}


.btn-xs{
    padding: 0.25rem 0.5rem;
    font-size: 0.575rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.modal-body .select2-container {
    z-index: 1056!important;
}

.wrs_tickContainer {
    display: none;
}

.divisor {
    border-top: 4px solid;
    color: #0d6efd;
}

.link {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.link2 {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.link2:hover {
    text-decoration: underline;
    color: var(--bs-secondary);
}

.link3 {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.link3:hover {
    text-decoration: none;
    color: var(--bs-secondary);
}

.imagen-post {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.imagen-product {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.katex-html {
    display: none;
}

.MathJax {
    font-size: 1.3em!important;
}

.katex-display {
    display: inline-block!important;
    margin: 0!important;
    text-align: center!important;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-whatsapp {
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    display: flex !important;
    position: fixed;
    z-index: 9999999;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    border-radius: 100px !important;
}

.alerta > p {
    margin-bottom: 0;
}

/* MEGAMENU */

.navbar .megamenu{ padding: 1rem; }

/* ============ desktop view ============ */
@media all and (min-width: 0px) {
    .navbar .has-megamenu{
        position:static!important;
    }
    .navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }
}	
/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
/* @media(max-width: 991px){
    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
        overflow-y: auto;
        max-height: 90vh;
        margin-top:10px;
    }
} */

.has-megamenu .dropdown-toggle::after {
    display: none;
}

/* Menú de búsqueda */

.form-select-custom {
    position: relative;
    display: inline-block;
    width: 300px;
    font-size: 16px;
    color: #333;
    padding: 0px 12px;
}
  
.form-select-custom.show .form-select-custom-options {
    display: block;
}
  
.form-select-custom .form-select-custom-input {
    width: 100%;
    height: 38px;
    padding: 8px 40px 8px 42px;
    border: 0px solid #ccc;
    border-radius: 16px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    outline: none;
}
  
.form-select-custom .form-select-custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    z-index: 1;
    padding: 8px 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    list-style: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
  
.form-select-custom .form-select-custom-options::-webkit-scrollbar {
    width: 8px;
}
  
.form-select-custom .form-select-custom-options::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 8px;
}
  
.form-select-custom .form-select-custom-options li {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}
  
.form-select-custom .form-select-custom-options li img {
    margin-right: 8px;
}
  
.form-select-custom .form-select-custom-options li:hover {
    background-color: #f1f1f1;
}
  
.form-select-custom .form-select-custom-options li.selected {
    background-color: #007bff;
    color: #fff;
}
  
.form-select-custom .form-select-custom-options li.selected:hover {
    background-color: #0069d9;
}
  
.form-select-custom .form-select-custom-options li:not(.selected):hover {
    background-color: #f1f1f1;
}
  

.fontuser {
    position: relative;
}
  
.fontuser i{
    position: absolute;
    left: 15px;
    top: 11px;
    color: gray;
}

.form-select-custom-width {
    width: 100%!important;
    max-width: 400px!important;
}


.dropdown-menu a {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.bg-profesor {
    width: 100%;
    height: 211px;
    object-fit: cover;
}