/* colors:
dark blue: 	rgb(0, 153, 177)
light blue:	rgb(153, 204, 204)
orange:		rgb(246, 140, 88)
dark grey:	rgb(88, 84, 103)
light grey:	rgb(232, 229, 211)
*/

/* Typography and colours */
body {
	background-color: rgb(0, 153, 177);
	font-family: "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, Sans-serif;
	text-align: center;
}

#page {
	background: white url(images/page_bg.gif) repeat-y right;
	border-left: 1px solid gray;
	color: #555;
	text-align: left;
}

#banner { background: white url(images/banner.jpg) no-repeat left top; }
#banner-top { background-color: transparent; }
#banner-middle { background: rgb(246, 140, 88) url(images/sticking.gif) no-repeat left; }

#header-bottom {
	background: rgb(153, 204, 204) url(images/banner_bottom.gif) no-repeat left;
	border-top: 6px solid rgb(246, 140, 88);
	color: white;
}

#banner-bottom {
	margin: 0;
	padding: 0;
	padding-top: 6px;
	background-color: rgb(246, 140, 88);
	height: 61px;
}

#banner-bottom p {
	margin: 0;
	margin-left: 188px;
	padding: 0;
	padding-left: 40px;
	padding-top: 10px;
	background-color: #9cc;
	color: white;
	height: 55px;
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
	white-space: nowrap;
	overflow-x: hidden;
}

/* this now in head.html in order to insert random digit */
/* #header { background: white url(images/testimonials/testimonial-1.jpg) no-repeat right top; } */
#body { background: white url(images/body_bg.gif) repeat-y left; }

#left-sidebar {
	background-color: rgb(232, 229, 211);
	text-align: center;
}

#navigation {
	border-bottom: 2px solid white;
	text-align: left;
}

#navigation a:link,
#navigation a:visited {
	background: transparent;
	border-left: 6px solid rgb(232, 229, 211);
	color: rgb(88, 84, 103);
	text-decoration: none;
}

#navigation a:hover,
#navigation a:active {
	background: transparent;
	border-left: 6px solid rgb(246, 140, 88);
	color: rgb(88, 84, 103);
	text-decoration: none;
}

#navigation a:hover { background: white; }
#search { border-bottom: 2px solid white; }

#left-sidebar p, #content p, #content table, #content li {
	font-size: 0.75em;
 }

#fine-print {
	border-top: 1px solid rgb(88, 84, 103);
	padding-top: 12px;
	font-size: x-small;
 }

#fine-print p {
	font-size: x-small;
 }

#footer {
	background-color: rgb(246, 140, 88);
	border-bottom: 2px solid rgb(88, 84, 103);
	color: white;
	font: bold 0.6em "Lucida Grande", Verdana, Arial, Sans-serif; /* del */
	text-align: right;
}

a, a:link, a:visited {
	color: rgb(0, 153, 177);
	text-decoration: none;
}

a:active {
	color: rgb(0, 153, 177);
	text-decoration: none;
}

a:hover {
	color: rgb(0, 153, 177);
	text-decoration: underline;
}

blockquote {
	font-family: Georgia, Times, serif;
	/*font-style: italic;*/
}

blockquote p { 
	text-indent: 20px; 
}

/* Headers */
#location {
	font: bold 1.1em "Trebuchet MS", Verdana, Arial, Sans-serif;
	margin-top: 12px;
	position: relative;
}

h1 {
	color: white;
	font: bold 0.9em "Trebuchet MS", Verdana, Arial, Sans-serif;
	background: rgb(153, 204, 204);
	padding: 5px 10px 5px 10px;
}

h1 img, a img {
	padding-right: 4px;
	vertical-align: middle;
}

h1 a, h1 a:link, h1 a:visited, h1 a:active, h1 a:hover { color: white; }

h2 {
	color: #333;
	font: bold 0.8em "Trebuchet MS", Verdana, Arial, Sans-serif;
	margin-left: 10px;
	margin-bottom: 0px;
}

/* Images */
img { border-style: none; }


/* Structure */
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

#page {
	height: 200%;
	width: 90%;
	min-width: 768px;
	margin: auto;
	padding: 0;
}

#banner {
	height: 316px;
	margin: 0;
	margin-right: 12px;
	padding: 0;
	vertical-align: top;
}

