/*  
	Theme Name: debiel
	Theme URI: http://bendebiel.com
	Description: Bens Theme.
	Version: 1
	License: Private
	Author: Peter Amende
	Author URI: http://zutrinken.com
*/

@import url('css/normalize.css');
@import url('css/default.css');
@import url('css/wordpress.css');
@import url('css/shortcode.css');

@import url('css/photoswipe.css');
@import url('css/default-skin/default-skin.css');

.clear {clear:both;}

html {
	font-size: 62.5%;
}
body {
	padding: 0;
	margin: 0;
	overflow-x: hidden;
}

body,
input,
select,
textarea {
	font-family: 'Open Sans','Helvetica', Arial, sans-serif;
	font-size: 1.5em;
	line-height: 1.5em;
	
	font-weight: 300;
	color: #666;
}
input[type="text"],
input[type="email"],
textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}


/*
	--------------------------------------------------------------------------------
		Main
	--------------------------------------------------------------------------------
*/

#header {
	position: fixed;
	padding: 0;
	height: 100vh;
	width: 240px;
	float: left;
	background: #f2f2f2;
	z-index: 10;
}
html {
	overflow-x: hidden;
}
.inside {
	padding: 0 32px;
}

.blog-title {
	padding: 32px 0;
}

#logo {
	margin: 0;
	padding: 0;
	display: block;
	font-size: 1.5em;
	font-weight: 800;
	text-transform: uppercase;
	color: #000;
}
#logo a {
	color: inherit;
	text-decoration: none;
}

#slogan {
	display: block;
	margin: 0;
	font-size: 0.75em;
	line-height: 1em;
	font-weight: 600;
	text-transform: uppercase;
	color: #000;
}

.navigation {
	display: block;
	margin: 0;
	padding: 32px 0;
}
.navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.navigation ul ul {
	padding: 0 0 0 16px;
}
.navigation li {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}
.navigation a {
	display: block;
	padding: 2px 0;
	color: #000;
	font-weight: 400;
	text-decoration: none;
}
.navigation a:hover,
.navigation a:focus {
	text-decoration: underline;
}
.navigation .current-menu-item > a {
	font-weight: 700;
}
#menu-handler {
	display: none;
	position: absolute;
	width: 28px;
	height: 32px;
	left: 0;
	top: 0;
	margin: 32px;
	text-align: center;
	cursor: pointer;
	background: transparent;
	color: transparent;
	text-decoration: none;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.nav-button {
	display: block;
	position: relative;
	width: 24px;
	height: 24px;
	cursor: pointer;
}
.nav-button-part {
	display: block;
	position: absolute;
	width: 100%;
	height: 2px;
	top: 50%;
	background: #000;
  
	-webkit-border-radius: 2px;
	border-radius: 2px;

	-webkit-transition: all ease 0.3s;
	transition: all ease 0.3s;
}
.nav-button:hover .nav-button-part ,
.nav-button:focus .nav-button-part {
	height: 4px;
}

.nav-button-part-1 {
	margin-top: -8px;
}
.nav-button-part-2 {
	margin-top: -1px;
}
.nav-button-part-3 {
	margin-top: 6px;
}

.nav-button:hover .nav-button-part-1 ,
.nav-button:focus .nav-button-part-1 {
	margin-top: -10px;
}
.nav-button:hover .nav-button-part-2 ,
.nav-button:focus .nav-button-part-2 {
	margin-top: -2px;
}
.nav-button:hover .nav-button-part-3 ,
.nav-button:focus .nav-button-part-3 {
	margin-top: 6px;
}

.menu-active .nav-button-part-1 {
	margin-top: -1px;
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
.menu-active .nav-button:hover .nav-button-part-1 ,
.menu-active .nav-button:focus .nav-button-part-1 {
	margin-top: -2px;
}
.menu-active .nav-button-part-2 {
    display: none;
}
.menu-active .nav-button-part-3 {
	margin-top: -1px;
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}
.menu-active .nav-button:hover .nav-button-part-3 ,
.menu-active .nav-button:focus .nav-button-part-3 {
	margin-top: -2px;
}


#main {
	position: relative;
	padding-left: 240px;
	z-index: 5;
	min-height: 100vh;
}

/*
	--------------------------------------------------------------------------------
		Index
	--------------------------------------------------------------------------------
*/

#index {
	padding: 32px 0;
	margin: 0 -8px;
}
#index .hentry {
	float: left;
	width: 50%;
}
#index .post-header {
	padding: 8px;
	margin: 0;
}
#index .post-title {
	position: absolute;
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	left: 0;
	bottom: 0;
	margin: 0;
	padding: 16px;
	font-size: 2em;
	line-height: 1em;
	font-weight: 400;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,.5);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/*
	--------------------------------------------------------------------------------
		Post
	--------------------------------------------------------------------------------
*/

.hentry {
	position: relative;
}
.post-header {
	position: relative;
	padding: 32px 0 0;
	margin: 0 0 32px;
}
.post-image {
	width: auto;
	height: 0;
	margin: 0;
	padding: 0 0 66.666%;
	overflow: hidden;
	background: #333;
}
.post-image img {
	display: block;
	width: 100%;
	height: auto;
}
.post-title {
	margin: 0;
	padding: 0;
	font-size: 1.5em;
	font-weight: 600;
	min-height: 1.5em;
	text-transform: uppercase;
	color: #000;
}
.post-title a {
	color: inherit;
	text-decoration: none;
}
.post-content {
	position: relative;
	padding: 0 0 32px;
}
.post-content > div > * {
	max-width: 640px;
}


@media only screen and (max-width: 960px) {
	.post-content > * > * {
		max-width: none;
	}
	#header {
		position: relative;
		width: auto;
		height: auto;
		float: none;
		z-index: 200;
	}
	#main {
		padding-left: 0;
	}


	#header,
	#main {
		-webkit-transition: all ease-out 0.2s;
		transition: all ease-out 0.2s;
		left: 0;
	}	
	.menu-active #header,
	.menu-active #main {
		left: 240px;
	}
	
	.blog-title {
		float: left;
		margin-left: 40px;
	}
	.navigation {
		float: right;
	}
	.navigation > div {
		position: fixed;
		width: 240px;
		height: 100%;
		left: -240px;
		top: 0;
		background: #fff;
		box-shadow: 0 2px 4px rgba(0,0,0,.1);
		overflow: hidden;
		z-index: 1000;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		-webkit-transition: all ease-out .2s;
		transition: all ease-out .2s;
	}
	.navigation ul {
		padding: 32px;
	}
	.navigation li {
		padding: 4px 0;
	}
	.menu-active .navigation > div {
		left: 0;
	}
	#menu-handler {
		display: block;
	}
	#main:after {
		position: absolute;
		width: 100%;
		height: 0;
		left: 0;
		top: 0;
		content: '';
		z-index: 100;
		background: #e5e5e5;
		opacity: 0;
		-webkit-transition: opacity ease-out .4s;
		transition: opacity ease-out .4s;
	}
	.menu-active #main:after {
		height: 100%;
		opacity: .5;
	}
}
@media only screen and (max-width: 480px) {
	.inside {
		padding: 0 16px;
	}
	.blog-title,
	.navigation {
		padding: 16px 0;
	}
	.navigation ul {
		padding: 16px;
	}
	#menu-handler {
		margin: 16px;
	}
	#index .hentry {
		float: none;
		width: 100%;
	}
}