/* GLOBAL ELEMENTS ------------------------------------------------------------------- */
body {
     font: 100.01% Verdana, Arial, Helvetica, sans-serif; /* Sets default font family options and default font size. This odd value compensates for several browser bugs. First, setting a default font size in percent (instead of em) eliminates an WinIE problem with growing or shrinking fonts out of proportion if they are later set in ems in other elements. Additionally, some versions of Opera will draw a default font-size of 100% too small compared to other browsers. Safari, on the other hand, has a problem with a font-size of 101%. Current "best" suggestion is to use the 100.01% value for this property. */
     background: #978265; /* Sets background color of page. */
     margin: 0; /* Gets rid of default margin on body that most browsers add. */
     padding: 0; /* Gets rid of default padding on body that Opera adds. */
     text-align: center; /* Centers the page contents in WinIE5.x. */
}

/* Main div for all other content on page. A main wrapper div allows us to easily center everything in the viewport. */
#holder {
     margin: 0px auto 0; /* The auto margin on the left and right center the holder div in standard compliant browsers. The 10px top margin adds space between the top of the holder div and the edge of the viewport. */
     width: 765px; /* Sets width of main container to fit within most maximized 800x600 windows. */
     text-align: left; /* Overwrites the center-aligned text set on the body. */
}

/* Needed to hold link to main content in compliance with Section 508, rule o. */
#skipnav {
	position: absolute; /* Sets the div to be positioned in a precise spot in relation to its nearest postioned ancestor, or barring that, the body. Also removes it from the flow, so it will not push down the header image. */
	top: 0; /* Places the div at the top of body. */
	left: 0; /* Places the div at the left side of body. */
	margin-left: -1000px; /* Moves the div off the left side of the screen, making it invisible to those using visual browsers but accessible to those using screen readers and other user agents. */
	}

/* Global navigation area. */
#nav {
	width: 765px; /* Sets width to fill holder div. */
	background:  #000000 url(assets/SAN_nav.jpg) no-repeat; /* Sets background image on nav div and tiles it downward so that if it grows or the items wrap the background will continue. */
	padding: 0px 0px 10px; /* Adds space within the nav div on the top and bottom so the nav list doesn't butt up against its edges. */
}
#nav ul {
	padding: 0; /* Removes default padding some browsers add to lists. */
	margin: 0 10px 0 0px; /* Creates space between right and left edges of nav list and edges of nav div. The right margin is larger than the left to accommodate the extra space caused by the shadow part of the background image on the right. */
	list-style-type: none; /* Removes default list bullets. */
	font-size: 80%; /* Adds border to top of nav list */
	text-align: center; /* Centers items in nav list. */
}
#nav li {
	padding: 0; /* Removes default list item padding added by some browsers. */
	margin: 0 0 0 5px; /* Spaces out each list item from the others. */
	display: inline; /* Makes list items display horizontally. */
}
#nav li a:link, #nav li a:visited {
	color: #000000;
	text-decoration: none;
	padding: 0 2px 2px;
	font-weight: bold;
	text-transform: uppercase;
}
#nav li a:hover, #nav li a:active, #nav li a:focus {
	background: #786956; /* Changes background color of links to dark gray on hover, activation, and focus. */
	color: #FFF; /* Changes text color of links to white on hover, activation, and focus. */
}


/* Wrapper for all content between nav and footer. */
#contentwrapper {
	background: #fff url(assets/SAN_repeat.jpg) repeat-y; /* Adds strip showing three columns as background image to wrapper div. It is tiled downward to create the appearance of three columns. Also given a background color in case images are not available. */
}

/* Another wrapper for the content is needed because we need two background images for the content area -- the repeating column part, and the top curved part. Since each div can only have one background image, we need to use two layered divs to create the effect. */
#content {
	background:  url(assets/SAN_inner_top.jpg) no-repeat; /* Adds top curved part of content area rectangle image, which lays over the repeating background image of the contentwrapper div to create the appearance of a single image. Set to only show once. */
	padding: 35px 0 0 0; /* Adds space between top of box and start of content so it doesn't cover up curved area. */
	position: relative; /* Allows the absolutely positioned #subnav div to base its position off #content. */
	color: #541812; /* Sets color of text to dark blue. */
	font-size: 80%; /* Sets font size smaller than default. We can use ems safely in IE because we've set a percentage font size on the body. */
}
/* WinIE5 needs the following selector to display the padding in #content. This comment cannot be in the selector or it will trigger the end of the MacIE hide. */
/* hide from MacIE \*/
* html #content {
	height: 1%;
	}
