article,aside,details,figcaption,figure,footer,header,hgroup,hr,menu,nav,section {
	display: block
}
a,hr {
	padding: 0
}
abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,u,ul,var,video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: 0 0
}
ins,mark {
	background-color: #ff9;
	color: #222222;
}
body {
	line-height: 1
}
nav ul {
	list-style: none
}
blockquote,q {
	quotes: none
}
blockquote:after,blockquote:before,q:after,q:before {
	content: '';
	content: none
}
a {
	margin: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: 0 0;
	text-decoration: none;
 	color:#ef520d;

}
ins {
	text-decoration: none
}
mark {
	font-style: italic;
	font-weight: 700
}
del {
	text-decoration: line-through
}
abbr[title],dfn[title] {
	border-bottom: 1px dotted;
	cursor: help
}
table {
	border-collapse: collapse;
	border-spacing: 0
}
hr {
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0
}
h1, h2, h3, h4, h5, h6 {
	color: #222222;
	font-family: "Roboto",sans-serif;
	font-weight: normal;
}
h1 {
	font-size:30px;
	line-height:34px;
}

h2 {
	font-size:22px;
	line-height:28px;
}

h3 {
	font-size:22px;
	line-height:28px;
}

h4 {
	font-size:18px;
	line-height:22px;
}

h5 {
	font-size:16px;
	line-height:20px;
}

h6 {
	font-size:14px;
	line-height:20px;
}

.scaled-h3{
	font-size:16px;
	line-height:20px;
}

p {	
	font-size: 14px;
	line-height: 20px;
	color: #222222;
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 15px;
}
input,select,option {
	vertical-align: middle;
	line-height: 14px;
	font-size: 14px;
	color:#222;
}
.clearfix {
	clear:both;
}

/* Base CSS for Arsys*/
/* Linked content */

a > * {
	cursor: pointer;
}
/* Icon Styles */

i {
	display: inline-block;
}
[class*=" icon-"].pull-left,[class^=icon-].pull-left {
	float: left;
	margin-right: .3em;
}
[class*=" icon-"].pull-right,[class^=icon-].pull-right {
	float: right;
	margin-left: .3em
}
.icon-cargando,.icon-spin {
	-webkit-animation: icon-spin 1.5s infinite linear;
	animation: icon-spin 1.5s infinite linear
}
.icon-spin-reverse {
	-webkit-animation: icon-spin-reverse 1.5s infinite linear;
	animation: icon-spin-reverse 1.5s infinite linear
}
@-webkit-keyframes icon-spin {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	100% {
		-webkit-transform: rotate(359deg);
		transform: rotate(359deg)
	}
}
@keyframes icon-spin {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	100% {
		-webkit-transform: rotate(359deg);
		transform: rotate(359deg)
	}
}
@-webkit-keyframes icon-spin-reverse {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	100% {
		-webkit-transform: rotate(-359deg);
		transform: rotate(-359deg)
	}
}
@keyframes icon-spin-reverse {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	100% {
		-webkit-transform: rotate(-359deg);
		transform: rotate(-359deg)
	}
}
.icon-rotate-90 {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg)
}
.icon-rotate-180 {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg)
}
.icon-rotate-270 {
	-webkit-transform: rotate(270deg);
	-ms-transform: rotate(270deg);
	transform: rotate(270deg)
}
.icon-flip-horizontal {
	-webkit-transform: scale(-1, 1);
	-ms-transform: scale(-1, 1);
	transform: scale(-1, 1)
}
.icon-flip-vertical {
	-webkit-transform: scale(1, -1);
	-ms-transform: scale(1, -1);
	transform: scale(1, -1)
}
:root .icon-flip-horizontal,:root .icon-flip-vertical,:root .icon-rotate-180,:root .icon-rotate-270,:root .icon-rotate-90 {
	filter: none
}
.icono-twitter-x {
	width: 18px;
	height: 18px;
	vertical-align: -2px;
}

