@media  (max-width: 991.98px) {
    #top-bar-alt {
        height: 100px;
    }

    #top-bar {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 999;
        height: 60px;
        margin: 0;
    }

    #left-bar {
        top: 60px !important;
        border-top: 2px solid white;
        border-radius: 0 20px 20px 0;
    }

    #left-bar.icon-only {
        width: 0 !important;
        overflow: hidden;
    }

    .left-bar-logo {
        display: none !important;
    }

    .left-bar-menu {
        height: calc(100vh - 60px) !important;
    }

    main {
        margin: 60px 0 0 0 !important;
        padding: 0 8px 80px 8px !important;
    }

    main > div:first-child  {
        height: auto !important;
    }

    .nofade-out {
        left: 0px !important;
        right: 0px !important;
    }
}

#app {
    overflow-x: hidden;
}

.barLogo{
    max-width: 180px;
    max-height:106px;
}

#top-bar .barLogoMini {
    max-height: 55px;
}

#left-bar .barLogoMini {
    max-width: 70px;
    max-height: 70px;
}

#footer {
    background: var(--primary);
    font-size: 12px;
    padding: 8px 0;
}

#top-bar-alt {
    position: relative;
    height: 166px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

#top-bar-alt > div {
    position: absolute;
    right: 16px;
}

#top-bar .search {
    color: var(--primary);
    border: 1px solid #9999;
    border-radius: 0.5em;
    padding: 0 0.5em;
    background-color: white;
    display: inline-block;
}

#top-bar .search > input {
    border: none;
    outline: none;
}

#left-bar {
    width: 308px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    font-size: 16px;
    font-weight: 500;
    transition: width 0.25s ease;
    box-shadow: 6px 1px 14px 0px rgba(0, 0, 0, 0.10), 18px 4px 20px 0px rgba(0, 0, 0, 0.08), 35px 8px 28px 0px rgba(0, 0, 0, 0.05), 52px 12px 35px 0px rgba(0, 0, 0, 0.025), 70px 16px 40px 0px rgba(0, 0, 0, 0.01);
}

.left-bar-logo {
    height: 166px;
    width: 100%;
    border-bottom: 2px solid;
    padding: 0 30px;
}

.left-bar-menu {
    height: calc(100vh - 166px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.left-bar-menu::-webkit-scrollbar {
    display: none;
}

#left-bar .menu-item {
    padding: 15px 22px 15px 30px;
}

#left-bar .menu-item.active {
    border-radius: 0px 20px 20px 0px;
}

#left-bar a:hover {
    text-decoration: none;
}

#left-bar .toggleLeftBar, #top-bar .toggleLeftBar {
    transition: transform 0.25s linear;
    transform-origin: center center; 
}

#left-bar .submenu-toggle {
    margin-left: auto;
    transition: transform 0.2s linear;
    transform-origin: center center;
}

.menu-item.open .submenu-toggle {
    transform: rotate(180deg);
}

#left-bar.icon-only .toggleLeftBar, #app:has(#left-bar.icon-only) .toggleLeftBar{
  transform: rotate(180deg);
}

#left-bar.icon-only {
    width: 92px;
}

#left-bar.icon-only .left-bar-logo {
    flex-direction: column-reverse;
    justify-content: space-evenly;
}

#left-bar.icon-only .left-bar-logo a {
    margin: 0 !important;
}

#left-bar.icon-only .barLogo {
    display: none;
}

#left-bar.icon-only .barLogoMini {
    display: inline-block !important;
}

#left-bar span {
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#left-bar.icon-only span:not(.flag-icon),  #left-bar.icon-only .submenu-toggle {
    display: none;
}

#left-bar svg { 
    flex-shrink: 0;
}

.left-bar-submenu {
    display: none;
    padding-left: 32px;
}

#left-bar.icon-only .left-bar-submenu {
    display: none !important;
}

#left-bar-tooltip {
    position: fixed;
    display: none;
    z-index: 9999;
    min-width: 225px;
    background: #fff;
    color: #090909;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-radius: 34px;
    box-shadow: 412px 0px 115px 0px rgba(0, 0, 0, 0.00), 16px 0px 36px 0px rgba(0, 0, 0, 0.10);
    padding: 15px 40px;
}

