/*MAGISTER PORTAL ALUMNADO*/

html {
  font-family: "Raleway", sans-serif !important;
}

pre {
  font-family: "Raleway", sans-serif !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.certificados-btn {
  display: none;
}

.bg-magister {
  background-color: #0b3868;
  color: white;
}

.opciones_img {
  max-width: 100%;
}

.profile-icon {
  width: 30px;
  height: 30px;
}

.arrowB svg {
  width: 30px;
}

.banner-hover {
  display: none; /* Mantén el banner en el DOM para animaciones */
  position: fixed;
  top: 7%; /* Ajusta según sea necesario */
  bottom: 0px;
  width: 30vw;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 14px;
  z-index: 11;
  opacity: 0; /* Oculto inicialmente */
  transform: translateY(-100px); /* Empieza fuera de la vista */
  transition: opacity 0.7s ease, transform 0.7s ease; /* Transición de desvanecimiento */
  pointer-events: none;
  right: 0;
  padding-top: 3rem;
}

.banner-hover.active {
  z-index: 99;
  display: block; /* Se muestra cuando se activa */
  opacity: 1; /* Muestra el banner */
  transform: translateY(0); /* Efecto de desvanecimiento */
  pointer-events: auto; /* Habilita la interacción al hacer clic */
}

.banner-hover {
  opacity: 1; /* Muestra el banner */
  transform: translateY(0); /* Efecto de desvanecimiento */
  pointer-events: auto; /* Habilita la interacción al hacer hover */
}

.banner-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  cursor: pointer;
  font-size: 20px;
}

#tema {
  position: fixed;
  overflow-y: scroll;
  height: 100%;
}

.identifier {
  background-color: black;
  opacity: 0.7;
  color: white;
  position: absolute;
  right: 2.7rem;
  width: max-content;
  font-size: 12px;
  padding: 6px;
  display: none;
  top: 0rem;
  z-index: 10;
}

.html-box {
  height: 82vh;
  overflow-y: scroll;
  background-color: transparent;
  color: black;
}

.html-box span {
  z-index: 1 !important;
}

#notas-box .modal-body {
  max-height: 70vh;
  overflow-y: scroll;
}

.notas_box {
  position: relative;
  background-color: #0b3868;
  color: white;
  border: 1px solid #0b3868;
  border-radius: 4px;
}

.notas-trash {
  position: absolute;
  top: 5px;
  right: 5px;
  color: red;
}

/*NOTIFICACIONES*/

.notificaciones h3 {
  font-size: 18px;
  color: #0b3868;
  margin-bottom: 10px;
}

.notificaciones label {
  font-size: 16px;
  color: #0b3868;
  margin-right: 15px;
}

.notificaciones input[type="checkbox"] {
  transform: scale(1.5); /* Aumenta el tamaño del checkbox */
  margin-right: 10px;
  cursor: pointer;
}

.notificaciones hr {
  border: 0;
  height: 1px;
  background-color: #0b3868;
  margin: 20px 0;
}

/*MODES*/

#tema.dark * {
  color: #f6f8f9;
  border-color: #f6f8f9;
}

#tema.dark svg path {
  fill: #f6f8f9;
}

.dark {
  color: #f6f8f9 !important;
  background-color: #202124 !important;
}

.dark::placeholder {
  color: #f6f8f9;
}

.notas_box p {
  color: #0b3868;
  font-weight: 800;
  cursor: pointer;
}

#notas {
  height: 60vh;
  overflow-y: scroll;
}

.notas_box .notas-box-text {
  max-height: 10em;
  overflow-y: scroll;
  word-wrap: break-word;
}

.notas_box small {
  position: absolute;
  right: 5px;
  font-size: 10px !important;
  bottom: 2px;
}

.notas-textarea {
  border: 0px;
  outline: none;
  font-size: 1rem;
  width: 100%;
  color: #0b3868;
}

/*RESUMENES Y TEMAS*/

.temas_card {
  display: flex;
  flex-direction: column;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid silver;
  height: 200px;
}

.temas_card img {
  height: 50%;
  max-width: 100%;
  background-position: center;
  background-size: cover;
}

#arrowUp {
  position: fixed;
  bottom: 0;
  right: 10px;
  cursor: pointer;
  z-index: 20;
  font-size: 26px;
}

#arrowDownn {
  position: fixed;
  bottom: 40px;
  right: 10px;
  cursor: pointer;
  z-index: 20;
  font-size: 26px;
}

