/*
Theme Name: Kubrick
Theme URI: http://thomasmaier.me/
Description: A wordpress theme for my own website.
Version: 0.9
Author: Thomas Maier
Author URI: http://thomasmaier.me/
Tags: typographc, black, white, simple
Text Domain: kubrick
*/

* {
	padding: 0;
	margin: 0;
	border: 0;
	outline: 0;
	text-rendering: optimizeLegibility;
}

body, input {
	background: #fff;
	color: #000;
	font-family: times, serif;
	text-size-adjust: none !important;
	line-height: 115%;
	text-rendering: optimizeLegibility;
}

body * {
	font-size: 16px !important;
	font-weight: normal !important;
	text-rendering: optimizeLegibility;
}

header a, header a:link, header a:visited {
	color: #000;
	text-decoration: none;
	padding: 1px 2px 1px 2px;
}
header a:active, header a:hover {
	color: #000;
	text-decoration: none;
	background: #f1f1f1;
	padding: 1px 2px 1px 2px;
}

header {
	padding: 5px 0 0 20px;
	height: 24px;
	background: #fff;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 99;
	overflow: hidden;
}

#desc {
	display: inline-block;
	position: absolute;
	top: 3px;
	left: 239px;
	white-space: nowrap;
}

#time {
	display: inline-block;
	position: absolute;
	top: 23px;
	background: transparent;
	left: 23px;
}

#home {
	display: inline-block;
	position: absolute;
	top: 2px;
	left: 21px;
	white-space: nowrap;
	padding: 1px 3px;
	display: inline-block;
}

#about {
	position: absolute;
	top: 2px;
	left: 1025px;
	float: right;
	display: block;
	width: 40px;
	text-align: center;
	padding: 1px 4px;
	display: inline-block;
}

#nav {
	position: relative;
	left: 262px;
	top: 80px;
	width: 833px;
	margin-bottom: 100px;
	list-style-type: decimal-leading-zero;
	list-style-position: inside;
}

#nav li {
	position: relative;
	left: -22px;
	top: 0;
	width: 833px;
	padding: 0 0 0 0;
	line-height: 19px;
}

.home #nav li.tag-new > a {
	background: #ffffc5;
}

#nav li:hover {
	
}

#nav li .table-item {
	color: #000;
	text-decoration: none;
	position: absolute;
	top: 0;
	left: 30px;
}

#nav li .info {
	width: 833px;
	padding: 4px 0 0 0;
	overflow: hidden;
	background: #eee;
	line-height: 19px;
}

.single #nav li {
	left: -22px;
	color: #fff;
}

.single #nav li .info {
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
}

.single #nav li > span {
	color: #000;
}

.single #nav li p {
	color: #000;
}

#nav li .info .project-text {
	margin-left: 80px;
	width: 234px;
	float: left;
}

#nav li .info .project-text p {
	margin-bottom: 16px;
}

#nav li .info .project-images {
	width: 500px;
	float: right;
	margin: 4px 0 16px 0;
}

#nav li .info .project-images img {
	max-width: 491px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 9px;
	height: auto !important;
	border-right: 9px solid #eee;
}

#nav li .info .project-images img.big {
	width: 833px !important;
	max-width: 833px !important;
	position: relative;
	left: -333px;
	border-right: 0 !important;
}

#nav li .info .project-images .wp-caption {
	position: relative;
	height: auto !important;
	width: auto !important;
}

#nav li .info .project-images .wp-caption-text {
	width: 150px;
	line-height: 110%;
	position: absolute;
	top: 0;
	left: -162px;
	text-align: right;
}

.post .project-text .wp-caption-text {
	font-size: 13px !important;
	color: #999 !important;
	margin-bottom: 10px !important;
	line-height: 13px !important;
}

.page .wp-caption {
	position: relative;
	width: 830px !important;
	margin-bottom: 43px;
	left: 300px;
	top: 70px;
}

.page .wp-caption .wp-caption-text {
	font-size: 10px !important;
	color: #bbb;
	font-family: helvetica, sans-serif;
	width: 850px;
	text-align: center;
	letter-spacing: 1px;
}

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

#about-image {
	position: absolute;
	top: -485px;
	left: 0;
}


#filter {
	position: relative;
	top: 0px;
	left: 271px;
	width: 170px;
	margin-bottom: 100px;
}

#filter select {
	appearance: none !important;
	-moz-appearance: none !important;
	-o-appearance: none !important;
	-webkit-appearance: none !important;
	padding: 1px 18px 1px 3px !important;
	color: #000;
	font-family: times, serif;
	-webkit-text-size-adjust: none !important;
	font-weight: normal !important;
	text-align: right !important;
	display: inline-block !important;
	border-radius: 0 !important;
	cursor: pointer !important;
	border: 1px solid #000;
	width: 200px;
	height: auto;
	background: url(../kubrick/images/arrow.svg) 9999px 9999px no-repeat #fff;
}

