/*
Theme Name: Ambitos Andinos
Theme URI: http://underscores.me/
Author: Carlos Román
Author URI: http://www.whooohq.com
Description: Plantilla creada por Whooo HQ para Ámbitos Andinos
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andinos
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Ambitos Andinos is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
	zoom: 90%;	
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/* button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
} */

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {

}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin-bottom: 0;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
	font-family: 'Roboto', sans-serif;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## Custom styles
--------------------------------------------------------------*/
/* Placeholder */
::-webkit-input-placeholder {
	color: #464747;
}

:-moz-placeholder { /* Firefox 18- */
	color: #464747;
}

::-moz-placeholder {  /* Firefox 19+ */
	color: red;  
}

:-ms-input-placeholder {
	color: #464747;
}

/* Text selection */
::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: #0B577F;
}
::selection {
    color: #fff; 
    background: #0B577F;
}

/* Fonts */
@font-face {
	font-family: 'CicleGordita';
	src: url('fonts/CicleGordita.eot?#iefix') format('embedded-opentype'),  url('fonts/CicleGordita.woff') format('woff'), url('fonts/CicleGordita.ttf')  format('truetype'), url('fonts/CicleGordita.svg#CicleGordita') format('svg');
	font-weight: normal;
	font-style: normal;
}
@media screen and (max-width: 1024px) {
	#content {
		float: left;
	}
}
@media screen and (min-width: 1025px) {
	.grid-container {
		padding-left: 100px;
		padding-right: 100px;
	}
}
#page {
	position: relative;
	overflow: hidden;
}
#masthead {
	background: rgba(17, 160, 154, .5);
	font-family: 'CicleGordita', sans-serif;
	position: relative;
    z-index: 1000;
}
@media screen and (min-width: 320px) and (max-width: 767px) {
	#masthead {
		float: left;
		width: 100%;
	}
}
#masthead a {
	display: block;
}
#masthead #logo {
	float: left;
	padding: 10px 0;
}

@media screen and (min-width: 468px) and (max-width: 1024px) {
	#masthead #logo {
		text-align: center;
	}
}
#masthead #site-navigation {
	float: right;
	text-transform: uppercase;
}
@media screen and (min-width: 320px) and (max-width: 767px) {
	#masthead #site-navigation {
		position: absolute;
    	top: 0;
    	z-index: 100;
	}
}
#masthead #site-navigation .current_page_item {
	background: url(images/ico-arrow-menu.png) no-repeat left center;
}
#masthead #site-navigation a {
	color: #fff;
	font-size: 18px;
	padding: 35px 20px;
	text-shadow: -1px 1px 5px #545454;
}
#masthead #site-navigation a:hover {
	background: url(images/ico-arrow-menu.png) no-repeat left center;
	color: #D4FFFD;
}
#masthead #site-navigation button {
	float: right;
	border: none;
	background: transparent;
	color: #FFF;
	font-size: 36px;
	padding: 20px;
	margin-bottom: 4px;
	margin-right: 10px;
}
@media screen and (min-width: 320px) and (max-width: 767px) {
	#masthead #site-navigation ul {
		width: 100%;
		float: left;
		background: rgba(17, 160, 154, .5);
		margin-left: -20px;
	}
	#masthead #site-navigation ul li {
		width: 100%;
		float: left;
		margin-left: 10px;
	}
	#masthead #site-navigation ul li a {
		padding: 10px 20px;
	}
}
#masthead #languages {
	float: right;
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
    border-left: 1px solid #fff;
    width: 103px;
}
#masthead #languages li {
	float: left;
	margin: 5px 40px;
}
#masthead #languages li img {
	float: left;
}
@media screen and (min-width: 320px) and (max-width: 767px) {
	#masthead #languages {
		position: absolute;
		top: 0;
		left: 50%;
	}
}
#primary h1 {
	font-weight: 900;
	text-transform: uppercase;
	color: #0B577F;
	font-size: 24px;
	font-family: 'Roboto', sans-serif;
	/*padding: 0 0 0 100px;
	margin: 15px 0;*/
	float: left;
	width: 100%;
}

