/*
Theme Name: Abedul
Theme URI: http://ebyb.eu/themes/abedul
Author: acalfieri
Author URI: http://ebyb.eu
Description: Abedul is my second WordPress theme, written with publications in mind and love for simple code. It was designed to be fully responsive by taking the mobile-first approach. It features the full range of post formats, three menu locations, four page templates, two sidebar widget areas, three footer widget areas and two custom widgets for inserting content in the sidebars.
Requires at least: 5.0
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-header, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, news, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: abedul

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.
*/
/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigation
 *   6.1 - Links
 *   6.2 - Menus
 *   6.3 - Social Links
 *   6.4 - Post Navigation
 *   6.5 - Blog Pagination
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 10.0 - Widgets
 * 11.0 - Content
 *    11.1 - Header
 *    11.2 - Posts and pages
 *    11.3 - Post Formats
 *    11.4 - Comments
 *    11.5 - Sidebar
 *    11.6 - Footer
 * 12.0 - Media
 *    12.1 - Captions
 *    12.2 - Galleries
 * 13.0 - Multisite
 * 14.0 - Media Queries
 *    14.1 - >= 710px
 *    14.2 - >= 783px
 *    14.3 - >= 910px
 *    14.4 - >= 985px
 *    14.5 - >= 1200px
 * 15.0 - Print
 */


/**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */

.small-caps{
font-variant: small-caps;
}

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	word-wrap: break-word;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

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: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

select {
	text-transform: none;
	padding: 0.3em;
	border: 1px solid #ddd;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.5);
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

select option {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #ccc;
	margin: 0 0 1.667em;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}

/**
 * 2.0 - Genericons
 */

.bypostauthor > article .fn:before,
.social-navigation a:before,
.comment-reply-title small a:before,
.pagination .prev:before,
.pagination .next:after {
	display: inline-block;
	font-family: "Genericons";
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}

.entry-meta .post-edit-link .genericon:before,
.entry-meta .byline .genericon:before,
.post-format-icon .genericon:before,
.cat-links .genericon:before,
.tags-links .genericon:before,
.comments-link .genericon:before,
.entry-meta .genericon:before,
.entry-date .genericon,
.featured-post .genericon:before,
.author-link .genericon:before {
	display: inline-block;
	font-size: 1.25em;
	text-decoration: inherit;
	vertical-align: text-bottom;
	margin-right: 1px;
}

.comment-edit-link .genericon:before,
.comment-reply-link .genericon:before,
.comment-reply-login .genericon:before {
	display: inline-block;
	font-size: 1em;
	text-decoration: inherit;
	vertical-align: text-bottom;
	margin-right: 1px;
}

.featured-post .genericon {
	vertical-align: text-bottom;
}

.tags-links .genericon:before {
	margin-right: 0
}

/**
 * 3.0 - Typography
 */

body,
button,
input,
select,
textarea {
	color: #333;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.667;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 600;
	font-family: Lato, Helvetica, sans-serif;
}

h1 {
	font-size: 1.728em;
	margin: 0 0 0.3596em;
}

h2 {
	font-size: 1.728em;
	margin: 0.3596em 0;
}

h3 {
	font-size: 1.44em;
	margin: 0.339em 0;
}

h4 {
	font-size: 1.2em;
	margin: 0.720em 0;
}

h5 {
	font-size: 1em;
	margin: 0.898em 0;
}

h6 {
	font-size: 0.833em;
	margin: 0.898em 0;
}

p {
	margin: 0 0 1.1em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	border: 0 solid #333;
	border-left-width: 4px;
	color: #585858;
	font-style: italic;
	line-height: 1.5;
	margin: 0 0 1.5em;
	padding: 0 0 0 1.078667em;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote p {
	margin-bottom: 1.5em;
}

blockquote cite,
blockquote small {
	color: #333;
	display: block;
	font-size: 0.875em;
	line-height: 1.5;
	margin: 0.539em 0 0;
}

blockquote cite:before,
blockquote small:before {
	content: "\2014\00a0";
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

blockquote > :last-child {
	margin-bottom: 0;
}

address {
	font-style: italic;
	margin: 0 0 1.667em;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: Inconsolata, monospace;
}

pre {
	border: 1px solid #ccc;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.25;
	margin: 0 0 1.667em;
	max-width: 100%;
	overflow: auto;
	padding: 1.667em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

code {
	background-color: #ccc;
	padding: 0.125em 0.25em;
}

abbr,
acronym {
	border-bottom: 1px dotted #ccc;
	cursor: help;
}

mark,
ins {
	background: #206474;
	color: #fafafa;
	padding: 0.125em 0.25em;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/**
 * 4.0 - Elements
 */

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	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/ */
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #fdffff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.667em;
}

ul,
ol {
	margin: 0 0 1.667em 1.25em;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
	margin-left: 1.5em;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dl {
	margin: 0 0 1.667em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 0 1.667em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
	vertical-align: middle;
}

del {
	opacity: 0.8;
}

table,
th,
td {
	border: 1px solid #ccc;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.667em;
	table-layout: fixed;
	/* Prevents HTML tables from becoming too wide */
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: 700;
}

td {
	border-width: 0 1px 1px 0;
}

th,
td {
	padding: 0.4375em;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #585858;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
}

:-moz-placeholder {
	color: #585858;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
}

::-moz-placeholder {
	color: #585858;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #585858;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
}

/**
 * 5.0 - Forms
 */

input {
	line-height: normal;
}

button,
button[disabled]:hover,
button[disabled]:focus,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus {
	background: #206474;
	border: 0;
	border-radius: 2px;
	color: #fafafa;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-weight: 700;
	letter-spacing: 0.046875em;
	line-height: 1;
	padding: 0.84375em 0.875em 0.78125em;
	text-transform: uppercase;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #990000;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	outline-width: auto;
	outline-style: auto;
	outline: 2px solid;
	outline-color: Highlight;
	outline-color: -webkit-focus-ring-color;
	outline-offset: 2px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
	background: #fafafa;
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	border: 1px solid #ccc;
	border-radius: 2px;
	color: #585858;
	padding: 0.2em 0.4375em;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
	background-color: #fafafa;
	border-color: #206474;
	color: #333;
	outline: 0;
}

.post-password-form {
	margin-bottom: 1.667em;
}

.post-password-form label {
	color: #585858;
	display: block;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-size: 13px;
	font-size: 0.8125rem;
	letter-spacing: 0.07em;
	line-height: 1.618;
	margin-bottom: 1.667em;
	text-transform: uppercase;
}

.post-password-form input[type="password"] {
	margin-top: 0.4375em;
}

.post-password-form > :last-child {
	margin-bottom: 0;
}

.search-form {
	position: relative;
}
header .search-form {
   display: none;
}

input[type="search"].search-field {
	border-radius: 2px 0 0 2px;
	width: -webkit-calc(100% - 42px);
	width: calc(100% - 42px);
}

.search-submit .genericon:before {
	font-size: 24px;
	left: 2px;
	line-height: 24px;
	position: relative;
	width: 42px;
}

.search-submit {
	border-radius: 0 2px 2px 0;
	bottom: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 42px;
}

/**
 * 6.0 - Navigation
 */

/**
 * 6.1 - Links
 */

 a {
	background-color: transparent;
	color: #206474;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #990000;
}

/**
 * 6.2 - Menus
 */

.site-navigation ul {
	list-style: none;
	margin: 0;
}

.site-navigation ul ul {
	margin-left: 1rem;
}

.site-navigation a {
	display: block;
	color: #206474;
	font-size: 1em;
	text-transform: uppercase;
}

.site-navigation a:hover,
.site-navigation a:focus {
	color: #990000;
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a { 
	font-weight: 900;
}

.primary-navigation,
.secondary-navigation {
	font-family: Lato, Helvetica, sans-serif;
	font-size: 1em;
	padding: 0;
}

.primary-navigation li,
.secondary-navigation li {    
	border-top: 1px solid #ddd;
	position: relative;
}

.primary-navigation a,
.secondary-navigation a {
	line-height: 1.3125;
	padding: 0.84375em 0;
}

.primary-navigation ul ul,
.secondary-navigation ul ul {
	background-color: #206474;
	float: left;
	margin: 0;
	padding-left: 0 !important;  /* This is important to reset the padding */
	position: absolute;
	left: -999em;  /* -999 so it is not visible until hover. */
	z-index: 99999;	
}

.primary-navigation li li,
.secondary-navigation li li {
	display: block;
}

.primary-navigation ul ul ul,
.secondary-navigation ul ul ul {
	left: -999em;  /* -999 so it is not visible until hover. */
	top: 0;	
}

.primary-navigation ul ul a,
.secondary-navigation ul ul a {
	white-space: normal;
	min-width: 12em;
}

.primary-navigation .menu-item-has-children > a,
.primary-navigation .page-item-has-children > a {
	margin-right: 60px;
}

.menu-toggle:before, .menu-toggle:after {
}

.menu-toggle {
	cursor: pointer;
	display: block;
	height: 2.7em;
	width: 2.7em;
	overflow: hidden;
	position: absolute;
	top: 0.5em;
	right: 0.6em;
	z-index: 999;
}

.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
	margin: 0;
	padding: 0;
	background-color: #f2f2e8;
	border: 1px solid #206474;
	border-radius: 2px;
	color: transparent;
}

.menu-toggle:before {    
	color: #206474;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 20px;
	padding: 10px;
	z-index: 99;
}

.menu-toggle .genericon {    
	color: #206474;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 20px;
	padding: 10px;
	z-index: 99;
}

/* Primary Navigation */

.primary-navigation .menu,
.secondary-navigation .menu,
.social-navigation .menu {
   
}

.primary-navigation.toggled-on,
.secondary-navigation.toggled-on {
	border-bottom: 0;
	margin: 0;
	padding: 0;
}

#navigation {
	display: none;
	position: absolute;
	left: -999em;  /* volver a -999em;*/
}

.toggled-on #navigation {
	display: block;
	position: relative;
	width: 100%;
	left: 0;
	top: 0;
	background-color: #fafafa;
	z-index: 2;
}

.toggled-on .primary-navigation .menu,
.toggled-on .secondary-navigation .menu,
.toggled-on .social-navigation .menu {
	display: block;
	position: relative;
	border-bottom: 1px solid #ccc;
}

.toggled-on #pre-menu {
	display: none;
}

.toggled-on li {
	display: block;
	border-bottom: 1px solid #eee;
	padding-left: 10px
}

.toggled-on .menu li > ul { 
	background-color: #fafafa;
	display: none;
	float: none;
	position: relative;
	top:0;
	left: 0;
}

.toggled-on .menu li > ul.toggled-on {
	display:block;
}
	
.toggled-on .menu li a {  
	width: auto;
	display: inline-block;
	word-break: break-all;
}

.toggled-on .menu > li a:hover,
.toggled-on .menu > ul a:hover {
	background-color: #fafafa;
	color: #990000;
}

.toggled-on .menu > li a:focus,
.toggled-on .menu > ul a:focus {
	background-color: #fafafa;
	color: #990000;
}

.toggled-on .menu ul li:hover > ul,
.toggled-on .menu ul li:focus > ul {
	position:relative;
	left: 0;
	top:0;
}

.toggled-on .menu li,
.toggled-on .menu li li {
	height: auto !important; /* esto hace que cuando se abre un submenu se corre todo para abajo. */
}  
	
.dropdown-toggle {
	background-color: #fafafa;
	border: 0;
	border-radius: 0;
	text-transform: none;
	color:#206474;
	padding: 0;
	height: 3em;
	width: 3em;
	position: absolute;
	right: 0;
	top: 0;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	background-color: transparent;
	color: #990000;
}

.dropdown-toggle .genericon {
	position: relative;
	font-size: 1.6em;
	padding: 0;
	margin: 0;
	border-left: 1px solid #dfdfdf;
	width: 46px;
}


.dropdown-toggle:focus {
	outline-offset: -2px;
}

.dropdown-toggle:focus:after {
	border-color: transparent;
}

/* Secondary Navigation */

.secondary-navigation {    
	   
}

#main-menu.toggled-on,
.no-js #main-menu {
	display: block;
}

/**
 * 6.3 - Social Links
 */

#social-menu {
	margin: 0.5em auto 0;
}

