/*

*/
html{background: var(--color-0)}
body{
    margin: 0px;
    font-family: 'Raleway', 
    sans-serif;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
    background: white;
    color: white;
    padding: 0px;}
a:link, a:visited, a:active {
    text-decoration:none;
    color: inherit;
}
div{

}
.frame{width: 100%;float: left;position: relative;justify-content:center;}
.icomenu{width: 50%;}
.frame1{
    background-color: white;
    padding: 0px;
}
.frame2{
background: var(--color-0);
width: 100vw;
position: relative;
height: 100vh;
display: flex;
justify-content: right;
color: white;
background-image: url(../imgcorporativa/filigrana-0.svg);
background-size: 600px;
}

.frame2 img{
width: 600px;
}
.frame2 img.filigrana-left{

position: absolute;
left: 0px;
bottom: 50%;
opacity: 0.4;
}
.logo img{
    width: 200px;
    margin-left: 0px;
}
.accesomenu{
    position: absolute;
    right: 5px;top:5px;padding: 0px;
    font-size: 1em;
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: var(--color-8);
cursor: pointer;
 transition: all 0.3s ease;
}
.accesomenu:hover{
    opacity: 0.8;
}

h1{
   padding: 20px;
    font-size: 1.6em;
    margin: 0px;
    color: var(--color-0);
    display: flex;
    align-items: center;
}
h1 img{
    height: 40px;
}
h1::before{
   
}
h2{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.2em;
    border-left: 2px solid var(--color-8);
    padding: 10px;
}
.lema{
         width: 100%;
         position: absolute;
         color: white;
      }
.lema .titulo{
        text-align: center;
        width: 100%;
        margin-top: 30px;
        padding-bottom: 0px;
        color: white;
        font-family: 'Bebas Neue', cursive;
        font-size: 3em;
        }
 .lema .subtitulo{
        text-align: center;
        color:white;
        font-size: 0.9em;
        display: flex;
        justify-content: center;
        color: var(--color-8);
        }
.lema .subtitulo .texto{
        width: 70%;
         min-width: 380px;
        max-width: 400px;
        font-size: 1.2em;
        padding-top: 80px;
        }
#acceso{display: none;}
#acceso{
        position: absolute;top:80px;left: 20px;
        width: 200px;
        z-index: 15;
        font-size: 0.75em;
        color:white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        display: none;
        }
#acceso .input{
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}
#acceso .loginError{
    display: none;
    flex-direction: row;
    justify-content: left;
padding: 0px;
margin-top: 20px;
margin-bottom: 20px;
}
#acceso .loginError_msj{
}
.password_rules{
    background-color: rgba(255,255,255,0.7);
    color: black;
    padding: 10px;
    border-radius: 5px;
}
.password_rules li.error{
    color: red;
}
#acceso .loginError p{color:white}
#acceso .loginError img{width: 40px;margin: 0;}
#acceso .contenedorAccion {
    width: 100%;
    padding: 0px;
    margin-top: 20px;

}
#acceso .remember{
width: 100%;
text-align: center;
padding-top: 10px;
}
#menu{
position: absolute;
z-index:10;
top:80px;
border-radius: 3px;
max-width:300px;
background:rgba(255,255,255,0.6);
background: var(--color-8);
color: var(--color-0);
padding-top:20px;
padding-bottom:20px;
left: -300px;
opacity: 0;
}
#menu::before{
content: "";
z-index: 0;
position: absolute;
opacity: 0.2;
background: #ffffffff;
width: 105%;
height: 105%;
left: -2.5%;
top: -2.5%;
}
  #menu > * {
    position: relative; /* Esto asegura que el contenido dentro del menú esté por encima */
    z-index: 2; /* Por encima del pseudo-elemento */
  }
.tit-Menu{
    padding:20px;
    color: white;
}

.itemMenu{
float: left;
width: 90%;
padding: 10px;
margin-left: 20px;
cursor:pointer;
font-size: 0.9em;
}
.itemMenu:hover{
background: rgba(255, 255, 255, 0.8);
}
.itemMenu a{
 color: inherit;        /* Hereda el color del elemento padre */
    text-decoration: none; /* Quita el subrayado */
    background: none;     /* Elimina el fondo (si lo hay) */
    display: inline;       /* Asegúrate de que siga siendo un elemento en línea */
}
}
.itemMenu:hover{opacity: 0.5;}
.itemMenu .ico-itemMenu {display: inline-block;vertical-align: middle;}
.itemMenu .ico-itemMenu img{width: 20px;display: inline-block;margin-right: 10px;vertical-align: middle;}
#pie{
    padding-top: 20px;
    display:flex;width: 100%;justify-content: center;height: 100px;
background-color:var(--color-1);
}
#pie .copy{font-size: 0.5em;}
#noticias{
    padding-top: 100px;
    padding-left: 100px;
    z-index: 2;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
background: #F8F8F9;

}

#noticias .noticia{
        margin: 20px;
    float: left;
