body {
	font-family: 'PT Sans', sans-serif;
	min-width: 320px;
}

.left {
	float: left;
}

.right {
	float: right;
}

.align-right {
	text-align: right;
}

.clear {
	clear: both;
}

.no-padding {
	padding: 0;
}

.icon {
	background-image: url(../img/icons-aplaga.png);
}

a {
	outline: none;
}

/* Header */
header {
	height: 122px;
}

#logo {
	display: inline-block;
	margin-top: 10px;
}

#main-menu {
	list-style: none;
	margin-top: 49px;
}

#main-menu > li {
	display: inline-block;
    height: 36px;
    line-height: 36px;
    margin-left: 24px;
    padding: 0 20px;
}

#main-menu > li > a {
	color: #0F719C;
	font-size: 20px;
}

#main-menu > li:hover > a {
	color: #099CDB;
}

#main-menu > li.active {
	background-color: #393186;
}

#main-menu > li.active a,
#main-menu > li.active:hover a {
	color: #fff;
	text-decoration: none;
}
/* End of header */

/* Slider */
#slider {
	height: 357px;
	width: 100%;
	position: relative;
	margin-bottom: 32px;
}

#slider-content {
	height: inherit;
	width: inherit;
}

.slider-elem {
	height: inherit;
	width: inherit;
	position: absolute;
	background-size: cover;
	background-position: center center;
	
	opacity: 0;
	transition: opacity 0.3s linear;
}

.slider-elem.active {
	opacity: 1;
}

#slider-controls {
	height: inherit;
	width: 1200px;
	position: absolute;
	left: 50%;
	margin-left: -600px;
	top: 0;
}

#slider-prev,
#slider-next {
	width: 44px;
	height: 68px;
	position: absolute;
	top: 144px;
	cursor: pointer;
}

#slider-prev {
	background-position: 0 0;
	left: 0;
}

#slider-next {
	background-position: -44px 0;
	right: 0;
}

#slider-toggle {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 21px;
	text-align: center;
	font-size: 0;
}

#slider-toggle a {
	width: 32px;
	height: 32px;
	display: inline-block;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	border-width: 2px;
	border-style: solid;
	border-color: rgba(255, 255, 255, 0.5);
	margin-left: 15px;
	margin-right: 15px;
	cursor: pointer;
}

#slider-toggle a:hover,
#slider-toggle a.active {
	opacity: 1.0;
	border-color: rgba(255, 255, 255, 1.0);
}

#slider-toggle a.active {
	background-color: #0E8DD2;
}

#slider-fb,
#slider-yt {
	display: block;
	width: 87px;
	height: 87px;
	background-size: cover;
	position: absolute;
	bottom: 0;
	opacity: 0.85;
}

#slider-fb {
	background-image: url(../img/icons/fb-icon.png);
	right: 153px;
}

#slider-yt {
	background-image: url(../img/icons/yt-icon.png);
	right: 66px;
}
/* End of slider */

/* Main */
#main {
	margin-bottom: 100px;
}

.not-front #main {
	margin-top: 40px;
}

#boxes {
	margin-bottom: 35px;
}

.box {
	position: relative;
	display: block;
	color: #fff;
	font-weight: bold;
	font-size: 22px;
}

.box:hover,
.box:active,
.box:visited {
	color: #fff;
}

.box:hover p {
	text-decoration: underline;
}

.box img {
	max-width: 100%;
}

.box .caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	background-color: rgba(14,141,210, 0.9);
	padding: 9px 23px;
}

.box .caption p {
	margin: 0;	
}

.title-section {
	position: relative;
}

fieldset.title {
	color: #555;
	border-top: 1px solid #555;
	display: block;
	width: 100%;
	padding: 0px 8.5%;
	margin-bottom: 28px;
}

fieldset.title legend {
	width: auto;
	border: none;
	margin: 0;
	padding: 0px 1.5%;
	font-size: 36px;
}

#fb-yt {
	position: absolute;
	bottom: 53px;
	right: 8px;
	font-size: 0;
}

#fb,
#yt {
	display: block;
	width: auto;
	height: 45px;
	line-height: 45px;
	padding-left: 50px;
	padding-right: 44px;
	background-repeat: no-repeat;
	display: inline-block;
	font-size: 16px;
	color: #fff;
	background-size: 35px 35px;
	background-position: 9px 5px;
}

