/**
 * @file
 * Subtheme specific CSS.
 */

@font-face{
	font-family: 'Trueno Regular';
	src: url('../fonts/TruenoRg.otf') format('opentype');
}

@font-face{
	font-family: 'Trueno Semibold';
	src: url('../fonts/TruenoSBd.otf') format('opentype');
}

/****************************************************************/
/*   VARIABLES DE COLOR Y TIPO DE FUENTE                        */
/****************************************************************/
:root{
/* Generales*/
  --fuente-principal: 'Trueno Regular';/*Tipo de fuente que se utiliza para todo el contenido del sitio*/
  --fuente-secundaria: 'Trueno Semibold';/*Tipo de fuente opcional para algunas secciones del sitio*/
  --encabezado-color1: #02477B;/*Color para los elemento de tipo encabezado*/
  --encabezado-color2: #000000;/*Color alternativo para los elemento de tipo encabezado*/
  --enlace-color: #0071B3;/*Color base para los elementos de tipo enlace*/
  --enlace-color-hover:  #02477B;/*Color para los elementos de tipo enlace cuando recibe el foco del teclado o se posiciona el puntero sobre este*/
  --botón-color-fondo: #0071B3;/*Color de fondo para los elementos tipo botón*/
  --boton-color-texto: #ffffff;/*Color del texto del botón*/
  --botón-color-hover: #035484;/*Color de fondo para los elementos tipo botón cuando recibe el foco del teclado o se posiciona el puntero sobre este*/
  --pie-pagina-fondo-logos: #204C6F;/*Color de fondo para el bloque de logos de la página principal*/
  --aviso-principal-fondo: #005485; /*Color de fondo para el bloque del aviso principal*/
  --aviso-principal-texto: #ffffff; /*Color de fuente para el bloque del aviso principal*/
}

/****************************************************************/
/*   ESTILOS GENERALES PARA ELEMENTOS COMUNES                   */
/*   EN TODO EL SITIO WEB                                       */
/****************************************************************/

/*** Color de fondo del contenedor del área de contenido ***/
body {
  overflow: auto !important;
  padding-right: 0 !important;
  padding: 0 !important;
}

#page, #main-wrapper,
.region-primary-menu 
.menu-item a.is-active, 
.region-primary-menu 
.menu-item--active-trail a {
    background-color: #F5F5F5 !important;
}

#page {
  overflow: hidden;
}

.dialog-off-canvas-main-canvas {
  overflow: hidden;
}

/*** Formato para títulos de primer nivel, títulos de páginas ***/
h1 {
  font-family: var(--fuente-principal);
  color: var(--encabezado-color1);
  font-size: 36px;
  line-height: 52px;
  margin-top: 44px;
  margin-bottom: 22px;
  font-weight: lighter;
}

/*** Formato para títulos de segundo nivel, subtítulos de páginas ***/
h2 {
  font-family: var(--fuente-principal);
  color:var(--encabezado-color1);
  font-size: 32px;
  line-height: 44px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: lighter;
  padding: 5px 0px;
  /* margin-top: 25px; */
}

.h2-16 {
  font-size: 16px;
  color: #000000;
  font-weight: 600;
}

/*** Formato para títulos de tercer nivel ***/
h3 {
  font-family: var(--fuente-principal);
  color:var(--encabezado-color1);
  font-size: 24px;
  line-height: 44px;
  margin-bottom: 0px;
  font-weight: lighter;
  margin-top: 25px;
}

/*** Formato para títulos de cuarto nivel ***/
h4 {
  font-family: var(--fuente-principal);
  color:var(--encabezado-color1);
  font-size: 19.2px;
  line-height: 44px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: lighter;
}

/*** Formato para textos páginas (párrafos) ***/
body, p {
  font-family: var(--fuente-principal);
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  margin: 0 auto;
  text-align: left;
  padding: 5px 0px;
}

/*** Formato para enlaces de páginas ***/
a {
  font-family: var(--fuente-principal);
  color: var(--enlace-color);
  text-decoration: none;
  background-color: transparent;
}

/*** Formato para enlaces de páginas, cuando se pasa el puntero por encima o reciben foco del teclado ***/
a:hover, 
a:focus {
  color: var(--enlace-color-hover);
  text-decoration: underline;
  background-color: transparent;
} 

/*** Formato para enlaces de la página principal, como: "ver más avisos" ***/
.more-link {
  text-align: right;
  font-size: 18px;
  padding: 10px 0px;
}

/*** Formato para listas ***/
ol,
ul {
  /* list-style: none; */
  padding: 5px 0px;
}

main#content li {
  margin-left: 20px;
}

.list-group {
  padding: 0;
}

.list-group .list-group-item {
  margin-left: 0 !important;
}

ul.list-group li:nth-child(odd) {
	background-color: #F5F5F5;
}

ul.list-group li:nth-child(even) {
	background-color: #ffffff;
}

.table tr, .table td, .table th{
  border: 1px solid #E6E6E6;
}

/*** Formato para elementos de listas ***/
li {
  font-family: var(--fuente-principal);
}

/*** Formato para breadcrumb ***/
.breadcrumb li, .breadcrumb li a {
  font-size: 0.9rem;
}

/*** Formato para botones ***/
.btn-primary, .button--primary, .button {
  color: var(--boton-color-texto);
  background: var(--botón-color-fondo);
  border: none;
  margin-top: 10px;
}

/*** Formato para botones, cuando se pasa el puntero por encima o recbe foco del teclado ***/
.btn-primary:hover,
.btn-primary:focus,
.button--primary:hover,
.button--primary:focus,
.button:hover,
.button:focus {
  color: var(--boton-color-texto);
  background: var(--botón-color-hover);
  border: none;
  text-decoration: none;
}

