/* GENERAL */
h4::after, .h4::after {
	background-color: #a8acae;
}
h2 {
	display: block;
	text-transform: uppercase;
	font-weight: 600;
	color: #434347;
	font-size: 1.2rem;
	position: relative;
	padding-bottom: 1rem;
	margin: 4rem 0 2rem;
}
h2::after {
	content: " ";
	position: absolute;
	transform: translate(-50%,-50%);
	left: 50%;
	bottom: 0;
	width: 50px;
	height: 3px;
	background-color: #01830a;
}
h3 {
	display: block;
	text-align: left;
	text-transform: none;
	font-weight: 600;
	color: #434347;
	font-size: 1.3rem;
	position: relative;
	padding-bottom: 1rem;
	margin: 4rem 0 2rem;
}
h3::after {
	content: " ";
	position: absolute;
	transform: translate(-50%,-50%);
	left: 2%;
	bottom: 0;
	width: 50px;
	height: 3px;
	background-color: #01830a;
}

/* BLOCKCUOTE */
.template.template-blockquote p {
	font-size: 1.9rem;
	text-indent: 1.9rem;
}
blockquote p {
    line-height: 2.3rem !important;
    font-weight: 400 !important;
}
/* PORTADA NOTICIAS */
.template-noticias .article-image {
	height: 580px;
}
/* TEXTO NOTICIAS */
.template-noticias .article-section .article-section-content li {
  margin-bottom: 0.5rem;
}

/* MENÚ NAVEGACIÓN */
.template-image-mosaic .portlet-header {
	width: 80%;
}	
body.page-style-detail #banner-wrapper {
	background-color: #006db0;
}
/* VIDEO ACCESIBLE */
.video-responsive {
	position: relative;
	width: 70%;
	max-width: 100%;
	padding-top: 56.25%;
	margin: 0 auto 1rem;
	overflow: hidden;
	display: block;
}
.responsive-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.video-section .transcript-toggle {
	display: block;
	margin: 0 auto 1rem;
}
.transcript-drawer {
	width: 70%;
	max-width: 100%;
	margin: 0 auto 2rem;
	max-height: 0;
	overflow: hidden;
	background: #fff;
	transition: max-height .3s ease;
}
.transcript-drawer.open {
	max-height: 40vh;
	overflow-y: auto;    
	border: 1px solid #cac7c7;
}
.transcript-drawer .title {
	padding: 1rem 0;
	font-size: 1.2rem;
	text-transform: uppercase;
	text-align: center;
	font-weight: 600;
	color: #01830a;
	margin: 0;
}
.transcript-drawer .transcription-body {
	padding: 1rem;
	font-size: 0.9rem;
	line-height: 1.4;
	background: #f4f5f4;
}
.transcript-drawer .transcription-body .transcript-list{
	font-size: 0.95rem;
}
.transcript-drawer .transcription-body .transcript-list time{
	color: #863c19;
	font-weight: 600;
}
.transcript-drawer .transcription-body .transcript-list div{
	color: #10518a;
}
.transcript-drawer .transcription-body .transcript-list span{
	font-weight: 500;
}

@media (max-width: 768px) {
	.video-responsive,
	.transcript-drawer,
	.video-section .transcript-toggle {
		width: 100%;
	}
	.video-section button {
		width: 70% !important;
	}
	.transcript-drawer.open {
		max-height: 50vh;
	}
	.transcript-list dt {
		margin-top: 0.75em;
	}
	.transcript-list dd {
		margin-left: 1em;
		margin-bottom: 0.75em;
	}
}
/* barra de scroll */
.transcript-drawer.open::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
.transcript-drawer.open::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}
.transcript-drawer.open::-webkit-scrollbar-thumb {
	background-color: #01830a;	
	border-radius: 4px;
	border: 2px solid #f1f1f1;
}
.transcript-drawer.open::-webkit-scrollbar-thumb:hover {
	background-color: #2e8c34; /* color al pasar el ratón */
}
.transcript-drawer.open {
	scrollbar-width: auto;
	scrollbar-color: #01830a #f1f1f1;
}

