/* Charlestown Diving Academy Website */

body {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #000000;
	text-align: center;  /* Win IE5 hack along with text-align in wrapper *//*	border-top: 1px solid #000;*/
}
html, body, #contents {
	min-height: 100%;
	width: 100%;
	height: 100%;
}

html>body, html>body #contents {
	height: auto;
}

/* =STRUCTURE */
#wrapper {
	width: 1000px;
	margin-left:auto;  
	margin-right:auto;
	text-align:left; /* Win IE5 hack along with text-align in body */
	background-color:#ffffff;
	/*border-left:1px solid #f3e7e9;
	border-right:1px solid #f3e7e9;*/
	background-image: url(media/friday7-merged.jpg); 	/* 2008-05-16 causes the background colour of nav to extend to bottom of page */
	background-repeat:repeat-y;				/* causes the background colour of nav to extend to bottom of page */
}

/* ======================== HEADER ======================== */
#header {
	/*	border-top: 1px solid #778899; */
/*	border-bottom: 1px dotted #B2BCC6; */
	background-color: #D8E7F3;
	/*	background-image: url(media/headerbk.jpg);*/
	height: 150px; /* same height as logo */
}
/*#header .strapline {
	font-size: 1.4em;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-style: italic;	
	color: #e40301;
	background-color: transparent;
	float: right;
	margin-right: 2em;
	margin-top: 0.5em;
}
.strapline .strapline2 {
	font-size: 0.7em;
	font-weight: normal;
	word-spacing: 0.3em;
}*/

#header .logo {
	float: left;
/*	margin-left: 1em; /* same as nav margin-left */
/*	margin-top: 5px;*/
	vertical-align: middle;
}

/* ======================== LEFT NAVIGATION ======================== */
#nav {
	/*text-align: top;*/	
	/*position: absolute;
	top: 106px; */ /* same height as logo (and header) plus any margins and padding of header */
	/*left: 1em;	 same as logo margin-left */
	/*width: 14em; */
	/*width: 238px;*/
	/*background-color: #FF0000; 2008-05-16 */	
	/*padding-left: 10px; Don't do padding here due to browser differences. Do in H2 */

}
#nav ul {
	list-style: none;
	padding-left: 0px;
	margin-top: 0em;
	margin-bottom: 0.4em;
}
#nav li {
	font-size: 1em;
	text-indent: 0px;
	line-height: 1.6em;
	/*border-bottom: 1px solid #e40301;*/
/*	border-bottom-style:solid;
	border-bottom-width:1px;
	border-bottom-color: #CCCCCC;
	margin-bottom: 0.3em;
*/}
#nav a{
	display:block;  /* causes hover to extend to the right */
	height:1.6em;   /* causes hover linkable to extend to the right */
	width: 100%;
	margin:4px 4px 4px 0px;
	padding-left: 0px;
	text-indent: 0px;
}
#nav li a:link {
	text-decoration: none;
	color: #ffffff;
	background-color: transparent;
}
#nav li a:visited {
	text-decoration: none;
	color: #ffffff;
	background-color: transparent;
}
#nav li a:hover {
	color: #000000;
	background-color:#ffffff;
	/*font-style: oblique;*/
}
#nav h2 {
	font-size: 1em; /* not having any affect */
	font-family:Geneva, Arial, Helvetica, sans-serif;
	color: #ffffff;
	background-color: transparent;
	margin-top: 0.1em;
	margin-bottom: 0.1em;
	padding-left: 3px;	/*line-height: .5em;	/*
	/*border-bottom: 1px groove #e40301;*/
}

#nav h2 a:link {
	text-decoration: none;
	color: #ffffff;
	background-color: transparent;
}
#nav h2 a:visited{
	text-decoration: none;
	color: #ffffff;
	background-color: transparent;
}
#nav h2 a:hover {
	color: #000000;
	background-color:#ffffff;
}

