body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, p, pre, blockquote {
	margin:0;
	padding:0;
	border-width:0;
	text-rendering:optimizeSpeed;
}
div.Marco-gr-fico-b-sico {
	border-color:#000000;
	border-width:1px;
	border-style:solid;
}
div.Marco-de-texto-b-sico {
	border-style:solid;
}
p.ParaOverride-1 {
	line-height:1;
	white-space:nowrap;
}
span.CharOverride-1 {
	color:#ffffff;
	font-family:"Monospac821 BT", serif;
	font-size:200px;
	font-style:normal;
	font-weight:bold;
}
span.CharOverride-2 {
	color:#fcec2a;
	font-family:"Monospac821 BT", serif;
	font-size:200px;
	font-style:italic;
	font-weight:normal;
}
span.CharOverride-3 {
	color:#f0f0f0;
	font-family:"Monospac821 BT", serif;
	font-size:200px;
	font-style:normal;
	font-weight:bold;
}
span.CharOverride-4 {
	color:#ffff00;
	font-family:"Monospac821 BT", serif;
	font-size:200px;
	font-style:italic;
	font-weight:bold;
}
span.CharOverride-5 {
	color:#ff0f0f;
	font-family:"Monospac821 BT", serif;
	font-size:116.6px;
	font-style:normal;
	font-weight:bold;
}
span.CharOverride-6 {
	color:#fcec2a;
	font-family:"Monospac821 BT", serif;
	font-size:200px;
	font-style:normal;
	font-weight:bold;
}
span.CharOverride-7 {
	color:#f0f0f0;
	font-family:"Monospac821 BT", serif;
	font-size:116.6px;
	font-style:normal;
	font-weight:bold;
}
#_idContainer000 {
	-ms-transform:translate(100.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-ms-transform-origin:0% 0%;
	-webkit-transform:translate(100.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-webkit-transform-origin:0% 0%;
	height:11116.00px;
	left:0px;
	position:absolute;
	top:0px;
	transform:translate(100.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform:translate(100.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform-origin:0% 0%;
	transform-origin:0% 0%;
	width:1820.00px;
}
#_idContainer001 {
	-ms-transform:translate(0.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-ms-transform-origin:0% 0%;
	-webkit-transform:translate(0.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-webkit-transform-origin:0% 0%;
	height:11116.00px;
	left:0px;
	position:absolute;
	top:0px;
	transform:translate(0.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform:translate(0.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform-origin:0% 0%;
	transform-origin:0% 0%;
	width:1918.00px;
}
#_idContainer002 {
	-ms-transform:translate(0.000px,-0.629px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-ms-transform-origin:0% 0%;
	-webkit-transform:translate(0.000px,-0.629px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-webkit-transform-origin:0% 0%;
	background-repeat:no-repeat;
	background-size:cover;
	height:11095.63px;
	left:0px;
	position:absolute;
	top:0px;
	transform:translate(0.000px,-0.629px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform:translate(0.000px,-0.629px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform-origin:0% 0%;
	transform-origin:0% 0%;
	width:1947.00px;
}
#_idContainer003 {
	-ms-transform:translate(50.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-ms-transform-origin:0% 0%;
	-webkit-transform:translate(50.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-webkit-transform-origin:0% 0%;
	height:11116.00px;
	left:0px;
	position:absolute;
	top:0px;
	transform:translate(50.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform:translate(50.000px,-0.001px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform-origin:0% 0%;
	transform-origin:0% 0%;
	width:1820.00px;
}
#_idContainer004 {
	-ms-transform:translate(654.000px,5187.000px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-ms-transform-origin:0% 0%;
	-webkit-transform:translate(654.000px,5187.000px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-webkit-transform-origin:0% 0%;
	height:13.70px;
	left:0px;
	position:absolute;
	top:0px;
	transform:translate(654.000px,5187.000px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform:translate(654.000px,5187.000px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform-origin:0% 0%;
	transform-origin:0% 0%;
	width:38.50px;
}
#_idContainer005 {
	-ms-transform:translate(206.781px,-1.000px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-ms-transform-origin:0% 0%;
	-webkit-transform:translate(206.781px,-1.000px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	-webkit-transform-origin:0% 0%;
	background-repeat:no-repeat;
	background-size:cover;
	height:13196.46px;
	left:0px;
	position:absolute;
	top:0px;
	transform:translate(206.781px,-1.000px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform:translate(206.781px,-1.000px) rotate(0.000deg) skew(0.000deg) scale(1.000,1.000);
	transform-origin:0% 0%;
	transform-origin:0% 0%;
	width:1444.49px;
}
img._idGenObjectAttribute-1 {
	height:100.00%;
	min-width:100%;
	width:100.00%;
}
img._idGenObjectAttribute-2 {
	left:0px;
	position:absolute;
	top:0px;
}
div._idGenObjectStyle-Disabled {
	background-color:transparent;
	border-width:0px;
}
/* Asegurar que html y body cubran toda la página */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    background-color: #000000; /* Mantener el fondo negro */
}


/* Estilo para la fuente personalizada Cochin Regular */
@font-face {
    font-family: 'CochinLTStd-Regular';
    src: url('/SN_CLRSG_INDICE_PRINCIPAL_2025_01-web-resources/fonts/COCHIN/COCHINLTSTD.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Estilo para la fuente personalizada Cochin Italic */
@font-face {
    font-family: 'CochinLTStd-Italic';
    src: url('/SN_CLRSG_INDICE_PRINCIPAL_2025_01-web-resources/fonts/COCHIN/COCHINLTSTD-ITALIC.OTF') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/* Estilo para la fuente personalizada Monospac821 Regular */
@font-face {
    font-family: 'Monospac821';
    src: url('/SN_CLRSG_INDICE_PRINCIPAL_2025_01-web-resources/fonts/MONOSPACE/MONOSPAC821-BT-ROMAN_0.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Estilo para la fuente personalizada Monospac821 Italic */
@font-face {
    font-family: 'Monospac821-Italic';
    src: url('/SN_CLRSG_INDICE_PRINCIPAL_2025_01-web-resources/fonts/MONOSPACE/MONOSPAC821-BT-ITALIC_0.TTF') format('truetype');
    font-weight: normal;
    font-style: italic;
}

/* Estilos generales del cuerpo */
body {
    font-family: 'CochinLTStd-Regular';
    padding: 20px;
    color: #fcfcfc;
    background-color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Deshabilitar scroll cuando cualquier popup está abierto */
body.no-scroll {
    overflow: hidden !important;
    padding-right: 8px;
    height: 100vh;
}

/* Bloquear overflow en contenedores potencialmente problemáticos */
#_idContainer000, #_idContainer001, .content, .Marco-gr-fico-b-sico {
    overflow: hidden !important;
}

/* Estilo de la barra de desplazamiento global */
body {
    scrollbar-width: thin;
    scrollbar-color: #007bff #333;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #333;
}

body::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #0056b3;
}

/* Estilo para los enlaces de referencia */
.ref {
    color: #007bff;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.header-ref {
    color: #fff;
    cursor: pointer;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Efecto hover para .ref y .header-ref */
.ref:hover {
    color: #fff;
}
/* Estilo base para los elementos menu-toggle en header-left */
.header-left .menu-toggle {
    transition: color 0.3s ease;
}

/* Definir colores para header-white y header-gray */
.header-left .header-white {
    color: #fff; /* Blanco */
}

.header-left .header-gray {
    color: #808080; /* Gris */
}
/* Efecto hover para los elementos menu-toggle en header-left, con alta prioridad */
.header-left .menu-toggle:hover {
    color: #ffff00 !important; /* Amarillo brillante al pasar el mouse, prioridad alta */
}
header .header-left p.header-ref:hover{
    color: #ffff00  !important;
}

/* Clases para el cambio de color del header */
.header-gray {
    color: #3c3c3c !important;
}

.header-white {
    color: #fff !important;
}

/* Capa de superposición para el popup original */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Estilo del popup original */
#popup {
    position: fixed;
    width: 60vw;
    max-height: 80vh;
    background: black;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-sizing: border-box;
    font-family: 'CochinLTStd-Regular';
    margin-left: 6em;
    overflow-y: auto;

}

/* Asegurar que el popup se muestre correctamente */
#popup.show {
    opacity: 1;
   transform: translateY(0);
    pointer-events: auto;
}

/* Clase para ocultar el popup */
.popup-hidden {
    display: none;
}

/* Soporte para cursiva dentro del popup */
#popup i {
    font-family: 'CochinLTStd-Italic' !important;
    font-style: italic !important;
    transform: skewX(-10deg);
}

/* Estilo de la barra de desplazamiento en el popup */
#popup {
    scrollbar-width: thin;
    scrollbar-color: #000 #333;
}

#popup::-webkit-scrollbar {
    width: 8px;
}

#popup::-webkit-scrollbar-track {
    background: #333;
}

#popup::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 4px;
}

#popup::-webkit-scrollbar-thumb:hover {
    background-color: #333;
}

#popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

#popup-content {
    position: relative;
    max-width: 100%;
    padding-top: 10px;
}

#popup-text {
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    font-size: 30px;
    line-height: 1.2;
    color: white;
}

#popup-text a {
    color: #007bff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

#popup-text a:hover {
    color: #ffffff;
}

#popup-text b {
    font-weight: bold !important;
}

#popup-text code {
    font-family: 'Monospac821', monospace !important;
    background-color: transparent;
    padding: 2px 4px;
    border-radius: 3px;
}

#popup-text code i {
    font-family: 'Monospac821-Italic' !important;
    font-style: italic !important;
    transform: none;
}

#popup-close {
    position: absolute;
    top: -8px;
    right: -8px;
    cursor: pointer;
    color: #fff; /* X en blanco */
    font-size: 20px;
    line-height: 1;
    background: none; /* Sin fondo */
    border-radius: 0; /* Sin círculo */
    width: auto;
    height: auto;
    display: block;
    padding: 0;
    box-shadow: none; /* Sin sombra */
    font-family: "Montserrat", sans-serif; /* Fuente más moderna y lineal */
    font-weight: 300; /* Más delgada para un diseño limpio */
}

/* Capa de superposición para el popup del header */
#header-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Estilo del popup del header */
#header-popup {
    position: fixed;
    width: 60vw;
    max-height: 80vh;
    background: black;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-sizing: border-box;
    font-family: 'CochinLTStd-Regular';
    margin-left: 6em;
    overflow-y: auto;
}

#header-popup i {
    font-family: 'CochinLTStd-Italic' !important;
    font-style: italic !important;
    transform: skewX(-10deg);
}

/* Estilo de la barra de desplazamiento en el popup del header */
#header-popup {
    scrollbar-width: thin;
    scrollbar-color: #000 #333;
}

#header-popup::-webkit-scrollbar {
    width: 8px;
}

#header-popup::-webkit-scrollbar-track {
    background: #333;
}

#header-popup::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 4px;
}

