/*
Theme Name: Gaukingo
Theme URI: http://ebyb.eu/themes/gaukingo
Author: acalfieri
Author URI: http://ebyb.eu
Description: Gaukingo is my third WordPress theme, written especially and with lots of love for my son Lucas. Lucas likes travel, music and photography and he's always on the move, so his theme was designed to put content in front and by taking the mobile-first approach, so it is fully responsive . It is accesibility ready and features the full range of post formats, two menu locations, two sidebars and three footers.
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-colors, custom-header, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, blog, photography
Text Domain: gaukingo

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

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,
.menu-item-has-children a:after,
.dropdown-toggle:after,
.comment-reply-title small a:before,
.search-submit .genericon,
.post-format .genericon {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    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;
}

.attachment span.entry-date:before,
.entry-content .edit-link a:before,
.entry-meta .post-edit-link .genericon,
.entry-meta .byline .genericon,
.entry-author .genericon,
.entry-meta .cat-links .genericon,
.tags-links a:before,
.tags-links .genericon,
.entry-meta .comments-link .genericon,
.entry-meta .entry-date a:before,
.entry-date .genericon,
.full-size-link .genericon,
.parent-post-link .genericon,
.comment-edit-link .genericon,
.comment-reply-link .genericon,
.featured-post .genericon,
.navigation .genericon,
.navigation .genericon{
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font: normal 18px/1 Genericons;
    text-decoration: inherit;
    vertical-align:text-bottom;
}

.post-format .genericon {
    vertical-align:text-top ;
    margin-right: 0.1em;
}

/**
 * 3.0 - Typography
 */

body,
button,
input,
select,
textarea {
    color: #333;
    font-family: Lato, "Helvetica Neue", sans-serif;
    font-size: 1em;
    line-height: 1.667;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 700;
    font-family: 'Aldrich';     
}

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

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

blockquote {
    border: 0 solid #333;
    border-left-width: 4px;
    color: #6f6f6f;
    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: #327070;
    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: #fafafa;
    /* 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: #6f6f6f;
    font-family: Lato, "Helvetica Neue", sans-serif;
}

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

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

:-ms-input-placeholder {
    color: #6f6f6f;
    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: #327070;
    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: #3b9f9f;
}

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: #6f6f6f;
    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: #327070;
    color: #333;
    outline: 0;
}

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

.post-password-form label {
    color: #6f6f6f;
    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 {
    display: flex;
    position: relative;
}

.search-field[type="search"] {
    border-radius: 2px 0 0 2px;
}

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

.search-submit .genericon {
    font-size: 1.5em;
    position: relative;
    left: 2px;
    width: 42px;
}

header .search-form {
   display: none;
}

header .search-field[type="search"] {
    width: 1px;
    background-color: transparent;
    border: none;  
}

header .search-submit {
    background-color: transparent;
    color: #327070;
}

header .search-form:hover .search-submit,
header .search-form:focus .search-submit
header .search-submit:hover,
header .search-submit:focus {
    color: #fafafa;
    background-color: #3b9f9f;
    border-radius: 0 2px 2px 0;
}

header .search-form:hover .search-field,
header .search-form:focus .search-field,
header .search-field:hover,
header .search-field:focus {
    width: 100%;
    background-color: #fafafa;
    border: 1px solid #3b9f9f;
    color: #333;
    border-radius: 2px 0 0 2px;
}


/**
 * 6.0 - Navigation
 */

/**
 * 6.1 - Links
 */

 a {
    text-decoration: none;
}

a:hover,
a:focus {
    color: #3b9f9f;
}

/**
 * 6.2 - Menus
 */

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

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

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

.site-navigation a:hover,
.site-navigation a:focus {
    /*! color: #6f6f6f; */
}

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

.main-navigation {
    font-size: 1em;
    padding: 0;
    box-sizing: border-box;
}

.main-navigation li {    
    display: inline-block;
    border-bottom: 1px solid #ddd;  
    position: relative;
}

.main-navigation a {
    line-height: 1.3125;
    padding: 0.84375em 0;    
}

.main-navigation ul ul  {
    background-color: #fafafa;
    float: left;
    margin: 0;
    padding-left: 0;
    position: absolute;
    left: -999em; /* -999 so it is not visible until hover. */
    z-index: 99999;
}

.main-navigation li li {
    display: block;
}

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

.main-navigation ul ul a {
    white-space: normal;
}

.menu-toggle:before, .menu-toggle:after {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    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;
    /*text-align: center;*/
    z-index: 9999;        
}


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

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

/* Main Navigation */

#navigation {
    display: none;
    position: absolute;
    width: 100%;
    left: -999em;
    top: 3.667em;
    background-color: #fafafa; 
    z-index: 2;
}