#left-bar-tooltip .left-bar-icon {
    width: 40px;
    height: 40px;
    position: absolute;
    top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #FBFBFB;
    text-align: center;
    justify-self: center;
    box-shadow: 0 2px 11px 0 rgba(69, 65, 164, 0.06), 0 4px 10px 0 rgba(31, 37, 89, 0.07);
}

#left-bar-tooltip svg {
    stroke: #090909;
}

#left-bar-tooltip a {
    font-size: 14px;
    color: #090909;
    text-align: left;
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 2px solid #EFF0F6;
}

#left-bar-tooltip a:hover {
    color: #00C2AA;
}

#left-bar-tooltip a:last-child {
    border-bottom: none;
}

#left-bar.icon-only ~ main {
    margin-left: 92px;
}

main {
    margin-left: 308px;
    padding: 0 70px 80px 70px;
    transition: margin-left 0.25s ease;
}

main > div:first-child  {
    color: black;
    height: 166px;
    row-gap: 16px;
}

#main-search {
    row-gap: 16px;
}

#main-search .search {
    color: var(--primary);
    border: 1px solid #9999;
    border-radius: 0.5em;
    padding: 0 0.5em;
    background-color: white;
    display: inline-block;
    width: 100%;
}

#main-search .search > input {
    border: none;
    outline: none;
}

#main-search .select2-dropdown {
    display: inline-block !important;
    max-width: 300px !important;
}

#main-search .select2.select2-container {
    display: inline-block !important;
    max-width: 300px !important;
}

#formChangeCurso label {
    font-weight: 600;
}

#formChangeCurso .select2-selection.select2-selection--single {
    height: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8E8E8;
    border: none;
}

#formChangeCurso #select2-cursoacademico-container {
    color: #292D2D;
}

#formChangeCurso .select2-selection__arrow {
    height: 40px;
}

#formChangeCurso .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

#formChangeCurso .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after {
    content: "\f077"; /* fa-chevron-up */
}

#formChangeCurso .select2-container--default .select2-selection--single .select2-selection__arrow::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;              
    content: "\f078";               /* fa-chevron-down */
    font-size: 12px;
    position: absolute;
    right: 8px;                     
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;           
}

.radio:checked + .bar {
    left: 5em;
}

.bar {
    padding: 1em;
    background: white;
    position: fixed;
    top: 5em;
    left: -100%;
    bottom: 0;
    transition: left 0.15s;
    border-right: solid grey 1px;
    z-index: 100;
}

.bar a, .bar label {
    color: var(--primary);
}

#home-nav-bar {
    z-index: 100;
    background-color: var(--primary);
    color: var(--white);
}

/* #home-content {
    position: relative;
    top: 100px;
    right: 0;
    bottom: 0;
    left: 0;
} */
.home-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

th {
    white-space: nowrap;
}

.ellipsis {
    position: relative;
}

.ellipsis span {
    position: absolute;
    left: 0;
    right: 0;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}
/* .seleccionado {
    border-color: black;
 }
.noseleccionado {
    border-color: red;
 }
 .seleccionado:focus {
    border-color: black;
 }
.noseleccionado:focus {
    border-color: red;
 } */
#divDeleteBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divNextBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divNextTitle{
    color:var(--primary);
}
#divNextMessage{
    color: black;
}
#divMotivoBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divDescuentoBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divInfoBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divTablaComisionesBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divPagoBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divSendBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divSendFraccionesBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divCursoAcademicoBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divGenerarReciboBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divModificarCaducidadBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divMoverMatriculasBg{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divImportarActividadBg{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divImportarGrupoBg{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divImportarHorarioBg{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}
#divCampospersonalizadosBg {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: top 0.5s;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}
.chk-dia ~ label {
    width: 100%;
    height: 100%;
}

.chk-dia:checked ~ label {
    background: #38c172;
}
.fade-out {
    text-align: center;
    position: fixed;
    width: 70%;
    /* top: 10; */
    left: -100%;
    z-index: 100;
    opacity: 0;
    animation:alert-success 3s;
}
.nofade-out {
    text-align: center;
    position: fixed;
    left: 308px;
    right: 0px;
    z-index: 100;
    visibility:hidden;
}
#left-bar.icon-only ~ main .nofade-out {
    left: 92px;
}
@keyframes alert-success {
    0% {opacity: 1; left:15%;}
    75% {opacity: 1;}
    99% {left:15%;}
    100% {opacity: 0; left: -100%;}
}