#fb {
	background-image: url(../img/icons/fb-icon.png);
	background-color: #4A6EA9;
}

#yt {
	background-image: url(../img/icons/yt-icon.png);
	background-color: #FE0000;
}

.title-section-page {
	border-bottom: 1px solid #555;
	margin-bottom: 28px;
	margin-top: -19px;
}

.title-section-page-contact {
	margin-bottom: 28px;	
}

iframe[src*="google.com/maps"] {
	max-width: 100%;
}

#back-to-list {
	float: left;
}

.title-section-page #fb-yt {
	position: static;
	float: right;
}

.news-short {
	background-color: #094A66;
    padding: 0 20px 0 0;
    margin-bottom: 15px;
    position: relative;
    display: block;
    min-height: 186px;
}

.news-short-col:nth-child(even) .news-short {
	background-color: #04A2E6;	
}

.news-short,
.news-short p {
	color: #fff;
}

.news-short:hover {
	text-decoration: none;
}

.news-short:hover p {
	text-decoration: underline;	
}

.news-short img {
	float: left;
	margin-right: 50px;
}

.news-short:active,
.news-short:focus {
    text-decoration: none;
    border: none;
}


.news-short-date {
	position: absolute;
	top: 19px;
	left: 334px;
	width: 72px;
	height: 72px;
	background-color: #fff;
	text-align: center;
	color: #094A66;
	-webkit-box-shadow: 3px 3px 0px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    3px 3px 0px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         3px 3px 0px 0px rgba(50, 50, 50, 0.75);
}

.news-short-col:nth-child(even) .news-short .news-short-date {
	color: #04A2E6;
}

.news-short-day {
	font-size: 26px;
}

.news-short-month {
	font-size: 11px;
}

.news-short-year {
	font-size: 11px;
}

.news-short-title {
	font-size: 28px;
	padding-top: 9px;
	margin-bottom: 8px;
}

.news-short-desc {
	font-size: 20px;
    padding-bottom: 20px;
    padding-left: 434px;
}

.news-short-title, 
.news-short-desc {
	word-wrap: break-word;
}

.page-image {
	margin-bottom: 27px;
}

.page-image img {
 	width: 100%;
 }

.page-title {
	margin-bottom: 22px;
}

.page-title-contact {
	margin-top: 0;
}

.page .thumbnail {
	display: inline-block;
	width: 200px;
	margin-right: 16px;
	text-align: center;
}

.aplaga-map {
	padding-right: 11px;
}

/* Pagination */
.pagination {
	padding-right: 4px;
	padding-left: 8px;
}

.pagination > li > a, .pagination > li > span {
	margin-bottom: 8px;
}

.pagination > li > a.first,
.pagination > li > a.previouspostslink,
.pagination > li > a.nextpostslink,
.pagination > li > a.last {
	background-color: #04A2E6;
	color: #fff;
}

.pagination > li > a:hover {
	text-decoration: underline;
}

.pagination > li > span.current {
	background-color: #094A66;
	color: #fff;
}
/* End of pagination */

/* Footer */
footer {
	color: #fff;
	text-shadow: 1px 1px #333;
	padding-bottom: 70px;
	
	background: #0088c3;
	background: -moz-linear-gradient(top,  #0088c3 0%, #003146 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0088c3), color-stop(100%,#003146));
	background: -webkit-linear-gradient(top,  #0088c3 0%,#003146 100%);
	background: -o-linear-gradient(top,  #0088c3 0%,#003146 100%);
	background: -ms-linear-gradient(top,  #0088c3 0%,#003146 100%);
	background: linear-gradient(to bottom,  #0088c3 0%,#003146 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0088c3', endColorstr='#003146',GradientType=0 );
}

#footer-img {
	float: right;
	height: 55px;
	margin-top: -55px;
	margin-right: 222px;
}

#footer-img img {
	display: block;
}

#footer-logo {
	margin-top: 37px;
	margin-left: 90px;
	margin-bottom: 35px;
}

.footer-title {
	font-size: 16px;
	margin-bottom: 25px;
}

.footer a {
	color: #fff;
}
/* End of footer */

/* Responsive */
.navbar-toggle {
	display: none;
	
	background-color: #02a1e4;
    border-radius: 0;
    cursor: pointer;
    float: right;
    margin-bottom: 8px;
    margin-right: 0;
    margin-top: 0;
    padding: 20px 17px;
    position: relative;
    width: 75px;
    margin-right: -8px;
}

.navbar-toggle-in {
	border: 2px solid #fff;
    border-radius: 4px;
    padding: 5px;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
    border-radius: 1px;
    box-sizing: border-box;
    display: block;
    height: 2px;
    margin: 3px 0;
    width: 25px;
}

@media (max-width: 1199px) {
	#main-menu > li {
		margin-left: 10px;
	}
	
	#main-menu > li > a {
		font-size: 18px;
	}
	
	#slider {
		height: 327px;
	}
	
	#slider-controls {
		left: 0;
		right: 0;
		margin: 0;
		width: 100%;
	}
	
	#slider-prev, #slider-next {
		top: 131px;
	}
	
	#slider-prev {
		left: 30px;
	}
	
	#slider-next {
		right: 30px;
	}
	
	#boxes {
		margin-bottom: 30px;
	}
	
	.box {
		font-size: 20px;
	}
	
	fieldset.title {
		margin-bottom: 24px;
	}
	
	fieldset.title legend {
		font-size: 32px;
	}
	
	.news-short-title {
		font-size: 24px;
	}
	
	.news-short-desc {
		font-size: 18px;
	}
	
	#fb-yt {
		bottom: 48px;
	}
}

