/* color standards
	a:visited	#504bc6	bluish
	a:hover		#ff6600	orange
	navbar		#ffcc00	deep orange
	subnavbar	#ffff66	light orange
/*

/* all tags */

* {
	/* browser margins and paddings are non-standard */
	/* set to 0 to require ourselves not to depend on non-existent defaults */
	margin: 0px; padding: 0px;
}

/* general tags */

html {
}

body {
	position: relative;	/* allows for positioning within */
	background-image: url(/common/background-upperborder.jpg);
	background-repeat: repeat-x;
	background-color: white;
	font-family: sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	font-family: sans-serif;
	font-variant: small-caps;
	margin-bottom: .25em;
	margin-top: .5em;
	letter-spacing: .1em;
}
h1 img,h2 img,h3 img,h4 img,h5 img,h6 img {
	vertical-align: middle;
}

h1 {	/* IE6 ignores :first-child, so assume one h1 per content */
	margin-top: 0em;
	border-bottom: 1px dashed black;
}

p {
	margin-top: .25em;
	margin-bottom: .5em;
}

acronym {
	border-bottom: 1px dotted black;
	cursor: help;
}

a { color: #504bc6; }
a:link { color: #504bc6; }
a:visited { color: #504bc6; }
a:hover { color: #ff6600; }

a img {
	border: none;
}

.standout {
	margin: 1em 1em;
	border: 1px solid black;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
	padding: 1em;
	background-color: #ffffcc;
	font-size: 90%;
}
.standout ol li {
	margin-bottom: .5em;
}
img.standout {
	padding: 5px;
	background-color: white;
}

.warning {
	background-color: #ffffcc;
	border-color: #ff0000;
}
.error {
	background-color: #ffcccc;
	border-color: #ff0000;
}

ul,ol {
	margin: .5em;
}
ul {
	list-style-type: square;
}
ul li,ol li {
	margin-left: 1em;
}

code {
	display: block;
	white-space: pre;
	border: 1px dotted black;
	padding: 1em;
	background-color: #ffffcc;
}
code .tag {
	color: red;
}
code .data {
	color: blue;
}

/* common values among header, navbar, content, and footer */

#header,.navbar,#content,#footer {
	margin: 10px; padding: 10px;
	clear: both;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
}
#header,.navbar,#footer,#content #transactions,#content .menu {
	font-family: sans-serif;
}

/* header */

#header {
	margin-left: 8em;
	z-index: 10;
}
#header #companyabout {
	width: 14em;
	text-align: right;
	font-size: 90%;
	text-shadow: #333 .2em .2em .5em;
}
#header #companyabout p {
	margin: 0em; padding: 0em;
}
#header #companyabout .companyname {
	margin-bottom: .5em;
	font-size: 175%;
	font-variant: small-caps;
	font-weight: bold;
	white-space: nowrap;
	text-shadow: #333 .3em .3em .5em;
}
#header #overlapping {
	position: absolute; top: .5em; right: 3em;
	width: 275px;
	text-align: right;
}

/* navbar */

#sidebar {
	position: absolute; top: 7.5em; left: 1em; z-index: 10;
	width: 10em;
}

#sidebar .navbar {
	border: 1px solid black;
	padding: 0em;	/* IE6 calculates padding into width */
	margin: 1em 0em;
	margin-right: 1em;
	background-color: #ffcc00;
	background-image: url(/common/menumetal.png);
}
#sidebar .navbar ul {
	letter-spacing: .1em;
	font-size: 90%;
	list-style-type: none;
	margin: 1em;
}
#sidebar .navbar ul ul {
	letter-spacing: 0em;
}
#footer #companylogo {
/*
	position: absolute; top: .5em; left: 25em;
*/
	text-align: center;
	float: left;
	margin-top: -50px;
}
#footer #companylogo img {
	margin-right: 5px;
}
/*
#sidebar .navbar ul li a:hover {
	margin: -1px;
	border: 1px solid black;
}
*/
#sidebar .navbar ul li {
	text-align: right;
	margin: .75em 0em;
}
#sidebar .navbar ul ul {
	border: 1px solid black;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
	background-color: #ffff66;
	margin-top: 0em;
	margin-right: -2em;
	margin-left: -.5em;
	padding-right: 2em;
	font-size: 80%;
}
#sidebar .navbar ul ul li {
	text-align: right;
	margin: .5em 0em;
}
#sidebar .navbar a {
	color: black;
	text-decoration: none;
	font-weight: bold;
}
#sidebar .navbar ul ul li a {
	font-weight: normal;
}
#sidebar .navbar a:link { color: black; }
#sidebar .navbar a:visited { color: black; }
#sidebar .navbar a:hover { color: black; text-shadow: white 0px 0px .5em; }

