/*
	CSS for Northwest Diving Institute site
*/

body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	background-color: #E2EDFF;
	line-height: 125%;
	padding: 0;
	margin: 0;
}

h1, h2, h3 {
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}

h1 {
	font-size: xx-large;
	background-color: navy;
	color: white;
	padding-top: .5em;
	padding-bottom: .3em;
	padding-left: .5em;
	margin: 0;
	background: navy url(../backgrounds/header-bg.jpg) repeat-y right bottom;
}

h2 {
	color: navy;
	font-size: 130%;
	font-weight: normal;
	padding-top: .5em;
}

li {
	font-size: small;
	list-style-type: none;
}

.post-body div, p {
	font-size: small;
	color: navy;
}

.post-footer {
	font-style: italic;
}

#tagline p {
	font-weight: normal;
	font-style:  normal;
	font-size:  medium;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	border-top: .2em solid #7DA5D8;
	border-bottom: .2em solid #7da5d8;
	padding-top: .3em;
	padding-bottom: .3em;
	padding-left: 1em;
	margin: 0;
	background: #BED8F3 url(../backgrounds/tagline-fade.jpg) repeat-y right;
}

#tagline a {
	color: navy;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	text-decoration: none;
	font-weight: normal;
	font-style:  normal;
	margin-right: 2em;
}

#tagline a:hover {
	color: white;
	background-color: #BED8F3;
}

#tagline a:active {
	color: white;
	background-color: #BED8F3;
}

em {
	text-transform: uppercase;
}

a {
	font-weight: bold;
	text-decoration: none;
}

a:link {
	color: black;
}

a:visited {
	color: navy;
}

a:hover {
	color: white;
	background-color: navy;
}

a:active {
	color: aqua;
	background-color: navy;
}

.fun {
	color: #339999;
	font-family: Georgia, Times, serif;
	letter-spacing: 0.05em;
}

.certified {
	font-size: 40%;
}

.right {
	text-align: right;
}

.center {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

.bolditalic {
	font-weight: bold;
	font-style:	italic;
}

.notetext {
	line-height: 100%;
	font-weight: bold;
	font-style:	italic;
	font-size: 75%;
}

blockquote.fun {
	font-style: italic;
}

#navigation {
	width: 180px;
	height: 484px;
	background: #7da5d8 url(../backgrounds/nav-bg.jpg) no-repeat;
}

h2, ul {
	margin-top: 1em;
}

#header {
	border-top: .2em solid #7da5d8;
}

img.feature-right {
	float: right;
	margin-left: 2em;
	margin-top: 1em;
	margin-right: 1em;
	margin-bottom: .5em;
}

img.feature-left {
	float: left;
	margin-right: 2em;
	margin-top: 0;
	margin-bottom:.5em;
 }

.captionphoto {
	float: right;
	margin-top: 1em;
	margin-left: 2em;
	margin-right: 1em;
	margin-bottom: 1em;
	padding: 0;
}

.captionphoto p {
	font-size: 65%;
	line-height: 130%;
	font-weight: bold;
	text-align: center;
	margin:  0;
	padding: 0;
}

.captionphoto span {
	font-weight: normal;
	color: gray;
}

.captionphoto a {
	background: none;
	padding: 	0;
	margin:  	0;
	border:  	0;
}

.captionphoto img {
	background: none;
	padding: 	0;
	margin:  	0;
	border:  	0;
}

.galleryphoto {
	padding-bottom: 1em;
	border-bottom: .1em solid navy;
	margin-bottom: 2em;
}

.galleryphoto p {
	font-size: 65%;
	font-weight: bold;
	margin-top: 0;
	width: 430px;
	line-height: 1.4em;
}

.galleryphoto p span {
	font-weight: normal;
	color: gray;
}

.galleryphoto img {
	border: 1em solid white;
}

table.events {
	border-collapse: collapse;
}

table.events th, table.events td {
	padding: 4px;
	border: 1px solid #000066;
}

table.events th {
	font-size: x-small;
	text-align: center;
	background: #241374 url(../backgrounds/header-bg.jpg);
	color: #ffffff;
	padding-top: 0;
	padding-bottom: 0;
}

table.events td {
	font-size: small;
	background: #e2edff url(../backgrounds/td.jpg) repeat-x bottom;
}

table.events caption {
	color: #000066;
	font-size: small;
	font-weight: bold;
	text-align: left;
	padding-bottom: 5px;
}

table.events ul, table.events li {
	padding: 0;
	margin: 0;
}

table.members {
	border-collapse: collapse;
}

table.members th, table.members td {
	padding: 4px;
	border: 1px solid #000066;
}

table.members th {
	font-size: x-small;
	text-align: center;
	background: #241374 url(../backgrounds/header-bg.jpg);
	color: #ffffff;
	padding-top: 0;
	padding-bottom: 0;
}

table.members td {
	font-size: x-small;
	background: #e2edff url(../backgrounds/td.jpg) repeat-x bottom;
}

table.members caption {
	color: #000066;
	font-size: small;
	font-weight: bold;
	text-align: left;
	padding-bottom: 5px;
}

