* {
	outline-color:#666666;
}
body {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	background-color: #c8e1bf;
}
.floatleft {
	float:left;
}
.floatright {
	float:right;
}
.clear {
	clear:both;
}


/* -------------------- General Layout ------------------------- */

#container {
	/* Provides the white background and the bottom fade */
	background-color: #FFFFFF;
	background-image: url(../images/bottomfade.png);
	background-repeat: repeat-x;
	background-position: bottom;
}
#navigation {
	/* Contains the nameplate, site description, and menu */
	padding-top: 3%;
	padding-bottom: 1.25em;
	background-color: #C8E1BF;
	background-image: url(../images/topfade.png);
	background-repeat: repeat-x;
	background-position: bottom;

}
#content  {
	/* Adds spacing above the content */
	margin-top: .75em;
}
#left {
	/* Houses content on the left of the page */
	width: 50%;
	float: left;
	margin-left: 10%;
	padding-left: 15px;
	margin-bottom: 1em;
	margin-right: 13px;
}
iframe {
	margin-left: 10%;
	padding-left: 15px;
	margin-bottom: 1em;
	margin-top:0;
}
#right {
	/* Houses content on the right of the page */
	float: left;
	width: 25%;
	margin-bottom: 1em;
	margin-left: 0.5em;
}
#siteinfo {
	/* Padding adds space around the bottom stripe/image; clear moves footer below content */
	clear: both;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	text-align: center;
	margin-left:auto;
	margin-right:auto;
}
.imagereplacement {
	/* colors the background of imaged links green to cover stripes */
	display:block;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #c8e1bf;
}
#navigation .imagereplacement {
	background-image: url(../images/header_rileypaulsen.png);
	height: 52px;
	width: 490px;
}
#siteinfo .imagereplacement {
	/* overrides the background color for the footer set by .imagereplacement - allows bottom fade to show */
	background-color: transparent;
	background-image: url(../images/footer_copyright.png);
	height: 20px;
	width: 210px;
	display:inline-block;
	margin-left:auto;
	margin-right:auto;
}


/* -------------------- Header Name, Description, Menu Layout/Styling ------------------------- */

h1 a {
/* hides text in favor of image
	pushes the link/image 10% from the left
*/
	text-indent:-9999px;
	text-decoration: none;
	overflow: hidden;
	margin-left: 10%;
}
#navigation  ul, h2  {
/* sets size and color of subheading and menu links
	margin moves text away from left edge
*/
	margin-top: 1em;
	color: #666666;
	font-size:.9em;
	margin-left:10%;
}
#navigation ul {
	/*left padding compensates for the extra spacing from the header image minus 4px for the <li> link padding */
	padding-left:11px;
}
#navigation li {
	/* places the menu links on a single line and spaces them 3ems apart */
	display: inline;
	list-style-type: none;
	margin-right: 3em;
	letter-spacing: 0.1em;
}


/* -------------------- Header and Footer Link Styling ------------------------- */

#navigation ul a {
	padding-left:4px;
	padding-right:4px;
	padding-top:1px;
	padding-bottom:1px;
}
#navigation a:link {
/* makes the menu link text gray and removes underlines
*/
	text-decoration: none;
	color: #666666;
}
#siteinfo a {
	/* hides text in favor of image */
	text-indent:-9999px;
	text-decoration: none;
	overflow: hidden;
}
#navigation a:visited, #siteinfo a:visited {
/* hides styling/outlining of link
	makes images and links have a gray background when hovering
*/
	text-decoration: none;
	color: #666666;
}
#navigation a:hover, #siteinfo a:hover {
	/* hides styling/outlining of link
	makes images and links have a gray background when hovering
*/
	text-decoration: none;
	color: #FFFFFF;
	background-color: #666666;
}
#siteinfo a.imagereplacemet:hover {
	background-image:url(../images/footer_copyright_white.png);
}


/* -------------------- General Text Styling ------------------------- */

p {
	font-size: .9em;
	line-height: 1.5em;
	margin-bottom: .7em;
	margin-left: 0.5em;
}
strong {
	font-weight:bold;
	color: #666666;
}
em {
	font-style:italic;
}
acronym, abbr {
	border-bottom-color:#666666;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
}
.indent {
	padding-left:1em;
}
.center {
	text-align:center;
	text-indent:0px;
	padding-left:0px;
	margin-left:0px;
}
span[title] {
	font-style:italic;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #c8e1bf;
}