#social-menu li {
	display: inline-block;
	margin: 0 0.475em 0.5em;
}

#social-menu a {
	border: 1px solid #ccc;
	border-radius: 50%;
	color: #111;
	display: block;
	position: relative;
	width: 35px;
	height: 35px;
}

#social-menu a:hover,
#social-menu a:focus {
	background-color: #fafafa;
}

#social-menu a:before {
	content: "\f415";
	height: 33px;
	line-height: 33px;
	text-align: center;
	width: 33px;
}

#social-menu a:hover:before,
#social-menu a:focus:before {
	color: #206474;
}

#social-menu a[href*="codepen.io"]:before {
	content: "\f216";
}

#social-menu a[href*="digg.com"]:before {
	content: "\f221";
}

#social-menu a[href*="dribbble.com"]:before {
	content: "\f201";
}

#social-menu a[href*="dropbox.com"]:before {
	content: "\f225";
}

#social-menu a[href*="facebook.com"]:before {
	content: "\f203";
}

#social-menu a[href*="flickr.com"]:before {
	content: "\f211";
}

#social-menu a[href*="foursquare.com"]:before {
	content: "\f226";
}

#social-menu a[href*="plus.google.com"]:before {
	content: "\f206";
}

#social-menu a[href*="github.com"]:before {
	content: "\f200";
}

#social-menu a[href*="instagram.com"]:before {
	content: "\f215";
}

#social-menu a[href*="linkedin.com"]:before {
	content: "\f208";
}

#social-menu a[href*="path.com"]:before {
	content: "\f219";
}

#social-menu a[href*="pinterest.com"]:before {
	content: "\f210";
}

#social-menu a[href*="getpocket.com"]:before {
	content: "\f224";
}

#social-menu a[href*="polldaddy.com"]:before {
	content: "\f217";
}

#social-menu a[href*="reddit.com"]:before {
	content: "\f222";
}

#social-menu a[href*="skype.com"]:before {
	content: "\f220";
}

#social-menu a[href*="stumbleupon.com"]:before {
	content: "\f223";
}

#social-menu a[href*="tumblr.com"]:before {
	content: "\f214";
}

#social-menu a[href*="twitter.com"]:before {
	content: "\f202";
}