table.members ul, table.members li {
	padding: 0;
	margin: 0;
}

table.members a {
	background: none;
	padding: 	0;
	margin:  	0;
	border:  	0;
}

table.members img {
	background: none;
	padding: 	0;
	margin:  	0;
	border:  	0;
}

form.post fieldset {
	border: 2px solid navy;
	padding: 10px;
}

form.post legend {
	font-weight: bold;
	font-size: small;
	color: navy;
	padding: 5px;
}

form.post {
	padding: 0;
	margin: 0;
	margin-top: -15px;
	line-height: 150%;
}

form.post label {
	font-weight: bold;
	font-size: small;
	color: blue;
}

form.post label.fixedwidth {
	display: block;
	width: 200px;
	float: left;
}

form.post .buttonarea input {
	background: navy;
	color: white;
	font-weight: bold;
	padding: 5px;
	border: 1px solid white;
}

form.post .buttonarea {
	text-align: center;
/* padding: 4px;
	background-color: #0066FF;
*/
}

form.contact fieldset {
	border: 2px solid navy;
	padding: 10px;
}

form.contact legend {
	font-weight: bold;
	font-size: small;
	color: navy;
	padding: 5px;
}

form.contact {
	padding: 0;
	margin: 0;
	margin-top: -15px;
	line-height: 150%;
}

form.contact label {
	font-weight: bold;
	font-size: small;
	color: blue;
}

form.contact label.fixedwidth {
	display: block;
	width: 180px;
	float: left;
}

form.contact .buttonarea input {
	background: navy;
	color: white;
	font-weight: bold;
	padding: 5px;
	border: 1px solid white;
}

form.contact .buttonarea {
	text-align: center;
/* padding: 4px;
	background-color: #0066FF;
*/
}

form.register fieldset {
	border: 2px solid navy;
	padding: 10px;
}

form.register legend {
	font-weight: bold;
	font-size: small;
	color: navy;
	padding: 5px;
}

form.register {
	padding: 0;
	margin: 0;
	margin-top: -15px;
	line-height: 150%;
}

form.register label {
	font-weight: bold;
	font-size: small;
	color: blue;
}

form.register label.fixedwidth {
	display: block;
	width: 180px;
	float: left;
}

form.register .buttonarea {
	text-align: center;
}

form.login fieldset {
	border: 2px solid navy;
	padding: 10px;
}

form.login {
	padding: 0;
	margin: 0;
	margin-top: -15px;
	line-height: 150%;
}

form.login legend {
	font-weight: bold;
	font-size: small;
	color: navy;
	padding: 5px;
}

form.login label {
	font-weight: bold;
	font-size: small;
	color: blue;
}

form.login label.fixedwidth {
	display: block;
	width: 220px;
	float: left;
}

form.login input.fixedwidth {
	size: 32;
}

form.login .buttonarea input {
	background: navy;
	color: white;
	font-weight: bold;
	padding: 5px;
	border: 1px solid white;
}

form.login .buttonarea {
	text-align: center;
}

#search {
	position: absolute;
	top: 7.1em;		/* default: msie */
	right: 1em;
	font-size: x-small;
	font-weight: bold;
	color: #000066;
}

/*
This section deals with the position of items on the screen.
It uses absolute positioning - fixed x and y coordinates measured from the
top-left corner of the browser's content display.
*/

#navigation, #bodycontent, #bodycolumn1, #bodycolumn2, #header {
	position: absolute;
}

#navigation, #bodycontent, #bodycolumn1, #bodycolumn2 {
	top: 6.4em;		/* default: msie */
}

#bodycontent {
	left: 200px;
}

#bodycolumn1 {
	top: 18em;
	left: 200px;
}

#bodycolumn2 {
	top: 18em;
	left: 600px;
}

#header {
	width: 100%;
}

iframe {
	float: right;
	margin: 1em;
	margin-top:2em;
}

#moonphase {
	float: right;
	margin: 1em;
}

#tidetable {
	float: right;
	padding:0;
	margin: 2em;
}

.alert p {
	color: red;
	font-weight: bold;
	font-style:  normal;
	font-size:   medium;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	border: .2em solid #7DA5D8;
	padding: .5em;
	margin: 0;
/*
	width: 480px;
*/
}

.alert a {
	color: navy;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	text-decoration: none;
	font-weight: normal;
	font-style:  normal;
	margin-right: 2em;
}

.alert a:hover {
	color: white;
	background-color: #BED8F3;
}

.alert a:active {
	color: white;
	background-color: #BED8F3;
}

.resources a {
	font-weight: normal;
	font-style:  normal;
	text-decoration: none;
}

.resources a:hover {
	color: white;
	font-weight: bold;
	background-color: navy;
}

.resources a:active {
	color: white;
	font-weight: bold;
	background-color: navy;
}

.resources h3 {
	color: navy;
	margin-bottom: .25em;
	font-weight: normal;
}

.resources ul {
	list-style-type: none;
	margin-left: 1em;
	padding: 0;
}


