body,table,input,textarea,select {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 0;
}

h2 {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
}

h3 {

	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight:bold;
}


/*  STYLES FOR Sailors.ASP  */

#mainBody {
	width: 818px;
	margin-left: auto;
	margin-right: auto;
}

#headerRow {
	height: 30px;
	width: 100%;
	float: left;
	text-align: right;
}

#contentRow {
	width: 100%;
}

#headerRow ol {
	margin: 0;
	padding: 0;
}

#headerRow li {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}
					
#sailors {
	float: left;
	height: 552px;
	width: 222px;
	background-image: url(../images/sailorprofile_02.gif);
	background-repeat: no-repeat;
	padding-top: 50px;
	padding-left: 20px;
	overflow: hidden;
}

#sailors span {
	display:none;
}

#autoBiography {
	float: right;
	height: 152px;
	width: 576px;
	background-image: url(../images/sailorprofile_04.gif);
	background-repeat: no-repeat;
}

#autoBiography span {
	display:none;
}

#achievements {
	float: right;
	height: 125px;
	width: 576px;
	background-image: url(../images/sailorprofile_05.gif);
	background-repeat: no-repeat;
}


#achievements span {
	display:none;
}

#sailedWith {
	float: right;
	height: 113px;
	width: 576px;
	background-image: url(../images/sailorprofile_06.gif);
	background-repeat: no-repeat;
}

#sailedWith span {
	display:none;
}

#footerRow {
	height: 30px;
	width: 100%;
	float: left;
}

/* SAILOR PROFILE */

#sailorProfile {
	float: right;
	height: 202px;
	width: 576px;
	background-image: url(../images/sailorprofile_03.gif);
	background-repeat: no-repeat;
}

#sailorProfileHeader {
	float: left;
	width: 278px;
	padding-top: 26px;
	padding-left: 20px;
	height: 14px;
}

#sailorProfileHeader span {
	display:none;
}

#sailorProfileName {
	float: right;
	width: 278px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #003366;
	font-size: 14px;
	padding-top: 26px;
}

#sailorProfileAddress {
	float: left;
	width: 278px;
	padding-left: 20px;
	padding-top: 10px;
	overflow: auto;
}

#sailorProfileContact {
	float: right;
	width: 258px;
	padding-top: 10px;
	overflow: hidden;
	padding-right: 20px;
}

#sailorProfileAddress IMG {
	width: 100px;
	height: 133px;
	border: 1px solid black;
	float: left;
}
#autoBiographyHeader {
	height: 30px;
}
#autoBiographyContent {
	padding-left: 20px;
	height: 115px;
	padding-right: 20px;
	overflow: auto;
}
#achievementsHeader {
	height: 30px;
}
#achievementsContent {
	padding-left: 20px;
	height: 85px;
	padding-top: 5px;
}
#sailedWithHeader {
	float: left;
	width: 100%;
	height: 30px;
}
#sailedWithContent {
	float: left;
	width: 278px;
	padding-left: 20px;
	overflow: auto;
	height: 70px;
}
#sailedWithOther {
	float: right;
	width: 278px;
	height: 70px;
}

/* BUTTONS-- */

#navButtons {
	float: left;
	height: 30px;
	width: 242px;
}

#editButtons {
	float: right;
	height: 30px;
	width: 576px;
}

#prevButton {
	background-image: url(../images/prev.gif);
	background-repeat: no-repeat;
	float: left;
	background-position: left;
	width: 33%;
	height: 30px;
}
#nextButton {
	background-image: url(../images/next.gif);
	background-repeat: no-repeat;
	float: right;
	width: 33%;
	background-position: right;
	height: 30px;
}
#addNewButton {
	background-image: url(../images/addnew.gif);
	background-repeat: no-repeat;
	float: left;
	width: 33%;
	background-position: center;
	height: 30px;
}

#editProfileButton {
	background-image: url(../images/editinfo.gif);
	background-repeat: no-repeat;
	background-position: right;
	height: 30px;
	width: 80px;
	float: right;
}

#prevButton span {
  display:none;
}

#addNewButton span {
  display:none;
}

#nextButton span {
  display:none;
}

#editProfileButton span {
	display: none;
}

/* --BUTTONS  */

/* --Styles for Sailors.asp */

#editSailorForm fieldset
{
	float: left;
	display: block;
	margin: 0 5px 1em 0;
	padding: 0 1em 1em 1em;
}

#editSailorForm fieldset.shortForm
{
	width: 25%;
}

#editSailorForm fieldset.longForm
{
	width: 65%;
}

#editSailorForm input
{
	position: relative;
	top: -1.4em;
	left: 8em;
	display: block;
}

#editSailorForm textarea
{
	position: relative;
	top: -1.4em;
	left: 8em;
	display: block;
}

#editSailorForm legend {
	color:#000033;
	font-weight:bold;
	background-color:#eeeeee;
	border: 1px solid #cccccc;
	padding: 2px;
}

#editSailorForm label
{
	clear: both;
	float: left;
	display: block;
	width: 8em;
	margin-top: -1em;
	font-weight: bold;
}

.confirmation {
	position: relative;
	top: -1.4em;
	left: 8em;
	display: block;
}

#editSailorForm label.first
{
	margin-top: 1em;
}

#editSailorForm select
{
	position: relative;
	top: -1.4em;
	left: 8em;
	display: block;
}
.warningMessage {
	color: #FF6600;
	background-color: #FFFFCC;
	border: 1px outset #000000;
	padding: 10px;
}

.warningMessage li {
	margin-left: 20px;
}

img.photo {
	border: 1px solid #000000;
	vertical-align: middle;
	float: right;
}

#totalRecords {
	color: #FF0000;
}

.sailorListMember a:visited, .sailorListMember a:link, .sailorListMember a:active{
	color: #000000;
}

.sailorListNonMember a:visited, .sailorListNonMember a:link, .sailorListNonMember a:active {
	color: #9f9f9f;
}
#editSailorForm fieldset.fullForm {

	width: 100%;
}

img.emoticon {
	background-color: #ffffff;
	border: 1px solid #7f7f7f;
}

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #EFEFEF; }
td.row2	{ background-color: #DEE3E7; }
td.row3	{ background-color: #D1D7DC; }

td.rowpic {
		background-color: #FFFFFF;
		background-image: url(../images/cellpic2.jpg);
		background-repeat: repeat-y;
}

th	{
	color: #ffffff; font-size: 11px; font-weight : bold;
	background-color: #006699; height: 25px;
	background-image: url(../images/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(../images/cellpic1.gif);
			background-color:#D1D7DC; 
			border: #FFFFFF; 
			border-style: solid; 
			height: 28px;
}

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

.firstPlace {
	color: #ff0000;
	font-weight: bold;
}

.discards {
	text-decoration: line-through;
}
#passwordBox {
	border: 1px solid black;
	background-color:#EEEEEE;
	position: absolute;
	width: 600px;
	height:200px;
	margin-left: -300px;
	margin-top: -120px;
	left: 50%;
	top: 50%;
	z-index: 2;
	padding: 1em;
	filter:progid:DXImageTransform.Microsoft.dropshadow(Color='gray', OffX=5, OffY=5, Positive='true');
}
