/*******************************************************************
 * Layout for Captain's Quarters                                   *
 *-----------------------------------------------------------------*
 * Major classes in this layout:                                   *
 *   1. Header                                                     *
 *   2. Content                                                    *
 *   3. Sidebar                                                    *
 *   4. Footer                                                     *
 *-----------------------------------------------------------------*
 * Built by JLP, June 2005                                         *
 *******************************************************************/

/********** General document defaults **********/

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}

body {
	font-family: verdana, tahoma, helvetica, arial, sans-serif;
	text-align: left;
	color: black;
	background-image: url(images/bg.gif);
	background-repeat: repeat-y;
	font-size: 10pt;
}

h1, h2, h3 {
	font-family: "trebuchet ms", tahoma, sans-serif;
	font-weight: bold;
}

h1 {
	color: #4080ff;
	font-size: 150%;
}

h2, h3 {
	color: #4080ff;
	border-color: #0080ff;
	border-bottom-style: none;
}

h2 {
	font-size: 125%;
}

h3 {
	font-size: 110%;
}

img, a.img {
	border: none;
	border-bottom-style: none;
}

a {
	color: #4080ff;
}
a:link {
}
a:visited {
}
a:hover {
	background-color: #e8f0ff;
}
a:active {
	color: #4f4f4f;
}

input:focus, 
select:focus, 
textarea:focus {
	background-color: #ffffff;
}

/********** Header **********/

#header {
	font-weight: bold;
	padding: 1.5mm;
	position: relative;
}

/********** Content **********/

#wrapper {
	display: block;
	clear: none;
	margin-right: 1em;
	min-width: 600px;
	max-width: 800px;
	margin-left: 170px;
	position: absolute; 
	top: auto;
}

#content {
	display: block;
	position: relative;
	margin: 1em;
	text-align: left;
}

.rightpic {
	display: block;
}

.rightpic img {
	float: right;
	vertical-align: middle;
}

.rightpic p {
	padding-right: 10px;
	padding-top: 10px;
	vertical-align: middle;
}

.leftpic {
	display: block;
}

.leftpic img {
	float: left;
	padding-right: 20px;
}

.leftpic p {
	padding-top: 10px;
	padding-left: 20px;
}

.clearing {
	height: 1px;
	clear:both;
}

table {
	border: 1px solid black;
	margin: 4px;
	padding: 2px; 
	width: 100%;
	font-size: 90%;
}

table td {
	text-align: center;
}

.centered {
	display: block;
}

.centered img, .centered p {
	text-align: center;
}

/********** Sidebar **********/

#sidebar {
	padding: 0;
	float: left;
	text-align: center;
	width: 150px;
	margin-top: 1em;
	position: absolute;
}

#sidebar a {
	text-decoration: none;
	color: yellow;
	font-weight: normal;
}

#sidebar a:hover {
	font-weight: bold;
	color: green;
}

#sidebar p {
	margin: 0.2em;
	color: white;
}

/********** Footer **********/

#footer {
	padding-top: 0.1ex;
	font-weight: normal;
	font-size: 85%;
	font-style: italic;
	line-height: 1em;
	text-align: center;
	clear: both;
}

/********** Forms **********/

form {
	width: 600px;
	width: 70%;
	margin: 0;
}

form div.row {
	padding-top:	3px;
	clear: both;
}

form span.label {
	float:	left;
	text-align: right;
	width: 35%;
}

form span.data {
	float: right;
	text-align: left;
	width: 65%;
}

form input, form button {
	font-size: 80%;
}

form a {
	background-color: #e8f0ff;
	border: 1px solid #c0c0ff;
	padding: 0.1em;
	text-decoration: none;
}

form a:hover {
	background-color: #ccffcc;
	font-weight: bold;
}

.forming {
	margin-left: 50px;
	border: 1px solid #0080ff;
	padding: 1px;
	width: 400px;
}

#goldkey {
	text-align: center;
}

#extreme {
	text-align: center;
}