/* Estilos globales */
/* Cambiar el color de fondo */
::-webkit-scrollbar {
  background-color: #f0f0f0; /* Color de fondo */
  width: 3px; /* Ancho de la barra */
  transition: 2s ease-in;
}

/* Cambiar el color del thumb (la parte arrastrable) */
::-webkit-scrollbar-thumb {
  background-color: #08abba; /* Color del thumb */
  border-radius: 5px; /* Bordes redondeados */
}

/* Cambiar el color al pasar el mouse sobre la barra de desplazamiento */
::-webkit-scrollbar-thumb:hover {
  background-color: #284656;
}

.contenido {
  position: relative;
  width: 100%;
  height: 100%;
}

/*Centra elemenetos que esten dentro de un contenedor/elemento padre (se pone al contenedor padre inmediato) en medio de ellos HORIZONTAL*/
.centrar {
  display: flex; /*alinea los componenetes*/
  align-items: center; /*Alinea horizontalmente en medio*/
  justify-content: center; /*Alinea verticalmenete en medio*/
}

/* Centra elemenetos que esten dentro de un contenedor/elemento padre (se pone al contenedor padre inmediato) en medio de ellos Vertical*/
.centrar-v {
  align-items: center;
}

/*Centra horizontlmente a los elmentos hijos que tenga ese contenedoor/seccion*/
.centrar-h {
  justify-content: center;
}

.alinear-center {
  text-align: center;
}

.alinear-left {
  text-align: left;
}

.alinear-right {
  text-align: right;
}

/*Utilzado para poder acomodar todos los elementos y se vayan recorriendo para abajo si es que se excede del contenedor*/
.rowcrg {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.rowcrg-nocentrar {
  display: flex;
  flex-wrap: wrap;
}

.text-xc {
  font-size: 0.6rem;
}

.text-c {
  font-size: 0.7rem;
}

.text-m {
  font-size: 0.8rem;
}

.text-g {
  font-size: 1rem;
}

.text-blanco {
  color: aliceblue;
}

.text-negro {
  color: black;
}

.text-gris {
  color: rgb(137, 137, 137);
}

.text-azul {
  color: dodgerblue;
}

/* Animaciones */
@keyframes subeybaja {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(0px);
  }
}

.text-negrita-c {
  font-weight: 600;
}

.text-negrita-m {
  font-weight: 700;
}

.text-negrita-g {
  font-weight: 800;
}

.fondo-blanco {
  background-color: rgba(75, 171, 255, 0.741);
}

/* ------------------------------------------------ Index inicio de sesion  -------------------------------------------------- */
.contenedorindex {
  position: relative;
  background: rgb(0, 104, 208);
  background: linear-gradient(
      90deg,
      rgba(0, 153, 255, 0.452) 1%,
      rgb(0, 128, 255) 100%
    ),
    url("../img/recursos/camionauman.jpg");
  background-size: cover;
  background-position: center top 30%;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.logoindex {
  position: absolute;
  width: 3%;
  height: auto;
  top: 10px;
  left: 10px;
  user-select: none;
  transition: 1s all ease;
  animation: animacionlogoindex 4s infinite;
}

@keyframes animacionlogoindex {
  0% {
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0));
  }
  50% {
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.531));
  }
  100% {
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0));
  }
}

.contenedoriniciodesesion {
  position: absolute;
  width: 30%;
  height: 75vh;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  background-color: #ffffff18;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
  padding-top: 5%;
  padding-left: 60px;
  padding-right: 60px;
}

