/*
Theme Name: 2017
Theme URI: http://yzoja.pl
Author: Yzoja
Author URI: http://pudlo.be
Version: 1.0.2017
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

::-moz-selection { background: #638C3A; color: #fff; }
::selection { background: #638C3A; color: #fff; }

h1::-moz-selection {background: #638C3A;  color: #fff;}
h1::selection {background: #638C3A;  color: #fff;}

h2::-moz-selection, h3::-moz-selection {background: #527232;  color: #fff;}
h2::selection, h3::selection {background: #527232;  color: #fff;}

/* accent color */

#entry li:before, a, .key {
	color: #638C3A;
}

.key {
	display: inline-block;
	width: 1.3em;
	text-align: center;
}

.fix {
	height: 60px;
}

#miniblog a {
	color: #638C3A;
}

.main-color {
	fill: #638C3A;
	transition: all 0.4s;
	transform-origin: 50% 50%;
}

body {
	background: #111;
	color: #eee;
	font-weight: 300;
	font-size: 20px;
	line-height: 160%;
	font-family: 'Faustina', Times, Georgia, serif;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	cursor: pointer;
	transition: all 0.4s;
}

#entry a {
	border-bottom: 1px solid #638C3A;
	position: relative;
	color: inherit;
}

#entry a:hover {
	border-bottom: 1px solid #527232;
}

#entry h2 {
	font-size: 1.8em;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 140%;
}

h1[style*="center"] {
	padding: 1em 0;
}

h1 strong {
	font-weight: normal;
	border-bottom: 2px solid #638C3A;
}

/* logo */



#logo {
	transition: all 0.4s;
	z-index: 5;
	padding-right: 20px;
	padding-left: 20px;
}

#logo h1 {
	color: #fff;
}

#logo svg {
	display: none;
	height: 40px;
	padding-top: 5px;
	/*display: inline-block;*/
}

#logo span {
	vertical-align: top;

}

#logo a {
	white-space: nowrap;
}


/* header */

#header {
	font-family: 'Faustina', Calibri, Arial, Ubuntu, sans-serif;
	position: relative;
	background: #232323;
}

#fix-bar {
	display: flex;
	height: 60px;
	justify-content: space-between;
	align-items: center;
}

nav a {
	color: #fff;
}

nav li {
	display: inline-block;
	list-style-type: none;
	position: relative;
}

.left-nav, .right-nav {
	flex-grow: 2;
	flex-shrink: 3;
	display: flex;
	align-items: center;
	padding: 0 20px;
}

.right-nav {
	text-align: right;
	justify-content: flex-end;
}

.left-nav li {
	font-family: 'Quicksand';
	line-height: 60px;
	font-size: 14px;
	margin-left: 20px;
}

li:before {
	content: "";
	height: 0;
	transition: all 0.2s;
	width: 106%;
	background: #638C3A;
	left: -3%;
	bottom: 0;
	position: absolute;
}

.left-nav i {
	display: inline-block;
	width: 25px;
	text-align: center;
	margin-right: 10px;
}

.left-nav li[class*="current"] {
	font-weight: bold;
}

.left-nav li:hover:before {
	content: "";
	height: 10px;
	width: 106%;
	background: #638C3A;
	left: -3%;
	bottom: 0;
	position: absolute;
}

.left-nav li:hover > a {
	color: #fff;
}

.right-nav li {
	margin-right: 20px;
}

.sub-menu {
	background: #333;
	position: absolute;
	display: none;
	margin-left: -10px;
}

.sub-menu li {
	white-space: nowrap;
	display: block;
	line-height: 20px;
	padding: 10px;
	margin: 0;
}


/* stream */

blockquote {
	position: relative;
}

.main {
	margin: 0 auto;
	width: 100%;
	max-width: 700px;
}

.main article {
	position: relative;
	padding: 40px 0;
}

.main article h2 {
	/*text-align: center;*/
	font-size: 1.8em;
	margin-bottom: 1em;
	line-height: 120%;
}

p + p, * + p, #entry > * ~ * {
	margin-top: 1em;
}

