/*
Theme Name: Ebyb
Theme URI: http://ebyb.eu/themes/ebyb
Author: acalfieri
Author URI: http://ebyb.eu
Description: Ebyb is my own WordPress theme, custom-written with dedication for my own site. It was designed to be fully responsive by taking the mobile-first approach. It features the full range of post formats, three menu locations, two sidebars and two footers.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, grid-layout, accessibility-ready, custom-background, custom-header, custom-menu, editor-style, featured-images, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: ebyb

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigation
 *   6.1 - Links
 *   6.2 - Menus
 *   6.3 - Social links
 *   6.4 - Post Navigation
 *   6.5 - Blog Pagination
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 10.0 - Widgets
 * 11.0 - Content
 *    11.1 - Header
 *    11.2 - Posts and pages
 *    11.3 - Post Formats
 *    11.4 - Comments
 *    11.5 - Sidebar
 *    11.6 - Footer
 *    11.7 - Front Page
 * 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,
.social-navigation a:before,
.dropdown-toggle:after,
.comment-reply-title small a:before,
.pagination .prev:before,
.pagination .next:after,
.search-submit:before,
.post-format a:before {
	-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 .edit-link a:before,
.entry-meta .byline a:before,
.entry-meta .cat-links a:before,
.tags-links a:before,
.entry-meta .comments-link a:before,
.entry-meta .entry-date a:before,
.entry-date:before,
.full-size-link a:before,
.parent-post-link a:before,
.comment a:before,
.comment-edit-link:before,
.featured-post:before {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal 18px/1 Genericons;
	text-decoration: inherit;
	vertical-align:text-bottom;
}

/**
 * 3.0 - Typography
 */

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

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: Montserrat;
	font-weight: 400;
	letter-spacing: 0.03em;   
}

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: #777;
	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: #af1543;
	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: #fff;
	/* 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: #777;
	font-family: Lato, "Helvetica Neue", sans-serif;
}

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

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

:-ms-input-placeholder {
	color: #777;
	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,
.buttons a {
	background: #af1543;
	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,
.buttons a:hover {
	background: #bc4f70;
}

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: #777;
	padding: 0.4375em 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: #af1543;
	color: #333;
	outline: 0;
}

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

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

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

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

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

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

.search-submit:before {
	content: "\f400";
	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;
}

.contact-form input,
.contact-form textarea {
	margin: 0 0 1.667em;
}

/**
 * 6.0 - Navigation
 */

/**
 * 6.1 - Links
 */

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

button a {
	color: #fafafa;
	z-index: 2;
	display: block;
}

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

.buttons a:hover,
.buttons a:focus {
	color: #fafafa;
}

/**
 * 6.2 - Menus
 */

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

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

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

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

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

.primary-navigation,
.secondary-navigation {
	font-size: 1em;
	padding: 0;
}

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

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

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

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

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

.primary-navigation ul ul a,
.secondary-navigation ul ul a {
	white-space: normal;
}

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

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

.menu-toggle:before {
	color: #af1543;
	background-color: #f2f2ef;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 20px;
	line-height: 20px;
	border: 1px solid #af1543;
	border-radius: 2px;
	content:  "\f419"; 
	padding: 10px;
}

.toggled-on .menu-toggle:before {
	content: "\f406";      
}

/* Primary Navigation */

.primary-navigation .menu,
.secondary-navigation .menu,
.social-navigation .menu {
	display: none;
}

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

.toggled-on #navigation {
	position: absolute;
	width: 100%;
	left: 0;
	top: 3.7em;
	background-color: #fafafa; 
	z-index: 2;
}

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

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

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

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

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

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

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

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

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

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

.dropdown-toggle.toggle-on:after {
   content: "\f432";
   border-left: 1px solid #ccc;
}

.dropdown-toggle:focus {
	outline: thin dotted;
	outline-offset: -1px;
}

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


/* Secondary Navigation */

.secondary-navigation {    
	   
}

#navigation{
	width: 1%;
}

#main-menu {
}

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

/* Social Navigation */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * 6.4 - Post Navigation
 */

.post-navigation {
	padding: 1em 0;
}

.post-navigation a,
.image-navigation a {     
	color: #af1543;
	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-bottom: 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: #bc4f70;
}

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

.post-navigation .nav-next,
.image-navigation .nav-next  {
	float: right;
}
.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: #bc4f70;
}

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

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

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

