@import url(https://fonts.googleapis.com/css?family=Bevan);
@import url(bootstrap-override.css);

/***************************************************************
CUSTOM CSS
***************************************************************/

@fontface {
    font-family: "Old English Text MT";
    src: url(../fonts/old-english-text-mt.ttf), url(../fonts/old-english-text-mt.svg), url(../fonts/old-english-text-mt.otf);
}

body {
    transition: none !important;
    font-size: 16px;
}

html{
    background-color: #9e2521;
}

p{
    text-align: justify;
}

.sp-megamenu-parent >li >a {
    padding: 0 10px;
    font-size: 11px;
}

.page-header {
    margin: 0;
    border: none;
}

article.item.item-page {
    border: none;
}

#sp-top-bar{
    background-color: #9e2521 !important;
}

#sp-top-bar a{
    color: #fff;
}

#sp-top-bar .fa{
    color: #fff;
}

#sp-bottom {
	padding-top: 0;
	background-color: #ffffff;
}

#sp-bottom .sp-column {
	border: 4px double #9E2521;
	min-height: 175px;
	padding: 4%;
	background-color: #fff8f7;
	color: #000000;
	transition: 0.4s ease;
}

#sp-bottom .sp-column a {
	color: #000000;
}

#sp-bottom .sp-column a:hover {
	color: #9E2521;
	text-decoration: none;
}

#sp-bottom .sp-column:hover {
	background-color: #f6d1cb;
	transition: 0.4s ease;
}

.titulo3,
.cuerpo3 {
	display: block;
}

.titulo3 {
	font-size: 20px;
    line-height: 40px;
    padding-bottom: 5px;
}

.cuerpo3 {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 16px;
}



#sp-bottom1 h3 span.titulo3:before,
#sp-bottom2 h3 span.titulo3:before,
#sp-bottom3 h3 span.titulo3:before,
#sp-bottom4 h3 span.titulo3:before {
	display: block;
	content: ' ';
	background-image: url('../../../images/contacto.svg');
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-position: center;
	height: 50px;
	width: 50px;
	margin:0 auto;
}

#portal-cabecera h1 {
    text-align: center;
    padding-bottom: 25px;
}

#portal-cabecera {
    margin-bottom: 70px;
}

#portal-cabecera .portal-contenedor:hover {
    background-color: #f6d1cb;
    transition: 0.4s ease;
}

#portal-cabecera .portal-contenedor {
	border: 4px double #9E2521;
	min-height: 160px;
	padding: 4%;
	background-color: #fff8f7;
	color: #000000;
	transition: 0.4s ease;
}

#portal-cabecera span:before {
	display: block;
	content: ' ';
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-position: center;
	height: 50px;
	width: 50px;
	margin:0 auto 15px;
}

#portal-cabecera h3 {
    text-align: center;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 20px;
}

#portal-cabecera h3 a {
    display: block;
}

#portal-cabecera h3 a span{
    color: #000;
}

#pprofesor span:before {
	background-image: url('../../../images/profesor.svg');
}

#pintranet span:before {
	background-image: url('../../../images/intranet.svg');
}

#sp-bottom1 h3 span.titulo3:before,
#ppreinscripciones span:before {
	background-image: url('../../../images/formacion.svg');
}

#sp-bottom2 h3 span.titulo3:before,
#palumno span:before {
	background-image: url('../../../images/trabajo.svg');
}

#sp-bottom3 h3 span.titulo3:before {
	background-image: url('../../../images/instalaciones.svg');
}

#sp-bottom4 h3 span.titulo3:before {
	background-image: url('../../../images/contacto.svg');
}

#sp-bottom1 h3,
#sp-bottom2 h3,
#sp-bottom3 h3,
#sp-bottom4 h3 {
	text-align: center;
	margin-top: 5px;
}

.sp-module.plagesin {
    border: 4px double #9E2521;
    padding-top: 27px;
    background-color: #fceeec;
    width: 90%;
    margin: 5% 5% 0 5%;
}

.plagesin .gescur {
	margin-bottom: 10px;
	font-size: 18px;
	padding: 10px 28px;
	margin-top: 15px;
}

#sp-header{
    background-color: #ebdedd;
}

