/*
Theme Name: Bassist
Theme URI: http://ebyb.eu/themes/bassist/
Author: acalfieri
Author URI: http://ebyb.eu
Description: Bassist is a theme developed for musicians and based on Underscores. It has a customizable front page dedicated to show pictures, audios and videos and special styling for other post formats.
Version: 1.0.8
Requires at least: 6.0
Tested up to: 6.2
Requires PHP: 5.6
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, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, full-width-template, post-formats, sticky-post, theme-options, blog, entertainment, portfolio
Text Domain: bassist

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.

Bassist is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - FontAwesome
 * 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;
	color: #000;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

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

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

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

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

button {
	overflow: visible;
}

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

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

.social-navigation a:before,
.pagination .prev:before,
.pagination .next:after {
	display: inline-block;
	font-family: "FontAwesome";
	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;
}


.post-format .fa,
.cat-links .fa,
.entry-meta .fa,
.attachment-meta .fa,
.featured-post .fa,
.comment-reply-title .fa {
	display: inline-block;
	font-size: 1.25em;
	text-decoration: inherit;
}

.parent-post-link .fa,
.entry-meta .fa-camera {
	font-size: 1.125em;
}

.author-link .fa {
	font-size: 1em;
	margin-right: 3px;
}

.fa-clock-o:before,
.fa-pencil:before,
.fa:before {
	margin-right: 2px;
}

/* Algo de los FontAwesome */

.entry-content .edit-link a:before,
.entry-meta .edit-link a:before {
	content: "\f411";
}

.fa-comment:before,
.fa-tag:before {
	margin-right: 3px;
}

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

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

/**
 * 3.0 - Typography
 */

body,
button,
input,
select,
textarea {
	color: #000;
	font-size: 1.125rem;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
}

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

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: #5c5c5c;
	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: #d5d5d5;
	padding: 0.125em 0.25em;
}

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

mark,
ins {
	background: #bb0000;
	color: #fafafa;
	padding: 0.125em 0.25em 0em;
	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: #888;
}

:-moz-placeholder {
	color: #888;

}

::-moz-placeholder {
	color: #888;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #888;
}

/**
 * 5.0 - Forms
 */

input {
	line-height: 1.4;
}

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: #bb0000;
	border: 0;
	border-radius: 2px;
	color: #fafafa;
	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: #9f0000;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	outline: thin dotted;
	outline-offset: -4px;
}

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: #5c5c5c;
	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: #444;
	color: #333;
	outline: 0;
}

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

.post-password-form p:last-of-type {
	width: 50%;
	margin: auto;
}

.post-password-form label {
	color: #656565;
	display: block;
	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;
	line-height: 1.667
}

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

.front-page .wp-block-image figcaption {
	color: #ccc;
}

/**
 * 6.0 - Navigation
 */

/**
 * 6.1 - Links
 */

 a {
	color: #bb0000;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

/**
 * 6.2 - Menus
 */

.main-navigation {    
	width: 100%;
}

.main-navigation * {
	box-sizing: border-box;
}

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

.nav-menu {
	display: none;
	position: relative;
	left: -999em;
	top: 3.7em;
	width: 100%;
	z-index: 5;
	border-bottom: 1px solid #ddd;
}

.nav-menu ul  {
	position: absolute;
	top:0;
	left: -999em;    /* -999 para que no se vea, sino 100% */
}

.toggled-on .nav-menu {
	display: block;
	left: 0;
	border-top: 1px solid;
}

.toggled-on .nav-menu ul {
	display: none;
}

.toggled-on .nav-menu ul.toggled-on {
	display: block;
	position: relative;
	top: 0;
	left: 0;    
}

.nav-menu:hover ul.toggled-on, 
.nav-menu:focus ul.toggled-on {         /* This unhides the submenu when other parts of the menu are hovered. */
	left: 0;
}

#nav-button {
	position: absolute;
	top: 0em;
	left: 0em;
	width: 3.6rem;
	height: 3.6rem;
	margin: 0;
	padding: 0;
	font-size: 1.3em;
	color: #222;
	background-color: transparent;
}

.nav-menu li { 
	position:relative;
	border-top: 1px solid #ddd;
	background-color: #fafafa;  
}

.nav-menu li:hover {
	border-top: 1px solid #4f4f4f;
}