#page_n {
  position: fixed;
  bottom: 40px;
  right: 10px;
  background: black;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 14px;
  z-index: 1000;
  display: none; /* Solo se mostrará al hacer scroll */
  transition: opacity 0.3s ease;
}

#arrowUp:hover {
  color: #0b3868;
  transition: ease-in-out 300ms;
}

#book {
  position: fixed;
  bottom: 0;
  right: 50px;
  cursor: pointer;
  font-size: 26px;
  color: black;
  z-index: 20;
}

#book:hover {
  color: #0b3868;
  scale: 1.1;
  transition: ease-in-out 300ms;
}

#temas-options button:not(:first-child) {
  display: none; /* Ocultamos todos los botones excepto el primero */
  visibility: hidden; /* Los hacemos completamente invisibles */
  pointer-events: none; /* Evitamos que sean clickeables */
  opacity: 0; /* Mantenemos invisibilidad visual */
  transform: translateY(-100px); /* Empieza ligeramente arriba */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out,
    visibility 0s 0.3s;
}

#temas-options.open button:not(:first-child):not(.audio-btn) {
  display: block; /* Mostramos los botones cuando el contenedor tiene la clase 'open' */
  visibility: visible; /* Los hacemos visibles */
  pointer-events: auto; /* Permitimos la interacción */
  opacity: 1; /* Los botones se vuelven visibles */
  transform: translateY(
    0
  ); /* Ajustamos para que no se muevan desde fuera de la vista */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out,
    visibility 0s;
}

#temas-options {
  position: fixed;
  top: 8vh;
  right: 10px;
  background-color: transparent;
  border: 0px;
  z-index: 80;
}

.temas-btn {
  border: 1px solid #0b3868;
  background-color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  transition: 200ms;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b3868;
  z-index: 20;
}

.temas-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
}

.temas-btn span {
  align-items: center;
  justify-content: center;
}

.temas-btn:hover {
  border: 1px solid #0b3868;
  background-color: #0b3868;
  color: white;
}

.temas-btn:hover img {
  content: url("https://web5.magister.com/wp-content/uploads/2025/02/magister-icon-white.png");
}

#temas-options.open .temas-btn {
  opacity: 1; /* Los botones se vuelven visibles */
  transform: translateY(0); /* Desaparecen de su posición inicial */
}

/* Por defecto: oculta el .identifier.disabled */
.temas-btn .identifier.disabled {
  display: none;
}

/* Por defecto: oculta ambos hasta hover */
.temas-btn .identifier {
  display: none;
}

/* Mostrar normal al hacer hover */
.temas-btn:hover .identifier.normal {
  display: flex;
}

/* Si está deshabilitado, mostrar el alternativo y ocultar el normal */
.temas-btn.disabled-btn:hover .identifier.normal {
  display: none;
}

.temas-btn.disabled-btn:hover .identifier.disabled {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px); /* Empieza desde arriba */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Llega a su posición normal */
  }
}

#temas-options.open button:not(:first-child) {
  animation: slideDown 0.3s ease forwards; /* Efecto de deslizamiento */
}

/*audio btn */

/* Ocultar los botones de audio por defecto */
#temas-options .audio-btn {
  opacity: 0;
  transform: translateY(-100px); /* Desplazados a la derecha */
  pointer-events: none; /* Evita que sean clickeables mientras están ocultos */
}

/* Cuando la clase "open-audio" se activa, los botones aparecen */
#temas-options.open-audio .audio-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); /* Se desplazan a su posición normal */
  pointer-events: auto;
}

/* Animación de desplazamiento de derecha a izquierda */
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateY(100px); /* Inicia desde la derecha */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Llega a su posición */
  }
}

#temas-options.open-audio .audio-btn {
  animation: slideLeft 0.3s ease forwards; /* Efecto de deslizamiento */
}

.dropdown-temas {
  position: relative !important;
  background-color: transparent !important;
  float: none;
  margin-bottom: 20px;
  border: 0px;
}

.dropdown-temas ul {
  list-style: none;
  padding-left: 20px !important;
}

/* COLORES */

#simulacro-anulado {
  display: none;
}

#subirSimulacros {
  display: none;
}

#cuenta {
  display: none;
}

#cursos-homologados {
  display: block;
}

#close-icon {
  display: none;
}

#error-documentacion {
  display: none;
}

#crear-documento {
  display: none;
}

#error-events {
  display: none;
}

#menu-icon {
  display: none;
}

