﻿/* SUBMERSION - Template for the .net blog engine by Andrej Telle */

/* RESET */

	body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}
	table{border-collapse:collapse;border-spacing:0;}
	fieldset,img{border:0;}
	address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
	ol,ul {list-style:none;}
	caption,th {text-align:left;}
	p,h1,h2,h3,h4,h5,h6{font-size:100%;}
	q:before,q:after{content:'';}

/* END RESET */

/* GENERAL STUFF */

	body {background:url(img/background-bluer.gif) repeat-x 0 0 #21485A; border-top: 5px solid #1a3846; font-size:63%;}

	.center {margin-left:50%; position:relative; right:477px; width:955px;}

	.floatr {float:right;}

	.floatl {float:left;}
	
	#container {width: 955px; margin: 32px auto;	font-family: Lucida Grande, Tahoma, Arial, Helvetica, sans-serif; font-size:1.5em;line-height: 1.6em;}

	h1 {font-size:3.5em;}

	h2 {font-size:1.6em;}

	h3 {font-size: 1.4em;}

	h4, h5, h6 {font-size:1.2em;}

	h1, h2, h3, h4, h5, h6 {color:#AED167; font-weight:normal; font-family: verdana, tahoma, Arial, Helvetica, sans-serif; padding-bottom:5px;}

	p {margin-bottom:15px;}

	#content img { border:2px solid #1a3846 !important;}
	
	#content embed, #content .embed {border:2px solid #1a3846; width:475px; display:block;}
	#content .embed object {display:block;}

	a {	color: #AED167;	text-decoration: none;}

	a:hover {color: #ecdb60; text-decoration:underline;}

	#searchbox {margin-top:50px;}

	input {	background-color: #AED167; color: #333; border: 1px solid #777;	font-size: 11px; padding: 3px;}

	.button { padding: 2x;}

	#searchbutton {	margin-left: 5px; padding: 2px 2px 1px 2px;}
	
	#video { margin:10px auto; width:480px;}
	
	img.autor {border:2px solid #1a3846; margin:5px 0 5px 0; }
	
/* END GENERAL STUFF */

/* HEADER */

	#header {border-bottom:solid 5px #1a3846; height:110px; margin:15px 0;}

		#header img {border:none;}

		.logo {float:left;}

		.name {float:left; padding-left:20px; width:656px;}

		#header h1 {font-size:4em; font-family:verdana; font-weight:normal; padding-right:10px; }

		#header h2 {color:#eee; font-size:2.5em; font-weight:normal;padding-right:10px;}

		#header p {	margin-top: -20px;	margin-left: 30px; color: #999999;}

		#header a.backlink {font-size:1.5em; font-family:Tahoma; padding-bottom:15px;}
	
/* END HEADER */

/* NAVIGATION */

	#navigation {position:fixed; width:160px; float: left;}

		#navigation ul#navlist { margin-left: 0; margin-bottom:30px; padding-left: 0; list-style-type: none;}

		#navigation #navlist a { background: url(img/button-nav.gif) no-repeat top left; display:block; padding: 15px 12px 15px 15px; margin-bottom:12px; color:#fff; font-size:1.1em;}

		#navigation #navlist a:hover  {background: url(img/button-nav-on.gif) no-repeat top left; color:#333;}
		
		#navigation p {	margin-top: 40px; padding: 5px;	border-bottom: 1px dotted #CCC;	border-top: 1px dotted #CCC;}
		
		#navigation a.rss-link {padding-right:10px;}
		
		#navigation a.rss-link span {background:url(img/feed-icon.gif) no-repeat 100% 50%; padding-right:28px;}
		
/* END NAVIGATION */

/* CONTENT */

	#content {color:#eee; width: 510px;	margin-left: 180px;	margin-right: 200px; line-height: 1.6em;}

		#content h1 {font-size:2em; background:url(img/content-header.gif) no-repeat top left; padding:8px 15px 10px 15px; border-bottom:2px solid #1a3846; line-height:1.2em;}
		
		#content h2, #content h3, #content h4, #content h5 {color:#AED167; padding:5px 0 15px 0; line-height:1.2}
		
		#content ul {margin-bottom:15px;}
		
		#content ul li {background:url(img/list-element.gif) no-repeat 0 10px; padding-left:15px;}

		#content .entry, #content .rating, #content .postfooter {background: url(img/post-background.gif) repeat-y top left; padding:10px 15px 15px 15px;}

		#content .entry, #content .rating {border-bottom:dotted 2px #1a3846;}

		#content .author {float: left;}

		#content .pubDate {	float: right;}

		#content .postfooter {	padding-top: 8px;	border-bottom: 2px solid #1a3846;	margin-bottom:32px;}

		#page div {background: url(img/post-background.gif) repeat-y top left; padding:15px;}
		
/* END CONTENT */

/* SIDEBAR */

	#sidebar {float: right;	width: 225px;margin-bottom:32px;}

		#sidebar h2 {color:#eee; font-size:1.5em;}

		#sidebar p {padding-bottom: 10px;	border-bottom: 1px solid #DDDDDD;}

		#sidebar ul {	margin-left: 0;	margin-bottom:25px;	padding-left: 0;	list-style-type: none;	text-transform: capitalize;}

		#sidebar a img {border: none;margin-right: 3px;}
		
		#sidebar .recentPosts span {display:none;}
		#sidebar .recentPosts li, #sidebar .recentComments li, #sidebar .popular-posts li {border-bottom:dotted 2px #1a3846; padding:6px 0 8px 0;}
		#sidebar .recentPosts li:last-child , #sidebar .recentComments li:last-child, #sidebar .popular-posts li:last-child {border:none;}
		
		#sidebar .recentComments {color:#eee;}
		#sidebar .recentComments p {border:none; padding-bottom:0; margin-bottom:0;}
		#sidebar .recentComments p span {color:#eee; font-style:italic;}

		#blogroll ul {	margin-left: 0;	padding-left: 0;	list-style-type: none;}

		#blogroll a img {border: none;	margin-right: 3px;}
		
		/* Beware the ugly tag */
		#ctl00_ctl02_ulBlogroll ul {
			margin-left: 8px;
			padding-left: 8px;
			list-style-type: none;
		}

/* END SIDEBAR */

/* FOOTER */

#footer {font-size:1.6em; font-family:tahoma;
	color:#AED167;
	margin-top: 20px;
	clear: both;
	background-color: #1a3846;
	padding: 10px 5px 10px 5px;
	text-align: center;
}

#footer p {
	color: #89817f;
	padding: 5px;
}

#footer p a {
	color: #89817f;
	border-bottom: 1px dotted #89817f;
}

#footer p a:hover {
	color: #ecdb60;
	background-color: #575352;
}

#footer .login {margin-left:25px;}

/* END FOOTER */

/* RELATED POSTS */

#relatedPosts {background: url(img/post-background.gif) repeat-y top left; padding:5px 15px 15px 15px; border-bottom: 2px solid #1a3846; margin-bottom:32px;}

#relatedPosts a 
{
	
	display: block;
	margin-top: 5px;
	margin-left: 10px;
}

.related-bottom {display:none;} /* lets the sentence below "related articles" dissapear" ; see app_code/controls/relatedposts.cs line 87*/

/* END RELATED POSTS */

/* COMMENTS */

h1#addcomment {padding:8px 15px 10px 15px; border-bottom:2px dotted #1a3846;}

.comment-wrapper {background: url(img/post-background.gif) repeat-y top left; padding:5px 15px 15px 15px; border-bottom: 2px solid #1a3846; margin-bottom:32px;}

.comment-wrapper table td span {padding: 0 0 0 5px; color:#ECDB60;}

.comment {margin-bottom: 10px; }

.comment .content {background:#2b6377; padding:10px; border:2px solid #1a3846; margin:0;}

	.comment .content img {border:none;}

.comment .date {padding:5px; margin:0; text-align: right;}

.comment .author {margin:0; padding:5px 5px 5px 12px;}

.self .content{padding:10px; border:2px solid #1a3846; margin:0;background-color: #AED167; color:#333;}

.comment .gravatar {
	float: right;
	margin: 5px 5px 5px 5px;
}

.comment .gravatar img {
	height: 80px;
	width: 80px;
}

.commentForm label {
	float: left;
	display: block;
	width: 80px;
}

.commentForm input {
	width: 345px;
}

.comment-wrapper textarea {background:#AED167; border:2px solid #1a3846; height: 150px;}

.comment-wrapper table {margin-bottom:10px;}

.comment-wrapper td {padding:5px 10px 5px 0;}

#livepreview {background-image:none;}

/* END COMMENTS */

/* ARCHIVE */

#archive {}

.archive-wrapper {background: url(img/post-background.gif) repeat-y top left; padding:15px; border-bottom: 2px solid #1a3846;}

#content .archive-wrapper .comments, #content .archive-wrapper .rating {width:60px; background-image:none; border-bottom: 1px solid silver;}

#archive h1 {
	margin: 0;
	padding-bottom: 9px;
}

#archive h2 {font-size:1.2em;
	border-bottom: 1px solid silver;
}

#archive h2 img {
	margin-right: 3px;
}

#archive ul {
	list-style-type: none;
	padding: 10px;
}

#archive ul li {
	margin-right: 20px;
}

#archive table{
	width: 100%;	
	border-collapse: collapse;
}

#archive table td, #archive table th{padding-right:10px; font-size:0.9em;
	text-align:left;
}

