/* Created by Debbie Ormston */

/*** GLOBAL LAYOUT ELEMENTS ***/
/* Sets element margins, padding, and border to 0 to even out browser differences when adding desired values later. */
html, body, div, p, h1, h2, h3, h4, h5, h6, blockquote, ol, ul, li, dl, dt, dd, td, form, fieldset, a {
     margin: 0;
     padding: 0;
     border: 0;
}

body {
	background: #333399;
	color: #fff;
	font: 100.01% /*Verdana,*/ Arial, Helvetica, sans-serif;
}


/*** Easy Clearing of Float:  We also do a little IE Mac hiding to complete the technique. ***/
.clearfix:after {   
     content: "."; /* This dot is the actual appended content */   
     clear: both;   
     height: 0;   
     visibility: hidden;   
     display: block; 
} 

/* Hides from IE-mac \*/
* html .clearfix {height: 1%; }
/* End hide from IE-mac */
/*** End Easy Clearing of Float ***/

/* Solve the page shift problem in Firefox */
html { min-height: 100%; margin-bottom: 1px; }
/* End solve the page shift problem in Firefox */

#banner {
	padding: 10px;
	background: /*#e6e6ff*/ #9999ff url(../assets/backgrounds/brigandchiefcrop_fade.jpg) no-repeat;
	color: #fff;
}
#banner h1 {
	background: transparent;
	color: #fff/*#56568f*/;
}
#navcontainer {
	float: left;
	width: 150px;
}
#sidebar {
	float: right;
	width: 150px;
	padding: 10px;
}

#content {
	margin-left: 150px;
	margin-right: 170px;
	padding: 10px 30px;
	background: #fff;
	color: #000;
}

#footer {
	clear: both;
	padding: .5em;
	/*background-color: #e6e6ff*/;
}

.clear {
	clear: both;
}


/*** END GLOBAL LAYOUT ELEMENTS ***/

/*** TEXT ***/
h1, h2, h3, h4, h5, h6, p { /*take the top margins off these elements and just set bottom margins for separation*/
	margin-bottom: 0.2em;
}

h1, h2, h3, h4, h5, h6 {
	background: inherit;
	color: #333399;
}

#content h1 {
	font-size: 120%;
}

#content h2{
	margin: 0 0 .5em 0;
	font-size: 115%;
}

#content h3 {
	margin-bottom: .2em;
	font-size: 100%;
}

#content h4 {
	margin-bottom: 0;
	font-size: 90%;
}

#content h5, h6 {
	font-size: 90%;
}

#content p {
	margin-bottom: 0.4em;
	font-size: 0.8em;
	line-height: 1.5em;
}

#content ul {
	margin-left: 20px;
	margin-bottom: 10px;
	font-size: 0.8em;
	line-height: 1.5em;
}

#banner h1 {
	margin-top: 60px;
}

#sidebar h2,
#sidebar h3 {
	background: inherit;
	color: #fff;
}

#sidebar h2 {
	font-size: 90%;
}

#sidebar h3 {
	font-size: 85%;
}

#sidebar p {
	margin: 0 0 1em 0;
	font-size: 0.8em;
}

#sidebar ul li {
	list-style: none;
	font-size: 0.8em;
}

#sidebar ul li a, 
#sidebar ol li a {
	background: inherit;
	color: #fff;
}

#sidebar ol {
	padding-left: 20px;
}

#sidebar ol li {
	font-size: 0.8em;
}

#footer p {
	margin-left: 150px;	
	font-size: 0.7em;
}

.standout {
	font-weight: bold;
	background: inherit;
	color: #ff0000;
	text-decoration: none;
}

.sold {
	width: 115px;
	float: left;
	border: 1px dashed #ff0000;
	padding: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	font-weight: bold;
	text-decoration: line-through;
}

.sold p.standout {
	text-decoration: none;
}
p#bloggerlogo {
	margin-top: 20px;
}
/*** END TEXT ***/

/*** LINKS ***/

a:link {
	color: #333399;
}
a:visited {
	color: #8e8ecf;
}
/* main nav styles */
ul#nav {
	list-style: none;
	background-color: #9999ff;
}

ul#nav a:link,
ul#nav a:visited {
	background: transparent;
	color: #fff;
}

ul#nav li a:link, 
ul#nav li a:visited {
	text-decoration: none;
	display: block;
	width: 80%;
	padding: 5px 15px;
	font: bold 0.7em/1.5 Arial, Helvetica, sans-serif;
}
ul#nav li {
	border-top: 2px solid #333399;
}

ul#nav li a:hover {
	background-color: #cc99ff;
	color: #fff;
	display: block;
	width: 80%;
}

/*TODO: remove this is everything is working as expected
ul#nav li.first {
	border-top: none;
}*/

/* end main nav styles */

/* sub nav styles */

ul#nav li#newsbutt ul li a, 
ul#nav li#twisterbutt ul li a, 
ul#nav li#associationbutt ul li a {
	display: block;
	width: 70%;
	padding-left: 30px;
	background: #9999ff/*#99ccff*/;
	color: #333399/*#fff*/;
}

ul#nav li#newsbutt ul li a:hover, 
ul#nav li#twisterbutt ul li a:hover,  
ul#nav li#associationbutt ul li a:hover {
	background: #cc99ff;
	color: #fff;
}

