/*
Theme Name: Gratkowski
Theme URI: http://www.gratkowski.com
Description: The theme for gratkowski.com, created for Frank Gratkowski, Musician
Author: Till Moses Kammert&ouml;ns
Author URI: http://www.tillkammertoens.com
Version: 0.5
*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, section {
	display: block;
}
body {
	line-height: 1;
	overflow-y: scroll;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* end css reset */

em {
	font-style: italic;
}
strong {
	font-weight: bold;
}

/* wordpress tags to allow authors to place the images */

.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignright {
	float: right;
	margin-left: 15px;
}

.alignleft {
	float: left;
	margin-right: 15px;
}

/* style */
@font-face {
	font-family: fsc;
	src: url(fsc.otf);
}
body {
	color: black;
	background-color: white;
	min-width: 800px;
}

/* placing the elements */
#site {
	width: 800px;
	margin: 0 auto;
}
#head {
	z-index: 5;
	position: relative;
	top: 20px;
	left: 5px;
}
#box {
	z-index: 2;
	width: 560px;
	position: relative;
	top: -50px;
	left: 120px;
	min-height: 500px;
	background-color: #fdffdf;
	margin-bottom: 30px;
}
#content {
	z-index: 5;
	width: 560px;
	position: relative;
	top: -60px;
	left: -80px;
	padding-top: 190px;
	font-family: Helvetica;
	font-size: 14px;
	line-height: 1.5em;
	letter-spacing: 1px;
}
#background {
	z-index: 3;
	position: fixed;
	left: calc( 50% - 120px );
	top: 130px;
	margin-bottom: -363px;
	width: 520px;
	height: 363px;
}
#nav {
	z-index: 7;
	width: 100px;
	position: fixed;
	bottom: 20px;
	left: calc( 50% + 220px );
}
#lang {
	width: 365px;
	position: fixed;
	top: 25px;
	left: 50%;
}

/* menu styles */

#nav {
	text-align: right;
	letter-spacing: 0.05em;
	font-family: "fsc";
	font-size: 22px;
	line-height: 28px;
}
.menu-btn {
	display: none;
}
.menu-icon {
	display: none;
}
.menu-icon .navicon {
	display: none;
}
#lang {
	font-size: 16px;
}
#lang ul li {
	display: inline;
}
.lang-en:before {
	content: " | "
}
#lang ul li.active a {
	color: black;
	background-color: #fdffdf;
}

#nav ul {
	list-style: none;
}
#nav ul a {
	text-decoration: none;
}
#nav ul a:hover, .current-menu-item {
	text-decoration: underline;
	font-style: normal;
}

/* text styles */

a {
	color: black;
}
a:hover {
	font-style: italic;
}
p {
	margin-bottom: 1em;
	margin-left: 20px;
}
h2 {
	font-size: 24px;
	text-transform: uppercase;
	margin-bottom: 0.5em;
	position: relative;
	left: -20px;
	line-height: 26px;
}
h3 {
	font-size: 18px;
	margin-bottom: 0.5em;
	text-transform: uppercase;
}
.zbPlayer {
  margin-left: 42px;
  margin-bottom: 2em;
}
.page-id-28 p {
	margin-bottom: 1em;
	
}


/* hintergrundbilder */
#background {
	opacity: 0.25;
	background-image: url('background/photo1.jpg');
}
.page-id-277 #background {
	background-image: url('background/artikulationen-e.jpg');
}
.page-id-284 #background {
	background-image: url('background/quartet.jpg');
}
.page-id-303 #background {
	background-image: url('background/mjo.jpg');
}
.page-id-5 #background {
	background-image: url('background/bio.jpg');
}
.page-id-28 #background {
	background-image: url('background/music.jpg');
}
.page-id-26 #background,
.page-id-1132 #background,
.page-id-1137 #background {
	background-image: url('background/appearances.jpg');
}
.page-id-10 #background {
	background-image: url('background/contact.jpg');
}
.page-id-30 #background {
	background-image: url('background/scores.jpg');
}
.page-id-36 #background {
	background-image: url('background/software.jpg');
}
.page-id-34 #background {
	background-image: url('background/presskit.jpg');
}
.page-id-315 #background {
	background-image: url('background/gbw.jpg');
}
.page-id-329 #background {
	background-image: url('background/gratkowski-tramontana.jpg');
}
.page-id-651 #background {
	background-image: url('background/z-country-paradise.jpg');
}
.page-id-641 #background {
	background-image: none;
}

