* {
	margin: 0px;/* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0px;
}
body {
	background: #666666 url(../images/background.gif) repeat;
	font: 100.01% Geneva, Arial, Helvetica, sans-serif;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #45494C;
}
#main_container{
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	background: url(../images/main_05_01.jpg) no-repeat;
	width: 799px;
	margin: 2em auto 1em;
	height: 571px;
	padding: 0px;
}
#container{
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	background: #FFFFFF url(../images/bg_container_01.jpg) no-repeat;
	width: 800px;
	margin: 2em auto 1em;
}
#header {
	height: 160px;
}		 
#header img {
	padding: 117px 0px 0px 521px;
}
#header h1 {
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: -100px;
}
#header p{
	margin: 0; 
	padding: 10px 0; 
	position: absolute;
	top: -100px;
}
#sidebar_main {
	width: 117px;
	float: left;
	padding-top: 4em;
	margin-top: 1em;
}
#sidebar_main a {
	margin: 0;
}
#sidebar_main a img {height: 37px; width: 117px; border-width: 0;}

/*Main links*/
#sidebar_main a#contact1 img {
	background: url(../images/main_contact.gif) no-repeat left top;}
#sidebar_main a#about1 img {
	background: url(../images/main_about.gif) no-repeat left top;}
#sidebar_main a#portfolio1 img {
	background: url(../images/main_portfolio.gif) no-repeat left top;}
#sidebar_main a#resume1 img {
	background: url(../images/main_resume.gif) no-repeat left top;}

/*Main Hover links*/
#sidebar_main a#contact1:hover img {background: url(../images/main_hover_contact.gif) no-repeat left top;}
#sidebar_main a#about1:hover img {background: url(../images/main_hover_about.gif) no-repeat left top;}
#sidebar_main a#portfolio1:hover img {background: url(../images/main_hover_portfolio.gif) no-repeat left top;}
#sidebar_main a#resume1:hover img {background: url(../images/main_hover_resume.gif) no-repeat left top;}


#sidebar {
	width: 117px;
	float: left;
	padding-top: 2em;
}
#sidebar a {
	margin: 0;
}
#sidebar a img {height: 37px; width: 117px; border-width: 0;}

/*secondary links*/
#sidebar a#home img {background: url(../images/sechome.gif) no-repeat left top;}
#sidebar a#contact img {background: url(../images/seccontact.gif) no-repeat left top;}
#sidebar a#about img {background: url(../images/secabout.gif) no-repeat left top;}
#sidebar a#portfolio img {background: url(../images/secportfolio.gif) no-repeat left top;}
#sidebar a#resume img {background: url(../images/secresume.gif) no-repeat left top;}

/*Secondary Hover links*/
#sidebar a#home:hover img {background: url(../images/hover_home.gif) no-repeat left top;}
#sidebar a#contact:hover img {background: url(../images/hover_contact.gif) no-repeat left top;}
#sidebar a#about:hover img {background: url(../images/hover_about.gif) no-repeat left top;}
#sidebar a#portfolio:hover img {background: url(../images/hover_portfolio.gif) no-repeat left top;}
#sidebar a#resume:hover img {background: url(../images/hover_resume.gif) no-repeat left top;}

/*rigth sidebar*/
#sidebarright {
	float: left;
	padding: 60px 0px 0px;
	margin-top: auto;
	margin-bottom: auto;
}

