
@font-face {
    font-family: "MyriadPro-Regular";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(https://file.urp.edu.pe/file-urp-20241023-025000-181-7826719536887ea9.otf);
}

@font-face {
    font-family: "MyriadPro-Bold";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(https://file.urp.edu.pe/file-urp-20241023-024833-181-537671953114631d.otf);
}

/* Bloquear scroll completamente cuando el modal #video-modal está abierto */

body.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


/* Menú lateral cerrado (barra a la izquierda) */
#componentKCid6899d3b8d7250 {
	position: fixed;
	z-index: 10;
    top: 29%;
    left: 0;
    width: 60px;
    height: 50vh;
    /*background-color: #00a716;*/
    transition: width 0.2s ease;
    border-radius: 0px 20px 20px 0px;
    /*transform: translateY(-50%);*/
}

/* Menú lateral expandido */
#componentKCid6899d3b8d7250.expanded {
	width: 40vh; /* Ajusta el ancho del menú cuando esté abierto */
  	border-radius: 0px;
	height: auto;
	--width: auto;
	z-index: 12;
}

/* Contenedor del ícono de apertura/cierre */
.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Estilo del ícono de YouTube */
.menu-icon i {
  font-size: 32px;
  color: white; /* Asegúrate de que el ícono sea visible */
}

/* Contenido del menú, inicialmente oculto */
#menu-contentid6899d3b8d7250 {
  display: none; /* Oculto inicialmente */
  margin-top: 10%;
  padding-left: 15%;
  padding-right: 20%;
}

/* Mostrar el contenido cuando el menú esté expandido */
#componentKCid6899d3b8d7250.expanded #menu-contentid6899d3b8d7250 {
	display: block; /* Mostrar el contenido cuando el menú esté expandido */
  	color: white; /* Asegura que el texto sea visible */
    overflow-y: auto;
    max-height: 50vh;
    scrollbar-width: none;
}

/* Estilo del contenido del menú */
.menu-tituloid6899d3b8d7250 {
  font-size: 22px;
  color: white; /* Asegura que el título sea visible sobre el fondo */
  margin-bottom: 7px;
  font-weight: bold;
  font-family: MyriadPro-Bold;
}

.menu-linkid6899d3b8d7250 {
	color: #ffffff; /* Blanco para que los enlaces sean visibles */
  	text-decoration: none;
  	font-size: 18px;
	font-family: MyriadPro-Regular;
}

.menu-linkid6899d3b8d7250:hover {
	color: #ffffff;
  	text-decoration: underline; /* Subrayado al pasar el mouse */
}

/* Estilo de los separadores */
#menu-contentid6899d3b8d7250 .menu-separator {
  border: none;
  height: 2px;
  background-color: #008912;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* Estilo para la barra de cierre al lado derecho del contenido */
#componentKCid6899d3b8d7250.expanded #menu-toggle {
  position: absolute;
  top: 0;
  right: -50px; /* Mueve la barra justo al lado del contenido expandido */
  width: 60px;
  height: 100%;
  /*background-color: #00a716;*/
  border-radius: 0px 20px 20px 0px;
}

#componentKCid6899d3b8d7250 #menu-toggle{
	border-radius: 15px;
	cursor: pointer;
	border-left: 2px solid rgba(0, 137, 18, 0.5);
}




/* Modal (fondo oscuro) */
.modalid6899d3b8d7250 {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000; /* Aseguramos que esté encima de todo */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Fondo negro semitransparente */
  justify-content: center;
  align-items: center;
  --display: flex;
}

/* Contenedor del contenido del modal */
#video-modalid6899d3b8d7250 .modal-content {
  top: 50px;
  position: relative;
  width: 100%; /*90*/
  --max-width: 1000px;
  background-color: transparent;
  overflow: hidden;
}

/* Contenedor del video */
#video-modalid6899d3b8d7250 .modal-content .video-container {
  text-align: center;
}

/* Botón de cierre (X) */
#video-modalid6899d3b8d7250 .modal-content .close {
	position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 25px;
    cursor: pointer;
    font-weight: bold;
    border: 2px solid #40a340;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #40a340;
}

/* Ajuste para centrar el video */
#video-modalid6899d3b8d7250 .modal-content .video-container iframe {
	display: block;
  	margin: 0 auto;
	border-radius: 20px;
	width: 90%; /* Ocupa el 80% del ancho del modal */
  	height: 40vh; /* 80% del alto de la ventana (viewport height) */
  	max-width: 1000px; /* Opcional: limite máximo de ancho */
}

