﻿/* NorCalBots Styles */

* {
	margin:0;
	padding:0;
	outline-style:none;
}

body {
	background-color:#28384f;
	color:#000;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

#wrapper {
	position:relative;
	width:60em;
	margin:auto;
	background-color:#cbd5e0;
}

#branding {
	background:#fff url('images/ncbbrandback.png') repeat-x top left;
	border-bottom:1px #28384f solid;
	text-align:center;
	height:88px;
}

#branding img {
	border:none;
}

#navbar {
	width:59.9em;
	background:#869bbf url('images/headerbackhover.gif') repeat-x bottom left;
	color:#f5f5f5;
	height:2em;
	border-bottom:1px #28384f solid;
}

/* For centered navbar only */
#navbar #centeringdiv {
	width:60em; /*Must be equal to, or slightly greater than, actual navbar width */
	margin:auto;    
}

/* Remove bullets from unordered list */
#navbar ul {
	list-style-type:none;
}

/* Make list horizontal */
#navbar li {
	float: left;
}

#navbar a,
#navbar a:link,
#navbar a:visited {
	text-decoration:none;
	background:#869bbf url('images/headerbackhover.gif') repeat-x bottom left;
	color:#f5f5f5;
	display:block; /* required to set width and height */
	text-align:center;
	font-size:80%;
	height:2em; /* Match to navbar height */
	line-height:2em; /* Match to navbar height */
	width:9em;
	/* Remove dotted border from Firefox */
	outline-style:none;
}

#navbar a:hover,
#navbar a:active,
#navbar li.selected a:link,
#navbar li.selected a:visited {
	background:#869bbf url('images/headerback.gif') repeat-x top left;
	color:#f5f5f5;
}

#content {
	width:47em;
	border:1px #28384f solid;
	padding:0.5em;
	background-color:#f5f5f5;
	margin:1em auto;
	overflow:auto;
}

#content p {
  line-height:1.5em;
  text-align:justify;
  padding-bottom:1em;
}

/* Start email button */
#content p.button {
	margin-left:6em;
	padding:0;
}

#content p.button a,
#content p.button a:link,
#content p.button a:visited {
	background:#f5f5f5 url('images/emlbttn_def.png') repeat-x top left;
	width:13.5em;
	height:2em;
	text-decoration:none;
	display:block;
}

#content p.button a:hover {
	background:#f5f5f5 url('images/emlbttn_hov.png') repeat-x top left;
}

#content p.button a:active {
	background:#f5f5f5 url('images/emlbttn_clk.png') repeat-x top left;
}
/* End email button */

/* Start video button */
#content p.vidbutton {
	margin-left:18em;
	padding:0;
}

#content p.vidbutton a,
#content p.vidbutton a:link,
#content p.vidbutton a:visited {
	background:#f5f5f5 url('images/discbttn_def.png') repeat-x top left;
	width:10.7em;
	height:2em;
	text-decoration:none;
	display:block;
}

#content p.vidbutton a:hover {
	background:#f5f5f5 url('images/discbttn_hov.png') repeat-x top left;
}

#content p.vidbutton a:active {
	background:#f5f5f5 url('images/discbttn_clk.png') repeat-x top left;
}
/* End video button */
#video {
	text-align:center;
	margin:2em auto;	
}

#leftcontent {
	float:left;
	width:22.2em;
	border:1px #28384f solid;
	padding:0.5em;
	background-color:#f5f5f5;
	margin:1em;
}

#rightcontent {
	float:right;
	width:22.2em;
	border:1px #28384f solid;
	padding:0.5em;
	background-color:#f5f5f5;
	margin:1em;
	margin-left:0;
}

#leftcontent p,
#rightcontent p {
  line-height:1.5em;
  text-align:justify;
  padding-bottom:1em;
}

#leftcontent p.hilite {
	background-color:#f0f0f0;
	border:1px #28384f solid;
	padding:0.25em;
	width:9em;
	text-align:center;
	margin-left:11em;
}

#rightcontent p.hilite {
	background-color:#f0f0f0;
	border:1px #28384f solid;
	padding:0.25em;
	width:9em;
	text-align:center;
	margin-left:2em;
}

#footer {
	clear: both;
	border-top: 1px #28384f solid;
	text-align: center;
	font-size: 90%;
	background: #869bbf url('images/headerbackhover.gif') repeat-x bottom left;
	line-height: 2em;
	position: relative;
	bottom: inherit;
	width: auto;
}

#footer p{
	font-size:75%;
	line-height:1em;
	padding-bottom:.5em;
}

/* Start contactpic */
div.contactpic {
	margin:1.5em auto;
	width:27em;
}

div.contactpic p {
	text-align:justify;
	line-height:1.5em;
}

div.contactpic img {
	width:211px;
	float:left;
	border:1px #28384f solid;
	margin-right:2em;
}
/* End contactpic */

/* Start captions */
div.captionpic {
   width:20em;
   padding:0.5em;
   border:solid 1px #28384f;
   font-family: Arial, Helvetica, Sans-Serif;
   font-size:0.8em;
   line-height:1.5em;
   text-align:center; 
   background-color:#f0f0f0;
   margin:1.5em auto;
}

div.captionpic img {
	width:98%;
	border:1px #28384f solid;
}
/* End captions */

h1 {
	font-size:1.4em;
	font-weight:normal;
	font-variant:small-caps;
	letter-spacing:0.08em;
	color:#f5f5f5;
	background:#869bbf url('images/headerback.gif') repeat-x top left;
	padding-left:0.3em;
	border:1px #28384f solid;
	line-height:1.5em;
}

/* General link styles */
a:link,
a:visited{
	color:#0000c0;
	text-decoration:none;
}

a:hover,
a:active{
	color:#f00;
	text-decoration:underline;
}

ul.content {
	list-style:disc;
	padding:1em 0 3em 3em;
	line-height:2em;
}

img.hidden {
	display:none;
}