/* 	
	CSS Styles for OPHA
	Created by Rigent
	www.rigent.com
	media: screen
*/

/* general */

* {
	margin: 0;
	padding: 0;
}
body {
	font-family: Arial, sans-serif;
	font-size: small;
	background: #fff;
	text-align: center;
	color: #333;
	padding: 0 25px;
}
a { 
	color: #00458B; 
}
a:hover { 
	color: #002756; 
}
a img  {
	border: none;
}
ul {
	list-style: none outside;
}
p, h4 {
	margin-bottom: 10px;
}
 
/* container */

#container {
	margin: 0;
	width: 100%;
	text-align: left;
	overflow: hidden;
} 

/* header */

#header {
	height: 144px;
	/*background: url(../i/bg_header.png) repeat-x left top;*/
	overflow: hidden;
}
#header h1 {
	/*float: left;
	width: 509px;
	height: 131px;
	text-indent: -2000px;
	background: url(../i/bg_h1.png) no-repeat left top;*/
}
#header a {
	float: right;
	width: 274px;
	height: 122px;
	margin-top: 12px;
	text-indent: -2000px;
	background: url(../images/logo_opha.gif) no-repeat right top;
}

/* content */

#content {
}

/* nav */

#nav {
	height: 34px;
	margin-bottom: 18px;
	overflow: hidden;
	background: url(../images/bg_navbar.png) repeat-x left top;
}
#nav ul {
	width: 100%;
	overflow: hidden;
	background: url(../images/bg_nav.png) no-repeat left top;
}
#nav ul#admin {
	background: url(../images/bg_nav_admin.png) no-repeat left top;
}
#nav ul#public {
	background: url(../images/bg_nav_public.png) no-repeat left top;
}
#nav ul li a {
	display: block;
	text-decoration: none;
	text-indent: -2000px;
	height: 34px;
}
#nav ul li {
	float: left;
	display: inline;
	margin-top: 6px;
	height: 34px;
}

#nav ul li#home {
	width: 52px;
	margin-left: 27px;
}
#nav ul li#sear {
	width: 65px;
	margin-left: 10px;
}
#nav ul li#addp {
	width: 102px;
	margin-left: 10px;
}
#nav ul li#feed {
	width: 122px;
	margin-left: 10px;
}
#nav ul li#user {
	width: 87px;
	margin-left: 10px;
}
#nav ul li#logout {
	width: 66px;
	margin-left: 10px;
}

#nav ul li a {
	background: url(../images/bg_nav.png) no-repeat;
}
#nav ul#admin li a {
	background: url(../images/bg_nav_admin.png) no-repeat;
}
#nav ul#logged li a {
	background: url(../images/bg_nav_logged.png) no-repeat;
}

#nav ul li#home a {
	background-position: -26px -6px;
}
#nav ul li#sear a {
	background-position: -88px -6px;
}
#nav ul li#addp a {
	background-position: -164px -6px;
}
#nav ul li#feed a {
	background-position:-276px -6px;
}
#nav ul li#user a {
	background-position:-408px -6px;
}
#nav ul li#logout a {
	background-position: -505px -6px;
}
#nav ul#logged li#logout a {
	background-position: -408px -6px;
}

#nav ul li#home a:hover {
	background-position: -26px -46px;
}
#nav ul li#sear a:hover {
	background-position: -88px -46px;
}
#nav ul li#addp  a:hover {
	background-position: -164px -46px;
}
#nav ul li#feed a:hover {
	background-position: -276px -46px;
}
#nav ul li#user a:hover {
	background-position: -408px -46px;
}
#nav ul li#logout a:hover {
	background-position: -505px -46px;
}
#nav ul#logged li#logout a:hover {
	background-position: -408px -46px;
}

#nav ul li#home a.active {
	background-position: -26px -86px;
}
#nav ul li#sear a.active {
	background-position: -88px -86px;
}
#nav ul li#addp a.active {
	background-position: -164px -86px;
}
#nav ul li#feed a.active {
	background-position: -276px -86px;
}
#nav ul li#user a.active {
	background-position: -408px -86px;
}
#nav ul li#logout a.active {
	background-position: -505px -86px;
}
#nav ul#logged li#logout a.active {
	background-position: -408px -86px;
}