/* Estilo para la flecha de siguiente video */
#video-modalid6899d3b8d7250 .modal-content .next-video {
  position: absolute;
  top: 50%;
  right: -40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  user-select: none;
  transition: color 0.3s ease;
}

#video-modalid6899d3b8d7250 .modal-content .next-video:hover {
  color: #ccc; /* Cambiar el color al pasar el mouse */
}



@media (max-width: 575px){
	#componentKCid6899d3b8d7250 {
		height: 8vh;
		top: 24%;
	}
	
	#componentKCid6899d3b8d7250.expanded {
  		border-radius: 0px;
		width: 35vh;
    	height: auto;
		transition: width 0.5s ease;
		top: 26%;
	}
	
	#componentKCid6899d3b8d7250.expanded #menu-contentid6899d3b8d7250 {
		max-height: 45vh;
	}
	
	#video-modalid6899d3b8d7250 .modal-content .next-video {
		display: none;
	}
	
	#video-modalid6899d3b8d7250 .modal-content .close{
		display: none;	
	}
}


@media (min-width: 576px){
	#componentKCid6899d3b8d7250 {
		height: 8vh;
		top: 33%;
	}
	
	#componentKCid6899d3b8d7250.expanded {
  		border-radius: 0px;
		width: 35vh;
    	height: auto;
		transition: width 0.5s ease;
		top: 33%;
	}
	
	#componentKCid6899d3b8d7250.expanded #menu-contentid6899d3b8d7250 {
		max-height: 45vh;
	}
	
	#video-modalid6899d3b8d7250 .modal-content {
	  width: 100%;
	}
	
	#video-modalid6899d3b8d7250 .modal-content .video-container iframe {
		width: 75%;
		height: 50vh; 
	}
}


@media (min-width: 768px){
	#componentKCid6899d3b8d7250 {
		height: 8vh;
		top: 29%;
	}
	
	#componentKCid6899d3b8d7250.expanded {
  		border-radius: 0px;
		width: 35vh;
    	height: auto;
		transition: width 0.5s ease;
		top: 25%;
	}
	
	#componentKCid6899d3b8d7250.expanded #menu-contentid6899d3b8d7250 {
		max-height: 45vh;
	}
	
	#video-modalid6899d3b8d7250 .modal-content {
	  width: 100%;
	}
	
	#video-modalid6899d3b8d7250 .modal-content .video-container iframe {
		width: 75%;
		height: 50vh; 
	}
}

@media (min-width: 992px) {
	#componentKCid6899d3b8d7250 {
		height: 8vh;
		top: 31%;
	}
	
	#componentKCid6899d3b8d7250.expanded {
  		border-radius: 0px;
		width: 35vh;
    	height: auto;
		transition: width 0.5s ease;
		top: 27%;
	}
	
	#componentKCid6899d3b8d7250.expanded #menu-contentid6899d3b8d7250 {
		max-height: 45vh;
	}
	
	#video-modalid6899d3b8d7250 .modal-content {
	  width: 85%;
	}
	
	#video-modalid6899d3b8d7250 .modal-content .video-container iframe {
		width: 80%;
		height: 60vh; 
	}
}

@media (min-width: 1200px) {
	#componentKCid6899d3b8d7250 {
		height: 50vh;
		top: 29%;
	}
	
	#componentKCid6899d3b8d7250.expanded {
		width: 40vh; /* Ajusta el ancho del menú cuando esté abierto */
		border-radius: 0px;
		height: auto;
		z-index: 12;
		top: 29%;
	}
	
	#componentKCid6899d3b8d7250.expanded #menu-contentid6899d3b8d7250 {
		max-height: 50vh;
	}
	
	#video-modalid6899d3b8d7250 .modal-content {
	  width: 85%;
	}
	
	#video-modalid6899d3b8d7250 .modal-content .video-container iframe {
		width: 80%;
		height: 60vh; 
	}
}

@media (min-width: 1400px) {
	
	#video-modalid6899d3b8d7250 .modal-content {
	  width: 80%;
	}
	
	#video-modalid6899d3b8d7250 .modal-content .video-container iframe {
		width: 80%;
		height: 75vh; 
	}
}