/*** Formato para tarjetas  ***/
.card,
.card-deck {
  font-family: var(--fuente-principal);
  background-color: #fff;
  border: 1px solid #fff;
  box-shadow: 0px 3px 4px 1px #0000001a;
  border-radius: 8px;
  padding: 5px 0px;
}

.card.alineacion-izquierda {
  margin: 15px 0;
  padding: 20px 25px;
}

.card.alineacion-izquierda p {
  margin:0;
  text-align: left;
}


/*** Formato para encabezados de tarjetas  ***/
.card-header {
  background-color: #fff;
}

/*** Formato para videos ***/
.video-embed-field-provider-youtube-playlist{
  margin: 0 0 1em;
}

/*** Acordeones  ***/
.accordion{
  padding: 5px 0px;
}

.accordion-item h2{
  margin-top: 0px;
}

.accordion-button,
.accordion-button:not(.collapsed),
.accordion-button:focus {
    font-family: var(--fuente-principal);
    border: 1px solid #F2F2F2;
    background: #fff;
    font-size: 1rem;
    line-height: 19px;
    letter-spacing: 0px;
    text-align: left;
    color: #666666;
    z-index: 0;
}

.row.no-gutters.content-accordeon {
    padding: 15px 0;
}

.row.no-gutters.content-accordeon .foto {
  display: flex;
  justify-content: center;
  padding: 15px;
}

.row.no-gutters.content-accordeon .foto .field--type-image {
  margin: 0;
}

.foto img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.accordion h3 {
    margin: 0;
}

.accordion-body,
.accordion-flush .accordion-button,
.accordion-flush .accordion-item:last-of-type .accordion-button.collapsed,  
.accordion-flush .accordion-item:first-of-type .accordion-button {
    border: 1px solid rgba(0,0,0,.125);
    background: #fff;
}

.acordeon-persona {
  padding: 1rem 5rem;
}

.accordion-header{
  padding: 0px;
}

/*** Estilo general de imagenes ***/
img {
  width: 100%;
  height: auto;
}

img.image-style-thumbnail {
    width: 25%;
}

/*** Efecto popup en imagenes ***/

/* Oculta la ventana modal-backdrop que abre al junto con el modal */
.modal-backdrop {
  display: none;
}

.img-ajustada {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.img-ajustada:hover,
.img-ajustada:focus {
  opacity: 0.7;
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.75);
}

.modal-content {
  margin: auto;
  display: block;
}

/* Estilos para el botón de cerrar */
.close-modal {
  color: #ffffff;
  font-size: 25px;
  font-weight: bold;
  position: fixed;
  top: 25px;
  right: 35px;
  cursor: pointer;
}

/* Efecto de zoom en la imagen cuando se abre el modal */
.efecto-modal {
  cursor: pointer;
}

/* formato de la imagen en popup */
.modal-img-completa {
  width: 90%;
  height: auto;
  margin: auto;
}

@media screen and (min-width: 768px) {
  .modal-img-completa {
    width: 75%;
    height: auto;
  }
}

/*** Formato de tablas  ***/
.table{
  padding: 5px 0px;
}

.table thead {
  background-color: #ffffff;
}

table tr th, table tr th a, table tr th a:hover, table tr th a:focus{
  color: #666666;
}

.table tbody {
  color: #000000;
}

.table tbody tr:nth-child(odd) {
	background-color: #F5F5F5;
}

.table tbody tr:nth-child(even) {
	background-color: #ffffff;
}

.table tr, .table td, .table th{
  border: 1px solid #E6E6E6;
}

@media screen and (max-width: 768px) {
	table {
		width:100%;
	}
  
	thead {
		display:none ;
	}

  .table>:not(:first-child) {
    border: 1px transparent;
  }

  .table>:first-child {
    border: 1px transparent;
  }
  
	tr td:first-child::before {
		content: line;
	}

	tbody td {
		display: block;
		text-align:center;
	}

	tbody td:before {
		content: attr(data-th);
		display: block;
		text-align:center;
	}

	table thead th,
	table td {
		border-bottom: 1px solid #fff;
	}

  tbody, td, tfoot, th, thead, tr{
    border-style: hidden;
  }
}

.table-documenos {
  border-top: 2px solid #CC3300;
}

.table-documenos .contextual-region,
.table-documenos>div {
  border: solid 1px #E6E6E6;
}

.table-documentos {
  border-top: 2px solid #CC3300;
}

.table-documentos .contextual-region:nth-child(odd),
.table-documentos>div:nth-child(odd) {
	background-color: #F2F2F2;
  padding: 10px;
  border: 1px solid #E6E6E6;
}

.table-documentos .contextual-region:nth-child(even),
.table-documentos>div:nth-child(even) {
	background-color: #ffffff;
  padding: 10px;
  border: 1px solid #E6E6E6;
}

/*** Formato para contenedores grid (distrubuir el contenido en columnas) ***/
.grid-container {
  background-color: #F5F5F5 !important;
}

/*** Formato para filas en contenido de las vistas  ***/
.views-row {
  padding: 0;
  background-color: #F5F5F5 !important;
}

.view-content.row {
  margin: auto;
}

.view-working-papers li.list-group-item {
  background: none;
  padding: 0;
  border: none;
}

/****************************************************************/
/*   AJUSTE DE CONTENEDORES                                     */
/****************************************************************/

.main-content {
  padding: 0;
}

.highlighted {
  margin-top: -23px;
}

/*** Equipos pequeños 768px y menores) ***/

@media only screen and (max-width: 768px) {
.container {
  width:100%;
  margin: auto;
}

#main-wrapper {
  width: 95%; 
  margin: auto;
}
}