#social-menu a[href*="vimeo.com"]:before {
	content: "\f212";
}

#social-menu a[href*="wordpress.com"]:before,
#social-menu a[href*="wordpress.org"]:before {
	content: "\f205";
}

#social-menu a[href*="youtube.com"]:before {
	content: "\f213";
}

#social-menu a[href^="mailto:"]:before {
	content: "\f410";
}

#social-menu a[href*="spotify.com"]:before {
	content: "\f515";
}

#social-menu a[href*="twitch.tv"]:before {
	content: "\f516";
}

#social-menu a[href$="/feed/"]:before {
	content: "\f413";
}

/**
 * 6.4 - Post Navigation
 */

.post-navigation {
	width: 100%;
}

.post-navigation a,
.image-navigation a {     
	color: #206474;
	display: block;
	padding: 1em 0;
	text-decoration: none;
}

.post-navigation .nav-links,
.image-navigation .nav-links {
	display: flex;	
}

.post-navigation .meta-nav {
	font-size: 13px;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	line-height: 1.618;
	margin: 0 0.539em 0.539em;
	text-transform: uppercase;
}

.post-navigation .post-title {
	display: inline;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.2;
}

.post-navigation a:hover,
.post-navigation a:focus,
.image-navigation a:hover,
.image-navigation a:focus {
	color: #990000;
}

.post-navigation .nav-previous,
.image-navigation .nav-previous {
	width: 50%;
	margin: 0 auto 0 0;
}

.post-navigation .nav-previous a,
.image-navigation .nav-previous a {
	text-align: left;
}

.post-navigation .nav-next,
.image-navigation .nav-next { 
	width: 50%;
	margin: 0 0 0 auto;
}

.post-navigation .nav-next a,
.image-navigation .nav-next a {
	text-align: right;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover,
.image-navigation .nav-previous:hover,
.image-navigation .nav-next:hover {
	color: #990000;
}

.post-navigation .nav-previous:focus,
.post-navigation .nav-next:focus,
.image-navigation .nav-previous:focus,
.image-navigation .nav-next:focus {
	color: #990000;
}

.more-link {
	color: #206474;
	font-size: 0.9em;
}

.more-link:hover,
.more-link:focus {
	color: #990000;
}

/**
 * 6.5 - Blog Navigation and Pagination
 */

.navigation .genericon {
	font-size: 1.5em;
	font-weight: bold;
}

.posts-navigation {
	margin: 1.7675em 0;
}

.posts-navigation .nav-links {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.667;
	text-transform: uppercase;
	text-align: center;
}

.posts-navigation .nav-next,
.posts-navigation .nav-previous {
	margin: 1em 0;
	box-sizing: border-box;
	text-align: left;
}

.posts-navigation .nav-next {
	text-align: right;
}

.posts-navigation a:hover,
.posts-navigation a:focus {
	color: #990000;
}

.posts-navigation .nav-previous .genericon {
	margin-right: 0.5em;
}

.posts-navigation .nav-next .genericon {
	margin-left: 0.5em;
}

.pagination {
	margin: 2.121em 0;
}

.pagination .nav-links {
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-block;
	background-color: #206474;
	border: 1px solid #206474;
	border-radius: 2px;
	color: #fafafa;
	height: 2em;
	width: 2em;
	margin: 0 0.2em;
}

.pagination a:hover,
.pagination a:focus {
	background-color: #990000;
	border: 1px solid #990000;
	color: #fafafa;
}

.pagination .current {
	background-color: transparent;
	border: transparent;
	color: #333;
	margin: 0;
}

.pagination .dots {
	background-color: transparent;
	color: #206474;
	border: 0;
	margin: 0;
}

.pagination .prev,
.pagination .next {
	border: 0;
	width: auto;
	background-color: transparent;
	color: #206474;
	margin: 0 0.5em;
}

.pagination a.prev:hover,
.pagination a.next:hover,
.pagination a.prev:focus,
.pagination a.next:focus {
	border: transparent;
	background-color: transparent;
	color: #990000;
}

.pagination .prev .genericon {
	margin-right: 0.5em;
}

.pagination .next .genericon {
	margin-left: 0.5em;	
}

/**
 * 7.0 Accessibility
 */

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute !important;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

/* must have higher specificity than alternative color schemes inline styles */
.skip-link {
	background-color: #fafafa;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #1d779f;
	display: block;
	font: bold 14px/normal "Noto Sans", sans-serif;
	left: -9999em;
	top: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
}

.skip-link:focus {
	clip: auto;
	height: auto;
	width: auto;
	left: 6px;
	top: 7px;
	z-index: 100000; /* Above WP toolbar */
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	font: bold 14px/normal "Noto Sans", sans-serif;
}

/**
 * 8.0 - Alignments
 */

.alignleft {
	float: left;
	margin: 0.375em 1.667em 1.667em 0;
}

.alignright {
	float: right;
	margin: 0.375em 0 1.667em 1.667em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1.667em;
}

blockquote.alignleft {
	margin: 0.315em 1.5em 1.5em 0;
	width: 50%;
}

blockquote.alignright {
	margin: 0.315em 0 1.5em 1.5em;
	width: 50%;
}

blockquote.aligncenter {
	margin-bottom: 1.5em;
}

/**
 * 9.0 - Clearings
 */

.post:before,
.post:after,
.post-thumbnail:before,
.post-thumbnail:after,
header:before,
header:after,
footer:before,
footer:after,
main:before,
main:after,
section:before,
section:after,
article:before,
article:after,
aside:before,
aside:after,
.entry-meta:before,
.entry-meta:after,
.sidebars:before,
.sidebars:after,
.author-bio:before,
.author-bio:after,
.contributor:before,
.contributor:after,
.main-content:before,
.main-content:after,
.main-content-full:before,
.main-content-full:after,
#footer-widget-area:before,
#footer-widget-area:after {
	content: "";
	display: block;
}

.post:after,
.post-thumbnail:after,
header:after,
footer:after,
main:after,
section:after,
article:after,
aside:after,
.entry-meta:after,
.sidebars:after,
.contributor:after,
.author-bio:after,
.main-content:after,
.main-content-full:after,
#footer-widget-area:after {
	clear: both;
}

/**
 * 10.0 - Widgets
 */

 /* Calendar Widget */

.widget-area a {
	color: #206474;
	text-decoration: none;
}

.widget-area a:hover,
.widget-area a:focus {
	color: #990000;
}

.widget_calendar table {
	margin: 0;
	line-height: 2
}

.widget_calendar caption {
	font-weight: 700;
	line-height: 1.667;
	margin-bottom: 1em;
	text-align: left;
	text-transform: uppercase;
}

.widget_calendar thead th {
	background-color: rgba(255, 255, 255, 0.15);
}

.widget_calendar tbody td,
.widget_calendar thead th {
	text-align: center;
	padding:0;
}

.widget_calendar tbody a {
	background-color: #206474;
	color: #fafafa;
	font-weight: 700;
	text-decoration: none;
	display: block;
}

.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus {
	background-color: #990000;
	color: #eaeaea;
}

.widget_calendar #prev {
	padding-left: 5px;
}

.widget_calendar #next {
	padding-right: 5px;
	text-align: right;
}

/* ------------------ Mobile First, Content ------------------------- */

/**
 * 11.0 - Content
 */

