:root {
	/* colores */
	--font-color: #6c6d74;
	--color: #6C6D74;
	--emphasis-color: #013c64;
	--inverse-color: #fff;
	--link-color: #5571bd;
	--muted-color: #a3a4a8;
	--link-hover-color: #374f8e;

	/* fondos */
	--background: #fff;
	--muted-background: #eeeff3;
	--primary-background: #5578ce;
	--secondary-background: #004976;
}

@font-face {
  font-family: 'OpenSans';
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: 'OpenSans';
  src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal; }
@font-face {
  font-family: 'OpenSans';
  src: url("../fonts/OpenSans-Light.ttf") format("truetype");
  font-weight: lighter;
  font-style: normal; }
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/lato.woff2") format("woff2");
}

html {
	scroll-padding-top: 120px;
}

/* etiquetas comunes */
body {
	padding: 0 20px;
	color: var(--font-color);
	background: #f4f5f7;
	font: 100% Arial, Verdana, Helvetica;
}

h1, h2, h3, h4, h5 {
	color: var(--emphasis-color);
	font:  100% 'OpenSans', Arial, Verdana;
	font-weight: bold;
}

h1 {
    font-size: 0;
}

h2 {
	font-size: 1.5rem;
}

.bg-blue{
	text-align: center; 
	border-radius: 8px; 
	background: #dae1e7; 
	overflow: auto;
}

.detail-page h2 { font-size: 2.2rem; }

.detail-page h3 {
	font-size: 1.5rem;
	font-weight: normal;
}

.wrapper {
	max-width: 1600px;
	margin: 0 auto;
	background: #fff;
	border-left: 20px solid white;
	border-right: 20px solid white;
	box-sizing: border-box;
}

/* Eliminación de las limitaciones de ancho para los componentes */
.page, .recursosdestacados_f_wrapper, #footer, #bottom_footer {
    width: 100% !important;
    max-width: 100%;
}

/* Menos las limitaciones que quiero establecer por plantilla */
.page {
	max-width: 1280px;
	margin: 0 auto;
}

/* Menú superior */
div#mainMenu {
    margin-bottom: 1rem;
}

#mainMenu .horizontalMenu {
	height: 100px;
	display: flex;
	align-items: center;
	padding: 0px 40px;
	max-width: 100%;
}

.horizontalMenu div#main-logo {
	width: 25%;
}

.horizontalMenu .menu_box {
	width: 75%;
}

.menu_f {
	transition: none;
	box-shadow: none;
}

.menu_f.sticky {
    box-sizing: border-box;
    padding: 0;
    max-width: 1560px;
    margin: 0 auto;
	left: auto;
	box-shadow: none;
}

#mainMenu.open.stickyOnTop {
    box-sizing: border-box;
    padding: 0;
    max-width: 1560px;
    margin: 0 auto;
}

.menu_wrapper .enlaces{
	margin-right: 0;
}

.horizontalMenu div#main-logo img {
    max-height: 100%;
}

.menu_wrapper .enlaces ul {
	overflow: hidden;
}

.horizontalMenu .menu_wrapper .enlaces ul li a {
	color: var(--color);
	text-transform: none;
	font-weight: normal;
}

.horizontalMenu .menu_wrapper .enlaces ul li a:hover {
	color: var(--link-color);
}

.enlaces li.active > .submenu {
	top: 100px;
}

.submenu ul li { width: 16%; }

.submenu > ul li a {
    max-height: 80px;
}

.submenu {
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	border-bottom: 0;
	border-top: 0;
}

.horizontalMenu .menu_wrapper .enlaces ul li.grupo ul li a{
	color: var(--muted-color);
}

.horizontalMenu .menu_wrapper .enlaces ul li.grupo ul li a:hover {
	color: var(--link-color);
}

/* Destacado_W */
/*
#sislideshow .sislide .sislideText {
    position: absolute;
    top: 40px;
    left: 40px;
    bottom: 40px;
    background: var(--primary-background);
    width: 50%;
    transform: translateX(0px);
    padding: 40px;
}

#sislideshow .sislide .sislideText .titularDestacado {
    font-size: 2.25rem;
    font-weight: normal;
    margin: 0 60px;
    margin-bottom: 0.5em;
}
*/
/* Banner_F */
.Banner_F {
	display: block;
	text-align: center;
}

