/* CSS Document */
body {
	font-family: 'Roboto', sans-serif;
}
header {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.navbar {
	background: #ff8700;
	width: 100%;
}
.logo {
	margin-bottom: .5rem;
	margin-top: .5rem;
}
.navbar .navbar-toggler img {
	width: 1.5rem;
}
.navbar ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: center;
}
.navbar ul li {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	color: #990b11;
	text-transform: uppercase;
	font-weight: 500;
	font-size: .98rem;
	position: relative;
}
.navbar li a {
	color: #990b11;
	display: block;
	padding: .9rem;
	width: 100%;
}
.navbar > div > ul > li::after {
	content: '|';
	display: block;
	padding-top: .9rem;
	padding-bottom: .9rem;
}
.navbar li:last-child::after {
	display: none;
}
/*menu 2 niveles*/
@media (min-width:992px) {
	.navbar ul li:hover > ul {
		display: block;
	}
	.navbar ul ul {
		display: none;
    	position: absolute;
		top: 100%;
		left: 0;
		transition: .5s;
	}
	.navbar ul ul li:hover > ul {
		top: 0;
		left: 100%;
	}
}
.navbar ul ul {
    z-index: 99999;
    width: 250px;
    background: #ff8700;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	padding-left: 0;
	transition: .5s;
}

.navbar ul ul li {
	border-bottom:1px solid #ffa653;
}
.navbar ul ul li a {
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 8px;
	transition: .5s;
}
.navbar ul ul li a:hover {
	background: #cf6e00;
	text-decoration: none;
}