/* ======================== FOOTER ======================== */
#footer {
	position: relative;
	width:1000px;  				/* same as wrapper  */
	margin-left:auto; 			/* same as wrapper */
	margin-right:auto; 			/* same as wrapper */
	/*border:1px solid #f3e7e9;*/ 	/* same as wrapper */
	clear:both;
	/*	padding-top: 10px;
	padding-bottom: 10px;
*/	text-align:center;
	font-size: 0.9em;
	color: #000;
	background-color: #FFFFFF;
	height: 38px;  /* only affects firefox */
	/*background-image: url(media/footerbk.jpg);*/	/*padding:20px 20px 20px 20px;*/
}


#footer .footertext {
	padding: 0em 1em 0em 1em;
	font-size: 0.8em;
	vertical-align:text-bottom;
	line-height: 2em;
	margin-bottom:2em;
}
#footer a:link, #footer a:visited {
	/*padding: 0em 1em 0em 1em;*/
	font-size: 1em;
	color: #000000;
	/*background-color: transparent;
	vertical-align: text-top;*/
}
#footer a:hover {
	text-decoration: none;
}


/* ======================== CONTENT ======================== */

#content {
	/*margin-left: 15em;*/  /* related to nav width */
/*	margin-right: 2em;
	padding-left: 1em;
*/}

#content h1, h2, h3{
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color:#4286C4;
}
#content h1 {
	font-size: 1.6em;
	border-top-width: thin;
	border-top-color: #FF0000;
	border-top-style: solid;
	margin-top: 1.5em;
	padding-top: .5em;
}
#content h2 {
	font-size: 1.2em;
}
#content h3 {
	font-size: 1.1em;
	/*padding-left: 1.2em;*/
}
#content p {
	font-size: 0.9em;
	line-height: 1.6em; 
	padding-left: 1.2em;
}
#content p em {
	color: #4286C4;
	font-weight: bold;
	font-style: normal;
}
#content li em {
	color: #4286C4;
	font-weight: bold;
	font-style: normal;
}
#content ul {
	font-size: .9em;
	line-height: 1.6em;
	margin-left: 50px;
}
#content ul ul {
	font-size: .95em;
	line-height: 1.6em;
	margin-left: 50px;
}
#content .li2{
	margin-left: 50px;
	list-style-type: circle;
}
#content .minor {
	font-size: 0.9em;
	line-height: 1.3em;
	margin-top: 0;
	padding-left: 0;
}
#content ol {
	font-size: .9em;
	line-height: 1.6em;
	margin-left: 50px;
}


/* ==== Links ==== */
#content a:link {			/* unvisited */
	color:#004080;
}    
#content a:visited {		/* visited - use default purple*/
	/*color:#663399;*/
} 
#content a:hover {			/* cursor over */
	color:#778899;
	font-size: 1em;
}
#content a:active {
	font-size: 1em;
	font-weight: bold;
} 

#content .topstyle {		/* link to top at bottom of every long page */
	float:right;
	margin-left: 5px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
}
/*
.topstyle a:link {color: #94b0a2} 
.topstyle a:visited {color: #94b0a2}
.topstyle a:active {color:#ac94a4}
*/

/* images */
img { border:0; }

#content .imagert {
	float:right;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 8px;
}
#content .imageleft {
	float:left;
	margin-top: 5px;
	margin-right: 8px;
	margin-bottom: 5px;
	margin-left: 0px;
}
.imagectr {
	display: block;
	margin: auto;
	text-align: center;
}

.imageborder {
	border-color:#333333;
	border-width:thin;
	border-style:groove;
}

#content .newsboxleft {
	float:left;
	display: block;
	margin: 1em 1em 1em 0em;
	/*position:relative;
	float:right;*/
	padding: 1em 1em 1em 1em;
	margin: 1em 1em 1em 0em;
	top: 0px;
	left: 0px;
	width: 400px;
	background-color: #FF0000;	/*border: 1px solid #004080;*/
}
#content .newsboxrt {
	float:right;
	display: block;
	margin: auto;
	/*position:relative;
	float:right;*/
	padding: 1em 1em 1em 1em;
	margin: 1em 0em 1em 1em;
	top: 0px;
	left: 0px; 
	width: 400px;
	/*background-color: #FF0000;*/
	border: 2px solid #FF0000;
}