/* Home */
#primary {
	max-width: 1360px;
	margin: 0 auto;
	position: relative;
}
@media screen and (max-width: 768px) {
	#primary .page-title {
		padding-left: 10px;
	}
}
#primary #slider {
	margin-top: -98px;
	position: relative;
	z-index: -100;
	font-family: 'Roboto', sans-serif;
	color: #fff;
	text-shadow: -1px 1px 5px #545454;
	margin-left: 0;
	margin-bottom: 0;
	padding-left: 0;
	float: left;
}
#primary #slider .cycle-pager {
	float: left;
    cursor: pointer;
    margin-top: -23%;
    position: relative;
    z-index: 1000;
    font-size: 58px;
    margin-left: 7%;
    width: 100%;
}
@media screen and (max-width: 1024px) {
	#primary #slider .cycle-pager {
		text-align: center;
		margin-left: 0;
	}
}
#primary #slider .cycle-pager > * {
	cursor: pointer;
}
#primary #slider .cycle-pager .cycle-pager-active {
	color: #0B577F;
}
@media screen and (max-width: 1024px) {
	#primary #slider .cycle-pager {
		width: 100%;
		text-align: center;
	}
	#primary #slider {
		margin-top: 0px;
	}
}
#primary #slider .slide {
	float: left;
}
#primary #slider .slide img {
	float: left;
}
#primary #slider .image {
	float: left;
}
#primary #slider .titles {
	float: left;
	margin-top: -30%;
	padding-left: 100px;
	border-bottom: 1px solid #fff;
}
@media screen and (max-width: 1024px) {
	#primary #slider .titles {
		padding-left: 10px;
		width: 100%;
		text-align: center;
	}
}
#primary #slider .titles h2 {
	font-weight: bold;
	font-size: 2.5em;
        line-height:1;
	text-transform: uppercase;
	margin: 0px;
}

#contacto li a{
        color:white;
}

@media screen and (max-width: 1024px) {
	#primary #slider .titles h2 {
		font-size: 1em;
	}
}
#primary #slider .titles p {
	font-size: 2em;
	margin: 0 10px 0 0;
}
@media screen and (max-width: 1024px) {
	#primary #slider .titles p {
		font-size: 1em;
		width: 100%;
	}
}
#primary #bienvenida {
	width: 100%;
    margin: -19% auto 0 auto;
    font-family: 'Roboto', sans-serif;
    position: relative;
    background: url(images/bg-home-mask.png) no-repeat center;
    padding-top: 8px;
    padding-bottom: 24px;
    float: left;
    position: relative;
}
@media screen and (max-width: 1360px) {
	#primary #bienvenida {
		background: #fff;
		padding: 20px 10px;
		text-align: center;
		margin-top: 0;
	}
}
#primary #bienvenida a {
	color: #0B577F;
	text-decoration: none;
}
#primary #bienvenida #leyenda h2 {
	font-weight: 900;
	text-transform: uppercase;
	color: #0B577F;
	font-size: 30px;
	margin-top: 0;
	margin-bottom: 10px;
}
#primary #bienvenida #leyenda p {
	/* font-weight: 300; */
	color: #4D4C4C;
	margin-bottom: 0;
}
#primary #bienvenida #leyenda {
	float: left;
	padding: 0 10px;
}
@media screen and (max-width: 1024px) {
	#primary #bienvenida #leyenda {
		margin-bottom: 10px;
	}
}
@media screen and (min-width: 1025px) {
	#primary #bienvenida #leyenda {
		width: 950px;
		padding: 0 100px 0 100px;
		position: absolute;
		bottom: 30px;
	}
}
#primary #bienvenida #imagen {
	float: right;
	margin-right: 8.3%;
}
#primary #bienvenida #imagen img {
	float: left;
}
@media screen and (max-width: 1024px) {
	#primary #bienvenida #imagen {
		float: left;
		width: 100%;
	}
	#primary #bienvenida #imagen img {
		margin-top: 0px;
		width: 100%;
		text-align: center;
		display: block;
		height: auto;
	}
}