h4 {
  font-size: inherit;
  font-weight: 600;
}

.listado_h1 {
  font-size: 2rem;
  font-weight: 600;
}

.alumnado-cuenta-box p {
  font-size: 1rem !important;
}

.simulacros-select {
  border: 1px solid #0b3868 !important;
  padding: 1rem 0.8rem;
  border-radius: 6px;
  outline: none;
  color: #0b3868;
  background-color: transparent;
}

.button-background {
  border: 1px solid #0b3868;
  background-color: #0b3868;
  padding: 1rem 0.8rem;
  border-radius: 6px;
  transition: 200ms;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  height: 2.4rem;
  width: 25%;
}

.button-background .spinner {
  border: 4px solid white !important;
  border-left: 4px solid transparent !important;
}

.button-background:hover {
  border: 1px solid #0b3868;
  background-color: transparent;
  color: #0b3868;
}

.button-background:hover .spinner {
  border: 4px solid #0b3868 !important;
  border-left: 4px solid white !important;
}

.listado_h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.listado_h4 {
  font-size: 1.4;
  font-weight: 600;
}

.content {
  padding: 3rem 3rem;
}

.link-0 {
  color: #0b3868;
}

.link-0:hover {
  color: #0b3868;
  text-decoration: none;
}

/*CONSULTAS*/
#consultaFile {
  display: none;
}

.subir-simulacro-error {
  display: none;
}

.solicitudFile {
  display: none;
}

.consultas-categorie-selected {
  background-color: #092743 !important;
  color: white !important;
}

::-webkit-scrollbar {
  display: none;
}

/* Ocultar scroll en Firefox */
* {
  scrollbar-width: none; /* Oculta las barras de scroll */
  -ms-overflow-style: none; /* Para IE y Edge */
}

#notas::-webkit-scrollbar,
.notas_box div::-webkit-scrollbar {
  width: 6px; /* Ancho de la barra de desplazamiento */
}

#notas::-webkit-scrollbar-track,
.notas_box div::-webkit-scrollbar-track {
  background: #f1f1f1; /* Color del fondo de la barra de desplazamiento */
}

#notas::-webkit-scrollbar-thumb,
.notas_box div::-webkit-scrollbar-thumb {
  background: #888; /* Color del pulgar de la barra de desplazamiento */
}

#notas::-webkit-scrollbar-thumb:hover,
.notas_box div::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color del pulgar de la barra de desplazamiento al pasar el ratón */
}

.consultas-bottom {
  max-height: 62vh !important;
  overflow-y: scroll;
  padding-bottom: 2.5rem;
}

.consultas {
  width: 100%;
  display: block;
  position: relative;
}

.consultas-chat {
  display: block;
  max-height: 94vh;
}

.consultas-list {
  height: 93vh;
  width: 100%;
}

.consultas-list2 {
  height: 93vh;
  width: 100%;
}

.consultas-list-option {
  cursor: pointer;
  color: #0b3868;
}

.consultas-list-option:hover {
  cursor: pointer;
  color: #0b3868;
}

.consultas-chat-box {
  height: 85%;
}

.consultas__modal {
  width: 25rem;
  height: auto !important;
  position: absolute !important;
  top: 8rem !important;
  right: 2rem !important;
  left: inherit !important;
  background-color: #0b3868;
  color: white;
  position: relative;
  border: 1px solid white;
}

.consultas-msg-box {
  max-height: 67vh;
  overflow-y: scroll;
}

.consultas-modal-x {
  position: absolute;
  color: white;
  top: 0.5rem;
  right: 0.5rem;
  cursor: pointer;
}

.consultas_file {
  width: 2rem;
}

.crear-consulta {
  display: none;
}

.opacity06 {
  opacity: 0.6;
}

.consulta-selected {
  background-color: #b2d5ea;
}

#crear-consulta-error {
  display: none;
}

#categories-1 {
  display: block;
}

#categories-2 {
  display: none;
}

#categories-3 {
  display: none;
}

.generic-btn {
  border: 1px solid #0b3868;
  background-color: transparent;
  padding: 1.5rem 0.8rem;
  border-radius: 6px;
  transition: 200ms;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b3868;
  height: 2.4rem;
  width: 25%;
}

.generic-btn:hover {
  border: 1px solid #0b3868;
  background-color: #0b3868;
  color: white;
}

.generic-btn-notas {
  border: 1px solid #0b3868;
  background-color: #0b3868;
  padding: 1.5rem 0.8rem;
  border-radius: 6px;
  transition: 200ms;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  height: 2.4rem;
  width: 100%;
}