/*** Equipos medianos 768px y superior) ***/
@media only screen and (min-width: 769px) {
.container{
  padding: 35px 0;
  width: 100%;
  margin: auto
}

#main-wrapper {
  width: 95%; 
  margin: auto;
}
}


/*** Plantalla grande 992px y superior ***/
@media only screen and (min-width: 992px) {
  #main-wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .container{
    padding: 35px 0;
    width: 50%;
    margin: auto;
    /* margin-top: 153px; */
    margin-top: 143px;
  }

  .highlighted {
    /* margin-top: 7%; */
    margin-top: 148px;
  }
}

/*** Pantalla extra grande 1200px y superior) */
@media only screen and (min-width: 1200px) {
  #main-wrapper {
    width: 100%;
    margin: auto;
  }
}

.container-front {
  width: 100%;
  margin: auto;
}

/****************************************************************/
/*   ENCABEZADO                                                 */
/****************************************************************/

#navbar-top { /* Area de firma */
  background-color: #FFFFFF;
  padding: 15px 40px;
}

@media only screen and (max-width: 992px) {
  #navbar-top { /* Area de firma */
    padding: 5px;
  }
}


/*** Configuración de la firma de la UCR ***/
.firma-ucr {
  padding: 0;
  width: 40%;
}

.firma-ucr img {
  width: auto;
  height: 100%;
}

@media only screen and (max-width: 4000px) {
  .firma-ucr {
    width: 20%;
  }
}

@media only screen and (max-width: 2000px) {
  .firma-ucr {
    width: 30%;
  }
}

@media only screen and (max-width: 1500px) {
  .firma-ucr {
    width: 35%;
  }
}

@media only screen and (max-width: 1200px) {
  .firma-ucr {
    width: 40%;
  }
}

/*** Sección de iconos en el menu superior ***/

.iconos-menu-superior {
  display: flex;
  text-align-last: end;
  align-self: center;
  justify-content: end;
}

.iconos-menu-superior a:hover,
.iconos-menu-superior a:focus {
  text-decoration: none;
}

.iconos-menu-superior img {
  width: 25px;
  height: 25px;
}

#iconos-pantalla-pequeña {
    display: none;
  }

#iconos-pantalla-grande {
  display: block;
}

@media (max-width: 992px) { 
  #iconos-pantalla-grande {
    display: none;
  }

  #iconos-pantalla-pequeña {
    display: block;
  }

  .iconos-menu-superior {
    text-align-last: start;
    align-self: start;
    justify-content: start;
  }
}

.fieldset-legend{
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  font-family: var(--fuente-principal);
  color: #000000;
}

.form-control{
  border: 1px solid #666666;
}

#user-login-form{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  height: 100%;
}

#user-login-form .form-actions{
  align-self: center;
}

li.nav-item {
  list-style-type: none;
}

.slide-window {
  position: fixed;
  top: 0;
  right: -26.25rem; /* Oculto fuera de la pantalla */
  width: 26.25rem;
  height: 100%;
  background-color: #0c0b0c;
  color: #FFFFFF;
  transition: right 0.3s ease-in-out; /* Transición suave */
  opacity: .95;
  padding: 20px;
  box-sizing: border-box;
  z-index: 1000;
  text-align: center;
  padding-top: 5%;
}

.slide-window.open {
  right: 0; /* Mostrar la ventana */
}

.slide-window h1{
  color: #FFFFFF;
}

.close-button {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 15px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  color: #FFFFFF;
  background: transparent;
}

.menu{
  list-style-type: none;
  display: flex;
  flex-flow: row nowrap;
}

nav.menu li.nav-item a.nav-link i{
  color: #000000;
}

.menu-cuenta-usuario {
  margin-top: 75px;
}

/*** Acrónimos ***/

/* Versión escritorio */
.region-top-header-form { 
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: end;
}

.acronimo-desktop {
  width: 50%;
  height: auto;
  text-align: left;
  align-self: center;
}

.acronimo-desktop img {
  width: auto;
  height: 40px;
}

.acronimo-movil {
  display: none;
}

section.row.region.region-secondary-menu {
  display: flex;
  flex-flow: row;
  height: 75px;
  width: 50%;
}

/* Ocultar acronimo en versión escritorio, 
   mostrar acrónimo en versión móvile y 
   centrar firma UCR                      */
@media (max-width: 992px) { 
  .region-top-header-form, .version-desktop {
      display: none;
  }

  .region-top-header {
    width: 100%;
  }

  .firma-ucr {
    text-align: center;
  }

  .acronimo-movil { 
    display: block;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
  }
  
  .acronimo-movil img {
    width: auto;
    height: 30px;
  }

  .acronimo-sitio img {
    height: 42px;
    margin-top: -5px;
  }

  section.row.region.region-secondary-menu {
    height: 50px;
    width: 100%;
  }
}

/** Fijar encabezado ****/

header#header {
  position: fixed;
  width: 100%;
  z-index: 3;
  top: 0px;
} 

@media (max-width: 992px) {
  header#header {
    position: inherit;
  }
}

.main-content,
.container-front {
  min-height:500px; 
  background:#F5F5F5;
}

@media (max-width: 768px) {
  .main-content,
  .container-front {
    margin-top: 25px;
  }
}

.path-node, .path-frontpage {
  padding: 0;
}


.wsmainwp{
  max-width: 100%;
}
.wsmenu{
  width: 100% !important;
}


.gtranslate {
  width: 25px;
}


/****************************************************************/
/*   AREA DE CONTENIDO                                                  */
/****************************************************************/

/***  Carrusel página principal  ***/