/* end hide */

/* Left column for extra info, feature items, news, etc. */
#info {
	float: left; /* Moves div to left side of #content. */
	width: 160px; /* Sets width. */
	margin: 0 15px 10px 30px; /* Moves div away from edges of container and surrounding content. */
	display: inline; /* Prevents WinIE from doubling the left margin, which it will do on left floats. */
	font-size: .9em; /* Sets font size smaller than default. */
}
#info p img {
	display: block;
	padding: 10px 15px 10px 4px;
	margin: 5px 0px;
}

/* Center column for main text. */
#main {
	margin: 0 175px 0 227px; /* Sets left and right margins to leave space for floated left column and absolutely positioned right column. */
	background:  url(assets/SAN%20_inner_main.jpg) no-repeat; /* Sets photo used in background of center column, and sets it to show only once. */
	padding: 120px 10px 10px; /* Adds large space at top of div for background to display in without text overlapping. Also adds 10px space to left, right, and bottom. */
}

/* Right column for sub-navigation list. */
#subnav {
	position: absolute;
	width: 122px;
	top: 28px;
	right: 10px;
	left: 606px;
	font-size: 0.9em;
	height: 123px;
}
#subnav ul {
	margin: 0; /* Removes default list margin added by some browsers. */
	padding: 0; /* Removes default list padding added by some browsers. */
	list-style-type: none; /* Removes default list bullets. */
}
#subnav li {
	margin-top: 8px; /* Spaces list items out from each other. */
}
#subnav ul a:link, #subnav ul a:visited {
	color: #7A241B; /* Sets link color of unvisited and visited links to dark purple. */
	text-decoration: none; /* Removes default link underlines. */
	padding: 2px 4px; /* Creates space around links so that background color set in selector below does not so tightly enclose link text. */
}
#subnav ul a:hover, #subnav ul a:active, #subnav ul a:focus {
	color: #7A241B; /* Sets link color to brighter blue on hover, activation, and focus. */
	background: #CCC; /* Sets background color to light gray on hover, activation, and focus. */
}

/* Footer for page. */
#footer {
	background:  url(assets/SAN_over_bott.jpg) no-repeat; /* Sets curved bottom part of background image of div above. Since #footer butts up against #contentwrapper, it creates the appearance of a single image. Image set to appear only once. */
	padding: 50px 0 0 0; /* Creates room for background image to display, so text starts below end of image. */
	color: #DCD5CB; /* Sets text color to very light gray. */
	font-size: 0.7em; /* Sets font size smaller than default and smaller than content text. */
}
#footer p {
	float: left; /* Moves paragraph to left side of #footer. */
	margin: 0; /* Removes default margin added to paragraphs. */
}
#footer ul {
	float: right; /* Moves list to right side of #footer. */
	margin: 0 6px 20px 0; /* 6px right margin aligns edge of text with border of content div instead of the edge of its shadow. 20px bottom margin provides space between end of footer and edge of window. */
	padding: 0; /* Removes default padding added to lists by some browsers. */
}
#footer p, #footer ul {
	display: inline-block; /* Prevents MacIE from expanding the floats to 100%, which would keep them from sitting on the same line. */
}
/* The following selector overwrites the display value of the paragraph and list back to the correct value, but is hidden from MacIE so it still gets the value it needs. */
/* hide from MacIE \*/
#footer p, #footer ul {
	display: block;
}
/* end hide */
#footer li {
	display: inline; /* Makes list items display horizontally. */
	margin: 0; /* Removes default margin some browsers add to list items. */
	padding: 0; /* Removes default padding some browsers add to list items. */
}
#footer a {
	color: #DCD5CB; /* Sets color of links to slightly darker gray than surrounding text. */
	}
#footer a:hover {
	color: #fff; /* Sets color of links on hover to white. */
	}