#tags {
	margin: 2em auto;
	border-top: 1px solid #ddd;
	padding: 1em 0;
	font-size: 14px;
	line-height: 140%;
}

#tags a {
	color: #8a8a8a;
	padding: 0 5px;
	font-size: 12px;
	font-family: 'Quicksand', monospace;
}

.title a {
	color: inherit;
}

/* single */

blockquote {
	padding: 0 2em;
	margin-top: 1em;
	font-style: italic;
}

blockquote:before {
	left: 2em;
	font-style: normal;
	content: "\f10e";
	font-family: 'FontAwesome', monospace;
	font-size: 130%;
	position: absolute;
	margin-left: -1.8em;
	color: #527232;
}

iframe {
	max-width: 100%;
}

#entry {
	max-width: 700px;
	margin: 0 auto;
	width: 80%;
	padding: 3em 0;
}

#entry > .tumblr-embed, #entry > .instagram-media {
	display: block !important;
	width: 100% !important;
	max-width: 700px !important;
	margin: 2em auto !important;
}

#entry table {
	border-collapse: collapse;
}

#entry table th {
	text-transform: uppercase;
	text-align: left;
	padding: 2em 0 0.5em 1em;
	border-bottom: 1px solid #000;
}

#entry table tr {
	vertical-align: top;
}

#entry table td {
	font-size: 0.9em;
	padding: 1em;
	border: 1px solid #eee;
}

.medium-width img {
	width: 100%;
	display: block;
}

#entry > .youtube, .wp-block-embed-youtube {
	position: relative;
	margin-top: 1em;
}

#entry > .youtube:before, .wp-block-embed-youtube:before {
	padding-top: 60%;
	display: block;
	content: "";
}

#entry > .youtube iframe, .wp-block-embed-youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	height: 100% !important;
	width: 100%;
}

#entry > div {
	margin-top: 1em;
}

#entry > .fb-post {
	text-align: center;
	display: block !important;
}

#entry > p > .wp-embedded-content {
	display: block !important;
	width: 100% !important;
	margin: 1em auto;
}

#entry > .medium-width img, #entry > .medium-width iframe {
	display: block;
	width: 100%;
	height: auto;
}

#entry > .full-width {
	max-width: 100%;
	width: 100%;
}

#entry li {
	position: relative;
	margin-bottom: 0.5rem;
	line-height: 2rem;
	list-style-type: none;
}

#entry li:before {
	content: "x";
	font-family: 'Quicksand';
	position: absolute;
	left: -20px;
	width: 15px;
	text-align: center;
	top: 0;
	line-height: 1.5em;
}

#entry ul, #entry ol {
	margin-top: 2em;
	margin-bottom: 1em;
}

article ul, article ol {
	padding-left: 2em;
}

#entry hr {
	border: 0;
	text-align: center;
	position: relative;
	border-top: 1px solid #666;
	margin: 2em auto 1em !important;
}

#entry hr:before {
	position: absolute;
	top: 50%;
	width: 60px;
	margin-left: -30px;
	text-align: center;
	background: #111;
	color: #638C3A;
	margin-top: -20px;
	line-height: 40px;
	content: "\f121";
	font-size: 1.4em;
	font-family: 'FontAwesome';
}

#entry > h2, #entry > h3, #entry > h4, #entry > h5 {
	margin-top: 2em;
}

#single h2, #single h3 {
	clear: both;
}

#single h2 + h4 {
	margin-top: 0;
	opacity: 0.8;
}

h2 strong, h3 strong {
	font-weight: normal;
}

#single h2 a, #single h3 a, #single h4 a, #single h5 a {
	color: inherit;
}

.fb_iframe_widget span {
	vertical-align: inherit !important;
}

p iframe {
	margin-top: 1em;
}

.alignright {
	float: right;
	max-width: 40%;
	margin-left: 1em;
	margin-bottom: 1em;
}

.alignleft {
	float: left;
	max-width: 40%;
	margin-right: 1em;
	margin-bottom: 1em;
}