html,
body {
	height:100%;
	margin: 0 auto;
	font-size: 1em;
	letter-spacing:0.02em;
}

#container { 
	position: relative;
	height: auto;       /*!mportant*/
	min-height: 100%;
	width: 100%;
	margin: 0 auto;
	background-color: #fdffff;  /*#fdffff;*/
}

main {
	min-height: calc(100vh - 4em);
}

.main-content,
.main-content-full { 
	width: 100%;
	margin: auto;
	padding: 1em;
}

.sidebars {
	padding: 1em;
}

.inner {    
	width: 88%;
	margin: 0 auto;
}

.block-color {
	height: 100%;
	text-align: center;
	font-size: 4em;
	padding: 2em 2em;
}

/**
* 11.1 - Header
*/

.site-header {
	width: 100%;
	z-index: 999;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

/*---- Formatting of the logo part -----*/
#site-identity {
	margin: 0;
	padding: 0 0 0 1em;
	min-height: 4em;
	display: flex;
	align-items: center;
}

.site-title {
	color: #206474;
	text-transform: uppercase;
	margin: 0;
	width: auto;
	display: inline-block;
}

a.home-link {   
	text-decoration: none;
}

.site-description {
	display: none;
	width:100%;
	margin: 0.8em 0 0;
	padding: 0;
	color: #222;
	font-size: 1.4em;
	line-height: 1em;
	letter-spacing: 0.1em;
}

#site-identity img {
	margin: 0.5em 0;
}

/**
 * 11.2 - Posts and pages
 */

 .post {
	border-bottom: 1px solid #ccc;
	padding: 1em 0;
}

.single .post {
	border: 0;
	padding: 0;
}

.archive .post:first-of-type,
.blog .post:first-of-type {
	padding: 0 0 1em;
}

.archive .post:last-of-type,
.blog .post:last-of-type {
	border-bottom: 0;
}
 .entry-header {
	position: relative;
 }

 .entry-title {
	color: #206474;
	font-size: 1.441em;
}

.entry-title a {
	color: #206474;
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	color: #990000;
	text-decoration: none;
}

.post-thumbnail,
.featured-image {
	margin: 0.6em 0;
}

.post-thumbnail img {
	width: 100%;
	margin: auto;
}

.post-thumbnail a:hover img,
.post-thumbnail a:focus img {
   opacity: 0.75;
}

.entry-excerpt {
	margin: 0.5em 0;
	color: #656565;
}

.entry-excerpt p {
	margin: 0;
}

.single .entry-excerpt {
	font-size: 1.125em
}

.entry-lead ul {
	list-style: none;
	margin: 0 0 2em;
}

.entry-lead li {
	font-size: 0.9em;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-weight: 700;
}

.post-meta-key {
	display: none;
}

.entry-content {
	margin-top: 1em;
}

.entry-footer {
}

.entry-meta {
	clear: both;
	color: #585858;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-size: 0.75em;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.008em;
	text-transform: uppercase;
}

.entry-meta a {
	color: #585858;
	text-decoration: none;
}

.entry-meta a:hover,
.entry-meta a:focus {
	color: #000;
}

.entry-meta .comments-link {
	float: right;
}

.entry-meta time {
	margin-right: 0.3em;
}

.full-size-link,
.parent-post-link {
	margin-right: 0.3em;
}


.sticky .entry-date {
	display: none;
}

.featured-post {    
	clear: both;
	color: #222;
	font-size: 0.875em;
	font-size: 14px;
	line-height: 1em;
	font-weight: 700;
	letter-spacing: 0.008em;
	text-transform: uppercase;
	position:relative;
	top:0;
	right: 0;
}

.cat-links {
	font-weight: 700;
	font-size: 0.875em;
	text-transform: uppercase;
}

.cat-links a {
	color: #555;
	text-decoration: none;
}

.cat-links a:hover,
.cat-links a:focus {
	color: #333;
}

.cat-links a:first-child:before {
	content: "\f301";
}

.byline {
	display: none;
}

.entry-meta .byline,
.group-blog .byline {
	display: inline;
}

.single .byline {
	font-size: 0.8em;
}

.entry-author a,
.entry-date a {
	font-weight: 700;
	text-transform: uppercase;
	color: #333;
}

.entry-date a {
	font-family: Lato, Helvetica, sans-serif;
	margin: 0 0 0 8px;
}

.entry-date a:hover,
.entry-date a:focus {
   color: #585858;
}

.entry-author a:hover,
.entry-date a:hover,
.entry-author a:focus,
.entry-date a:focus {
	color: #206474;
}

/* Tag links style */

.tag-links {
	padding: 0 0 2em;
}

.tag-links a {
	background-color: #585858;
	border-radius: 0 2px 2px 0;
	color: #fafafa;
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	margin: 2px 4px 2px 10px;
	padding: 3px 7px;
	position: relative;
	text-transform: uppercase;
}

.tag-links a:hover,
.tag-links a:focus {
	background-color: #206474;
	color: #fafafa;
}

.tag-links a:before {
	border-top: 10px solid transparent;
	border-right: 8px solid #585858;
	border-bottom: 10px solid transparent;
	content: "";
	height: 0;
	position: absolute;
	top: 0;
	left: -8px;
	width: 0;
}

.tag-links a:hover:before,
.tag-links a:focus:before {
	border-right-color: #206474;
}

.tag-links a:after {
	background-color: #fafafa;
	border-radius: 50%;
	content: "";
	height: 4px;
	position: absolute;
	top: 8px;
	left: -2px;
	width: 4px;
}

/* Page links */

.page-links {
	clear: both;
	font-size: 12px;
	font-weight: 700;
	line-height: 2;
	margin: 24px 0;
	text-transform: uppercase;
}

.page-links a,
.page-links > span {
	background: #f2f2e8;
	border: 1px solid #f2f2e8;
	display: inline-block;
	height: 22px;
	margin: 0 1px 2px 0;
	text-align: center;
	width: 22px;
}

.page-links a {
	background: #206474;
	border: 1px solid #206474;
	color: #fafafa;
	text-decoration: none;
}

.page-links a:hover,
.page-links a:focus {
	background-color: #990000;
	border: 1px solid #990000;
	color: #fafafa;
}

.page-links > .page-links-title {
	height: auto;
	margin: 0;
	padding-right: 7px;
	width: auto;
}

.entry-attachment {
	margin-bottom: 1.667em;
	width: 100%;
}

.entry-attachment img {
	width: 100%;
}

.entry-caption {
	color: #585858;
	font-size: 14px;
	font-size: 0.8750rem;
	font-style: italic;
	line-height: 1.618;
	padding-top: 1.08em;
}

.entry-caption > :last-child {
	margin-bottom: 0;
}

/* Author bio*/

.author-bio {
	margin: 0 0 1em;
}

.author-bio img {
	float: left;
	margin: 0.4em 1.8em 0.5em 0;
	padding: 0;
}

.author-description {
	font-size: 0.85em;
} 

/* -------Special sections -------------*/

.category-section {}

.author-section {
	padding: 1em 0 2em ;
}

.page-template .author-section {
	width: 100%;
}

.page-template .contributors .contributor,
.page-template .author-section .contributor {
}

.contributors .contributor,
.author-section .contributor {
	padding: 1em 0;
	border-bottom: 1px solid #efefef;
}

