/*************************************** STD. REPLACEMENTS */

body {
	background: #fff url('http://mlab.uiah.fi/~apaterso/banners/agryfp-front-banner.0.jpg') repeat-x;
	margin: 0;
	padding: 0;
	padding-bottom: 0px;
}

body, p, ol, ul, td {
	font-family: "Lucida Grande", Verdana, Geneva, Arial, sans-serif;
	font-size: 12px;
}

a { color: #000; }
a:visited { color: darkred; }
a:hover { color: #fff; background-color:#000; }
a.perm_locked { background: pink; }

li { margin-bottom: 7px }

h1, h2, h3 { color: #333; font-family: "Lucida Grande", Arial, Verdana, sans-serif; }
h1 { font-size: 24px }
h2 { font-size: 20px }
h3 { font-size: 16px }

blockquote {
	display: block;
	margin: 0px 0px 20px 0px;
	padding: 0px 30px;
	font-size: 11px;
	font-style: italic;  
}

pre {
	font-family: Monaco, Courier, "Courier New", monospace;
	padding: 10px;
	font-size: 11px;
	overflow: auto;
	border: 1px solid #eee;
	background-color: #fff;
}

pre:hover {
	border-color: #000;
}

hr {
	background-color: #bbb;
	height: 1px;
	border: 0;
}

img {
	border: 0;
}

/*************************************** THE BIG PICTURE */

#Container {
	width: 800%;
	margin-top: 20px;
	padding: 20px;
	margin-left: 30px;
	margin-right: auto;
	text-align: center;
}

#Primary {
	margin-left: 0px !important;
	margin: 0 10px 10px 10px;
	padding: 0 20px 20px 20px;
	text-align: left;
	width: 800%;
	float: left;
	border: 1px solid #ccc;
	background-color: #fff;
}

h1#pageName {
	margin: 5px 0px 0px 0px;
	padding: 0;
	font-size: 28px;
}

h1#pageName small {
	font-family: "Lucida Grande", Verdana, sans-serif;
	color: #808080;
	font-size: 8pt;
	padding: 0;
}

/*************************************** PRIMARY NAVIGATION (T/B) */

#PrimaryNavigation {
	margin-top: 5px;
	font-size : 8pt;
	color: #999;
}

#PrimaryNavigation ul {
	list-style: none;
	display: inline;
	margin: 0;
	padding-left: 0;
}

#NavigationList li {
	display: inline;
}


.NavInactive, .NavActive {
	list-style: none;
	display: inline;
	font-weight: bold;
	font-size: 8pt !important;
	border-right: 1px #bbb solid;
	padding-left: 0px !important; /* FF & Safari Hack */
	padding-left: 4px;
	padding-right: 4px !important; /* FF & Safari Hack */
	padding-right: 0px;
	margin: 0;
}
.NavCurrentPage {
	margin-left: 0px !important;
	padding-left: 0px !important;
}

.NavInactive a {
	color: #000;
	font-weight: bold;
	margin-left: 0px !important;
	padding-left: 0px !important;
}

.NavInactive a:hover {
	color: #FFF;
	background: #000;
	font-weight: bold;
	text-decoration: none;
}

input.page_name {
	border-right: 0px;
}

/*************************************** In Place Editor (T/B) */

/* For Renaming a page.. */

.RenameEdit {
	margin-top: 12px;
	margin-bottom: 0;
	padding-bottom: 0;
}

.RenameEdit input {
	font-family: "Lucida Grande", Arial, sans-serif;
	font-weight: bold;
	padding-left: 4px;
	padding-right: 4px;
	margin-left: 0px;
	font-size: 20pt !important;
	font-size: 12pt;
}
.RenameEdit input[type="submit"] {
	font-size: 9pt !important;
	text-transform: uppercase;
}

/* Global in place edit styling */

form.inplaceeditor-form {
	font-family: "Lucida Grande", Verdana, sans-serif;
	margin: 0;
	padding: 0;
	display: inline;
}

form.inplaceeditor-form a, .RenameEdit a {
	margin-left:1em;
	color: red;
}

form.inplaceeditor-form a:hover, .RenameEdit a:hover {
	background: red;
	color: #FFF;
}

/*************************************** Search form on navigation bar */

#search-form {
	display: inline;
}
#search-form ul {
	width: 100%;
	border: 1px #ccc solid;
	position: absolute;
}
#search-form li {
	display: block;
	text-align: left;
	background: #FFF;
	margin: 0;
	padding: 0;
	padding-left: 4px;
}
#search-form li.selected {
	background: #ffc;
}

div.page_name_auto_complete {
	width: 100px;
	background: #fff;
	display: inline;
}

div.page_name_auto_complete ul {
	border: 1px solid #888;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style-type: none;
}

div.page_name_auto_complete ul li {
	margin: 0;
	padding: 3px;
}

div.page_name_auto_complete ul li.selected { 
	background-color: #ffb; 
}

div.page_name_auto_complete ul strong.highlight { 
	color: #800; 
	margin: 0;
	padding: 0;
}

#FooterBar {
	position: fixed !important;
	position: relative;
	bottom: 0px;
	left: 0px;
	margin-left: 0px;
	padding: 0px 0px 4px 0px;
	margin: 0;
	width: 100%;
	background: #ffc;
	border-top: 1px #ccc solid;
	border-bottom: none !important;
	border-bottom: 1px #ccc solid;
	height: 16px;
	z-index: 1000000;
	opacity: 0.9;
	filter: alpha(opacity:90);
}
#FooterBar p {
	text-align: center;
	font-size: 8pt;
	color: #555;
	margin-top: 3px;
}
#FooterLeaf {
	margin-bottom: -2px;
}

/* Table of Contents Generator */
div#toc ul {
  list-style-type: none;
}