/* .carousel-principal{
  height: 400px;
}

.carousel-principal .carousel-inner{
  height: 400px;
}

.carousel-principal .carousel-item img.img-ajustada {
  height: 400px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .carousel-principal{
    height: 175px;
  }
  
  .carousel-principal .carousel-inner{
    height: 175px;
  }
  
  .carousel-principal .carousel-item img.img-ajustada {
    height: 175px;
  }
}

.carousel-principal .carousel-caption h2, 
.carousel-principal .carousel-caption p{ 
  color: #FFFFFF;
  margin: 10px 0;
}

.carousel-principal .carousel-caption h2 {
  font-size: 2.5vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
}

.carousel-principal .carousel-caption p {
  font-size: 16px;
}

.carousel-principal .carousel-caption { 
  background: #232323;
  opacity: 0.7;
  padding: 0 20px;
  text-align: left;
  left: 5%;
  right: 5%;
  bottom: 10%;
}

.carousel-principal .carousel-control-next, .carousel-principal .carousel-control-prev{
  width: 10%;
}

.carousel-principal .carousel-indicators {
  margin-bottom: 0;
}

.carousel-indicators button {
  width: 6px !important;
  height: 6px !important;
  border-radius: 100%;
}

.carousel-indicators { 
  margin-bottom: 0;
}

.carousel-control-next-icon {
  background-image: url(../images/flecha.svg);
}

.carousel-control-prev-icon {
  background-image: url(../images/flecha.svg);
  transform: rotateY(180deg);
} */

.carousel-principal{
  /* height: 400px; */
  height: auto;
  top: 22px;
}

.carousel-principal .carousel-inner{
  /* height: 400px; */
  height: auto;
}

.carousel-principal .carousel-item img{
  width: 100%;
  /* height: 400px; */
  height: auto;
  object-fit: cover;
}

/* @media (max-width: 991px) {
  .carousel-principal {
    height: 175px;
  }
  
  .carousel-principal .carousel-inner{
    height: 175px;
  }
  
  .carousel-principal .carousel-item img {
    height: 175px;
  }
} */

.carousel-principal .carousel-caption h2, 
.carousel-principal .carousel-caption p{ 
  color: #FFFFFF;
  margin: 10px 0;
}

.carousel-principal .carousel-caption h2 {
  font-size: 2.5vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
}

.carousel-principal .carousel-caption p {
  font-size: 2.5vw;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
}

.carousel-principal .carousel-caption { /* Formato de la barra de texto del carrusel */
  background: #232323;
  opacity: 0.7;
  padding: 0 20px;
  text-align: left;
  left: 5%;
  right: 5%;
  bottom: 10%;
}

.carousel-control-next-icon {
  background-image: url(../images/flecha.svg);
}

.carousel-control-prev-icon {
  background-image: url(../images/flecha.svg);
  transform: rotateY(180deg);
} 

.carousel-indicators {
  margin-bottom: 0;
}

.carousel-indicators button {
  width: 6px !important;
  height: 6px !important;
  border-radius: 100%;
}


/*** Video multimedia ***/
.video-multimedia {
  position: relative;
}


.video-multimedia-texto {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  bottom: 0;
  padding: 25px;
}

.video-multimedia-texto h1 {
  color: #ffffff;
  margin: 0;
}

#myVideo {
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  position: relative;
  margin-top: 25px;
}

@media only screen and (max-width: 991px) {
  #myVideo {
    margin-top: 23px;
  }
}

@media only screen and (max-width: 768px) {
  .video-multimedia-texto {
    padding: 15px;
  }

  .video-multimedia-texto h1 {
    font-size: 3vw;
  }
}

/*** Aviso página principal ***/

.aviso-principal {
  background-color: var(--aviso-principal-fondo);
  text-align: center;
  padding: 40px 25px;
  color: var(--aviso-principal-texto);
  border: 1px solid rgba(218, 218, 218, 1);
  box-shadow: 0 4px 4px 0 rgb(0 0 0 / 25%);
  margin-bottom: 25px;
  margin-top: 50px;
  border-radius: 10px;
  border: none;
}

.aviso-principal a,
.aviso-principal a:hover,
.aviso-principal a:focus {
  color: var(--aviso-principal-texto);
}

@media (min-width: 768px) {
  .aviso-principal {
    margin-top: 15px;
  }
}

/*** Tipo de bloque cuadricula información página principal       ***/
.encabezado-seccion {
  padding: 10px 0;
}

.grid-container {
  display: grid; 
  grid-gap: 10px;
  padding: 10px 0;
  grid-template-columns: repeat(4, 1fr);
}

.grid-container > div {
  text-align: center;
  padding: 0;
  font-size: 30px;
}

.item1 {
  grid-area: 1 / 1 / span 2 / span 2;
  position: relative;
}

.item{
  position: relative;
  background: #000000;
  border-radius: 8px;
}

.avatar, .imgs-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  opacity: 0.8;
  margin: 0;
}

.avatar:hover, .imgs-avatar img:hover, 
.avatar:hover, .imgs-avatar img:focus {
  opacity: 0.6;
}

.texto-encima{
  position: absolute;
  top: 20%;
  left: 5%;
  font-size: 1.5vw;
  text-align: left;
  line-height: 1;
  color: #FFFFFF;
}

a.texto-encima:hover, a.texto-encima:focus{
  color: white;
  text-decoration: none;
}

@media only screen and (max-width: 768px) {
  .texto-encima{
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 7vw;
    text-align: left;
    line-height: 0.8;
  }

  .item1{
  grid-column: span 4;
  }

  .item{
  grid-column: span 4;
  }
}

/*** Tipo de bloque Información en formato lista página principal       ***/

.elemento-lista-info { /* Tarjeta contenedor de cada elemento */
  padding: 30px;
}

.elemento-lista-info h3 { /* Tarjeta contenedor de cada elemento */
  font-size: 19.2px;
  margin-top: 0;
}

