/*
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 sidebars, two footers and two custom widgets for inserting content in the sidebars.
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, grid-layout, accessibility-ready, custom-background, custom-header, custom-menu, editor-style, featured-images, 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;
}

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 .genericon:before,
.cat-links .genericon:before,
.tags-links .genericon:before,
.comments-link .genericon:before,
.entry-meta .genericon:before,
.entry-date .genericon:before,
.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', Georgia, serif;
    font-size: 1rem;
    line-height: 1.667;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 700;
    font-family: Lato, "Helvetica Neue", 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.667em;
}

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: Lato, "Helvetica Neue", sans-serif;
}

:-moz-placeholder {
    color: #585858;
    font-family: Lato, "Helvetica Neue", sans-serif;
}

::-moz-placeholder {
    color: #585858;
    font-family: Lato, "Helvetica Neue", sans-serif;
    opacity: 1;
    /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
    color: #585858;
    font-family: Lato, "Helvetica Neue", 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: Lato, "Helvetica Neue", 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: Lato, "Helvetica Neue", 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-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: 11em;
}

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

.menu-toggle:before, .menu-toggle:after {
    /*! font: normal 16px/1 Genericons; */
    /*! vertical-align: text-bottom; */
}

.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 {
    position: absolute;
    left: -999em; /* volver a -999em; */
}

.toggled-on #navigation {
    position: absolute;
    width: 100%;
    left: 0;
    top: 3.7em;
    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;
    margin-left: 10px;
}

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

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

.toggled-on .menu li > ul { 
    background-color: #fafafa;
    display: none; 
    float: none;
    margin-left: 10px;
    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: inline;
    padding: 1em 0;
    text-decoration: none;
}

.post-navigation div,
.post-navigation span,
.image-navigation div {
    display: inline;
}

.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-family: Lato, "Helvetica Neue", sans-serif;
    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 {
    float: left;
    width: 50%;
    padding-right: 2%;
}

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

.post-navigation .nav-next,
.image-navigation .nav-next  { 
    float: right;
    width: 50%;
    padding-left: 2%;
}

.post-navigation .nav-next a,
.image-navigation .nav-next a {
    float: right;
    margin: auto;    
}

.nav-links:after {
    content: "";
    display: block;
    clear:both;
}

.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
 */

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

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

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

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

.posts-navigation .nav-previous a:before{
    font-family: Genericons;
    content: "\f430";
    margin-right: 0.5em;
    vertical-align: bottom;
}

.posts-navigation .nav-next a:after{
    font-family: Genericons;
    content: "\f429";
    margin-left: 0.5em;
    line-height: 1.667em;
    vertical-align: bottom;
}

.pagination {
    margin: 2.121em 0 1.7675em;
}

.pagination .nav-links {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6667;
    text-transform: uppercase;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    background-color: #206474;
    border: 1px solid #206474;
    color: #fafafa;
    width: 22px;    
}

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

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

.pagination .dots {
    background-color: transparent;
    color: #206474;
    border: 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:before {
    content: "\f430";
    vertical-align:text-bottom ;
    margin-right: 0.5em;
    font-weight: bold;
    font-size: 1.5em
}

.pagination .prev {
    margin: 0.5em;
}

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

.pagination .next:after {
    content: "\f429";
    vertical-align:text-bottom ;
    margin-left: 0.5em;
    font-weight: bold;
    font-size: 1.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;  
}

#container { 
    position: relative;
    height: auto;           /*!mportant*/
    min-height: 100%;
    width: 100%;    
    margin: 0 auto;
    /*! background-color: #fdffff; */ /*#fdffff;*/
    font-family: Lato, "Helvetica Neue", sans-serif; 
}

.main-content,
.main-content-full { 
    width: 100%;
    margin: auto;
    padding: 1em 0;
    font-family: 'Source Sans Pro', sans-serif; 
    font-size: 1em;
    letter-spacing:0.02em;
}

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

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

.color-1 {
    background-color: #990000;
}

.color-2 {
    background-color: #dc7c55;
}

.color-3 {
    background-color: #e66d58;
}

.color-4 {
    background-color: #e6589f;
}

.color-5 {
    background-color: #dc55dc;
}

/**
* 11.1 - Header
*/

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

/*---- Formatting of the logo part -----*/
#site-identity {
    margin: 0;
    padding: 0 2em;
}

.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;
    letter-spacing: 0.1em; 
}

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

/**
 * 11.2 - Posts and pages
 */

 .post {
    border-bottom: 1px solid #efefef;
    padding: 1em 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 {
    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-top: 1.5em;
    font-family: Lato, "Helvetica Neue", sans-serif;
    color: #656565;
}

.single .entry-excerpt {
    font-size: 1.25em;
}

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

.entry-lead li {
    font-size: 0.9em;
    font-family: Lato, "Helvetica Neue", sans-serif; 
    font-weight: 700;
}

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

.entry-content {
    padding: 1em 0;
}

.entry-footer {
}

.entry-meta {
    clear: both;
    color: #585858;    
    font-size: 0.75em;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.008em;
    text-transform: uppercase;
    margin-top: 1em;
}

.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;    
    font-size: 14px;
    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;
    /*! text-decoration: none; */
    color: #333;
}

.entry-date a {
    font-family: Lato, "Helvetica Neue", 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-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-family: Lato, "Helvetica Neue", sans-serif; 
    font-size: 0.8125em;    
} 

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

.category-section {}

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

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

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

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

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

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

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

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

.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: 'Source Sans Pro';
    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;
}

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

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

.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;
    font-size: 0.9em;
    margin: 0;
    font-weight: normal;
}

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

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

/**
 * 11.3 - Post Formats
 */