/* leftcol */

#content #leftcol {
	float: left;
	width: 210px;
}
#content #leftcol form {
	margin-top: 5px;
}
#content #leftcol h3 {
	font-size: 105%;
	padding: 0 4px;
	margin-bottom: 4px;
	color: #1a1a1a;
}
#content #leftcol p {
	font-size: 85%;
	padding: 0 4px;
	color: #1a1a1a;
}
#content #leftcol p.error {
	background-color: #ffe8e8;
	border: 1px solid #fcc;
	padding: 5px;
}
#content #leftcol p.formtext {
	font-size: small;
	padding: 0;
}

/* rightcol */

#content #rightcol {
	margin-left: 235px;
}
#content #rightcol.onecol {
	margin-left: 0;
}
#content #rightcol h3 {
	font-size: 125%;
	padding: 0 4px;
	margin-bottom: 10px;
	color: #1a1a1a;
}
#content #rightcol h3 em {
	font-style: normal;
	color: #712100;
}
#content #rightcol p {
	padding: 0 4px;
}
#content #rightcol a.returnbttn {
	display: block;
	width: auto;
	margin: 0 4px 14px 4px;
	padding: 4px;
	background: #eef4f9;
	border: 1px solid #ccdfed;
	text-decoration: none;
}
#content #rightcol a.returnbttn:hover {
	background: #e2edf5;
	border: 1px solid #8cb7d6;
}

/* footer */

#footer {
	margin: 28px 0;
	text-align: left;
	padding: 15px 0 10px 0;
	font-size: 85%;
	text-align: left;
	background: #fff url(../images/bg_footer.png) repeat-x left top;
}

/* tables */

table {
	background: #fff;
	margin: 0 0 10px 0;
	padding: 0;
}
fieldset table {
	background-color: #eef4f9;
	margin-left: 210px;
}
table tr th {
	padding: 4px 4px 12px 4px;
	border-top: 1px solid #aaa;
	background: #fff url(../images/bg_th.png) repeat-x left bottom;
	color: #111;
}
table tbody tr td {
	padding: 6px 4px;
	border-bottom: 1px solid #eee;
	background: #fafafa;
}
form fieldset table tr td {
	padding: 4px 4px;
	border-bottom: none;
	background-color: none;
}
table tbody tr.odd td {
	background: #fff;
}
table tr td a {
	text-decoration: none;
}
table tr:hover td a {
	text-decoration: underline;
}

/* infotable */

div.infotable {
	overflow: auto;
	font-size: 11px;
	margin: 0;
	padding: 0;
	background-color: #fff;
}
div.infotable p {
	margin: 0;
	padding: 4px 0 0 0;
}
div.infotable p a {
	text-decoration: none;
}
div.infotable p.left {
	float: left;
	margin-top: 4px;
}
div.infotable p.right {
	float: right;
}
div.infotable p select {
	font-size: 11px;
	margin-top: 2px;
}

/* forms */

form {
}
form fieldset {
	padding: 5px 5px 0 5px;
	margin-bottom: 9px;
	background: #e6eff6;
	border: 1px solid #b8c3d6;
}
form fieldset.approve {
	background: #ffc8c8;
	border: 1px solid #ff9191;
}
form label {
	display: block;
	margin-bottom: 4px;
}
form input, form select {
	margin-bottom: 8px;
}
form div {
	overflow: hidden;
	margin: 2px 0;
	padding: 2px 0 0 0;
	font-size: 11px;
}
form div.larger {
	margin: 6px 0;
}
form div.last {
	margin: 2px 0 10px 0;
}
form div label {
	float: left;
	width: 170px;
	margin: 0;
	_margin: 0;
	padding: 0;
}
form div label.larger {
	font-size: 13px;
	margin: 0;
	_margin: 0;
	padding: 0;
}
form div input {
	float: right;
	margin: 3px 0 0 0;
	_margin: -3px 0 0 0;
	padding: 0;
}
form div input#nameradio {
	float: left;
	margin: 0 6px 0 0;
	_margin: 9px 6px 0 0;
}
form input.submitbttn {
	margin-left: 10px;
	width: auto;
}