/* CONTAINING FLOATS ----------------------------------------------------------------- */
/* The following selectors keep floats from overflowing out of their parent elements. This is done by generating a character within the parent but after the float, so that the parent must expand to hold the generated character, appearing to contain the floats in the process. */
.clearfix:after {
  content: "."; /* This dot is the actual content that will be appended to the end any div this class is applied to. */
  clear: both; /* Makes the generated content appear after the floats. */
  height: 0; /* Sets its height to zero so it doesn't show. */
  visibility: hidden; /* Sets its visibility to hidden so it doesn't show. */
  display: block; /* Overwrites the default inline display of the generated content. Needed because only blocks can have clear set on them. */
}
 
.clearfix {
	display: inline-block; /* Makes it work in MacIE. MacIE does not support generated content but will automatically contain a float if the container has this display property. */
	}

/* The first selector below makes it work in WinIE. WinIE does not support generated content, but will automatically contain a float if the container has a width or height assigned. "height: 1%" can be used because WinIE will not honor this height and will expand the div to whatever height necessary to show the content. */
/* The second selector below overwrites the inline-block display used to help MacIE. */
/* Hides from MacIE \*/
* html .clearfix {
	height: 1%;
	}
.clearfix {
	display: block;
	}
/* End hide from MacIE */


/* LINKS -------------------------------------------------------------------------------------- */
a {
	color: #541812; /* Sets color of links within main content to blue used on body background. */
}
a:visited, a:hover, a:active {
	color: #541812; /* Sets color of visited, hovered, and active links within main content to dark purple. */
}


/* HEADINGS ------------------------------------------------------------------------- */
h1 {
	font-size: 1.3em; /* Sets font size of top level headings to larger than default. */
	}
h2 {
	font-size: 1.1em; /* Sets font size of second level headings to larger than default but smaller than h1. */
	}
h3 {
	font-size: 1em;
	}
h4, h5, h6 {
	font-size: 1em; /* Sets font size for other headings to same size as default. Headings are bold by default, so they will still be distinguishable. */
	}


/* CONTACT PAGE -------------------------------------------------------------------- */
/* The following four selectors all apply only when the body has an id of contactpg. */
body#contactpg #contentwrapper {
	background:  url(assets/SAN_repeat2.jpg) repeat-y; /* Overwrites the background image used on #contentwrapper in order to create a two-column look instead of three. */
}
body#contactpg #content {
	background:  url(assets/SAN_inner_top2.jpg) no-repeat; /* Overwrites the background image used on #content in order to create a two-column look instead of three. */
	width: 765px;
}
body#contactpg #main {
	background:  url(assets/none); /* Removes the background image used in the center column of the main page. */
	margin-left: 25px; /* Removes the space previously reserved for #info, because it has been removed on the contact page. */
	padding-top: 0; /* Removes the space at the top of the container, because there is no longer any background image to accommodate. */
}
body#contactpg #footer {
	background:  url(assets/SAN_over_bott2.jpg) no-repeat; /* Overwrites the background image used on #footer in order to create a two-column look instead of three. */
}
form {
	margin: 20px auto;
	padding: 10px 10px 15px;
	border: 1px solid #000;
	background: #B4A28A;
	font-size: .9em;
	width: 505px;
}
input, textarea {
	background: #C8BCAC;
	border: 1px solid #736854;
	padding: 2px;
	color: #000;
	font-size: 1.2em;	
}
input:focus, textarea:focus {
	color: #000;
	border: 1px solid #E8E0C9;
}
select {
	background: #C8BCAC;
	color: #000;
	border: 1px solid #736854;
	font-size: 1.2em;
}
label {
	color: #373F32;
}
fieldset {
	background: #B4A28A url(assets/SAN_fieldback2.jpg) repeat-x;
	border: 1px solid #000;
	padding: 5px 15px 10px;
	margin-bottom: 10px;
}
legend {
	color: #000;
	font-size: 1.2em;
	padding: 1px 5px;
	border: 1px solid #000;
	background-color: #B4A28A;
}
td {
	text-align: right;
}
input.button {
	margin: 10px 120px 5px; /* Needed by MacIE to keep the button from expanding to 200px like the other inputs. */
	width: 8em; /* Sets width in relative units so it will scale if text size is larger. */
}
/* The following selector resets the margins to the correct values for all browsers other than MacIE. */
/* hide from MacIE \*/
input.button {
	margin: 10px auto 5px auto;
}
/* end hide */
#subnav hr {
	border: none;
	background-color:#660033
	color:#660033;
	height: 1px;
	width: 90%;
}