.main-navigation .menu,
.social-navigation .menu {
}

.main-navigation.toggled-on {
    border-bottom: 0;
    margin: 0;
    padding: 0;
}

#masthead.toggled-on .inner {
    width: 100%;
}

.toggled-on #site-identity {
    box-shadow: 0px 1px 3px -1px #3c4b44;
    height: 3.6em;
    width: 100%;
}

.toggled-on .home-link {
    width: 92%;
    margin: auto;
}

.toggled-on #navigation {
    display: block;
    position:relative;
    left: 0;
    top:0;
    width: 100%;
    top: 0.1em;  /* changed from 3.7 */
    z-index: 2;
}

.toggled-on .main-navigation .menu {     
    position: relative;
    border: 0;
    border-bottom: 1px solid #ccc;
    padding-left: 10px;
}

.toggled-on .social-navigation .menu {
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-around;
    padding: 0.5em ;
}

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

.toggled-on li:last-child {
    border-bottom: none;
}

.toggled-on li li:first-child {
    border-top: 1px solid #eee
}

.toggled-on .menu li > ul { 
    background-color: #fafafa;
    display: none; 
    float: none;
    padding-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: #3b9f9f;
}

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

.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:#327070;   
    padding: 0;    
    height: 3em;
    width: 3em;
    position: absolute;
    right: 0;
    top: 0;
}

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

.dropdown-toggle:after,
.dropdown-toggle .genericon {   
    border-left: 1px solid #ccc;
    font-size: 1.5em;
    left: 1px;
    position: relative;
    width: 2em;
}

.dropdown-toggle.toggle-on:after,
.dropdown-toggle.toggle-on .genericon {
    border-left: 1px solid #ccc;
}

.dropdown-toggle:focus {
    /*! outline: thin dotted; */
    outline-offset: -2px;
}

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


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

/* Social Navigation */

footer .social-navigation {
   display: none;
}

.social-navigation li {
    display: inline-block;
}

.social-navigation a {
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #111;
    display: block;
    position: relative;
    padding: 0.1em 0.4em;
}

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

.social-navigation a:before {
    content: "\f415";
    font-family: Genericons;
    font-size: 1.4em;
    height: 2em;
    line-height: 1.5em;
    text-align: center;
    width: 2em;
}

.social-navigation a:hover:before,
.social-navigation a:focus:before {
    color: #327070;    
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * 6.4 - Post Navigation
 */

.post-navigation {
    width: 100%;
}

.post-navigation a,
.image-navigation a {     
    color: #327070;
    display: inline;
    padding: 1.667em 0;
    text-decoration: none;
}

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

.post-navigation .meta-nav {
    letter-spacing: 0.08em;
    margin: 0 0.539em;
}

.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: #3b9f9f; */
}

.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: #3b9f9f;
}

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

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

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

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

.navigation .genericon {
    font-size: 1.5em;
    font-weight: bold;
    vertical-align:text-bottom;
}

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

.posts-navigation .nav-links {
    font-weight: 700;
    text-transform: uppercase;
}