@media (max-width: 991px) {
	.container {
		width: 100%;
	}
	
	#main-menu > li {
		margin-left: 0;
	}
	
	#main-menu > li > a {
		font-size: 16px;
	}

	#slider {
		height: 300px;
	}
	
	#slider-prev, #slider-next {
		top: 121px;
	}
	
	#slider-fb, #slider-yt {
		width: 60px;
		height: 60px;
	}
	
	#slider-fb {
		right: 126px;
	}
	
	#boxes {
		margin-bottom: 22px;
	}
	
	.box {
		font-size: 18px;
	}
	
	fieldset.title {
		margin-bottom: 18px;
	}
	
	fieldset.title legend {
		font-size: 28px;
	}
	
	.news-short-title {
		font-size: 22px;
	}
	
	.news-short-desc {
		font-size: 16px;
	}
	
	#fb-yt {
		position: static;
		margin-bottom: 15px;
		margin-top: -19px;
	}
	
	.title-section-page #fb-yt {
		float: none;
		margin-bottom: 0;
		margin-top: 0;
	}
	
	#fb, #yt {
		width: 50%;
	}
	
	#back-to-list {
		float: none;
		width: 100%;
	}
}

@media (max-width: 767px) {
	#main-menu > li {
		padding: 0px 10px;
	}
	
	#main-menu > li > a {
		font-size: 14px;
	}
	
	#slider {
		height: 270px;
	}
	
	#slider-prev, #slider-next {
		top: 106px;
	}
	
	#slider-fb {
		right: 60px;
	}
	
	#slider-yt {
		right: 0;
	}
	
	#boxes {
		margin-bottom: 16px;
	}
	
	.box {
		font-size: 16px;
	}
	
	.box .caption {
		padding: 7px 23px;
	}
	
	fieldset.title {
		margin-bottom: 14px;
	}
}

@media (max-width: 670px) {
	header {
		height: 105px;
	}
	
	#logo {
		width: 200px;
		margin-top: 0;
	}
	
	#logo img {
	    width: 100%;
	}
	
	#main-menu {
		margin-top: 45px;
	}
	
	#main-menu > li > a {
		font-size: 12px;
	}
	
	#slider-toggle {
		padding-left: 10px;
	}
	
	.news-short {
		padding: 0;
	}
	
	.news-short img {
		float: none;
		margin-right: 0;
		width: 100%;
	}
	
	.news-short-date {
		left: 20px;
	}
	
	.news-short-title,
	.news-short-desc {
		padding-left: 5%;
		padding-right: 5%;
	}
	
	.page .thumbnail {
		width: 100%;
	}
	
	.col-contact {
		width: 100%;
		margin-bottom: 32px;
	}
	
	.aplaga-map {
		padding-right: 16px;
	}
	
	iframe[src*="google.com/maps"] {
		width: 100%;
	}
}

