/*
Theme Name: DavidSafar.com
Theme URI: http://templates.arcsin.se/
Version: 1.0
Description: A three-column layout with a touch of blue. Based on the <a href="http://templates.arcsin.se/">WordPress theme</a> Deep Blue.
Author: David Safar and Viktor Persson
Author URI: http://arcsin.se
*/

/* standard elements */
*
{
	margin: 0;
	padding: 0;
}

body
{
	background: url(img/body.gif) repeat-y center;
	font: normal 0.7em Tahoma,Verdana,sans-serif;
	text-align: justify;	
}

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

/* headings */
h1 {font: normal 2em sans-serif; margin-top: 1em;}
h2 {font: normal 1.8em sans-serif; margin-top: 0.8em;}
h3 {font: bold 1.3em sans-serif; margin-top: 0.6em;}
h4 {font: bold 1.1em sans-serif; margin-top: 0.4em;}

h1,h2,h3,h4 {color: #444;}

/* misc elements */
code {
	background: url('img/code.gif');
	border-left: 6px solid #1664D9;
	border: 1px solid #F0F0F0;
	color: #555;
	display: block;
	font: normal 1em "Lucida Sans Unicode",serif;
	margin-bottom: 12px;
	padding: 8px 10px;
	white-space: pre;
}
blockquote {
	background: #FAFAFA url('img/quote.gif') no-repeat;
	border-bottom: 1px solid #EEE;
	border-top: 1px solid #EEE;
	color: #555;
	display: block;
	font: normal 1.2em sans-serif;
	margin: 1em 0;
	padding: 0.6em 1em 0.2em 40px;
}
ol {margin: 0 0 1.2em 2em;}
dt { font-weight: bold; }
dd { margin-left: 3em; }

/* structure */
#main {
	width: 864px;
	margin: 6px auto 0 auto;
}
#main_left {
	float: left;
	width: 192px;
	text-align: center;
	color: #CCC;
}
#main_center 
{
	width: 480px;
	margin-left: 192px;
    text-align: center;
}
#main_right {
	float: right;
	width: 192px;
}

/* misc */
.left {float: left;}
.right {float: right;}
.top { height: 94px; }
span.comment {padding-left: 18px; background: url('img/icon_comment.gif') no-repeat left center;}
.clearer {clear: both; font-size: 0; height: 0;}

/* logo */
#header {
	height: 94px;
	color: #000068;
	margin: auto;
}

#navleft
{
	display: block;
	width: 480px;
	text-align: center;
	background: #004000;
}

#navinnerleft
{
	display: block;
	float: right;
	width: 360px;
	height: 100%;
	background: #000040;
}

#navinnerright
{
	display: block;
	float: right;
	width: 240px;
	height: 100%;
	background: #404000;
}

#navright
{
	display: block;
	float: right;
	width: 120px;
	height: 100%;
	background: #400000;
}

#navleft a
{
	clear: both;
	font: normal 1.5em "Lucida Sans Unicode",sans-serif;
	height: 30px;
	line-height: 30px;
	overflow: hidden;
	text-align: center;
}

/* sidebar label */
.label {
	background: #333 url('img/label.gif') no-repeat -10px;
	clear: both;
	color: #EEE;
	font: normal 1.5em "Lucida Sans Unicode",sans-serif;
	height: 30px;
	line-height: 30px;
	overflow: hidden;
	text-align: center;
}

.block .label a.twitter_title_link
{
	font: normal 1.0em "Lucida Sans Unicode",sans-serif;
	background: transparent;
	color: #EEE;
	padding: 0px;
	display: inline;
	height: 30px;
	line-height: 30px;
}

/* lists */
ul.block, .block ul {
	background: #2A2A2A;
	border-top: 1px solid #3A3A3A;
	margin: 0;
	padding: 0;
	text-align: left;
}
.block li {
	border-bottom: 1px solid #3A3A3A;
	list-style: none;
}
.block a, ul.twitter {
	background: url('img/block.jpg') repeat-x left top;
	color: #CCC;
	display: block;
	font: normal 1.2em Verdana,sans-serif;
	padding: 0.6em 2% 0.6em 5%;
	width: 92%;
}

.block a:hover {
	background: #222;
	color: #FFF;
}
.block a em {
	color: #999;
	display: block;
	font: normal 0.8em Verdana,sans-serif;
	margin-top: 0.3em;
}


/* content */ 
#content {
	color: #444;
	font-family: Verdana,sans-serif;
	line-height: 1.3em;
	padding: 0 1em 1em; 
    text-align: justify;
}
#content a {color: #0000A8;}
#content a:hover {
	text-decoration: underline;
	color: #4040FF;
}
#content p
{
   margin: 0.4em 0 1em 0;
}
#content .descr {
	color: #666;
	margin-bottom: 0.5em;
}
#content ul li {list-style: url('img/li.gif');}
#content ul {margin-left: 1.8em;}

/* footer */
#footer 
{
	margin: auto;
	width: 864px;
	color: #666;
	clear: both;
	text-align: center;
}
#footer .right {color: #555;}
#footer .right a {color: #555;}
#footer .right a:hover {
	color: #777;
	text-decoration: underline;
}
#footer .left a {color: #777;}
#footer .left a:hover {
	color: #333;
	text-decoration: underline;
}
#footer .left
{
	padding: 9px 0 9px 9px;
}

#footer .right
{
	margin-right: 1em;
	padding: 0.8em 0;
	text-align: right;
}

/* posting */
.post_info {
	background: #FAFAFA;
	border: 1px solid #EEE;
	color: #555;
	margin-bottom: 1em;
	padding: 0.6em 0.7em;
}

/* comments */
.commentlist {margin: 1em 0 0 0.5em; padding: 0;}
.commentlist li {margin-bottom: 1.2em; list-style: none;}
#commentform {
	margin: 1em 0;
	width: 360px;
}
.commentmetadata {padding: 0.2em 0 0.4em; color: #469;}
.commentmetadata a {
	color: #444;
	text-decoration: none;
}
.commentmetadata a:hover {text-decoration: underline;}

textarea.styled {width: 320px; overflow: auto;}

.styled {
	font-size: 1.1em;
	background: #F8F7F6;
	border: 1px solid #D6D3D3;
}
.styled:hover {
	background: #FFF;
	border: 1px solid #D6D3D3;
}
.styled:focus {
	background: #FFF;
	border: 1px solid #939793;
}
#commentform input {margin-bottom: 3px;}