.olvidastetucontraseña {
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.olvidastetucontraseña:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* ------------------------------------------------- Estructura de las interfaces prinicipales  -------------------------------------------------- */
.contenedorprincipalsgc {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: rgb(245, 251, 255);
}

.contendorheaderprincipalsgc {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 40px;
  background-color: rgba(51, 122, 255, 0);
  user-select: none;
  z-index: 3;
  transition: 1s ease-in-out;
}

.logoprincipalsgc {
  position: absolute;
  width: 35px;
  height: auto;
  top: 3px;
  left: 35px;
  user-select: none;
}

.tituloprincipalsgc {
  position: absolute;
  top: 10px;
  left: 85px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  user-select: none;
}

.contenedorcerrarsesion {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  user-select: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  z-index: 5;
  background-color: red;
  border-radius: 50%;
}

.imgcerrarsesion {
  width: 50%;
  height: auto;
}

.contenedoropcionesprincipalsgc {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(-50%, 0px);
  width: 50%;
  height: 40px;
  user-select: none;
  z-index: 300;
  padding: 10px;
}

.opcionprincipalsgc {
  margin-left: 10px;
  margin-right: 10px;
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
  transition: 0.3s ease;
}

.opcionprincipalsgc.active {
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 2px solid white;
}

.opcionprincipalsgc:hover {
  cursor: pointer;
  transform: scale(1);
}

.opcionprincipalsgc:hover::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: 0.3s ease;
  animation: delineado 0.3s ease forwards;
}

@keyframes delineado {
  to {
    width: 100%;
  }
}

.dropdown-menu {
  transition: all 0.3s ease;
}

.contenedorbusquedaprincipalsgc {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 4;
  width: 25%;
  height: 40px;
}

.iconobusquedaprincipalsgc {
  width: 10px;
  height: auto;
  margin-right: -20px;
  margin-top: 3px;
  z-index: 4;
  transition: all 0.3s ease;
}

.inputprincipalsgcbuscar {
  margin-top: 15px;
  height: 70%;
  width: 65%;
  border-radius: 10px;
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.082);
  transition: all 0.3s ease;
  color: white;
  padding-left: 25px;
}

.inputprincipalsgcbuscar::placeholder {
  color: white;
}

.inputprincipalsgcbuscar:focus {
  outline: none;
  border: 1px solid rgb(239, 248, 255);
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  padding-left: 35px;
}

.inputprincipalsgcbuscar:focus::placeholder {
  color: rgb(255, 255, 255);
}

.iconobusquedaprincipalsgc {
  width: 12px;
  height: auto;
  margin-top: 18px;
}

.inputprincipalsgcbuscar:focus ~ .iconobusquedaprincipalsgc {
  transform: scale(1.1);
}

.principalsgccuadromodalbusquedadocsnav {
  position: fixed;
  /* width: 230px;*/
  max-height: 500px;
  width: 600px;
  padding-bottom: 20px;
  height: 0px;
  opacity: 0;
  top: 40px;
  right: 45px;
  z-index: 6;
  background-color: rgba(24, 60, 100, 0.509);
  border-radius: 10px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow-y: scroll;
}

.contenedorcuadroresultadosbusquedaprincipalsgc {
  /* width: 100%; */
  max-height: 200px;
  width: 100%;
  padding-bottom: 20px;
  height: 0px;
  opacity: 0;
  background-color: rgba(24, 60, 100, 0.509);
  border-radius: 10px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow-y: scroll;
}

.contenedortitulobusquedaheaderprincipalsgc {
  position: sticky;
  top: 0;
  background-color: rgb(51, 122, 255);
}

.contendoropcionesbusquedaheaderprincipalsgc {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 1px;
  padding-bottom: 5px;
}