.boxen .box {
	border: 1px solid black;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
	padding: .75em 1em;	/* IE6 calculates padding into width */
	margin: 0em 1em;
	background-color: #ffff66;
	float: left;
	font-size: 80%;
}

/* content */

#content {
	background-image: url(/common/background-gradiant.jpg);
	background-repeat: repeat-x;
	background-color: white;
	margin: .5em 1em 1em 8.5em;
	border: 1px solid black;
	padding: 1.5em 3em;
	min-width: 400px; min-height: 400px;
}
#content .headingblock {
	padding-left: 20px;
}
#content .headingblock h1,
#content .headingblock h2,
#content .headingblock h3,
#content .headingblock h4,
#content .headingblock h5,
#content .headingblock h6 {
	margin-left: -20px;
}

#content dl.amplespacing {
	padding-bottom: 2em;
}
#content dl.amplespacing dt {
	margin-top: 2em;
	margin-bottom: 1em;
	font-weight: bold;
}

#content form fieldset {
	margin-top: 1em;
	border: 1px solid black;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
	padding: 1em;
	background-color: #ffffcc;
}
#content form fieldset legend {
	border: 1px solid black;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
	padding: .25em 1em;
	background-color: #ffff66;
	font-family: sans-serif;
	font-weight: bold;
}
#content form fieldset label {
	display: inline-block;
	vertical-align: middle;
	margin: auto;
	width: 50%;
	text-align: right;
}
/*
#content form.standout {
	margin: 1em;
	border: 1px dotted black;
	padding: 1em;
	background-color: #ffff66;
}
#content form.standout select,input {
	margin: .25em 0em;
}
#content form.standout {
	margin: 1em;
	border: 1px dotted black;
	padding: 1em;
	background-color: #ffffcc;
}
*/

#content .subnavbar {
	margin-left: -20px;
}
#content .subnavbar a {
	text-decoration: none;
}

#content ul, #content ol {
	margin-top: .5em;
	padding-left: 1em;
}
#content ul li, #content ol li {
	margin-bottom: .5em;
}

#content #gallerysimple {
	text-align: center;
}
#content #gallerysimple #gallerynav {
	margin-top: 2em;
	margin-bottom: 0em;
}
#content #gallerysimple #gallerynav img {
	margin: 0em 2em;
}
#content #gallerysimple #galleryloading {
}
#content #gallerysimple .galleryitem {
	text-align: left;
}

#content #gallery {
	text-align: center;
}
#content #gallery #gallerynav {
	margin-top: 2em;
	margin-bottom: 0em;
}
#content #gallery #gallerynav img {
	margin: 0em 2em;
}
#content #gallery #galleryloading, #content #gallery .galleryitem {
	margin: auto;
	border-top: 2px solid black;
	border-bottom: 2px solid black;
	padding: 1em;
	background-color: #ffff66;
}
#content #gallery ol li {
	margin-bottom: .5em;
}

#content table.paddedtable {
	border-spacing: 1em .5em;
}

#content #transactions {
	min-width: 700px;
	margin-top: 1em; margin-bottom: 1em;
	font-size: 70%;
	clear: both;
	border-collapse: separate;
	border-collapse: !important collapse;
	border-spacing: 0px;
}
#content #transactions tr td,
#content #transactions tr th {
	text-align: left;
	padding: .25em .5em;
	vertical-align: middle;
}
#content #transactions tr th {
	vertical-align: bottom;
}
#content #transactions tr td.dateline {
	padding: .25em .5em;
	border: 1px solid black;
/*
	background-color: #ffcc00;
*/
	background-image: url(/common/menumetal.png);
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
}
#content #transactions tr td.functions {
	background-color: white;
}
/*	doesn't work in IE6
#content #transactions tr td.functions img {
	visibility: hidden;
}
#content #transactions tr:hover td.functions img {
	visibility: visible;
}
*/
#content #transactions tr.odd {
	background-color: #ddddff;
}
#content #transactions tr.even {
	background-color: #eeeeff;
}