#content p.photocaption {
	text-align: center;
	font-size: 0.9em;
	font-weight: lighter;
	margin-top: -10px;
	margin-bottom: 1em;
	font-style: italic;
}
#content p.quote {
	font-style: italic;
}

#content em {
	font-weight: bold;
	color: #004080;
}

.clear-left {
	clear: left;
}
.clear-right {
	clear: right;
}
.clear-both {
	clear: both;
}

/* Newsletter Signup Form */

.newsletter-rt, .newsletter-left {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 1.1em;
} 
.newsletter-rt {
	text-align: right;
}
.newsletter-left {
	text-align: left;
}

.newsletter-p {
	text-align: left;
	font-size: 1.0em;
	line-height: 1.6em;
	margin-top: 6px;
	display: block;
}
.newsletter-head-rt, .newsletter-head-left, .newsletter-head-ctr{
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 1.05em;
	font-weight: bold;
	color: #964877;
}	
.newsletter-head-ctr {
	text-align: center;
}
/* End of Newsletter Signup Form */


.getadobe {font-size:0.8em}

.raise {
	font-size:0.8em;
	vertical-align: super;
}

#content p.crumbs {			/* breadcrumb navigation */
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.6em;
	margin: 1.3em 0 0 0;
	padding: 0 0 0 0;
	font-weight: lighter;
}

/* "items for sale" gallery of thumbnails */
#gridgallery {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	list-style-type: none;
	margin-left: 0px; /* no affect */
	padding-left: 0px; /* no affect on IE, but affects Firefox */
	margin-top: 5px;
	margin-bottom: 0px;
}
#gridgallery li {
	float: left;
	margin-top: 5px;
	margin-right: 24px;
	margin-bottom: 0px;
	margin-left: 0px; /* no affect */
	padding-left: 0px; /* no affect */
	text-align: center;
	width: 196px;
}
#gridgallery p {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px; /* no affect */
	padding: 0; 
}
#gridgallery .gridname {
	display:inline;
	color: #FF0000;
	margin-left: 0px; /* no affect */
}
#gridgallery img {
	display: block;
	border: 1px solid #4286C4;
	margin-left: 0px; /* no affect */
}

#gridgallery .sep{
	clear: left;
	line-height: 0.5em;
	margin: 0;
	padding: 0;
	color: #00FF00;	
}

.gridsep {
	font-size: small;
	line-height: 0.5em;
	margin: 0;
	padding: 0;
	display: block;
	clear:left;
}

/* end grids for sale gallery of thumbnails */

/* Two Column Table */
table.twotable {
	/*border-collapse: collapse;*/
	width: 740px;
	/*border: 1px solid #00CC00;*/
}
table.twotable td {
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 5px;
	padding-right: 30px;
	font-size: 0.9em;
	line-height: 1.6em; 
}
table.twotable .productname {
	color: #fe7405;
	background-color: #004080;
	font-weight: bold;
	text-transform: uppercase;
}

/* end of Two Column Table */

/* Three Column Table */
table.threetable {
	/*	border-collapse: collapse;*/
	width:100%;
	border-style: solid;
	border-color: #00CC00;
	border-width: 0px;
}
table.threetable td {
	padding-top: 5px;
	padding-bottom: 10px;
	padding-left: 5px;
	padding-right: 10px;
	font-size: 0.9em;
	line-height: 1.6em; 
}
table.threetable .productname {
	color: #fe7405;
	background-color: #004080;
	font-weight: bold;
	text-transform: uppercase;
}

/* end of Three Column Table */

#content .prodname {
	display:inline;
	color: #fe7405;
}