.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: #3b9f9f;
}

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

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

.pagination {
    margin: 2em 0;
}

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

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

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

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

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

.pagination .prev,
.pagination .next {
    border: 0;
    width: auto;
    background-color: transparent;
    color: #327070;
}

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

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

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

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

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

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

blockquote.alignleft {
    width: 40%;
    margin: 0.315em 1.5em 1.5em -2em;
}

blockquote.alignright {
    width: 40%;
    margin: 0.315em -2em 1.5em 1.5em;
/*     border: 0 */
}

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


/**
 * 9.0 - Clearings
 */


header:before,
header:after,
main:before,
main:after,
footer:before,
footer:after,
article:before,
article:after,
section:before,
section:after,
nav:before,
nav:after,
.home-inner:before,
.home-inner:after,
#footer-widget-area:before,
#footer-widget-area:after {
    content: "";
    display: block;
}

header:after,
main:after,
footer:after,
article:after,
section:after,
nav:after,
.home-inner:after,
#footer-widget-area:after {
    clear: both;
}

/**
 * 10.0 - Widgets
 */

 /* Calendar Widget */

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

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

.widget-area .tagcloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: baseline;
}
.widget-area .tagcloud a {
    margin: 0;
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
    text-decoration: underline;
    
}

.widget-area .tagcloud a:hover,
.widget-area .tagcloud a:focus {
    background-color: #f2f2ef;
    color: #327070;
    box-shadow: 0px 0px 1px 1px #3b9f9f;
    text-decoration: none;
}

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

.widget_calendar caption {
    font-family: Aldrich;
    font-weight: 700;
    line-height: 1.667;
    margin:0.5em 0;
    text-align: left;
    text-transform: uppercase;
}

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

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

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

.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus {
    background-color: #3b9f9f;
     color: #f2f2ef;
}

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

main {    
}

#main-content {
    width: 100%;
    margin: 0 auto;
    padding: 1em 4%;
    min-height: 80vh;
}

.sidebars {
    width: 100%;
    margin: 0 auto;
    padding: 3em 4%;
}

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


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

/**
* 11.1 - Header
*/

#masthead {
    min-height: 3.6em;
    width: 100%;
    background-color: #fafafa;
    box-shadow: 0px 1px 3px -1px #3c4b44;
    z-index: 999;
    top:0;
    display: flex;
    align-content: center;
}

/*---- Formatting of the logo part -----*/

#site-identity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0;
    border: 0px solid #ccc;
}

#site-identity a {
    text-decoration: none;
}

.site-title {
    font-size: 1.6em;
    padding: 0.2em 0 0;
    margin: 0;
}

.site-description {
    display: none;
}

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

/**
 * 11.2 - Posts and pages
 */

 .post {
    margin: 0 0 1em;
    border: 1px solid #eee;
    box-shadow: 1px 1px 5px 1px #ddd;
    padding: 1em;   
}

article.page {
    padding: 1em;
}

.entry-header {
    position: relative;
    margin: 0 0 1.667em;
}

 .entry-title {
     margin: 0 0 0.3596rem;

 }

 .entry-title a {
    
 }

.entry-title a:hover,
.entry-title a:focus {
    
 }

.post-thumbnail {
    margin: 0 0 1.667em;
}

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

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

.entry-excerpt {
    margin: 0 0 1.667em;   
    font-weight: 700;
    color: #656565;
}

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

.entry-footer {
}

.entry-meta {
    clear: both;
    color: #6f6f6f;
    font-size: 0.75em;
    font-weight: 400;
    letter-spacing: 0.008em;
    text-transform: uppercase;
    font-family: Lato;
    margin: 0 0 0.3596rem;
}

.entry-meta > span {
    /*! margin-right: 0.8em; */
}

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

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

.entry-meta .post-format,
.entry-meta .entry-date {
    margin-right: 0.5em
}

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

