/*
Theme Name: Beautiful Day (Modified)
Version: 2.0
Description: Local modifications to Beautiful Day -- original at <a href="http://www.koch-werkstatt.de/wp-content/plugins/wp-downloadMonitor/download.php?id=7">arcsin.se</a>.
*/

/** High-level elements **/
html {
	min-height: 100%;
}

* {
	margin: 0;
	padding: 0;
}

a {
	color: #963;
}
a:hover {
	color: #C60;
}

body {
	background: #CCD8E0 url('img/bg.jpg') repeat-x left bottom;
	color: #444;
	font: normal 10px Optima, Tahoma, sans-serif
}

.container {
	background: #FFF;
	font-size: 1.2em;
	margin: 0 auto;
	padding: 0 10px 10px;
	width: 780px;
}

.main {
	border-top: 4px solid #FFF;
	background: url('img/bgmain.gif') repeat-y;
}

.clearer {
	clear: both;
}

/** Header elements **/

.top {
	padding-left: 10px; 
	padding-right: 10px; 
	padding-top: 50px; 
	padding-bottom: 0
}

.header {
	background: #FFF;
	font-size: 1.2em;
	height: 150px;
	margin: 0 auto;
	padding: 10px 10px 5px;
	width: 780px;
}

.header .left, .header .right {
	color: #FFF;
	height: 150px;
	white-space: nowrap;
}

.header .background {
	width: 780px;
	float: left;
}

.header .left {
	background-position: 0px 0px;
	text-align: center;	
	width: 630px;
	float: left;
}
.header .left .name {
	float: left;
	height: 75px;
	padding: 57px 25px 18px 25px;
	text-align: center;	
	font: normal 2.8em Optima, Tahoma, sans-serif;
	border-right: 5px solid white;
}
.header .left a {
	color: #fff;
	text-decoration: none;
}

.header .right {
	float: right;
	width: 150px;
	background: none;
}

.header .next-banner {
	width: 150px;
	height: 150px;
	float: right;
}

.header .next-banner a {
	float: right;
	width: 150px;
	height: 150px;
	background: none;
}

.header .next-banner:hover {
	background: url('img/page-curl.png') no-repeat 51px 51px;
}

.navigation {	
	border: 1px solid #CFDEE7;
	border-color: #DFEEF7 #CFDEE7;
	background:#D9E1E5 url('img/nav.gif');
	height: 41px
}
.navigation a {
	color: #456;
	text-decoration: none;
	font: bold 1.15em Optima, Tahoma, sans-serif;
	text-align: center;
	padding: 11px 2em 0;
	float: left;
	height: 30px;
	border-right: 1px solid #AFBEC7;
}

.navigation a:hover {
	background: #D9E1E5 url('img/nav.gif');
	background-position: left bottom; 
	color: #234;
}
.navigation ul {
	display: inline;
}
.navigation li {
	list-style: none;
}

#search {
	float: right;
	border-left: 1px solid #AFBEC7;
	border-right: none;
}

#search form input {
	width: 193px;
}

#searchform {padding:10px;}

/** Sidebar elements **/

.sidenav {
	float: right;
	width: 210px;
}
.sidenav h2 {
	color: #5A5A43;
	font: bold 1em Optima, Tahoma, sans-serif;
	line-height: 30px;
	margin: 0;
	padding-left: 12px;
}
.sidenav ul {
	padding: 0;
	border-top: 1px solid #EAEADA;
}

.sidenav li {
	list-style: none;
	border-bottom: 1px solid #EAEADA;
}

.sidenav li a {
	font-size: 1em;
	color: #554;
	display: block;
	padding: 8px 0 8px 5%;
	text-decoration: none;
	width: 95%;
}
.sidenav li a:hover {
	background: #F0F0EB;
	color: #654;	
}

/** Main content elements **/

/*** Defaults ***/

.content {
	background: url('img/bgmain.gif') repeat-y;
	float: left;
	margin: 0;
	padding: 0;
	width: 564px;
	font-size: 1.25em;
	list-style-position: outside;
	font-family: Baskerville, serif;
}

.content ol, .content ul {
	padding-left: 2em;
}

blockquote {
	background: url('img/quote.gif') no-repeat;
	display: block;
	font: bold 0.9em Baskerville, serif;
	padding-left: 26px
}

pre code {
	background: #FFF;
	border: 1px solid #EEE;
	border-left: 6px solid #C1CAD3;
	color: #666;
	display: block;
	font: normal 1em Optima, Tahoma, sans-serif;
	line-height: 1.6em;
	margin: 4px 0 12px;
	padding: 8px 10px;
	white-space: pre;
	overflow: auto;
}