/**
 * 6.5 - Blog Pagination
 */

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

.pagination .nav-links {
	font-weight: 700;
	line-height: 1.8;
	text-transform: uppercase;
	text-align: center; /* maybe */
}

.pagination .page-numbers {
	display: inline-block;
	margin: 0 0.5em 0 0;
	background-color: #af1543;
	border: 1px solid #af1543;
	color: #fafafa;
	width: 1.8em;    
}

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

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

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

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

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

.pagination .prev:before {
	content: "\f430";
	vertical-align:text-bottom ;
	margin-right: 0.5em;
	font-weight: bold;
	font-size: 1.5em
}

.pagination .prev {
	margin: 0.5em;
}

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

.pagination .next:after {
	content: "\f429";
	vertical-align:text-bottom ;
	margin-left: 0.5em;
	font-weight: bold;
	font-size: 1.5em
}

/**
 * 7.0 Accessibility
 */

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

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

.skip-link:focus {
	clip: auto;
	height: auto;
	width: auto;
	left: 6px;
	top: 7px;    
	z-index: 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
 */

 .clearfix {
	content: "";
	display: block;
	clear: both;
}

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

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

/**
 * 10.0 - Widgets
 */

 /* Calendar Widget */

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

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

.widget-area .tagcloud {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-around;
	align-content: space-between;
}

.widget-area .tagcloud a {
	margin: auto;
	padding: 0 0.2em;
	border-radius: 2px;
	text-decoration: underline;
}

.widget-area .tagcloud a:hover {
	background-color: #f2f2ef;
	color: #af1543;
	box-shadow: 0px 0px 1px 1px #bc4f70;
	text-decoration: none;
}

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

.widget_calendar caption {
	font-family: Montserrat;
	font-weight: 400;
	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: #af1543;
	font-weight: 700;
	text-decoration: none;
	display: block;
}

.widget_calendar tbody a:hover {
	background-color: #bc4f70;
	color: #f2f2ef;
}

.widget_calendar tbody a:hover {
   
}

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

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

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

/**
 * 11.0 - Content
 */

html,
body { 
	min-height: 100%;  
	margin: 0 auto;  
}

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

main {
	margin: 1.5em 0;
	/*! padding: 0 6%; */
}

#main-content {    
	width: 100%;
	margin: 0 auto;
	font-size: 1em;
	letter-spacing:0.02em;
}

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

.post {
	width: 100%;
	border-bottom: 1px solid #ccc;
	padding: 1em 3%;
}

.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;
	position: -webkit-sticky;
	position:sticky;
	top: 0;
	display: flex;
	align-content: center;
}

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

#site-identity {
	width: 90%;
	margin: 0;
	border: 0px solid #ccc;
}

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

#site-logo {
	height: 48px;
	width: 48px;
	padding: 2px;
	margin: 0;
}

.site-title {
	font-family: Montserrat;
	font-size: 1.6em;
	text-transform: uppercase;
	margin: 0;
	color: #af1543;
}

.site-description {
	display: none;
}


/**
 * 11.2 - Posts and pages
 */

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

 .entry-title {
	color: #af1543;
	line-height: 1.4em;
	margin: 0;
 }

.basic .entry-title {
	text-align: center
}

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

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

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

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

.post-thumbnail:hover 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: block;
}

.buttons {
	display: flex;
	justify-content: space-around;
}

.entry-content {
	display: none;
	opacity: 0;	
	margin: 0 0 0.667em;
	padding: 0;
	transition: opacity 1s;	
}

.show-hide .entry-content {
	display: block;
	opacity: 1;	
}

.show-hide .post-thumbnail {
	display: none;
}

.single .entry-content,
.page .entry-content {
	display: block;
	opacity: 1
}

.format-gallery .entry-content {
	margin: 0.6em 0;
}

.entry-footer {
}

.visible {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: flex-start;	
}

.show-hide .entry-content:before {
	content: "";
	width: 60px;
	display: block;
	border-bottom: 1px solid;
	margin: 0 0 1em;
}

.invisible {
	display: none;
}

.entry-meta {
	clear: both;
	color: #777;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.008em;
	text-transform: uppercase;
	font-family: Lato, "Helvetica Neue", sans-serif;
}

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

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

.entry-meta a:hover {
	color: #333;
}

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

.entry-meta .comments-link a:before {
	content: "\f300";
	margin-right: 2px;
}

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