.nav-menu li .dropdown-toggle {
	position: absolute;
	right: 0;
	top: 0;
	background-color: transparent;
	color: #737373;
	padding: 0;
	border: 0;
	border-radius: 0;    
	text-transform: none;  
	height: 48px;
	width: 48px;    
}
	
.nav-menu li .dropdown-toggle .fa {
	font-size: 1.5em;
	color: #737373;
	border-left: 1px solid #dfdfdf;
	width: 46px;
}

.nav-menu li:hover .fa,
.nav-menu li:focus .fa {
	color: #fafafa;
}   

.nav-menu li:hover > .dropdown-toggle .fa,
.nav-menu li:focus > .dropdown-toggle .fa,
.nav-menu li.focus > .dropdown-toggle .fa {
	color: #fafafa;    
}

.nav-menu li:hover li > .dropdown-toggle .fa,
.nav-menu li:focus li > .dropdown-toggle .fa {
	color: #737373;    
}

.nav-menu li:hover li:hover > .dropdown-toggle .fa,
.nav-menu li:focus li:hover > .dropdown-toggle .fa,
.nav-menu li:hover li:focus > .dropdown-toggle .fa,
.nav-menu li:focus li:focus > .dropdown-toggle .fa {
	color: #fafafa;    
}

.nav-menu a {
	display: block;
	box-sizing: border-box;
	padding: 0.35em 0.75em;    
	width: 100%;
	font-size: 1.3em;
	white-space: normal;   
	color: #333;
	font-variant: small-caps;
}

.nav-menu a:hover,
.nav-menu a:focus {
	text-decoration: none;
}

.nav-menu ul a {
	padding-left: 1.25em; 
}

.nav-menu ul ul a {
	padding-left: 1.75em; 
}

.nav-menu ul ul ul a {
	padding-left: 2.25em; 
}

.nav-menu li:hover > a,
.nav-menu li.focus > a {
	background-color: #737373;
	color: #fafafa;
	font-weight: bold;
}

.nav-menu li:hover,
.nav-menu li:focus {
	background-color: #737373;
}

.nav-menu li:hover > a,
.nav-menu li:focus > a {
	color: #fafafa;  
	font-weight: bold;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a { 
	font-weight: 900;
}
	
.nav-menu ul li {
	border-left: 0; 
}

/* Social Navigation */

.social-navigation a:before
.top-email a:before {
	content: "\f415";
	height: 33px;
	line-height: 33px;
	text-align: center;
	width: 33px;
}

#social-menu {
	margin: 0 auto;
}

footer .social-navigation a {
	color: #333;
	display: block;
	position: relative;
	width: 35px;
	height: 35px;
	text-align: center;
}

footer .social-navigation a:hover,
footer .social-navigation a:focus {
	background-color: transparent;
	color: #9f0000;
	text-decoration: none;
}

footer .social-navigation a .fa:before {
	font-size: 1.5em;
	line-height: 1.5;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.social-navigation a[href*="yelp.com"] .fa:before {
	content: "\f1e9";
}

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

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

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

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

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

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

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

/**
 * 6.4 - Post Navigation
 */

.post-navigation,
.image-navigation {
	width: 100%;
}

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

.post-navigation .meta-nav,
.image-navigation .meta-nav {
	margin: 0 0.539em;
	display: inline;
}

.post-navigation .post-title {
	display: inline;
	font-weight: 700;   
}

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

.post-navigation .nav-previous,
.image-navigation .nav-previous {
	width: 100%;
	display: flex;
	justify-content: flex-start;    
}

.post-navigation .nav-next,
.image-navigation .nav-next  { 
	width: 100%;
	display: flex;
	justify-content: flex-end;   
}

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

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

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

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

.posts-navigation .nav-next {
	text-align: center;
	margin-left: 1.5em;
}

.posts-navigation .nav-previous {
	text-align: center;
	margin-right: 1.5em;	
}

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

.posts-navigation .nav-previous a .fa:before {
	margin-right: 0.5em;
}

.posts-navigation .nav-next a .fa:before {
	margin-left: 0.5em;
}

.pagination {
	margin: 2.121em 0;
}

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

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

.pagination a:hover {
	background-color: #9f0000;
	border: 1px solid #9f0000;
	color: #fafafa;
}

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

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

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

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

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

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

.infinite-scroll .posts-navigation,
.infinite-scroll .pagination {
	display: none;
}

#infinite-footer {
	z-index: 1;
}

