:root {
  --colorA: #0b476a;
  --colorB: #7c1214;
  --colorC: black;
  --colorD: white;
  --colorX: rgb(221, 221, 221);
}
img {
  object-fit: cover;
}
.fondo {
  width: 100%;
  height: inherit;
  position: absolute;
  overflow: hidden;
}
.fondo-blanca {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  filter: brightness(0.8);
  -webkit-filter: brightness(0.8);
}
#menusuperior {
  width: 100%;
  height: 100vh;
}
.input {
  border: none;
  outline: none;
  background: none;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.texto-general-menu {
  position: relative;
  top: 5%;
}
.txt-nav-title {
  font-weight: 900;
}
.txt-nav-texto {
  font-size: 3vh;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 5;
}
.txt-nav-button {
  font-size: 2vh;
  background-color: #fff;
  border: solid 1px #fff;
  border-radius: 50px 50px 50px 50px;
  color: var(--colorA);
  cursor: pointer;
  -webkit-border-radius: 50px 50px 50px 50px;
  -moz-border-radius: 50px 50px 50px 50px;
  -ms-border-radius: 50px 50px 50px 50px;
  -o-border-radius: 50px 50px 50px 50px;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.txt-nav-button:hover {
  background-color: rgba(255, 255, 255, 0);
  color: #fff;
  border: solid 1px #fff;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.menu {
  transition: 1s;
  height: 4rem;
  background-color: #00000000;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.dropdown-menu {
  min-width: 7rem !important;
  padding-left: 0.5em !important;
  border-radius: 0px 0px 5px 5px;
  -webkit-border-radius: 0px 0px 5px 5px;
  -moz-border-radius: 0px 0px 5px 5px;
  -ms-border-radius: 0px 0px 5px 5px;
  -o-border-radius: 0px 0px 5px 5px;
  box-shadow: black 5px 10px 40px -15px;
}
.dropdown-item {
  color: var(--colorA);
  font-size: 0.9rem;
  transition: 0.6s;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -ms-transition: 0.6s;
  -o-transition: 0.6s;
}
.dropdown-item:hover {
  background-color: var(--colorA) !important;
  color: white !important;
  transition: 0.6s;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -ms-transition: 0.6s;
  -o-transition: 0.6s;
}
.texto-general-menu {
  position: relative;
  top: 5%;
}
.menu-text {
  margin-top: 0;
  font-size: 0.5em;
}
.Buscar {
  transition: 1s;
  border-radius: 50px 50px 50px 50px;
  -webkit-border-radius: 50px 50px 50px 50px;
  -moz-border-radius: 50px 50px 50px 50px;
  -ms-border-radius: 50px 50px 50px 50px;
  -o-border-radius: 50px 50px 50px 50px;
  border: solid 1px white;
  outline: none;
  background: none;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.Buscar input::placeholder {
  color: white;
}
.textoMenu {
  font-size: 1rem;
  color: white;
  text-decoration: none;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.textoMenu:hover {
  color: white;
  text-decoration: none;
  border-bottom: solid 2px white;
  padding-bottom: 0.3rem !important;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.logo {
  transition: 2s;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100px;
  height: 50px;
  background-image: url("../assets/img/logo/logo.png");
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -ms-transition: 2s;
  -o-transition: 2s;
  z-index: 9999999;
}
#input-vdo {
  font-size: 20px;
  padding: 10px;
}
.input-group-text-vdo {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: var(--bs-body-color);
  text-align: center;
  white-space: nowrap;
  background-color: var(--colorA);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}
.footer {
  background-color: var(--colorA);
  bottom: 0px !important;
}
.border-footer {
  position: absolute;
  left: 0;
}
.size-sm-footer {
  font-size: 0.7em;
}
.text-2 {
  color: var(--colorA);
}
.caja-card {
  background-color: var(--colorA);
}
.card-group {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.card-group::-webkit-scrollbar {
  height: 8px; /* Altura del scrollbar horizontal */
}

.card-group::-webkit-scrollbar-thumb {
  background-color: var(--bs-body-color); /* Color de la manija del scrollbar */
  border-radius: 4px; /* Esquinas redondeadas de la manija */
}

.card-group::-webkit-scrollbar-thumb:hover {
  background-color: var(--colorB); /* Color de la manija al pasar el mouse */
  opacity: 0.7;
}
.card {
  flex: 0 0 auto;
  min-width: 33.33%;
}
.card {
  cursor: pointer;
  transition: transform 0.2s;
}
.card:hover {
  transform: scale(0.9);
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
}
.modal-header {
  background-color: #007bff;
  color: white;
}
.modal-footer {
  background-color: #f1f1f1;
}
.paragraph {
  max-height: calc(1.2em * 5); /* Altura máxima para 5 líneas de texto */
  line-height: 1.2em; /* Altura de línea */
  overflow: hidden; /* Oculta el exceso de texto */
  display: -webkit-box; /* Mostrar como caja flexible para soportar line-clamp en navegadores WebKit */
  -webkit-line-clamp: 5; /* Número de líneas que se mostrarán */
  -webkit-box-orient: vertical; /* Orientación vertical de la caja flexible */
}
#modalContainer{
  z-index: 9999;
}
.modal-header {
  background-color: var(--colorA);
}
.caja-banner{
 background-image: url(../assets/img/bg-ladrillo.jpg);
 background-position: fixed;
 background-attachment: fixed;
 background-size: cover;
 background-repeat: no-repeat;
 border-bottom: 25px solid var(--colorB);
 border-top: 25px solid var(--colorB);
}
.logo-banner{
  background-color: rgba(255, 255, 255, 0.397);
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  border: 10px solid var(--colorB);
}

.banner{
 height: auto;

}

.notification-request {
  z-index: 9999;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #f1f1f1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.logo-2 {
  max-height: 10vh;
}

.message {
  flex: 1;
  text-align: center;
}

.message p {
  margin: 0;
  font-size: 16px;
}

.message button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.message button#decline {
  background-color: #d9534f;
}

.message button:hover {
  opacity: 0.8;
}

.container2 {
  height: 40vh;
  position: relative;
  overflow: hidden;
}
.container3 {
  height: 100%;
  position: absolute;
  overflow: hidden;
  z-index: -10;
}

.figure {
  width: 50px;
  height: 50px;
  position: absolute;
  border-radius: 50%;
  animation: move 5s infinite alternate;
}

.red {
  background-color: var(--colorA);
  top: -17%;
  left: 1%;
  animation-delay: 0s;
}

.blue {
  background-color: var(--colorB);
  top: -40%;
  left: 30%;
  animation-delay: 1s;
}

.green {
  background-color: var(--colorC);
  top: -30%;
  left: 50%;
  animation-delay: 2s;
}

.yellow {
  background-color: var(--colorD);
  top: -40%;
  left: 70%;
  animation-delay: 3s;
}
.square {
  width: 50px;
  height: 50px;
  position: absolute;
  background-color: var(--colorD);
  animation: moveSquare 5s infinite alternate, rotate 2s infinite linear;
  top: 50%;
  left: 50%;
}
.square2 {
  width: 100px;
  height: 50px;
  position: absolute;
  background-color: var(--colorA);
  animation: moveSquare 5s infinite alternate, rotate 2s infinite linear;
  top: 10%;
  left: 10%;
}


.triangle {
  width: 0;
  height: 0;
  position: absolute;
  border-left: 110px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 50px solid var(--colorB);
  animation: moveTriangle 5s infinite alternate, rotate 3s infinite linear;
  top: 8%;
  left: 85%;
}

@keyframes moveTriangle {
  0% {
      transform: translate(-100px, -100px);
  }
  100% {
      transform: translate(100px, 100px);
  }
}

@keyframes move {
  0% {
      transform: translate(0, 0);
  }
  100% {
      transform: translate(300px, 300px);
  }
}

@keyframes moveSquare {
  0% {
      transform: translate(-150px, -150px);
  }
  100% {
      transform: translate(150px, 150px);
  }
}

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

#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000000;
}

img{
  object-fit: cover;
}
.fondo-p {
  position: absolute;
  height: 60vh;
  filter: brightness(0.5);
  object-fit: cover;
}
.p-fondo{
  z-index: 9999;
}
.bg-A{
  background-color: var(--colorA);
}
.bg-X{
  background-color: var(--colorX);
}
.btn-postula {
  border: none;
  font-weight: 900;
  background-color: var(--colorA);
  color: white;
  border-radius: 50px 50px 50px 50px;
  -webkit-border-radius: 50px 50px 50px 50px;
  -moz-border-radius: 50px 50px 50px 50px;
  -ms-border-radius: 50px 50px 50px 50px;
  -o-border-radius: 50px 50px 50px 50px;
  border: solid 1px #ee7a2800;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
  width: auto;
}
.btn-postula:hover {
  background-color: #ee7a2800;
  border: solid 1px var(--colorA);
  color: var(--colorA);
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
  cursor: pointer;
}

/* noticias */

.caja-card {
  background-color: #f8f9fa;
}

.card-group-n {
  display: flex;
  overflow-x: scroll;
  padding: 1rem 0;
}

.card-n {
  min-width: 300px;
  max-width: 300px;
  margin-right: 1rem;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card-n img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  max-height: 25vh;
}

.card-body-n {
  background-color: #fff;
  padding: 1rem;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title-n {
  font-size: 1rem;
  font-weight: bold;
}

.card-text-n {
  font-size: 0.9rem;
  color: #6c757d;
}

.card-footer-n {
  background-color: #fff;
  border-top: none;
  text-align: right;
}

.modal-content {
  border-radius: 10px;
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}
.titulo-destacado{
  box-shadow: 1px 1px 4px 1px;
}

.border-sup{
  border-radius: var(--bs-border-radius) var(--bs-border-radius) 0px 0px;
  -webkit-border-radius: var(--bs-border-radius) var(--bs-border-radius) 0px 0px;
  -moz-border-radius: var(--bs-border-radius) var(--bs-border-radius) 0px 0px;
  -ms-border-radius: var(--bs-border-radius) var(--bs-border-radius) 0px 0px;
  -o-border-radius: var(--bs-border-radius) var(--bs-border-radius) 0px 0px;
}
.zona-destacada{
  border-radius:0px 0px var(--bs-border-radius) var(--bs-border-radius) ;
  -webkit-border-radius:0px 0px var(--bs-border-radius) var(--bs-border-radius) ;
  -moz-border-radius:0px 0px var(--bs-border-radius) var(--bs-border-radius) ;
  -ms-border-radius:0px 0px var(--bs-border-radius) var(--bs-border-radius) ;
  -o-border-radius:0px 0px var(--bs-border-radius) var(--bs-border-radius) ;
  height: auto;
}
.cj-noticias{
  border-bottom: solid 5px var(--colorA);
}
.cj-borde-top{
    border-top: 0; 
    height: 5px;  /* Ajusta la altura según lo que necesites */
    background: linear-gradient(to right, transparent, var(--colorA), transparent);
    width: 100%;
}

/* boton lateral*/
.side-button {
  position: fixed;
  top: 50%;
  left: 0;
  /*Cambiadoalaizquierda*/transform: translateY(-50%);
  background-color: var(--colorA);
  color: white;
  padding: 10px;
  border-radius: 0 15px 15px 0;
  /*Redondeoenlapartederecha*/cursor: pointer;
  display: flex;
  align-items: center;
  transition: width 0.3s ease;
  width: 50px;
  /*Tamañoinicialdelbotón*/overflow: hidden;
  -webkit-border-radius: 0 15px 15px 0;
  -moz-border-radius: 0 15px 15px 0;
  -ms-border-radius: 0 15px 15px 0;
  -o-border-radius: 0 15px 15px 0;
}

.side-button .icon {
  font-size: 24px; /* Tamaño del icono */
  color: white;
}

.side-button .text {
  margin-left: 10px;
  margin-right: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.side-button:hover {
  width: 200px; /* Tamaño del botón al expandirse */
}

.side-button:hover .text {
  opacity: 1;
}

.img-transparencias{
  height: 80px;
  width: max-content;
}
.div-transparencias{
  max-height: 95px;
  margin-top: 5px;
  background-color: var(--colorX);
}
.img-destacada{
  width: 100%;
  height: 100%;
}

.custom-scrollbar {
  overflow-y: scroll; /* Asegura que la barra de desplazamiento esté siempre visible */
}

/* Personalización de la barra de desplazamiento */
.custom-scrollbar::-webkit-scrollbar {
  width: 12px; /* Ancho de la barra de desplazamiento */
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1; /* Color del track de la barra de desplazamiento */
  border-radius: 10px; /* Redondeo de los bordes del track */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #888; /* Color del "pulgar" o parte que se mueve de la barra de desplazamiento */
  border-radius: 10px; /* Redondeo de los bordes del pulgar */
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color del pulgar cuando se pasa el mouse por encima */
}

/*modal */
/* Ajusta la altura del modal */
.custom-modal .modal-dialog {
  max-height: 70%; /* Ajusta este valor según tus necesidades */
}

/* Asegura que el contenido del modal se ajuste */
.custom-modal .modal-content {
  height: 100%;
}

/* Ajusta el contenido del modal si es necesario */
.custom-modal .modal-body {
  max-height: calc(100vh - 150px); /* Ajusta el valor según la altura del header y footer */
  overflow-y: auto;
}
/* footer*/
.footer {
  background: var(--colorA);
  color: #ffffff;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 2px solid white;
  display: inline-block;
}

.footer ul li a {
  transition: all 0.3s ease-in-out;
}

.footer ul li a:hover {
  text-decoration: underline;
  color: white;
}

.footer .border-top {
  border-color: white !important;
}

.text-warning {
  color: white !important;
}
.alert {

  background-color: #28ee38;

  color: white;

  z-index: 9999;

  bottom: 1rem;

}