#archive table td{
	text-align:left;
	border-bottom: 1px solid #D8D8D8;
	padding: 2px 0;
}

#archive .date{
	width: 80px;
}

#archive .comments{
	width:60px;
	text-align: center;
}

#archive .rating{
	text-align: center;
}

/* END ARCHIVE */

/* TAG CLOUD */

#tagcloud {
	margin-bottom: 10px;
	white-space: normal;
}

#tagcloud li {
	display: inline;
}

#tagcloud a {
	margin-right: 3px;
	display: inline;
}

#tagcloud a.biggest {
	font-size: 17px;
}

#tagcloud a.big {
	font-size: 15px;
}

#tagcloud a.medium {
	font-size: 13px;
}

#tagcloud a.small {
	font-size: 11px;
}

#tagcloud a.smallest {
	font-size: 10px;
}

/* END TAG CLOUD */

/* STAR RATING */

.rating p {
	display: inline;
	position: relative;
	top: 14px;
	left: 55px;
}

.star-rating {
	position: relative;
	width: 125px;
	height: 25px;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	background-position: left top;
}

.star-rating li {
	display: inline;
}

.star-rating a, .star-rating .current-rating {
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -1000em;
	height: 25px;
	line-height: 25px;
	outline: none;
	overflow: hidden;
	border: none;
}