/**
 * 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 {
	color: #1d779f;
	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;
}

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

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

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

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

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

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

.no-sidebar blockquote.alignleft {
	margin: 0.315em 1.5em 1.5em -3em;
}

.no-sidebar blockquote.alignright {
	margin: 0.315em -3em 1.5em 1.5em;
}

/**
 * 9.0 - Clearings
 */
 
.post:before,
.post: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,
.entry-content:before,
.entry-content:after,
.sidebar:before,
.sidebar:after,
.contributor:before,
.contributor:after,
#main-content:before,
#main-content:after,
#footer-widget-area:before,
#footer-widget-area:after {
	content: "";
	display: block;
}

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

/**
 * 10.0 - Widgets
 */

 /* Calendar Widget */

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

.widget-area a:hover {
	color: #656565;
 }

.widget-area .widget {
 	padding: 0.5em;
 	margin-bottom: 1.5em;
}

.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: #fafafa;
	color: #bb0000;
	font-weight: 700;
	text-decoration: none;
	display: block;
}

.widget_calendar tbody a:hover {
	background-color: #bb0000;
	color: #fafafa;
}

.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 {
	min-height: 80vh;
	height: 100% !important;    /* you need to assign a min-height to the main content so that the children can inherit it */
	z-index: 1;
	/*! line-height: 1.75; */
}

#main-content,
.sidebar {    
	padding: 2em 5%;
}

section {
	box-sizing: border-box;
}

/**
* 11.1 - Header
*/

#masthead {
	min-height: 3.6em;
	width: 100%;
	z-index: 999;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid;
}

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

.site-identity {
	border: 0px solid red;
	width: calc(100% - 7.2em);
	margin-left: 3.6em;
}

.toggled-on .site-identity {
	position: absolute;
	top:0;
	left: 0;
	z-index: 5
}

.home-link {
	display: flex;
	align-content: center;
	box-sizing: border-box;
	height: 3.6em;
}

.home-link:hover {
	text-decoration: none;
}
.home-link img {
	height: 3.6em;
	padding: 0.4em 0;
}
	
.site-title {
	border: 0px solid red;
	width: 100%;
	text-align: center;
	color: #222;
	font-variant: small-caps;
	margin: auto;
}

.site-title:hover,
.site-title:focus {
	color: #000;
}

.site-description {
	display: none;
}

/**
 * 11.2 - Posts and pages
 */

.post {
	border-bottom: 2px solid;
	padding: 1.5em 0;
	position: relative;
}

.post:first-of-type {
	padding: 0 0 1.5em;
}

.post:last-of-type {
	border: 0;
}

.infinite-scroll .post:last-of-type {
	border-bottom: 2px solid;
}

.infinite-scroll .infinite-wrap:last-of-type .post:last-of-type {
	border-bottom: 0;
}

.single .post {
	border: 0;
}

.single .attachment {
	max-width: 960px;
	margin: 0 auto;
}

.archive .post:last-of-type {
	border: 0
}

.entry-header {
	margin: 0 0 1em;
}

.entry-title {
	margin: 0;
	color: #000;
}

.entry-title a {
	display: block;
	color: #9f0000;
	text-decoration: none;
}

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

.single .entry-excerpt {
	font-style: italic;
	font-weight: normal;
	color: #656565;	
}

.entry-content {
	margin: 0 0 1em;
}
.entry-footer{
}
.entry-meta,
.attachment-meta {
	color: #737373;
	font-size: 0.8125em;
	font-weight: 400;
	letter-spacing: 0.008em;
	text-transform: uppercase;
}

.entry-meta .entry-author,
.entry-meta .entry-date,
.entry-meta .comments-link,
.attachment-meta .entry-date,
.attachment-meta .parent-post-link,
.attachment-meta .full-size-link {
	margin-right: 0.5em;
}

.entry-meta a,
.attachment-meta a {
	color: #737373;
	text-decoration: none;
}

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

.sticky .entry-date {
	display: none;
}
.sticky .entry-footer .entry-meta > span:first-child {
	margin: 0;
}

