/*westwiltskarate main stylesheet*/

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:#710000;
	color: #5E0022;
	font-family: Georgia, Arial, Helvetica, sans-serif;
	font-size: 0.85em;	
	text-align: center;
	position:relative;
}

/* UNIVERSAL */
.container 
{
	width: 960px;
	margin: 0 auto;
	text-align: left;
	/*position:relative;*/
}

h1 
{
	font-size: 2em;
	margin-bottom: 20px;
}

h2 
{
	font-size: 1.5em;
	color:#666666;
	margin-top:20px;
}

h3 
{
	font-size: 1em;
}

h2, h3, p {
	margin-bottom: 10px;
}
 /*P:first-line { font-weight: 600;  color:#333 }*/
h4 {
	font-size:1em;
	padding-left:10px;
	padding-right:10px;
	}
p
{
	line-height: 1.5em;
}
#printed-header
{
	display: none;
}
/* skip links */
#skipnav 
{
	position: absolute;
	top: 0;
	left: -1000px;
}

/*MAIN PAGE BODY STYLES */
#header {
	background-color:#f5f5f5
	;
	height:128px;
	width:100%;
	float:left;
	display:block;
	position:relative;
	
	}
#header #logo {
	width:960px;
	background-color:#009900;
	float:left;
	}
/*#trail {
	background: transparent url(../images/trail.png) no-repeat scroll 0%;
	/*background-image: url(../images/trail.png);*/
	/*margin:-30px -171px;
	position:absolute;
	width:170px;
	height:500px;
	z-index:500;
	}*/
/*central band*/
#band {
	background-color:#710000;
	height: 150px;
	width:100%;
	position:relative;
	clear:both;
	background-image:url(../images/band_bg.gif);
	}
/* navigation */
#band #nav {
	margin:0;
	padding:0;
	/*background-color:#660033;*/
	width:200px;
	float:right;
	/*border-top:5px solid #000000;*/
	z-index:100;
	}
#band #nav ul {
	margin:0;
	padding:0;
	padding:10px 10px 0;
	list-style-type:none;
	}
#band #nav li {
	float:left;
	margin:0;
	padding:0;
	background:url("../images/right.gif");
	background-repeat:no-repeat;
	background-position: right bottom;
	margin-left:5px;
	}
#band #nav a {
	display:block;
	background:url("../images/left.gif");
	background-repeat:no-repeat;
	background-position: left bottom;
	padding:12px 12px;
	text-decoration:none;
	}
#band #nav #current {
	background-image:url("../images/right_O.gif");
	}
#band #nav #current a {
	background-image:url("../images/left_o.gif");
	}
#band #nav a:hover {
	color:#FF0000;
	}
		
/* Main content area */
#outercontent {
	background-color:#000;
	/*min-height:720px;*/
	min-height:850px;
	width:100%;
	background-image:url(../images/content_bg.jpg);
	background-repeat:repeat-x;
	position:relative;
	}
	
/*side content */
#sidecontent {	
	padding:0;
	margin:0;
	width:270px;
	height:820px;
	/*background-color:#996633;*/
	float:left;
	position:relative;
	margin-top:-120px;
	/*background-image:url(../images/mom12.png);*/
	
	background-repeat:no-repeat;
	z-index:1;
	}
#nav2 {
	min-height:400px;
	width:270px;
	background-image:url(../images/nav_bg3.png);
	background-repeat:no-repeat;
}
#nav2 ul {
	margin:0;
	padding:0;
	width:145px;
	list-style-type:none;
	margin-left:60px;
	padding-top:65px;

	}
#nav2 li {
	width:145px;
	background:#3366FF;
	margin-bottom:2px;
	display:block;
	/*padding:2px 2px 0px 0px;*/
	}
#nav2 ul a {
	background:#f5f5f5 url(../images/nav_BG.jpg);
	display:block;
	text-decoration:none;
	border:1px solid #000;
	line-height:25px; /* centers the text vertically */
	padding:4px 2px 4px 10px;/*padding for the anchor links in the block*/
	font-weight:bold;
	outline:none;
	color:#333333;
	
	}
#nav2 a:active, a:visited {
	color:#333;
	}
#nav2 a:hover {
	color:#fff;
	background-position:right center;
	background:#990000 url(../images/nav_hover.jpg);/*if rollerover images off */
	}
#extracontent {
	width:260px;
	/*min-height:200px;*/
	/*background:#660066;*/
	color:#FFFFFF;
	
	}