#sp-intro .sp-module-title {
	text-align: center;
	font-size: 20px;
	color: #9E2521;
}

#sp-logo h1 {
    font-family: "Old English Text MT", serif;
    font-size: 2.5em !important;
    text-shadow: 1px 0px 0px #9e2521;
}

#sp-page-title {
    height: 300px;
}

#sp-title {
	position: absolute;
	clip: rect(0,0,0,0);
}
.clipped {
    position: absolute;
    clip: rect(0,0,0,0);
}
#sp-page-title {
	margin-bottom: 2em;
}

h2, h3, h4, .sp-megamenu-parent >li >a {
    font-family: 'Bevan', cursive;
}

.ticker {
    border: 1px solid #e6c2c0;
}
.ticker ul {
    display: block;
    background-color: #e6c2c0;
    margin-bottom: 1em;
}
.ticker ul li {
    padding-left: 0.5em !important;
    list-style: disc;
}

.page-header h1 {
    font-family: 'Bevan';
}

.itemid-107 .entry-header,
.itemid-156 .entry-header {
    display: none;
}

.cat-children > h3 {
    display: none;
}

.cat-children div h3 {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 300;
    font-size: 16px;
    border: 1px solid #ddd;
    padding: 14px 4px;
    background-color: rgb(249,249,249);
}

.cat-children div.first h3 {
    border-bottom: none;
}

.cat-children div.last h3 {
    border-top: none;
}

.cat-children div:nth-child(odd) h3 {
    background-color: rgb(259,259,259);
}

.cat-children div h3:before {
    font-family: FontAwesome;
    content: "\f0da";
    margin-left: 4px;
    margin-right: 6px;
    color: #9e2521;
}

.cat-children div h3 a:hover {
    text-decoration: none;
}

.cat-children div h3 {
    transition: 0.5s;
} 

.cat-children div h3:hover {
    padding-left: 14px;
    background-color: #efefef;
    transition: 0.5s;
} 

.category-list .content-category table.category .cat-list-row0 a:before,
.category-list .content-category table.category .cat-list-row1 a:before {
    font-family: FontAwesome;
    content: "\f0da";
    margin-right: 5px;
}

.cat-list-row0 a:hover,
.cat-list-row1 a:hover {
    margin-left: 12px;
    text-decoration: none;
    transition: 0.5s;
}

.cat-list-row0 a,
.cat-list-row1 a {
    transition: 0.5s;
}

.category-module li {
    padding: 0;
}

div.article_slider div.slide_show_header h3{
    font-family: 'Bevan', cursive !important;
    color: #9e2521 !important;
}

a.mod-articles-category-title:hover {
    text-decoration: none;
}

.gescur {
    margin-bottom: 50px;
}

#sp-breadcrumb .sp-module {
    margin-top: 0;
}

/*#sp-intro{
    background: url(../images/class.jpg) no-repeat top left;
    background-size: contain;
    min-height: 625px;
}

#sp-intro p {
    margin-left: 310px;
}

.introduction h2{
    text-align: right;
}*/

.btn-ticker{
    float: right;
    margin-right: 1em;
}

.blog-featured{
    display: none !important;
}

article.item{
    border-top: 1px solid #e6c2c0;
}
article.item.leading-0, .no-line{
    border-top: none !important;
}

.form-box{
    width: 40%;
    float: left;
    margin-left: 5%;
}
.form-box input[type="text"], .form-box textarea{
    width: 100%;
}
.form-box textarea {
    height: 5em;
}
.blog .form-box{
    margin-left: 0;
    width: 100%;
}
.blog .not-show{
    display: none;
}
article .form-box{
    width: 50%;
    margin-left: 0;
}
article .not-show{
    width: 45%;
    margin-left: 5%;
}
.nota{
    font-size: 0.8em;
    color: #9e2521;
}
#sp-ticker .form-box{
    width: 100%;
    margin-left: 0;
}
#sp-ticker .not-show{
    visibility: hidden;
    display: none;
}
.entry-header.has-post-format{
    margin-left: 0 !important;
}

.btn-default {
    color: #fff;
    background-color: #9e2521;
    border-color: #89201d;
}

.sp-module ul{
    border: 1px solid #e6c2c0;
}