/* Search form tabs */
#content #leftcol form div.searchtab {
	margin: 0;
	padding: 0;
	height: 28px;
	overflow: auto;
	background: url(../images/bg_searchdivtab.gif) no-repeat left bottom;
}
#content #leftcol form div.searchtab a {
	float: left;
	width: 75px;
	font-size: small;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	background-color: #e6eff6;
	border: 1px solid #b8c3d6;
	border-bottom-color: #e6eff6;
	margin-bottom: 0;
	margin-right: 3px;
	padding: 5px 0;
}
#content #leftcol form div.searchtab a:hover {
	cursor: default;
}
#content #leftcol form div.searchtab a.off {
	color: #777;
	background-color: #eee;
	border: 1px solid #ccc;
	border-bottom-color: #b8c3d6;
	text-decoration: none;
}
#content #leftcol form div.searchtab a.off:hover {
	color: #333;
	cursor: pointer;
	text-decoration: none;
	background-color: #e5e5e5;
	border: 1px solid #c5c5c5;
	border-bottom-color: #b8c3d6;
}
/*#content #leftcol form fieldset#initiativefield {
	width: 190px;
}*/
#content #leftcol form fieldset#initiativefield, #content #leftcol form fieldset#contactfield {
	border-top: none;
}
#content #leftcol form fieldset#initiativefield table {
	margin-left: 0;
}
#content #leftcol form fieldset.showme {
	display: block;
}
#content #leftcol form fieldset.hideme {
	display: none;
}
#content #leftcol form fieldset select#healthunit, #content #leftcol form fieldset select#schoolboard {
	width: 190px;
}


/*#content #leftcol form p.checkboxp {
	font-size: 70%;
	overflow: auto;
	margin: 0 0 10px 0;
	padding: 0;
}
form p.checkboxp input.cbox {
	float: left;
	margin: 0 5px 0 0;
}*/

/* main forms */

form.mainform {
	overflow: visible;
}
form.mainform fieldset {
	padding: 5px 5px 0 10px;
}
form.mainform fieldset fieldset {
	padding: 5px 5px 0 5px;
	margin-bottom: 9px;
	background: #eef4f9;
	border: 1px solid #d5e5f0;
}
form fieldset#hidethese {
	display: none;
}
form.mainform fieldset fieldset#passes {
	padding: 10px 0 0 0;
	margin-bottom: 9px;
	background: #fae6eb;
	border: 1px solid #efb2c1;
}
form.mainform fieldset fieldset.infofieldset img {
	margin: 0 0 7px 12px;
	_margin: 0 0 9px 12px;
}
#content #rightcol form.mainform fieldset fieldset p.infop {
	width: 300px;;
	padding: 4px;
	margin: 2px 0 2px 240px;
	background: #e2eaed;
	border: 1px solid #9db8c4;
}
form.mainform label {
	float: left;
	width: 160px;
	margin: 0 0 8px 0;
	padding: 3px 0 0 0;
	text-align: right;
}
form.mainform label.error {
	float: none;
	color: #900;
	width: 240px;
	text-align: left;
	margin: 0 0 0 172px;
	padding: 0;
	font-weight: bold;
}
form.mainform fieldset fieldset label.error {
	margin: 0 0 0 211px;
}
form.mainform input.error, form.mainform textarea.error {
	border: 1px solid #c00;
}
form.mainform fieldset td label {
	text-align: left;
}
form.mainform fieldset table label {
	margin: 0;
}
form.mainform label.labelover {
	background-color: #ffc;
}
form.mainform fieldset fieldset label {
	width: 200px;
}
form.mainform fieldset fieldset#passes label {
	width: 160px;
}
#content #rightcol form.mainform fieldset p {
	padding: 0;
}
form.mainform input, form.mainform textarea, form.mainform select {
	margin: 0 0 10px 10px;
	padding: 1px;
	font-family: inherit;
}
form.mainform table input, form.mainform table textarea, form.mainform table select {
	margin: 0;
}
form.mainform input {
	width: 220px;
}
form.mainform input.short {
	width: 120px;
}
form.mainform input.long {
	width: 350px;
}
form.mainform input#finduserbttn {
	width: 35px;
}
form.mainform input.checker {
	width: 20px;
	margin-top: 5px;
	_margin-top: 2px;
}
form.mainform textarea {
	width: 420px;
	height: 150px
}
form.mainform textarea.small {
	width: 275px;
	height: 80px
}
form.mainform input.submitbttn {
	margin-left: 180px;
	width: auto;
}
form.mainform input.radioin {
	width: auto;
	margin: 5px 0 15px 10px;
	_margin: 2px 0 15px 10px;
}