#header-popup::-webkit-scrollbar-thumb:hover {
    background-color: #333;
}

#header-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#header-popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

#header-popup-content {
    position: relative;
    max-width: 100%;
    padding-top: 10px;
}

#header-popup-text {
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    font-size: 30px;
    line-height: 1.2;
    color: white;
}

#header-popup-text b {
    font-weight: bold !important;
}

#header-popup-text code {
    font-family: 'Monospac821', monospace !important;
    background-color: transparent;
    padding: 2px 4px;
    border-radius: 3px;
}

#header-popup-text code i {
    font-family: 'Monospac821-Italic' !important;
    font-style: italic !important;
    transform: none;
}

#header-popup-close {
    position: absolute;
    top: -8px;
    right: -8px;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-family: "Montserrat", sans-serif; /* Fuente más moderna y lineal */
    font-weight: 300; /* Más delgada para un diseño limpio */
}

.popup-hidden {
    display: none;
}

/* Estilos del encabezado fijo */
header {
    position: fixed;
    top: 1em;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    color: #fff;
    padding: 0.5em 1em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10002;
    transition: color 0.3s ease;
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 4em;
    gap: 6em;
}

.header-left h1 {
    font-size: 18px;
    margin: 0;
    line-height: 1.2;
}

.header-left p {
    font-size: 18px;
    margin: 0;
    line-height: 1.2;
    font-family: 'CochinLTStd-Regular';
}