.single-post #background, .category-recordings #background, .page-id-32 #background {
	background-image: none;
}


/* home page elements placement */
.home #box {
	top: 0px;
	left: 190px;
	min-height: 0px;
	height: 430px;
	width: 520px;
}
.home #background {
	position: relative;
	top: -40px;
	left: -17px;
	opacity: 0.4;
}
.home #head {
	top: 415px;
	left: 57px;
}
.home #nav {
	position: absolute;
	top: 373px;
	left: calc( 50% + 253px);
}
.home #lang {
	width: 350px;
	top: 30px;
}


/* the projects page */
.page-id-20 p {
	padding-left: 20px;
}


/* the recordings page */
.blogpost {
	clear: both;
	margin-bottom: 4em;
}
.blogpost h3 a {
	text-decoration: underline;
}
.blogpost h3 a:hover {
	text-decoration: underline;
}
.category-recordings .posttime, .category-recordings .back {
	display: none;
}
.category-recordings .blogpost img {
	height: 250px;
	width: 250px;
	opacity: 0.85;
	margin-left: -40px;
	position: relative;
	left: 60px;
	top: 0px;
	margin-bottom: 4em;
}
.category-recordings .blogpost img:hover {
	opacity: 1;
}
.single-post .blogpost img {
	margin-left: 20px;
	margin-bottom: 15px;
	z-index: 5;
}
.category-recordings p {
	margin-bottom: 0.5em;
}
.category-recordings .more-link {
	position: relative;
	top: 0.5em;
	left: 20px;
}


/* new gigs list */
.gigs td {
	vertical-align: top;
}
.gigs td:first-of-type {
	position: relative;
	left: 1px;
	text-align: right;
}
.gigs td:nth-of-type(2) {
	width: 340px;
}
.gigs .title {
	font-weight: bold;
	padding-left: 20px;
	padding-right: 10px;
	border-bottom: 1px solid black;
}
.gigs .title a {
	text-decoration: none;
}
.gigs .date {
	font-weight: bold;
	border-bottom: 1px solid black;
}
.gigs .date,
.gigs .time {
	margin-left: -9px;
	min-height: 1em;
}
.gigs .time,
.gigs .country {
	padding-bottom: 2em;
	display: block;
}
.gigs .details {
	padding: 0 1em 1em 20px;
}
.gigs .details p {
	margin-left: 0;
}
.page-id-1137 .blogpost,
.page-id-1132 .blogpost{
	margin-bottom: 2em;
}
.archive h2,
.page-id-32 h2 {
	margin-bottom: 2em !important;
}
.page-id-1132 h2,
.page-id-1137 h2 {
	margin-bottom: 3em;
}