.Banner_F a img {
    border: 0;
}

.Banner_F h4 {
    font-size: 1.4rem;
    font-weight: normal;
    color: #2d2e33;
}

/* Lista_L */
.noticiaEntry .img {
    float: none;
    width: 100%;
}

.eventoWEntry a, .listWEntry a {
    box-shadow: none;
}

.noticiaEntry .img.r-box {
    float: right;
    width: 35%;
    position: relative;
    box-sizing: border-box;
    margin: 1rem 0;
}

.noticiaEntry .listData {
    display: grid;
    grid-template-columns: 1fr;
    float: left;
    width: 65%;
    box-sizing: border-box;
    overflow: auto;
    margin: 0;
}

.noticiaEntry .listData h3 {
	font-size: 1.5rem;
    font-weight: normal;
    width: 100%;
}

.noticiaEntry .listData .text {
    color: var(--emphasys-color);
    font-weight: normal;
    font-size: 1.1rem;
    width: 100%;
    margin: 0 auto;
}

.noticiaEntry .listData .date {
    color: #a3a3a3;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    font-weight: normal;
    margin-top: 1rem;
}

.noticiaEntry .listData .date i {
    font-style: normal;
}

.pagination li {
    border: 0;
}

.pagination li a {
 	color: var(--font-color);
}

.pagination li.active {
    margin: 0;
}

.pagination li.active a {
	color: var(--emphasis-color);
}

/* Lista a 3 columnas */
.c3columns.content-box {
	width: 100%;
	box-shadow: none;
	margin: 4rem 0 0 0;
	float: none;
}

.c3columns .list_item a {
	display: grid;
	grid-template-columns: 60% 40%;
}

.c3columns .list_item a > div {
	width: 100%;
	grid-column-start: 2;
	grid-column-end: 2;
	grid-row-start: 1;
}

.c3columns .list_item a p.h3 {
	width: 100%;
	grid-column-start: 1;
	grid-column-end: 1;
	box-sizing: border-box;
	font-size: 1.5rem;
	font-weight: normal;
}


/* Pagina_F páginas de detalle */
.detail-page .fecha {
	font-weight: normal;
}

/* Hero Image */
.imagenPrincipal {
    border: 0px solid #EEE;
}

/* Eventos_L */
.eventoWEntry a {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

/* Formularios */
.OpenCmsApolloWebform {
	overflow: hidden;
}

.field.fieldDate.fchIni {
    width: 30%;
}

.field.fieldDate.fchFin {
    display: none;
}

/* Footer */

.bottom_footer.self_clear {
    padding-bottom: 2rem;
}

.footer, .bottom_footer {
	background-color: var(--secondary-background);
}

/* Recursos destacados */
.recursosdestacados_f_wrapper .col0 {
	justify-content: center;
}

.recursoItem {
    width: 25%;
}

/* Clases específicas para la página de proyectos */
.proyectosCooperacion .video-list {
    margin-top: 0;
}

.proyectosCooperacion .video-list .h3 {
    display: none;
}

.recursosdestacados_f {
    margin-bottom: 3rem !important;
	margin-top: 3rem !important;
	background: var(--secondary-background);
    background-image: none;
}

.recursosdestacados_f_wrapper {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.hideImg img.imagenPrincipal {
	display: none;
}

.footer {
    margin-bottom: 0px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media screen and (max-width: 1640px) {
	.menu_f.sticky {
		max-width: 100%;
		padding: 0 40px;
		left: 0;
	}
	
	#mainMenu.open.stickyOnTop {
		padding: 0 40px;
		max-width: 100%;
		margin: 0 auto;
		left: 0;
	}
}

@media screen and (max-width: 1280px) {
	.lista_l {
		margin-top: 0rem;
	}
}

@media screen and (max-width: 990px) {
	.submenu::after {
		content: none;
	}
	
	.col.col-4 {
		width: 31.25%;
	}
	
	.noticiasPortada .col.col-4 {
		width: 97.91666666666667%;
	}

	.horizontalMenu div#main-logo {
		width: 75%;
	}
	
	.horizontalMenu div#main-logo .menuLogoWrapper {
		max-width: 250px;
	}
	
	.horizontalMenu .menu_box {
		width: 25%;
	}
	
	#sislideshow {
    	background-color: #004878;
	}
	
	#sislideshow .sislide .sislideText {
		margin: 0;
		padding: 0;
		width: 100%;
		background-color: transparent !important;
	}
	
	#sislideshow .sislide .sislideText .titularDestacado {
		bottom: 0;
		position: absolute;
		font-size: 1.6rem;
		text-align: center;
		color: white;
		background: #004878;
		width: 100%;
		padding: 0.5rem;
		box-sizing: border-box;
		margin-bottom: 0rem;
		padding-bottom: 1.5rem;
	}
	
	.noticiaEntry .img.r-box {
		width: 100%;
	}
	
	.Banner_F{
		margin-bottom: 3rem;
	}
	
	.posts.lists {
		margin-top: 2rem;
	}
	
	.noticiaEntry .listData {
		display: block;
		float: none;
		margin: 2rem auto;
		width: 100%;
	}
	
	.noticiaEntry .listData h3 {
		width: 100%;
		margin-left: 0;
	}
	
	.noticiaEntry .listData .text {
		width: 100%;
    	margin-bottom: 1rem;
	}
	
	.noticiaEntry .listData .date {
		margin-left: 0;
	}
	
	.listWEntry.noticiaEntry a {
		text-decoration: none;
	}
}