#content .newmenu {
	font-family: sans-serif;
}
#content .newmenu .menuitem {
	padding: 1em 0em;
}
#content .newmenu .menuitem .menuicon {
	clear: left;
	float: left;
	width: 96px;
	text-align: center;
}
/*
#content .newmenu .menuitem .menuicon a img {
	opacity: .6; filter: alpha(opacity=60);
}
#content .newmenu .menuitem .menuicon a:hover img {
	opacity: 1.0; filter: alpha(opacity=100);
}
*/
#content .newmenu .menuitem .menuheading {
	margin-left: 96px;
	margin-bottom: .5em;
	font-weight: bold;
}
#content .newmenu .menuitem .menudescr {
	margin-left: 96px;
	margin-bottom: .5em;
}

#content .menu p {
	padding: .5em;
	clear: left;
	min-height: 48px;
}
#content .menu p img:hover {
	border-color: #ffcc00 !important;
}
#content .menu p img {
	border: 1px solid transparent !important;
	border: none;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
	float: left;
	margin-top: -.5em;	/* negates the p padding */
	margin-right: .5em;
	padding: .25em;
}
#content .search input {
	margin: .5em;
}

#content .inputfile {
	border: 1px dotted black;
	padding: .5em;
	background-color: #ddddff;
	white-space: pre;
	overflow: auto;
	font-family: monospace;
	font-size: 90%;
}
#content .inputfile .segment {	color: red; }
#content .inputfile .eledelim {	color: blue; }
#content .inputfile .subdelim {	color: yellow; }
#content .inputfile .recdelim {	color: green; }

#content .report td {
	padding: .25em .5em;
}

#content ul.horizmenu {
	clear: both;
	margin: 3em 0em;
}
#content ul.horizmenu li {
	display: inline;
	float: left;
	margin: 0em .5em;
	padding: .5em .5em;
/*
	border: 1px solid black;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
	background-color: #ffff66;
*/
	text-align: center;
	min-width: 15%;
	min-height: 2.5em;
	font-size: 80%;
	background-image: url(/common/ui/open-lightened.gif);
	background-repeat: no-repeat;
	background-position: center center;
}
#content ul.horizmenu li a {
	text-decoration: none;
	font-weight: bold;
}

#content ol.flowchart {
	margin-left: 0em;
	list-style-type: none;
	display: inline;
}
#content ol.flowchart li {
	margin-left: 0em;
	display: inline;
}
#content ol.flowchart li a {
	display: block;
	float: left;
	font-family: sans-serif;
	font-size: 80%;
	text-align: center;
	vertical-align: middle;
	margin: .5em;
	border: 1px solid black;
	-moz-border-radius: 9px; -webkit-border-radius: 9px;
	padding: .5em;
	background-color: #ffff66;
	text-decoration: none;
}

/* footer */

#footer {
	text-align: right;
	font-size: smaller;
	font-style: italic;
}


/* popup message box */
/* 20091104 DWH would like fixed, but IE6 treats it like relative */
#popup {
    position: absolute; top: 0px; left: 0px;
    width: 100%; height: 100%;
    text-align: center;
    font-family: sans-serif;
	cursor: default;
}
#popup #popupbox {
    width: 25em;
    z-index: 100;
    margin: auto;
    margin-top: 10em;
    background-color: #ccccff;
    border: 5px solid #9999ff;
    -moz-border-radius: 9px; -webkit-border-radius: 9px;
    padding: 1em;
}
#popup #popupbox #popupmsg {
}
#popup #popupbox #popupok {
    margin: auto;
    margin-top: 3em;
    border: 1px solid #9999ff;
    -moz-border-radius: 9px; -webkit-border-radius: 9px;
    padding: .25em .5em;
    background-color: #9999ff;
    color: white;
    font-weight: bold;
    width: 5em;
    text-align: center;
}
#popup #popupbox #popupok:hover {
}

@media print {
#header,#content,#footer {
	margin-left: 0em;
	margin-right: 0em;
}
.navbar {
	display: none;
}
}

@media handheld {
#header #overlapping {
	display: none;
}
}
