/*
Preparee stylesheet for Drupal 6.x 
Loosely based on the NoProb stylesheet 
from the Theming database.

Jeroen Baert for Preparee, 2008
*/

/* General elements */
html { 
	font-size: 100.01%;					/* routes around several browser bugs */
	height: 100%
}

body {
	background: #f4f4f4 url(background.gif) top center repeat-y;
	color:  #000000;
	font-family: Verdana, Helvetica, Tahoma, Arial, sans-serif;
	font-size: 11px;
	line-height: 1.45;					/* for a target line height of 16px */
	margin: 0 auto auto auto;
	padding: 0;
	min-height: 101%;
}

#topright {
position: absolute;
right: 0;
top: 0;
display: block;
height: 132px;
width: 139px;
cursor: pointer;
text-decoration: none;}
#topleft a {border: 0;}


p {
	margin: 0.725em 0 0.4em 0;	/*Modified distance between paragraphs*/
	text-align: justify;
}

h1 {
	margin: 0.75em 0 0 0;
	line-height: 1;
}

h2 {
	margin: 1.3em 0 0 0;
	font-size: 15px; 
	line-height: 1;
}

h3 {
	margin: 1.8em 0 0 0;
	font-size: 13px; 
	line-height: 1.23;
}

h4 {
	margin: 2.1em 0 0 0;
	line-height: 1.45;
}

h5, h6 {
	margin: 2.5em 0 0 0;
	line-height: 1.78;
}

a, 
a:link, 
a:visited {
	background-color: inherit;
	color: #fc0000;
	text-decoration: none;
}

a:hover {
	color: #fc0000;
	text-decoration: underline; 	/*Added text decoration for link hovering*/
}

a:active, 
a.active {
	color: #fc0000;
	text-decoration: underline;
}

dd {
	margin-bottom: 0.4em;
}

tbody {
	border: none;
}

input, 
select, 
textarea {
	font-family: inherit;
}


/* Main layout */
#wrapper {
	background-color: white;
	margin: 0 auto 0 auto;
	width: 800px;
}

#wrapper #middle {
	width: 100%;
	margin: 0;
	padding: 0;
}


/* Header region */
#banner {
        height: 100px;
	background: #ffffff url(bannertop.png) no-repeat;
	color: white;
	padding: 11px 20px 12px 20px;
}

#banner a {
	color: inherit;
	font-weight: normal;
}

#banner #logo {
	display: block;
	float: left;
	margin-right: 10px;
}

#banner .site-name {
	font-size: 2.1em;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

#banner .site-slogan {
	font-style: italic;
	margin: 0;
	padding: 0;
}

#banner #search {
	margin: 17px 0 6px 0;
	float: right;
}


/* Primary & secondary links */
#menu {
	background: url(bgmenu.png) repeat-x;
	border-bottom: 2px solid #dbdbdb;
	font-size: 1.1em;
	font-weight: bold;
	height: 1.8em;
	line-height: 1.7;
	padding: 0 3px 0 3px;
}

#fbook {
	text-align: right;
}

#fbook a,
#fbook a:link{
	display: inline;
}

#fbook a:hover{
	background: url(bgmenu.png);
}

#fbook a:active{
	background: url(bgmenu.png);
}

#menu a,
#menu a:link {
	color: white;
	display: block;
	font-family: Verdana, Helvetica, Tahoma, Arial, sans-serif;
	font-size: 11px;
	padding: 0 7px 0 7px;
}

#menu a:hover {
       background: url(bgmenu2.png) repeat-x;
}

#menu a.active {
	background: url(bgmenu2.png) repeat-x;
  
}

#primary-links, 
#primary-links li {
	float: left;
}

#secondary-links {
	float: right;
}

#secondary-links li {
	float: left;
}


/* Header */
#header {
	background-color: #f9f9f9; 
	color: #333300;
	padding: 4px 7px 0 9px;
}


/* Sidebars */
.sidebar {
	background-color: #f9f9f9;
	color: #333300;
	margin: 0;
	vertical-align: top;
	width: 150px;
}

#sidebar-left {
	padding: 0 7px 5px 9px;
}

#sidebar-right {
	border-left: 2px solid #dbdbdb;
	padding: 0 7px 5px 9px;
}

.sidebar a,
.sidebar a:active {
	color: #660000;
}