.entry-meta .comments-link .genericon {
    margin-right: 3px;
}

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

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

.featured-post .genericon {
    font-size: 24px;
}

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

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

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

.byline {
    display: none;
}

.entry-meta .byline,
.group-blog .byline {
    display: inline;
    font-size: 1em;
}

.entry-meta .byline a:before {
    /*! content: "\f304"; */
}

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

.entry-meta .entry-date a:before {
    content: "\f303";
    margin-right: 1px;
}

.single .entry-author a {
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;    
}


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

.full-size-link {
    margin-right: 0.2em;
}

.parent-post-link,
.parent-post-link .genericon {
    margin-right: 0.2em;
}

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

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

/* Tag links style */

.tag-links {
    margin: 0 0 1.667em;
}

.tag-links a {
    background-color: #6f6f6f;
    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: #327070;
    color: #fafafa;
}

.tag-links a:before {
    border-top: 10px solid transparent;
    border-right: 8px solid #6f6f6f;
    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: #327070;
}

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

.tags-links a:first-child:before {
    content: "\f302";
}

/* Page links */

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

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

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

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

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

.single .attachment {
    padding: 0 8.33%;
  
}

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

.entry-attachment {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 2.667em;
}
.entry-attachment img {
    width:100%;
}

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

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

/**
 * 11.3 - Post Formats
 */

.post-format {
    
}

.format-aside .post-format a:before {
content: '\f101';
}

.format-gallery .post-format a:before {
content: '\f103';
margin-right: 0.2em;
}

.format-link .post-format a:before {
content: '\f107';
}

.format-link .entry-content {
    font-size: 1.728em;
    font-weight: 700;
    font-family: Aldrich;
}

.format-image .post-format a:before {
content: '\f102';
margin-right: 0.1em;
}


.format-status .post-format a:before {
content: '\f105';
}

.format-video .post-format a:before {
content: '\f517';
}

.format-audio .post-format a:before {
content: '\f109';
}

.format-chat .post-format a:before {
content: '\f108';
margin-right: 0.2em;
}

/**
 * 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: #6f6f6f;
}

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

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

.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:before {
    /*! content: "\f411"; */
    
}
.comment a {
    color: #327070;
    text-decoration: none;
}
.comment a:hover,
.comment a:focus {
    color: #3b9f9f;
}

.comment-reply-link .genericon,
.comment-reply-login .genericon {
    margin-right: 0.2em;
    vertical-align: bottom;
}

.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: #6f6f6f;
}

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

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

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

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

.comment-form label {
    display: block;
    margin-bottom: 0.5em;
}

.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: #327070;
}

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

/**
 * 11.6 - Footer
 */

#footer-widget-area {
    background-color: #327070;
    color:#fafafa;
    font-size: 1em;
    padding: 0 0 0.5em;
}
#footer-widget-area a {
    color:#f2f2ef;
    text-decoration: none;
}

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

#footer-widget-area .tagcloud a:hover,
#footer-widget-area .tagcloud a:focus {
    text-decoration: none;
}

#footer-widget-area .widget_calendar tbody a { 
    text-decoration: underline;       
}

#footer-widget-area .widget_calendar tbody a:hover,
#footer-widget-area .widget_calendar tbody a:focus {
    background-color: #fafafa;
    color:#3b9f9f;
}

.widget-title{
    color: #555;
}

#footer-widget-area .widget-title {
    color: #bbb;
}

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

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

#page-footer a { 
    
}

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

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

#site-info .site-title {
    font-size: inherit;
}

#site-info .site-title:after {
    content: " \002f";
    padding: 0 0.2em;
    box-sizing: border-box;
    color: #333;
}

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

#social{
    text-align: center;
}

/**
 * 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;
    max-height: 320px;
}

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

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

.wp-caption .wp-caption-text {
    color: #6f6f6f;
    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: #6f6f6f;
    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
 */