.featured-post { 
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.35em 1em 0.2em;
	background-color: #9f0000;
	color: #fafafa;
	border-radius: 1px;    
	position: absolute;
	top: 1em;
	right: 0;
	padding: 0.35em 0.6em 0.2em 0.8em;
}

.featured-post .fa {
	margin-right: 0.5em;
	position: relative;
	top: 1px;
	margin-right: 0;
}

.featured-image {
	padding: 0 0 1em;
}

.post-thumbnail {
	width: 100%;
	position: relative;
	z-index: 1;
	margin: 0 0 1em;
}

.post-thumbnail a {
	display: block;
	position: relative;
	z-index: initial;
	background-color: transparent;
	overflow: hidden; 
	transition: all 0.5s;    
}

.post-thumbnail a img {
	position: relative;
	width: 100%;    
	margin: auto;
	z-index: -1;
	transition: all 0.5s;
}

.post .post-thumbnail:hover img {
	filter: grayscale(100%);
	transform: scale(1.05);     
}

.archive .post .post-thumbnail:hover img,
.search .post .post-thumbnail:hover img {
  transform: none;
}

/* Category links style in multiple and single view */

.cat-links {
	font-weight: 700;
}

.blog .post-format .cat-links {
	display: none;
}

.byline {
	display: none;
}

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

.entry-meta .byline {
	
}

.entry-author a {
	font-weight: 700;
	color: #333;
}


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

/* Tag links style in single view */

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

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

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

.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 { /* Tags in multiple view */
	content: "\f302";
}

/* 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: 26px;
	margin: 0 2px 0;
	text-align: center;
	width: 26px;
}

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

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

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

/* Author bio*/

.contributor {
	padding: 1.667em 0;
	border-bottom: 1px solid;
}

.contributor .avatar-container {
	float: left;
	padding: 0 1.5em 0 0;
}
.author-info h1 {
	display: inline;
	line-height: 1.5;
}

.author-link {
	text-align: center;
}

.written-by {
	font-style: italic;
	color: #656565;
}

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

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

.author-description p {
	font-size: 0.9em;    
}

/**
 * 11.3 - Post Formats
 */

.post-format {
}

.post-format .entry-content {
}

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

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

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

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

.format-image .wp-caption-text {
	text-align: center;
	font-size: 1em !important;
}

.format-quote .entry-format a:before {
	content: '\f106';
	margin-right: 0.1em;
}

.format-quote blockquote {
	border: 0;
}

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

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

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

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

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

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

/**
 * 11.4 - Comments
 */

.comments-area {
   padding: 2em 0;
}

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

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

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

.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 a {
	color: #222;
	text-decoration: none;
}
.comment a:hover {
	color: #000;
}

.comment-reply-link:before,
.comment-reply-login:before {
	/*! content: "\f412"; */
	/*! margin-right: 2px; */
}

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

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

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

.logged-in-as a:hover {
	color: #656565;
}

.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 {
	float: right;
}

.comment-reply-title small a:hover {
	color: #bb0000;
}

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

.comment-navigation {
	font-size: 12px;
	font-size: 0.9375rem;
	padding: 2em 0;
	font-weight: bold;
}

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

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

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

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

/**
 * 11.5 - Sidebar
 */

/**
 * 11.6 - Footer
 */

#footer-widget-area {
	background-color: #eee;
	color:#222;
	font-size: 1em;
	padding-bottom: 0.5em;
}

#footer-widget-area a {
	background-color: transparent;
	color:#000;
	text-decoration: none;
}

#footer-widget-area a:hover {
	color: #222;
}

#footer-widget-area .widget_calendar tbody a:hover {
	background-color: #000;
	color:#fafafa;
}

.widget-title {
	color: #000;
}

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

#page-footer .fa { 
	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 {
	color: #333;
}

#site-info a:hover,
#site-info a:focus {
	text-decoration: none;
	font-weight: bold;
	color: #9f0000;
}

#social {
	text-align: center;
}

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

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

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

/**
 * 11.7 - Front Page
 */

:target:before {
	content:"";
	display:block;
	height: 3em;        /* fixed header height*/
	margin:-3em 0 0;    /* negative fixed header height */
}

.section-title {
	text-align: center;
	margin: 0;
	font-size: 2.414em;
}

.contact-section .section-title {
	text-align: left;
}