.aligncenter {
	margin: 1em auto;
	display: block;
	max-width: 100%;
}

.aligncenter img {
	max-width: 100%;
	height: auto !important;
}

del {
	color: #b72f3d;
}

/* gallery */

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

#entry > .flex-gallery.col-5 {
	max-width: 1000px;
}

.flex-gallery a {
	background: #eee;
	display: block;
	border-bottom: 1em solid #fff;
}

.flex-gallery img {
	display: block;
}

.no-columns, .col-1 {
	justify-content: center;
}

.no-columns img, .col-1 img {
	border: 1px solid #ddd;
	padding: 5px;
}

.col-2 > * {
	flex-basis: 40%;
	flex-grow: 2;
	flex-shrink: 2;
	margin-left: 1em;
}

.col-2 > *:nth-of-type(2n+1) {
	margin-left: 0;
}

.col-3 > * {
	flex-basis: 27%;
	flex-grow: 2;
	flex-shrink: 2;
	margin-left: 1em;
}

.col-3 > *:nth-of-type(3n+1) {
	margin-left: 0;
}

.col-5 > * {
	flex-basis: 17%;
	flex-grow: 2;
	flex-shrink: 2;
	margin-left: 1em;
}

.col-5 > *:nth-of-type(5n+1) {
	margin-left: 0;
}

.flex-gallery span {
	padding: 10px 1em;
	display: block;
	background: #eee;
	color: #222;
	font-size: 0.8em;
	font-family: 'Quicksand';
	line-height: 140%;
}

/* */

#post-header {
	text-align: center;
	padding: 3em 0;
	margin: 0 auto 3em;
	width: 100%;
	display: flex;
	position: relative;
}

#post-header:before {
	background: #fff;
	opacity: 0.5;
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

#entry-header > hr {
	max-width: 700px;
	margin: 1em auto;
	border-width: 5px;
}

#thumbnail {
	width: 40%;
	text-align: right;
	display: flex;
	position: relative;
}

#thumbnail #img {
	display: block;
	width: 100%;
	margin: -20px -20px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	height: 100%;
	margin-left: auto;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity: 0.8;
	mix-blend-mode: overlay;
}

#thumbnail + #post-meta {
	text-align: left;
	width: 60%;
	position: relative;
}

.sep {
	opacity: 0.5;
	padding: 0 1em;
}

#cover {
	position: absolute;
	top: 0;
	z-index: -1;
	height: 50vh;
	left: 0;
	width: 100%;
}

#entry-header h1 {
	font-size: 2.5em;
	line-height: 100%;
}

span.date {
	/*text-align: center;*/
	color: #fff;
	letter-spacing: 2px;
	font-size: 12px;
	font-weight: bold;
	font-family: 'Quicksand';
	padding-left: 2px;
	line-height: 120%;
	margin-bottom: 1em;
	display: block;
	position: relative;
	z-index: 2;
}

.cat-link {
	background: #222;
	letter-spacing: 0;
	margin-top: 10px;
	display: inline-block;
	line-height: 130%;
	vertical-align: middle;
	padding: 3px 5px;
	text-transform: uppercase;
	mix-blend-mode: overlay;
}

.cat-link ~ .cat-link {
	margin-left: 5px;
}

#entry-header ~ * {
	width: 60%;
	margin-left: 40%;
}

#entry-header ~ #wpadminbar {
	margin-left: 0
}

.single #header, .page #header {
	position: fixed;
	width: 100%;
	z-index: 3;
}

.admin-bar #entry-header .date {
	margin-top: 32px;
}

#entry-header {
	width: 40%;
	padding: 3em;
	overflow: hidden;
	position: fixed;
	height: 100%;
	z-index: 2;
}

#entry-header h1 {
	color: #fff;
	position: relative;
	z-index: 2;
}

#bg-title, .bg-title {
	background-size: cover;
	background-position: center center;
	font-size: 120vh;
	font-weight: normal;
	line-height: 0.7;
	position: absolute;
	top: -10px;
	left: -5vw;
	text-align: center;
	color: #fff;
	mix-blend-mode: overlay;
	z-index: 0;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.bg-title {
	float: left;
	position: relative;
	font-size: 250px;
	left: 0;
	top: 0;
	margin-top: 0;
	margin-right: 2rem;
}