@media only screen and (min-width: 768px) { 
	.info-img-video .info-multimedia {
		padding-right: 15px;
	}
}

@media only screen and (min-width: 992px) {
	.informacion-lista {
		margin: auto;
		margin-bottom: 40px;
		padding: 0;
	}

	.info-img-video .info-texto {
		padding: 0 15px;
	}

	.informacion-lista .info-multimedia {
		padding-right: 15px;
	}
}

.info-img-video img {
	width: 100%;
	height: auto;
}

.info-img-video iframe {
	width: 100%;
	height: 100%;
}

.info-img-video a.btn.btn-success {
	margin-top: 20px;
}

.info-img-video p {
	margin: 0;
}

.field--type-image img, .field--name-field-user-picture img {
  margin: 0;
}

/*** Blque actividades página principal  ***/
.view-calendario .view-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.view-calendario h3 {
  font-size: 20px;
  margin-top: 0;
}

.view-calendario img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/*** Página de todas las actividades ***/
.view-actividades {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.view-actividades .view-content {
  display: flex;flex-direction: column;
  justify-content: center;
}

.view-actividades img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/***** Página de actividad ***********/

#video-actividad {
  padding: 5% 0;
  background-color: #666666 !important;
  margin: 0 calc(0px - (100vw - 100%) / 2);
  padding-left: calc((100vw - 80%) / 2);
  padding-right: calc((100vw - 80%) / 2);
  display: block;
  margin-bottom: -50px;
}

#video-actividad iframe {
  width: 70%;
  margin: auto;
}

/***  Sección de enlaces de interes ubicados en la página principal   ***/
.enlaces-interes {
	display: grid;
	grid-template-columns: 33.3% 33.3% 33.3%;
	padding: 0;
}

 .enlace-int {
	  -ms-flex-flow: row wrap;
	  flex-flow: row wrap;
	  margin: 5px;
    padding: 1rem 0 0 0;
  }  

.enlaces-interes .card-deck {
  padding: 30px 0;
  aspect-ratio: 4/3;
  align-content: center;
}

@media only screen and (max-width: 768px) {
	.enlace-int  {
	  grid-column: span 4;
   }
}

.enlace-int p {
    text-align: center;
} 

.enlace-int h4 {
    text-align: center;
}

.enlace-int a {
    font-family: var(--fuente-principal);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
    letter-spacing: 0rem;
    text-align: center;
    color: #fff;
}

.enlace-int img {
   height: 75px;
   width: auto;
   margin: auto;
}

.enlace-int h3 {
  margin-top: 0;
}

.enlace-int .card-img-top {
  padding: 10px 0 5px 0;
}

.enlace-int .card-body {
    padding: 1rem 3rem;
    text-align: center;
}

.enlaces-interes.enlace-int {
    margin-top: 50px;
}

/***  Sección de logos ubicados en la página principal   ***/
section.row.region.region-featured-bottom-third {
  --bs-gutter-x: 0 !important;
}

.logos_organizan {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* background-color: var(--pie-pagina-fondo-logos); */
  background-image: url(../images/fondo_logos_nuevo.png);
  padding: 20px;
  background-size: cover;
  background-position: center;
}

@media only screen and (max-width: 1350px) {
  .logos_organizan {
    background-size: inherit;
  }
}

@media only screen and (max-width: 1020px) {
  .logos_organizan {
    background-size: cover;
  }
}

.logo_organizan {
  width: 200px;
  margin: 15px 35px;
  align-content: center;
}

#logo-ERI-UNA .logo_organizan {
  width: 100px;
  margin: 15px 35px;
  align-content: center;
}

.item-img-grid {
  height: 100%;
}

.grid-img {
  width: 100%;
  max-height: 100%;
  height: inherit;
}

.featured-bottom .container {
  padding: 0;
  margin: 0 auto;
}


/***  Sección avisos página principal   ***/

.resumen-aviso img{
  width: 100%;
  height: auto;
}

.avisos-secundarios,
.aviso-ultimo{
  margin: 10px 0;
  padding: 20px 30px;
}

.avisos-secundarios h3,
.aviso-ultimo h3,
.avisos-secundarios h2,
.avisos-secundarios h3 a,
.aviso-ultimo h3 a,
.avisos-secundarios h2 a {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-top: 15px;
  padding: 0;
}

/* .avisos-secundarios h3,
.aviso-ultimo h3 {
  line-height: 1.1;
}

.avisos-secundarios h2 {
  line-height: 1.1;
} */

.avisos-secundarios .sec-imagen,
.aviso-ultimo .sec-imagen,
.avisos-todos .sec-imagen {
  margin: 15px 0;
}

/*** Página del aviso completo    ***/
.public-encabezado {
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0.25px;
  text-align: left;
  text-transform: uppercase;
  margin: 0;
}

.public-encabezado a,
.public-detalle-actividad a,
.public-footer a {
  padding-left: 0;
}

.public-img {
  margin: 10px 0;
}

.public-img img.img-ajustada {
  width: 100%;
  height: 300px;
  margin: auto;
  /* aspect-ratio: 4/3; */
  object-fit: cover;
}

.public-img p {
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0px;
  text-align: left;
  padding: 10px 0;
}

.public-tag {
  border: 1px solid #aaaaaa;
  border-radius: 10px;
  margin-right: 10px;
  text-align: center;
  padding: 15px 0px;
  background: #e9e9e9;
}

.public-titulo-actividad {
  font-family: var(--fuente-principal);
  color: #0C344E;
  font-weight: 400;
  font-size: 1.1rem;
  margin: 20px 0 10px 0;
}