.sticky {
	/*! width: 47%; */
	background-color: #fafafa;
	border: 1px solid #aaa;
	margin: auto auto 0.5em;
}

.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:before {
	content: "\f308";
	margin-right: 3px;
	position: relative;
	top: 1px;
}

.cat-links {
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
}

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

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

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

.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-date:before,
.entry-meta .entry-date a:before {
	content: "\f303";
	margin-right: 1px;
}

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

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

a.entry-date:hover {
   color: #777;
}

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

.full-size-link a:before {
	content: "\f402";
	margin-right: 1px;
}

.parent-post-link a:before {
	content: "\f102";
	margin-right: 1px;
}

.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: #777;
	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: #af1543;
	color: #fafafa;
}

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

.tag-links a:hover:before {
	border-right-color: #af1543;
}

.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: #af1543;
	border: 1px solid #af1543;
	color: #fafafa;
	text-decoration: none;
}

.page-links a:hover {
	background-color: #bc4f70;
	border: 1px solid #bc4f70;
	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: #777;
	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.8em 1.8em 0.5em 0;
	padding: 0;
}

.author-description p {
	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-image .post-format a:before {
content: '\f102';
margin-right: 0.1em;
}

.format-quote .post-format a:before {
content: '\f106';
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, "Helvetica Neue", 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: #777;
}

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

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

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

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

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

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

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

.comment-form label {
	display: block;
}

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

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

.required {
	color: #bf2323;
}

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

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

.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: #394448;
	color:#333;
	font-size: 1em;
	padding: 0 0 0.5em;
}
#footer-widget-area a {
	color:#f2f2ef;
	text-decoration: none;
}

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

#footer-widget-area .widget_calendar tbody a {    
	   
}

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

.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 #af1543;   
	box-shadow: 0px -1px 5px -1px black;
}

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

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

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

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

#site-info a:hover {
	color: #af1543;
}

#social{
	text-align: center;
}

/**
 * 11.7 - Front Page
 */

.front-content {	
	min-height: 100vh;
	width: 100%;
}

.front-content h1 {
	text-align: center;
	color: #af1543;
}

.presentation {
	padding-bottom: 2em;
}

.links-to-site {
	padding-bottom: 2em;
	position: relative;
}

.front-page-menu {
	list-style: none;
}