/*main content */
#maincontent {
	margin:0;
	width:655px;
	/*height:100%;
	min-height:850px;*/
	background-color:#f5f5f5;
	margin:0 0 0 280px;
	position:relative;
	background-image:url(../images/contentbox_bg.jpg);
	background-repeat:no-repeat;
	
	}
#maincontent h1, h2, h3, h4, p {
	padding:0 20px 0 20px;
	}
#maincontent h1 {
	padding-top:20px;
	}
#maincontent ul {
	margin-left:50px;
	}
#maincontent-bottom {
	width:655px;
	height:30px;
	background-color:#000;
	background-image:url(../images/maincontent_footerBG.gif);
	background-repeat:no-repeat;
	}
#maincontent table {
	width:400px;
	margin-left:20px;
	margin-bottom:10px;
	}
#maincontent table td {
	border:1px dotted #999999;
	}
#maincontent caption {
	background-color:#FFFFCC;
	margin-left:20px;
	}
.floatright {
	float:right;
	}
/* FOOTER STYLES */

#footer 
{
	margin-top:0;
	padding:0;
	position:relative;
	clear: both;
	background:#000;
	color:#FFFFFF;
	/*margin-top: 0.5em;*/
	padding:1em 0;
	/*background-image:url(../images/footer_bg.gif);*/
	/*border-top:1px solid #666666;*/
}

#footer ul
{
	text-align: right;
}

#footer li
{
	display: inline;
	padding-left: 1em;
}
/*#footer #validinfo {
	float:left;
	background-image:url(../images/testgif.gif);
	height:143px;
	width:100px;
	top : -126px;
	position : relative;
	margin-bottom : -126px;
	}*/
/* footer links */
#footer a,
#footer a:link,
#footer a:active,
#footer a:visited 
{
	color: #fff;
	text-decoration: none;
}

#footer a:hover 
{
	color: #3E641B;
	background: #E4641D;
}
.footerfloat {
	float:right;
	}
/* styles for contact form */

form {
  margin: 10px 10px 0 10px;
  }
#name, #email {
  width: 200px;
  }
#message {
  width: 370px;
  height: 150px;
  }
/* warning style */
.warning {
	color:#FF0000;
	}
/* CSS/HTML GALLERY*/
#holder {position:relative; background:transparent url(../images/placeholder.gif) 20px 54px no-repeat; margin-bottom:10px; z-index:1; overflow:hidden; /*width:432px;*/ width:438px; }
#scrollbox {width:400px; height:80px; background:#f4f4f4; overflow:auto; border:1px solid #aaa; margin-left:20px;  background-color:#ccc;}
a.gallery, a.gallery:visited {display:block; color:#000; text-decoration:none; border:1px solid #000; width:75px; height:47px; margin:3px; float:left; font-size:11px;}
a.slidea {background:url(../images/thumbs/photo1thumb.jpg);}
a.slideb {background:url(../images/thumbs/photo2thumb.jpg);}
a.slidec {background:url(../images/thumbs/photo3thumb.jpg);}
a.slided {background:url(../images/thumbs/photo4thumb.jpg);}
a.slidee {background:url(../images/thumbs/photo5thumb.jpg);}
a.slidef {background:url(../images/thumbs/photo6thumb.jpg);}
a.slideg {background:url(../images/thumbs/photo7thumb.jpg);}
a.slideh {background:url(../images/thumbs/photo8thumb.jpg);}
a.slidei {background:url(../images/thumbs/photo9thumb.jpg);}
a.slidej {background:url(../images/thumbs/photo10thumb.jpg);}


a.gallery span {display:block; position:absolute; left:150px; top:-1px; width:1px; height:1px; overflow:hidden; background:#efedec; z-index:100; font-size:11px;}
a.gallery:hover {white-space:normal; border:1px solid #fff;}
a.gallery:hover img {border:1px solid #000; z-index:100;}
a.gallery:active img, a.gallery:focus img {border:1px solid #000; z-index:50;}

a.gallery:hover span {display:block; position:absolute; width:402px; height:330px; top:49px; left:20px; padding:5px; font-style:italic; color:#000; background:#ccc; z-index:100; font-size:11px;}
a.gallery:active {border:1px solid #eee;}
a.gallery:active span, a.gallery:focus span {display:block; position:absolute; width:402px; height:330px; top:49px; left:20px; padding:5px; font-style:italic; color:#000; background:#ffffcc; z-index:50;}

#thumbs {width:840px; height:60px;}
#pad {
height:380px;
 width:10px;
 }

iframe {
	margin-left:10px;
	}/*to control google map margins*/