.contendoropcionesbusquedaheaderprincipalsgc li {
  color: rgb(67, 67, 67);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.contendoropcionesbusquedaheaderprincipalsgc li a {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contendoropcionesbusquedaheaderprincipalsgc li a:hover {
  text-shadow: 0.9px 0 white, 0 0.9px white, 0.9px 0.9px white, -0.9px 0 white,
    0 -0.9px white, -0.9px -0.9px white;
  font-size: 0.82rem;
  color: rgb(0, 137, 229);
}

.contenedoropcionesbusquedaheaderprincipalsgc {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 1px;
  padding-bottom: 5px;
}

.contenedoropcionesbusquedaheaderprincipalsgc li {
  color: rgb(67, 67, 67);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.contenedoropcionesbusquedaheaderprincipalsgc li a {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contenedoropcionesbusquedaheaderprincipalsgc li a:hover {
  text-shadow: 0.9px 0 white, 0 0.9px white, 0.9px 0.9px white, -0.9px 0 white,
    0 -0.9px white, -0.9px -0.9px white;
  font-size: 0.82rem;
  color: rgb(0, 137, 229);
}

.contenedorcontenidoprincipalsgc {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0px;
  left: 0px;
  z-index: 2;
  overflow-y: scroll; /* Para que agarre es necesario que tenga definidos ambos scroll */
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.contenedorletrascentradasprincipalsgc {
  width: 50%;
  margin-left: 50%;
  transform: translate(-50%, 0px);
  margin-top: 11.5%;
  height: calc(85vh - 40px);
}

.titulocentradoprincipalsgc {
  font-size: 4rem;
  color: white;
}

.spantitulocentradoprincipalsgc {
  border-bottom: 2px solid currentColor;
  color: white;
}

.parrafocentradoprincipalsgc {
  font-size: 1rem;
  color: white;
}

/* Estilo para las carpetas de areas */
.contenedorareas {
  position: relative;
  width: 200px;
  height: 230px;
  background-color: rgb(5, 95, 180);
  color: white;
  border-radius: 5px;
  border-bottom-right-radius: 15px;
  padding: 15px;
  padding-top: 40px;
  padding-left: 20px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-top: 15px;
  margin-left: 25px;
}

.contenedorareas:hover {
  transform: scale(1.05);
}

.contenidocarpetaareas {
  margin-top: 175px;
  transition: all 0.3s ease;
  overflow-y: scroll;
}

.contenidocarpetasubareas {
  margin-top: 200px;
  transition: all 0.3s ease;
}

.cejacarpeta {
  position: absolute;
  top: 0px;
  right: -7px;
  width: 20px;
  height: 35%;
  background-color: rgb(255, 255, 255);
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  z-index: 5;
}

.plieguecarpeta {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 5px;
  height: 90%;
  background-color: rgb(255, 255, 255);
  z-index: 5;
}

.contenedorsubareas {
  position: relative;
  width: 200px;
  height: 200px;
  max-height: 70vh;
  padding: 15px;
  padding-top: 40px;
  padding-left: 20px;
  border-radius: 5px;
  margin-right: 25px;
  margin-bottom: 20px;
  background-color: rgb(0, 95, 133);
  color: white;
  border-bottom-right-radius: 15px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  overflow-y: scroll;
}

.contenedorsubareas:hover {
  transform: scale(1.02);
}

.iconomascarpeta {
  position: absolute;
  width: 35px;
  height: auto;
  bottom: 15px;
  right: 20px;
  user-select: none;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.iconomascarpeta:hover {
  transform: scale(1.1);
}

.iconomascarpetaareas {
  position: absolute;
  width: 35px;
  height: auto;
  bottom: 15px;
  right: 20px;
  user-select: none;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.iconomascarpetaareas:hover {
  transform: scale(1.1);
}

.iconomascarpetasubarea {
  position: absolute;
  width: 35px;
  height: auto;
  bottom: 15px;
  right: 20px;
  user-select: none;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.iconomascarpetasubarea:hover {
  transform: scale(1.1);
}

.iconomascarpetacategorias {
  position: absolute;
  width: 35px;
  height: auto;
  bottom: 15px;
  right: 20px;
  user-select: none;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.iconomascarpetacategorias:hover {
  transform: scale(1.1);
}

.contenidocarpetaareas li a {
  color: white;
}

.contenidocarpetasubareas {
  margin-top: 150px;
}

.contenidocarpetasubareas li a {
  color: white;
}

.contenidocarpetacategorias {
  margin-top: 200px;
}

.contenidocarpetacategorias li a {
  color: white;
}

.contenedorcategorias {
  position: relative;
  width: 200px;
  height: 200px;
  max-height: 70vh;
  padding: 15px;
  padding-top: 10px;
  padding-left: 10px;
  padding-bottom: 30px;
  border-radius: 5px;
  margin-right: 25px;
  margin-top: 10px;
  background-color: rgb(0, 97, 153);
  color: white;
  border-bottom-right-radius: 15px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  overflow-y: scroll;
}

.contenedorsubcategorias {
  position: relative;
  width: 200px;
  height: 200px;
  max-height: 70vh;
  padding: 15px;
  padding-top: 10px;
  padding-left: 10px;
  border-radius: 5px;
  margin-right: 25px;
  background-color: rgb(0, 125, 228);
  color: white;
  border-bottom-right-radius: 15px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.contenidocarpetasubcategorias {
  margin-top: 180px;
}

#contenedorsubcategoriaformatos {
  position: relative;
  width: 200px;
  height: 200px;
  max-height: 70vh;
  padding: 15px;
  padding-top: 10px;
  padding-left: 10px;
  border-radius: 5px;
  margin-right: 25px;
  background-color: rgb(0, 125, 228);
  color: white;
  border-bottom-right-radius: 15px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

#contenidocarpetasubcategoriasformatos {
  margin-top: 180px;
  transition: all 0.3s ease;
}

#contenedorsubcategoriaprocedimientos {
  position: relative;
  width: 200px;
  height: 200px;
  max-height: 70vh;
  padding: 15px;
  padding-top: 10px;
  padding-left: 10px;
  border-radius: 5px;
  margin-right: 25px;
  background-color: rgb(0, 125, 228);
  color: white;
  border-bottom-right-radius: 15px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

#contenidocarpetasubcategoriasprocedimientos {
  margin-top: 180px;
  transition: all 0.3s ease;
}

/* ---------------------- Gestion de procesos ---------------------- */
.contenedorgestionprocesos {
  min-height: auto;
  min-height: 100vh;
  width: 100vw;
  background-color: rgba(188, 143, 143, 0.192);
  z-index: 1;
  padding: 20px;
}

/* ---------------------- Politicas y reglamentos ---------------------- */
.contenedorpoliticasreglamentos {
  min-height: 100vh;
  width: 100vw;
  background-color: rgba(255, 0, 0, 0.192);
  padding: 20px;
}

/* ---------------------------- Formatos y Documentos ------------------------------ */
.contenedorformatosydocumentos {
  min-height: 100vh;
  width: 100vw;
  background-color: rgba(0, 255, 0, 0.192);
  padding: 20px;
}

/* ---------------------------- Documentos ------------------------------ */
.contenedordocumentos {
  min-height: 100vh;
  width: 100vw;
  background-color: rgba(68, 0, 255, 0.192);
  padding: 20px;
}

/* --------------------------------------------- Extras de las interfaces adornos* jaja ----------------------------------------------- */
.circuloarribatodalapantalla {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 90%;
  background-image: linear-gradient(rgb(0, 140, 255), rgba(0, 140, 255, 0.459)),
    url("../img/recursos/camionauman.jpg");
  filter: drop-shadow(0px 0px 5px rgba(0, 140, 255, 0.849));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  user-select: none;
  z-index: 0;
}

.imgprincipalsgcadorno3docs {
  position: absolute;
  left: -250px;
  top: -50px;
  width: 500px;
  height: auto;
  transform: rotate(45deg);
  user-select: none;
}

.imgprincipalsgcadornocarpeta {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 300px;
  height: auto;
  user-select: none;
}

.imgprincipalsgcadornocaja {
  position: absolute;
  right: -120px;
  bottom: -25px;
  width: 190px;
  height: auto;
  transform: rotate(-90deg);
  z-index: 0;
  user-select: none;
}