#contentmain {
	width: 525px;
	padding-left: 1em;
	float: left;
	text-align: justify;
	line-height: 1.2em;
	height: 360px;
}
#contentmain h1 {
	font-size: 1.2em;
	margin-top: 4em;
	margin-bottom: 0.3em;
	margin-left: 0.5em;
	color: #FFFFFF;
}
#contentmain p {
	font-size: 0.8em;
	margin-left: 0.7em;
	color: #FFFFFF;
	padding-right: 4em;
}
#content {
	width: 525px;
	padding-left: 1em;
	float: left;
	text-align: left;
	margin-bottom: 3em;
	line-height: 1.2em;
	padding-top: 0.5em;
}
#content h1 {
	font-size: 1.2em;
}
#content p {
	font-size: 0.8em;
	padding-bottom: .8em;
}
/*#content p:first-letter {
	font-family: "Palatino Linotype", Georgia, serif;
	font-size: 1.6em;
	font-style: italic;
	font-weight: bolder;
}*/
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
	padding-top: 5px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.clearfix:after {/*The period is the last thing before the div closes*/
	content: ".";/*inline elements doin't respond to the clear property*/
	display: block;/*Ensure the peroid is not visible*/
	height: 0;/*Make the container clear the peroid*/
	clear: both;/*Further ensures the peroid is not visible*/
	visibility: hidden;/*Further ensures the peroid is not visible*/
	}
.clearfix {
	display: inline-block;/*A fix for IE mac*/
	}
*html .clearfix {/*the holly hack for a bug in IE6 for Windows*/
	height: 1%;
	}
.clearfix {
	display: block;/*the holly hack for a bug in IE6 for Windows*/
	}
#footer_main {
	clear: both;
	padding: 0.5em 0px 0em 20em;
	vertical-align: baseline;
	height: auto;
	font-weight: bold;
	font-size: .8em;
}
#footer_main a {
	float: left; 
	padding: 0 .4em 0 0;
    text-decoration: none; 
    color: #CA9932;
    width: 1em;
}
	
#footer {
	clear: both;
	background: url(../images/footer_06.gif) no-repeat;
	padding: 0.5em 0px;
	vertical-align: baseline;
	height: auto;
	font-weight: bold;
	font-size: .8em;
	margin:0em;
	text-align: center;
	background: url(../images/footer_14.gif) no-repeat bottom;
}
#footer a {
	float: left; 
	padding: 0 .4em 0 0;
    text-decoration: none; 
    color: #CA9932;
    width: 1em;
}
	
html>body #footer a, html>body #footer_main a {width: auto;}    /* fixes IE6 hack */
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#footer a, #footer_main a {float: none;}            /* End IE5-Mac hack */

#footer a:hover, #footer_main a:hover {
	color: #999966;
}
#footer #current, #footer #current a, #footer_main #current, #footer_main #current a {
	color: #999966;
}
#container #content h2 {
	padding-top: 0.8em;
	padding-bottom: 0.4em;
	font-size: 1.2em;
}
#container #content h5 {
	font-weight: bold;
	padding-bottom: 0.2em;
}
#container #content #Accordion1 .AccordionPanel AccordionPanelOpen .AccordionPanelContent a {
	font-size: .8px;
}
a:link {
	color: #CA9932;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	color: #999966;
	text-decoration: underline;
	font-weight: bold;
}

#copyright {
	clear: both;
	height: auto;
	font-weight: bold;
	font-size: 0.6em;
	color: #000000;
	margin-right: auto;
	margin-left: auto;
	padding-top: 0.5em;
	padding-right: 0px;
	padding-bottom: 0.5em;
}
#container #content #Accordion1 .AccordionPanel AccordionPanelOpen .AccordionPanelContent p {
	text-align: left;
}
#contact_form {
	margin: 15px auto 10px 20px;
	width: 470px;
}
#contact_form label {
	font-weight: bold;
	display: block;
}
#contact_form #comments {
	height: 150px;
	width: 450px;
}
#content p img {
	border-top: 10px ridge #93989C;
	border-right: 10px ridge #93989C;
	border-bottom: 10px ridge #93989C;
	border-left: 10px ridge #93989C;
}
.rightside_image {
	margin-left: 55px;
}
#content #containing_photo {
	overflow: auto;
	height: 500px;
	width: 525px;
}
.yellow {
	color: #CD9934;
	font-weight: bold;
	padding-right: 5px;
	padding-left: 5px;
}