code {
	color: #666;
	font: normal 1em Optima, Tahoma, sans-serif;
}

p {
	margin: .75em 0;
}

h1 {
	margin: .25em 0 .5em 0;
}

h2, h3 {
	margin: .75em 0 .5em 0;
}

table {
	width: 532px;
	border-collapse: collapse;
	background: #FFF;
	border-left: 6px solid #C1CAD3;
	border-right: 1px solid #EEE;
	border-top: 1px solid #EEE;
	border-bottom: 1px solid #EEE;
}

table td, table th {
	border-left: 1px dotted #EEE;
	border-right: 1px dotted #EEE;
	padding: .5em;
	text-align: center;
}

table td {
	border-bottom: 1px solid #EEE;
}

table th {
	border-bottom: 2px solid #EEE;
	border-top: 2px solid #EEE;
}

table caption {
	font-weight: bold;
	padding: .5em;
	margin: 0;
	background: #FFF;
	border-left: 6px solid #C1CAD3;
	border-right: 1px solid #EEE;
	border-top: 1px solid #EEE;
	width: 511px;
}

.content p.left-right {
	margin-top: .25em;
	font: normal .8em Optima, Tahoma, sans-serif;
	text-align: center;
}

.post a {
	text-decoration:none;
}
.post a:hover {
	text-decoration:underline;
}
.post {
	border-bottom: solid 4px white;
	padding: 0 16px;
	margin: 0;
}

.post .info, .post .descr {
	font: normal .8em Optima, Tahoma, sans-serif;
	color: #664;
	font-size: 0.8em;
	margin-bottom: .5em;
	padding: 0;
	text-align: right;
}

a.more-link {
	display: block;
	margin-top: 1em;
}

/*** List of posts (with partial content) ***/

.posts .link h1, .posts .vignette h1 {
	font: 1em Baskerville, serif;
	margin: .75em 0 .25em 0;
}

/*** Archive (list with no partial content) ***/

.archive .archive-header h1 {
	text-align: center;
	margin: .5em 0;
	font: bold 1.4em Baskerville, serif;
}

.archive .archive-header {
	border-bottom: 4px solid white;
}

.archive .post h1 {
	font: 1em Baskerville, serif;
	margin: .75em 0 .25em 0;
}

/*** Single post display ***/

.single .vignette .entry {
	margin: 3em 0 2em 0;
	font: normal 1em Baskerville, serif;
}

/*** Picture gallery (small) ***/

.gallery.small table {
	border-left: 1px solid #EEE;
}

.gallery.small td {
	padding: 5px;
	margin: 0;
	height: 80px;
	width: 80px;
	border: dotted 1px #EEE;
}

.gallery.small td:hover {
	background-color: #F6F6F6;
}

.gallery.small td.empty {
	background-color: #FFF;
	border: solid 1px #EEE;
}

.gallery.small td.selected {
	background-color: #EEE;
}

.gallery.small .index {
	display: none;
}

.gallery.small .preview {
	text-align: center;
	width: 530px;
	background-color: white;
	padding: 1em 0;
	border: 1px solid #EEE;
	border-top: none;
}

.gallery.small .disabled {
	color: #AAA;
}

/*** Picture gallery (small) ***/

.gallery.excerpt table {
	margin-top: 1em;
	margin-bottom: 1em;
}

/*** Picture gallery (large) **/

body.gallery {
	background: none;
}

body.gallery .header {
	height: auto;
	width: 95%;
	margin: 10px auto 0 auto;
	padding: 10px 10px 0 10px;
	background: white;
}

body.gallery .header a {
	display: block;
	padding: 20px 10px;
	font: normal 2.8em Optima, Tahoma, sans-serif;
	background: #FAFAFA;
	text-decoration: none;
}

body.gallery .container {
	width: 95%;
	margin: 5px auto 10px auto;
	padding: 0px 10px 10px 10px;
}

body.gallery .main {
	border: none;
	background: none;
}

body.gallery .content.single {
	border: none;
	background: #FAFAFA;
	width: 100%;
}

body.gallery .gallery.large .thumbnails {
	margin: 10px;
}

body.gallery .gallery.large .thumbnail {
	float: left;
	padding: 5px;
	margin: 0;
	width: 70px;
	height: 70px;
	border: 1px solid #EEE;
	margin: 2px;
	text-align: center;
}

body.gallery .gallery.large .thumbnail.selected {
	background-color: #EEE;
}

body.gallery .gallery.large .thumbnail a {
	width: 70px;
	height: 70px;
	display: table-cell;
	vertical-align: middle;
}

