/* 
   Reset
------------------------------------------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea, input, select {margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline;}
table {border-collapse: collapse; border-spacing: 0;}
caption, th, td {text-align: left; font-weight: normal;}
table, td, th {vertical-align: middle;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: none;}
:focus {outline: 0;}


/* 
   General 
------------------------------------------------------------------- */

html {
	height: 100%;
	padding-bottom: 1px; /* force scrollbars */
}

body {
	background: white;
	repeat-x;	color: #444444;
	font: normal 80% sans-serif;
	line-height: 1.5;
}


/* 
   Typography 
------------------------------------------------------------------- */

/* Headings */

h1,h2,h3,h4,h5,h6 {
	color: #555;
	font-weight: normal;
	line-height: 1;
	margin-bottom: 0.3em;
}
h4,h5,h6 {font-weight: bold;}

h1 {font-size: 2.6em;}
h2 {font-size: 2em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.25em;}
h5 {font-size: 1.1em;}
h6 {font-size: 1em;}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin: 0;}


/* Text elements */

p {margin-bottom: 1em;}

a:focus,a:hover {color: #000;}
a {
	color: #357;
	text-decoration: underline;
}


h3 a {text-decoration: none;}

abbr, acronym {border-bottom: 1px dotted #666;}
address {margin-bottom: 1.5em;}
blockquote {margin: 1.5em;}
del, blockquote {color: #666;}
em, dfn, blockquote, address {font-style: italic;}
strong, dfn {font-weight: bold;}
sup, sub {line-height: 0;}

pre {
	margin: 1.5em 0;
	white-space: pre;
}
pre,code,tt {
	font: 1em monospace;
	line-height: 1.5;
}


/* Lists */

li ul, li ol {margin-left: 1.5em;}
ul, ol {margin: 0 1.5em 1.5em 1.5em;}

ul {list-style-type: disc;}
ol {list-style-type: decimal;}

dl {margin: 0 0 1.5em 0;}
dl dt {font-weight: bold;}
dd {margin-left: 1.5em;}

ul.tabbed {
	display: inline;
	margin: 0;
}
ul.tabbed li {
	float: left;
	list-style: none;
	margin: 0;
}



/* Misc classes */

.small {font-size: 0.9em;}
.smaller {font-size: 0.8em;}
.smallest {font-size: 0.7em;}

.large {font-size: 1.1em;}
.larger {font-size: 1.2em;}
.largest {font-size: 1.3em;}

.hidden {display: none;}

.quiet {color: #666;}
.loud {color: #000;}
.highlight {background: #FF0;}

.text_left {text-align: left;}
.text_right {text-align: right;}
.text_center {text-align: center;}

.error, .notice, .success {
	font-size: 1.1em;
	border: 1px solid #DDD;
	margin-bottom: 1em;
	padding: 0.6em 0.8em;
}

.error {
	background: #FBE3E4;
	border-color: #FBC2C4;
	color: #8A1F11;
}
.error a {color: #8A1F11;}

.notice {
	background: #FFF6BF;
	border-color: #FFD324;
	color: #514721; 
}
.notice a {color: #514721;}

.success {
	background: #E6EFC2;
	border-color: #C6D880;
	color: #264409;
}
.success a {color: #264409;}




/* 
   Alignment 
------------------------------------------------------------------- */

/* General */

.center,.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* Images */

img.bordered,img.alignleft,img.alignright,img.aligncenter {
	background-color: #FFF;
	border: 1px solid #DDD;
	padding: 3px;
}
img.alignleft, img.left {margin: 0 1.5em 1em 0;}
img.alignright, img.right {margin: 0 0 1em 1.5em;}


/* Floats */   

.left,.alignleft {float: left;}
.right,.alignright {float: right;}

.clear,.clearer {clear: both;}
.clearer {
	display: block;
	font-size: 0;
	line-height: 0;	
}


/* 
   Separators 
------------------------------------------------------------------- */
.content_separator {
	background: #D5D5D5;
	clear: both;
	color: #FFE;
	display: block;
	font-size: 0;
	height: 1px;
	line-height: 0;
	margin: 12px 0 24px;
}




/* 
   Thumbnails
------------------------------------------------------------------- */

.thumbnails {margin: 0 0 1em -8px;}
.thumbnails a.thumb {	
	background: #D5D5D5;
	display: block;
	float: left;
	margin: 0 0 8px 8px;
	padding: 3px;
}
.thumbnails a.thumb:hover {background: #C0C0C0;}
.thumbnails .thumb img {display: block;}


/* 
   Box
------------------------------------------------------------------- */

.box {margin-bottom: 0.6em;}
.box_title {
	background: #CCCCCC;
	font: bold 1.3em sans-serif;
	padding: 7px 10px 6px;
}
.box_content {padding: 8px 0 8px;}
.box li:first-child {border-top: none;}



/* 
   Layout 
------------------------------------------------------------------- */

/* General wrappers */

#layout_wrapper {
	padding-bottom: 16px;
}
#layout_wrapper2 {
/*	padding-top: 2px;*/
}
#layout_wrapper3 {
	background: #FFF;
	margin: 0 auto;
	width: 840px;
}
#layout_wrapper4 {padding: 6px;}


/* Header */

#header_wrapper {
	background: #FFFFFF url('img/header.jpg') no-repeat;
	height: 56px;
}
#header {padding: 40px 0 0 48px;}
#header {	text-align: right;
}

#site_title h1 {
	color: #333333;
	font-size: 2.5em;
}
#site_title h1 a {
	color: #333333;
	text-decoration: none;
}
#site_title h1 a:hover {color: #444444;}
#site_title h2 {
	color: #333333;
	font-size: 1.3em;
}



/* Navigation */

#navigation {
	background: #000000;
	margin-bottom: 3px;
	padding-top: 0px;
}
#navigation a {
	color: #CCCCCC;
	display: block;
	font-weight: bold;
	text-decoration: none;
}