.contributors .contributor:before,
.contributors .contributor:after,
.author-section .contributor:before,
.author-section .contributor:after {
	content: "";
	display: table;
}

.contributors .contributor:after,
.author-section .contributor:after {
	clear:both;
}

.contributors .avatar-container,
.author-section .avatar-container {
	width: auto;
	float: left;
	margin: 0;
	padding: 0.2em 10% 0 0;
}

.contributors .contributor-content,
.author-section .contributor-content {
	width: 65%;
	float: left;
	margin: 0;
}

.contributors .entry-author a:hover,
.contributors .entry-author a:focus,
.author-section .entry-author a:hover,
.author-section .entry-author a:focus {
	color: #333;
	text-decoration: underline;
}

.author-section .entry-title,
.category-small-section .entry-title {
	font-family: Lato, Helvetica, sans-serif;
	font-size: 0.9em;
	margin: 0;
	font-weight: normal;
}
	
.author-section .entry-title a,
.category-small-section .entry-title a {
	color: #111;
} 

.author-section .entry-title a:hover,
.category-small-section .entry-title a:hover,
.author-section .entry-title a:focus,
.category-small-section .entry-title a:focus {
	text-decoration: underline;
}

.category-small-section{
	padding: 0 0.6em;
}

.author-section .author-link {
}

.author-link .genericon:before {
	font-size: 1.5em;
	vertical-align:top;
}

.featured-article-tag .related-posts .flex-container,
.related-posts .flex-container {
	display:flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}

.single-post .related-posts {
	padding: 0 0 2em;
}

.featured-article-tag .related-thumb,
.featured-article-tag .related-no-thumb,
.related-thumb,
.related-no-thumb {
	width: 47%;
}

.featured-article-cat .entry-meta,
.article-3 .entry-meta {
	margin: 0;
}

.featured-article-cat .entry-title,
.article-3 .entry-title {
	margin: 0;
	font-size: 1.3em;
	line-height: 1.3;
}

.featured-article-cat .post-thumbnail {
	padding: 0 ;
}

.article-3 .post-thumbnail {        
	width: 33%;
	float: left;
	padding-right: 4%;
	margin: 0.5em 0 0;
}

.featured-article-cat .entry-content,
.article-3 .entry-content {
	padding: 0;
	margin: 0 0 0.5em;
}

.featured-article-cat .entry-content p,
.article-3 .entry-content p {
	margin: 0;
	font-size: 0.85em;
}

.featured-article-tag .related-posts h3,
.featured-article-cat .related-posts h3,
.article-3 .related-posts h3,
.single-post .related-posts h3 {
	font-size: 1em;
	color: #555;
	padding-bottom: 0.5em;
}

.featured-article-tag .related-posts h4,
.featured-article-cat .related-posts h4,
.article-3 .related-posts h4,
.single-post .related-posts h4 {
	font-family: Lato, Helvetica, sans-serif;
	font-size: 0.9em;
	margin: 0;
	font-weight: normal;
}

.related-no-thumb .placeholder {
	width: 100%;
	position: relative;
	color: #fff;
	background-color: #ccc;
	transition: opacity 1s;
}
	
.related-no-thumb .placeholder:before {
	content: "";
	display: block;
	padding-top: 56.3855%;
}

.related-no-thumb .placeholder .genericon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	font-size: 2.4em;
}

.related-thumb a:hover img,
.related-thumb a:focus img,
.related-no-thumb .placeholder:hover,
.related-no-thumb .placeholder:focus {
	opacity: 0.75;
}

.featured-article-cat .entry-footer,
.article-3 .entry-footer{
	padding: 0.5em 0 0;
}

/**
 * 11.3 - Post Formats
 */

.post-format {
}

.format-chat .entry-content p:nth-child(odd) {
	background-color: #efefef;
	padding: 0 0.8em;
}

.format-chat .entry-content p:nth-child(even) {
	background-color: #fefefe;
	padding: 0 0.8em;
}

/**
 * 11.4 - Comments
 */

.comments-area {
	margin: 1em auto;
}

.comment-reply-title,
.comments-title {
	font: 900 16px/1.5 'Source Sans Pro', sans-serif;
	margin: 0;
	text-transform: uppercase;
}

.comment-list {
	list-style: none;
	margin: 0;
}

.comment-author {    
	line-height: 2;
}

.comment-list .reply,
.comment-metadata {
	font-size: 12px;
	line-height: 2;
	text-transform: uppercase;
}

.comment-list .reply {
	margin-top: 1em;
}

.comment-author .fn {
	font-weight: 900;
	margin-left: 0.25em;
}

.comment-author a {
	color: #222;
}

.comment-list .trackback a,
.comment-list .pingback a,
.comment-metadata a {
	color: #585858;
}

.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover {
	color: #206474;
}

.comment-author a:focus,
.comment-list .pingback a:focus,
.comment-list .trackback a:focus,
.comment-metadata a:focus {
	color: #206474;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 1em;
	padding-top: 1em;
}

.comment-list > li:first-child > article,
.comment-list > .pingback:first-child,
.comment-list > .trackback:first-child {
	border-top: 0;
}

.comment-author {
	position: relative;
}

.comment-author .avatar {
	border: 1px solid rgba(0, 0, 0, 0.1);
	height: 1.5em;
	width: 1.5em;
	padding: 2px;
	position: absolute;
	top: 0;
	left: 0;
}

.comment-author,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply,
.comment-metadata {
	padding-left: 30px;
}

.comment-edit-link {
	margin-left: 10px;
}

.comment-edit-link .genericon:before {
	line-height: 1.4;
}

.comment a {
	color: #206474;
	text-decoration: none;
}
.comment a:hover,
.comment a:focus {
	color: #990000;
}

.comment-reply-link .genericon:before,
.comment-reply-login .genericon:before {
	line-height: 1.5;
	margin-right: 0.4em;
}

.comment-content {
	-webkit-hyphens: auto;
	-moz-hyphens:    auto;
	-ms-hyphens:     auto;
	hyphens:         auto;
	word-wrap: break-word;
}

.comment-content ul,
.comment-content ol {
	margin: 0 0 1.5em 1.4em;
}

.comment-content li > ul,
.comment-content li > ol {
	margin-bottom: 0;
}

.comment-content > :last-child {
	margin-bottom: 0;
}

.comment-list .children {
	list-style: none;
	margin-left: 1.5em;
}

.comment-respond {
	margin-bottom: 24px;
	padding: 0;
}

.comment .comment-respond {
	margin-top: 24px;
}

.comment-respond h3 {
	margin-top: 0;
	margin-bottom: 24px;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.no-comments,
.form-allowed-tags,
.form-allowed-tags code {
	color: #585858;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as {
	font-size: 14px;
	line-height: 1.7;
}

.logged-in-as a {
	color: #206474;
	text-decoration: none;
}

.logged-in-as a:hover,
.logged-in-as a:focus {
	color: #990000;
}

.no-comments {
	font-size: 16px;
	font-weight: 900;
	line-height: 1.5;
	margin-top: 24px;
	text-transform: uppercase;
}

.comment-form label {
	display: block;
	padding-bottom: 0.3em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
}

.form-allowed-tags,
.form-allowed-tags code {
	font-size: 12px;
	line-height: 1.5;
}

.required {
	color: #bf2323;
}

.comment-reply-title small a {
	color: #222;
	float: right;
	height: 24px;
	overflow: hidden;
	width: 24px;
}

.comment-reply-title small a:hover,
.comment-reply-title small a:focus {
	color: #206474;
}

.comment-reply-title small a:before {
	content: "\f405";
	font-size: 32px;
}

.comment-navigation {
	font-size: 12px;
	font-size: 0.75rem;
	padding: 1.5em 0;
	text-transform: uppercase;
}

.comment-navigation:first-of-type {
	margin-top: 1.5em;
}

.comment-navigation:last-of-type {
	margin-bottom: 2em
}

.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;	
}