#banner-top { height: 73px; }

#banner-middle {
	height: 182px;
	margin-left: 600px;
}

#header {
	height: 178px;
	margin: 0;
	margin-right: 12px;
	padding: 0;
	vertical-align: top;
}

#header-bottom {
	height: 58px;
	padding-left: 220px;
	white-space: nowrap;
}

#body {
	height: 100%;
	margin-right: 12px;
}

#left-sidebar {
	height: 100%;
	width: 188px;
	margin: 0;
	margin-right: 5px;
	padding: 0;
	float: left;
}

#navigation {
	margin: 0 12px 12px 12px;
	padding: 24px 0 24px 0;
}

#search { margin: 0 12px 12px 12px; }

#search p {
	margin: 0;
	padding: 3px 0 3px 0;
}

#footer {
	margin-right: 12px;
	padding-top: 1px;
	padding-right: 32px;
}

/* Lists */
#navigation ul {
 	font-family: "Trebuchet MS", Verdana, Arial, Sans-serif;
 	font-weight: bold;
	line-height: 1.25em;
	list-style: none;
	margin: 0;
	padding-left: 20px;
}

#navigation ol {
 	font-family: "Trebuchet MS", Verdana, Arial, Sans-serif;
 	font-weight: bold;
	line-height: 1.25em;
	margin: 0;
	padding-left: 20px;
}

#navigation li {
	padding-left: 6px;
	padding-bottom: 2px;
}

#content {
	background-color: white;
	height: 100%;
	min-height: 392px;
	width: auto;
	margin-left: 188px;
	padding: 6px 24px 24px 24px;
}

#content > p, cite {
	margin-right: 20px;
	margin-left: 20px;
}

#content td { padding-right: 30px; }

#content li {
	padding-left: 6px;
	padding-bottom: 2px;
}

#content li * { /* jsn */
	font-size: inherit;
	line-height: inherit;
}

#content dt {
 	color: #333;
	font: bold 0.8em "Trebuchet MS", Verdana, Arial, Sans-serif;
	margin-left: 10px;
	margin-bottom: 0px;
	/*list-style-type: decimal;*/
}

#content dd {
/* 	padding-left: 10px; /**/
	margin-bottom: 0px;
	/*list-style-type: decimal;*/
}

#content dd li {
	margin: 0.5em;
}

#right-sidebar {
	padding: 0;
	border-bottom: 1px solid rgb(232, 229, 211);
}

#right-sidebar ul {
	padding: 0;
}

#right-sidebar li {
	display: inline;
	font-size: 0.65em;
	font-weight: bold;
}

/* Form elements */
#search input {
	margin: 0;
	padding: 0;
}

/* Tags and classes */
.hide { display: none; }

.info {
	border: 2px solid rgb(246, 140, 88);
	color: black;
	padding: 20px;
	margin: 10px;
}

.sourcecodebox {
	font-family: monaco, "Courier New", courier, monospace;
	border: 1px solid #c7cfd5;
	background: #f1f5f9;
	margin-right: 20px;
	margin-left: 20px;
	padding: 8px;
	text-align: left;
}

.note {
	border-left: 2px solid rgb(246, 140, 88);
	color: black;
	padding: 0 40px 0 20px;
	margin-left: 10px;
}

div.note { /* jsn */
	border-left: 2px solid rgb(246, 140, 88);
	color: black;
	padding-left: 1.25em;
}

.no-margin {
	margin: 0;
	padding: 0;
}

/* Large Tables */

table.compact { 
	padding-right: 0px; 
	padding-left: 0px; 
	padding-bottom: 0px; 
	margin-left: 3px; 
	width: 90%; 
	padding-top: 0px;
	font-size: inherit;
background-color: Yellow;
}

td.middle { 
	vertical-align: middle; 
}

td.compact, td.ultracompact { 
	padding-right: 2px; 
	padding-left: 2px; 
	padding-bottom: 2px; 
	vertical-align: top; 
	color: rgb(75, 75, 75); 
	padding-top: 2px; 
	text-align: left;
 }

td.compact { 
	font-size: 11px;
 }

td.ultracompact { 
	font-size: 10px;
 }

tr.gray { 
	vertical-align: top; 
	font-weight: bold 
}

tr.header { 
	font-weight: bold 
}