.principal .col-md-3{
	padding-right: 0;
	
}
.principal .col-md-9{
	padding-left: 0;
	
}
.vermas {
	text-transform: uppercase;
	font-weight: 500;
	color: #2c3d46;
	font-size: 18px;
	text-decoration: underline;
}
.slick {
	white-space: 100%;
}
.slick .txt {
	position: absolute;
	background: #ff8700;
	color: #FFF;
	font-weight: 500;
	bottom: 2rem;
	right: 0;
	padding: 2rem 4rem;
}
.slick .slick-slide a {
	display: block;
	width: 100%;
	height: auto;
}
.slick .slick-slide img {
	width: 100%;
	display: block;
	max-width: 100%;
}
.slick-dots {
	display: flex;
	list-style: none;
	justify-content: flex-end;
	position: absolute;
	bottom: 1.8rem;
	right: 1rem;
}
.slick-dots li {
	margin: 5px;
	width: auto !important;
	height: auto !important;
}
.slick-dots li button {
	background: #e8a400;
	border:0;
	font-size: 0;
	height: 10px;
	width: 30px;
	transition: .5s;
	border-radius: 5px;
}
.slick-dots li.slick-active button {
	width: 90px;
}
.slick .slick-slide {
	position: relative;
}
.principal {
	margin-bottom: 14px;
}
.botonera {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: column;
}
.botonera .banner {
	height: 25%;
	box-sizing: border-box;
}
.botonera .banner a {
	height: 100%;
	text-align: center;
	background: rgba(135,23,25,1);
	background: -moz-linear-gradient(top, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(135,23,25,1)), color-stop(100%, rgba(77,13,15,1)));
	background: -webkit-linear-gradient(top, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
	background: -o-linear-gradient(top, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
	background: -ms-linear-gradient(top, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
	background: linear-gradient(to bottom, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#871719', endColorstr='#4d0d0f', GradientType=0 );
	color:#FFF;
	text-transform: uppercase;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 500;
	font-size: 24px;
	position: relative;
}

.botonera .banner a:hover {
	text-decoration: none;
}
.botonera .banner a::before,
.botonera .banner a::after {
	display: block;
	content: '';
	position: absolute;
	width: 0;
	height:0;
	transition: .5s;
	opacity: 0;
}
.botonera .banner a::before{
	border-top:5px solid #FFF;
	border-left:5px solid #FFF;
	top:0;
	left:0;
}
.botonera .banner a::after {
	border-bottom:5px solid #FFF;
	border-right:5px solid #FFF;
	bottom:0;
	right:0
}

.botonera .banner a:hover::before,
.botonera .banner a:hover::after {
	width:100%;
	height:100%;
	opacity: 1;
}

.slogan {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.slogan a {margin-right: 15px;}
.slogan h2 {
	color: #990b11;
	font-size: 1.2rem;
}

.botonera2 {
	display: flex;
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
}
.botonera2 .banner {
	width: calc(20% - 13px);
}
.botonera2 .banner a {
	background: #990b11;
	width: 100%;
	font-weight: 500;
	height: 100px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	color: #FFF;
	text-transform: uppercase;
	font-size: 24px;
	align-items: center;
	justify-content: center;
	position: relative;
}
.botonera2 .banner a:hover {
	text-decoration: none;
}
.botonera2 .banner a::before,
.botonera2 .banner a::after {
	display: block;
	content: '';
	position: absolute;
	width: 0;
	height:0;
	transition: .5s;
	opacity: 0;
}
.botonera2 .banner a::before{
	border-top:5px solid #FFF;
	border-left:5px solid #FFF;
	top:0;
	left:0;
}
.botonera2 .banner a::after {
	border-bottom:5px solid #FFF;
	border-right:5px solid #FFF;
	bottom:0;
	right:0
}

.botonera2 .banner a:hover::before,
.botonera2 .banner a:hover::after {
	width:100%;
	height:100%;
	opacity: 1;
}

.slick-dotted.slick-slider {
	margin-bottom: 0;
}
.bloque_noticias {
	margin-top: 3rem;
}
h3.titulo {
	color: #2c3d46;
	font-size: 24px;
	text-transform: uppercase;
	margin-bottom: 2rem;
}
.card {
	border:0 none;
	border-radius: 0;
}
.card .card-img-top {}
.card .card-body {
	padding-left: 0;
	padding-right:0;
}
.card h4.card-title {
	font-size: 24px;
	color: #8a181a;
	font-weight: 500;
	margin-bottom: 0;
}
.card h4.card-title a {
	color: #8a181a;
}
.card p.card-text {
	font-size: 15px;
	color: #1e1d1d;
	font-weight: 400;
}
.bloque_herramientas {
	margin-top: 3rem;
	margin-bottom: 3rem;
}
.botonera3 {
	display: flex;
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
}
.botonera3 .banner {
	width: calc(33.3% - 13px);
}
.botonera3 .banner a {
	background: #ff8700;
	width: 100%;
	font-weight: 500;
	height: 100px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	color: #FFF;
	text-transform: uppercase;
	font-size: 24px;
	align-items: center;
	justify-content: center;
	position: relative;
}
.botonera3 .banner a:hover {
	text-decoration: none;
}
.botonera3 .banner a::before,
.botonera3 .banner a::after {
	display: block;
	content: '';
	position: absolute;
	width: 0;
	height:0;
	transition: .5s;
	opacity: 0;
}
.botonera3 .banner a::before{
	border-top:5px solid #FFF;
	border-left:5px solid #FFF;
	top:0;
	left:0;
}
.botonera3 .banner a::after {
	border-bottom:5px solid #FFF;
	border-right:5px solid #FFF;
	bottom:0;
	right:0
}

.botonera3 .banner a:hover::before,
.botonera3 .banner a:hover::after {
	width:100%;
	height:100%;
	opacity: 1;
}



footer {
	background: #545454;
	width: 100%;
	padding-top: 2rem;
	padding-bottom: 2rem;
	margin-top: 4rem;
}
footer h4 {
	color: #FFF;
	font-size: 20px;
	margin-bottom: 0;
}
footer iframe {
	margin-bottom: 20px;
}
footer p {
	color: #FFF;
	font-size: 16px;
}
footer .icon {
	height: 20px;
	margin-right: 3px;
	vertical-align: middle;
}
footer a {
	color:#FFF;
}
footer form{
	width: 100%;
}
footer form input{
	width: 100%;
	padding:10px;
	margin-bottom: 10px;
	box-sizing: border-box;
}
footer form textarea {
	width: 100%;
	height: 90px;
}
footer form .wpcf7-submit {
	display: block;
	float: right;
	background: #FFF;
	text-transform: uppercase;
	padding:10px;
	width: 40%;
	text-align: center;
}
.archive.category h2.titulo {
	text-align: center;
	text-transform: uppercase;
	font-size: 30px;
	color: #2c3d46;
	margin-top: 3rem;
}
.entradas {
	margin-bottom: 3rem;
}
.navigation {
	text-align: center;
	width: 100%;
}
.navigation a {
	color: #8a181a;
	font-size: 20px;
}
.paginador {
	width: 100%;
	margin-top: 2rem;
}
.wp-pagenavi {
	width: 100%;
	text-align: center;
	
	
}

.wp-pagenavi a {
	color: #8a181a;
	border:1px solid #8a181a !important;
}
.container_category {
	margin-top: 2rem;
}
.container_category .text-center {
	text-transform: uppercase;
}
.container_category .text-center h3 {
	text-align: center;
	text-transform: uppercase;
	font-size: 30px;
	color: #2c3d46;
	margin-top: 3rem;
	
}
.breadcrumbs {
	margin-bottom: 1rem;
	border-top: #AFAFAF 1px solid;
	border-bottom: #AFAFAF 1px solid;
	padding-top: 3px;
	padding-bottom: 3px;
	font-size: 12px;
}
.breadcrumbs a {
	color: #8a181a;
}
.the_content,
.sidebar_noticias {
	margin-top: 3rem;
}
.sidebar_noticias a {
	color: #8a181a;
	display: block;
	margin-bottom: 1rem;
}
.sidebar_noticias a img {
	width: 100%;
	height: auto;
}
.sidebar_noticias h3 {
	font-size: 20px;
	margin-bottom: 0;
}
.sidebar_noticias p {
	font-size: 16px;
}
.the_content h3 {
	font-weight: bold;
	color: #2c3d46;
	font-size: 35px;
}
.the_content table {
	border-right: 1px solid #8a181a;
	border-bottom: 1px solid #8a181a;
	width: 100%;
}
.the_content table td {
	padding: 5px;
	border-left: 1px solid #8a181a;
	border-top: 1px solid #8a181a;
	font-size: 16px;
}
.the_content p {
	font-size: 16px;
	margin-bottom: 16px;
}
.the_content img {
	max-width: 100%;
	height: auto;
}
.the_content .btn {
	background: #8a181a;
	color: #FFF;
	text-transform: uppercase;
	float: right;
}
.the_content .data {
	text-align: center;
	font-size: 13px;
	border-bottom: 1px solid #8a181a;
	width: auto;
	display: inline-block;
	margin: 0 auto 1.5rem;
}
.the_content a {
	color: #8a181a;
}
.the_content .aligncenter {
	display: block;
	margin: 0 auto;
}
@media (max-width:991px) {
	.navbar {
		justify-content: flex-end;
	}
	.navbar ul {
		flex-direction: column;
		align-items: center;
	}
	.navbar > div > ul > li::after {
		display: none;
	}
	
/*menu 2 niveles*/

	.navbar ul li:hover > ul {
		display: block;
	}
	.navbar ul ul {
		transition: .5s;
		position: relative;
		width: 100%;
	}
	.slick .slick-slide {
		height: auto !important;
	}
	.slick .slick-slide a {
		flex-direction: column-reverse;
		display: flex;
	}
	.slick .txt {
		position: relative;
		bottom: auto;
		width: 100%;
		padding: 1rem 2rem;
	}
	
	.botonera .banner a {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	.botonera2 {
		flex-direction: column;
	}
	.botonera2 .banner {
		width: 100%;
	}
	.botonera2 .banner a {
		height: auto;
		padding-top: 1rem;
		padding-bottom: 1rem;
		background: rgba(135,23,25,1);
		background: -moz-linear-gradient(top, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
		background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(135,23,25,1)), color-stop(100%, rgba(77,13,15,1)));
		background: -webkit-linear-gradient(top, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
		background: -o-linear-gradient(top, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
		background: -ms-linear-gradient(top, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
		background: linear-gradient(to bottom, rgba(135,23,25,1) 0%, rgba(77,13,15,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#871719', endColorstr='#4d0d0f', GradientType=0 );
	}
	.bloque_noticias .noticias {
		flex-direction: column;
	}
	.bloque_noticias .col {
		width: 100%;
	}
	.bloque_noticias .card {
		display: flex;
		flex-direction: column;
		margin-bottom: 1rem;
	}
	.bloque_noticias .card .card-img-top {
		width: 100%;
		margin-right: 10px;
		height: auto;
	}
	.card .card-body {
		padding-top: 10px;
	}
	.botonera3 {
		flex-direction: column;
	}
	.botonera3 .banner {
		width: 100%;
	}
	.botonera3 .banner a {
		background: rgba(255,136,0,1);
		background: -moz-linear-gradient(top, rgba(255,136,0,1) 0%, rgba(191,100,2,1) 100%);
		background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,136,0,1)), color-stop(100%, rgba(191,100,2,1)));
		background: -webkit-linear-gradient(top, rgba(255,136,0,1) 0%, rgba(191,100,2,1) 100%);
		background: -o-linear-gradient(top, rgba(255,136,0,1) 0%, rgba(191,100,2,1) 100%);
		background: -ms-linear-gradient(top, rgba(255,136,0,1) 0%, rgba(191,100,2,1) 100%);
		background: linear-gradient(to bottom, rgba(255,136,0,1) 0%, rgba(191,100,2,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8800', endColorstr='#bf6402', GradientType=0 );
		height: auto;
		padding-top: 1rem;
		padding-bottom: 1rem;

	}
	.navbar-nav .sub-menu {
		display: none;
		background: #cf6e00;
	}
	.navbar-nav .sub-menu .sub-menu {
		background: #BF6601;
	}
	.navbar ul li {
		width: 100%;
		flex-direction: column;
		text-align: center;
	}
}
@media (max-width:768px) {
	.principal .row {
		flex-direction: column-reverse;
	}
	.principal .row .col-md-3 {
		padding-right: 15px;
	}
	.principal .row .col-md-9 {
		padding-left: 15px;
	}
}

.relacionadas {
	margin-top: 20px;
	margin-bottom: 30px;
	justify-content: center;
}
.relacionadas .col-md-3 a {
	width: 100%;
	background: #ff8700;
	text-align: center;
	text-transform: uppercase;
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	transition: .5s;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.relacionadas .col-md-3 a:hover {
	text-decoration: none;
	background: #cf6e00;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.niveles {}
.niveles h3 {
	text-transform: uppercase;
	font-weight: bold;
	color: #990b11;
	font-size: 28px;
}
.niveles h4 {
	text-transform: uppercase;
	font-weight: bold;
	color: #000000;
	font-size: 25px;
	padding-left: .5rem;
	border-left:2px solid #990b11;
}
.contenido_niveles {
	padding: 1rem;
	padding-bottom: .5rem;
	margin: 1rem 0 1.5rem;
	background: #ededed;
}
.contenido_niveles ul {
	padding-left: 2rem;
	list-style: none;
}
.contenido_niveles ul li {
	display: block;
	position: relative;
}
.contenido_niveles ul li::before {
	content: '☉ ';
	position: absolute;
	left: -1.3rem;
	color: #990b11;
}
.page-template-page-jornada .bloque_niveles {
	border: 2px #770A0C dashed;
	-webkit-box-shadow: 0px 0px 12px 0px rgba(99,99,99,0.45);
	-moz-box-shadow: 0px 0px 12px 0px rgba(99,99,99,0.45);
	box-shadow: 0px 0px 12px 0px rgba(99,99,99,0.45);
	padding: 0 2rem;
	margin-bottom: 2rem;
	margin-top: 1rem;
}
.page-template-page-jornada .the_content .btn {
	float: none;
	margin:0 8px 2rem 8px;
	transition: .5s;
	border:0 none;
}
.page-template-page-jornada .the_content .btn:hover {
	background:#770A0C;
}

.page-template-page-jornada .otros_enlaces {
	text-align: center !important;
	margin-bottom:2rem;
}
.page-template-page-jornada .row.seleccione-nivel {
	text-align: center;
	margin-top: -1.3rem;
}
.page-template-page-jornada .row.seleccione-nivel h3 {
	background: #FFF;
	display: inline-block;
	padding: 0 .5rem;
}
.principal .slick-prev {
	left: 0 !important;
	z-index: 2;
	width: 60px;
	height: 40px;
	background: #ff8700;
}
.principal .slick-next {
	right:0 !important;
	z-index: 2;
	width: 60px;
	height: 40px;
	background: #ff8700 !important;
}

.principal .slick-prev::before,
.principal .slick-next::before {
	opacity: 1 !important;
	display: block;
	height: 40px;
	font-size: 30px;
	line-height: 100%;
}
.child_page {
	margin-bottom: 1rem;
}