.front-page-link,
.front-page-menu li {
	margin: auto auto 2%;
	position: relative;
	text-align: center;
	height: 20em;
	padding: 2em;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.front-page-link a,
.front-page-menu li a {
	color: #fff;
	position: relative;
	z-index: 1;
}

.front-page-link:before,
.front-page-menu li:before {
	content: "";
	background-color: rgba(175,21,67,0.5);
	position: absolute;
	top: 0;
	bottom:0;
	left: 0;
	right: 0;
	transition: all 1s;  
}

.front-page-link:hover:before,
.front-page-menu li:hover:before {
	background-color: rgba(175,21,67,0.8);
}

.front-page-link:hover,
.front-page-menu li:hover {
	color: #fff;
}

.front-page-link h2,
.front-page-menu li h2,
.front-page-link p,
.front-page-menu li p {
	z-index: 1;
}

.front-page-link h2:after,
.front-page-menu li h2:after {
	content: "";
	display:block;
	background-color:#fafafa;
	width: 2em;
	margin: 0.5em auto 1.5em;
	padding: 1px 3px;
	text-align: center;   
}

.about-link {
	background-image: url(images/about.png);
	background-size: cover;
}

.blog-link {
	 background-image: url(images/blog.png);
	  background-size: cover;
}

.themes-link {
	 background-image: url(images/themes.png);
	  background-size: cover;
}
	
.hero {
	border: 0;
	color:#333;
	position: relative;
	/*! min-height: 100vh; */
}

.hero .inner {
	position: relative;
}

.hero .hero-content {
	padding-top: 4em;
	text-align: center;
}

.hero .entry-content {
	color: #cf0c4b;
	font-size: 1.2em;
	line-height: 2;
}

.hero .contact-line {
	font-size: 1em;
	color: #333;
}

.hero .contact-line a {
	color: #cf0c4b;
}

.hero .contact-line a:hover,
.hero .contact-line a:focus {
	color: #555;
	text-decoration: underline;
}

.presentation p {
	font-size: 1.4em;
	text-align: center;
	padding: 0 0.5em 1em;
}

.links-to-site {
	padding-bottom: 2em;
}

.front-page-link,
.front-page-menu .menu-item {
	margin: auto 1% auto;
	height: 28em;
	flex: 1;
}


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

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

.mejs-container {
	height: 100px;
	width: 20%;
}


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

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

/*------------ MEDIA QUERIES ------------*/
/*---------------------------------------*/
@media (min-width: 881px) {

/**
 * 3.0 - Typography
 */

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

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

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

/**
 * 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: #af1543;
	text-transform: uppercase;
	font-family: Lato, "Helvetica Neue", sans-serif;
	font-size: 0.85em; 
	line-height: 1.275;        
	padding: 0.7em 0.75em;    
}

.scrolled a {
	color: #f2f2ef;
}

.scrolled .menu ul a {
	color: #af1543;
}

.menu-toggle {
	display: none;
}
	
#navigation {
	width: auto;
	padding: 0;
}

.primary-navigation .menu {    
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: flex-start;
	position: relative;
	/*! padding: 0 0 0.5em; */
}
	
.primary-navigation a {
	display:block;
}

.primary-navigation li,
	.secondary-navigation li {
	position: relative;        
	border: 0; 
}

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

.primary-navigation .menu ul a {
	background-color: #f6f6f6;
box-shadow: 1px 1px 5px 1px #ccc;
	
}

.primary-navigation .menu ul ul {
	padding-top: 0;
	padding-left: 0.5em;
}
	
.secondary-navigation .menu ul,
.secondary-navigation .menu ul ul {
	position: absolute;
	left: -990em;    
}

.primary-navigation li:hover > a  {
	background-color: #af1543;
	color: #f2f2ef;
}

.primary-navigation ul ul a:hover,
.primary-navigation ul ul a:focus,
.primary-navigation ul ul li:focus > a {
   
}

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

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

.primary-navigation ul ul a {
	min-width: 12em;
	 
}

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

.primary-navigation .menu-item-has-children > a:after,
.primary-navigation .page_item_has_children > a:after {
	-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;
}

.primary-navigation .menu-item-has-children li.menu-item-has-children > a:after,
.primary-navigation .menu-item-has-children li.page_item_has_children > a:after,
.primary-navigation .page_item_has_children li.menu-item-has-children > a:after,
.primary-navigation .page_item_has_children li.page_item_has_children > a:after {
	content: "\f501"; /* arrow right */
	right: 4px;
	top: 14px;
}
	
header .search-form {
	display: block;
	position: absolute;
	top:0;
	right: 0;
}

.secondary-navigation {
	display: flex;
	flex-wrap: wrap;
	height: auto;
}
	
.secondary-navigation .menu {
	display: inline-flex;
	flex-wrap: wrap;
	width: 100%;
	border: 0px solid black;
}

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

.secondary-navigation a {
	color: #f2f2ef;
	font-size: 0.85em;
	line-height: 1.78667;
	padding: 0.165em 0.75em;
	width: auto;
	overflow:visible;              
}

.secondary-navigation a:hover {
	color: #ddd;        
}

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

footer .social-navigation .menu {
	display: block;
}

/**
 * 10.0 - Widgets
 */

 .contact-area {
	display: flex;
	justify-content:space-between;
 }

 .contact-area .widget {
	width: 68.75%;
 }

.contact-area .widget:nth-child(2) {
	padding: 0 0 0 5em;
	
}

.contact-area ul {
	list-style: none;
	margin: 0;
}

.contact-detail:before {
	content: "\f000";
	font-family: Genericons;
	color:#af1543;
	margin-right: 0.5em;
	font-size: 1.1em;
	vertical-align:middle;
}

 .contact-email:before {
	content: "\f410";
 }

 .contact-phone:before {
	content: "\f50c";
 }

 .contact-mobile:before {
	content: "\f437";
 }

 .contact-address:before {
	content: "\f417";
 }

 .contact-skype:before {
	content: "\f220";
 }

 .contact-link:before {
	content: "\f107";
 }

/**
 * 11.0 - Content
 */

html, body { 
	/*! height:100%; */  
	margin: 0 auto; 
	background-color: #fafafa; /*sacar !!!*/
}
  
.logged-in #container {    
	margin: 0 auto;    
}
	
main {
	display: flex;
	position: relative;
	margin: 0;
	padding: 0;
	height: 100%;
	min-height: 100%;
}