.public-detalle-actividad {
  border-top: 1px solid #0C344E;
  border-bottom: 1px solid #0C344E;
  padding: 20px 0;
  margin: 30px 0;
}

.public-social {
 margin: 40px 0;
}

@media only screen and (min-width: 992px) {
  .public-img img.img-ajustada  {
    width: 75%;
    height: 300px;
  }
}

/*** GALERIA DE VIDEOS     ***/
.galeria-multimedia {
	display: grid;
	grid-template-columns: 50% 50%;
	padding: 0;
}

.galeria-videos {
  grid-template-columns: 50% 50%;
}

.galeria-multimedia .card-body img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.galeria-multimedia .card-body .video-embed-field-responsive-video {
  aspect-ratio: 4/3;
}

.galeria-multimedia .card-deck {
	  -ms-flex-flow: row wrap;
	  flex-flow: row wrap;
	  margin: 5px;
	  border: 1px solid #ccc;
    padding: 10px;
  }

.galeria-multimedia .card-deck h3 {
	font-size: 20px;
  line-height: 1.2;
}

.galeria-multimedia p{
  font-size: 1rem;
  text-align: left;
}

@media only screen and (max-width: 768px) {
  .galeria-multimedia {
    display: block;
  }

	.galeria-multimedia .card-deck  {
	 grid-column: span 4;
   }
}

/*** ESTRUCTURA DE LA PÁGINA BÁSICA ***/

/* Carrusel de imagenes */
.carrusel-interno {
  z-index: 1;
}

.carrusel-interno .carousel-item img,
.img-unica img { 
  width: 100%;
  height: auto;
  object-fit: cover;
}

.carrusel-interno .carousel-caption { /* Formato de la barra de texto del carrusel */
  background: #232323;
  opacity: 0.7;
  padding: 0 20px;
  text-align: center;
  width: 100%;
  bottom: 8%;
  right: 0;
  left: 0;
}

.carrusel-interno .carousel-caption p {
  font-size: 2vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  .carrusel-interno .carousel-caption p {
    font-size: 18px;
  }
}

@media screen and (min-width: 1240px) {
  .carrusel-interno .carousel-caption p {
    width: 80%;
  }
}

/* bloque para que el carrusel mantenga la misma altura */

.carrusel-interno, .img-unica {
  height: 600px;
  background: #f2f2f2;
  margin-bottom: 30px;
}

.carrusel-interno .carousel-item {
  height: 600px;
  text-align: center;
}

.carrusel-interno .carousel-item img, .img-unica img {
  height: 600px;
  width: auto;
  border-radius: 0;
  object-fit: cover;
}

@media screen and (max-width: 1800px) {
  .carrusel-interno, .img-unica {
    height: 600px;
  }
  
  .carrusel-interno .carousel-item {
    height: 600px;
  }
  
  .carrusel-interno .carousel-item img, .img-unica img {
    height: 600px;
  }
}

@media screen and (max-width: 1200px) {
  .carrusel-interno, .img-unica {
    height: 400px;
  }
  
  .carrusel-interno .carousel-item {
    height: 400px;
  }
  
  .carrusel-interno .carousel-item img, .img-unica img {
    height: 400px;
  }
}

@media screen and (max-width: 1100px) {
  .carrusel-interno, .img-unica {
    height: 350px;
  }
  
  .carrusel-interno .carousel-item {
    height: 350px;
  }
  
  .carrusel-interno .carousel-item img, .img-unica img {
    height: 350px;
  }
}

@media screen and (max-width: 991px) {
  .carrusel-interno, .img-unica {
    height: 300px;
  }
  
  .carrusel-interno .carousel-item {
    height: 300px;
  }
  
  .carrusel-interno .carousel-item img, .img-unica img {
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .carrusel-interno, .img-unica {
    height: 200px;
  }
  
  .carrusel-interno .carousel-item {
    height: 200px;
  }
  
  .carrusel-interno .carousel-item img, .img-unica img {
    height: 200px;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .carrusel-interno, .img-unica {
    height: 150px;
  }
  
  .carrusel-interno .carousel-item {
    height: 150px;
  }
  
  .carrusel-interno .carousel-item img, .img-unica img {
    height: 150px;
  }
}

.img-unica {
  display: flex;
  place-content: center;
}

/* bloque para que el carrusel mantenga la misma altura */

/* .carousel-control-next-icon {
  background-image: url(../images/flecha.svg);
}

.carousel-control-prev-icon {
  background-image: url(../images/flecha.svg);
  transform: rotateY(180deg);
} */

/* Sección tarjeta de contacto */

.contacto-info { /* Formato de la tarjeta que contiene la información */
  margin: 15px;
  padding: 15px;
}

.contacto-info p{
  margin: 10px 0;
}

@media only screen and (max-width: 768px) {
	.contacto-info { /* Formato de la tarjeta que contiene la información */
    margin: 5px 0;
    padding: 0 10px 10px 10px;
  }
}


#views-exposed-form-listado-de-servicios-vista-listado-servicios {
  background-color: #F2F2F2;
  border-radius: 3px;
}

#edit-field-nombre-de-servicio-value{
  background: #D8D8D8;
  border: 1px solid rgba(151, 151, 151, 0.6);
  box-sizing: border-box;
  border-radius: 3px;
  width: 485px;
  height: 38px;
}

.form-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: left;
  padding: 30px 0px;
}

.form-row fieldset {
  display: flex;
  flex-flow: row wrap;
}

.form-row>fieldset label {
  font-weight: bold;
  padding: 5px 20px;
}

#edit-submit-listado-de-servicios{ 
  background-color: #0090D8;
  border: 1px solid #0090D8;
  box-sizing: border-box;
  border-radius: 4px;
}

@media screen and (max-width: 600px) {
  #edit-field-nombre-de-servicio-value {
    width: 100%;
  }
}

