/*  
Theme Name: Andreas 0.8
Theme URI: http://wordpress.org/
Description: Andreas 0.8 is a template of <a href="http://andreasviklund.com/templates/">Andreas Viklund</a>.
Version: ver 1.0
Author: Matteo Turchetto
Author URI: http://www.italiasw.com/

	Andreas 0.8 ver 1.0
	http://www.italiasw.com/

	This theme was built by Matteo Turchetto,
	whose blog you will find at http://www.italiasw.com/
	and designed by Andreas Viklund at www.andreasviklund.com
	
	Please, leave credits untouched.
	
	Have fun, !
	
*/


/* andreas08 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use in any way and for any purpose as long as the proper credits are given to the original designer. Version: 1.0, November 28, 2005 */

/**************** Body and tag styles ****************/

*{margin:0; padding:0;}

body{
font:76% Verdana,Tahoma,Arial,sans-serif;
line-height:1.4em;
text-align:center;

background-color: #202020;
background-image: url(images/bg.gif);

}

a{
color:#8C2724;
font-weight:bold;
text-decoration:none;
background-color:inherit;
}

blockquote{
border-left: 3px solid #8c2724;
margin-left: 10px;
padding-left: 3px;
}

a:hover{color:#6C2724; text-decoration:none; background-color:inherit;}
a img{border:none;}

p{padding:0 0 1.6em 0;}
p form{margin-top:0; margin-bottom:20px;}

img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;}
img.left{float:left; margin:0 12px 5px 0;}
img.center{display:block; margin:0 auto 5px auto;}
img.right{float:right; margin:0 0 5px 12px;}

/**************** Header and navigation styles ****************/

#container{
width:940px;
margin:20px auto;
padding:1px 0;
text-align:left;
background:#ffffff;
color:#303030;
border:2px solid #a0a0a0;
}

#header{
height:110px;
width:940px;
margin:0 1px 1px 1px;
background:#A70000; /*467aa7*/
color:#ffffff;
}

#header a{
height:110px;
width:758px;
margin:0 1px 1px 1px;
background:#A70000; /*467aa7*/
color:#ffffff;
}

#header h1{
padding:35px 0 0 20px;
font-size:2.4em;
background-color:inherit;
color:#ffffff;
letter-spacing:-2px;
font-weight:normal;
}

#header h2{
margin:10px 0 0 40px;
font-size:1.4em;
background-color:inherit;
color:#f0f2f4;
letter-spacing:-1px;
font-weight:normal;
}

#navigation{
height:2.2em;
line-height:2.2em;
width:940px;
margin:0 1px;
background:#8E0000; /*578bb8*/
color:#ffffff;
}

#navigation li{
float:left;
list-style-type:none;
border-right:1px solid #ffffff;
white-space:nowrap;
}

#navigation li a{
display:block;
padding:0 10px;
font-size:0.8em;
font-weight:normal;
text-transform:uppercase;
text-decoration:none;
background-color:inherit;
color: #ffffff;
}

* html #navigation a {width:1%;}

#navigation .selected,#navigation a:hover{
background:#E48E8C; /*80b0da*/
color:#ffffff;
text-decoration:none;
}

/**************** Content styles ****************/

#content{
float:left;
width:700px;
font-size:0.9em;
padding:20px 0 0 20px;
}

#content h2{
display:block;
margin:16px 0 12px 0;
font-size:1.7em;
font-weight:normal;
letter-spacing:-1px;
color:#505050;
background-color:inherit;
}

#content h2 a{font-weight:normal;}
#content h3{margin:12px 0 8px 0; font-size:1.4em; letter-spacing:-1px;}
#content a:hover,#subcontent a:hover{text-decoration:underline;}
#content ul,#content ol{margin:0 5px 16px 35px;}
#content dl{margin:0 5px 10px 25px;}
#content dt{font-weight:bold; margin-bottom:5px;}
#content dd{margin:0 0 10px 15px;}

/**************** Sidebar styles ****************/

#subcontent{
float:right;
width:170px;
padding:20px 20px 10px 0;
line-height:1.4em;
}

#subcontent h2{
display:block;
margin:0 0 15px 0;
font-size:1.6em;
font-weight:normal;
text-align:left;
letter-spacing:-1px;
color:#505050;
background-color:inherit;
}

#subcontent p{margin:0 0 16px 0; font-size:0.9em;}

/**************** Menublock styles ****************/

.menublock{margin:0 0 5px 8px; font-size:0.9em;}
.menublock, .tile ul{margin:0 0 20px 8px; font-size:0.9em;}
.menublock li{list-style:none; display:block; padding:2px; margin-bottom:2px;}
.menublock li a{font-weight:bold; text-decoration:none;}
.menublock li a:hover{text-decoration:none;}
.menublock li ul{margin:3px 0 3px 15px; font-size:1em; font-weight:normal;}
.menublock li ul li{margin-bottom:0;}
.menublock li ul a{font-weight:normal;}

/**************** Searchbar styles ****************/

#searchbar{margin:0 0 20px 0;}
#searchbar form fieldset{margin-left:10px; border:0 solid;}

#searchbar #s{
height:1.2em;
width:110px;
margin:0 5px 0 0;
border:1px solid #a0a0a0;
}

#searchbar #searchbutton{
width:auto;
padding:0 1px;
border:1px solid #808080;
font-size:0.9em;
text-align:center;
}

/**************** Footer styles ****************/

#footer{
clear:both;
width:940px;
padding:5px 0;
margin:0 1px;
font-size:0.9em;
color:#f0f0f0;
background:#A70000; /*#467aa7;*/
}

#footer p{padding:0; margin:0; text-align:center;}
#footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;}
#footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;}