#filter select:hover {
	background: url(../kubrick/images/arrow.svg) 96% 5px no-repeat #eee;
}

#filter select option {
	color: #000;
	font-family: times, serif;
	-webkit-text-size-adjust: none !important;
	font-size: 16px !important;
	font-weight: normal !important;
	text-align: right !important;
}


.page #body {
	position: absolute;
	top: 550px;
	left: 240px;
	margin-bottom: 50px;
	width: 900px;
}

.page.page-id-494 #body {
	top: 100px;
}

.page.page-id-494 {
	background: #afafaf !important;
}

.page.page-id-494 header {
	background: #bbb !important;
}

.page.page-id-494 header a:active, .page.page-id-494 header a:hover {
	background: #afafaf !important;
}

.page #body p {
	width: 375px;
	margin-bottom: 19px;
	line-height: 19px;
}

.page #body ul {
	list-style: none;
}

#second {
	width: 430px;
	position: absolute;
	top: 0;
	left: 400px;
}

#second a, #body a, .info p a {
	text-decoration: underline;
	color: #000;
}

dl {
	font-style: normal;
	margin: 0 0 19px 0;
	line-height: 19px;
}

dl dt {
	width: 65px;
	text-align: right;
	float: left;
	line-height: 19px;
}

dl dd {
	position: relative;
	width: 345px;
	margin-left: 85px;
	line-height: 19px;
}

.permalink a {
	text-decoration: none !important;
	font-size: 14px !important;
}

.post-edit-link {
	font-size: 14px !important;
	color: #ccc;
	position: absolute;
	top: 0;
	left: 778px;
}

#back {
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 7px;
	text-decoration: none;
	color: #000;
	font-family: helvetica, sans-serif !important;
	display: block;
}

em {
	font-family: times, serif;
	font-style: italic;
}


@media only screen and (max-device-width: 1000px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-device-width: 1000px) and (orientation: portrait) and (min-device-pixel-ratio: 1.5),only screen and (max-width: 500px) {
	
	
	body * {
		font-size: 32px !important;
	}
	
	#nav {
		position: relative;
		left: 25px;
		top: 100px;
		width: 96%;
	}
	
	.single #nav {
		left: 45px;
	}
	
	.single #back {
		font-size: 50px !important;
		top: -4px;
	}
	
	#nav li {
		left: 0;
		top: 0;
		width: 100%;
		padding: 0 0 0 0;
		line-height: 38px;
	}
	
	#nav li .table-item {
		left: 50px;
	}
	
	#nav li .info {
		width: 100%;
		padding: 0 0 0 0;
		overflow: hidden;
		background: #eee;
		line-height: 32px;
	}
	
	#nav li .info .project-text {
		margin-left: 50px;
		width: 45%;
	}
	
	header a {
		padding: 10px 2px 1px 2px;
	}
	
	header {
		padding: 5px 0 0 20px;
		height: 40px;
		line-height: 40px;
	}
	
	#about {
		top: -8px;
		right: 40px !important;
		left: auto;
		float: none;
		clear: both;
		display: block;
		width: 80px;
		text-align: center;
		padding: 10px 4px;
		display: inline-block;
	}
	
	#nav li .info .project-text p {
		margin-bottom: 28px;
		margin-top: 14px;
		line-height: 36px;
	}
	
	.permalink a {
		font-size: 34px !important;
	}
	
	.page #body {
		top: 750px;
		left: 45px;
		width: 90%;
	}
	
	.page #body p {
		width: 100%;
		margin-bottom: 34px;
		line-height: 34px;
		-webkit-text-size-adjust: none;
	}
	
	#second {
		width: 100%;
		position: relative;
		top: 50px;
		left: 0;
	}
	
	dl {
		margin: 0 0 34px 0;
		line-height: 34px;
	}
	
	dl dt {
		width: 10%;
		line-height: 34px;
		-webkit-text-size-adjust: none;
	}
	
	dl dd {
		position: relative;
		width: 80%;
		line-height: 34px;
		-webkit-text-size-adjust: none;
		margin-left: 15%;
	}
	
	.page .wp-caption {
		position: relative;
		width: 100% !important;
		margin-bottom: 0;
		left: 0;
		top: 100px;
		overflow: hidden;
		clear: both;
	}
	
	.page .wp-caption .wp-caption-text {
		font-size: 20px !important;
		width: 100%;
		color: #666;
	}
	
	.page img {
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10px;
		width: 68% !important;
	}
	
	#filter {
		top: 50px;
		left: 80px;
		width: 400px;
	}
	
	#filter select {
		width: 400px;
	}
	
	#filter select:hover {
		background: url(../kubrick/images/arrow.svg) 95% 50% no-repeat #eee;
		background-size: 24px;
	}
}























