/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	font-family:sans-serif;
	border: none;
	background: #FFFFFF; 
}

h1 {
	font-size: 20px;
}

input, textarea {
	border: solid 1px #E0DEDF;
	border-radius:2px;
	background-image:url(img/icon_lupe.gif);
	background-repeat: no-repeat;
}

a {
	text-decoration:none;
	color: #D98500;
}

a:hover {
	color:#000000;
}

#logo {
	position: fixed;
	left: 15px;
	top: 15px;
}

#sideline {
	position:absolute;
	top:125px;
	left:0px;
	width:70%;
	margin-left:20px;
	margin-right:15px;
}

#sidelinecontent {
	margin-top:15px;
}

#header {
	max-width:1068px;
	padding:none;
}

#nav {
	position: relative;
	left: 150px;
}


#pagewrap {
    margin: 0 auto;
    width: 100%;
}

ul, li {
    list-style-type: none;
    -webkit-padding-start: 0px;
    -webkit-margin-before: 0px;
}



#nav li {
	float: left;
}

#nav li a {
    border-top: 5px solid transparent;
    color: #000000;
    display: block;
    font-size: 12px;
    font-weight: bold;
    height: 15px;
    margin-top: 1px;
    padding: 10px 30px;
    text-decoration: none;
}

#nav li a:hover, #navlist li.active a {
    border-top: 5px solid #D98500;
    text-decoration: none;
}

#searchbox {
	border-radius:2px;
	border-color:#e0dedf;
	border-style:solid;
	background-color:#FFFFFF;
	padding:5px;
	margin:2px;
	float: right;
	position:relative; 
	top:5px;
}

#contentwrap {
	position: absolute;
	top: 120px;
	left: 150px;
	max-width:920px;
	max-height:700px;
	overflow:hidden;
	padding-bottom:20px;
	border-radius: 5px;
	border-color:#E0DEDF;
	border-width:2px;
	border-style:solid;
	background: -moz-linear-gradient(top,  rgba(224,222,223,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224,222,223,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(224,222,223,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(224,222,223,1) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(224,222,223,1) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(224,222,223,1) 0%,rgba(255,255,255,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0dedf', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}

#article {
	margin-top: 20px;
	margin-left:20px;
	width:60%;
	padding-bottom:35px;
}

#article h1 {
	min-height: 50px;
	padding-top: 5px;
}

#article .post .post-tag { 
	font-size: 10px;
	font-weight:700;
	line-height:12px;
	color: #ffffff; 
}
#article .post .post-tag a { color: #ffffff; text-decoration:none; }
#article .post .post-tag a:hover { color: #ffffff; text-decoration:none; }

#article .post { 
	margin-bottom: 2px;
}

#article .postext { 
	margin-left: 1px; }

#article .post p { margin-bottom: 1px; }
#article .post h3 a { 
	text-decoration: none; 
	font-size: 20px;
	font-variant:small-caps;
	color:#FFFFFF; 
}

#pages {
	text-align:left;
}

#container {
	border-bottom:#e0dedf;
	border-bottom-style:solid;
	border-bottom-width:1px;	
}

#tags {
	margin-right: 20px;
	margin-top:20px;
	width: 30%;
	float:right;
}

#tagcontainer {
	margin:5px;
	padding-bottom:10px;
}

#tags ul li {
	border-radius:2px;
	border-color:#e0dedf;
	border-style:solid;
	background-color:#e0dedf;
	padding:2px;
	margin:1px;
}

#tagsnumber {
	border-radius:2px;
	border-color:#ffffff;
	border-style:solid;
	background-color:#FFFFFF;
	float:right;
	font-size:10px;
}

#tags a {
	display:block;
}

#tags a:hover {
	color:#000000;
	display:block;
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	
	body {
	font-family:sans-serif;
	background:#CC0000; 
}
	
	#pagewrap {
		width: 100%;
	}
}



/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
	
	#pagewrap {
		width: 95%;
		}
		

	#navlist li a {
    padding: 10px 10px;
    text-decoration: none;
	}
	
	#section {
	padding: 25px;
}

}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 430px) and (max-width: 767px) {
	
	#pagewrap {
		width: 95%;
		}
	
}


/*	Retina media query.
	Overrides styles for devices with a 
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {
	
		#pagewrap {
		width: 95%;
		}
	
}