.front-page .entry-title a {
	color: #000;
}

.front-page .entry-title a:hover,
.front-page .entry-title a:focus {
	color: #656565;
}

.parallax {
	position: relative;
	z-index: 2;
	background-repeat: no-repeat;
}

.parallax .bg__1,
.parallax .bg__2,
.parallax .bg__3,
.parallax .bg__4 {
	position: relative;
	height: 60vh;
	text-indent: -9999px;
	background-attachment: scroll;
	background-position: top center;
	background-size: cover;
	box-shadow: inset 0 0 1em #111;
}

.about-section,
.audio-format-section,
.video-format-section,
.image-format-section,
.quote-format-section,
.contact-section {
	position: relative;
	padding: 2em 5%;
}

.contact-section {
	background-attachment: scroll;
	background-position: center center;
	background-size: cover ;
}

.social-section {
	padding: 1.667em 5%;
	background-color: #404948;
}

.social-section .social-navigation {
	padding: 1.5em 0;
	width: 100%;    
	margin: auto;
}

.social-section .social-navigation ul {
	display: flex;
	justify-content: space-around;
}

.social-section .social-navigation a {
	display: block;
	width: auto;
	margin: auto;
	padding: 1.2em;
	color: #fafafa;
	background-color: transparent;
	border-radius: 4%;
	transition: all 1s ease-out 0s;
}

.social-section .social-navigation a:hover,
.social-section .social-navigation a:focus {
	color: #404948;
	background-color: #dadada;
	text-decoration: none;
}

.social-section .social-navigation a .fa {
	display: block;
}

.social-section .social-navigation a .fa:before {
	font-size: 1.8em;
	margin: 0;
	text-align: center;
}

/* Contact Form */

.contact-section {
	position: relative;
	/*! padding: 5em 0 4em; */
}

.contact-form {
	margin: 1em auto;   
}

.contact-form .fa {
	font-size: 0.6em;
	font-weight: normal;
	vertical-align: top;
	color: #bb0000;
	margin: 0 0 0 0.25em;
}

.contact-form .info {
	max-width: 80%;    
	margin: 0.1em 0em 1em;
}

.contact-form .message {
	height: 8em;
	max-width: 80%;    
	margin: 0.1em 0em 1em;
}

.back-btn {
	background-color: #bb0000;
	color: #fafafa;
	font-size: 0.9em;
	height: 2.4em;
	width: 6em;
	border: solid 1px #a83e3e; 
	border-radius: 2px;
	padding: 0.5em 1.8em;
}

.back-btn:hover,
.back-btn:focus {
	background-color: #9f0000;
	border-color: #333; 
}

.contact-success {
	margin: 2em;
	line-height: 1.8;
	font-size: 1.2em;
	color:#656565;
}

.contact-success a[href^="mailto:"]:before {
	display: none;
}

.widget .modalDialog {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.6);
	z-index: 9;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;   
}

.widget .modalDialog.visible {
	opacity: 1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 95%;
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: auto;
	padding: 0;
	border-radius: 4px;
	background: #fafafa;
	border: 1px solid rgba(159,0,0,0.5);
	background: linear-gradient(#fafafa, #ccc); 
	box-sizing: border-box;
}

.close {
	background: transparent;
	color: #333;
	position: absolute;
	right: 0;
	top: 0;
	padding: 0.4em;
}

.close:hover {
	color: #9f0000;
	background: transparent;
	border: 0;
}

/**
 * 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: #656565;
	font-size: 13px;
	font-size: 1rem;
	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: 2.3% 1.15%;
	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: #656565;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.618;
	padding-top: 0.539em;
}

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

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

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

.wp-block-gallery.alignleft {
	padding-right: 1em;
}

.wp-block-gallery.alignright {
	padding-left: 1em;
}

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

.author h2 {
	/*! font-size: 1.728em; */
	/*! margin: 0.3596em 0 0.7192em; */
}

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

.main-navigation {
	border: 0px solid red;
}

.main-navigation * {
	box-sizing: border-box;
}

#nav-button {
	border: 0px solid blue;
	position: absolute;
	top: 0.7em;
	left: 1em;    
	margin: 0.5em;
	padding: 0 0 2em;
	font-size: 2em;
	width: initial;
	height: initial;
	color: #000;
	background-color: transparent;   
}