/* edit button */

a.editbttn {
	display: block;
	width: 29px;
	height: 15px;
	text-indent: -2000px;
	background: url(../images/bttn_edit.png) no-repeat left top;
}
a.editbttn:hover {
	background-position: left -20px;
}

/* paginate */

.paginate {
	margin: 10px 0;
	width: 50%;
	overflow: auto;
	font-size: 85%;
	color: #666;
}
.paginate span {
	display: inline;
	float: left;
	padding: 2px 6px;
	margin-right: 8px;
}
.paginate span.curpage {
	color: #c03;
	background: #eef4f9;
	border: 1px solid #ccdfed;
}
.paginate a {
	display: inline;
	float: left;
	padding: 2px 6px;
	margin-right: 8px;
	border: 1px solid #ccc;
	text-decoration: none;
}
.paginate a:hover {
	border: 1px solid #222;
	background-color: #03c;
	color: #fff;
}


/* disclaimer */

div.disclaimer {
	margin: 18px 0 0 4px;
	padding: 8px 8px 0 8px;
	border: 1px solid #6ba2ca;
	background: #e2edf5;
}


/* Form stages styles */

.hidestage {
	position: absolute;
	top: 0;
	left: -5000px;
	height: 50px;
	overflow: hidden;
}

/*  */

.norecords {
	font-size: 105%;
	padding: 8px 8px;
	margin: 0  0 4px 4px;
	background: #e9fbe6;
	border: 1px solid #b7f2ac;
}

#resetbttn {
	width:150px;
	font-size: 90%;
	color: #006699;
	cursor: pointer;
	margin-left: 0px;
	border: none;
	background: none;
}

/* View page styles */

.viewtable th {
	padding: 4px 4px 12px 4px;
	border-top: 1px solid #aaa;
	background: #fff url(../images/bg_th.png) repeat-x right bottom;
	color: #111;
}
.viewtable h4 {
	margin: 7px 0 4px 0;
	font-size: 105%;
	color: #990000;
}
.viewtable strong {
	font-size: 90%;
}

/* styles for table sorting and results table in general */

table#sorttable {
}
table#sorttable th {
	cursor: pointer;
	background-image: none;
	background-color: #f4f8fb;
	border-bottom: 1px solid #aaa;
	padding: 7px 4px;
}
table#sorttable th.nosort {
	cursor: default;
}
table#sorttable th.sortasc {
	background: #f4f8fb url(../images/asc.gif) no-repeat 90px center;
	color: #900;
}
table#sorttable th.sortdesc {
	background: #f4f8fb url(../images/desc.gif) no-repeat 90px center;
	color: #900;
}
table#sorttable th.healthunit.sortasc {
	background: #f4f8fb url(../i/asc.gif) no-repeat 130px center;
	color: #900;
}
table#sorttable th.healthunit.sortdesc {
	background: #f4f8fb url(../i/desc.gif) no-repeat 130px center;
	color: #900;
}
table#sorttable thead {
}