.inner { 
	width: 68.75%;           /*  1380 / 1920   */
	margin: 0 auto;
}


#main-content { 
	width: 68.75%;
	min-height: 100vh;
	padding: 4em 3.125% 4em 0;
	margin: 0;
	font-size: 1.0625em;
	letter-spacing:0.02em; 
}
	
.single #main-content,
.page #main-content {
	padding: 4em 3.125% 4em 0;     
}

.page #main-content.alignleft {
	padding: 4em 0;
}

.page #main-content.aligncenter {
	margin: auto;
	padding: 4em 0;
}    

.sidebars {
	width: 31.25%;
	margin: 0;
	padding: 4em 3.83333%;
	border: none;
	background-color: #ededed;
}
	
.no-sidebar #main-content {
	width: 100%;
	padding: 4em 0;	
}
	
.single.no-sidebar #main-content {
	width: 68.75%;
	margin: auto;
	padding: 4em 0;
}

.page.no-sidebar #main-content {
	width: 68.75%;
	margin: 0;
	padding: 4em 0;
}

.page.no-sidebar #main-content.aligncenter {
	margin: auto;
}


.front-page #main-content,
.front-page.no-sidebar #main-content,
.front-page .front-content {
	width: 100%;
	margin: auto;
	padding: 4em 0;
	min-height: calc(100vh - 1em);
}
	
	.front-page .front-content {
		padding: 0;
	}
	
.single-themes #main-content,
.single-themes.no-sidebar #main-content,
#main-content-all-themes {
	width: 100%;
	padding: 4em 0;
	margin: auto;
}
	
.front-content section {
	padding: 4em 0;
	/*! margin-bottom: 2em; */
	border-bottom: 1px solid #ccc;
}

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

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

.post,
.theme {
	width: 47%;
	margin: 0 1% 1em;
	border: 1px solid #ededed;
	padding: 0.6em 0.8em;   
}

.sticky {
	background-color: #fafafa;
}    

.no-sidebar .post,
.no-sidebar .page .page {
	width: 30%;
}

.no-sidebar .sticky {
	width: 47%;
}
	
.basic {
	width: 47%;
	margin: 0 1% 1em;
	padding: 0 0 0.6em;
	border: 0;
	background-color: #ffffff
}

.basic .post-thumbnail {
	margin: 0 0 1em;
}

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

.basic .entry-meta {
	display: none;
}
	
.timeline .horizontal {
	width: 100%;
	display: flex;
	margin: 0;
	padding: 0;
	border: 0;
}

.horizontal:nth-child(even) {
	flex-direction: row-reverse;
}

.horizontal .first-block {
	width: 50%;
	position: relative;
	box-sizing: content-box;
	padding: 0 0 2em;
	text-align: right;
	border-right: 1px solid #ddd;
}

.horizontal:nth-child(even) .first-block {
	text-align: left;
	border-right: 0;
	border-left: 1px solid #ddd
}


.horizontal .first-block time {
	color: #333;
	font-weight: normal;
	font-size: 1.2em;
	padding-right: 2em;
}

 .horizontal:nth-child(even) .first-block time {
	padding-left: 2em;
}

.horizontal .first-block .entry-content {
	color: #707070;
	padding: 6em 4em 2em;
}

.horizontal .first-block .genericon {
	background-color: #af1543;
	color: #fafafa;
	font-size: 1.5em;        
	position: absolute;
	top: 0;
	left: 100%;        
	transform: translate(-50%, -50%);
	padding: 0.3em;
	border-radius: 40px;
}

.horizontal:nth-child(even) .first-block .genericon {
	left: 0
}

.horizontal .second-block {
	width: 50%;
	box-sizing: padding-box;
	padding: 2em 4em;      
}

 .horizontal .second-block-inner {
	padding: 0em;
	margin: 0 0 1em 0;
	border: 0px solid #dedede;
}

.horizontal .entry-header {
	text-align: center;
}

.horizontal .entry-title {
	display: inline;        
}

.horizontal .entry-meta .comments-link {
	float: none;
}



.entry-title {
	/*! font-size: 1.2em; */
	line-height: 1.2em;
	margin: 0 0 0.7em 0;    
}
	
.entry-meta {
	
}

.entry-content {
	font-size: 0.9em;
	padding: 0;
}