@media (max-width: 567px) {
	header {
		height: 75px;
	}
	
	#logo {
		width: 175px;
	}
	
	.navbar-toggle {
		display: block;
	}
	
	#main-menu {
		position: absolute;
		left: 0;
		right: 0;
		top: 75px;
		z-index: 10;
		margin-top: 0;
		background-color: #fff;
		padding-left: 0;
		border-top: 1px solid #02A1E4;
		
		display: none;
	}
	
	#main-menu.main-menu-open {
		display: block;
	}
	
	#main-menu > li,
	#main-menu > li a {
		display: block;
	}
	
	#main-menu > li {
		border-bottom: 1px solid #02A1E4;	
	}
	
	#main-menu > li.active {
		background-color: #02A1E4;
		color: #fff;
	}
	
	#main-menu > li a {
		font-size: 16px;
	}
	
	#slider {
		height: 240px;
	}
	
	#slider-prev, #slider-next {
		top: 94px;
	}
	
	#slider-toggle {
		bottom: 14px;
	}
	
	#slider-toggle a {
		margin-left: 7px;
		margin-right: 7px;
		width: 24px;
		height: 24px;
	}
	
	#slider-fb, #slider-yt {
		width: 40px;
		height: 40px;
	}
	
	#slider-fb {
		right: 40px;
	}
	
	.box {
		font-size: 14px;
	}
	
	.box .caption {
		padding: 3px 15px;
	}
	
	#footer-img {
	 	float: none;
	 	margin-right: 0;
	 	text-align: center;
	 }
	 
	 #footer-img img {
	 	display: inline;
	 }
	 
	 #footer-logo {
	 	margin-left: 0;
	 	text-align: center;
	 }
	 
	 .title-section-page #fb-yt {
	 	width: 100%;
	 }
	 
	 #fb, #yt {
	 	width: 100%;
	 }
}

@media (max-width: 420px) {
	 .col-100 {
	 	width: 100%;
	 }
	 
	 #slider-toggle {
	 	text-align: left;
	 }
	 
	 .box {
	 	font-size: 22px;
	 	margin-bottom: 8px;
	 }
	 
	 .box img {
	 	width: 100%;
	 }
	 
	 .box .caption {
	 	padding: 7px 23px;
	 }
	 
	 footer {
	 	text-align: center;
	 }
	 
	 .col-footer {
	 	margin-bottom: 20px;
	 }
	 
	 
}

/* End of responsive */

/*form*/

.ask_button {
    border: 1px solid #9dbfe2;
    border-radius: 10px;
    color: #264d75;
    cursor: pointer;
    display: inline-block;
    font-size: 14;
    font-weight: normal;
    height: 24px;
    line-height: 24px;
    padding: 0 14px;
    transition: all 0.25s ease 0s;
}

.ask_form_window {
	background: #fff;
	max-width: 900px;
	border: 1px solid #9DBFE2;
    overflow: auto;
    position: absolute;
	left: 50%;
	/*margin-left: -440px;*/
	top: 100px;
	z-index: 810;
	/*height: 550px;*/
	padding: 50px;
}

.form_error {
	background: #D82511;
	color: #ffffff;
}

.form_error::-webkit-input-placeholder { /* WebKit browsers */
    color: #fff;
}

.form_error:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #fff;
}

.form_error::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #fff;
}

.form_error:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #fff;
}
/*end of form */

/* icons for download files */

a[href$='.pdf'] {
background:transparent url(../images/pdf.png) center left no-repeat;
display:inline-block;
padding-left:20px;
line-height:18px;
}
a[href$='.doc'], a[href$='.docx']{
background:transparent url(../images/doc.png) center left no-repeat;
display:inline-block;
padding-left:20px;
line-height:18px;
}

a[href$='.xls'], a[href$='.xlsx'] {
background:transparent url(../images/xls.png) center left no-repeat;
display:inline-block;
padding-left:20px;
line-height:18px;
}
a[href$='.ppt'],a[href$='.pptx']{
background:transparent url(../images/ppt.png) center left no-repeat;
display:inline-block;
padding-left:20px;
line-height:18px;
}
a[href$='.avi'] {
background:transparent url(../images/avi.png) center left no-repeat;
display:inline-block;
padding-left:20px;
line-height:18px;
}


/* end of icons for download files */

hr {
    -moz-border-bottom-colors: #000;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #000 -moz-use-text-color -moz-use-text-color;
    border-image: none;
    border-style: solid none none;
    border-width: 1px 0 0;
    margin-bottom: 20px;
    margin-top: 50px;
}

.mailto {
	color: #fff;
}

.mailto:hover{
	color: #fff;
}