/* -------------------- Heading Styles ------------------------- */

h1  {
	/* Header Name/Home Link
	adds stripes to the header
	sets line-height to ensure following text stays put */
	height: 52px;
	line-height: 0px;
	background-image: url(../images/header_stripe.gif);
	background-repeat: repeat-x;
	background-position: left top;
}
h2 {
	/* Header Description
	bold differentiates the site description from the menu links
	left padding compensates for the extra spacing from the header image + the html spacing around the image */
	font-weight: bold;
	letter-spacing: .1em;
	word-spacing:.15em;
	padding-left:15px;
}
h3 {
	/* Section Headings */
	font-family: Kalinga, Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 1.25em;
	text-transform: uppercase;
	color: #666666;
	line-height: 1.25em;
	letter-spacing: 0.4em;
	word-spacing: -0.2em;
	margin-bottom: .25em;
}
h3 + p {
	margin-top:-.5em;
}
p + h3, p + h4 {
	margin-top:1em;
}
h4, h5 {
	/* Section Subeadings */
	font-weight: bold;
	margin-bottom: 0.35em;
	letter-spacing: 0.05em;
	padding-left:.25em;
}
h4 + h4, h5 + h5, h4 + h5, h5 + h4 {
	margin-top:.7em;	
}
h4 a:link, h5 a:link {
	color:#000000;
	border-bottom: 1px dashed #c8e1bf;
	text-decoration:none;
}
h4 a:visited, h5 a:visited {
	color:#000000;
	border-bottom: 1px dashed #c8e1bf;
	text-decoration:none;
}
h4 a:hover, h5 a:hover {
	color:#c8e1bf;
	text-decoration:none;
}

/* -------------------- General Text Links ------------------------- */
a {
	text-decoration:none;
}
a:link {
	color: #0099FF;
}
a:visited {
	color: #CC66CC;
}
a:hover {
	color: #0099FF;
	text-decoration:underline;
}
a:active{
	color: #CC3333;
}

/* -------------------- Columns for 3 Column Pages ------------------------- */

#column1 {
	width: 24%;
	float: left;
	margin-left: 10%;
	padding-left: 15px;
	margin-bottom: 1em;
	margin-right: 13px;
}
#column2 {
	float: left;
	width: 24%;
	margin-bottom: 1em;
	margin-left: 0.5em;
	margin-right: 13px;
}
#column3 {
	float: left;
	width: 24%;
	margin-bottom: 1em;
	margin-left: 0.5em;
}
#column1, #column2, #column3 {
	text-align:left;
}

/* -------------------- Links for Resume Downloads and Icons ------------------------- */

#topmessage {
	margin-left:-15%;
	margin-top:-1%;
	margin-bottom:0;
}
#topmessage h2 {
	text-align:center;
}
#topmessage img {
	margin-bottom:-4px;
}
#topmessage a {
	padding-left:2px;
	padding-right:2px;
	padding-top:4px;
	padding-bottom:4px;
}
#topmessage a:link {
	text-decoration:none;
	color:#666666;
}
#topmessage a:visited {
	text-decoration:none;
	color:#666666;
}
#topmessage a:hover {
	text-decoration:none;
	color:#FFFFFF;
	background-color:#666666;
}


/* -------------------- Grid of Images for Porfolio Front ------------------------- */

#gallerytable {
	margin-left:10%;
	padding-left:15px;
	margin-bottom: 1.5em;
}
#gallerytable td {
	border:none;
}
#gallerytable img {
	padding: 0px 25% 10% 0px;
}


/* -------------------- W3 Validation Images in Footer ------------------------- */

#valid {
	margin-top: .5em;
	margin-bottom:.25em;
}
#valid a {
	margin-top: .5em;
	margin-bottom:.5em;
	opacity:0.3;
	filter:alpha(opacity=30);
}
#valid a:hover {
	background-color:transparent;
	opacity:0.6;
	filter:alpha(opacity=60);
}