/* Basic Structure */
* {
	margin:0;
	padding:0;
	outline: none;
	text-transform: none;
	font-size: 0;
}
html {
	line-height: 20px;
	font-size: 100%;
	min-width:320px;
	width: 100%;
	color: #222222;
	position: relative;
	height: 100%;
	font-family: 'os', sans-serif;
	overflow-x: hidden;
}
body {
	height: 100%;
	display: block !important;
	width: 100% !important;
	min-width: 100% !important;
	position: relative;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.container{
	width: calc(100% - 32px);
	max-width: 1170px;
	margin: 0 auto;
	height: 100%;
	position:relative;
}
.one_half{
	width: 49%;
	float: left;	
	margin-right: 2%;
}
.one_half:last-child{margin-right:0;}
.one_half.last{margin-right:0;}
.one_third{
	width: 32%;
	float:left;
	margin-right: 2%;
}
.two_third{
	width: 64%;
	float:left;
	margin-right: 2%;
}
.one_third:last-child{margin-right: 0;}
.one_third.last{margin-right:0;}
.page{	
	margin: 35px 0;
}
.page p {
	color: #222222;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 15px
}
.block{width:66%; margin-right: 4%;float: left;}
.left-menu{width:30%; float:left;}
span {
	font-size: 14px;
	color: #ef520d;
}
body > header {
	width: 100%;
}

a.button {
	font-family:'Roboto', sans-serif;
	background-color: #ef520d;
	color:#ffffff;
	text-transform:uppercase;
	text-decoration: none;
	line-height:22px;
	padding:5px 10px;
	margin:20px 0px;
	display:inline-block;
	width:auto;
	border-top:1px solid #ef870d;
	box-shadow: 0px 8px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:0px 8px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 8px rgba(0, 0, 0, 0.2);
	cursor:pointer;
}

a.button:hover {
	background-color:#222222;
}

header div.top-stripe {
	background-color: #222;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	border-bottom: 6px solid #222;
	padding: 5px 20px 0px;
}
header div.top-stripe .msup{
	display: flex;
	justify-content: space-around;
	align-items: center;
}
header div.top-stripe .msup .idiomas{
	color: #fff;
}
.idiomas a{
	font-size: 13px;
	margin: 0px 8px;
	cursor: pointer;
	color: #fff;
	text-decoration: none;
	text-transform: lowercase;
}
.nav-idiomas a{
	text-transform: lowercase;
}
.derecha-top {
	display: flex;
	align-items: center;
}
.servicios span {
	color:#fff;
	font-size: 14px;
	padding: 16px 0;
	float: left;
	margin-right: 5px;
}
.servicios img {
	height: 30px;
	width: 30px;
	float: left;
	padding: 8px 0;
	margin-left: 10px;
	display: inline-block;
}

.redes_sociales {
	margin-right: 15px;
}

.redes_sociales > a {
	margin: 0 2px;
}

.redes_sociales > a i {
	color: #ff7c1c;
}

.redes_sociales > a i.fa-stack-1x {
	font-size: 18px;
	color: white;
}

/* MENU */
.menu_bar {
	display:none;
}
header nav.bottom-stripe {
	border-bottom: 6px solid #f1f1f1;
	padding: 3px 0 5px;
	transition: all .4s ease-in-out;
}
header nav.bottom-stripe > div.container {
	display: flex;
	column-gap: 1em;
	align-items: center;
	justify-content: center;
}
header nav.bottom-stripe > div.container > a:last-of-type {
	margin-left: 1em;
	margin-top: 4px;
}
header nav.bottom-stripe > div.container > a > div.logo {
	width: 300px;
	height: 80px;
	float: left;
	background-size: 300px;
	background-repeat: no-repeat;
	margin: 6px 16px 6px 0px;
	z-index: 99;
}
header nav.bottom-stripe > div.container > a > div.logo.es { background-image: url(../img/logo_n_cas.png); }
header nav.bottom-stripe > div.container > a > div.logo.ca { background-image: url(../img/logo_n_cat.png); }
header nav.bottom-stripe > div.container > a > div.logo.eu { background-image: url(../img/logo_n_eus.png); }
header nav.bottom-stripe > div.container > a > div.logo.gl { background-image: url(../img/logo_n_gal.png); }
header nav.bottom-stripe > div.container > a > div.logo.va { background-image: url(../img/logo_n_val.png); }
header nav.bottom-stripe > div.container > a > div.logo.en { background-image: url(../img/logo_n_eng.png); }

header nav.bottom-stripe .menu {
	min-width: 600px;
	width: 100%;
}

ul.main-nav {
	width:100%;
	height:auto;
}

ul.main-nav li {
	display:block;
	margin:0px;
	padding:0px;
	float:left;
	width:20%;
}
ul.main-nav li a {
	border-left: medium none;
	border-right: 1px solid #f1f2f2;
	display: block;
	margin: 0;
	padding: 10px 6px 16px;
	text-decoration: none;
 	background:url(../img/nav_background_1.jpg) repeat-x bottom;
}
ul.main-nav li:hover > a, ul.main-nav li > a.active {
 	background:url(../img/nav_background.jpg) repeat-x bottom;
}
ul.main-nav li:hover > a i.nav-icon, ul.main-nav li > a.active i.nav-icon {
color: #ef520d;
}
ul.main-nav li a span {
	display: block;
	font-family: "Roboto",sans-serif;
	text-align: center;
	color: #222222;
	font-size: 11px;
	line-height: 11px;
	margin-bottom: 5px;
	text-transform: uppercase;
}

ul.main-nav li a i {
	display:block;
	text-align:center;
}
i.nav-icon {
	font-size:24px;
	color:#e7e4e4;
	margin-bottom:10px;
}
ul.main-nav li ul {
	position:absolute;
	display:none;
	width:198px;
	z-index:2000;
	background-position:20px 0px;
	padding:30px 0px 0px 0px;
	border-bottom:4px solid #ef520d;
	background:#222222 url(../img/drop_bckg.png) 15px 0 no-repeat;
	box-shadow: 8px 8px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:8px 8px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 8px 8px rgba(0, 0, 0, 0.2);
}
ul.main-nav li:hover ul {
	display:inline-block;
}
ul.main-nav li ul li {
	width:100%;
	display:block;
	border:none;
	padding:0px;
	margin:0px;
	border-top:1px solid #4d4d4d;
}

ul.main-nav li ul li a {
	color:#ffffff;
	background:none;
	border:none;
	font-family:'Roboto', sans-serif;
	font-size:14px;
	text-transform:uppercase;
	padding:10px 0px 10px 17px;
	line-height:20px;
}

ul.main-nav li ul li:hover a {
 background-color:#ef520d;
}
section{
	width: 100%;
	overflow: hidden;
	margin: 0 0 32px 0;
	color: #fff;
	display: inline-block;
}

/*FOOTER */
footer {
	background: #222222 url(../img/footer_background_top.png) repeat-x top;
	border-bottom: 10px solid #ef520d;
	padding: 44px 0 25px;
}

.footer-nav {
  display: flex;
  align-items: center;
}

.footer-nav ul {
   flex: 1 1 100%;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul {
	text-align: center;
	justify-content:center;
}

.footer-nav ul li {
	display: inline-block;
	margin-left: 5px;
	font-size: 12px;
	min-height: 25px;
    min-width: 44px;
}

.footer-nav ul li:first-child a {
	border: none;
}

.footer-nav ul li a {
	text-transform: uppercase;
	color: #919090;
	border-left: 1px solid #919090;
	padding-left: 5px;
}

.footer-nav ul li a:hover {
	color: #fff;
}

#logoMinisterioPie {
	display: none;
}

.icon-w3{
flex-wrap: wrap;
  	text-align: right;
	justify-content:right;
	transform: translateY(-5px)
}

/*HOME*/
.phone{
	width: 46%;
	float: left;
	text-align:center;
	display:block;
	margin:40px 1%;
}
.phone a{
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	border-color: #e1e1e1 #e1e1e1 #ef520d;
	border-image: none;
	border-style: solid;
	border-width: 1px 1px 6px;
	display: block;
	margin: 20px 0;
	padding: 0 20px 30px;
	text-align: center;
}
.phone a span.box-title {
	font-size:18px;
	color:#ef520d;
	font-family:'Roboto', sans-serif;
	display:block;
	line-height:normal;
	margin-bottom:30px;
	text-transform:uppercase;
}

.phone a span.box-descript {
	font-size:12px;
	color:#222222;
	font-family:Arial, Helvetica, sans-serif;
	line-height:20px;
	margin-bottom:30px;
}
.phone a:hover {background:none!important;color:#222222!important;}
.phone a:hover span.box-title {
	color:#ef520d!important;}
.phone a:hover span.box-descript {
	color:#222222!important;}
.phone a img{
	margin: 20px 0;
}

.quote {
	background-color:#222222;
	background-image:url(../img/quote_background_top.png), url(../img/quote_background_bottom.png);
	background-position: top, bottom;
	background-repeat:repeat-x, repeat-x;
	padding:50px 0px 50px 0px;
	margin:0px 0px 25px 0px;
	text-align:center;
}

.quote h1 {
	color:#ffffff;
	text-transform:uppercase;
	line-height:50px;
	font-weight:bold;
}
.title {
	background:url(../img/title_icon.png) no-repeat left;
	padding-bottom:20px;
	border-bottom:1px solid #e1e1e1;
	display:block;
	color:#222222;
}

.title h3,.title h2 {
	padding-left:55px;
	padding-top:23px;
}

.home-blog .meta {
	margin:20px 0px 20px 0px;
}

.home-blog .meta span.date {
	color:#222222;
	margin-left:5px;
}

.home-blog .answer, .respuesta-preview, .post-more p, .post-meta dl dd {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.home-blog .answer .respuesta-preview {
	height: auto !important;
	max-height: 148px !important;
	overflow: hidden;
	margin-bottom: 12px;
	padding-bottom: 2px;
}

.home-blog .answer {
	position: relative;
}

/* .home-blog .answer .respuesta-preview { */
/* 	height: 140px; */
/* 	overflow: hidden; */
/* 	margin-bottom: 20px; */
/* } */

.home-blog .answer .respuesta-preview,
.home-blog .answer .respuesta-preview * {
	font-size: 14px !important;
	line-height: 18px !important;
	color: #222222 !important;
	-webkit-text-fill-color: #222222 !important;
	text-shadow: none !important;
	box-sizing: border-box !important;
	max-width: 100% !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	white-space: normal !important;
	float: none !important;
	position: static !important;
	left: auto !important;
	right: auto !important;
	width: auto !important;
}

.home-blog .answer .respuesta-preview p,
.home-blog .answer .respuesta-preview div,
.home-blog .answer .respuesta-preview blockquote {
	margin: 0 !important;
}

.home-blog .answer .respuesta-preview p:empty,
.home-blog .answer .respuesta-preview div:empty,
.home-blog .answer .respuesta-preview li:empty,
.home-blog .answer .respuesta-preview blockquote:empty {
	display: none !important;
}

.home-blog .answer .respuesta-preview p > br:only-child,
.home-blog .answer .respuesta-preview div > br:only-child,
.home-blog .answer .respuesta-preview blockquote > br:only-child {
	display: none !important;
}

.home-blog .answer .respuesta-preview br + br {
	display: none;
}

.home-blog .answer .respuesta-preview ul,
.home-blog .answer .respuesta-preview ol {
	margin: 0 !important;
	padding-left: 22px !important;
}

.home-blog .answer .respuesta-preview li {
	margin: 0 !important;
}

.home-blog .answer .respuesta-preview img,
.home-blog .answer .respuesta-preview table {
	display: none !important;
}

.home-blog .answer .respuesta-preview s,
.home-blog .answer .respuesta-preview strike,
.home-blog .answer .respuesta-preview del {
	text-decoration: line-through !important;
}

.home-blog .answer a.button.submit {
	font-size: 14px !important;
	line-height: 22px !important;
	margin: 0 0 8px 0 !important;
	display: inline-block !important;
	box-shadow: 0px 8px rgba(0, 0, 0, 0.2) !important;
	-moz-box-shadow: 0px 8px rgba(0, 0, 0, 0.2) !important;
	-webkit-box-shadow: 0px 8px rgba(0, 0, 0, 0.2) !important;
}

.home-blog .answer a.button.submit:hover {
	box-shadow: 0px 8px rgba(0, 0, 0, 0.2) !important;
	-moz-box-shadow: 0px 8px rgba(0, 0, 0, 0.2) !important;
	-webkit-box-shadow: 0px 8px rgba(0, 0, 0, 0.2) !important;
}

.home-blog .answer .respuesta-preview textarea,
.home-blog .answer .respuesta-preview a {
	display: none !important;
}

.question h5{
	margin-bottom:20px;
}

/* breadcrumbs */
.title-breadcrumbs {
	background-color:#222;
	border-top:10px solid #2e2e2e;
	border-bottom:10px solid #2e2e2e;
}

h1.page-title{
	color:#ffffff;
	text-transform:uppercase;
	padding:15px 0px;
}
.page-title span {
	font-size: 100%;
	text-transform: uppercase;
}
.img_block{width: 100%;margin: 15px 0;}

/* FORMULARIOS */
.contact_form {
	width:100%;
	margin: 0px;
}

.contact_form h3 {
	text-transform:uppercase;
}

.contact_form fieldset {
	border:none;
	padding:0px;
	margin: 0px;
}
.contact_form label{
	width:90%;
	padding: 2px 0;
	font-size:14px;
	color:#222222;
	display: block;
}

.contact_form input[value],.contact_form select, .contact_form textarea{
	font-size:14px;
	color:#222222;
	line-height: 16px;
}
.contact_form input[type="text"]{
	width:90%;
	height:20px;
	border:1px solid #cdcdcd;
	outline:none;
	margin:10px 0px 10px 0px;
	padding:10px;
	background-color:#fff7f0;
}
.contact_form select {
	width:95%;
	border:1px solid #cdcdcd;
	outline:none;
	margin:10px 0px 10px 0px;
	padding:10px;
	background-color:#fff7f0;
}
.contact_form .grupo-email {width:47%; float: left;}
.contact_form textarea {
	width:90%;
	border:1px solid #cdcdcd;
	outline:none;
	margin:10px 0px 10px 0px;
	padding:10px;
	background-color:#fff7f0;
	min-height:180px;
	font-family:Arial, Helvetica, sans-serif;
	color:#222222;
}

.textarea_comment textarea {
	font-size:12px;
	color:#222222;
	font-family:Arial, Helvetica, sans-serif;
}


.contact_form .small.button.default {
	margin:20px 0px;
	max-width:60%;
}

/* CHAT */
.chat_form .chat_text {
	font-size:14px;
	box-sizing:border-box;
	width:100%;
	height:30vh;
	border:1px solid #cdcdcd;
	padding:10px;
	font-family:Arial, Helvetica, sans-serif;
	color:#222222;
	background-color:#fff;
	overflow-y:scroll;
}
.chat_form .chat_text > div[class^='texto']:last-child {
	margin-bottom: 25px;
}
.chat_form .chat_text span {
	color:inherit;
}
.chat_form .chat_text .opciones_chat a {
	margin-right: 10px;
}
.chat_form .chat_send {
	align-items: flex-start;
	background-color:#fff7f0;
	border:1px solid #cdcdcd;
	border-top-style:none;
	display:flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom:10px;
	padding:10px;
}
.chat_form .chat_cerrado {
	pointer-events: none;
	opacity: 0.4;
}
.chat_form .chat_cerrado .tooltiptext {
	display: none;
}
.chat_form .chat_send_input {
	font-size:14px;
	color:#222222;
	line-height:19px;
	box-sizing:border-box;
	flex-grow:1;
	border:1px solid #cdcdcd;
	outline:none;
	padding:10px;
	font-family:Arial, Helvetica, sans-serif;
	background-color:#fff;
}
.chat_form .chat_send_button {
	margin: 0;
}
.chat_form .cabecera_chat {
	background-color:#fff7f0;
	border:1px solid #cdcdcd;
	border-bottom-style:none;
	display:flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	padding:10px;
}
.chat_form .cabecera_chat .bienvenida_chat {
	margin:0;
	flex-grow:1;
}
.chat_form .cabecera_chat .icono {
	font-size:120%;
}
.transcripcion_form input[type="text"] {
	display: block;
	border: 1px solid #cdcdcd;
	outline: none;
	margin: 10px 0px 10px 0px;
	padding: 10px;
	background: #fff7f0;
	width: 100%;
	box-sizing: border-box;
}
.pantalla_compartida {
	display: none;
	border: 1px solid #cdcdcd;
	clear: both;
	margin: 0 1px;
}
.pantalla_compartida video {
	width: 100%;
}
.pantalla_compartida .volver_conversacion {
	position: absolute;
	left: 50%;
	padding: 7px 11px;
	margin-top: 9px;
	transform: translate(-50%, 0);
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 7px;
	z-index: 1;
}
.pantalla_compartida .volver_conversacion a {
	color: white;
	cursor: pointer;
}
.chat_fuera_servicio {
	border: 1px solid #cdcdcd;
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
}
.chat_fuera_servicio p {
	padding: 10px;
}
.chat_fuera_servicio p:first-child {
	background-color: #fff7f0;
	border-bottom: 1px solid #cdcdcd;
}

/* BIBLIOTECAS */
.panel {
	background-color: #fff;
	border: 1px solid transparent;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	display: block;
	font-family: "Roboto",arial,san-serif;
	margin-bottom: 20px;
	width: 100%;
	overflow: hidden;
}
.panel-primary > .panel-heading {
	background-color: #ef520d;
	border: 1px solid #ef520d;
	color: #fff;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	display: table;
	padding: 10px 5%;
	width: 90%;
}
.panel-heading .nombre {
	float: left;
	width: 95%;
}
.huge {
	font-size: 26px;
	text-transform: uppercase;
}
.panel-footer {
	background-color: #f1f1f1;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-color: #222222 #c1c1c1 #c1c1c1;
	border-style: solid;
	border-width: 1px;
	padding: 5px 15px;
}
.panel-footer div {
	margin: 8px 0;
}
.panel-footer .pull-left {
	width: 82%;
	line-height: 1.4em;
}
.panel-footer .pull-right {
	margin-left: 1%;
	width: 17%;
}
.panel-footer span {
	color: #222222;
}
.panel-footer .pull-right i , .panel-footer .pull-left i {
	padding: 0 5px;
}
.pull-left {
	float: left;
}
.pull-right {
	float: right;
}
.cat-title {
	margin: 0 0 20px;
}
.cat-title.coordinacion {
	margin: 35px 0;
}
.bloques a .nombre {
	color: #222;
}
.cat-title h3, .cat-title h2, .cat-title h1 {
	background: rgba(0, 0, 0, 0) url("../img/title_icon.png") no-repeat scroll 0 0;
	color: #ef520d;
	padding-left: 50px;
	text-transform: uppercase;
}
.widget{
	margin-bottom: 40px;
}
.cat-list ul li:before {
	content: "\f061";
	font-family: "fontAwesome";
	color:#222222;
	font-size: 12px;
	margin-left: -35px;
	padding-right: 20px;
}
.cat-list ul li{
	color:#222222;
	margin: 20px 0 20px 50px;
	list-style: none;
}
.cat-list ul li a{
	color:#222222;
}
.cat-list ul li:hover:before, .cat-list ul li a:hover {
	color:#ef520d;
}
/* Buscador sencillo */

.buscar {
	width:76%;
	display:inline-block;
	float:left
}
.buscar a, .buscar + a {
	margin:0;
	text-align:center;
	width:16%;
	float:right;
}
.buscar fieldset {
	border:none;
	padding:0px;
	display: block;
}
.buscar input[type="text"]{
	width:74%;
	height:22px;
	border:1px solid #cdcdcd;
	outline:none;
	margin-right: 15px;
	padding:8px 10px 10px 10px;
	background:#fff7f0;
}

/* Buscador avanzado */

.ba_form .grupo-avanzado {width: 100%; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px;}
.ba_form input[value],.ba_form select, .ba_form textarea{
	font-size:14px;
	color:#222222;
	line-height: 16px;
}
.ba_form input[type="text"]{
	height:18px;
	border:1px solid #cdcdcd;
	outline:none;
	padding:10px ;
	background-color:#fff7f0;
	float: left;
}
.ba_form input[type=checkbox]{ margin: 0;}
.ba_form select {
	border:1px solid #cdcdcd;
	outline:none;
	padding:10px;
	background-color:#fff7f0;
}

.ba_form ul.temas{
	margin: 10px 0;
	color: #222;
	list-style: none;
}
.ba_form ul.temas li{
	font-size: 14px;
	width: 32%;
	margin: 8px 10px 8px 0;
	float:left;
}
.ba_form ul.temas li label{
	margin-left: 10px;
}
.ba_form .small.button.default {
	margin:20px 0px;
	max-width:60%;
}
.ba_form .ba_title{
	padding: 15px 0 10px 0;
	display: block;
}
.ba_form span{
	padding: 15px 0 10px 0;
	display: block;
}

/* Tabla Preguntas */
.tabla{margin-top: 35px; display:block}
table {
	border-spacing:0px;
	width:100%;
	border:1px solid #e1e1e1;
}

thead {
	background-color:#222222;
	color: #fff;		
}

tbody tr {
	border-bottom: 1px solid #e1e1e1;
}
tbody tr td {
	border-right:1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
}

tbody tr td:last-child {
	border-right:none;
}

thead th h6 {
	background-color:#222222;
	padding: 9px 10px;
	text-align:center;
	color:#ffffff;
	text-transform:uppercase;
}

tbody td {
	font-family:'Roboto',sans-serif;
	font-size:14px;
	color:#222;
	padding:0 15px;
}

tbody tr a.button {
	display: block;
	overflow: hidden;
	white-space: nowrap
}

.tabla .head_question {
	background-color:#222222;
	color: #fff;
	display: block
}
.tabla .head_question span {
	background-color:#222222;
	padding: 14px 10px;
	text-align:center;
	color:#ffffff;
	text-transform:uppercase;
	display: inline-block;
}
.tabla .head_question span.date {width: calc(15% - 20px);}
.tabla .head_question span.content {width: calc(85% - 30px);}
.tabla .question {display: table; color:#222222; border-top: 1px solid #e1e1e1;border-bottom: 1px solid #e1e1e1;width:100%;min-height:58px;}
.tabla .question span{ color:#222222;border-left: 1px solid #e1e1e1;border-right: 1px solid #e1e1e1;}
.tabla .question span:first-child{text-align: center;border-right: none;}
.tabla .question span:last-child{text-align: center;border-left: none;}
.tabla .question span.date, .question span.info ,.question span.boton {display: table-cell;vertical-align: middle;}
.tabla .question span.date {width:15%;}
.tabla .question span.info{padding: 15px;}
.tabla .question span.boton{width: 12%;}
.tabla .question span.boton a{margin: 0;}

/* PAGINATION */
.paginacion{
	margin: 0 auto;
	text-align: center;
	width: 100%;
}
ul.pagination {
	display: block;
	height: 24px;
	padding-top:20px;
	border-top:1px solid #e1e1e1;
}


ul.pagination li {
	float: left;
	display: block;
	color: #ffffff;
	font-size: 12px;
	
}

ul.pagination li a ,ul.pagination li span{
	display: block;
	padding: 5px 8px 4px 8px;
	color: #ffffff;
	background-color:#ef520d;
	font-family:'Roboto',sans-serif;
	box-shadow: 0px 3px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:0px 3px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 3px rgba(0, 0, 0, 0.2);
	cursor:pointer;
	margin-left: 10px;
}

ul.pagination li.current a, ul.pagination li:hover a, ul.pagination li a:focus {
	background-color:#222222;
	border-bottom:none;
	color:#ffffff;
}

ul.pagination li.unavailable a {
	cursor: default;
	color: #ffffff;
}

ul.pagination li.unavailable:hover a, ul.pagination li.unavailable a:focus {
	border-bottom: none;
}

.bchat {margin:10px 0 20px 0}
.bchat span {
	background:rgba(0, 0, 0, 0) url("../img/bchat_icon.png") no-repeat scroll left 4px;
	padding: 0 0 10px 20px;
	border-bottom:1px solid #e1e1e1;
	display:block;
	color:#222222;
	margin-bottom: 10px;
}
.bchat a{
	color:#ef520d;
}

/* buscador avanzado */
.baselect{width: auto; float:left}

.visible{display: block}

/* PREGUNTA ESTANDAR */
blockquote {
	color:#222222;
	font-family:"Roboto", Arial, sans-serif;
	font-style:italic;
	font-weight: bold;
	padding:0px 0px 0px 0px;
	display:block;
	margin:0px;
	margin-bottom: 40px;
}

blockquote.regular {
	padding-left:20px;
	border-left:4px solid #e1e1e1;
	font-size:18px;
	line-height:26px;
}

cite {
	color:#ef520d;
	font-style:italic;
	display:block;
	text-align:right;
	margin: 10px 0
}

dl.informacion {
	border: 1px solid #dddddd;
	margin: 30px 0;
	text-align: left;
	color:#222222;
	position: relative
}
dl.informacion dt {
	font-size: 14px;
	line-height: 20px;
	min-height: 24px;
	font-weight: 500;
	background-color:#f1f1f1;
	padding: 8px;
	border-bottom: 1px solid #dddddd;
}
dl.informacion dd {
	padding: 5px 16px;
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 8px 0;
}
dl.informacion dd p {
	margin:8px 0 0 0;
	font-size: 14px
}
dl.informacion dd p span {
	display: block;
	font-size: 14px
}
dl.informacion dd ul {
	margin-top: 3px;
	list-style-type: none
}

/* ENCUESTA */
.en_form .grupo-avanzado {width:100%;display:inline-block;margin: 10px 0}
.en_form .grupo-avanzado input {float:left;}
.en_form input[value],.en_form select, .en_form textarea, .en_form label{
	font-size:14px;
	color:#222222;
	line-height: 16px;
}
.en_form input[type="radio"]{
	height:20px;
	border:1px solid #cdcdcd;
	outline:none;
	padding:10px ;
	background-color:#fff7f0;
	float: left;
	margin-right: 10px;
}
.en_form textarea{
	width:calc(100% - 30px);
	border:1px solid #cdcdcd;
	outline:none;
	margin:10px 0px 10px 0px;
	padding:10px;
	background-color:#fff7f0;
	min-height:180px;
	font-family:Arial, Helvetica, sans-serif;
	color:#222222;
}
.en_form .grupo-avanzado label {
	float: left;
	width: 100%;
	word-wrap: normal;
	overflow: hidden;
	margin-bottom: 10px;
}
.en_form .grupo-avanzado.inline label {
	width: auto;
	margin-right: 30px;
}

/* RESUMEN CONSULTA*/
.resumen_consulta{
	background-color: #e1e1e1;
	border: 1px solid #cdcdcd;
	color: #222222;
	font-size: 14px;
	line-height: 16px;
	padding: 16px;
}
.resumen_consulta span{
	width: 150px;
	display: block;
}
.resumen_consulta .consulta, .resumen_consulta .email, .resumen_consulta .nic, .resumen_consulta .lengua, .resumen_consulta .fecha{
	display: block;
	margin-bottom: 10px;
}

.responsive-menu{display: none;}

.responsive-menu select {
	width:80%;
	margin:20px 0px 20px 0px;
	-webkit-appearance: button;
	-webkit-padding-end: 30px;
	-webkit-padding-start: 40px;
	-webkit-user-select: none;
	background-image: url(../img/drop_bckg.png);
	background-position:10px 0px;
	background-repeat: no-repeat;
	border: 1px solid #e1e1e1;
	border-top:4px solid #ef520d;
	color: #999;
	font-size:14px;
	font-family:'Roboto', serif;
	overflow: hidden;
	padding-top: 7px;
	padding-bottom: 7px;
	padding-right:30px;
	padding-left:30px;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor:pointer;
	text-transform:capitalize;
	outline:none;
	display: block;
}
.responsive-idiomas{
	display: none;
	background-color: #555;
	
}
.responsive-idiomas li{
	width: 16%;
}

.swiper-container {
	border-top: 11px solid #222222;
	border-bottom: 11px solid #222222;
}

.swiper-container .swiper-wrapper .text {
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 5px;
	padding: 20px 20px 5px; 
	position: absolute;
	top: 20px;
	left: 30px;
}

.swiper-container .swiper-wrapper .text h2 {
	color: #fff;
	font-size: 26px;
	text-shadow: 0 0 8px rgba(0,0,0,0.2);
	text-transform: uppercase;
}

.swiper-container .swiper-wrapper .text p {
	color: #fff;
	font-size: 55px;
	line-height: 60px;
	padding-left: 60px;
	padding-top: 10px;
	text-shadow: 0 0 8px rgba(0,0,0,0.2);
	text-transform: uppercase;
}

.swiper-container .swiper-wrapper .swiper-slide {
	background-color: #ef520d;

}

.swiper-container .swiper-wrapper .swiper-slide img {
	max-width: 100%;
	max-height: 100%;
}

div.error {
	margin: 25px;
}

ul.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	padding: 10px 16px;
	margin: -20px 0 20px;
	list-style: none;
	background-color: #fff;
}

ul.breadcrumb li {
	display: flex;
	color: #222222;
}

ul.breadcrumb li+li:before {
	padding: 0 8px;
	content: "/";
}

/* RECURSOS EN LINEA */

.buscar-recursos {
	margin: 20px 0 15px;
}

.buscar-recursos fieldset {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 25px;
	margin-bottom: 25px;
}

.buscar-recursos fieldset a {
	margin: 0;
	text-align: center;
	max-height: 23px;
	padding: 5px 25px;
}
.buscar-recursos fieldset input[type="text"] {
	flex-grow: 1;
	height: 22px;
	border: 1px solid #cdcdcd;
	padding: 8px 10px 10px 10px;
	background-color: #fff7f0;
}

.explora-materias {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	gap: 5px;
	margin-bottom: 40px;
}

.explora-materias .materia {
	background-color: #ef520d;
	text-align: center;
	min-height: 100px;
}

.explora-materias .materia > a {
	display: inline-block;
	width: 100%;
	height: 100%;
	padding: 10px;
	box-sizing: border-box;	
}

.explora-materias .materia img {
	display: block;
	margin: 0 auto 7px;
}

.explora-materias .materia span {
	color: white;
	font-size: 0.8em;
	font-weight: bold;
}

.explora-materias .materia .tooltiptext {
	bottom: auto;
	left: auto;
	right: auto;
	min-width: 100%;
}

.explora-materias .materia .tooltiptext span {
	background-color: #fff;
	min-width: calc(100% - 32px);
	border-radius: 0;
}

.explora-materias .materia .submateria {
	text-align: left;
	font-weight: normal;
}

.explora-materias .materia .submateria p {
	margin-bottom: 5px;
}

.explora-materias .materia .submateria a {
	color: #222;
}

.explora-materias .materia .submateria a:hover {
	font-weight: bold;
}

.explora-materias .materia .submateria a::before {
	 display: block;
	 font-weight: bold;
	 height: 0;
	 overflow: hidden;
	 visibility: hidden;
}

.novedades ul li.recurso {
	display: flex;
	margin: 20px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #f1f1f1;
	column-gap: 50px;
	row-gap: 10px;
}

.novedades ul li.recurso div p {
	margin-bottom: 0;
}

.novedades ul li.recurso div p span {
	color: #222;
	font-size: 1.1em;
}

.novedades ul li.recurso div p span.nombre {
	font-weight: bold;
}

.novedades ul li.recurso div p.fecha {
	font-style: italic;
}

.novedades ul li.recurso div.visitar-web {
	margin-left: auto;
}

.novedades ul li.recurso div.visitar-web a {
	margin: 0;
	text-align: center;
	white-space: nowrap;
}

.otros-enlaces {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
	margin-top: 45px;
}

.otros-enlaces .enlace {
	width: 240px;
	height: 100px;
	background-color: #ef520d;
	text-align: center;
	padding: 15px 10px 5px;
}

.otros-enlaces a .enlace img {
	display: block;
	margin: 5px auto 15px;
}

.otros-enlaces a .enlace span {
	color: white;
	font-size: 0.8em;
	font-weight: bold;
	text-transform: uppercase;
}

.ayuda-recursos div.cat-title:not(:first-child) {
	margin-top: 30px;
}

.ayuda-recursos h3 {
	margin-bottom: 10px;
	font-weight: bold;
	font-size:16px;
	line-height:20px;
}

.ayuda-recursos ul {
	list-style-type: none;
	color: #222;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 20px;
}

.sugerencia_form label {
	padding: 2px 0;
	font-size: 14px;
	color: #222222;
	display: block;
}

.sugerencia_form input[type="text"] {
	width: 90%;
	height: 20px;
	border: 1px solid #cdcdcd;
	outline: none;
	margin: 10px 0px 10px 0px;
	padding: 10px;
	background-color: #fff7f0;
}

.alertas_form label {
	padding: 2px 0;
	font-size: 14px;
	color: #222222;
	display: block;
}

.alertas_form input[type="text"] {
	width: 90%;
	height: 20px;
	border: 1px solid #cdcdcd;
	outline: none;
	margin: 10px 0px 10px 0px;
	padding: 10px;
	background-color: #fff7f0;
}

.alertas_form .lista_materias {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	width: 90%;
	border: 1px solid #cdcdcd;
	padding: 10px;
	margin: -5px 0 15px;
}

.alertas_form .lista_materias div {
	padding: 5px 0;
}

.alertas_form .lista_materias div label {
	display: inline;
	margin-left: 7px;
}

.encabezado-materia {
	display: flex;
	flex-direction: column;
	background-color: #ef520d;
	align-items: center;
	font-size: 2em;
	padding: 15px;
	margin-bottom: 25px;
	color: #fff;
}

.submaterias-materia {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 5px; 
	margin-bottom: 25px;
}

.submaterias-materia a {
	background-color: #ef520d;
	text-align: center;
	font-weight: bold;
	font-size: 0.9em;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.submaterias-materia a.seleccionada {
	background-color: #222222;
}

.novedad-recurso-materia, .recurso-submateria, .recurso-encontrado {
	border-bottom: 1px solid #f1f1f1;
	margin-bottom: 15px;
	display: flex;
	column-gap: 50px;
}

.novedad-recurso-materia .botones, .recurso-submateria .botones, .recurso-encontrado .botones {
	margin-left: auto;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.novedad-recurso-materia .botones div a, .recurso-submateria .botones div a, .recurso-encontrado .botones div a {
	display: flex;
	justify-content: center;
	white-space: nowrap;
	margin-top: 0px;
}

.novedad-recurso-materia .info p, .recurso-submateria .info p, .recurso-encontrado .info p {
	margin-bottom: 10px;
}

.novedad-recurso-materia .info .nombre, .recurso-submateria .info .nombre, .recurso-encontrado .info .nombre {
	font-size: 1em;
	font-weight: bold;
}

#listadoRecursos .spinner {
	color: #222;
}

#listadoRecursos .sin-resultados {
	border-top: 1px solid #e1e1e1;
	padding-top: 10px;
	margin-top: 10px;
}

.info-busqueda {
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #f1f1f1;
	padding: 10px 0;
	margin-bottom: 15px;
	display: flex;
	gap: 5px;
}

.info-busqueda p {
	margin-bottom: 0;
}

.info-busqueda .ordenacion {
	margin-left: auto;
	display: flex;
	column-gap: 10px;
}

/* Buscador avanzado de recursos en línea */

.formBuscadorAvanzadoRecursos fieldset {
	display: grid;
	grid-template-columns: 4em 12em auto;
	gap: 10px;
}

.formBuscadorAvanzadoRecursos input[type="text"], .formBuscadorAvanzadoRecursos select {
	border: 1px solid #cdcdcd;
	padding: 10px;
	background-color: #fff7f0;
	height: 40px;
	width: 100%;
	box-sizing: border-box;
}

/* FIN RECURSOS EN LINEA */

div.mapa-web > ul { padding-left: 10px; }
div.mapa-web > ul ul { padding-left: 30px; }
div.mapa-web > ul li:first-of-type { margin-top: 15px; }
div.mapa-web > ul li { list-style-type: disc; margin-bottom: 15px; color: #ef520d; }
div.mapa-web > ul li li { list-style-type: circle; }

.g-recaptcha { padding: 2em 0px 0px; }

#volverOculto { display: none; }

@media only screen and (max-width : 1036px) {
	.idiomas{display:none;}
	h1 {font-size: 24px; line-height: 34px;}
	h1.page-title{font-size: 16px; line-height: 26px; padding: 0;text-align: center;}
	.page{margin: 20px 0;}
	header { margin-bottom: 88px; }
	header nav.bottom-stripe {height: 165px;}
	header nav.bottom-stripe .menu {width: 100%; min-width: auto; height: calc(100% - 80px); background-color:#222; color: #fff; margin: 0; position: fixed; overflow: auto;}
	header nav.bottom-stripe > div.container {display: inline;padding: 0;margin: 0;}
	header nav.bottom-stripe > div.container > a {display:none;}
	.menu_bar {display:block;width:100%;background-color:#222;position: fixed; top: 0;z-index: 1; height: 90px;}
	.menu_bar .bt-menu {float:left;height: 82px;display:block;padding:10px 0 10px 10px;background-color:#222; color:#fff;text-decoration:none;font-weight: bold;font-size:25px; -webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow: hidden;}
	.menu_bar span {float:left;font-size:36px;margin-right: 10px;}
	ul.main-nav {float:left; color:#fff;margin-bottom: 56px;margin-top:10px;}
	ul.main-nav li { width:100%;display: block;color:#fff;}
	ul.main-nav li a {color:#fff;text-align: left;background: none;display: block;}
	ul.main-nav li a span{text-align: left;font-size: 16px;line-height: 18px;background: none;color:#fff;}
	ul.main-nav li a i {display: none;}
	header nav ul.main-nav li:hover .sub-hide {display: none; float: left; box-shadow: none; }
	header nav ul.main-nav li .sub-hide {width: 100%;position: relative; }
	header nav ul.main-nav li .sub-hide li a {margin-left:20px;}
	header nav ul.main-nav li .caret {float: right; }
	header nav .menu ul li {display:block;float:left;border-bottom:1px solid rgba(255,255,255, .3);}
	header nav .menu ul li.submenu {border-top:1px solid rgba(255,255,255, .3);}
	header nav .menu ul li a {color:#fff;display:block;text-decoration:none;padding:20px;}
	header nav .menu ul li.active a {color:#ef520d;font-weight: bold;}
	header nav {width:80%;height:100%;left:-100%;margin:0;position: fixed; z-index: 1;top:82px;}
	#da-slider, .nM {display:none!important;}
	header div.logo_mobile {margin: 4px auto; text-align: center; display: block; width: 216px;}
	header div.logo_mobile a { display: flex;}
	header div.logo_mobile .logo {width: 220px;height: 80px;float: left;background-size: contain;background-repeat: no-repeat;z-index: 99;}
	header div.logo_mobile .logo.es { background-image: url(../img/logo_nm_cas.png); }
	header div.logo_mobile .logo.ca { background-image: url(../img/logo_nm_cat.png); }
	header div.logo_mobile .logo.eu { background-image: url(../img/logo_nm_eus.png); }
	header div.logo_mobile .logo.gl { background-image: url(../img/logo_nm_gal.png); }
	header div.logo_mobile .logo.va { background-image: url(../img/logo_nm_val.png); }
	header div.logo_mobile .logo.en { background-image: url(../img/logo_nm_eng.png); }
	header div.logo_mobile #logo{margin:5px 0;}
	header div.logo_mobile #logo h2, header div.logo_mobile #logo h3{color:#fff;}
	header div.top-stripe .msup .derecha-top { display: block; }
	header div.top-stripe .msup .servicios { z-index: 2; position: fixed; right: 0; margin: 35px 15px; }
	header div.top-stripe .msup .redes_sociales { z-index: 2; position: fixed; right: 0; margin: 6px 12px; }
	.container.header{padding-left:0px;padding-right:0px;}
	.container.header span.nav-title{font-size: 12px;}
	.container{padding-left:20px;padding-right:20px; width: calc(100% - 40px);max-width : 919px; min-width: 260px;}
	.block {width: 100%;float: left;}
	.left-menu {width: 100%; float: left;}
	.contact_form, .contact_form fieldset{margin:0!important;}
	.one_half, .one_third, .two_third{width: 100%;}
	.panel-footer .pull-left {width: 79%;}
	.panel-footer .pull-right {margin-left: 1%; width: 20%;}
	.logos {width: 100%;text-align: center;}
	.logos img {float: none;}
	.bloques .nombre .huge{line-height: 24px;}
	div#logo {max-width:197px!important;}
	#logo h3{font-size: 16px;}
	.phone {width: 100%;display: block;float:left; margin: 0;}
	.phone a{margin: 10px 0; padding: 0 20px;}
	.contact_form .grupo-email {width: 100%; float: left;}
	.huge{font-size: 18px;}
	thead th:first-child, tr td:first-child, .head_question{display:none!important;}
	.question{display: block;position: relative;padding: 10px;border: 1px solid #e1e1e1;}
	.question h5{margin-bottom: 0;}
	.question span{ border: none!important;}
	.question span.info{width: calc(100% - 20px);display: inline-block; clear: both; margin-bottom: 50px;}
	.question span.date{width: 50%!important;position: absolute; bottom: 24px; left: 20px;text-align: left!important;}
	.question span.boton{width: 50%!important;position: absolute; bottom: 20px; right: 20px; text-align: right!important;}
	.question span.boton a{margin: 0;}
	.responsive-idiomas {display: inline-block; position: fixed; bottom: 0; left: 0; width: 100%;}
	.ba_form select{width:calc(50% - 16px);margin-bottom:15px;}
	.ba_form input[type=text]{width: calc(100% - 40px);margin-bottom:15px;}
	.ba_form input[type=text].fecha{width:calc(42% - 16px);margin: 0;}
	.ba_form .grupo-avanzado label:first-child{display: block; clear: both; width: 100%;}
	.ba_form .grupo-avanzado > label {float: left; font-size: 12px;}
	.ba_form .grupo-avanzado .operador_y { margin: 0 12px; }
	.ba_form #operador{width: 20%;}
	.ba_form ul.temas li{width: calc(100% - 16px);}
	.buscar input[type="text"]{width:68%;}
	a.button.large{width: calc(100% - 20px); text-align: center;}
	a.avanzado.button {float: left; width: auto; margin: 15px 0 0 0;}
	.tabla .question {width:95%;}
	ul.breadcrumb { margin: -5px 0 20px; row-gap: 5px; }
	.alertas_form .lista_materias { grid-template-columns: 1fr 1fr; }
	footer { padding: 28px 0 8px; }
	.footer-nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px 50px; }
	#logoMinisterioCabecera { display: none; }
	#logoMinisterioPie { display: inline; }
	.home-blog.one_third{
		width: 32%;
		float: left;
		margin-right: 2%;
	}

	.home-blog.one_third.last{
		margin-right: 0;
	}
}

@media only screen and (max-width : 700px) {
	.buscar input[type="text"] {width: 63%;}
	header { margin-bottom: 110px; }
	header div.top-stripe .msup .servicios { z-index: 2; position: fixed; top: 33px; }
	header div.top-stripe .msup .redes_sociales { z-index: 2; position: fixed; top: 78px; left: 17px; margin: 0; }
	.menu_bar { height: 112px; }
	ul.main-nav { margin-top: 30px; }
	ul.pagination li a,
	ul.pagination li span{
	min-height:15px;
	align-items:center;}
	.explora-materias { grid-template-columns: 1fr 1fr 1fr; }
	.submaterias-materia { grid-template-columns: 1fr 1fr; }
	.novedad-recurso-materia, .recurso-submateria, .recurso-encontrado { flex-direction: column; }
	.novedad-recurso-materia .botones, .recurso-submateria .botones, .recurso-encontrado .botones { width: 100%; }
	.info-busqueda { flex-direction: column; }
	.info-busqueda .ordenacion { margin-left: 0; }
	.novedades ul li.recurso { flex-direction: column; }
	.novedades ul li.recurso .visitar-web { width: 100%; display: flex; flex-direction: column; }
	.formBuscadorAvanzadoRecursos fieldset { grid-template-columns: 30% 70%; }
	.formBuscadorAvanzadoRecursos fieldset div:nth-child(2) { grid-column-start: span 2; }
	.formBuscadorAvanzadoRecursos fieldset div:nth-child(3n+0) { grid-column-start: span 2; }
	.alertas_form .lista_materias { grid-template-columns: 1fr; }
}

@media only screen and (max-width : 360px) {
	.servicios span { display: none; }
	.explora-materias { grid-template-columns: 1fr 1fr; }
	.formBuscadorAvanzadoRecursos fieldset { grid-template-columns: 100%; }
	.formBuscadorAvanzadoRecursos fieldset div:nth-child(2) { grid-column-start: auto; }
	.formBuscadorAvanzadoRecursos fieldset div:nth-child(3n+0) { grid-column-start: auto; }
}

/* --- Estilos para respuesta detalle consulta --- */


/* ====== DETALLE PÚBLICO: FIX HTML RICO (post-more) ====== */

/* Base */
.post-more,
.post-more * {
  font-size: 16px;
/*   line-height: 20px; */
  color: #222222;
}

/* Evita cursivas heredadas (por ejemplo de blockquote) */
.post-more,
.post-more blockquote {
  font-style: normal !important;
  font-weight: 400 !important;
}

/* Negrita */
.post-more b,
.post-more strong {
  font-weight: 700;
}

/* Que los spans no “hereden” colores globales */
.post-more span {
  color: inherit;
  font-weight: normal;
}

/* Sub/sup */
.post-more sup,
.post-more sub {
  font-size: 0.75em !important;
  line-height: 1 !important;
  color: inherit !important;
}

.post-more sup {
  vertical-align: super !important;
  position: static !important;
  top: auto !important;
}

.post-more sub {
  vertical-align: sub !important;
  position: static !important;
  bottom: auto !important;
}

/* por si dentro del sup/sub hay spans o fonts */
.post-more sup *,
.post-more sub * {
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
.post-more sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
.post-more sup { top: -0.5em; }
.post-more sub { bottom: -0.25em; }

.post-more sup *,
.post-more sub * {
  font-size: inherit !important;
  line-height: inherit !important;
}

/* ===== LISTAS (esto es lo importante) =====
   Usamos padding-left (no margin-left) para que NO se “recorte” el marker.
*/
.post-more ul,
.post-more ol {
  margin: 0 0 15px 0 !important;
  padding-left: 40px !important;
  list-style: revert !important;
}

/* Forzamos marker visible aunque haya resets */
.post-more ul > li,
.post-more ol > li {
  display: list-item !important;
  list-style-position: outside !important;
  margin: 0.25em 0;
}

/* Forzamos tipo en el LI (por si el reset lo anuló ahí) */
.post-more ul > li { list-style-type: disc !important; }
.post-more ol > li { list-style-type: decimal !important; }

/* Forzamos color del marker (por si se queda “blanco” o transparente) */
.post-more li::marker { color: #222222 !important; }

/* Párrafos/divs con separación */
.post-more p,
.post-more div {
  margin: 0 0 5px 0;
}

/* (Opcional) Si NO quieres respetar tabulaciones como texto plano, NO uses pre-wrap */
/* .post-more { white-space: pre-wrap; } */

/* === NICEDIT: normalizar <font> y tamaños dentro del público === */

/* Asegura que lo que va dentro del LI se vea */
.post-more li font,
.post-more li span {
  display: inline !important;
  visibility: visible !important;
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
}

/* Tamaño coherente: texto y marker iguales */
.post-more ul,
.post-more ol,
.post-more li {
  font-size: 16px !important;
/*   line-height: 20px !important; */
}

/* Marker del mismo tamaño que el texto */
.post-more li::marker {
  font-size: 16px !important;
  color: #222222 !important;
}

/* Mantén los markers dentro si había recorte (si ya te funcionaba) */
/* .post-more ul, */
/* .post-more ol { */
/*   margin: 0 0 15px 0 !important; */
/*   padding-left: 40px !important; */
/* } */
/* === FIX texto invisible en público (se ve al seleccionar) === */
.post-more,
.post-more * {
  color: #222222 !important;
  -webkit-text-fill-color: #222222 !important; /* por si hay text-fill raro */
  text-shadow: none !important;               /* por si lo “blanquean” con sombra */
}

/* Mantén spans/links sin herencias raras */
.post-more a { color: #222222 !important; }

/* === FIX: OL sale más “gorda” que el resto === */
.post-more ol,
.post-more ol > li,
.post-more ol > li * {
  font-weight: 400 !important;   /* normal */
}

/* pero si hay <strong>/<b> dentro, que siga en negrita */
.post-more ol b,
.post-more ol strong {
  font-weight: 700 !important;
}

/* === FIX tachado en HTML enriquecido (post-more) === */
.post-more del,
.post-more s,
.post-more strike,
.post-more span[style*="line-through"],
.post-more font[style*="line-through"] {
	 display: inline !important;
	visibility: visible !important;
	color: #222222 !important;
  text-decoration: line-through !important;
}
/* ==== FIX TACHADO (nicEdit usa <strike>) ==== */
.post-more strike, s, del {
  text-decoration: line-through !important;
  text-decoration-line: line-through !important;
}

/* Por si el reset de * { font-size:0 } deja a <strike> sin reparar */
.post-more strike {
  font-size: 16px !important;
/*   line-height: 20px !important; */
}
.post-more {
   white-space: NORMAL; /*break-spaces; */
}

/* === NORMALIZAR TAMAÑOS EN HTML RICO (forzar tamaño único) === */
/* ====== FORCE tamaño único en todo el HTML rico ====== */
.post-more { 
  font-size: 16px !important; 
}

.post-more * {
  font-size: inherit !important;
}

/* HTML viejo / nicEdit */
.post-more font,
.post-more font[size],
.post-more small,
.post-more big {
  font-size: inherit !important;
}

/* por si viene en inline style sin !important (esto ayuda si no trae !important) */
.post-more [style*="font-size"] {
  font-size: inherit !important;
}

.post-more p:empty,
.post-more div:empty {
  display: none !important;
}

.post-more p > br:only-child,
.post-more div > br:only-child {
  display: none !important;
}

.post-more ol > br,
.post-more ul > br {
  display: none !important;
}

.acciones {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre botones */
}

.buscar2 fieldset {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  padding: 0;
  margin: 0;
}

.buscar2 input[type="text"] {
  flex: 1;
}