body,
button,
input,
select,
textarea {
    font-size: 1.125em;
}
    

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

/**
 * 5.0 - Forms
 */

header .search-form {
    display: flex;
    position: absolute;
    top: 2em;
    right: 12.5%;
    overflow: hidden;
}
    
header .search-submit {
    border-radius: 2px;
    background-color: transparent;
    color: #327070
}

/**
 * 6.0 - Navigation
 */

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

.site-navigation li {    
    text-align: left;
    margin: 0;
    padding: 0;
}

.site-navigation a {
    text-decoration: none;
    color: #327070;
    text-transform: uppercase;
    font-family: 'Happy Monkey';
    font-size: 0.9em;       
    padding: 0.7em 1em;    
}

.menu-toggle {
    display: none;
}

#navigation {
    display: block;
    position: initial;
    width: auto;
    padding: 0;
    margin: 0 0 0 auto;
    left: initial;
    top: initial;
    background-color: transparent; 
    z-index: 2;
}

.main-navigation .menu {    
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative; 
}
    
.main-navigation a {
    display:block;
}

.main-navigation li {
    position: relative;        
    border: 0; 
}

.main-navigation .menu ul,
.main-navigation .menu ul ul {
    position: absolute;
    left: -990em;    
}
    
.main-navigation .menu ul {
    padding-top: 0.8em;
    padding-left: 0;
    background-color: transparent;
}

.main-navigation .menu ul ul {
    padding-top: 0;
    padding-left: 0.5em;
}

.main-navigation .menu ul a {
    box-shadow: 1px 1px 5px 1px #ccc;
background-color: #fefefe;
    min-width: 12em;
}

.main-navigation .menu ul li:first-child > a  {
    border-radius: 2px 2px 0 0;

} 
.main-navigation .menu ul li:last-child > a {
    border-radius: 0 0 2px 2px;
    
}

 .main-navigation .menu ul li:first-child:last-child > a {
     border-radius: 2px;
}

.main-navigation li:hover > a,
.main-navigation li:focus > a {
    background-color: #327070;
    color: #f2f2ef;
    border-radius: 2px;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus,
.main-navigation ul ul li:focus > a {
    background-color: #3b9f9f;
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul{
    position: absolute;
    left: 0%;
    top:100%;
}

.main-navigation li li:hover > ul,
    .main-navigation li li.focus > ul {
    position: absolute;
    top:0%;
    left: 100%;    
}

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

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

header .social-navigation {
    display: none;
}
    
footer .social-navigation {
    display: block;
}

footer .social-navigation .menu {
    margin: 0;
    display: flex;
    justify-content: space-around;
}

/**
 * 6.4 - Post Navigation
 */

.post-navigation {
    width: 100%;
}

.post-navigation a,
.image-navigation a {     
    color: #327070;
    display: inline;
    padding: 1.667em 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: #3b9f9f;
}

.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: #3b9f9f; */
}

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

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

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

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

.posts-navigation .nav-links {
    display: flex;
    justify-content: space-around;
    margin: 1em auto;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.posts-navigation .nav-next,
.posts-navigation .nav-previous {
    width: 50%;
    box-sizing: border-box;
    text-align: center;
}

.pagination .nav-links {
    line-height: 2;
}

.pagination .page-numbers {
    width: 2em;
    margin: 0 0.25em;
}
    
    .pagination .current,
    .pagination .dots {
        margin: 0;
    }

.pagination .prev,
.pagination .next {
    margin: 0 0.5em;
}

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

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

/**
 * 11.0 - Content
 */

  
.logged-in #container {    
    margin: 0 auto;    
}
    
main {
    display: flex;
    position: relative;
    min-height: 100%; 
}    

.inner { 
    width: 100%;           /*  1200 / 1920   */
    margin: 0 auto;
    padding: 0 12.5%;
}

#main-content { 
    width: 66.667%;
    box-sizing: border-box;
    margin: 0;
    padding: 5em 3.125% 4em 12.5%;
    min-height: 80vh;
}
    