/* Footer */
footer {
	max-width: 1360px;
	margin: 0 auto;
	background: #0B577F;
	border-top: 6px solid #084d6b;
}
footer a {
	color: #fff;
	text-decoration: none;
}
footer #contacto {
	float: right;
	list-style: none;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: bold;
	padding-right: 160px;
}
@media screen and (max-width: 1024px) {
	footer #contacto {
		padding-left: 10px;
		padding-right: 10px;
		text-align: center;
	}
}
footer #contacto li {
	float: right;
	color: #fff;
	margin-left: 15px;
	padding: 20px 0px 20px 0;

}
@media screen and (max-width: 1024px) {
	footer #contacto li {
		width: 100%;
		margin-left: 0;
	}
}
footer #contacto li:before {
	content: "\00BB \0020";
	color: #fff;
	padding-right: 10px;
}

/* Páginas internas */
#primary #portada_pagina {
	float: left;
	margin-top: -122px;
    position: relative;
    z-index: -100;
    /* margin-bottom: 6px; */
}
@media screen and (min-width: 320px) and (max-width: 1024px) {
	#primary #portada_pagina {
		margin-top: 0px;
	    margin-bottom: 6px;
	}
}
#primary #portada_pagina img {
	float: left;
}
#primary #page_content {
	padding: 0 0 0 100px;
}
#primary #page_content a {
	color: #0B577F;
	text-decoration: none;
}
#primary #page_content h1 {
	margin: 0px 0 0 0;
	padding: 0;
	font-weight: 900;
	text-transform: uppercase;
	color: #0B577F;
	font-size: 24px;
	font-family: 'Roboto', sans-serif;
}
#primary #page_content h2 {
	margin: 0;
	font-weight: 900;
	text-transform: uppercase;
	color: #0B577F;
	font-size: 30px;
	font-family: 'Roboto', sans-serif;
        padding-top:40px
}

#primary #page_content h3 {
	margin: 0;
	font-weight: 600;
	text-transform: uppercase;
	color: #0B577F;
	font-size: 26px;
	font-family: 'Roboto', sans-serif;
}
#primary #page_content h4 {
	margin: 0;
	font-weight: 400;
	text-transform: uppercase;
	color: #0B577F;
	font-size: 24px;
	font-family: 'Roboto', sans-serif;
}
#primary #page_content h5 {
	margin: 0;
	text-transform: uppercase;
	color: #0B577F;
	font-size: 20px;
	font-family: 'Roboto', sans-serif;
}
#primary #page_content h6 {
	margin: 0;
	text-transform: uppercase;
	color: #0B577F;
	font-size: 16px;
	font-family: 'Roboto', sans-serif;
}
#primary #page_content p {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	margin-top: 0;
}
#primary #page_content ul {
	padding: 0;
	margin: 0;
	list-style: none;
	font-family: 'Roboto', sans-serif;
}
#primary #page_content ul li {
	margin-bottom: 10px;
}
#primary #page_content ul li:before {
	content: "\00BB \0020";
	color: #0B577F;
	padding-right: 10px;
}
#primary #page_thumb {
	text-align: center;
}
#primary #page_thumb img {
	float: left;
}
@media screen and (max-width: 1024px) {
	#primary #page_thumb img {
		width: 100%;
		height: auto;
		display: block;
	}
}