@media screen and (max-width: 800px) {
	.r-box-superwide:before {
		padding-top: 42.85714285714286%;
	}

	#sislideshow .sislide .sislideText .titularDestacado {
		font-size: 1.4rem;
	}
	
	.Destacado_W {
		margin-bottom: 3rem;
	}
	
	.bannerRow {
		margin: 0 !important;
	}
}

@media screen and (max-width: 768px) {
	#sislideshow .sislide .imagenDestacado img {
		height: auto;
		width: 100%;
	}
	
	.breadcrumbs_f ul {
		display: block;
		margin-bottom: 1rem;
	}
	
	.breadcrumbs_f ul li a {
		display: block;
		line-height: 1.1rem;
	}
	
	.page, .recursosdestacados_f_wrapper, #footer, #bottom_footer, .menu_f.servicio, .lista_l, .Noticia_F .detail-page, .detail-page {
		width: 100%;
		max-width: 100%;
		padding-right: 0;
		padding-left: 0;
	}
	
	.eventoWEntry a {
    	flex-wrap: wrap;
	}
	
	.eventoWEntry a {
		height: auto !important;
	}
	
	.eventoWEntry .ewDate, .listWEntry .lwDate {
		width: 16%;
		margin-right: 4%;
		box-sizing: border-box;
		display: block;
		padding-left: 2%;
	}
	
	.eventoWEntry .ewTitulo, .listWEntry .lwTitulo {
		width: 78%;
		font-size: 1.5rem;
		font-weight: bold;
		padding: 0;
		box-sizing: border-box;
		margin-left: 2%;
	}
	
	.eventoWEntry .ewLugar {
		width: 78%;
		margin-right: 0;
		margin-top: 1rem;
		margin-bottom: 2rem;
		margin-left: 22%;
	}
}

@media screen and (max-width: 660px) {

	body {
		padding: 0;
	}

	div#bottom_footer {
		padding-left: 0;
	}
	
	.col.col-4 {
		width: 97.91666666666667%;
	}
	
	.c3columns .list_item a {
		display: flex;
		flex-wrap: wrap;
	}
	
	#mainMenu.open.stickyOnTop,
	.menu_f.sticky {
		padding: 0 20px;
	}
	
	.lista_l.m-top {
		margin-top: 0;
	}
	
	.c3columns.content-box {
		margin: 0;
	}
	
	.c3columns .h3 {
		height: auto;
	}
	
	.footer {
		height: 0;
	}
	
	#bottom_footer {
		margin-bottom: 0;
	}
	
	.bottom_footer .detail-page{
		margin-bottom: 0;
	}
	
	div#bottom_footer .col-4 {
		width: 31.25%;
	}
	
	div#bottom_footer .col-8 {
		width: 64.58333333333333%;
	}
}

@media screen and (max-width: 500px){
	.r-box-superwide:before {
		padding-top: 62.5%;
	}

	#sislideshow .sislide .sislideText .titularDestacado {
		margin: 0;
		font-size: 1.1rem;
	}
}