/*
Theme Name: Librio
Version: 1.0
Author: Deniart
Author URI: http://deniart.ru/
*/

/* Reset
-------------------------------------------------------------------*/
* { padding: 0; margin: 0; }
ul, ol { list-style: none; list-style-position: inside; }
ol ol, ul ul, ol ul, ul ol { margin-left: 20px; margin-bottom: 0; }
img { border: none; }


/* Body
-------------------------------------------------------------------*/
body { 
	font: 12px/18px "Lucida Grande", Verdana, Helvetica, Arial, Geneva, sans-serif; 
	color: #000; 
	background: #fafafa url(images/bg.gif);}

h1, h2, h3, h4, h5, h6 {
	font-family: "Trebuchet MS", Helvetica, Arial, Geneva, Sans-Serif; 
	font-weight: normal; 
	color: #333; }

h1 { font-size: 22px; line-height: 26px; margin-bottom: 0px;}
h2 { font-size: 20px; line-height: 24px; margin-bottom: 1px; }
h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }
h4 { font-size: 16px; line-height: 20px; margin-bottom: 5px; }
h5 { font-size: 14px; line-height: 18px; margin-bottom: 5px; }
h6 { font-size: 12px; line-height: 16px; margin-bottom: 5px; }

h1 span { color: #fff; }

a { color: #5371c5; text-decoration: none; }	/* Deep steel blue */
a:hover { color: #5371c5; text-decoration: underline; }
a:visited { color: #5371c5; }

p { margin-bottom: 10px; }


/* Container
-------------------------------------------------------------------*/
#container { 									/*Container contains header wrapper and footer */
	width: 900px; 
	padding-bottom: 10px; 
	margin: 25px auto 20px auto;
	overflow: hidden;
}

#container #wrapper { 							/*Wrapper contains contents and sidebar */
	width: 900px; 
	float: left; 
	overflow: hidden; 
	background: #d6ded4 url(images/sidebar-bg.gif) repeat-y top right;
}


/* Header
-------------------------------------------------------------------*/
#header { 
	width: 900px; 
	height: 53px; 
	float: left; 
	background: #fafafa url(images/header-bg.gif) no-repeat center; 
	position: relative
}
#header h1 a { 
	font-family: 'Courier New', Courier, Freemono, 'Nimbus Mono L', monospace;
	font-size: 34px; font-weight:900;
	line-height: 53px;
	color:#555;
	text-decoration: none;
	position:relative;
	top: 0px; left: 20px;
}

#header h1 span { 
	padding-left: 40px; 
	color:#555;
	font-size: 16px; 
}

/* Navigation
-------------------------------------------------------------------*/
#nav { 												/* Creates the nav bar using the graphic tile nav-bg.gif */
	width: 900px;
	float: left; 
	height: 32px; 
	background: #fafafa url(images/nav-bg.gif) repeat-x; 
	position: relative; 
}
#nav ul {
	margin-left: 15px;} 							/* Defines the unordered list for nav bar */

#nav ul li {										/* Turns the list horizontal */	
	display: inline; 
	margin-right: 20px;}							

#nav ul li a { 										/* Sets font attributes of nav bar links */
	font-weight: bold; 
	text-shadow: 1px 1px 1px #fff; 
	text-decoration: none; 
	color: #555; 
	line-height: 33px;}

body#home a#homelink, 								/* Greys out the current nav bar choice for each page */
body#services a#serviceslink { color:#888}

#nav ul li a:hover {color:#000;}					/* Darkens upon hover */


/* Content
-------------------------------------------------------------------*/
#content { 
	width: 670px; 
	float: left; 
	background: #fff; 
	padding: 10px 15px 15px 15px;
	margin: 1em 0em 0em 0em;
}

#content .post { 
	margin: 2em 2em 3em 5em; 
}

#content .post h1.post-title { 
	color: #333;
	border-bottom: thin dotted #5371c5;
 	padding: 0 0 0em 1.15em;
  	margin: 0em 0em 0em -1.35em;
 	background: url(images/post.gif) no-repeat 0 6px;
}

#content .post h3.post-title { 
	color: #444;
	border-bottom: thin dotted #C0C0C0;
 	padding-left: 0 em;
  	margin: 0 0 0 -1.5 em;
 	background: #ffffff;
 	}

#content h3.post-title span {
	float:right;
	font-size: .8 em;
	color: #777;
	}

#content em {}

.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 5px 15px 10px 0; }
.alignright { float: right; margin: 5px 0 10px 15px; }

.note{
	padding: .5em;
	margin: 1em 4em;
	background-color: #eee;
	border: 1px dashed #888;
}

/*ListBase
-------------------------------------------------------------------*/
.listbase {											/* Defines any UL with an class="listbase" */
	margin: 0em 0em 0em 1.3em;
	width: 45ems;
	padding: 0em 0em 0em 0em;
	list-style-position: outside;
	list-style-type:disc;
	}
  
.listbase li {										/* Spaces the individual li items */
	margin:0em 0em .75em 0em}


	
/* Sidebar
-------------------------------------------------------------------*/
#sidebar { 
	width: 200px; 
	float: left; 
	font-size: 11px; 
	color: #555; 
	margin-bottom: 15px;
}
#sidebar a { 										/* Formats sidebar links dark grey no underline */
	color: #333; 
	text-decoration: none;
}							
#sidebar a:hover { color: #777; }					/* Formats hover behaviour of sidebar links */

#sidebar .block { 									/* Formats any class="block" within sidebar including an engraved bottom line */
	padding: 15px 15px 0 15px; 
	overflow: hidden;
	background: url(images/sidebar-block-bg.gif) no-repeat bottom center; 
}

/* Footer
-------------------------------------------------------------------*/
#footer {
	width: 900px;
	height: 29px;
	float: left;
	clear: both;  
	position: relative;
	background: #fafafa url(images/footer-bg.gif) no-repeat; 
}

#footer p { 
	line-height: 28px; 
	color: #333; 
	padding-left: 15px; 
	font-size: 11px; 
	margin: 0; 
}
#footer a { 
	color: #555;
	text-decoration: underline;
}