.bypostauthor > article .fn:before {
	content: "\f408";
	margin: 0 2px 0 -2px;
	position: relative;
	top: -1px;
}

/**
 * 11.5 - Sidebar
 */
	
.sidebar {
	font-size: 1em;
}

/**
 * 11.6 - Footer
 */

#footer-widget-area {
	background-color: #4d5658;
	color:#f2f2e8;
	font-size: 1em;
	padding: 1em;
}

#footer-widget-area a {
	color:#f2f2e8;
	color: #b3e4ef;
	text-decoration: none;
}

#footer-widget-area .author-section .entry-title a,
#footer-widget-area .category-small-section .entry-title a,
#footer-widget-area .entry-meta a {
	color: #ffebcd;
}

#footer-widget-area a:hover,
#footer-widget-area a:focus {
	color: #b3e4ef;
	color:#f2f2e8;
	text-decoration: underline;
}

#footer-widget-area a:hover .genericon {
	text-decoration: none;
}

#footer-widget-area .entry-meta,
#footer-widget-area blockquote {
	color: #ddd;
}

#footer-widget-area blockquote {
	border-left-color: #fff;
}

#footer-widget-area blockquote cite {
	color: #fff;
}

.widget-area {
	border:solid 0px #ff0000;
}

#page-footer {
	width: 100%;
	margin: auto;
	padding: 0.5em;
	line-height: 1em;
	background-color: #fdffff;
	border-top: 2px solid #206474;
	box-shadow: 0px -1px 5px -1px black;
}

#page-footer a { 
	text-decoration: none;
	color: #222;
}

#page-footer i { 
	font-size: 1em;
	padding-right: 0.8em;
}

#site-info {
	text-align: center;
	margin: 0.5em auto;
}

#site-info .footer-site-title:after {
	content: " \002f";
}

#site-info a:hover,
#site-info a:focus {
	color: #206474;
}

#social {
	text-align: center;
}

#page-footer #social {
	display: none;
}

.archive-header,
.page-header {
	margin: 0 auto 1em;
}

.error404 .page-header {
	margin-bottom: 24px;
}

/**
 * 12.0 - Media
 */

.site .avatar {
	border-radius: 50%;
}

.entry-content .wp-smiley,
.entry-summary .wp-smiley,
.comment-content .wp-smiley,
.textwidget .wp-smiley {
	border: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

.entry-content a img,
.entry-summary a img,
.comment-content a img,
.textwidget a img {
	display: block;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object,
video {
	margin-bottom: 1.21em;
	max-width: 100%;
	vertical-align: middle;
}

p > embed,
p > iframe,
p > object,
p > video {
	margin-bottom: 0;
}

.entry-content .wp-audio-shortcode a,
.entry-content .wp-playlist a {
	box-shadow: none;
}

.wp-audio-shortcode,
.wp-video,
.wp-playlist.wp-audio-playlist {
	margin-top: 0;
	margin-bottom: 1.667em;
}

.wp-playlist.wp-audio-playlist {
	padding-bottom: 0;
}

.wp-playlist .wp-playlist-tracks {
	margin-top: 0;
}

.wp-playlist-item .wp-playlist-caption {
	border-bottom: 0;
	padding: 0.7142857143em 0;
}

.wp-playlist-item .wp-playlist-item-length {
	top: 0.7142857143em;
}

/**
 * 12.1 - Captions
 */

.wp-caption {
	margin-bottom: 1.667em;
	max-width: 100%;
}

.blog .wp-caption {
	margin-bottom: 1em;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption .wp-caption-text {
	color: #585858;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.618;
	padding-top: 0.539em;
}

/**
 * 12.2 - Galleries
 */

.gallery {
	margin: 0 -1.1666667% 1.667em;
}

.gallery-item {
	display: inline-block;
	max-width: 33.33%;
	padding: 0 1.1400652% 2.2801304%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.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-icon img {
	margin: 0 auto;
}

.gallery-caption {
	color: #585858;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.618;
	padding-top: 0.539em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.wp-block-gallery {
	margin: 0;
}

.wp-block-audio audio {
	min-width: initial;
}

.wp-block-image img {
	width: 100%;
	max-width: 100%;
}

.wp-block-calendar table:where(:not(.has-text-color)) {
	color: #f2f2e8;
}

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

@media (min-width: 881px) {

/**
 * 3.0 - Typography
 */

h1 {
	font-size: 2.074em;
	margin: 0 0 0.3596em;
}

h2 {
	font-size: 1.728em;
	margin: 0 0 0.2em;
}

h3 {
	font-size: 1.44em;
	margin: 0 0 0.6780em;
}

h4 {
	font-size: 1.2em;
	margin: 0 0 0.720em;
}

h5 {
	font-size: 1em;
	margin: 0 0 0.898em;
}

h6 {
	font-size: 0.833em;
	margin: 0 0 0.898em;
}

/**
 * 4.0 - Elements
 */


/**
 * 6.0 - Navigation
 */

.menu-toggle {
	display: none;
}

#navigation {
	display: block;
	position: initial;
	margin: 1em auto 0;
	width: 100%;
}
	
#main-menu #primary-menu {
	background-color: #206474;
}
	
.site-navigation a {
	color: #f2f2e8;
}
  
.primary-navigation .menu, 
.secondary-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	padding: 0 3em;
	border: 0px solid black;
}

.primary-navigation ul li:hover > ul,
.primary-navigation ul li.focus > ul {
	left: auto;
}

.primary-navigation ul ul li:hover > ul,
.primary-navigation ul ul li.focus > ul {
	left: 100%;
}
	
.primary-navigation li, .secondary-navigation li {
	border: 0;
	display: inline-block;
}

.primary-navigation a {
	background-color: #206474;
	font-size: 0.85em;
	line-height: 1.078667;
	padding: 0.7em 0.75em;
}

.primary-navigation li:hover > a,
.primary-navigation li.focus > a {
	background-color: #206474;
	color: #fff;
	font-weight: bold;
}

.primary-navigation ul ul a:hover,
.primary-navigation ul ul a:focus,
.primary-navigation ul ul li.focus > a {
	background-color: #277a8d;
}

.primary-navigation li li,
.secondary-navigation li li {
	display: inline-block;
}
	
.primary-navigation .menu-item-has-children > a,
.primary-navigation .page_item_has_children > a {
	margin: 0;
	padding-right: 30px;
}

.primary-navigation li .menu-item-has-children > a,
.primary-navigation li .page_item_has_children > a {
	width: 12em;
}

.primary-navigation .menu-item-has-children > a .genericon:before,
.primary-navigation .page_item_has_children > a .genericon:before {
	-webkit-font-smoothing: antialiased;
	content: "\f502";  /* arrow down */
	display: inline-block;
	font: normal 16px/1 Genericons;
	position: absolute;
	right: 0px;
	top: 12px;
	vertical-align: text-bottom;
}

.primary-navigation .menu-item-has-children li.menu-item-has-children > a .genericon:before,
.primary-navigation .menu-item-has-children li.page_item_has_children > a .genericon:before,
.primary-navigation .page_item_has_children li.menu-item-has-children > a .genericon:before,
.primary-navigation .page_item_has_children li.page_item_has_children > a .genericon:before {
	content: "\f501";  /* arrow right */
	right: 4px;
	top: 8px;
}

.primary-navigation li,
.secondary-navigation li {
	display: inline-block;
	width: auto;
	margin: auto;
	padding: 0;
	text-align: left;
}

.secondary-navigation a {
	color: #194f5b;
	font-size: 0.85em;
	line-height: 1.078667;
	padding: 0.7em 0.75em;
	width: auto;
	overflow: visible;     
}

.secondary-navigation a:hover,
.secondary-navigation a:focus {
	color: #000;
	font-weight: bold;
}

#categories-menu #secondary-menu {
	background-color: #d6d1ce;
}

.social-navigation .menu {
	display: none;
}

footer .social-navigation .menu {
	display: block;
}
	
		
header .search-form {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
}

/* Posts navigation */
	
.posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
}

.posts-navigation .nav-previous {
	width: 50%;
	text-align: left;
	margin-left: 0;
	margin-right: auto;
}

.posts-navigation .nav-next {
	width: 50%;
	text-align: right;
	margin-right: 0;
	margin-left: auto;
}

/**
 * 11.0 - Content
 */

html, body { 
	height:100%;
	margin: 0 auto;
}
	
#container {
	margin: 0 auto;
}
  