.star-rating a:hover, .star-rating a:active, .star-rating a:focus {
	background-position: left bottom;
}

.star-rating a.one-star {
	width: 20%;
	z-index: 6;
}

.star-rating a.two-stars {
	width: 40%;
	z-index: 5;
}

.star-rating a.three-stars {
	width: 60%;
	z-index: 4;
}
.star-rating a.four-stars {
	width: 80%;
	z-index: 3;
}
.star-rating a.five-stars {
	width: 100%;
	z-index: 2;
}
.star-rating .current-rating {
	z-index: 1;
	background-position: left center;
}

/* smaller star */
.small-star {
	width: 50px;
	height: 10px;
}
.small-star, .small-star a:hover, .small-star a:active, .small-star a:focus, .small-star .current-rating {
	background-image: url(../../pics/star_small.gif);
	line-height: 10px;
	height: 10px;
}

/* END STAR RATING */

/* CONTACT PAGE */

.contact-wrapper {background: url(img/post-background.gif) repeat-y top left; padding:15px; border-bottom: 2px solid #1a3846;}

#contact h1 {
	margin-top: 0;
}

#contact label {
	display: block;
	padding-top: 5px;
}

#contact input.field {
	width: 200px;
}

#contact textarea 
{
	background:#AED167;
	display: block;
	overflow: auto;
	width: 75%;
	height: 150px;
	margin: 0;
}


/* code styles for CodeFormatter Extension*/
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: Consolas, "Courier New", Courier, Monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}

.csharpcode pre { margin: 0em; }