.nav-menu {
	display: block;
	position: absolute;
	top: 120px;
	left: -999em; /*-999em;*/
	padding-top: 1em;    
	width: 16%; 
	z-index: 5;
}

.main-navigation:hover .nav-menu,
.main-navigation:focus .nav-menu,
.main-navigation.focused .nav-menu {
	left: 0;
	top: 120px;
}

.nav-menu ul {
	width: 100%;
	margin: 0;
	padding-left: 0 !important; /* El padding-left important es para hacer desaparecer un padding de 40 raro */
	position: absolute;
	top: -1px;          /* !!!!!!! esto se necesita por el border-top de los <li> */
	left: -999em;       /* -999 para que no se vea, sino 100% */
	z-index: 99999;
}

.nav-menu ul a {
	padding-left: 0.75em; 
}

.nav-menu ul ul a {
	padding-left: 0.75em; 
}

.nav-menu ul ul ul a {
	padding-left: 0.75em; 
}

.nav-menu:hover ul,
.nav-menu:focus ul { /* This hides the submenu until the <li> that holds it is hovered or put on focus. */
	left: -999em; /* -999em; */
}

.nav-menu li:hover > ul,
.nav-menu li:focus > ul,
.nav-menu li.focus > ul {
	display: block;
	left: 100%;
}

.purple {
	background-color: purple; ;
}
	
.nav-menu li { 
	position:relative;
	border-top: 1px solid #ddd;
	background-color: rgba(240, 240, 240, 1);  
	height: auto;
	padding: 0;
}

.nav-menu ul li {
	 border-left: 1px solid #ddd;    
}

.nav-menu li:hover,
.nav-menu li:focus,
.nav-menu li.focus {
	background-color: #656565;
}

.nav-menu li:hover > a,
.nav-menu li:focus > a {
	background-color: #656565;
	color: #fafafa;
	font-weight: bold;
}

.nav-menu li > .fa {
	position: absolute;
	right: 0;
	top: 50%;
	width: 1em;
	text-align: center;
	background-color: transparent;
	color: #656565;
	border: 0;
	border-radius: 0;    
	text-transform: none;  
	font-size: 1.5em;    
	transform: translate(0, -50%);
}

.nav-menu li:hover > .fa,
.nav-menu li:focus > .fa,
.nav-menu li.focus > .fa {
	color: #fafafa;
}
	
.nav-menu li:hover li > .fa,
.nav-menu li:focus li > .fa {
	color: #656565;
}

.nav-menu li:hover li:hover > .fa,
.nav-menu li:hover li:focus > .fa,
.nav-menu li:focus li:hover > .fa,
.nav-menu li:focus li:focus > .fa,
.nav-menu li.focus li.focus > .fa {
	color: #fafafa;
}

/**
 * 6.4 - Post Navigation
 */

.post-navigation,
.image-navigation {
}

.post-navigation .nav-links,
.image-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	padding: 0.8335em 0;
	
}

.post-navigation .nav-previous,
.image-navigation .nav-previous {
	justify-content: flex-start;
}

.post-navigation .nav-next,
.image-navigation .nav-next  { 
	justify-content: flex-end;   
}

/* 6.5 */
/* Posts navigation */

.posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	font-size: 1rem;
}

.posts-navigation .nav-previous,
.posts-navigation .nav-next {
	width: 50%;
	margin: 0;
}

.posts-navigation .nav-previous {
	text-align: left;
}

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

/**
 * 11.0 - Content
 */

html, body { 
	height:100%;  
	margin: 0 auto; 
}
	
#container {
	margin: 0 auto;
}
  
.logged-in #container {
	margin: 0 auto;    
}

main {
	padding: 7em 0 0;
	min-height: calc(80vh + 7em);
	height: 100% !important;    /* you need to assign a min-height to the main content so that the children can inherit it */
	z-index: 1;
	/*! line-height: 1.75; */
}

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

#main-content {
	padding: 4em 3% 4em 7%;
	width: 66.667%;
}

.sidebar {
	width: 33.333%;
	padding: 4em 7% 4em 3%;
	border: none;
}

.no-sidebar #main-content {
	width: 100%;
	padding: 4em 12%;
}
	
.page-template-contributors #main-content,
.page-template-featured-articles #main-content {
	width: 100%;
	padding: 4em 10%;
}
	