/*** Página de Boletín ***/

.subtitulo-boletin {
  font-size: 24px;
  color: #000000;
  padding: 0;
}

.boletin-opi {
  border-bottom: solid 1px #CC3300;
  padding: 50px 0;
  margin-bottom: 25px;
}

.ultimo-boletin {
  border: solid 1px #DADADA;
  padding: 20px 10px;
  margin-bottom: 25px;
  border-radius: 5px;
}

.ultimo-boletin img,
.boletin-opi img {
  border-radius: 5px;
  margin-bottom: 20px;
}

.boletin-opi .btn-primary {
  padding: 10px 25px;
  border-radius: 5px;
}

@media screen and (min-width: 768px) {
  .boletin-opi h2 {
    margin-top: 0;
    padding-top: 0;
  }  
}


/*** FIN Página de Boletín ***/

/*** Página de autor de boletín ***/

.nota-autor .col-md-4,
.nota-autor .col-md-3 {
  border-right: 1px solid #000000;
}

.nota-autor ul li,
.nota-autor ul.list-group li:nth-child(even),
.nota-autor ul.list-group li:nth-child(odd) {
  background: transparent;
  border: none;
}

/*** FIN Página de autor de boletín ***/

/*** Página de infograficos ***/

.tarjetas-infograficos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Ajusta el tamaño mínimo de la tarjeta */
  grid-gap: 16px; /* Espacio entre las tarjetas */
  grid-auto-rows: min-content; /* Las filas se ajustan al contenido mínimo necesario */
}

.tarjetas-infograficos .card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  /* Aseguramos que cada tarjeta ocupe el espacio que necesite sin superposición */
  grid-row: auto;
}

.grid {
  column-count: 2; /* Número de columnas */
  column-gap: 16px; /* Espacio entre las columnas */
}

.grid-item {
  display: inline-block; /* Hace que cada tarjeta sea tratada como un bloque dentro de las columnas */
  width: 100%; /* Cada tarjeta ocupa todo el ancho de la columna */
  margin-bottom: 16px; /* Espacio entre las tarjetas */
  background-color: #f0f0f0;
  padding: 10px;
  box-sizing: border-box;
}

.infograficos .grid-item {
  background: transparent;
  border: 1px solid #CCCCCC;
  border-radius: 5px;
}

.infograficos .grid-item h3 {
  font-size: 20px;
  color: #000000;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.2;
}

@media only screen and (max-width: 991px) {
  .grid {
    column-count: 2;
  }
}

@media only screen and (max-width: 768px) {
	.grid {
    column-count: 1;
  }
}

/*** FIN Página de infograficos ***/

/** Mapa página de contacto **/

#mapa iframe{
  width: 100%;
}

/*** Capacitaciones ***/
.resumen-capacitacion {
  display: flex;
  flex-direction: column;
  justify-content: left;
  flex-wrap: wrap;
  margin: 15px auto;
  padding: 25px 35px;
}

.resumen-capacitacion p {
  margin: 0;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .resumen-capacitacion {
    padding: 25px 15px;
  }
}

/************** Filtros **************/
#views-exposed-form-avisos-todos-page-1 {
  margin: 20px 0 10px 0;
}

#views-exposed-form-avisos-todos-page-1 label {
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0px;
  text-align: left;
  color: #000000;
  margin-bottom: 15px;
}

#views-exposed-form-avisos-todos-page-1 button {
  background-color: var(--botón-color-fondo);
  font-size: 1rem;
  color: var(--boton-color-texto);
}

#views-exposed-form-avisos-todos-page-1 button:hover,
#views-exposed-form-avisos-todos-page-1 button:focus {
  background-color: var(--botón-color-hover);
}

#views-exposed-form-avisos-todos-page-1 .form-select option {
  padding: .5rem;
  font-family: var(--fuente-principal);
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  vertical-align: middle;
  background-color: #ffffff;
  text-transform: capitalize;
}

#views-exposed-form-avisos-todos-page-1 .js-form-item {
  width: 100%;
}

@media (min-width: 768px) {
  #views-exposed-form-avisos-todos-page-1 .js-form-item  {
    max-width: 100%;  
    width: auto;
  }
}

/************ Traductor de Google ************/

div#google_translate_element span {
  display: none;
}

.skiptranslate.goog-te-gadget {
  color: transparent;
}

div#\:0\.targetLanguage {
  margin-top: 25px;
}

/****************************************************************/
/*   PIE DE PÁGINA                                              */
/****************************************************************/

.site-footer {
  padding: 0;
  margin: 0;
  font-family: var(--fuente-secundaria);
  background-color: #1d1d1b;
}

.site-footer .container,
.site-footer .container-lg, 
.site-footer .container-md, 
.site-footer .container-sm {
  width: 100%;
  margin: auto;
  padding: 0;
}
.site-footer .block {
  margin: 0;
  border: none;
  padding: 0 
}

.site-footer .content,
.site-footer .content a,
.site-footer .content a:active,
.site-footer a,
.site-footer p,
.site-footer li a {
  font-family: var(--fuente-principal);
  color: #FFFFFF;
  font-size: 18px;
  text-transform: none;
}

.site-footer h2 {
  border: none;
  line-height: 24px;
}

.site-footer p {
  margin: 0;
  font-weight: 400;
  line-height: 20px;
  padding: 0 5px;
}

.site-footer a {
  font-weight: 700;
  line-height: 32px;
}

.site-footer a:hover,
.site-footer a:focus {
  color:#FFFFFF;
  text-decoration: underline;
}

.site-footer li,
.site-footer nav li {
  list-style: none;
  padding: 0;
}


/* .site-footer a {
  padding-left: 0;
} */