.header-right {
    display: flex;
    align-items: flex-start;
    margin-right: 4em;
}

.header-right p {
    font-size: 18px;
    margin: 0;
    line-height: 1.2;
    font-family: 'CochinLTStd-Regular';
}

.header-right p a {
    color: yellow; /* Color inicial del texto amarillo */
    text-decoration: none;
    transition: color 0.3s ease; /* Transición suave para el cambio de color */
}

/* Contenido principal */
.content {
    margin-top: 60px;
    padding: 1em;
    max-width: 100%;
    color: #fff;
    flex: 1;
    min-height: calc(100vh - 60px);
    margin-bottom: 40px;
}

/* Asegurar que los contenedores dentro de .content no interfieran */
.content div {
    position: relative;
}

/* Estilo para código */
pre {
    font-family: 'Monospac821', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    background-color: transparent;
    padding: 1em;
    border: 1px solid #333;
}



/* Estilo del footer */
footer.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-left: 4em;
    background-color: transparent;
    color: #333; /* Gris por defecto */
    text-align: left;
    padding: 8px;
    font-size: 18px;
    font-family: 'CochinLTStd-Regular';
    z-index: 10002;
    transition: color 0.3s ease; /* Transición suave para el cambio de color */
}

footer.footer.footer-white {
    color: #fff; /* Blanco cuando se aplica la clase */
}

footer.footer a {
    color: #333 !important;
    text-decoration: none;
}

footer.footer a:hover {
    color: #333 !important;
}