.post-format {
}

.format-video iframe {
    max-height: 200px;
}

.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: 3em auto;
}

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

.comment-list {
    list-style: none;
    margin: 0 0 48px 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: 1.5em;
    padding-top: 1.5em;
}

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

.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;
    line-height: 2;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.comment-navigation .nav-next,
.comment-navigation .nav-previous {
    display: inline-block;
}

.comment-navigation .nav-previous a {
    margin-right: 10px;
}

#comment-nav-above {
    margin-top: 36px;
    margin-bottom: 0;
}

.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-bottom: 0.5em;
}
#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 0;    
    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.667em;
    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;
}


/*-------------------------------------------------------*/
/*--------------------- 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.3596em 0;
}

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

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

/**
 * 4.0 - Elements
 */

.col-1 {
    width: 7.3334%;
    padding-right: 1%;
}

.col-2 {
    width: 15.6667%;
    padding-right: 1%;
}

.col-3 {
    width: 24%;
    padding-right: 1%;
}

.col-4 {
    width: 32.3334%;
    padding-right: 1%;
}

.col-5 {
    width: 40.6667%;
    padding-right: 1%;
}

.col-6 {
    width: 49%;
    padding-right: 1%;
}

.col-7 {
    width: 57.3334%;
    padding-right: 1%;
}

.col-8 {
    width: 65.6667%;
    padding-right: 1%;
}

.col-9 {
    width: 74%;
    padding-right: 1%;
}

.col-10 {
    width: 82.3334%;
    padding-right: 1%;
}

.col-11 {
    width: 91.6667%;
    padding-right: 1%;
}

.col-12 {
    width: 100%;    
}

/**
 * 6.0 - Navigation
 */

.menu-toggle {
    display: none;
}

#navigation {
    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;
    width: 85%;
    margin: auto;
    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: 47%;
    text-align: left;
}

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

/**
 * 11.0 - Content
 */

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

.inner { 
    width: 62.5%;           /*  1200 / 1920   */
    margin: 0 auto;
}

.main-content { 
    width: 71%;
    float: left;
    margin: 0;
    padding: 0 3% 0 0 ;
    font-family: 'Source Sans Pro', sans-serif; 
    font-size: 1.125em;
    letter-spacing:0.02em;
}

.sidebars {
    width: 29%;
    float: right;
    margin: 0;
    padding: 0 0 0 4%;
    border: none;
}

.no-sidebar .main-content,
.main-content-full {
    width: 100%;
}

    
/**
 * 11.2 - Posts and pages
 */

.no-sidebar .post {
    width: 85%;
    margin: 0 auto;
}

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

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

.single-post .entry-content {
    padding: 1.5em 0;
}

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

.small-formatted-posts .post {
    width: 47%;
    margin: 0 auto 1em;
}

.no-sidebar .small-formatted-posts .post {
    width: 22%;
}

.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 2em;
}

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

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

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.category-section {
    width: 100%;
}

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

.category-column h1 {
    border-bottom: 1px solid #aaa;
    margin: 0; 
}

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

.category-section h1 + .post,
.featured-content-section .post:first-of-type {
    border-top: 0;
    padding-right: 4%;
}

.category-small-section .col-3 {   
    border: 1px solid #efefef;
    margin:  0 auto 1em;
    padding: 1em 1% 2em;
}

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

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

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

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

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

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

.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 auto 2em;
    text-align: center;
    padding: 0;
    border-top: 2px solid #206474;
    font-size: 16px;
    line-height: 1.5em
}

.no-sidebar .article-2 {
    width: 22%;
    text-align: center;
    padding: 0 0 0.5em 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;
    padding: 0 0.5em 0.5em;
}
    
/* Featured articles */

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

.featured-article-tag .main-post {
}

.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;
}
    
.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,
 .single-post .related-thumb {
    width: 22%;
    margin: auto;
}

.related-thumb a:hover img,
.related-thumb a:focus img {
    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;
}

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

a.home-link { 
}

.site-description {
    font-family: Lato;
    display: block;
    width:100%;
    margin: 0;
    line-height: 1em;    
}

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

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

.format-aside {
   
}

.format-image  {
   
}

.format-video {

}

.format-video iframe {
    max-height: 480px;
    width: 100%;
}
    
.small-formatted-posts .format-video iframe {
    max-height: 250px;
}

.format-quote {

}

.format-link {

}

.format-gallery {

}

.format-status {

}

.format-audio {

}

.format-chat {

}


/**
 * 11.6 - Footer
 */

#footer-widget-area {
    
}

#footer-widget-area .inner {
    display: flex;
    flex-wrap: wrap;    
}

.footer-widget {
    width: 100%;
    margin: 2em auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
    
.footer-widget aside {
    width: 30%;
    margin: 0 auto;
}
    
.footer-widget aside.abedul_templates,
.footer-widget aside.abedul_formats {
    width: 100%;
}

.footer-widget .author-section,
.footer-widget .category-small-section,
.footer-widget .latest-section,
.footer-widget .abedul_formats .widget-posts {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 1em 0;
    align-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 3% 0 0;
    padding: 1em 0;
    width: 47%;    
}

.footer-widget .category-small-section .small-section {
    width: 17%;
}

.footer-widget .latest-section .post {
    width: 20%;
    margin: 0 auto;
    padding: 0;
}

.footer-widget .abedul_formats .post {
    border-top: 0;
    border-bottom: 1px solid #777;
    width: 22%;
    margin: 0 auto;
}
    
.widget-area {
    border:solid 0px #333;
}
  
#page-footer {
    bottom: 0;
    width: 100%;
    padding: 0;
}

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

}