/* TABLA CONTENIDOS NEWS */
.template .article-section h2,.template .article-section h3 {
  scroll-margin-top: 6rem;
}
body #TablaContenidos {
	border: 1px solid #006db0;
	display: table;
	position: fixed;
	border-collapse: initial;
	bottom: 0;
	left: 50%;
	background: #006db0;
	width: calc(100% - 65%);
	margin: 0;
	border-radius: 10px 10px 0 0;
	z-index: 1;
	transform: translateX(-50%);
}
body #TablaContenidos .tabla-header {
	text-align: center;	
	padding: 1.1em 0;
	margin: 0;
	cursor:pointer;
}
body #TablaContenidos .tabla-header .tabla-title {
	font-size: 1.2rem;
	padding-left: 1.5em;
	color: #fff;
}
body #TablaContenidos .tabla-header .tabla-title::before {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: -1.5em;
	content: "\f03a";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1.1em;
	position: absolute;
}
body #TablaContenidos.active .tabla-header .tabla-title::before {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: -1.5em;
	content: "\f00d";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1.1em;
	position: absolute;
}
body #TablaContenidos .tabla-header .tabla-title::before {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: -1.5em;
	content: "\f03a";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1em;
	position: absolute;
}
body #TablaContenidos .tabla-header .tabla-toggle {
	margin-left: 10px;
}

body #TablaContenidos .tabla-header .tabla_toggle{
	padding: 0 10px;
}
body #hidden-tabla {
	display: none;
	background: #fff;
	padding: 1em 1em 1em 2.5em;
	margin-bottom: 0.1em;
}
body #TablaContenidos.active #hidden-tabla {
	display: block !important;
}
body #hidden-tabla ul{
	list-style: none;
	margin: 10px 0px 10px 30px;
}
body #hidden-tabla li{
	margin-bottom: 5px;
	font-weight: 600;
	color:#006db0;
}
body #hidden-tabla li::before{
	list-style: decimal;
	font-weight: 600;
	color:#006db0;
}
body #hidden-tabla li > ul > li{
	margin-bottom: 5px;
	font-weight: 500;
	color: #454548;
}
body #hidden-tabla li > ul > li::before {
	content: "\2022";
	color: #006db0;
	font-weight: 600;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
}
body #hidden-tabla li > a {
	font-weight: 500;
	color: #000;
	font-size: 1rem;
	line-height: 1.5rem;
}
body #hidden-tabla li > ul > li a {
	font-weight: 500;
	color: #6f6f6f;
	font-size: 1rem;
	line-height: 1.5rem;
}

body #hidden-tabla li > a:hover{
	text-decoration: underline;
}
body #hidden-tabla .tabla-item .item-number{
	color: #006db0;
	font-weight: 500;
	margin-right: 5px;
	font-size: 1.15rem;
}

@media(max-width:1199px) {
	body.mobile #TablaContenidos {
	border: 1px solid #006db0;
	display: table;
	position: fixed;
	border-collapse: initial;
	bottom: 0;
	left: 50%;
	background: #006db0;
	width: calc(100% - 15%);
	margin: 0;
	border-radius: 10px 10px 0 0;
	z-index: 1;
	padding: 0;
	transform: translate(-50%, 0%);
	}
	body.mobile #TablaContenidos .tabla-header .tabla-title {
		font-size: 0.9rem;
		padding-left: 1.5em;
		color: #fff;
	}
	body.mobile #TablaContenidos .tabla-header .tabla-title::before {
		display: inline-block;
		width: 10px;
		height: 10px;
		margin-left: -1.5em;
		content: "\f03a";
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;
		font-size: 1.1em;
		position: absolute;
	}
	body.mobile #TablaContenidos.active .tabla-header .tabla-title::before {
		display: inline-block;
		width: 10px;
		height: 10px;
		margin-left: -1.5em;
		content: "\f00d";
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;
		font-size: 1.1em;
		position: absolute;
	}
	body.mobile #TablaContenidos .tabla-header {
		text-align: center;
		padding: 5px 0;
		margin: 0;
	}
	body.mobile #TablaContenidos.active #hidden-tabla {
		display: block !important;
	}
	body.mobile #hidden-tabla {
		display: none;
		background: #fff;
	}
	body.mobile #hidden-tabla li > a {
		font-size: 0.9rem;
		font-weight: 500;
		color: #000;
		line-height: 1.5rem;
	}
	body.mobile #hidden-tabla li > a:hover{
		text-decoration: underline;
	}
}
@media(max-width:576px) {
	body.mobile #TablaContenidos {
		width: calc(100% - 8%);
	}
}