.bg-title + p {
	padding-top: 0;
}

@supports ( not (mix-blend-mode: overlay) ){

	#bg-title {
		opacity: 0.5;
	}

}

#thumb h1 {
	text-shadow: 0 0 150px #000, 0 0 50px #000;
}

/*#meta {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 51px;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	background: #fff;
	display: flex;
	z-index: 3;
	border-top: 2px solid #232323;
}*/

#meta > * {
	padding: 0 10px;
	font-size: 15px;
}


#meta > span, #meta > .love {
	width: 60px;
	color: #fff;
	font-size: 15px;
}

#entry + #share {
	padding-top: 2em;
}

#share {
	font-family: 'Quicksand';
	display: flex;
	max-width: 700px;
	margin: 1em auto;
}

#share .space {
	flex-grow: 6;
	background: #222222;
}

#share > * {
	width: 100px;
	color: #fff;
	font-size: 15px;
	padding: 10px 0;
	text-align: center;
}

#share .facebook {
	background: #3B5998;
}

#share .pinterest {
	background: #BD081B;
}

#share .twitter {
	background: #55ACEE;
}

#share .comments {
	background: #222;
	cursor: pointer;
}

#share .love {
	background: #638c3a;
	position: relative;
}

#meta {
	margin: 1em auto;
	max-width: 700px;
	border: 1px solid #a9fc05;
	padding: 1em;
}

#tags i {
	padding-right: 5px;
}

.heart i {
	cursor: pointer;
	color: #fff;
}


.more-link {
	/*text-align: center;*/
	font-family: 'Quicksand';
	margin-top: 0.5em;
	display: block;
	font-weight: bold;
	font-size: 0.8em;
}

#main .fa-heart-o {
	color: #f76a6a;
}

pre {
	padding: 10px 1em;
	border: 1px solid #444;
	background: #222;
	color: #eee;
	overflow-x: auto;
	font-family: 'Quicksand';
}

pre code {
	display: block;
	word-break: break-all;
	border: 0;
	padding: 0;
}

code {
	padding: 2px 5px;
	border: 1px solid #444;
	background: #222;
	font-family: 'Quicksand';
	color: #eee;
	font-size: 0.8em;
	vertical-align: middle;
}

/* Comments */

#comments-area h2 {
	flex-basis: 100%;
}

.row-m {
		max-width: 700px;
		margin: 0 auto;
		width: 80%;
}

/* Related */

#related {
	clear: both;
	padding: 2em 0;
	display: flex;
	flex-wrap: wrap;
}

#related .row-m {
	display: flex;
		flex-wrap: wrap;
}

#related h2 {
	flex-basis: 40%;
	text-indent: -0.1em;
	line-height: 100%;
}

#related article h3 {
	line-height: 100%;
}

#related article {
	flex-basis: 45%;
	flex-grow: 2;
	text-align: right;
	padding-left: 2rem;
	margin-bottom: 2rem;
}

#related article p {
	font-size: 0.8em;
	line-height: 140%;
}

#related article:nth-of-type(2) {
	text-align: left;
	padding-right: 2em;
	padding-left: 0;
	border-right: 1px solid #333;
}

/* */

#menu-button {
	display: none;
}

.left-nav li:first-of-type {
	margin-left: 0;
}

#pagination {
	text-align: center;
	max-width: 700px;
	margin: 2em auto;
	font-family: 'Quicksand';
	font-size: 0.8em;
	width: 90%;
}

#pagination a {
	color: #333;
}

#pagination span.current {
	border-bottom: 1px solid #ddd;
	font-weight: bold;
}

#pagination .page-numbers {
	padding: 5px 10px;
}

body > footer {
	background: #222;
	padding: 2em 0;
	color: #ddd;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9em;
}

footer .widget p {
	font-size: 13px;
	line-height: 140%;
}

