/* $Id: style.css,OFMP v 1.0 2008/03/09 15:00:59 drumm Exp $ */

/**
 * OFMP, for Drupal 6.9
 * Lynnold M Wini, grafixFarm [dot] hardstaff [dot] com
 *
 * OFMP website theme modification
 * 
 */

/**
 * Generic elements
 */
/* Top Elements */
* { margin: 0; padding: 0; border: 0 }

body {
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;
	color: #666666; 
	margin: 0 auto;
}

/* links */
a, a:visited {
	color: #5A93C9;
	background: inherit;
	text-decoration: none;
}
a:hover {
	color: #88ac0b;
	background: inherit;
	text-decoration: underline;
}

/* headers */
h1, h2, h3 {
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;
	font-weight: Bold; 
}
h1 {
	font-size: 160%;
	font-weight: normal;
}
h2 {
	font-size: 130%;
	text-transform: uppercase;
	color: #88ac0b;
}
h3 {
	font-size: 130%;
}

h1, h2, h3, p {
	padding: 10px;
	margin: 0;
}
ul, ol {
	margin: 5px 20px;
	padding: 0 20px;
}
.error{
	width: auto!important;
	color:#EE5555;
}
/* images */
img {
	background: #FAFAFA;
   	border: 1px solid #DCDCDC;
	padding: 5px;
	margin: 4px;
}
img.float-right {
  	margin: 5px 0px 10px 10px;  
}
img.float-left {
  	margin: 5px 10px 10px 0px;
}

code {
  	margin: 5px 0;
  	padding: 10px;
  	text-align: left;
  	display: block;
  	overflow: auto;  
  	font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  	/* white-space: pre; */
  	background: url(images/post.jpg);
	border: 1px solid #E0DBC9;  
}
acronym {
  	cursor: help;
  	border-bottom: 1px solid #777;
}
blockquote {
	margin: 10px;
 	padding: 0 0 0 25px;  
   	background: url(images/post.jpg);
	border: 1px solid #E0DBC9;
	font: bold 1.3em/1.5em 'Trebuchet MS', Tahoma, Sans-serif;
	color: #A89A6A;
}


/* start - table */
table {
	border-collapse: collapse;
	margin: 10px;
}
tbody{
	border: none;
}
th strong {
color: #fff;
}
th {
	background: #93BC0C url(images/bg_header.jpg) repeat-x;
	height: 29px;
	padding-left: 12px;
	padding-right: 12px;
	color: #FFF;
	text-align: left;
	border-bottom: solid 2px #FFF;
}
th a{
	color:#4F6B72;
	font-family:"Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
	text-transform: uppercase;
	background: none;
	border: none;
}
th.active img {
	display:inline;
	padding: 0px 0px 0px 30px;
	background: none;
	border: none;
}
tr {
	height: 30px;
}
td {
	padding: 5px 11px;
	border-right:1px solid #C1DAD7;
}
td.first,th.first {
	border-left: 0px;
}
tr.row-a {
	background: #F8F8F8;
}
tr.row-b {
	background: #EFEFEF;
}
tr.even{
	background:#F5FAFA none repeat scroll 0 0;
	color:#797268;
	border-bottom:1px solid #CCCCCC;
	padding:0.5em 0.6em;
}
tr.odd {
	background:#FFFFFF none repeat scroll 0 0;
	color:#797268;
	border-bottom:1px solid #CCCCCC;
	padding:0.5em 0.6em;
}
/* end - table */

/* form elements*/
form {
	padding: 5px 10px;
	background-color: #DADADA;
	width: auto!important; 
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding:2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}
input.form-submit { 
	font: bold 12px Arial, Sans-serif; 
	margin: 0 0 5px 0;
	padding: 3px 3px!important;
	color: #000000;
	background: #8EB50C url(images/nav.jpg) repeat-x 0 0;
	border: 1px solid #8c9f0d;
} 

/* search form */
#search-theme-form{
	float:right;
	margin-top: 125px;
	margin-right: -210px;
	background: none;
}
#search label{
	display: none;
}
#search input.form-text{
	width: 200px;
}
.tabs{
	width: auto!important;
}