.csharpcode .rem { color: #008000; }

.csharpcode .kwrd { color: #0000ff; }

.csharpcode .str { color: #006080; }

.csharpcode .op { color: #0000c0; }

.csharpcode .preproc { color: #cc6633; }

.csharpcode .asp { background-color: #ffff00; }

.csharpcode .html { color: #800000; }

.csharpcode .attr { color: #ff0000; }

.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}

.csharpcode .lnum { color: #606060; }

/* END CONTACT PAGE */

/* SEARCH PAGE */

#searchpage {background: url(img/post-background.gif) repeat-y top left; padding:15px; border-bottom: 2px solid #1a3846;}

.searchresult{
	margin:20px 0;
}

.searchresult a{
	font-weight: bold;
}

.searchresult span.text{
	clear: both;
	display: block;
	margin: 3px 0;
}

.searchresult span.type{
	display: block;
}

.searchresult span.url{
	color: Gray;
}

.searchpage ul.paging{
 list-style-type: none;
 margin:0px;
 margin-bottom: 20px;
 padding:0px;
}

.searchpage ul.paging li{
 display: inline;
 border: 1px solid gray; 
 background: #f1f1f1;
 margin-right: 5px;
}

.searchpage ul.paging li a{
 padding: 5px 8px;
}

.searchpage ul.paging li.active{
 background: #f1f1f1;
 border: 1px solid black;
}

/* END SEARCH PAGE */

/* SYNTAX HIGHLIGHTER */

.code
{
	font-size: 12px;
	color: black;
	font-family: Consolas, "Courier New", Courier, Monospace;
	background-color: #F1F1F1;
  line-height: normal;
}

.code p{
	padding: 5px;
}

.code .rem { color: #008000; }

.code .kwrd { color: #0000ff; }

.code .str { color: #006080; }

.code .op { color: #0000c0; }

.code .preproc { color: #0000ff; }

.code .asp { background-color: #ffff00; }

.code .html { color: #800000; }

.code .attr { color: #ff0000; }

.code .alt {	background-color: #f4f4f4; }

.code .lnum { color: #606060;}

/* END SYNTAX HIGHLIGHTER */

/* XFN TAGS */

div.post .entry a[rel] {
	padding-right:11px;
	background-repeat: no-repeat;
	background-position: right center;
}
div.post .entry a[rel="me"] {	
	background-image:url('../../pics/xfn/me.gif');
}

/*-------- [ These should cascade to pick the correct icon for the contact ]--*/

/*-------- [ Normal contacts ]--*/
div.post .entry a[rel~="contact"] ,
div.post .entry a[rel~="acquaintance"],
div.post .entry a[rel~="friend"] {
	background-image:url('../../pics/xfn/contact.gif');
}
/*-------- [ Normal contacts youve met ]--*/
div.post .entry a[rel~="contact"][rel~="met"] ,
div.post .entry a[rel~="acquaintance"][rel~="met"] ,
div.post .entry a[rel~="friend"][rel~="met"] {
	background-image:url('../../pics/xfn/contactMet.gif');
}

/*-------- [ Colleague and co worker icon more important than contact ]--*/
div.post .entry a[rel~="colleague"] ,
div.post .entry a[rel~="co-worker"] {
	background-image:url('../../pics/xfn/colleague.gif');
}
/*-------- [ Colleague and co worker icon when met ]--*/
div.post .entry a[rel~="colleague"][rel~="met"] ,
div.post .entry a[rel~="co-worker"][rel~="met"] {
	background-image:url('../../pics/xfn/colleagueMet.gif');
}

/*-------- [ Sweethearts are more important than work!!! ]--*/
div.post .entry a[rel~="muse"] ,
div.post .entry a[rel~="crush"] ,  
div.post .entry a[rel~="date"] ,
a[rel~="sweetheart"] {
	background-image:url('../../pics/xfn/sweet.gif');
}
/*-------- [ ...and if youve met them thats even better ]--*/
div.post .entry a[rel~="muse"][rel~="met"] ,
div.post .entry a[rel~="crush"][rel~="met"] ,  
div.post .entry a[rel~="date"][rel~="met"] ,
div.post .entry a[rel~="sweetheart"][rel~="met"] {
	background-image:url('../../pics/xfn/sweetMet.gif');
}

/* END XFN TAGS */


/* LOGINBOX */

.loginbox td {padding:10px;}

/* END LOGINBOX */