.generic-btn:hover .spinner {
  border: 4px solid white !important;
  border-left: 4px solid transparent !important;
}

.consulta-input-file {
  border: 1px solid #0b3868;
  width: 20%;
  height: 3rem;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
}

.consulta-input-file p {
  color: #0b3868;
  font-weight: 600;
}

.consulta-input-file input {
  position: absolute;
  left: 0;
  width: 100% !important;
  opacity: 0;
}

.consultaChat-file-name {
  display: none;
  white-space: nowrap;
}

.consultaChat-input-file {
  cursor: pointer !important;
  position: relative;
}

.consultaChat-input-file input {
  position: absolute;
  left: 0;
  width: 100% !important;
  opacity: 0;
}

.consultas-chat-btn {
  padding: 0.5rem;
  border: 1px solid #0b3868;
  color: #0b3868;
  border-radius: 20px;
  background-color: #b2d5ea;
}

.consultas-input {
  border: 0px;
  outline: none;
  font-size: 1.2rem;
  color: #0b3868;
  width: 100%;
}

.consultas-textarea {
  border: 0px;
  outline: none;
  font-size: 1.2rem;
  width: 100%;
  color: #0b3868;
}

.consultas-msg {
  max-width: 80%;
  padding: 1rem;
  border-radius: 10px;
  word-wrap: break-word;
  white-space: pre-line;
}

.msg-r {
  background-color: #b5bdc7;
}

.msg-l {
  background-color: white;
}

.consultas-x {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  font-size: 1rem;
  color: #0b3868;
  cursor: pointer;
}

.consultas-modal {
  border: 1px solid #0b3868;
  background-color: #b2d5ea;
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  z-index: 2;
}

.consultas-msgBox {
  padding: 0.5rem 1rem;
  position: relative;
  width: 100%;
  height: 6rem;
  border-bottom: 1px solid silver;
  border-top: 1px solid silver;
}

.consultas-msgBox:hover {
  opacity: 0.6;
}

.border-green {
  border-left: 0.6rem solid green;
}

.consultas-msgBox-fecha {
  position: absolute;
  bottom: 0.2rem;
  right: 0.5rem;
}

.crear-consulta-title {
  font-size: 1.6rem;
}

.consultas-search {
  width: 100%;
  height: 3rem;
}

.consultas-search-input {
  padding: 0.6rem;
  border: 1px solid #0b3868;
  padding-left: 1rem;
  outline: none;
}

.consultas-search-btn {
  background-color: #0b3868;
  border-radius: 4px;
  border: 0;
  min-width: 3rem;
  min-height: 3rem;
  max-width: 3rem;
  max-height: 3rem;
  font-weight: 900;
}
/*CONSULTAS END*/

.links {
  color: inherit;
  text-decoration: none;
}

.links:hover {
  text-decoration: none;
  color: inherit;
}

/* spinner */
.spinner-wall {
  display: none;
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0b3868;
}

.spinner2 {
  display: none;
  border: 4px solid white;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border-left-color: transparent;

  animation: spin 1s linear infinite;
}

.text-magister {
  color: #0b3868;
}

.spinner {
  display: none;
  border: 4px solid #0b3868;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border-left-color: transparent;

  animation: spin 1s linear infinite;
}

.spinner-secondary {
  border: 6px solid white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border-left-color: transparent;

  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*OPOSICIONES*/

/*.MsoNormal {
  font-size: 18px;
}

.MsoNormal span {
  font-size: 18px;
}*/

#fount-error {
  display: none;
}

.modal-dialog {
  max-width: 60vw !important;
  /*top: 5vh;*/
}

.oposiciones-modal__checkbox input {
  width: 1.5rem;
  height: 1.5rem;
}

/*FORMACIÓN*/

.simulacro-btn {
  border: 1px solid #0b3868;
  background-color: transparent;
  padding: 0rem 2rem;
  border-radius: 6px;
  transition: 200ms;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b3868;
  height: 2.4rem;
}

.simulacro-btn:hover {
  border: 1px solid #0b3868;
  background-color: #0b3868;
  color: white;
}