/* Blog */
#primary #blog {
	list-style: none;
	margin: 0 0 40px 0;
	padding: 0 0 0 100px;
}
@media screen and (max-width: 1024px) {
	#primary #blog  {
		padding: 0 10px 0 10px;
	}
}
#primary .blog-interior {
	margin-top: 40px !important;
}
@media screen and (min-width: 1025px) {
	#primary .post-interior {
		padding-right: 120px !important;
	}
}
#primary .blog-interior h1 {
	border-bottom: 1px solid #0B577F;
	padding-bottom: 20px;
}
#primary .blog-interior h3 {
	margin-top: 0;
}
#primary #blog .blog-single {
	padding-left: 0;
}
@media screen and (min-width: 1025px) {
	#primary #blog .entry-content {
		padding-right: 100px;
	}
}
#primary #blog li {
	float: left;
	background: #F2F0F0;
	width: 474px;
	margin: 15px 15px 15px 0;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
	-webkit-box-shadow: 2px 2px 10px 0 #999999;
	box-shadow: 2px 2px 10px 0 #999999;
}
@media screen and (max-width: 1024px) {
	#primary #blog li {
		width: 100%;
		margin: 15px 0 15px 0;
	}
}
#primary #blog .blog-image {
	float: left;
}
#primary #blog .blog-image img {
	float: left;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 0px 10px;
}
@media screen and (max-width: 767px) {
	#primary #blog .blog-image {
		width: 100%;
	}
	#primary #blog .blog-image img {
		width: 100%;
		display: block;
		height: auto;
	}
}
#primary #blog .blog-data {
	float: left;
	width: 264px;
	font-family: 'Roboto', sans-serif;
}
@media screen and (max-width: 1024px) {
	#primary #blog .blog-data {
		width: 60%;
		float: left;
	}
}
@media screen and (max-width: 767px) {
	#primary #blog .blog-data {
		width: 100%;
		float: left;
	}
}
#primary #blog .blog-data h4 {
	padding-left: 10px;
	border-bottom: 1px solid #0B577F;
	margin-top: 10px;
	margin-bottom: 10px;
}
#primary #blog .blog-data h4 a {
	color: #0B577F;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
}
#primary #blog .blog-data p {
	font-size: 14px;
	line-height: 16px;
	color: #4D4C4C;
	margin-bottom: 16px;
	margin-left: 10px;
}
#primary #blog .blog-more {
	background: #0B577F;
	color: #fff;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	padding: 4px 10px;
	margin-left: 10px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	float: left;
}
@media screen and (max-width: 767px) {
	#primary #blog .blog-more {
		margin-bottom: 10px;
	}
}
#primary #blog .nav-previous a, #primary #blog .nav-next a {
	background: #0B577F;
	color: #fff;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	padding: 4px 10px;
	margin-left: 10px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	float: left;
	font-family: 'Roboto', sans-serif;
}
#primary #blog-widget {
	list-style: none;
	font-family: 'Roboto', sans-serif;
	margin: 0;
	padding: 0;
}
@media screen and (max-width: 767px) {
	#primary #blog-widget {
		padding: 0 10px;
		margin-bottom: 10px;
	}
}
#primary #blog-widget li {
	margin-bottom: 20px;
}
#primary #blog-widget a {
	color: #0B577F;
	text-decoration: none;
}
#primary #blog-widget h3 {
	background: #0B577F;
	font-size: 14px;
	color: #fff;
	text-transform: uppercase;
	text-align: right;
	padding: 10px;
}
#primary #blog-widget #blog-categories {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: right;
	margin-bottom: 10px;
}
#primary #blog-widget #blog-categories li:before {
	content: "\00BB \0020";
	color: #0B577F;
	padding-right: 10px;
}
#primary #blog-widget #blog-redes {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
	margin-left: 136px;
	margin-bottom: 10px
}
#primary #blog-widget #blog-redes li {
	float: left;
	text-align: right;
	margin-left: 10px;

}
#primary #blog-widget #blog-redes li a i {
	font-size: 28px;
}
#primary #blog-widget #last-posts {
	margin: 0;
	padding: 0;
	list-style: none;

}
#primary #blog-widget #last-posts li {
	float: left;
	width: 100%;
	position: relative;
	margin-bottom: 10px;
}
#primary #blog-widget #last-posts li img {
	width: 100%;
	display: block;
	height: auto;
}
#primary #blog-widget #last-posts li a {
	background: rgba(11, 87, 127, .5);
	display: block;
	color: #fff;
	position: absolute;
	bottom: 0;
	width: 100%;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
}

/* Vinculos */
#primary #vinculos {
	list-style: none;
	margin: 0 0 40px 0;
	padding: 0 0 0 100px;
	float: left;
	font-family: 'Roboto', sans-serif;
}
@media screen and (max-width: 767px) {
	#primary #vinculos {
		padding: 0 10px 0 10px;
	}
}
#primary #vinculos li {
	float: left;
	margin-right: 30px;
	margin-bottom: 20px;
	max-width: 208px;
}
@media screen and (max-width: 767px) {
	#primary #vinculos li {
		margin-right: 0;
		margin-bottom: 0;
		width: 100%;
	}
	#primary #vinculos li img {
		display: block;
		width: 100%;
		height: auto;
	}
}
#primary #vinculos li h3 {
	border-bottom: 1px solid #0B577F;
	text-transform: uppercase;
	font-size: 14px;
	margin-bottom: 0;
}
#primary #vinculos li .bajo-titulo {
	height: 10px;
	background: url(images/ico-arrow-vinculos.png) no-repeat right center;
	margin-bottom: 14px;
}
#primary #vinculos li .link {
	text-align: center;
	margin-top: 10px
}
#primary #vinculos li .link a {
	background: #0B577F;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}