.logged-in #container {
	margin: 0 auto;
}
	
#main {
	display: flex;
	min-height: calc(100vh - 10em);
}

.main-content { 
	width: 71%;
	margin: 0;
	padding: 4em 3% 2em 6%;
	font-size: 1.125em;
	letter-spacing:0.02em;
}

.sidebars {
	width: 29%;
	margin: 0;
	padding: 4em 6% 2em 3%;
	border: none;
}

.no-sidebar .main-content,
.main-content-full {
	width: 100%;
	padding: 4em 6%;
	font-size: 1.125em;
}

/**
 * 11.2 - Posts and pages
 */

.no-sidebar.single .post,
.no-sidebar .type-page,
.no-sidebar .type-attachment {
	width: 85%;
	margin: 0 auto;
}

.page-template-no-sidebar-full-width .type-page {
	width: 100%;
}

.page-template-no-sidebar-left .type-page {
	width: 71%;
	margin: 0 auto 0 0;
}

.entry-date a {
	margin: 0 0 0 10px;
	font-size: 14px;
}
	
.single .byline {
	font-size: 1em;
}

.single-post .featured-image img {
	width: 100%;
}

.post {
	margin: 0;
	padding: 1em 0.6em 2em;
}
	
.front-page .post {
	border-bottom: 0;
}
	
.entry-title {
	font-size: 2.074em;
}
	
.entry-content {
}

.small-formatted-posts .post {
	width: 30%;
	margin: 0 3% 0 0;
}

.no-sidebar .small-formatted-posts .post {
	width: 22%;
}
	
.small-formatted-posts .post:nth-child(3n),
.no-sidebar .small-formatted-posts .post:nth-child(4n) {
	margin: 0;
}

.widget-area .post {
	width: 90%;
	font-size: 16px;
	margin: 0 0 0.5em;
	padding: 0.6em 0 ;
}
	
.widget-area .article-2 {
	padding-top: 0;
}

.widget-area .post .entry-meta {
	font-size: 0.7em;
	margin: 0;
}

.widget-area .category-small-section .entry-title,
.widget-area .author-section .entry-title {
	font-size: 1em;
	line-height: 1.3;
	margin-bottom: 0.5em;
}

.widget-area .entry-content {
	padding: 0.2em 0 0;
}

.widget-area .wp-caption,
.widget-area p {
	margin: 0 0 0.5em;
}

.article-1,
.article-2,
.featured-article-cat {
	margin: 0;
	padding: 1em 0.6em;
}

.article-3 {
	margin: 0;
	padding: 1em 0.6em 0.1em;
}

.author-bio {
	margin: 0 0 1.667em;
}

.author-bio img {
	width: auto;
	float: none;
}

.author-description {
	float: right;
	width: calc(100% - 72px - 2.5em) 
} 

.flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.category-section {
	width: 100%;
}

.category-column {
	width: 100%;
	border: 0px solid;
}

.category-title {
	border-bottom: 1px solid #aaa;
	margin: 0.3596em 0 0;
}

.category-column .post {
	width: 50%;
	float: left;
}

.category-section h1 + .post {
	border-top: 0;
	padding-right: 4%;
}

.featured-content-section .post:first-of-type {
	border-top: 0;
	padding: 1em 0 2em;
}
	
.featured-content-section .post {
	width: 100%;
	padding: 1em 0 2em;
}

.category-small-section h3,
.related-posts h3 {
	font-size: 1.44em;
	margin: 0.139em 0;
	font-family: Lato, Helvetica, sans-serif;
}

.no-sidebar .category-section .post {
	
}

.category-featured .post:last-of-type {
	margin-bottom: 2em;
}

.featured-content-section > h1,
.category-section > h1,
.latest-section > h1, 
.small-formats-section > h1 {
	font-size: 3.074em;
	margin: 0 0 0.3596em;
	text-align: center;
}

.author-section {
	width: 100%;
	float: right;
	padding: 1em;
	margin-bottom: 1em;
}

.contributors .contributor, .author-section .contributor {
	width: 100%;
	padding: 1em 0;
	border-bottom: 1px solid #afafaf;
}

.author-section .author-link,
.contributors .author-link {
	width: auto;
	margin:auto;
	background-color: transparent;
	border-radius: 2px;
	text-align: center;
}

.contributors .contributor, .author-section .contributor-content {
   width: 60%;
   float: left;
   margin: 0 auto;
}

.author-section .entry-author a {
	font-variant: small-caps;
}

.author-section .entry-author a:hover,
.author-section .entry-author a:focus {
	color: #333;
	text-decoration: underline;
}
	
.author-section .entry-title a {
	color: #111;
} 

.author-section .entry-title a:hover,
.author-section .entry-title a:focus {
	text-decoration: underline;
}

.author-link .genericon:before {
	font-size: 2em;
	vertical-align:text-top;
}

.page-template .author-section {
	width: 100%;
}

.page-template .contributors .contributor {
	width: 45%;
	margin: 0 auto 2em;
}

.article-1 {
	width: 100%;
	position: relative;
}
.article-1 .featured-post {
	position:relative;
	top: 0;
	left: 0;
}

.article-1 .post-thumbnail {
	width: 41.2%;
	margin: 0;
	padding-right: 2%;
	float: left;
}

.article-1 section {
	width: 56.8%;
	float: right;
}

.widget-area .article-1 .post-thumbnail,
.widget-area .article-1 section {
	width: 100%;
	float: none;
}