#navigation a:hover {
	color: #FFFFFF;
	background: #0080FF;
/*	background: #FF6600;*/
}



/* Main navigation */
#nav li {border-right: 1px solid #CCCCCC;}
#nav a {
	font-size: 1.0em;
	padding: 5px 80px 20px 6px;
}

#nav li.current_page_item a {
	color: #FFF;
}


/* Sub-navigation */
#subnav {
	border-top: 1px solid #CCCCCC;
	background: #FFFFFF;
}
/*
#subnav li {border-right: 1px solid #CCCCCC;}
*/
#subnav a {
	border-left: 1px solid #CCCCCC;
	font-size: 1.0em;
	padding: 4px 30px 4px 5px;
	color: #333333;
}


#subnav li.padding1  {
  color: #ffffff;
  background-color: #ffffff;
  padding: 4px 163px 1px 5px;
}



#contact a {
	font-size: 0.7em;
	text-align: right;
	color: #333333;
/*	padding: 15px 6px 5px;*/
	padding: 0px 0px 0px 0;
	text-decoration: none;

}
#contact a:hover {
/*	color: #000000;*/
	text-decoration: underline;
	color: #0080FF;
}

/* Main */

#main_wrapper {
	margin-bottom: 3px;
}
#main {
	padding: 24px 0;
}
#content_wrapper {
	width: 580px;
}


/* Sidebar */

#sidebar_wrapper {
/*	width: 220px;*/
	width: 180px;
/*	text-align: right;*/
	text-align: left;
}
/*#sidebar {padding: 0 0 0 18px;}*/
#sidebar {padding: 0 0 0 0px;}




/* 
   Misc overriding classes
------------------------------------------------------------------- */

/* Border */

.noborder {border: 0;}
.notborder {border-top: 0;}
.norborder {border-right: 0;}
.nobborder {border-bottom: 0;}
.nolborder {border-left: 0;}

/* Margin */

.nomargin {margin: 0;}
.notmargin {margin-top: 0;}
.normargin {margin-right: 0;}
.nobmargin {margin-bottom: 0;}
.nolmargin {margin-left: 0;}

/* Padding */

.nopadding {padding: 0;}
.notpadding {padding-top: 0;}
.norpadding {padding-right: 0;}
.nobpadding {padding-bottom: 0;}
.nolpadding {padding-left: 0;}