.single #main-content,
.page #main-content {
    padding: 3em 3.125% 3em 10.5%; 
 
}
    
.single.no-sidebar #main-content,
.page.no-sidebar #main-content {
    padding: 4em 27% 3em 10.5%;
}

.page #main-content.alignright {
    float:right;
    padding: 4em 6.25%;
}

.page #main-content.aligncenter,
.page.no-sidebar #main-content.aligncenter {
    width: 100%;
    margin: auto;
    padding: 4em 18.75%;
}    

.sidebars {
    width: 33.333%;
    box-sizing: border-box;
    margin: 0;
    padding: 5em 12.5% 4em 3.125%;
    border: 0;  
}

.no-sidebar #main-content {
    width: 100%;
    margin: 0;
    padding: 5em 12.5%;
}   

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




/**
 * 11.1 - Header
 */

.logged-in #masthead {
    top:32px;
}

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

header.inner{
    width: 99%;
}

header .flex-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
    


/*---- Formatting of the logo part -----*/
#site-identity {
    width: auto;
    padding: 0 0 0.55em 0;
}

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

.home-link { 
    /*! text-align: center; */
}

.site-description {
    display: block;
    margin: 0;
    font-family: 'Happy Monkey';
    font-size: 1.1em;
    line-height: 1em;
    letter-spacing: 0.02em; 
}

#site-identity img{
    margin: 0;
    padding-top: 1em;
    max-height: 80px;
}

/**
 * 11.2 - Posts and pages
 */

a.entry-date {
    font-size: 14px;
}

.post-box {
    width: 50%;
    padding: 0 1.5% 0;
    box-sizing: border-box;
}

.post, .search .page {
    margin: 0 0 3em;
    padding: 1.5em;
}

.no-sidebar .post-box {
    width: 33.333%;
}
    
.no-sidebar .post {
    /*width: 30%;
    float: left;*/
    /*! margin: 1%; */
}

article.page {
    padding: 2em;
}

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

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

.author-description { 
    float: right;
    width: calc(100% - 72px - 2em);
} 
    
.entry-title {
   
}
    
.single .post,
.page .page {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.single .entry-title {
    margin: 0;
}

.single .entry-excerpt {
    margin:0;
    padding-bottom: 0;
}

.single .featured-image,
.page .page-thumbnail {
    margin: 0 0 1.667em;
}

.single .featured-image img,
    .page .page-thumbnail img {
    width: 100%;
}

.single .entry-content {
    margin: auto;
}

.single .entry-content figure {
    width: 100%;
}

.single .entry-footer {    
    clear: both;
}  

/**
 * 11.6 - Footer
 */

#footer-widget-area{
    
}

.footer-widget {
    width:33.3%;
    margin: 2em 0;
    padding: 0 5%
}
    
.widget-area{
    border:solid 0px #333;
}
  
#page-footer {
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 0;
}
    
#site-info,
#footer-social-navigation {
    margin: 1em 0;
}

#site-info {
    float: left; 
}

#site-info span {
    line-height: 2.0625;
}

#footer-social-navigation {
    display: block;
    float: right;
}

#footer-social-navigation li {
    margin: 0 0.675em;
}
    
.prueba-count {
    position: absolute;
    list-style: none;
    counter-reset: li;
}

.prueba-count li p:before {
    counter-increment: li;
    content: counter( li ) '. ';
    color: #327070;
    font-weight: 700;
} 
   
}

@media (min-width: 881px) and (max-width: 1080px) {
    .inner {
/*         width: 90.81145152%; */
    }
}

@media (min-width: 1081px) and (max-width: 1366px) {
    .inner {
/*         width: 80.81145152%; */
    }
}

@media (min-width: 1367px) and (max-width: 1500px) {
    .inner {
/*         width: 70.81145152%; */
    }
}