border-radius: 3px;
color: var(--color-0);
background-color:var(--color-2);
padding: 20px;
width: 95%;
min-width: 300px;
max-width: 400px;
opacity: 0.98;
position: relative;
border-radius: 2px;
}
#noticias{

}
#noticias .noticia .titulo-noticia{
        width: 100%;
        float: left;
        text-align: center;
    font-size: 1.5em;
    padding:10px;
    margin-top: 50px;
          font-family: 'Bebas Neue', cursive;
          color: #1B2631;
}
#noticias .noticia .texto-noticia{
       padding: 20px;
       font-size: 0.8em;
       text-align: center;
       text-align: left;
       line-height : 18px;
       color: var(--gris-text);
}
.noticia {
    /* Atributos básicos */
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    padding-top: 100px;
    /* Sombra moderna */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
                0 1px 3px rgba(0, 0, 0, 0.08);
    
    /* Opción para transición suave al pasar el ratón */
    transition: box-shadow 0.3s ease-in-out;
}

.noticia:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15), 
                0 4px 6px rgba(0, 0, 0, 0.10);
}
.noticia::before{
    content: '';
    background-image: url("../img/bg-noticia-1.svg");
     background-size: cover; /* o contain, según lo que quieras */
    background-repeat: no-repeat;

    border-radius: 10px 10px 0px 0px;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100px;

}
#noticias .noticia .titulo-noticia img{height: 25px; vertical-align: middle;font-family: 'Raleway', sans-serif;;margin-right: 5px;}
#noticias .fondoFiligrana-noticia{position: absolute;top: 0px;left;0px;opacity: 0.3}
.contenedorAccion{display: flex;justify-content: center;}
.accion{
        float: left;
        background-color:#FED200;
        text-align: center;
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 3px;
        width: 150px;
        color: white;
        margin-top: 5px;
        font-size: 12px;
        }
@media (orientation: landscape) {
       .filigranaMovil{display: none;}
       .lema{
                top:200px;
            }
}
@media (orientation: portrait) {
         .frame2 {width: 100%;}
    .filigrana{display: none;}
    .filigrana-left{display: none;}
    #menu{
         width: 65%;
         left: -65%;
    }
    #noticias{
        font-size: 1.1em;line-height : 2em;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width:99%;
        padding:0px;margin: 0px;
    }
            #noticias .noticia{
                  margin-top: 10px;
                  border-radius: 5px;
                  width: 100%;
                  max-width:280px; 
                  min-width: 200px;
                  background: white;
            }
            #noticias .noticia .titulo-noticia{width: 100%;
         
             }
            #noticias .noticia .texto-noticia{text-align: left;padding: 0px;line-height: 24px;
            
            }
            #noticias .fondoFiligrana-noticia{

            }
            .lema{
                  font-size: 0.8em;
                top:30px;
                padding-top: 70px;
                width: 100%;
         min-width: 200px;
            }
            .lema .subtitulo .texto{

                       width: 100%;
         min-width: 200px;
         padding: 20px;
         padding-top: ;
         font-size: 1em;
     }
        
}
/* efectos parpadeo */
.parpadea {
  
  animation-name: parpadeo;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  -webkit-animation-name:parpadeo;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
}
.parpadea-elegante {
  
  animation-name: parpadeo-elegante;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  -webkit-animation-name:parpadeo-elegante;
  -webkit-animation-duration: 2s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes parpadeo{  
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

@-webkit-keyframes parpadeo {  
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
   100% { opacity: 1.0; }
}

@keyframes parpadeo {  
  0% { opacity: 1.0; }
   50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}
@-moz-keyframes parpadeo-elegante{  
  0% { opacity: 1.0; }
  50% { opacity: 0.6; }
  100% { opacity: 1.0; }
}

@-webkit-keyframes parpadeo-elegante{  
  0% { opacity: 1.0; }
  50% { opacity: 0.6; }
   100% { opacity: 1.0; }
}

@keyframes parpadeo-elegante{  
  0% { opacity: 1.0; }
   50% { opacity: 0.6; }
  100% { opacity: 1.0; }
}
details {
    background: #ffffff; /* Fondo suave */
    border: 1px solid #f1f2f3; /* Borde ligero */
    border-radius: 5px; /* Bordes redondeados */
    margin: 10px 0; /* Espaciado vertical */
    padding: 10px; /* Espaciado interno */
    transition: background-color 0.3s, border-color 0.3s; /* Transiciones suaves */
    transition: color 0.3s, color 0.3s; /* Transiciones suaves */
}

summary {
    font-weight: bold; /* Texto en negrita */
    cursor: pointer; /* Cambia el cursor al pasar el mouse */
    outline: none; /* Quita el borde alrededor al dar clic */
    padding: 5px; /* Espaciado interno */
    font-size: 1.2em; /* Aumenta el tamaño de la fuente */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
}

details[open] {
    background: var(--color-8); /* Fondo cuando está abierto */
    color: #ffffff;
    border-color: none; /* Cambia el color del borde */
}

summary::-webkit-details-marker {
    display: none; /* Oculta el marcador por defecto en navegadores WebKit */
}

summary::after {
    content: '...'; /* Añade una flecha hacia abajo */
    font-weight: normal; /* Flecha normal */
    transition: transform 0.3s; /* Transición para cambiar la flecha */
}

details[open] summary::after {
    transform: rotate(180deg); /* Rota la flecha cuando está abierto */
}