.formacion__datos-erroneos {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.formacion ul {
  padding-left: 1rem;
}

.formacion span {
  color: #0b3868 !important;
  font-size: 1.2rem !important;
}

.formacion font {
  color: #0b3868 !important;
  font-size: 1.2rem !important;
}

.formacion-input {
  padding: 0.4rem 1rem;
  background-color: white;
  border: 0px;
  border-bottom: 1px solid #0b3868;
  outline: none;
  width: 25%;
  color: #0b3868;
}

.formacion {
  background-color: #f3f3f3;
  min-height: 100vh;
}

.formacion h1 {
  color: #0b3868;
  font-weight: 700;
  font-size: 2.4rem;
}

.formacion-btn {
  border: 1px solid #0b3868;
  background-color: transparent;
  padding: 0rem 0.8rem;
  border-radius: 6px;
  transition: 200ms;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b3868;
  height: 2.4rem;
  width: 25%;
}

.formacion-btn:hover {
  border: 1px solid #0b3868;
  background-color: #0b3868;
  color: white;
}

.formacion-check::before {
  content: url("../assets/icons/check-green.svg");
  margin-right: 0.5rem;
  vertical-align: middle;
}

.formacion-cross::before {
  content: url("../assets/icons/cross-orange.svg");
  margin-right: 0.5rem;
  vertical-align: middle;
}

.alumnado-profile-tab {
  position: absolute;
  top: 7.1vh;
  right: 0;
  background-color: #092743;
  display: none;
}

.alumnado-header {
  background-color: #0b3868;
  height: 7vh;
  padding: 0rem 1rem;
  position: fixed;
  top: 0;
  z-index: 2;
  display: flex;
}

.header-account-arrow {
  width: 1rem;
  -moz-transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  transition: all 0.02s linear;
}

.header-account-arrow.down {
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.alumnado-header-account {
  max-height: 6vh;
  cursor: pointer;
  margin-left: 2rem;
}

.alumnado-header__icon {
  width: 1.6rem;
  margin-left: 2rem;
  cursor: pointer;
}

.alumnado-header__logo {
  max-width: 40px;
}

.alumnado-header ul {
  list-style: none;
}

.alumnado-header li {
  margin: 0px 2rem;
  cursor: pointer;
  transition: 200ms;
}

.alumnado-header li:hover {
  opacity: 0.7;
}

.alumnado-navbar {
  background-color: #092743;
  height: 93vh;
  padding: 1rem 0;
  position: fixed;
  left: 0;
  bottom: 0;
}

.alumnado-navbar-top {
  border-bottom: 2px solid silver;
  height: 75%;
}

.alumnado-navbar-bottom {
  height: 25%;
}

.alumnado-option-selected {
  background-color: #0b3868 !important;
}

.alumnado-navbar a {
  border: 0px;
  background-color: transparent;
  color: white;
  min-height: 10vh;
  text-decoration: none;
}

.w-45 {
  width: 45%;
}

.alumnado-content {
  overflow-y: auto;
  background-color: #f3f3f3;
  position: absolute;
  top: 7vh;
  right: 0;
  height: 93vh;
}

.alumnado-text-color:not(.html-box) {
  color: #0b3868;
}

.alumnado-card {
  border: 0px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  height: 22rem;
  width: 20rem;
  margin-right: 1.5rem;
  margin-bottom: 2rem;
}

.alumnado-card img {
  height: 45%;
}

.card-btn {
  border: 1px solid #0b3868;
  background-color: transparent;
  border-radius: 6px;
  height: 2.5rem;
  transition: 200ms;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-btn:hover {
  border: 1px solid #0b3868;
  background-color: #0b3868;
  color: white;
}

.alumnado-cuenta-box {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.alumnado-cuenta-box p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.alumnado-cuenta-box-profileFoto {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  background-position: center;
  background-position-x: 55%;
  background-position-y: 30%;
}

/*INICIO SESIÓN*/

#error-phone {
  color: red;
  display: none;
}

#error-dni_email {
  color: red;
  display: none;
}

#error-code {
  color: red;
  display: none;
}

#login-movil {
  display: flex;
}

#login-dni {
  display: none;
}

#login-code {
  display: none;
}

.login-container {
  background-color: #f3f3f3;
  min-height: 100vh;
  height: 100%;
}