/**************** Misc classes and styles ****************/

.splitcontentleft{float:left; width:48%;}
.splitcontentright{float:right; width:48%;}
.clear{clear:both;}
.small{font-size:0.8em;}
.hide{display:none;}
.textcenter{text-align:center;}
.textright{text-align:right;}
.important{color:#f02025; background-color:inherit; font-weight:bold;}

.box{
margin:0 0 20px 0;
padding:10px;
border:1px solid #c0c0c0;
background-color:#fafbfc;
color:#505050;
line-height:1.5em;
clear:both;
}

/**************** Related Posts ****************/

	.related_posts {
		background: #f5f5f5;
		color: #414141;
		padding: 8px;	
		margin: 0 0 3px 0;
	}
	
/**************** Entry ****************/
	
.entry { margin:0 0 20px 0; padding:4px 2px 2px; color:#666; font-size:10px; text-align:left; background:url(images/entry.png) no-repeat top left; }
p img { margin:0; padding:2px; border:none; max-width:100%; }

/* --------------------------------------------------
Comments
-------------------------------------------------- */

#respond, #comments {
font-size: 12px;
color: #777;
font-weight: bold;
margin: 1.25em 0;
}

.comments_link img{border:0;}

.commentsblock { padding-left: 10px; }

.commentbody {  }

.commentfooter { margin-top: 1em; margin-bottom: 2em; }

.commentbody { margin: 5px }

.commentbody h4 { font-size: 11px; margin-bottom: 10px; }

.commentbody p { margin-left: 10px; }


/****************SEARCH FORM****************/

#searchform, #searchform p
{
	font-size: 1em;
	margin: 0;
}

/*#searchform input
{
	width: 122px;
	margin: .3em 0 1em 0;
}
*/
textarea
{
	font-size: 1.3em;
	background: #fff;
	color: #333;
	padding: 1px 2px;
	border: 1px solid #d9d9d9;
        background: url(images/texy.png) no-repeat bottom right;
}

#author, #email, #url, #searchform input
{
	font-size: 1em;
	background: #fff;
	color: #333;
	padding: 1px 2px;
	border: 1px solid #d9d9d9;
}
textarea:focus, #author:focus, #email:focus, #url:focus, #searchform input:focus { border-color: #DF4635; }

code
{
   font-size: 1.3em;
   background-color: #EEEEEE;
   display: block;
   padding: 10px 5px;
}

	/* (c) 2002 Martin Cohen - www.martincohen.info */
	
	/* P H P */
	.php-keyword1 {color:#d24; font-weight:bold;}
	.php-keyword2 {color:#d24; }
	.php-var {color:#fa0; font-weight:bold;}
	.php-num {color:red;}
	.php-quote {color:#843; font-weight:bold;}
	.php-vquote {color:#fa0;}
	.php-comment {color:#999; background-color:#ffe;}

	/* H T M L */
	.html-tag {color:#598527; font-weight:bold;}
	.html-tagin {color:#89A315}
	.html-quote {color:#598527; font-weight:bold;}
	.html-comment {color:#999; background-color:#F1FAE4;}
	.html-entity {color:#89A315}

	/* C S S */
	.css-class {color:#004A80; }
	.css-id {color:#7DA7D9; font-weight:bold; }
	.css-def {color:#5674B9;}
	.css-property {color:#003663; font-weight:bold; }
	.css-value {color:#448CCB;}
	.css-color {color:#0076A3;}
	.css-comment { background-color:#E5F8FF; color:#999; }
	
	/* C P P */
	.cpp-keywords1 {color:blue; font-weight:bold;}
	.cpp-num {color:red;}
	.cpp-quote {color:brown; font-weight:bold;}
	.cpp-comment {color:green;}
	.cpp-preproc {color:grey;}

	/* J A V A */
	.java-keywords1 {color:blue; font-weight:bold;}
	.java-num {color:red;}
	.java-quote {color:brown; font-weight:bold;}
	.java-comment {color:green;}
	.java-preproc {color:grey;}

	/* J a v a S c r i p t */
	.js-out {color:#575757; }
	.js-keywords1 {color:#003663; font-weight:bold;}
	.js-num {color:#333333;font-weight:bold; }
	.js-quote {color:#575757; font-weight:bold;}
	.js-comment { background-color:#E5F8FF; color:#999; }

	/* S Q L */
	.sql-keyword1 {color: #DD0000; font-weight: bold;}
	.sql-keyword2 {color: #DD2222;}
	.sql-keyword3 {color: #0000FF; font-weight: bold;}
	.sql-value {color: #5674B9;}
	.sql-comment {color: #FFAA00;}
	.sql-num {color:red;}
	.sql-option {color: #004A80; font-weight: bold;}

	/* T E X Y */
	.texy-hlead {color:#44B; font-weight:bold;}			/* header leadIN == and leadOUT == */
	.texy-hbody {background-color:#eeF;color:#44B; }	/* header body */
	.texy-hr {color:#B44; }								/* horizontal line */
	
	.texy-code {color:#666;}							/* /---code */
	.texy-html {color:#6a6;}							/* /---html */
	.texy-text {color:#66a;}							/* /---html */
	
	.texy-err {background-color:red; color:white;}		/* error (TODO) */
	


	/* C O M M O N */
	.normal {color:black;}
	.xlang {color:red; font-weight:bold;}
	.count {color:black; background-color:#FFF;}

.code {
overflow-x: scroll;
font-family: monospace;
margin-bottom: 10px;
background: #EEE;
padding: 5px;
}

/* By Tomas */
.imagelink{
  margin: .5em .5em .1em;
  border:none;
}