.front-page #main-content {
	padding: 0;
	width: 100%; 
}
	
.no-sidebar.blog #main-content {
	padding: 4em 12%;
}

.no-sidebar.single #main-content {
	
}


/**
 * 11.1 - Header
 */

#masthead {
	position: fixed;
	top:0;
	width:100%;
	min-height: 120px;
	background-color: rgba(250, 250, 250, 0.9);
	border: 0;
	box-shadow: 0px -1px 5px -1px black;
	z-index: 4;
}

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

.site-identity {
   border: 0px solid red;
	width: auto;
   margin: 0 auto;
}

.home-link {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	margin: auto;
	height: auto;
	padding: 0;
	box-sizing: border-box;
}
	
.site-title {
	color: #000;
	font-size: 3em;
	line-height: 1.2;
	font-variant: small-caps;
	width: auto;
}

.site-title:hover,
.site-title:focus {
	color: #656565;
}

.site-description {
	display: block;
	color: #000;
	font-size: 1.4em;
	font-variant: none;
	width: auto;
	margin: 0;
}

.home-link img {
	min-height: 5em;
	height: 5em;
	padding: 0;
}

/**
 * 11.2 - Posts and pages
 */

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

.post {
	padding: 2em 0;
}
	
.post:first-of-type {
	padding: 0 0 2em;
}

.featured-articles,
.contributors {
	justify-content: space-between;
}

.featured-articles .post,
.contributor {
	width: 47%;
	padding: 2em 0;
}

.featured-articles .post:nth-child(odd) {
	/*margin: 0 auto 0 0;*/
}

.featured-articles .post:nth-child(even) {
	/*margin: 0 0 0 auto;*/
}

.entry-header {
	
}
	
.entry-title,
.link-as-title {
	font-size: 2.168em;
}
	
.featured-post {
	position: absolute;
	top:1.667em;
	right: 0;
	z-index: 2
}

.featured-post .screen-reader-text {
	position: relative !important;
}
	
.single .featured-image img {
	width: 100%;
}	

/**
 * 11.3 - Post Formats
 */
	
.post-format {
	padding: 1em 0 2em;
}

.has-post-thumbnail.post-format {
	padding: 0;
}

.format-aside {  
}

.format-gallery {

}

.format-link{

}

.format-image {

}

.format-quote {
}
	
.format-status {
}
	
.format-video {
	width: 100%;
}

.format-video iframe {
	max-height: 600px;
	padding: 0;
}

.front-page .format-video iframe,
.front-page .format-video .wp-block-embed__wrapper {
	max-height: 300px;
}

.format-video p {
	position: relative;
	top:100%;
	left: 0%;
}

.front-page .post {
	width: 46%;
	padding: 2em 0;
}

.front-page .post:nth-child(2n-1) {
	margin-right: 4%;
}

.front-page .post:nth-child(2n) {
	margin-left: 4%;
}

.front-page .post:nth-last-of-type(2) {
	border: 0;
}

.front-page .post:nth-last-of-type(2):nth-child(2n) {
	border-bottom: 2px solid;
}

.format-chat .entry-content {

}

.post-format-inner,
.post-inner {
	position: absolute; 
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 99;
	text-align: center;
	min-height: auto;
	height: auto;
	max-width: 960px;  
}
	
.has-post-thumbnail .post-format-inner,
.has-post-thumbnail .post-inner {
	background-color: rgba(255,255,255,0.8);
	border-radius: 4px;
	padding: 2em;
	min-width: 61.8%;
}
	
.archive .has-post-thumbnail .post-format-inner,
.archive .has-post-thumbnail .post-inner,
.search .has-post-thumbnail .post-format-inner,
.search .has-post-thumbnail .post-inner {
	background-color: transparent;
	border-radius: unset;
	padding: 1em 0;
	min-width: unset;
}

/* Reset CSS from index view so it looks different in single view and archive pages */
	
	
.single .entry-title,
.page .entry-title {
	font-size: 2.074em;
}

.archive .entry-title,
.search .entry-title {
	font-size: 1.728em;
}

.archive .post-format,
.search .post-format,
.single .post-format {
	background-color: initial;
}