/********************************************
   LAYOUT
********************************************/ 
#top-bg {
	width: 100%;
	height: 61px;
	background: #cccccc url(images/top-menu-bg.png) repeat-x;
	top: 0; left: 0;
	clear: both;
	
}
#header {
	width: 100%;
	margin: 0 auto;
	height: 166px;
	padding: 0;
	color: #FFF;
	background:#CCCCCC url(images/header-bkgrnd.jpg) no-repeat;
}
#header h1#logo-text a {
	position: absolute;
	margin: 0; padding: 0;
	font: bold 36px 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -1px;
	color: #AEAAAA;
	text-transform: none;
	text-decoration: none;
	/* change the values of top and left to adjust the position of the logo*/
	top: 25px; left: 30px;
}
#header h1#logo-text span {
	color: #838181;
}
#header h2#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: normal 12px 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #838181;

	/* change the values of top and left to adjust the position of the slogan*/
	top: 67px; left: 95px;
}

/* header-logo */
#header-logo{
	position: absolute;
}
#header-logo img{
	border: none;
	background: none;
	padding: 2;
	margin: 0;
}

/**
 * Primary navigation
 */
ul.plinks {
  margin: 0;
  padding: 0;
  float: right; /* LTR */
  border: none;
  position: relative;
  clear: both;
  z-index: 4;
}

ul.plinks li {
  margin: 0;
  padding: 0;
  float: left; /* LTR */
  background-image: none;
}

ul.plinks li a, ul.plinks li a:link, ul.plinks li a:visited {
  	display: block;
  	margin: 0 1em;
  	padding: .75em 0 0;
	border: none;
  	color: #fff;
	background: transparent url(images/bg-navigation-item.png) no-repeat 50% 0;
}

ul.plinks li a:hover, ul.plinks li a.active {
  	color: #fff;
	background: transparent url(images/bg-navigation-item-hover.png) no-repeat 50% 0;
}

ul.links li, ul.inline li {
	background-image:none;
	margin-left:0;
	margin-right:0;
	padding-left:0;
	padding-right:1em;
}
ul.plinks li {
	background-image:none;
	float:left;
	margin:0;
	padding:0;
}
ul.links li {
	display:inline;
	list-style-type:none;
	padding:0 0.5em;
}
#node-form{
	width: 760px;
}


/* footer */
#footer {
	clear: both;
	width: 100%;
	text-align: center;
	height: 137px;
	font-size: 95%;
	height: 137px;
	background: #4d4c43 url(images/footer_bottom.jpg) no-repeat top right;
	border-top: 5px solid #CCCCCC;

}
#footer img{
	border: 0px;
	padding: 5px;
	background: none;
}
#footer a, a:visited{
	background:none;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }

#wrap #container {
  	margin: 0 auto;
  	padding: 0;
  	max-width: 1200px;
  	min-width: 960px;
}

#left{
	width: 225px;
	float: left;
	background:#FFFFFF url(images/sidebox2.gif) repeat-y;
	margin-top: 2px;
}
#left h2{
	background-color:#E3DCCA;
	border-bottom:1px solid #C7B994;
	color:#B7A677;
	display:block;
	font-size:14px;
	font-weight:bold;
	margin:2px 20px;
	padding:3px;
	text-align:center;
	text-transform:uppercase;
}
#left ul.menu li {
	margin:0 0 0 0.9em;
}
#left li.leaf {
	list-style-image:none;
	list-style-type:none;
	margin:0;
	padding:0.2em 0.5em 0 0;
}
#left li.expanded {
	list-style-image:none;
	list-style-type:none;
	margin:0;
	padding:0.2em 0.5em 0 0;
}
#left li.collapsed {
	list-style-image:none;
	list-style-type:none;
}
#left .menuTop {
	background-image:url(images/sidebox1.gif);
	background-repeat:no-repeat;
	display:block;
	height:22px;
}
#left .menuBottom {
	background-image:url(images/sidebox3.gif);
	background-repeat:no-repeat;
	display:block;
	height:34px;
}
#main-content{
	min-height:260px;
	overflow:hidden;
	padding: 0px 27px 20px;
	margin-left: 230px;
	margin-top: 8px;
	z-index:1001;
	width: auto!important;
}
#left .content p{
	padding: 20px;
}
/* We must define 100% width to avoid the body being too narrow for near-empty pages */
#wrap #container #center {
  	margin-top: 8px;
  	float: left;
  	width: 100%;
}
/* So we move the #center container over the sidebars to compensate */
body.sbar-left #center {
  	margin-left: -225px;
}
body.sbar-right #center {
  	margin-right: -225px;
}
body.sidebar #center {
  	margin: 0 -225px;
}
/* And add blanks left and right for the sidebars to fill */
body.sbar-left #squeeze {
  	margin-left: 225px;
}
body.sbar-right #squeeze {
  	margin-right: 225px;
}
body.sidebar #squeeze {
  	margin: 0 225px;
}

