@charset "utf-8";
body {
	background: url('../img/backgroundrepeat.gif') repeat-x #edf48e;
	margin: 0;
	padding: 0;
	overflow-x: hidden; /*removes scroll bar at bottom window*/
}

h1, h2, h3, h4, h5, h6, p, ul, li {
	margin: 0;
	padding: 0;
}

p {
	padding-bottom: 10px;
}

a img {
	border: none;
}

a:link { /* unvisited link */
	color:#000000;
	text-decoration: none;
}      
a:visited { /* visited link */
	color:#000000;
	text-decoration: none;
}  

a:hover { /* mouse over link for all but navigation elements */
	color: #36f;
	text-decoration: underline;
}

#wrapper {
	width: 1920px;
	height: 100%;
	background: url('../img/sunrays.gif') no-repeat;
	position: absolute;
	top: 0px;
	left: -30px;
}

/* Header Logo and Date placement */
#sanfeslogo {
	background: url('../img/sandfest_Logo.png') no-repeat;
	position: absolute;
	left: 100px;
	top: 28px;
	z-index: 2;
	height: 193px;
	width: 419px;
}

#sanfeslogo {
	display: block;
	text-indent: -5000px;
}

#sanfesdate {
	background: url('../img/datetext.png') no-repeat;
	position: absolute;
	left: 615px;
	top: 40px;
	z-index: 2;
	height: 115px;
	width: 371px;
}

#sanfesdate { /* moves text off screen so graphics can be there yet still be ok with screen readers and cell phones */
	display: block;
	text-indent: -5000px;
}
/* End Logo and Date placement */

#header {
	margin: 0px;
	padding: 0px;
	height: 200px;
}

#header h1 { /* moves text off screen so graphics can be there yet still be ok with screen readers and cell phones */
	display: block;
	text-indent: -5000px;
}

/********Begin Main Navigation*********/
/* Try not to change these settings if you can, or you will end up tweaking it for a bit to make new font sizes or types fit */

#nav {
	border: 1px;
	font: bold 20px Tahoma, Verdana, sans-serif;
	text-align: left;
	float: left;
	margin-left: -5px;
	width: 960px;
	height: 52px;
	text-transform: uppercase;
    list-style: none;
	line-height: 1;
	padding: 0;
}

#nav ul { /* all lists */
	margin:0;
	padding:0;
    list-style: none;
	line-height: 1;
}

#nav a {
    display: block;
    width: 100%;
	padding: 0 10px;
}

#nav li { /* first level, applies to all navigation */

    float: left;
    width-left: 100%; /* width needed or else Opera goes nuts */
	padding: 0;
	margin-right: 20px;
	text-align: left;
}

#nav li a: {
	background-color: #edf48e;
	color: #fff;
	margin: 10em;
	padding: 16px 12px 16px 15px;
	text-decoration: none;
}

#nav li a:hover { /* mouse over link*/ 
	background-color:#09bbe9;
	color: #fff;
	text-decoration: none;
}

#nav li ul { /* applies only to second level navigation */
	background: #edf48e;
	position: absolute;
	width: 190px; /* Controls width of the base container behind the hover container */
	padding: 0;
	margin: 0;
	text-align: center;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul li {
	width: 158px; /*Controls width of drop down container when highlighted by hover */
}

/*For internet explorer for hover we add javascript and "sfhover"*/
#nav li:hover ul, #nav li.sfhover ul { 
	left: auto;
}



#nav li.active a {
	background-color: #09bbe9;
	color: #fff;
	padding: 16px 20px 16px 12px; /* Controls the padding of the active portion of the drop down list, change right padding if you change width of drop down containers above #nav li ul li or #nav li ul */
}

#nav li.active ul a {
	background-color: #edf48e;
	color: #000;
}

#nav li.active ul a:hover {
	background-color: #09bbe9;
	color: #fff;
}

#nav li a {
	padding: 16px 12px 16px 20px;
}

#nav li a:active {
	color: #09bbe9;
	text-decoration: none;
}

/******** End Main Navigation *********/

/* No height settings are necessary or text will not stop at scrolling banner */
#container {
/*	border: solid 1px #000;*/
	width: 960px;
	height: 800px;
	position: absolute;
	top: 202px;
	left: 60px;
}

#content {
/*	border: 1px solid #000;*/
	padding: 15px 55px 20px 5px;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 15px;
	float: right;
	width: 645px;
	margin: 0;
}

#content li {
	list-style-type: none
}

#content a:link, #leftcontent2 a:link {
	color: #ff3000
}

#content a:hover, #leftcontent2 a:hover {
	color: #ffffff;
	text-decoration: none;
}

#content a:visited, #leftcontent2 a:visited {
	color: #ff3000;
}

table {
	border-collapse: collapse;
	border: none;
}

td {
	text-align: left;
	font-weight: normal;
	font-size: 12px;
}

#leftcontent {
/*	border: 1px solid #000;*/
        background: url('../img/raptorrace.png') no-repeat bottom;
	padding: 7px 3px 20px 5px;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 15px;
	margin: 0px;
	float: left;
	width: 240px;
        height: 600px;
}

#leftcontent2 {
/*	border: 1px solid #000;*/
	padding: 7px 3px 120px 5px;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 15px;
	margin: 0px;
	float: left;
	width: 240px;
}


/******** Begin Side Navigation for sub pages **********/
#sidenav {
	font: bold 20px Tahoma;
	text-align: center;
	width: 200px;
	height: 150px;
	margin: 5px 0 0 5px;
	text-transform: uppercase;
	list-style-type: none;
	font-size: 15px;
	padding: 0;
}

#sidenav li {
	margin: 0px;
	text-align: left;
	padding: 7px 0 0 0;
}

#sidenav li a {
	margin-top: 5px;
	text-decoration: none;
	color: #000;
	padding: 0;
	line-height: 1;
}

#sidenav li a:hover { /* mouse over link */
	color: #fff;
}

#sidenav li a:active {
	color: #000;
	text-decoration: none;
}

#sidenav li.active a {
	color: #fff;
	padding: 0;
}
/********* End Side Navigation **********/

#banner { /* So that it scrolls at the bottom of the browser it is Fixed 0% bottom*/
	width: 100%;
	height: 100px;
	padding: 0;
	border: none;
	position: fixed;
	bottom: 0%;
}
/* Settings in padding for P tag allow to push text above scrolling banner at bottom */
#footer {
	clear: both;
	width: 100%;
}

#footer p {
	font-family: Tahoma, Verdana, sans-serif;
	color: #ff3000;
	text-align: center;
	font-style: italic;
	padding-bottom: 120px;
}

#leftcontent h3, #leftcontent2 h2 {
	color: #ff3000;
	padding-top: 20px;
}
 /***********CONTACT PAGE**********/
.form {
	margin:0;
	padding:0;
}

.form  p{
	margin:0;
	padding:10px 0 0 0;
}

.submitted {
	color: #fff;
}

.orangetext {
	color: #ff3000;
}
/***********END CONTACT PAGE**********/

 /***********GALLERY PAGE**********/
.thumbnail {
	margin:0;
	padding: 20px 0 0 0;
}

.thumbnail  a {
	margin: 0;
	padding: 0 20px 0 0;
}

.thumbnail  img {
	border: 1px solid #000;
	margin: 0;
	padding: 0;
}

/***********END GALLERY PAGE**********/