footer .widget {
	flex: 2 2 350px;
	margin-right: 2em;
	padding-bottom: 2em;
}

footer .widget h2 {
	font-size: 1.2em;
	line-height: 110%;
	margin-bottom: 1em;
}

footer .widget li {
	list-style-type: none;
}

footer #copyright {
	text-align: right;
	color: #aaa;
	flex-basis: 100%;
	font-family: 'Quicksand';
	font-size: 12px;
}

#subscribe-email input {
	display: block;
	padding: 10px 20px;
	font-family: 'Quicksand';
	border: 1px solid #ddd;
	margin: 0;
}

#subscribe-email input:focus {
	outline: none;
	color: #000;
	font-weight: bold;
}

#subscribe-submit {
	margin-top: 0;
	padding-top: 0;
	text-align: right;
}

#subscribe-submit input {
	font-family: 'Quicksand';
	background: #000;
	color: #fff;
	text-transform: uppercase;
	border: 0;
	transform: translateY(-44px);
	line-height: 44px;
	padding: 0 10px;
	cursor: pointer;
}

@media screen and (max-width: 1025px) {

	.medium-width {
		margin-left: -10vw;
		width: 100vw !important;
	}


	#entry > .medium-width, #entry > .wp-video {
		width: 100vw !important;	
	}

	#entry-header {
		width: 100%;
		min-height: 50vh;
		padding: 3em 10%;
		position: relative;
	}

	#bg-title {
		font-size: 80vh;
		left: auto;
		right: 0;
		margin-right: 10vw;
	}

	#single-title {
		max-width: 400px;
	}

	#entry-header ~ * {
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}	

	body {
		font-size: 17px;
	}

	#logo {
		order: 2;
	}

	.left-nav {
		order: 1;
	}

	.right-nav {
		order: 3;
	}

	#top-menu {
		position: absolute;
		z-index: 12;
		top: 0;
		left: 0;
		padding-left: 10px;
		margin-top: 50px;
		width: 100%;
		background: #222;
		transition: all 0.4s;
		margin-left: -120vw;
	}

	#top-menu.click {
		margin-left: 0px;
	}

	#top-menu li {
		margin-left: 0;
		padding-left: 20px;
		display: block;
	}

	#top-menu li a {
		display: block;
	}
	
	#top-menu li i {
		line-height: 50px;
		margin-right: 1rem;
	}

	#top-menu .sub-menu {
		position: static;
		margin-left: -20px;
		padding-left: 0px;
	}

	#top-menu .sub-menu li {
		padding: 0px;
		text-transform: uppercase;
		font-size: 12px;
		line-height: 20px;
	}

	#top-menu .sub-menu li a {
		padding: 10px 20px;
		display: block;
	}

	#meta {
		flex-wrap: wrap;
	}

	#meta > span, #meta > .love, #meta > .share {
		flex: 1 1 19%;
	}

	.fix {
		display: none;
	}
	
	.single .fix, .page .fix {
		display: block;
	}

	#meta .tags {

	}

	.main article, #post-meta {
		padding: 40px 5%;
	}

	.bg-title {
		right: 5%;
		left: auto;
		opacity: 0.5;
		font-size: 250px;
		margin-right: 0;
		top: 40px;
		position: absolute;
	}

	#entry-header > hr {
		width: 90%;
	}

	#menu-button {
		display: block;
		padding: 5px 10px;
	}

	#menu-button i {
		padding-left: 0;
	}

	.right-nav li {
		margin-right: 5px;
	}

}

@media screen and (max-width: 500px) {

	.flex-gallery > * {
		flex-basis: 100% !important;
		margin-left: 0 !important;
	}

	#extra-content .video-post {
		margin-left: 0;
		margin-right: 0;
	}

	body {
		font-size: 14px;
	}

	#social {
		display: none;
	}

	#miniblog {
		padding-bottom: 2em;
	}

	#miniblog article, #miniblog h1 {
		width: 90%;
		margin: 0 5%;
		padding: 2em 0 0;
	}

	.sep {
		display: block;
		height: 0px;
		overflow: hidden;
	}

	#book .book {
		font-size: 12px;
	}

	#post-meta:first-child #lead {
		font-size: 1.1em;
	}

	#related h2 {
		margin-bottom: 1em;
	}

	#related article {
		flex-basis: 100%;
	}

	#related article:nth-of-type(2) {
		border-right: 0;
	}

}