.sidebar a:hover {
	color: #000033;
}

.sidebar a.active {
	font-weight: bold;
}

.sidebar .block {
	margin-bottom: 1em;
}

.sidebar .block h2 {
	color: #4d6e8f;
	font-size: 1.4em;
	margin-bottom: 0.4em;
	margin-top: 0.6em;
}

.sidebar .block .content {
	text-align: left;
}


/* Main content */
#main {
	position: relative;
	padding: 2px 10px 0 10px; 
	vertical-align: top;
}

#main .title {
	background-color: #dcdcdc;
	font-size: 15px; 
	color: #101010;
	line-height: 1.3em;
	margin: 5px 0 0.6em 0;
	padding: 0 0.3em 0 0.3em;
}

#main table {
	width: 100%;
}

#main table thead th,
#main table tbody td {				/* should only affect generated tables */
	font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
	font-size: 1.1em;
	padding-left: 3px;
	padding-right: 2px;
}

#main fieldset {
	background-color: #fbfbfb;
	margin-top: 0.7em;	
}

.content-left #mission,
.content-left .breadcrumb,
.content-both #mission,
.content-both .breadcrumb {
	padding: 3px 1px 0 0;
	text-align: right;
}

.content-right #mission,
.content-right .breadcrumb {
	padding: 3px 0 0 1px;
	text-align: left;
}


/* Footer */
#footer  {	
	border-top: 1px solid #a9a9a9;
	margin: 9px auto 0 auto;
	padding: 0.5em 0 0.8em 0;
	text-align: center;
	width: 96%;
}

#footer .block {
	text-align: left;
}

#footermessage a{
	color: #a6a6a6;
}

#footermessage a:hover {
	color: #a6a6a6;
}


/* Meta regions */
.meta {
	display: block;
	margin: 0.725em 0 1.45em 0;
}

.meta .submitted {
	color: #666666;
	padding-right: 1em;
}

.meta .meta-links {
	float: right;
	padding-left: 1em;
	text-align: right;
}

.meta .meta-links li.comment_forbidden {
	display: block;
}

.meta .terms {
	font-family: "Courier New", Courier, "Andale Mono", Monaco, monospace, sans-serif;
	font-weight: bold;
	line-height: 1.8;
	text-align: left;
}

.meta .terms a {
	color: #441d4f;
}

.meta .terms li {
	background-color: #e9e7ff;
}



/* Images */
.content p img {
	/*border: 1px solid #79a3c1;*/
	margin-left: 10px;
	padding: 3px;
}

.node .picture,
.comment .picture {
	float: right;
	margin-left: 9px;
}

.node .picture img {
	height: 5.2em;
}

.comment .picture img {
	height: 4.6em;
}


/* Comments */
#comments h2 {
	margin: 1em 0 0.2em 0;
}

#comments form {
	margin: 0 0 1em 0;
}

.comment {
	border: 1px solid #bbbbbb;
	margin: 0.5em 0 0 0;
	padding: 0.5em;
}

.comment h3 {
	display: inline;
	margin: 0 0 -0.3em 0;
}

.comment .new {
	color: red;
	font-size: 0.95em;
	font-weight: bold;
	margin-left: 0.5em;
}

.comment .meta {
	margin-bottom: 0;
}


/* Other */
#main table img {							/* mostly for the themes page */
	margin-top: 2px;
	margin-bottom: -3px;
}

#main table.sticky-table,
#main table.system-status-report {
	margin: 0.6em 0 1em 0;
}

#forum {
	margin-bottom: 1em;
}

.admin-panel h3 {
	margin-top: 0.5em;
}

.messages {
	font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	margin: 1em 0 0.3em 0;
}

.help,
.status {
	background-color: #eeeeee;
	border: 1px solid #cccccc;
	margin-bottom: 0.4em;
	padding: 2px;
}

.help p {
	margin: 1.45em 0 0 0;
}

.help p:first-child {
	margin-top: 0;
}

.tips, 
.form-item .description {
	font-family: Helvetica, Arial, Tahoma, Verdana, sans-serif;
	font-size: 1em;
}

.item-list h3 {
	margin-bottom: 0.725em;			/* for the help pages */
}

.picture+.content>.poll {			/* shifts the poll out from under the user's picture */
	padding-top: 5.2em;
}

