@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);
}

html{
    background-color: #9e2521;
}
p{
    text-align: justify;
}

#sp-top-bar{
    background-color: #9e2521 !important;
}
#sp-top-bar a{
    color: #fff;
}
#sp-top-bar .fa{
    color: #fff;
}

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

#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;
    background: url(../images/01.jpg) no-repeat center;
}*/

#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;
}

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

/*#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: 40px 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;
}



/*************************************************
				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; 
	}


	#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;
}

}