.widget-area .article-1 .post-thumbnail {
	display: none;
}

.widget-area .article-1 .entry-meta {
	display: none;
}

.article-1 .entry-meta,
.article-2 .entry-meta {
	margin: 0;
}

.article-1 .entry-title,
.article-2 .entry-title,
.small-formatted-posts .entry-title {
	font-size: 1.4em;
	line-height: 1.4em;
	margin: 0;
}
	
.article-1 .entry-content,
.small-formatted-posts .entry-content {
	padding: 0.2em 0 0;
}

.article-2 {
	position: relative;
	width: 30%;
	margin:  0 3% 0 0;
	text-align: center;
	padding: 0;
	border-top: 3px solid #206474;
	font-size: 16px;
	line-height: 1.5em;
}

.no-sidebar .category-standard-posts .article-2 {
	width: 22%;
	/*! padding: 0 0 0.5em 0;*/
}

.category-standard-posts {
	margin-top: 2em;
}
	
.category-standard-posts .article-2 {
	border-bottom: 0;
	margin-bottom: 1em;
}

.article-2:nth-child(3n),
.no-sidebar .article-2:nth-child(4n) {
	margin: 0;
}

.article-2 .post-thumbnail {
	width: 100%;
	margin: 0;
}

.article-2 .entry-header {
	padding-top: 0.5em;
}
   
.article-2 .entry-content {
	padding: 0 0.5em;
}

.article-2 .entry-footer,
.latest-section .entry-footer,
.post-format .entry-footer {
	text-align: left;
}
	
/* Featured articles */

.featured-article-tag {
	width: 100%;
}

.featured-article-tag .main-post {
	margin: 0 0 0.667em 0;
}

.featured-article-tag .post-thumbnail {
	width: 47%;
	float: left;
}

.featured-article-tag .entry-all {
	width: 47%;
	float: left;
	padding-left: 4%;
}
	
.featured-article-tag .entry-meta {
	margin: 0 ;
}

.featured-article-tag .entry-title {
	margin: 0;
	line-height: 1.3
}

.featured-article-tag .entry-content {
	padding: 0;
	margin: 0;
}
	
.featured-article-tag p {
	margin: 0 0 0.6em;
}

.featured-article-tag .related-posts,
.single-post .related-posts {
	width: 100%;
}

.featured-article-tag .related-posts .flex-container {
	align-items: stretch;
}

.featured-article-tag .related-thumb,
.featured-article-tag .related-no-thumb,
.single-post .related-thumb,
.single-post .related-no-thumb {
	width: 22%;
}

.related-no-thumb .placeholder .genericon-image {
	font-size: 3.6em;
}

.related-thumb a:hover img,
.related-thumb a:focus img,
.related-no-thumb .placeholder:hover,
.related-no-thumb .placeholder:focus {
	opacity: 0.75;
}

.featured-article-cat .entry-meta,
.article-3 .entry-meta {
	margin: 0;
}

.featured-article-cat .entry-title,
.article-3 .entry-title {
	margin: 0;
	font-size: 1.2em;
	line-height: 1.2;
}

.featured-article-cat .post-thumbnail {
	padding: 0;
}

.article-3 .post-thumbnail {
	width: 33%;
	float: left;
	padding-right: 4%;
	margin: 0.5em 0 0 ;
}

.featured-article-cat .entry-content {
	min-height: 5em;
	padding: 0;
	margin: 0;
}

.article-3 .entry-content {
	padding: 0;
	margin: 0;
}

.featured-article-cat .entry-content p,
.article-3 .entry-content p {
	margin: 0;
	font-size: 0.85em;
}

.featured-article-cat .entry-footer,
.article-3 .entry-footer{
	padding: 0;
	margin: 0;
}
	
/**
 * 11.1 - Header
 */

.logged-in .site-header {
	margin-top: 0px;
	position: relative;
}

.site-header { /*   Revisar todo */
	height: auto;
	position: relative;
	top:0;      /* this two lines, together with the relative position of #container, make the header sticky. */
	z-index: 999;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}

header.inner {
	width: 99%;
}

/*---- Formatting of the logo part -----*/
#site-identity {
	width: 100%;
	text-align: center;
	padding: 1em;
	box-sizing: border-box;
	justify-content: center;
}

.site-title {
	font-size: 2.341em;
	line-height: 1.618em;
	width: 100%;
	margin: 0;
	padding: 0;
}

a.home-link { 
}

.site-description {
	display: block;
	margin: 0;
}

#site-identity img {
	margin: 1em 0;
}

/**
 * 11.3 - Post Formats
 */
 
.post-format {
}

.format-aside {
   
}

.format-image {
   
}

.format-video {

}

.format-quote {

}

.format-link {

}

.format-gallery {

}

.format-status {

}

.format-audio {

}

.format-chat {

}

.single .wp-block-audio,
.blog .wp-block-audio,
.author .wp-block-audio {
	width: 71%;
}

/**
 * 11.6 - Footer
 */

#footer-widget-area {
	padding: 2em 6%;
	display: flex;
	flex-wrap: wrap;
}

.footer-widget {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}
	
.footer-widget .widget {
	width: 33%;
	padding: 2em 3%;
}

.footer-widget .widget:first-child,
.footer-widget .widget:nth-child(4n){
	padding-left: 0;
	padding-right: 6%;
}

.footer-widget .widget:nth-child(3n){
	padding-left: 6%;
	padding-right: 0;
}

.footer-widget .widget.abedul-templates,
.footer-widget .widget.abedul-formats {
	width: 100%;
	padding: 2em 0;
}

.footer-widget .author-section,
.footer-widget .category-small-section,
.footer-widget .latest-section,
.footer-widget .abedul-formats .widget-posts {
	padding: 1em 0;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.footer-widget .author-section .contributor,
.footer-widget .category-small-section .small-section,
.footer-widget .latest-section .post,
.footer-widget .abedul-formats .post {
	border-bottom: 1px solid #777;
	margin: 0 auto 0 0;
	padding: 1em 0;
	width: 22%;
}

.footer-widget .latest-section .post,
.footer-widget .abedul-formats .post {
	width: 30%;
}
	
.footer-widget .author-section .contributor:nth-child(4n),
.footer-widget .category-small-section .small-section:nth-child(4n) {
	margin: 0;
}

.footer-widget .latest-section .post:nth-child(3n),
.footer-widget .abedul-formats .post:nth-child(3n) {
	margin: 0;
}

.footer-widget .latest-section .post {
	padding: 0 0 1em;
}

.footer-widget .abedul-formats .post {
	border-top: 0;
	border-bottom: 1px solid #777;
}
	
.widget-area {
	border: solid 0px #333;
}
  
#page-footer {
	bottom: 0;
	width: 100%;
	padding: 0 4em;
}

#page-footer #social {
	display: block;
}

#page-footer i { 
	font-size: 1.4em;
	padding-right: 0.8em;
}

#site-info {
	float: left;
	margin: 1.2em 0 1.4em;
}

#social {
	float: right;
}

#social-menu {
	margin: 0 auto;
}

#social-menu li {
	display: inline-block;
	margin: 0 0.475em;
}
	
#social-menu a {   
	margin: 0.675em 0;
}    

}

@media (min-width: 881px) and (max-width: 1280px) {
	.inner {
		width: 85.81145152%;
	}

}