#x3 {
	display: none;
	font-size: 60px;
	opacity: 1; 
	position: fixed;
	color: #cb3737;
	-webkit-animation: moveclouds 7s linear 1, sideWays 0.5s ease-in-out infinite alternate;
	-moz-animation: moveclouds 7s linear 1, sideWays 0.5s ease-in-out infinite alternate;
}

.release-heart #x3 {
	display: block;
}

@-webkit-keyframes moveclouds { 
	0% { 
		top: 100vh;
		font-size: 60px;
	}
	100% { 
		top: -500px;
		font-size: 0;
	}
}

@keyframes moveclouds {     
	0% { 
		top: 100vh;
		font-size: 60px;
	}
	100% { 
		top: -500px;
		font-size: 0;
	}
}

@-webkit-keyframes sideWays { 
	0% { 
		margin-left: 0px;
		transform: rotateY(360deg);
	}
	100% { 
		margin-left: 50px;
		transform: rotateY(0deg);
	}
}

@keyframes sideWays {
	0% {
		margin-left:0px;
		transform: rotateY(360deg);
	}
	100% {
		margin-left:50px;
		transform: rotateY(0deg);
	}
}

#reply-title {
	margin: 2em 0 1rem;
}

#comments-area .comment-body { 
	margin-bottom: 40px;
}

#comments-area .pingback .comment-body {
	margin-bottom: 0;
}

#comments-area .pingback {
	border: 1px solid #ddd;
	padding: 2rem;
	margin: 2rem 0;
}

#comments-area .comment-meta {
	font-size: 13px;
	margin-bottom: 5px; 
}

.vcard {
	border: none;
	margin: 0;
	padding: 0;
	display: block;
}

#comment > li {
	margin-left: 0;
}

.says {
	display: none;
}

.comment-list {
	border: 1px solid #ddd;
	padding: 2rem;
	margin-bottom: 2em;
	list-style-type: none;
}

.comment-list h2 {
	cursor: pointer;
}

#comments-list {
	display: none;
}

.comment-meta.commentmetadata {
	display: inline-block;
	float: right;
	margin-top: -29px;
}

.comment-meta.commentmetadata a {
	color: #aaa;
}

.comment {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px solid #ddd;
}

.reply {
	margin-bottom: 1em;
	text-align: right;
}

.reply a {
	color: #aaa;
	text-transform: uppercase;
	font-size: 12px;
}

.comment p {
	font-size: 17px;
	line-height: 160%;
	padding-top: 1em;
}

.comment .comment {
	margin-left: 20px !important;
}

.vcard img {
	border-radius: 45px;
	float: left;
	width: 50px;
	margin-right: 20px;
	margin-bottom: 1em;
}

.vcard .fn {
	font-weight: normal;
	font-family: "utopia-std-headline",serif;
	font-style: normal;
}


.vcard .fn a, .comment a {
	color: #E91E63;
}

#respond ~ h2 {
	margin-top: 2rem;
}

.comment-list #respond {
	margin-top: 2rem;
	margin-left: 0;
}

#commentform {
	font-family: 'Quicksand', sans-serif;
}

#commentform label {
	display: block;
	font-weight: bold;
	font-family: 'Quicksand', sans-serif;
	margin-top: 1rem;
}

#comment, input {
	border: 1px solid #ddd;
	font-family: 'Quicksand', sans-serif;
	display: block;
	width: 100%;
	padding: 10px;
}

#submit {
	width: 240px;
	cursor: pointer;
	font-family: 'Quicksand', sans-serif;
	background: #000;
	color: #fff;
	padding: 10px 0;
	text-align: center;
	display: block;
	margin: 1rem auto;
	font-weight: bold;
	text-transform: uppercase;
	border: 0;
}