body.gallery .gallery.large div.preview {
	padding: 20px 20px 20px 20px;
	border-bottom: 5px solid white;
	margin-bottom: 3em;
}

body.gallery .gallery.large div.preview img {
	width: 100%;
	max-width: 1500px;
}

body.gallery .gallery.large .left-right {
	border-top: 5px solid white;
	border-bottom: 5px solid white;
	padding: 1em;
	margin-bottom: 0;
}

body.gallery .footer {
	background: #FAFAFA;
	color: #444;
	border-top: 5px solid white;
	font: normal 1em Optima, Tahoma, sans-serif;
	padding: 1em;
	line-height: auto;
	height: auto;
}

body.gallery .footer a, body.gallery .footer a:hover {
	color: #444;
}

body.gallery a {
	text-decoration: none;
}

body.gallery a:hover {
	text-decoration: underline;
}

/** Comments **/

.comments {
	background: #F7F7F2;
	font: normal .8em Optima, Tahoma, sans-serif;
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 1em;
	width: 530px;
	color: #554;
}

.comments a {
	text-decoration: none;
}

.comments a:hover {
	text-decoration: underline;
}

.comments h2 {
	margin: 0;
	padding-top: 1em;
}

.comments h3 {
	color: #5A5A43;
	font: bold 1em Optima, Tahoma, sans-serif;
	padding: 1em 0 .5em 0;
	margin: 0;
}

ol.commentlist {
	padding-left: 0;
}

.commentlist li {
	margin: 0 0 .5em 0;
	padding: 0;
	border-bottom: 1px dotted #700000;
	list-style: none;
}

.commentlist .author {
	margin-top: 1em;
	font: bold 1em Optima, Tahoma, sans-serif;
}

#commentform {
	background: #F7F7F2;
	width: 537px;
}
.commentmetadata {
	padding: 2px 0 4px;
	float: right;
	text-align: right;
	width: 50%;
}

#commentform textarea, #commentform input.styled {
	width: 100%;
	font: normal 1em Optima, Tahoma, sans-serif;
}

#commentform p.submit input#submit {
	font: normal 1em Optima, Tahoma, sans-serif;
}

#commentform p.submit {
	text-align: right;
}

#commentform label {
	margin-bottom: .25em;
	white-space: nowrap;
	display: block;
}

/** footer **/

.footer {
	background: url('img/bgfooter.gif') repeat-x;
	color: #FFF;
	font: bold 1em Optima, Tahoma, sans-serif;
	padding: 0 16px;
	line-height: 39px;
	height: 39px;
}

.footer a, .footer a:hover {
	color: #FFF;
}

.footer .left {
	float: left;
}

.footer .right {
	float: right;
}

/** Syntax highlighting **/

.syntax_hilite {
	padding: 8px 10px !important; 
	border: 1px solid #EEE !important; 
	background-color: #FFF !important; 
	border-left: 6px solid #C1CAD3 !important;
	font: normal 1em Optima, Tahoma, sans-serif !important;
	overflow: auto;
	white-space: nowrap;
}

/* change this line to set the width of code box */
.syntax_hilite {
	width: 500px;
}

/* change this line to set the width of code box in a list */
li .syntax_hilite {
	width: 460px; 
}

.igBar, li .igBar {
	background-color: #C1CAD3 !important;
	border: none !important;
}

/* change this line to set the width of plain text bar above code box */
.igBar { 
	width: 526px !important;
	text-align: right;
	font-size: .8em;
}

/* change this line to set the width of plain text bar above code box in a list */
li .igBar {
	width: 471px;
}

.igBar a, .igBar a:hover {
	margin: 0px 5px 0px 10px;
	font-family: Optima, Tahoma, sans-serif !important;
	font-weight: normal !important;
	text-transform: lowercase;
	text-decoration: underline !important;
}
.syntax_hilite .langName { 
	display: none;
}

.de1, .de2 {
	font-weight: normal;
	background: none;
	color: #000; 
	padding-left: 5px;
}
.de1 strong {
	font-weight: normal;
}
.syntax_hilite li {
	font-size: .8em;
	list-style: none;
	background: none;
}

.kw1, .kw2, .kw3, .kw4 {color: rgb(118, 15, 80);}		/* keywords */
.co1, .co2, .coMULTI {color: rgb(35, 110, 37);}			/* comments */
.co2 {color: rgb(104, 56, 33);}							/* #-comments, preprocessor */
.es0 {color: #000033; font-weight: bold;}
.br0 {color: #000000;}									/* braces, parens */
.st0 {color: rgb(137, 19, 21);}							/* strings */
.nu0 {color: #0000ff;}									/* numbers */
.me0, .me1, .me2 {color: #006600;}


