/*
Theme Name: 8 minutes
Theme URI: http://8minut.pl
Author: Yzoja
Author URI: http://pudlo.be
Version: 1.0.2016
*/

@import url(foundation.css);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700,800&subset=latin,latin-ext);

body {
	background: #fff;
	font-family: 'Open Sans';
	font-size: 18px;
}

nav {
	height: 50px;
	position: fixed;
	width: 100%;
	background: #72293a;
	z-index: 4;
}

header {
	padding-bottom: 4em;
}

nav li {
	display: inline-block;
	list-style-type: none;
	margin-left: 3em;
}

nav ul {
	text-transform: uppercase;
	float: right;
	text-align: right;
}

nav ul li a {
	font-weight: normal;
}

nav a {
	line-height: 50px;
	color: #fff;
	font-weight: bold;
}

.clear {
	clear: both;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans';
	font-weight: bold;
}

.title > small, .title a > small, .post-title small {
	display: block;
	line-height: 100%;
}

#single .title {
	text-align: center;
}

h2.post-title {
	font-size: 1.3em;
	margin-top: -0.2em;
}

.thumbnail {
	height: 6em;
	background-size: cover;
	background-position: top center;
}

.title {
	margin: 0em auto 1em;
	line-height: 130%;
}

h1.title {
	margin-top: 2vh;
}

.entry {
	text-align: justify;
	margin: 0 auto;
}

.entry p {
	font-size: 15px;
}

.entry h2 {
	margin: 1em 0;
	position: relative;
	font-family: inherit;
	text-align: left !important;
}

.entry h2 {
	font-size: 1.3em;
}

.entry h3 {
	font-size: 1.2em;
	text-transform: uppercase;
}

.entry h2:after {
	content: "";
	width: 150px;
	bottom: 0%;
	left: 0;
	height: 1px;
	background: #ddd;
	position: absolute;
}

/*.entry h3:after, .entry h2:after {
	background: #8CC63F;
	content: "";
	left: 0;
	position: absolute;
	bottom: 0;
	height: 2px;
	width: 50px;
}*/

footer .row, .comments, #single {
	max-width: 750px;
	padding: 2em 0;
	margin: 0 auto;
}

footer {
	margin-top: 5em;
	border-top: 1px solid #ddd;
}

/**/

.posts article {
	opacity: 0.5;
	transition: all 0.8s ease;
}

.posts article ~ article {
	margin-top: 4em;
}

.posts article.in-viewport, .single .posts article, .posts article:first-of-type {
	opacity: 1;
}

.stream {
	background: #f2f2f2;
	height: 100vh;
	overflow: auto;
	padding-left: 0;
	padding-right: 0;
	border: 1px solid #ddd;
	border-bottom: 0;
	position: relative;
	z-index: 6;
}

.admin-bar .stream .scroll {
	height: 96vh;
}

.stream .scroll {
	padding-top: 2vh;
	height: 98vh;
	overflow: auto;
}

.admin-bar .stream .pinned {
	top: 32px;
}

.stream .title {
	text-align: left;
}

.stream article {
	padding: 0 1em;	
}

.stream article p {
	font-size: 12px;
	opacity: 0.8;
}

.stream a {
	color: #000;
}

.stream .active a, .stream .active p, .in-viewport h3.title {
	color: #72293a;
}

.title.hiding {
	position: fixed;
	top: -500px;
	font-weight: 800;
	text-transform: uppercase;
	z-index: 2;
	transition: all 0.4s ease;
	transition-delay: 0s;
}

.in-viewport .title.hiding {
	position: fixed;
	top: 50px;
	width: inherit;
	margin-left: 0rem;
	padding: 1em 0rem;
	display: block;
	background: #fff;
	border-bottom: 1px solid #ddd;
	box-shadow: 0 1rem 0 #fff;
	transition-delay: 1s;
}

.admin-bar .in-viewport .title.hiding {
	top: 82px;
}

footer {
	background: #f2f2f2;
	border-top: 1px solid #ddd;
	margin-top: -1px;
	padding: 2rem 0;
}

/**/

#start button {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.8em;
	padding: 1em 2em;
	margin: 1em;
}

#start article {
	margin-bottom: 1rem;
}

#start {
	margin-top: 4em;
	margin-bottom: 4em;
}

#start h3 {
	margin: 0 1em 2em 1em;
	font-size: 1.6em;
	text-transform: uppercase;
}

.centered {
	text-align: center;
}

#logo {
	margin-bottom: 4em;
	width: 300px;
	background: #72293a;
	border-radius: 50px;
	position: relative;
	margin-left: 0;
}

#logo:before {
	content: "";
	display: block;
	padding-top: 100%;
}

#logo span {
	font-size: 20em;
	line-height: 280px;
	position: absolute;
	top: 0;
	color: #fff;
}

#logo strong {
	position: absolute;
	text-align: center;
	top: 30px;
	right: 50px;
	line-height: 48px;
	font-size: 3em;
	width: 45px;
	text-transform: uppercase;
	color: #fff;
}