/*  
Theme Name: Web-Engineer
Theme URI: http://web-engiener.co.uk/codex/
Description: 
Version: 0.01
Author: Web-Enigneer
Author URI: http://www.web-engineer.co.uk/
*/

/*************************************
 +Containers
 *************************************/
div.code{
	border:#dddddd 1px solid;
	background-color:#f6f6f6;
	margin-top:10px;
	margin-bottom:10px;
	padding:15px;
	padding-top:0px;
	overflow: scroll;
	width:500px;
	/*min-width: 470px;*/
	width: expression(document.body.clientWidth < 1200 ? "450px" : ((document.body.clientWidth/2)-290)+"px"  );

}
div.code ol{
	list-style:decimal-leading-zero;
}
div.codetitle{
	font-size:xx-large;
	color:#969696;
}
#wp-calendar{
/*	margin-left:35px;
	margin-right:35px;*/
}
#wp-calendar a{
	color: #ff9933;
	font-weight:bold;
}
#wp-calendar th{
	color:#666666;
	font-weight:normal;
}
#calendar{
	font-variant:small-caps; 
	margin:20px;
	margin-right:0; 
	color:#555; 
	font-size:small; 
	float:left;
}
#topbanner{
	width: 100%;
	height:250px;
	/*height: 100%;
	height: expression(document.body.clientHeight);*/
	width: expression(document.body.clientWidth);
}

body{
	margin:0 auto;
	padding:0;
	background-color:#eaebec;
	background-image:url(images/body-gradient.png);
	background-repeat:repeat-x;
	color:#333;
	font-family: "Trebuchet MS", "Times New Roman", Times, serif;
}
table.wrap{
	margin:0 auto;
	padding:0;

}
p{
	font-size:small;
}
pre{
	font-size:small;
}
#content{
	width:100%;
	margin:0px auto;
	z-index:4;
}
#sidebar{
	font-size:small;
	width:200px;
	background-image:url(images/gradient3.png);
	background-repeat:repeat-y;
	color:#333333;
}

#header{
	padding:3em 5px;
}

/*************************************
 +Hn and p
 *************************************/
h1, h2, h3{
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
	margin:0 auto;
}
input.search{
	margin:0;
	width:177px;	
	/*background:none;*/
	background-color:#444454;
	height:20px;
	border: 0;
	border-left:20px #f90 solid;
	padding-left:3px;
	/*IE fix*/
	margin-top:-1px;
	/*border-bottom:1px #cc0000 dotted;*/
	color:#fff;
	font-variant:small-caps;
	font-size:small;
}
form{
	margin:0;
}
#header h1{
	font-family: "Trebuchet MS", "Times New Roman", Times, serif;
	font-size:3em;
	margin:0;
	margin-right:5px;
}
/*#header h1 a{
	color:#eeeeff;
}
#header h1 a:hover{
	color:#FFCC00;
}*/
#header p{
	color:#444444;
	font-size:small;
	margin:0;
	margin-top:0px;
}
.entrytitle h2{
	font-size:larger;
}
.entrytitle h2 a
{
	color:#334455;
}
.entrytitle h2 a:hover{
	color:#58BBEB;
}
.entrytitle h3{
	font-size:medium;
	color:#CCCCCC;
}
#sidebar h2{
	color:#222222;
	font-size:larger;
	margin:4px; 0;
}
/*************************************
 +Entry
 *************************************/
.entry{
	/*margin-bottom:3em;
	width:500px;*/
	/*width:expression(document.body.clientWidth < 900 ? (document.body.clientWidth-270)+"px" : (((document.body.clientWidth-270)/2)-15)+"px");*/
	/*width: expression(document.body.clientWidth < 1400 ? "500px" : ((document.body.clientWidth/2)-270)+"px"  );*/
	margin:10px;
	padding:0px;
	font-size:small;
	/*float:left;*/
	border-bottom:1px #aaa dotted;
}
.entrybody{
	margin-bottom:10px;
	margin-top:10px;
	padding-top:5px;
	padding-bottom:5px;
}
.entrymeta{
	font-size:0.9em;
}
.postedby{
	background:#000 url(./images/user.gif) no-repeat;
	padding:3px;
	padding-left:20px;
}
.filedto{
	background:#000 url(./images/post.gif) no-repeat;
	padding:3px;
	padding-left:20px;
}
.commentslink{
	background:#000 url(./images/packaged.gif) no-repeat;
	padding:3px;
	padding-left:20px;
}

/*************************************
 +Sidebar
 *************************************/
#sidebar ul{
	list-style-type:none;
	border-bottom:1px #eeeeee dotted;
	margin-bottom:1em;
	padding:0;
}
ul.children li{
	margin-top:1px;
	border-left:1px #fff dotted;
	margin-left:0px;
	padding-left:5px;
}
/*************************************
 +Comments
 *************************************/
.commentsblock{
	/*margin:0.5em;
		background-color:#292632;
	background-image:url(images/metal1.gif);
	background-repeat:repeat-x;
	background-position:0 0;
	display:none;

	*/
	background-color:#FFFFFF;
	background-image:url(images/white-gradient.gif);
	background-repeat:repeat-x;
	color:#666666;
	padding:5px;
	margin:0px;
	min-height:350px;
}
.commentsblock textarea{
	width:370px;
}
.commentsblock input, .commentsblock textarea{
	background:none;
	border:1px #999 dotted;
	color:#666;
}
#submit{
	color:#99aadd;
}
.commentsblock textarea:focus{
	border:1px #115599 solid;
	color:#ffffff;
}
.commentsblock textarea:focus, .commentsblock input:focus{
	/*background:#999;*/
}
.commentauthor{
	display:block;
	font-size:1.5em;
}
ol.commentlist{
	color:#CCCCCC;
	font-size:0.9em;
	list-style-type:none;
	margin:0;
	margin-top:1.5em;
	padding:0;
}
.commentlist li{
	margin-bottom:0.5em;
	padding:0.5em 5px;
}
.alt{
	/*background:#000000;*/
	border:1px #112233 solid;
	padding:0.5em;
}
h3#comments{
	font-size:500px;
	color:#3366ff;
	position:absolute;
	top:300px;
	right:300px;
	font-family:Times, serif;
	filter:alpha(opacity=5);
	-moz-opacity:0.05;
	opacity: 0.05;
}

/*************************************
 +Misc
 *************************************/
a{
	color:#126;
	text-decoration:none;
}
a:hover{
	color:#237;
	text-decoration:underline;
}