/* mobile layout */
@media screen and (max-width: 599px) {
	body {
		width: 100%;
		min-width: 0;
	}
	#site {
		margin: 0;
		width: 100vw;
	}
	#head {
		top: 0px;
		left: 0px;
		padding: 15px 0 15px 10px;
	}
	#head img {
		max-width: 85%;
	}
	#box {
		max-width: calc( 100vw - 60px );
		background-color: #fdffdf;
		position: relative;
		top: -70px;
		left: 50px;
		margin-bottom: 30px;
	}
	#content {
		z-index: 5;
		max-width: calc( 100vw - 20px );
		position: relative;
		top: 180px;
		left: -50px;
		padding: 0px 10px;
		margin-bottom: 50px;
	}
	#background {
		position: fixed;
		left: 20px;
		top: 100px;
		margin-bottom: -363px;
		width: calc( 100vw - 20px );
		background-size: calc( 100vw - 20px ) auto;
		background-repeat: no-repeat;
		height: 363px;
	}
	#content {
		overflow: hidden;
	}
	p img {
		max-width: 100%;
	}
	.single-post #content,
	.category-recordings #content,
	.page-id-32 #content {
	    top: 90px;
	}
	.single-post .blogpost img {
		float: none;
	    display: block;
	    position: relative;
	    right: 5px;
	    margin: 25px 0;
	}

	/* the menu */
	#nav {
		position: fixed;
		z-index: 100;
		top: 0;
		left: 0;
		background: #fdffdf;
		margin: 0;
		height: 0;
		width: 100vw;
		opacity: 0;
		transition: all .2s ease-out;
		overflow: hidden;
		text-align: center;
		font-size: 30px;
		line-height: 36px;
	}
	#nav #menu-main {
		position: absolute;
		top: 40%;
		left: 50%;
		transform: translate(-50%, -50%);

	}
	#nav #lang {
		position: absolute;
	    top: calc( 100% - 140px );
		left: 50%;
		transform: translate(-50%, 0%);
		font-size: 26px;
	}
	.menu-icon {
		z-index: 101;
		cursor: pointer;
		display: inline-block;
		position: fixed;
		top: 0px;
		right: 0px;
		user-select: none;
	}
	.menu-icon .navicon {
		background: black;
		display: block;
		height: 3px;
		margin: 32px 21px 10px 0;
		position: relative;
		transition: background .1s ease-out;
		width: 22px;
	}
	.menu-icon .navicon:before,
	.menu-icon .navicon:after {
		background: black;
		content: '';
		display: block;
		height: 100%;
		position: absolute;
		transition: all .2s ease-out;
		width: 100%;
	}
	.menu-icon .navicon:before {
		top: 7px;
	}
	.menu-icon .navicon:after {
		top: -7px;
	}
	/* menu btn */
	.menu-btn:checked ~ #nav {
		height: 100vh;
		opacity: 1;
	}
	.menu-btn:checked ~ .menu-icon .navicon {
		background: none;
	}
	.menu-btn:checked ~ .menu-icon .navicon:before {
		transform: rotate(-45deg);
		background-color: black;
	}
	.menu-btn:checked ~ .menu-icon .navicon:after {
		transform: rotate(45deg);
		background-color: black;
	}
	.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
	.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
		top: 0;
	}

	/* the home page */
	/* always show menu on home page */
	.home #nav {
		opacity: 1;
		width: 100px;
		height: auto;
		background: none;
		position: absolute;
		top: 100px;
		left: 20px;
		margin: 0;
		text-align: right;
		font-size: 22px;
		line-height: 28px;
	}
	.home #nav #lang {
		position: fixed;
		top: 20px;
		right: 20px;
		width: auto;
		margin-top: 0px;
		transform: none;
		font-size: smaller;
	}
	.home #nav #menu-main {
		position: relative;
		top: 0;
		left: 0;
		transform: none;
	}
	.home #site {
		margin-top: 60px;
	}
	.home .menu-btn {
		display: none;
	}
	.home .menu-icon {
		display: none;
	}
	.home .menu-icon .navicon {
		display: none;
	}
	.home #lang ul li {
		font-size: smaller;
	}
	.home #lang ul li.active a {
		color: black;
		background: none;
		border-bottom: 1px solid black;
	}
	.home #box {
		min-height: 0px;
		height: 430px;
		max-width: calc( 100vw - 60px );
		top: -110px;
		left: 45px;
	}
	.home #background {
		position: relative;
		top: -10px;
		left: -10px;
		opacity: 0.4;
		max-width: calc( 100vw - 60px );
		overflow-x: hidden;
		background-position: right top;	
	}
	.home #head {
		top: 330px;
		left: 0px;
		padding: 20px 5px;
	}
	.home #head img {
		max-width: 100%;
	}
	.home #content {
		position: relative;
		left: 70px;
		top: 170px;
		max-width: calc( 100vw - 160px );
	}


	.category-recordings .blogpost img {
		opacity: 1;
	}
	h2 {
		margin-bottom: 4em;
		position: relative;
		left: -0px;
		line-height: 26px;
	}
	.zbPlayer {
		margin-left: 20px;		
	}
	iframe {
		max-width: calc( 100vw - 20px );
		position: relative;
		left: -20px;
	}
}
/* phone-portrait 
	@media (max-width: 800px) {
		#box {
			left: -290px;
		}
}*/