footer.footer.footer-white a {
    color: #fff !important; /* Cambia el color de los enlaces a blanco */
}

footer.footer.footer-white a:hover {
    color: #fff !important; /* Mantén blanco al pasar el mouse */
}
/* Contenedor para cada menú y submenú */
.menu-container {
    position: relative; /* Base para posicionar el submenú */
}

/* Estilo para los elementos del menú principal */
.menu-toggle {
    cursor: pointer;
    font-size: 18px; /* Tamaño del texto */
    margin: 0;
    padding: 0.2em 0; /* Añadimos un poco de padding para mejor clic */
}

/* Estilo para los submenús */
.submenu {
    display: none; /* Oculto por defecto */
    position: absolute;
    top: calc(100% + 5px); /* Justo debajo del menu-toggle con un pequeño margen */
    left: 30px; /* Alineado con el borde izquierdo del menu-toggle */
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    z-index: 10003; /* Por encima de otros elementos */
    min-width: 250px; /* Ancho mínimo para que el texto no se corte */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Sombra para mejor visibilidad */
}

/* Asegurar que el texto dentro del submenú tenga el mismo tamaño */
.submenu p {
    font-size: 18px; /* Igual que el menu-toggle */
    margin: 5px 0;
    line-height: 1.2;
    font-family: 'CochinLTStd-Regular';
    color: #fff;
}

.submenu p.header-ref:hover {
    color: #2f2f2f !important;
}

/* Responsividad */

/* Tablets y pantallas medianas (hasta 1024px) */
@media (max-width: 1024px) {
    body {
        padding: 15px; /* Reducir padding en pantallas medianas */
    }

    header {
        padding: 0.5em; /* Reducir padding del header */
        top: 0.5em;
    }

    .header-left {
        margin-left: 2em; /* Reducir margen */
        gap: 3em; /* Reducir espacio entre elementos */
    }

    .header-right {
        margin-right: 2em; /* Reducir margen */
    }

    .header-left p,
    .header-right p,
    .menu-toggle,
    .submenu p {
        font-size: 16px; /* Reducir tamaño de fuente */
    }

    .submenu {
        left: 20px; /* Ajustar desplazamiento */
        min-width: 200px; /* Reducir ancho mínimo */
    }

    #popup, #header-popup {
        width: 70vw; /* Aumentar ancho relativo para mejor legibilidad */
        max-height: 80vh;
        padding: 18px;
    }

    #header-popup {
        margin-left: 2em; /* Reducir margen */
    }

    #popup-text, #header-popup-text {
        font-size: 24px; /* Reducir tamaño de fuente */
    }

    .content {
        margin-top: 80px; /* Ajustar margen superior */
        padding: 0.8em;
    }

    footer {
        margin-left: 2em; /* Reducir margen */
        font-size: 14px;
        padding: 6px;
    }
}

/* Móviles y pantallas pequeñas (hasta 600px) */
@media (max-width: 600px) {
    body {
        padding: 10px; /* Reducir padding en pantallas pequeñas */
    }

    body.no-scroll {
        padding-right: 0;
    }

    header {
        padding: 0.3em; /* Reducir aún más el padding */
        top: 0.3em;
        flex-direction: column; /* Apilar elementos en columna */
        align-items: flex-start;
    }

    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
        margin-left: 1em;
    }

    .header-left p,
    .menu-toggle,
    .submenu p {
        font-size: 14px; /* Reducir tamaño de fuente */
    }

    .header-right {
        margin-right: 1em;
        margin-top: 0.5em;
        margin-left: 1em; /* Alinear con .header-left */
    }

    .header-right p {
        font-size: 14px;
    }

    .submenu {
        left: 10px; /* Reducir desplazamiento */
        min-width: 150px; /* Reducir ancho mínimo */
        padding: 8px;
    }

    #popup, #header-popup {
        width: auto;
        max-width: 90vw;
        max-height: 75vh;
        padding: 16px;
    }

    #popup {
        margin-left: 0;
        transform: translateX(-50%); /* Mantener centrado horizontal */
    }

    #header-popup {
        margin-left: 1em;
    }

    #popup-text, #header-popup-text {
        font-size: 16px;
        line-height: 1.2;
        color: white;
    }

    #popup-close, #header-popup-close {
        font-size: 18px;
        top: -6px;
        right: -6px;
        width: 20px;
        height: 20px;
        color: #000000;
        background: white;
    }

    .content {
        margin-top: 120px; /* Ajustar según el nuevo alto del header */
        margin-bottom: 30px;
        padding: 0.5em;
    }

    footer {
        margin-left: 1em; /* Reducir margen */
        font-size: 14px;
        padding: 6px;
    }
}