.archive .post-format-inner,
.archive .post-inner,
.search .post-format-inner,
.search .post-inner {
	position: unset; 
	transform: none;
	text-align: initial;
}

/**
 * 11.6 - Footer
 */

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

.footer-widget {
	width: 50%;
	padding: 2em 5em;
}

#page-footer {
	display: flex;
	justify-content: space-between;
	bottom: 0;
	width: 100%;
	padding: 1.2em 6%;
}
	
#site-info {
	margin-left: 0;
}
	
#footer-social-navigation {
	display: block;
	margin-right: 0;
}

#footer-social-navigation ul {
	display: flex;
}

#footer-social-navigation ul li {
	margin: 0 0.4em;
}

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

#social-menu {
	margin: 0 auto;
} 

.wrapp {
	position: relative;
	z-index: 4;
}

.red {
	margin: 0.5em 0;
	position:relative;
	top:0;
	left: 0;
	background:rgba(255,0,0,1);
	width: 300px;
	height: 300px;
	z-index:initial;
} 
	
.red:hover{
	background:rgba(255,0,0,0.2);
} 

.blue {
	position:relative;
	top:0;
	left: 200px;
	background: blue;
	height: 200px;
	width: 200px;
	 z-index: -1;
} 

.green {
	position:relative;
	top:0;
	left:150px;
	background: green;
	height: 100px;
	width: 100px;
	z-index: -2;
}

/* Front Page */

:target:before {
	content: "";
	display: block;
	height: 7em;        /* fixed header height*/
	margin: 0 0 0;      /* negative fixed header height */
}

.parallax .bg__1,
.parallax .bg__2,
.parallax .bg__3,
.parallax .bg__4 {
	position: relative;
	height: 85vh;
	text-indent: -9999px;
	background-attachment: fixed;
	background-position: top center;
	background-size: cover;
	box-shadow: inset 0 0 1em #111;
}

.about-section,
.audio-format-section,
.video-format-section,
.image-format-section,
.quote-format-section,
.contact-section {
	padding: 5em 12% 4em;
}

.social-section .social-navigation {
	padding: 1.333em 10%;
}

.social-section .social-navigation a .fa:before {
	font-size: 2.5em;
}

/* Contact Form */

.contact-section {
	padding: 7em 10%;
	background-attachment: fixed;
	background-position: center center;
	background-size: cover ;
}

.contact-form {
	margin: 1.5em 0; 
	display: block;
	width: 50%;
}
	
div.wpcf7 {
	width: 60%;
}

.contact-form .info {
	display: inline-block;
	font-size: 0.8em;
	height: 2.3em;
	max-width: 90%; 
}

.contact-form .message {
	display: inline-block;
	font-size: 0.8em;
	height: 10em;
	max-width: 90%;
	
}

}

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

}

@media only screen and (max-device-width: 880px) and (orientation: landscape) {

.parallax .bg__1,
.parallax .bg__2,
.parallax .bg__3,
.parallax .bg__4 {
	height: 80vh;
	background-attachment: scroll;
}

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
.parallax .bg__1,
.parallax .bg__2,
.parallax .bg__3,
.parallax .bg__4 {
	height: 80vh;
	background-attachment: scroll;
}

.contact-section {
	background-attachment: scroll;
}

.inner {
	width: 88%
}

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

.front-page .post {
	width: 46%;
}

.front-page .post:nth-child(2n-1) {
	margin-right: 4%;
}

.front-page .post:nth-child(2n) {
	margin-left: 4%;
}

.front-page .post:nth-last-of-type(2) {
	border: 0;
}

.front-page .post:nth-last-of-type(2):nth-child(2n) {
	border-bottom: 2px solid;
}

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
.inner {
	width: 88%
}
.parallax .bg__1,
.parallax .bg__2,
.parallax .bg__3,
.parallax .bg__4 {
	height: 60vh;
	background-attachment: scroll;
}

.contact-section {
	background-attachment: scroll;
}

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

.front-page .post {
	width: 46%;
}

.front-page .post:nth-child(2n-1) {
	margin-right: 4%;
}

.front-page .post:nth-child(2n) {
	margin-left: 4%;
}

.front-page .post:nth-last-of-type(2) {
	border: 0;
}

.front-page .post:nth-last-of-type(2):nth-child(2n) {
	border-bottom: 2px solid;
}


}