.sp-module ul >li >a {
    color: #9e2521;
    background-color: #ebdedd;
    padding-left: 0.3em;
}
.sp-module ul >li >a:hover {
    color: #000000;
    background-color: #e6c2c0;
    padding-left: 0.8em;
}

.sp-module ul >li >a:before {
    font-family: FontAwesome;
    content: "\f0da";
    margin-right: 8px;
}


/*p::first-letter { 
    font-size: 1.1em;
    color: #9e2521;
    font-weight: bold;
    font-family: "Old English Text MT", serif;
}*/


.slide_show_header h3 a {
    color: #9E2521 !important;
}

#limit {
    padding: 5px 6px;
}

.sp-module ul >li >a {
    line-height: 20px;
}

#sp-main-body {
    padding: 0 0 100px 0;
}

.certificados figure {
	width: 50%;
	margin: 0;
	padding: 0;
	float: left;
}

.certificados figure img {
	max-height: 190px;
	margin: 30px auto 10px;
}

.certificados figure figcaption {
	text-align: center;
}

body.itemid-109 {
	padding: 0;
}

.categories-list h3 {
	font-family: Roboto Condensed,sans-serif; 
}

.rowe {
	width: 100%;
	float: none;
	clear: both;
}

.rowe h2 {
	padding-bottom: 25px;
	margin-top: 0;
}

.rowe .span6e {
	width: 48%;
	padding: 1%;
	margin: 0;
	float: left;
}

 .gbs3 .rowe .A[type="text"] {
	width: 180% !important;
}

.post-format {
    display: none;
}

.contact-address span {
    display: block;
}

span.contact-name {
    color: #9E2521;
    display: block;
    padding-bottom: 30px;
}

.dl-horizontal dt {
    width: 50px;
    margin: 2px 0;
}

.dl-horizontal dt .fa {
    font-size: 24px;
    color: #9E2521;
}

.dl-horizontal dd {
    margin-left: 60px;
    padding-bottom: 5px;
}


.contact-form textarea {
    width: 260px;
    height: 130px;
}
.pull-right {
    width: 600px;
    padding-left: 20px;
}
.servicios{
    clear: both;
}
.lista_centrada{
    display: inline-flex;
}
.lista_centrada li{
    margin: 0 25px;
}
.copyright-block {    
    display: none;
}
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li a {
    background: #9E2521 !important;
    color: #fff !important;
    font-weight: 300;
    font-size: 16px;
    margin-top: 3px;
    height: 100%;
    display: block;
    text-align: center;
    line-height: 33px;
    padding: 0 20px;
}
.osgalery-cat-tabs{
    margin-top: 20px !important;
}
.mobile{
    margin-left: -5px !important;

}
/*************************************************
				DIFERENTES HEADERS
*************************************************/

.itemid-156 #sp-page-title {
    background-image: url(/images/headers/pasillo.jpg);
}

.itemid-101 #sp-page-title {
    background-image: url(/images/headers/oficina1.jpg);
}

.itemid-107 #sp-page-title {
    background-image: url(/images/headers/cartel.jpg);
}

/*************************************************
			IFRAMES PORTAL ANTIGUO
*************************************************/
iframe#blockrandom {
    height: 800px;
    border: none;
}

iframe header {
    display: none;
}

/*************************************************
				MEDIA QUERIES
*************************************************/

@media screen and (max-width: 1090px) {
	.container {
	    width: 100%;
	}
}

@media screen and (max-width: 1024px) {
	.rowe .span6e {
		width: 96%;
		padding: 1%;
		margin-top: 1%;
	}
}

@media screen and (max-width: 1320px) {
	#sp-intro {
		background: none;
		margin-top: 20px;
	}

	#sp-intro .sp-module .sp-module-title {
		margin: 0 0 2% 0; 
	}


	#sp-intro p {
	    margin-left: 0;
	}

	.introduction h2{
	    text-align: left;
	}


@media screen and (max-width: 720px) {
	#sp-intro {
		min-height: 250px;
	}

	.form-box {
		width: 100%;
		margin-left: 0%;
	}

	.gbs3 .rowe .A[type="text"] {
	width: 100% !important;
}

}