/* CSS Document */
*
{
padding: 0em;
margin: 0em;
}

body
{
background-color: #eeeeee;
background: #eeeeee url('../img/bc_bckgd.gif') repeat;
font-family:"Trebuchet MS", Arial, Verdana;
font-size:1.0em;
}
a
{
color:#4D87CE;
text-decoration:none;
}
a:hover {
color:#2a65ad;
}
.contentarea
{
padding-top: 1.3em;
}
.contentarea-left {
float:left;
margin:0px;
overflow:hidden;
padding:0pt 0pt 10px 10px;
width:180px;
}
.contentarea-right {
float:right;
margin:0px;
overflow:hidden;
padding:0px;
width:50%;
}
#image_left
{
position: relative;
float: left;
margin: 0.1em 0.5em 0.5em 0.5em;
}
#image_right
{
position: relative;
float: right;
margin: 0.5em 0.5em 0.1em 0.5em;
}
.divider1
{
position: relative;
height: 14px;
margin: 0em 0em;
clear: both;
}
.divider2
{
position: relative;
height: 1px;
border-bottom: solid 1px #eaeaea;
margin: 1.0em 0em 1.0em 0em;
}
.tableStyle1
{
font-style: normal;
font-weight: bolder;
text-transform:uppercase;
text-align:center;
margin:0;
padding:0;
color:#444444;
background-color: #DBEDF0;
}
.tableStyleDefault 
{
font-style: normal;
font-weight: strong;
text-align:center;
margin:0;
padding:0;
color:#000000;
background-color: #FFFFFF;
}
.tableStyleFault 
{
font-style: normal;
font-weight: strong;
text-align:center;
margin:0;
padding:0;
color:#FFFFFF;
background-color: #990000;
}
.linkStyleFault 
{
color:#FFFFFF;
font-weight:bold;
text-decoration:none;
}
.tableStyleGood 
{
font-style: normal;
font-weight: strong;
text-align:center;
margin:0;
padding:0;
color:#FFFFFF;
background-color: #009900;
}
.tablepages {
text-align:right;
}
#outer
{
z-index: 2;
position: relative;
/*
	The width value below controls the overall width of the design. By default it's set to 90%
	(so it'll take up 90% of the browser window's width). You can set it to a different percentage
	value (70%, 90%, etc.) or even a pixel value (760px, 800px, etc.) to enforce a fixed width.
*/
width: 90%;
border: solid 7px #fff;
background-color: #fff;
margin: 0 auto;
min-width: 640px;
/*
    IE6 Dynamic Expression to set the width
*/
width:expression(document.body.clientWidth < 640 ? "640px" : "90%" );
}
#headersmall
{
position: relative;
width: 100%;
height: 62px;	
background: #2B2B2B url('../img/hdr_bg.gif') repeat-x;
margin-bottom: 2px;
}
#headersmall .right
{
position: absolute;
right: 1.0em;
top: 0.2em;
}
#headersmall .right a
{
color: #999999;
font-weight:normal;
text-decoration: underline;
}
#headersmall .right a:hover
{
color: #CCCCCC;
}
#headersmall .headerlogo
{
position: absolute;
top: 1px;
left: 1px;
background:  url(../img/hdr_logo.png) no-repeat;
width: 288px;
height: 62px;
}
#header
{
position: relative;
width: 100%;
height: 100px;	
background: #2B2B2B url('../img/hdr_bg.gif') repeat-x;
margin-bottom: 2px;
}
#header .right {
position: absolute;
right: 1.0em;
top: 0.2em;
color: #999;
}
#header .right a
{
color: #999999;
font-weight:normal;
text-decoration: underline;
}
#header .right a:hover
{
color: #CCCCCC;
}
#header .headerlogo
{
position: absolute;
top: 20px;
left: 1px;
background:  url(../img/hdr_logo.png) no-repeat;
width: 288px;
height: 62px;
}
#splash
{
position: relative;
top: 5px;
left: 5px;
background: #fff url('../img/hdr_pic.jpg') no-repeat top left;
width: 748px;
height: 42px;
}
#headerpic
{
position: relative;
height: 42px;
background: #fff url('../img/hdr_pic.jpg') no-repeat top left;
margin-bottom: 2px;
}
#menu
{
position: relative;
background: #7F8400 url('../img/menu_bg.gif') repeat-x top left;
height: 3.0em;
padding: 0em 1.0em 0em 1.0em;
margin-bottom: 2px;
}
#menu ul
{
position: absolute;
top: 0.75em;
}
#menu ul li
{
position: relative;
display: inline;
}
#menu ul li a
{
padding: 0.5em 1.0em 0.9em 1.0em;
color: #fff;
text-decoration: none;
}
#menu ul li a:hover
{
text-decoration: underline;
}
#menu ul li a.active
{
background: #7F8400 url('../img/menu_active.gif') repeat-x top left;
}
#menubottom
{
background: #fff url('../img/menu_bdr.gif') repeat-x;
height: 14px;
margin-bottom: 1.5em;
}
#mainbar
{
	display: block;
float: left;
margin-right: -14.0em;
width: 100%;
}
#primarycontent
{
	display: block;
margin: 0em 22.5em 0em 1.0em;
}
#primarycontent .img
{
margin:8px;
padding-top:8px;
height:auto;
width:auto;
float:left;
text-align:center;
}
#primarycontent .img img
{
display: inline;
margin: 3px;
}
#primarycontent h2
{
font-weight: bold;
}
#primarycontent h3 span
{
font-weight: normal;
}
#primarycontent h3,h4
{
display: inline;
font-weight: bold;
background-repeat: no-repeat;
background-position: right;
}
#primarycontent h3
{
font-size: 1.1em;
padding-right: 34px;
background-image: url('../img/db1.gif');
}
#primarycontent h4
{
font-size: 1.0em;
padding-right: 28px;
background-image: url('../img/db2.gif');
}
#mainbar h1
{
font-size:1.3em;
text-transform:uppercase;
font-weight:bold;
border-bottom: thin dotted #CCCCCC;
color: #333333;
margin-bottom: 0.5em;
background: url('../img/main_hdrico.gif') no-repeat;
padding-left: 30px;
}
#mainbar ul#controls {
clear: both;
color:#787878;
font-size:0.8em;
}
#mainbar ul#controls li {
display:inline;
}
#mainbar ul#controls a
{
color: #B96D00;
text-decoration: none;
font-weight:normal;
background: url('../img/icon-more.gif') no-repeat;
padding-left: 20px;
}
#mainbar ul#controls a:hover
{
text-decoration: underline;
}
#sidebar
{
position: relative;
width: 20.0em;
float: right;
}
#sidebar h1
{
font-size: 1.1em;
background: url('../img/menu_hdrico.gif') no-repeat;
padding-left: 20px;
border-bottom: thin dotted #CCCCCC;
color: #333333;
}
#sidebar ul#submenu1 {
margin:10px 0;
padding:0;
list-style:none;
}
#sidebar ul#submenu1 li {
margin:0;
padding:0;
height: 2em;
border-bottom:1px solid #E0E8FA;
}
#sidebar ul#submenu1 li a {
display:block;
padding:3px 0 3px 22px;
background:url("../img/menu_ico.gif") 5px 8px no-repeat;
text-decoration:none;
}
#sidebar ul#submenu1 li a:hover {
background-color:#D3DFF8;
color:#192666;
}
#sidebar ul#submenu2 {
margin:0 0;
padding: 0 0 0 15px;
list-style:none;
}
#sidebar ul#submenu2 li {
margin:0;
padding:0;
height: 2em;
border-bottom:1px solid #E0E8FA;
}
#sidebar ul#submenu2 li a {
display:block;
padding:3px 0 3px 22px;
background:url("../img/menu_ico.gif") 5px 8px no-repeat;
text-decoration:none;
}
#sidebar ul#submenu2 li a:hover {
background-color:#D3DFF8;
color:#192666;
}
#sidebar ul#submenu3 {
margin:0 0;
padding: 0 0 0 39px;
list-style:none;
}
#sidebar ul#submenu3 li {
margin:0;
padding:0;
height: 2em;
border-bottom:1px solid #E0E8FA;
}
#sidebar ul#submenu3 li a {
display:block;
padding:3px 0 3px 22px;
background:url("../img/menu_ico.gif") 5px 8px no-repeat;
text-decoration:none;
}
#sidebar ul#submenu3 li a:hover {
background-color:#D3DFF8;
color:#192666;
}
#footer
{
position: relative;
height: 4.0em;
clear: both;
padding-top: 5.0em;
background: #fff url('../img/ftr_bdr.gif') repeat-x 0em 2.5em;
font-size: 0.8em;
color: #999999;
}
#footer .menu
{
position: relative;
bottom: 1.0em;
color: #7F8400;
text-align: center;
}
#footer .menu a
{
color: #B96D00;
text-decoration: none;
font-weight:normal;
}
#footer .menu a:hover
{
text-decoration: underline;
}
#footer .left
{
position: absolute;
left: 2.0em;
bottom: 0.2em;
}
#footer .left a
{
color: #999999;
font-weight:normal;
text-decoration: underline;
}
#footer .left a:hover
{
color: #CCCCCC;
}
#footer .right
{
position: absolute;
right: 3.0em;
bottom: 0.2em;
}
#footer .right a
{
color: #999999;
font-weight:normal;
text-decoration: underline;
}
#footer .right a:hover
{
color: #CCCCCC;
}
#footer .top 
{
position: absolute;
right: 10px;
top: 2.5em;
}
#footer .top a 
{
display: block;
background: #fff url('../img/ftr_topico.gif') 0 0 no-repeat;
width: 30px;
height: 25px;
}
#footer .top a:hover
{
background: #fff url('../img/ftr_topico.gif') -30px 0 no-repeat;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}
/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}
/* Forms */
form {
	margin-right: 20px;
	padding: 0;
	width: 95%;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 10px;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 110%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
}
label {
	display: block;
	font-size: 100%;
	font-weight: bold;
	padding-right: 20px;
}

input, textarea {
	clear: both;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 100%;
}


input.datepick, textarea.datepick {
	width: 120px;
}

select {
	clear: both;
	font-size: 100%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 100%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 100%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	line-height: 140%;
	padding: 0.7em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}
/* Paging */
div.paging {
	background:#fff;
	color: #ccc;
	margin-bottom: 2px;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

.mobileform {
	font-size: 1em;
	awidth: 100%;
}

h4 {
	font-size: 5em;
}

.mobile {
	width: 95%;
}

.mobile label {
	font-size: 4em;
}

.mobile input {
	height: 5em;
}

@media only screen and (device-max-width: 720px), only handheld and (orientation: portrait) {
  #mainbar {
 		visibility: hidden;
	}
	
	#sidebar {
		font-size: 40px;
		display: block;
		visibility: visible;
		position: absolute;
		width: 70%;
	}
	
	#header {
		display: none;
	}
	
	#menu {
		display: none;
	}
	
	#menubottom {
		display: none;
	}
	
	#primarycontent {
		display: block;
	}
	
	#footer {
		width: 70%;
	}
}

/* iPads (portrait and landscape) ----------- */
/*@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
/* Styles */
/*}*/