/* We ensure the sidebars are still clickable using z-index */
#wrap #container .sidebar {
  	margin: 2px 0 5em;
  	width: 225px;
  	float: left;
  	z-index: 2;
  	position: relative;
}

/* Now we add the backgrounds for the main content shading */
#wrap #container #center #squeeze {
  	background: #fff url(images/s-bkgrnd.jpg) repeat-x 50% 0;
  	position: relative;
}

#wrap #container #center .rcorner {
  	background: transparent url(images/r-corner.jpg) no-repeat 100% 0;
  	position: relative;
  	left: 4px;
}

#wrap #container #center .rcorner .lcorner {
  	padding: 1em 25px 5em 35px;
  	background: transparent url(images/l-corner.jpg) no-repeat 0 0;
  	margin-left: -4px;
  	position: relative;
  	min-height: 400px;
}
/***Custom Styles***/

/* (Bug)fixes for drupal elements */

#main .admin div.left,#main .admin div.right {
	display:inline;/*Fix ie->6 double float margin bug*/
}

#sidebar .block {
/*border-color:purple!important;*/
}

#main .node .content img {
	margin: 0 2px 0 2px;
}

#main .node .content td {
	border:1px solid #eee;
}


.block-user form {
	line-height:1em;
}

.block-user ul {
	margin-top:1em;
}

h3#mission {
	font-size:1.7em;
	font-weight:normal;
	margin:0;
	padding:0;
	line-height:1em;
	color:#444;
	margin-bottom:0.5em;
	text-indent:20px;
}
.comment {
	border:1px solid #CCC;
	border-width:1px 0;
	margin-bottom:1em;
	padding:0.5em 0;
}

.comment div.picture {
	float:right;
	margin:0 0 2px 2px;
}

/* interface enhancements */

#autocomplete {
	font-weight:bold;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	margin:0;
	border-color:#CCC;
	padding:1px;
}
#autocomplete li {
	background:#EEE;
	border-bottom:1px solid white;
}

body #main fieldset {
	margin-top:1em;
	border:1px solid #EEE;
	min-height:2em;
}
* html #main fieldset {
	min-height:2em;
}

.collapsible legend {
	border:1px solid #EEE;
	display:inline!important;
	padding:2px;
}

div.node-form input.form-submit {
	margin:1em 0!important;
}
#copyright{
	text-align:center;
	padding: 4px;
	font-weight: bold;
	color: #ffffff;
}
#copyright a{
	color:#006600;
}

#front-main {
	float: left;
	padding: 0px; 
	margin: 10px 0 0 10px;
	width: 100%;
}
#nice-menu-1 a, #nice-menu-1 a:visited {
  	text-decoration: none;
  	font-weight: bold;
  	color: #000;
  	background: #eeeeee;
}

#nice-menu-1 a:hover {
	color: #111111;
}

ul#nice-menu-1 li:hover,
ul#nice-menu-1 li.over,
ul#nice-menu-1 li li:hover,
ul#nice-menu-1 li li.over{
  	background-color: #CCCCCC;
}
#user-login-form{
	margin: 2px 20px;
	text-align: left;
	padding: 4px;
	background: #E3DCCA;
}