/* panel-lateral-menu (background) */

.panel-lateral-menu { /* este es el background, ocupa toda la pantalla */
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  transition: display 0.5s;
}

/* The side navigation menu */
.contenedor-panel-lateral-menu { /* este es el panel que muestra los contenidos */
  height: 100vh;
  width: 400px; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: var(--colorPanelFondoDocumento);
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: width 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  margin-top: 0; /* Antes 133px, para ver el logo, pero si el ascensor estÃ¡ desplazado, de nada sirve y se ve mal */
}

.cornisa-menu {
  display: flex;
  height: 4px;
}

.cornisa-red-menu {
  background-color: var(--colorCornisaClaro);
  width: 100%;
}

.navegacion-logo-menu {
  transform: scaleY(-1);
  background-color: #FFFFFF;
  box-shadow: 0 -1px 0 0 #D5D8DB;
  padding-top: 20px; /* EstÃ¡ invertido, este valor se refleja abajo */
}

@media screen and (min-width: 576px) {

  .navegacion-logo-menu {
    padding-top: 0;
  }
}

.icono-boton-cerrar-menu {
  display: flex;
  width: 84px;
  height: 100px;
  cursor: pointer;
  align-items: center;
}

.logo-entidad-menu {
  display: flex;
  height: 70px;
  justify-self: center;
  transform: scaleY(-1);
}

@media screen and (min-width: 576px) {

  .logo-entidad-menu {
    height: 80px;
    justify-self: start;
    margin-left: 0;
  }
}

@media screen and (min-width: 768px) {

  .logo-entidad-menu {
    height: 100px;
  }
}

.logo-entidad-menu img {
  height: 70px;
  align-self: center;
  margin-left: 30px;
}

@media screen and (min-width: 576px) {
  .logo-entidad-menu img {
    height: 70px;
  }
}

@media screen and (min-width: 768px) {
  .logo-entidad-menu img {
    height: 80px;
  }
}

.migas-menu {
  display: none;
  height: 60px;
  background-color: #FFFFFF;
  box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07);
}

@media screen and (min-width: 768px) {

  .migas-menu {
    display: block;
  }
}

.migas-menu img {
  width: 16.67px;
  height: 14.17px;
  margin-left: 31.67px;
}

.navegacion-menu {
}

.titulo-modulos-menu {
  display: flex;
  height: 50px;
  font-size:  var(--letra12);
  font-weight: 600;
  color: var(--colorTextoTituloSeccionMenuLateral);
  align-items: center;
  margin-left: 20px;
}

@media screen and (min-width: 576px) {

  .titulo-modulos-menu {
    margin-left: 30px;
  }
}

.opcion-menu {
  cursor: pointer;
  min-height: 40px;
  width: 100%;
  background-color: var(--colorBackgroundOpcionNuevaMenuAJ);
  color: red;
}

.opcion-menu:hover {
  background-color: var(--colorBackgroundOpcionNuevaMenuAJHover);
}

.opcion-menu:hover .titulo-opcion-menu {
  color: var(--colorBlanco);
}

.contenedor-opcion-menu {
  height: 100%;
  width: 100%;
}

.grid-contenedor-opcion-menu {
  height: 100%;
  align-content: center;
}

.imagen-opcion-menu {
  display: flex;
  margin-left: 20px;
}

@media screen and (min-width: 576px) {

  .imagen-opcion-menu {
    margin-left: 30px;
  }
}

.imagen-opcion-menu img {
  width: 20px;
  border-radius: 4px;
}

.titulo-opcion-menu {
  display: flex;
  width: 100%;
  color: var(--colorTextoBotonDocumento);
  font-size: var(--letra16);
  line-height: 24px;
  font-weight: 600;
  align-items: center;
}

.titulo-opcion-menu p {
  margin: auto;
}

.ver-mas-opcion-menu {
  display: none; /* Estaba en flex */
  margin-right: 20px;
}

@media screen and (min-width: 576px) {

  .ver-mas-opcion-menu {
    margin-right: 30px;
  }
}

.ver-mas-opcion-menu img {
  width: 10px;
  height: 10px;
}

.contenedor-ver-mas-opcion-menu {
  display: flex;
  height: 36px;
  width: 100%; /*can be in percentage also.*/
  line-height: 30px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.texto-ver-mas-opcion-menu {
  display: none;
  color: var(--colorTextoBotonVerMas);
  font-size: var(--letra12);
  font-weight: bolder;
  letter-spacing: 0.4px;
  margin-left: 5px;
}

@media screen and (min-width: 576px) {

  .texto-ver-mas-opcion-menu {
    display: inline;
  }
}

@media screen and (min-width: 768px) {

  .texto-ver-mas-opcion-menu {
    font-size: var(--letra14);
  }
}

#texto-ver-mas-opcion-menu {
  margin: 0;
  padding: 0;
}

.xconfiguracion-menu {
  grid-area: configuracion-menu;
}

.boton-menu-lateral {
	position: fixed;
    top: 50%;
    bottom: 50%;
    z-index: 999999;
    display: grid;
    grid-row-gap: 0;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 10px 0;
    margin: auto;
    width: 40px;
    min-height: 30px;
    background-color: var(--colorBackgroundMenuUsabilidad);
    border-radius: 0px 12px 12px 0px;
    box-sizing: initial;
    margin-right: 10px;
	cursor: pointer;
	border-top: 1px solid var(--colorBlanco);
	border-bottom: 1px solid var(--colorBlanco);
	border-right: 1px solid var(--colorBlanco);
}

.abrir-contenedor-boton-menu {
    justify-content: center;
    align-items: center;
    display: flex;
}

.abrir-contenedor-boton-menu img {
	height: 30px;
}

.contenedor-boton-menu img {
	height: 20px;
	margin-left: 22px;
}

.opcion-menu {
    align-items: center;
    display: flex;
}