.login-container .container {
  background-color: white;
  margin-top: 12vh;
  margin-bottom: 5vh;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.login-form-double {
  width: 48%;
}

.login-container p {
  font-size: 1.1rem;
}

.login-container .btn-name {
  font-size: 0.9rem !important;
}

.login-container input {
  font-size: 1rem !important;
}

.login-container h1 {
  font-size: 2rem;
}

.login-container h5 {
  font-size: 1.1rem;
  font-weight: 700;
}

.login-form {
  border-bottom: 2px solid silver;
}

.login-form label {
  font-size: 1rem;
  font-weight: 600;
}

.login-form span {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.login-form__item {
  background-color: #b2d5ea;
  border: 1px solid #0b3868;
  border-radius: 8px;
}

.login-form input {
  background-color: transparent;
  border: 0;
  font-size: 1.4rem;
  outline: none;
  color: #0b3868;
}

.login-form input::placeholder {
  background-color: transparent;
  border: 0;
  color: #0b3868;
}

.login-form__btn {
  border: 1px solid #0b3868;
  background-color: transparent;
  color: #0b3868;
  border-radius: 6px;
  transition: 200ms;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 1rem 2rem;
  margin-bottom: 1rem;
}

.login-form__btn:hover {
  background-color: #0b3868;
  color: white;
}

.login-form__btn:hover .spinner {
  border: 4px solid white !important;
  border-left: 4px solid transparent !important;
}

.login-form__btn-secondary {
  border: 1px solid #0b3868;
  background-color: #0b3868;
  color: white;
  border-radius: 6px;
  transition: 200ms;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2rem;
}

.login-form__btn-secondary:hover {
  background-color: transparent;
  color: #0b3868;
}

@media only screen and (max-width: 1200px) and (min-width: 900px) {
  .alumnado-header {
    height: 7vh;
  }

  #tema {
    height: 100%;
    position: fixed;
    overflow-y: scroll;
  }

  .alumnado-content {
    top: 6vh;
    height: 94vh;
  }

  .login-container .container {
    margin-top: 20vh;
    margin-bottom: 5vh;
  }

  .login-container button {
    margin: 2rem 0;
  }

  .login-container .login-form {
    margin: 3rem 0;
  }

  .login-form {
    width: 75% !important;
  }

  .login-form-double {
    width: 100%;
  }

  .alumnado-navbar {
    height: 93vh;
  }

  .alumnado-navbar-top {
    border-bottom: 2px solid silver;
    height: 70%;
  }

  .alumnado-navbar-bottom {
    height: 30%;
  }

  .formacion font {
    font-size: 1rem !important;
  }

  .formacion span {
    font-size: 1rem !important;
    font-weight: inherit !important;
  }

  .alumnado-navbar p {
    font-size: 0.9rem;
  }

  .alumnado-navbar a {
    font-size: 0.9rem;
  }

  .alumnado-navbar-option-icon {
    width: 10%;
  }

  .alumnado-navbar-icon {
    min-width: 10%;
    width: 90%;
    margin-left: 0rem;
  }

  .alumnado-navbar-icon-secondary {
    width: 10%;
  }

  .alumnado-cuenta-box {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    max-width: 87vw;
    overflow-x: scroll;
  }

  .alumnado-header-account {
    max-height: 6vh;
  }

  .alumnado-profile-tab {
    position: absolute;
    top: 10vh;
    right: 0;
    background-color: #092743;
    display: none;
  }

  .consultas-list2 {
    display: none;
  }

  /*FORMACIÓN*/

  .formacion img {
    width: 1.5rem;
    margin-right: 0.5rem;
  }

  .formacion h1 {
    color: #0b3868;
    font-weight: 700;
    font-size: 2rem;
  }

  .formacion-btn {
    height: 2.5rem;
    width: 100%;
  }

  /*CONSULTAS*/

  .consultas-msg-box {
    min-height: 42vh;
    max-height: 42vh;
    overflow-y: scroll;
  }

  .consultas-arrowBack img {
    width: 1.5rem;
  }
}

@media screen and (max-width: 500px) {
  .consultas-modal {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .banner-hover {
    display: none; /* Mantén el banner en el DOM para animaciones */
    position: fixed;
    top: 0%; /* Ajusta según sea necesario */
    bottom: 0px;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 14px;
    z-index: 11;
    opacity: 0; /* Oculto inicialmente */
    transform: translateY(-100px); /* Empieza fuera de la vista */
    transition: opacity 0.7s ease, transform 0.7s ease; /* Transición de desvanecimiento */
    pointer-events: none;
    right: 0;
  }

  .arrowB svg {
    width: 20px;
  }

  #tema {
    position: relative;
  }

  #tema h1 h3 {
    font-size: 16px;
  }

  .tema-title {
    margin-right: 4rem;
    color: black;
  }

  .temas-btn {
    padding: 5px;
  }

  #temas-options {
    right: 5px;
  }

  #notas-box {
    display: none;
  }

  .html-box {
    max-width: 95vw;
    overflow-x: hidden;

    padding-left: 0 !important;
    height: 82vh;
  }

  .consultas-search-btn {
    width: 100% !important;
  }

  .listado_h1 {
    font-size: 1.4rem;
  }

  .alumnado-cuenta-box p {
    font-size: 1rem !important;
  }

  .listado_h3 {
    font-size: 1rem;
  }

  .listado_h4 {
    font-size: 1.2 !important;
  }

  .button-background {
    border: 1px solid #0b3868;
    background-color: #0b3868;
    padding: 1rem 0.8rem;
    border-radius: 6px;
    transition: 200ms;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    height: 2.4rem;
    width: 100%;
  }

  .button-background:hover {
    border: 1px solid #0b3868;
    background-color: transparent;
    color: #0b3868;
  }

  .button-background:hover .spinner {
    border: 4px solid white !important;
    border-left: 4px solid transparent !important;
  }

  .content {
    padding: 2rem 1rem;
  }

  .simulacros-btns {
    width: 100%;
  }

  .simulacro-btn {
    border: 1px solid #0b3868;
    background-color: transparent;
    padding: 0rem 2rem;
    border-radius: 6px;
    transition: 200ms;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b3868;
    height: 2.4rem;
    width: 100%;
  }

  /*CONSULTAS*/

  .consultas {
    width: 100%;
    display: block;
    position: relative;
  }

  .consultas-arrowBack img {
    width: 1.5rem;
  }

  .consultas-msg-box {
    min-height: 55vh;
    max-height: 55vh;
    overflow-y: scroll;
  }

  .consultas-list2 {
    display: none;
  }

  .consultas-bottom {
    max-height: 20rem !important;
    overflow-y: scroll;
    padding-bottom: 2.5rem;
  }

  .consultas-list {
    max-height: 93vh;
    padding-bottom: 2.5rem;
    width: 100%;
  }

  .consultas__modal {
    width: 100vw;
    height: auto !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: inherit !important;
    background-color: #0b3868;
    color: white;
    position: relative;
    border: 1px solid white;
  }

  .consultas-modal-x {
    position: absolute;
    color: white;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
  }

  .consultas_file {
    width: 2rem;
  }

  .crear-consulta {
    display: none;
  }

  .generic-btn {
    border: 1px solid #0b3868;
    background-color: #0b3868;
    padding: 1.5rem 0.8rem;
    border-radius: 6px;
    transition: 200ms;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    height: 2.4rem;
    width: 100%;
  }

  .generic-btn-2 {
    border: 1px solid #0b3868;
    background-color: #0b3868;
    border-radius: 6px;
    transition: 200ms;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    width: 100%;
  }

  .generic-btn:hover {
    border: 1px solid #0b3868;
    background-color: transparent;
    color: #0b3868;
  }

  .generic-btn-2:hover {
    border: 1px solid #0b3868;
    background-color: transparent;
    color: #0b3868;
  }

  .consulta-input-file {
    border: 1px solid #0b3868;
    width: 100%;
    height: 3rem;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
  }

  .consulta-input-file p {
    color: #0b3868;
    font-weight: 600;
  }

  .consulta-input-file input {
    position: absolute;
    left: 0;
    width: 100% !important;
    opacity: 0;
  }

  .consultas-chat {
    height: 93%;
  }

  .consultas-chat-btn {
    padding: 0.5rem;
    border: 1px solid #0b3868;
    color: #0b3868;
    border-radius: 20px;
    background-color: #b2d5ea;
    font-size: 0.8rem;
  }

  .consultas-input {
    border: 0px;
    outline: none;
    font-size: 1.2rem;
    color: #0b3868;
  }

  .consultas-textarea {
    border: 0px;
    outline: none;
    font-size: 1.2rem;
    width: 100%;
    color: #0b3868;
  }

  .notas_box {
    color: #0b3868;
    background-color: white;
    border: 1px solid #0b3868;
    border-radius: 8px;
  }

  .notas_box div {
    max-height: 15em;
    overflow-y: scroll;
  }

  .notas-textarea {
    border: 0px;
    outline: none;
    font-size: 1rem;
    width: 100%;
    color: #0b3868;
  }

  .consultas-msg {
    max-width: 80%;
    padding: 1rem;
    border-radius: 10px;
  }

  .msg-r {
    background-color: #b5bdc7;
  }

  .msg-l {
    background-color: white;
  }

  .consultas-x {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    font-size: 1rem;
    color: #0b3868;
  }

  .consultas-modal {
    bottom: 5rem;
    right: 0rem;
    width: 100vw;
  }

  .consultas-msgBox {
    padding: 0.5rem 1rem;
    position: relative;
    width: 100%;
    height: 6rem;
    border-bottom: 1px solid silver;
    border-top: 1px solid silver;
  }

  .border-green {
    border-left: 0.6rem solid green;
  }

  .consulta-categorias-box {
    max-width: 100vw;
    overflow-x: scroll;
  }

  .consultas-msgBox-fecha {
    position: absolute;
    bottom: 0.2rem;
    right: 0.2rem;
  }

  .crear-consulta-title {
    font-size: 1.4rem;
  }

  .links img {
    width: 1.5rem;
  }

  .consultas-search {
    width: 100%;
    height: 3rem;
  }

  .consultas-search-input {
    border: 1px solid #0b3868;
    padding-left: 1rem;
    outline: none;
  }

  .consultas-search-btn {
    background-color: #0b3868;
    border-radius: 4px;
    border: 0;
    width: 3rem;
    font-weight: 900;
  }
  /*CONSULTAS END*/

  /*OPOSICIONES*/

  .modal-dialog {
    max-width: 100vw !important;
  }

  /*CARD*/

  .btn-large {
    width: 100% !important;
  }

  .card-btn {
    border: 1px solid #0b3868;
    background-color: transparent;
    border-radius: 6px;
    height: 2.5rem;
    transition: 200ms;
    font-size: 0.8rem;
    font-weight: 700;
    width: 100%;
  }

  /*FORMACIÓN*/
  .formacion {
    background-color: #f3f3f3;
    min-height: 100vh;
  }

  .formacion img {
    width: 1.5rem;
    margin-right: 0.5rem;
  }

  .formacion h1 {
    color: #0b3868;
    font-weight: 700;
    font-size: 1.4rem;
  }

  .formacion-btn {
    height: 2.2rem;
    width: 100%;
  }

  .formacion-check::before {
    content: url("../assets/icons/check-green.svg");
    margin-right: 0.5rem;
    vertical-align: middle;
  }

  .formacion-cross::before {
    content: url("../assets/icons/cross-orange.svg");
    margin-right: 0.5rem;
    vertical-align: middle;
  }

  .login-container .container {
    margin-top: 10vh;
    margin-bottom: 5vh;
  }

  .login-container h1 {
    font-size: 1.4rem;
    font-weight: 700;
  }

  .login-container p {
    font-size: 1rem;
  }

  .login-form input {
    font-size: 1rem;
  }

  .login-form label {
    font-size: 1rem;
  }

  .login-container h5 {
    font-size: 1.1rem;
  }

  .login-form-double {
    width: 100%;
  }

  /*PORTAL*/
  .alumnado-header {
    background-color: #0b3868;
    height: 7vh;
    padding: 0rem 1rem;
    position: fixed;
    top: 0;
    z-index: 2;
    display: flex;
  }

  .alumnado-profile-tab {
    position: absolute;
    top: 10.1vh;
    width: 100%;
    right: 0;
    background-color: #092743;
    display: none;
    z-index: 3;
    height: 90vh;
  }

  .alumnado-cuenta-box {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    max-width: 87vw;
    overflow-x: scroll;
  }

  .alumnado-header-account {
    max-height: 6vh;
    padding-top: 0.2rem;
  }

  .alumnado-header__icon {
    width: 1.6rem;
    margin-left: 1rem;
    cursor: pointer;
  }

  .alumnado-navbar {
    height: 90% !important;
    margin-top: 10% !important;
    border-bottom: 0px;
    display: none;
  }

  .alumnado-navbar-option-icon {
    width: 25%;
  }

  .alumnado-navbar-top {
    border-bottom: 2px solid silver;
    height: 65%;
  }

  .alumnado-navbar-bottom {
    height: 25%;
  }

  .alumnado-navbar a {
    border-top: 2px solid silver;
    min-height: 3rem;
    height: 3rem;
  }

  .alumnado-navbar-icon {
    max-width: 30%;
    margin-left: 2rem;
  }

  .alumnado-navbar-icon-secondary {
    width: 15%;
  }

  .alumnado-content {
    display: none;
  }

  .alumnado-content h1 {
    font-size: 1.6rem;
  }

  .alumnado-card {
    width: 100%;
    margin-right: 0;
  }
}