.entry-content p {
	overflow:hidden;
}
	
	.entry-content .wpcf7 {
		width: 68.75%;
	}

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

.author-bio img {
	float: left;
	margin: 1em 3em 1em 0;
	padding: 0;
}

.author-description {   
  
   
} 
	
.entry-title {
	margin: 0.1em 0;
}
	
.archive .theme .entry-title {
	text-align: center;
	font-size: 2em;
}

.archive .theme .post-thumbnail {
	width: 61.8%;
	margin: 0 auto 0.667em;
}
	
	
.single-format-standard.no-sidebar #main-content {
/*! width: 68.75%; */
/*! margin: auto; */
/*! padding: 4em 0; */
}

.single-format-standard.no-sidebar #main-content .post {
	margin: auto;
}
	
.single .post,
.single .page,
.single .theme {
	width: 100%;
	border: 0;
	margin: 0;
	padding: 0;
}
.single .entry-header {
	margin: 0 0 1.667em;
}

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

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

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

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

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

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

.theme-content {
	display: flex;

}
.theme-content .entry-buttons-thumb {
	padding-right: 3em;
}

.theme-content .buttons {
	display: flex;
	justify-content: space-around;
}

.theme-content .featured-image {
	padding: 1.667em 0;
	box-sizing: border-box;
}

.theme-content .entry-content {
	margin: 0 auto;
}
	
/**
 * 11.1 - Header
 */

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

#masthead { /*   Revisar todo */
	height: auto;
	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 {
	align-items: flex-end;
	align-content: flex-end;
}

/*---- Formatting of the logo part -----*/
#site-identity {
	width: auto;
	padding: 0.7em 0;
}
	
#site-identity a { 
	/*! display: flex; */
	/*! padding-top: 1em; */
	/*! text-align: center; */
}
	
	#site-logo {
		height: 80px;
		width: 80px;
		color:blue;

		border-radius: 40px;
		padding: 2px;
		margin: 0;
}
 
.site-title-and-description { /* Sacar */
  
	margin: 0 0 0 1em;
}

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

.site-description {
	display: block;
	margin: 0;
	color: #222;
	font-family: Montserrat;
	font-weight: 400;
	font-size: 1.1em;
	line-height: 1em;
	letter-spacing: 0.02em; 
}

#masthead.scrolled {
	background-color: #af1543;
	color: #f2f2ef;
	/*! opacity: 0.6; */
}

.scrolled #site-identity {
	padding: 0;
}
	
.scrolled .site-title {
	color: #f2f2ef;
}

.scrolled .site-description {
	display: none;
}
  

/**
 * 11.6 - Footer
 */

#footer-widget-area{
	
}

.footer-widget {
	width:50%;
	margin: 2em 0;
	padding: 0 5%;
	float:left;
}
 
.widget-area{
	border:solid 0px #333;
}

#page-footer {
	bottom: 0;
	width: 100%;
	padding: 0;
	position: relative;
}

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

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

#social {
	float: right;
}

#social-menu {
	margin: 0 auto;
}

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

/**
 * 11.7 - Front Page
 */
	
.front-content .flex-container {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
}
	
.front-page-menu {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.front-content h1 {
	padding-bottom: 1em;  
}
	
.front-content section.hero {
	background-color: #efefef;
	/*! min-height: 100vh; */
	margin-bottom: 0;
	border: 0;
}

.hero .inner {
	position: relative;
	min-height: 70vh;
}

.hero .hero-content {
	text-align: left;
	padding-top: 0;
	position: absolute;
	top: 50%;
	left: 30%;
	transform: translate(-40%, -50%);
}

.hero .entry-content {
	font-size: 2em;
	margin: 0;
	color: #cf0c4b;
}

.hero .contact-line {
	font-size: 1.2rem;
	color: #333;
}

.presentation p {
	font-size: 1.4em;
	text-align: center;
	padding: 0 0.5em 1em;
}

.links-to-site {
	padding-bottom: 2em;
}

.front-page-link,
.front-page-menu .menu-item {
	margin: auto 1% auto;
	height: 28em;
	flex: 1;
}

/**
 * 11.8 - Miscelanous
 */
	
.prueba-count {
	position: absolute;
	list-style: none;
	counter-reset: li;
}

.prueba-count li p:before {
	counter-increment: li;
	content: counter( li ) '. ';
	color: #af1543;
	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%;
	}
}