body#discusspage ul li#discussbutt a,
body#linkspage ul li#linksbutt a, 
body#twisterpage ul li#twisterbutt a,
body#associationpage ul li#associationbutt a, 
body#howtojoinpage ul li#associationbutt ul li#howtojoinbutt a, 
body#twisterspecspage ul li#twisterbutt ul li#twisterspecsbutt a,
body#newsarchivepage ul li#newsbutt ul li#newsarchivebutt a,
body#newsletterpage ul li#newsbutt ul li#newsletterbutt a, 
body#salespage ul li#salesbutt a,
body#newspage ul li#newsbutt a, 
body#newsdiarypage ul li#newsbutt ul li#newsdiarybutt a,
body#newsgallerypage ul li#newsbutt ul li#newsgallerybutt a,
body#techarchivepage ul li#twisterbutt ul li#techarchivebutt a
{ /*contextual page links*/
	background: #ffff99;
	color: #333399;
}
/* end sub nav styles */

/* sidebar link styles */

#sidebar a:link, 
#sidebar a:visited {
	background: inherit;
	color: #fff;
}

#sidebar a:hover {

}

/* end sidebar link styles */

/* footer link styles */

#footer a:link,
#footer a:visited {
	background: inherit;
	color: #fff;
}

#footer a:hover {
	background: inherit;
	color: #cfcfff;
}

/* end footer link styles */

/*** END LINKS ***/

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

img#wiggles {
	padding: 10px 0;
}
/* Add this class to an image to float it left and wrap text around it. Amend the value for the margin to suit. */
.fltlft {
	float: left;
	margin-right: 10px;
}

/* Add this class to an image to float it right and wrap text around it. Amend the value for the margin to suit. */
.fltrt {
	float: right;
	margin-left: 10px;
}

#banner img {
	display: block;
}
/*TODO: remove the declaration if table layout is used */
div.gallery {
	text-align: center;
	vertical-align: middle;
	width: 120px;
	float: left;
	border: 1px solid #cfcfff;
	padding: 5px;
	margin-right: 10px;
}

/*** END IMAGE ***/

/*** TABLES ***/

table {
	margin-bottom: 1.2em;
	/* TODO: check font sizing site wide and remove this line if necessary font-size: 1em;*/
}


table#hull, 
table#sailplan,
table#vhfchannels
{
	font-size: 0.8em;
	background: #fff;
	color: inherit;
	border: 1px solid #8e8ecf;
	width: 95%;
}

table#hull caption,
table#sailplan caption
{
	font-weight: bold;
	font-size: 100%;
	background: #8e8ecf;
	color: #fff;
	padding: 5px;
}

table#hull td, 
table#hull th, 
table#sailplan td, 
table#sailplan th
{
	border: 1px solid #8e8ecf;
	padding: 5px;
	text-align: center;
}

table#hull th, 
table#sailplan th 
{
	font-weight: bold;
	font-size: 110%;
	padding: 5px;
	background: #cfcfff;
	color: #333399;
}

table#gallery td {
	padding: 5px;
	text-align: center;
	vertical-align: top;
	font-size: 0.8em;
	border: 1px solid #cfcfff;
}

table#gallery tr.caption td {
	font-weight: bold;
	background: #cfcfff;
	color: #333399;
}

/* sales listing tables styles */

.saleslist {
	text-align: center;
	margin: 10px auto; 
}

.saleslist table {
	border-top: 0;
	border-right: 1px solid #333399;
	border-bottom: 1px solid #333399;
	border-left: 1px solid #333399;
	text-align: left;
	/* TODO:remove this declaration if margin works width: 97%; */
}

.saleslist table caption {
	font-weight: bold;
	font-size: 100%;
	background: #8e8ecf;
	color: #fff;
	text-align: left;
	padding: 5px;
	border-top: 1px solid #333399;
	border-right: 1px solid #333399;
	border-left: 1px solid #333399;
}

.saleslist table th {
	font-weight: bold;
	font-size: 0.8em;
	background: #cfcfff;
	color: #333399;
	border-bottom: 1px solid #8e8ecf;
	padding: 5px;
	text-align: left;
	width: 30%;
	vertical-align: top;
}

.saleslist table td {
	padding: 5px;
	font-size: 0.8em;
	vertical-align: top;
	border-bottom: 1px solid #cfcfff;
}

.saleslist table tr.listed {
	display: none;
}

.saleslist table ul li/*, 
.saleslist table td p*/
{
	font-size: 1.3em;
}

#content .saleslist table td p {
	font-size: 1em;
}

#content .saleslist table td.saleprice {
	font-weight: bold;
	background: inherit;
	color: #333399;
}

/* end sales listing tables styles */
/*** END TABLES ***/

/*** FORMS ***/

.inputsubmitbutton {
	color: #333399;
	background-color: #99CCFF;
	font-family: arial, helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	height: 20px;
	width: 100px;
	margin-top: 0.5em;
}

form#atomzsearch {
	font-size: 0.8em;
}

/*** END FORMS ***/

/*** HOMEPAGE ***/

/*** END HOMEPAGE ***/

/*** INNER PAGES ***/
body#fullsizepage #fullsize p,
body#fullsizepage #fullsize a:link,
body#fullsizepage #fullsize a:visited {
	font-size: 0.9em;
	font-weight: bold;
	background: inherit;
	color: #fff;
}

body#fullsizepage #fullsize p {
	margin-top: 1.5em;
}

body#techarchivepage #content #techarchivecatlist {
	margin-top: 20px;
	border-top: 1px dashed #333399;
	padding-top: 10px;
}

body#techarchivepage #content #techarchivecatlist ul {	
	margin-left: 20px;
}

body#techarchivepage ul#faqsidebarlinks {
	margin: 15px 0;
}

body#newspage hr, body#newsdiarypage hr {
	margin: 20px 0;
}
/*** END INNER PAGES ***/