html {
     overflow: -moz-scrollbars-vertical;
}

body {
	margin: 0;
	font: 11px/165% "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
}

#wrap {
	position:relative;
	width: 965px;
	margin: auto;
	background: url(back.png) repeat-y;
	min-height: 830px;
}

#header {
	position:absolute;
	left: 0;
	top: 0;
	width: 965px;
	height: 123px;
	background: url(header.png) no-repeat;
}

#footer {
	position:absolute;
	left: 0;
	bottom: 0;
	width: 965px;
	height: 54px;
	background: url(footer.png) no-repeat;
	color: #009;
}

#footer div {
	position: absolute;
	text-align: center;
	width: 100%;
}

#footer #line1 {
	top: 11px;
}

#footer #line2 {
	top: 33px;
}




#content {
	padding-top: 110px;
	padding-bottom: 60px;
	margin-left: 210px;
	margin-right: 30px;
	width: 600px;
}


#nav {
	position: absolute;
	left: 18px;
	top: 113px;
	
	width: 179px;
	border-right: 1px solid #000;
	padding: 0;
	font-family: Arial, Verdana, sans-serif;
	font-size: 12px;
	color: #333;
	border-bottom: 1px solid #90bade;
}

* html #nav { /*IE 6 only */
	w\idth: 146px; /*Box model bug: 180px minus all left and right paddings for #nav */
}

html>body #nav li a{ /*Non IE6 width*/
	width: auto;
}

#nav ul{
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}

#nav li {
	border-top: 1px solid #90bade;
	margin: 0;
}

#nav li a {
	display: block;
	padding: 5px 5px 5px 8px;
	border-left: 10px solid #1958b7;
	border-right: 10px solid #508fc4;
	background-color: #009;
	color: #fff;
	text-decoration: none;
	width: 100%;
	border-bottom: none;
}

#nav li a:hover {
	border-bottom: none;
}


#nav ul li ul li a {
	padding: 5px 5px 5px 24px;
	width: 130px;
}

#nav li.opened a {
	border-left: 10px solid #ffe500;
	border-right: 10px solid #508fc4;
	background-color: #2175bc;
}



#nav li a:hover {
	border-left: 10px solid #5ba3e0;
	border-right: 10px solid #5ba3e0;
	background-color: #2586d7;
}

#nav li.opened a:hover {
	border-left: 10px solid #ffe500;
}


#nav li a.current {
	border-left: 10px solid #ffe500;
	border-right: 10px solid #5ba3e0;
	background-color: #2586d7;
	font-weight: bold;
}





/* Links */
#content a {
	text-decoration: none;
	color: #009;
	padding: 2px;
	border-bottom: 1px dotted #009;
	margin-right: 4px;
	//border-left: 4px solid ;	
}
#content a:hover {
	background: #5ba3e0; 
	color: #fff;
	border-bottom: 1px dotted #fff;
	border-left: 4px solid #ffe500;
	margin-right: 0;
}

/* Headers */
h1, h2, h3 {
	font: bold 1em/1.5em "Trebuchet MS", Tahoma, Arial, Sans-serif;
	color: #111;
	padding: 15px 10px 5px 10px;
	margin: 0;
}
h1 {
	font-size: 345%;	
	font-weight: normal;
	letter-spacing: -2px;	
	color: #fc3;
}
h2 {
	font-size: 200%;
	color: #fc3;
}
h3 {
	font-size: 170%;	
	font-weight: normal;	
	color: #1958b7;
}

b, strong {
	color: #009;
}

p, dl { padding: 10px; margin: 0; }

ul, ol {
	margin: 10px 20px;
	padding: 0 20px;
}
ul { list-style: none; }

dt {
  font-weight: bold;
  color: #895F30;
}
dd {
  padding-left: 25px; 
}