/* .site-footer p,
.site-footer a,
.site-footer h2 {
  color: #FFFFFF;
  font-family: var(--fuente-principal);
} */

/*.site-footer a,
.site-footer p {
  font-style: normal;
  font-weight: normal;
  font-size: 13px;
  line-height: 17px;
  letter-spacing: 0.25px;
  margin: 0;
  /* text-transform: uppercase; */
  /* color: var(--blanco2) 
} */


/* .site-footer h2 {
  text-transform: none;
  font-style: normal;
  font-weight: 300;
  font-size: 1rem;
  line-height: 25px;
  margin: 0;
  border: none;
} */


/* .site-footer__bottom .region {
  width: 100%;
  padding: 0;
} */


/*** Parte superior Pie de página ***/
.site-footer__top {
  width: 100%;
  background-color: #1d1d1b;
  margin: 0;
  padding: 50px 0;
}

.site-footer__top .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;;
  justify-content: space-between;
}

.site-footer__top .region {
  width: 100%;
  padding: 0;
  margin: 10px 0;
  display: block;
  background-color: #1d1d1b;
}

/* .site-footer .region-footer-fourth {
  display: flex;
  justify-items: baseline;
} */

/* .site-footer__top ul {
  display: block;
} */


/* .site-footer__top .nav-link {
  padding: .5rem 0;
} */

/* .site-footer .content a {
  color: #ffffff;
} */

/* .site-footer .content .field__item {
  padding: 5px 0;
} */


/* .site-footer .fa,
.site-footer .fas,
.site-footer .far,
.site-footer .fa {
  color: #FFFFFF;
  padding-right: 10px;
} */

@media (min-width: 768px) {
  .site-footer__top .region {
      width: 22.5%;
  }

  .site-footer__top .region-footer-first,
  .site-footer__top .region-footer-second, 
  .site-footer__top .region-footer-third {
    padding-right: 10px;
    margin-right: 15px;
  }
}

/***  Redes sociales barra lateral   ***/
.site-footer .region-footer-fourth {
  top: 25%;
  display: flex;
  justify-content: center;
}

.redes-sociales {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0;
  margin: 0;
}

.redes-sociales li {
  padding: 0;
  margin: 10px;
}

.redes-sociales img {
  width: 36px;
  height: 36px;
}

@media (min-width: 768px) {
  .site-footer .region-footer-fourth {
    justify-content: end;
  }

  .redes-sociales {
    justify-content: right;
  }
}

/*** Parte inferior pie de página  ***/
.site-footer__bottom {
  background-color: #000000;
  border: none;
  width: 100%;
  margin: 0;
  padding: 25px 0 100px 0;
}

.site-footer__bottom .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.site-footer__bottom .region {
  background-color: #000000;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  margin: 0;
}

/* Sección contacto */
ul.info-contacto {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

ul.info-contacto a {
  font-weight: 400;
}


/* Sección copyright */
#block-copyright {
  text-align: left;
  width: 100%;
  font-weight: 700;
  stroke-width: 100T;
}

@media (min-width: 992px) {
  .site-footer__bottom .region {
    width: 50%;
  }

  .site-footer__bottom .region-footer-sixth {
    justify-content: end;  
  }

  #block-copyright .field {
    text-align: right;
    width: 100%;
  }
}

/*****************************************/
/* Contenido de prueba */

/* a {
  font-family: var(--fuente-principal), Arial, sans-serif;
  color: #02477B;
  text-decoration: none;
  font-size: 17px;
  line-height: 20px;
  } */

  /* Enlaces seleccionados (a:hover) */

 /* a:hover {
      color: #0C344E;
      text-decoration: underline;
  } */


   /* Enlaces visitados (a:visited) aún no definido*/

  /* Título de nivel 1 (h1)*/
  /* h1 {
    font-family: var(--fuente-principal), Arial, sans-serif;
    color: #02477B;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom:2rem;
    font-weight:normal;
  } */

  /* Título de nivel 2 (h2)*/
  /* h2 {
    font-family:  var(--fuente-principal), Arial, sans-serif;
    color: #000000;
    font-size: 2.471rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight:normal;
  } */

  /* Título de nivel 3 (h3)*/
  /* h3 {
    font-family:  var(--fuente-principal), Arial, sans-serif;
    color: #000000;
    font-size:2.059rem;
    line-height: 1.1;
    font-weight:normal;
    margin-bottom: 0.5rem;
  } */


  /* Título de nivel 4 (h4)*/
/* h4 {
    font-family:  var(--fuente-principal), Arial, sans-serif;
    color: #000000;
    font-size: 1.706rem;
    line-height: 1.1;
    font-weight:normal;
    margin-bottom: 0.5rem;
  } */


  /* Párrafos (p)*/
  /* p, ul, ol, pre, blockquote {
    font-family:  var(--fuente-principal), Arial, sans-serif;
    margin-top: 0px;
    margin-bottom: 0px;
  } */

  /* p {
    font-family:  var(--fuente-principal), Arial, sans-serif;
    color: #000000;
    font-size: 1rem;
    line-height: 1.5;
    font-weight:normal;
    text-align: left;
  } */

/**********  BARRA DE ACCESIBILIDAD *********************/

.accessibility-trigger.aioa_top_right button {
  top: 48px !important;
  right: 250px !important;
  position: absolute !important;
}

@media (max-width: 1500px) {
  .accessibility-trigger.aioa_top_right button {
    top: 33px !important;
  }
}

@media (max-width: 991px) {
  .accessibility-trigger.aioa_top_right button {
    top: 92px !important;
    right: 0 !important;
    left: 20px !important;
  }
}

/* body .accessibility-trigger.aioa_top_right button{
  top: 83px !important;
} */