.fancybox-inner .vinculos-content {
	font-family: 'Roboto', sans-serif;
}
.fancybox-inner .vinculos-content h3 {
	border-bottom: 1px solid #0B577F;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 0;
}
.fancybox-inner .bajo-titulo {
	height: 10px;
	background: url(images/ico-arrow-vinculos.png) no-repeat right center;
	margin-bottom: 14px;
}

/* Contacto */
#primary #form-contacto {
	font-family: 'Roboto', sans-serif;
	padding-left: 100px;
}
@media screen and (max-width: 767px) {
	#primary #form-contacto {
		padding-left: 10px;
		padding-right: 10px;
	}
}
#primary #form-contacto input[type="text"], #form-contacto input[type="email"], #form-contacto textarea {
	background: #DBDBDB;
	border: none;
	padding: 2px 10px;
	font-style: italic;
	font-size: 14px;
	margin-bottom: 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
	width: 100%;
}
#primary #form-contacto textarea {
	width: 100%;
}
#primary #form-contacto input[type="submit"] {
	background: #0B577F;
	color: #fff;
	cursor: pointer;
	border: none;
	font-weight: bold;
	text-transform: uppercase;
	padding: 2px 20px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}
#primary #datos-contacto {
	list-style: none;
	margin-left: 100px;
	margin-right: 100px;
	margin-top: 16px;
	margin-bottom: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
}
@media screen and (max-width: 767px) {
	#primary #datos-contacto {
		margin-left: 10px;
		margin-right: 10px;
	}
}
#primary #datos-contacto li {
	margin-bottom: 10px;
	font-size: 16px;
}
#primary #datos-contacto li i {
	color: #0B577F;
	margin-right: 10px;
	font-size: 16px;
}

footer #dev-by {
	font-family: 'Roboto', sans-serif;
	max-width: 1360px;
	margin: 0 auto;
	text-align: left;
	font-size: 14px;
	color: #fff;
	font-weight: bold;
	padding-left: 100px;
}
@media screen and (max-width: 1024px) {
	footer #dev-by {
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
		text-align: center;
	}
}
footer #dev-by p {
	margin: 20px 0;
}
footer #dev-by a {
	color: #fff;
	text-decoration: none;
}

/* Especiales */
#primary article {
	float: left;
}
#primary .has-post-thumbnail #page_content {
	/* padding-top: 36px; */
	padding-right: 40px;
}
@media screen and (max-width: 1024px) {
	#primary .has-post-thumbnail #page_content {
		padding-right: 10px;
		padding-left: 10px;
	}
}

/* Recursos */
#recursos {
	/*max-width: 900px;*/
	margin: 0 auto;
	list-style: none;
}
#recursos li {
	float: left;
	margin: 0 1%;
	position: relative;
	margin-bottom: 30px;
	text-align: center;
	border: 1px solid #0B577F;
}
@media screen and (min-width: 1360px) {
	#recursos li {
		float: left;
		width: 30%;
                margin: 0 1%;
		position: relative;
		margin-bottom: 30px;
		text-align: center;
		border: 1px solid #0B577F;
	}
}
#recursos li i {
	position: absolute;
	top: 45%;
	left: 45%;
	right: 45%;
	bottom: 45%;
	z-index: 100;
	font-size: 3em;
	color: #0B577F;
}
#recursos li .video-data {
	position: absolute;
	bottom: 0;
	background: #0B577F;
	color: #fff;
	width: 100%;
	text-align: center;
	font-family: 'Roboto', sans-serif;
}
#recursos li .video-data a {
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	font-size: 0.8em;
	padding: 20px 0;
	display: block;
}