/* Images */
img {
	background: #fafafa;
   	border: 1px solid #dcdcdc;
	padding: 5px;
}
img.float-right {
  	margin: 5px 0px 10px 10px;  
}
img.float-left {
  	margin: 5px 10px 10px 0px;
}
code {
  	border: 1px solid #EBEBEB;
	background: #F0F0F0;  
}
pre {
  	margin: 5px 0;
  	padding: 15px;
  	text-align: left;
  	display: block;
  	overflow: auto;  
  	font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  	/* white-space: pre; */
  	border: 1px solid #EBEBEB;
	background: #F0F0F0;  
}
acronym {
  cursor: help;
  border-bottom: 1px dotted #895F30;
}
blockquote {
	margin: 15px 10px;
 	padding: 10px 10px 10px 35px;  
   	border: 1px solid #F0F0F0;
	background: #dbe2ff url(quote.png) no-repeat 10px 10px;
	font-weight: normal;
	font-size: 17px;
	line-height: 1.5em;
	font-style: italic;
	font-family: Georgia, "Times New Roman", Times, serif;	
	color: #000;	
}

/* start - table */
table {
	border-collapse: collapse;
	margin: 15px 10px;	
}

table.layout, table.layout td, table.layout.th {
	border: none;
}

th {
	color: #555;
	background: #E6E6E6;
	height: 38px;
	padding-left: 12px;
	padding-right: 12px;
	text-align: left;	
	
	border-width: 1px;
  	border-style: solid;
  	border-color: #ebebeb #d4d4d4 #d4d4d4 #ebebeb;	
}
tr {
	height: 34px;	
	background: #fff;
}
td {
	vertical-align: top;
	padding-left: 11px;
	padding-right: 11px;
	border: 1px solid #ECECEC;	
}	
/* end - table */

/* form elements */
form {
	margin: 15px 10px; padding: 5px 10px 20px 10px;
	border: 1px solid #f1f1f1; 
	background: #fdfdfd; 	
}
label {
	display: block;
	font-weight: bold;
	margin: 8px 0 5px 0;
	color: #895F30;
}
input, select {
	padding: 4px;
	font: normal 1em Verdana, sans-serif;
	color: #666666;
	background: #fff;  	
}
textarea {
	width: 350px;
	padding: 4px;
	font: normal 1em Verdana, sans-serif;
	height: 100px;
	display: block;
	color: #666666;
}
input, textarea, select {
	background: #fff;
  	border-width: 1px;
  	border-style: solid;
  	border-color: #D4D4D4 #ebebeb #ebebeb #d4d4d4; 
}

input.button { 
	font: bold 12px Arial, Sans-serif; 
	height: 30px;
	margin: 0;
	padding: 2px 3px; 
	color: #555;
	background: #E6E6E6;
	
	border-width: 1px;
  	border-style: solid;
  	border-color: #ebebeb #d4d4d4 #d4d4d4 #ebebeb;
}

/* search form */
.searchform {
	background-color: transparent;
	border: none;	
	margin: 0; padding: 12px 0 15px 8px;	
	width: 190px;	
}
.searchform p { margin: 0; padding: 0 0 10px 0; }
.searchform input.textbox { 
	width: 115px;
	color: #666666; 
	height: 18px;
	padding: 2px;	
	vertical-align: top;
}
.searchform input.button { 
	width: 60px;
	height: 24px;
	padding: 2px 5px;
	vertical-align: top;
}


/* postmeta */
.postmeta {	
	padding: 5px; margin: 20px 10px 15px 10px;	
	font-size: 1em;	
	color: #777;
	border: 1px solid #EBEBEB;
	background: #F5F5F5;
}
.postmeta a { background: transparent; }
.postmeta .date{ margin: 0 10px 0 5px;	}
.postmeta a.comments { margin: 0 10px 0 5px;	}
.postmeta a.readmore { margin: 0 10px 0 5px;	}

.post-info { font-size: .95em; padding-top: 3px; margin-left: 5px; color: #bababa; }
.post-info a { color: #000; }

/* thumbnails */
p.thumbs{ padding: 12px 0 0 10px; }

.thumbs img { 
	position: relative;
	padding: 4px;
	margin: 5px;
	background: #fafafa;
	border: 1px solid #dcdcdc;	
}
.thumbs img:hover	{
	border: 1px solid #8E8E8E;
	background: #8E8E8E;	
}
.thumbs a:hover { background-color: transparent; border: none }

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* clearing */
.clearer { clear: both; }
.clear {	display:inline-block; }
.clear:after {
	display:block; 
	visibility:hidden; 
	clear:both; 
	height:0; 
	content: "."; 
}




#login-buttons input {
	float: left;
}