.hide{
    display: none;
  }

/* Media Query para la pantalla entre los valores siguientes para ajustar las cajas al mismo tamaño */
@media (min-width: 576px) and (max-width: 584px) {
    #caja-pagina-principal {
        height: 200px !important;
    }
}

/* Media Query para la pantalla entre los valores siguientes para ajustar las cajas al mismo tamaño */
@media (min-width: 768px) and (max-width: 991px) {
    #caja-pagina-principal {
        height: 249px !important;
    }
}

/* Media Query para la pantalla entre los valores siguientes para ajustar las cajas al mismo tamaño */
@media (min-width: 992px) and (max-width: 996px) {
    #caja-pagina-principal {
        height: 225px !important;
    }
}

/* Media Query para la pantalla entre los valores siguientes para ajustar las cajas al mismo tamaño */
@media (min-width: 997px) and (max-width: 1199px) {
    #caja-pagina-principal {
        height: 202px !important;
    }
}

.help_icon{
    background-image: url(../img/asistente.png);
    background-size: 20px;
    display: inline-block;
    height: 20px;
    width: 20px;
}
.label-asistente{
    padding-left: 50px;
    background-image: url(../img/asistente.png);
    background-size: 40px;
    background-position-x: 5px;
    background-position-y: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    color: black;
    transition-duration: 0.2s;
}
@media  (max-width: 768px) {
    .label-asistente{
        padding: 0;
        background-image: url(../img/asistente.png);
        background-size: 20px;
        background-position-x: 0px;
        background-position-y: 14px;
        background-repeat: no-repeat;
        background-color: transparent;
        border-radius: 10px;
        width: 20px;
        height: 40px;
        font-size: 0;
        position: absolute;
        right: 60px;
        z-index:999999;
    }
    .label-asistente:focus { 
        padding-left: 50px;
        background-size: 40px;
        background-color: rgba(0, 0, 0, 0.03);
        background-position-y: center;
        width: auto;
        height: auto;
        font-size: 0.9rem;
        position: relative;
        right:0;
        margin-left: 15px;
        margin-right:15px;
    } 
}

.btn-alt {
    background-color: var(--primary);
    color: #fff;
    border-radius: 8px;
}

.btn-alt:hover {
    color: #fff;
}

.btn-primary {
    border-radius: 8px;
}

.btn-primary:hover {
    color: var(--primary);
    background-color: #fff;
    border-color: var(--primary);
}

.form-input {
    background-color: #F2F1FA !important;
    border: 1px solid #FBFBFB;
    border-radius: 46px;
    padding: 24px;
    outline: none;
}

input.form-input::placeholder {
    color: #878787;
    opacity: 1;
}

.portada-videotut {
    cursor: pointer;
    transition: all 0.1s ease;
}

.portada-videotut:hover {
    border: 4px solid var(--primary) !important;
}

.hover-border:hover {
    outline: 2px solid var(--primary);
}

div[class*="table-responsive"] {
    overflow-x: auto !important;
    display: block !important;
    width: 100% !important;
    margin-top: 16px !important;
    background-color: #FBFBFB !important;
    border-radius: 24px !important;
    box-shadow: 6px 6px 12px rgba(0,0,0,0.12), -6px -6px 12px rgba(255,255,255,0.7), -2px 0 6px rgba(0,0,0,0.08) !important;

}

table {
    margin-bottom: 0 !important;
}

table th {
    background-color: #F2F2F2 !important;
    color: #292D2D !important;
    border: none !important;
    padding: 16px 8px !important;
    box-shadow: 0 -1px 0 rgba(41, 45, 45, 0.08) inset !important;
}

table thead tr th:first-child {
    padding-left: 16px !important;
}

table thead tr th:last-child {
    padding-right: 16px !important;
}

table td {
    background-color: #FBFBFB !important;
    color: #292D2D !important;
    border: none !important;
    box-shadow: 0 -1px 0 rgba(41, 45, 45, 0.08) inset, 0  1px 0 rgba(41, 45, 45, 0.08) inset !important;
    padding: 8px !important;
}

table tbody tr td:first-child {
    padding-left: 16px !important;
}

table tbody tr td:last-child {
    padding-right: 16px !important;
}