body  {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	background:#000;
	font-size:0.85em;
	line-height:1.6em;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	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: #dcdcdc;
}
#main-container {
	background: url(../images/IMG_0938-small.jpg) no-repeat -60px 175px #000;
	width: 850px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0;
	padding:0;
}
.contact #main-container {
	background: url(../images/IMG_0938-small.jpg) no-repeat -60px 45px #000;
	width: 850px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0;
	padding:0;
}

.gallery #main-container {
	background: none;
	width: 850px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0;
	padding:0;
}
	
 #container { 
	width: 850px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 1em 0 0 90px; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	padding:0;
} 
 #header { 
 	position:relative;
	background-image: url(../images/kerry-makeup-header.jpg); 
	height:205px;
	width:100%;
	margin-bottom:3em;
	padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 

.gallery #header { 
 	position:relative;
	background-image: url(../images/kerry-makeup-header1.jpg); 
	height:98px;
	width:100%;
	margin-bottom:3em;
	padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 

.contact #header { 
 	position:relative;
	background-image: url(../images/kerry-makeup-header2.jpg); 
	height:98px;
	width:100%;
	margin-bottom:3em;
	padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 

.gallery #header { 
	margin-bottom:0em;
} 
 #header h1 {
	text-indent:-9000px;
	margin:0;
	padding:0;
}

h2 {
	color:#958b9c;
	font-weight:normal;
	margin:1.5em 0 0 0;
}

#nav {
	position:absolute;
	width:300px;
	left:470px;
}

#nav ul {
	margin:0;
	padding:0;
}
#nav li {
	width:60px;
	height:38px;	
	float:left;
	list-style:none;
	margin-right:2em;
}

#nav li a.home {
	display:block;
	width:60px;
	height:38px;
	background-image:url(../images/home-button.png);
	background-position:top center;
	padding:0;
}

#nav li a.home-selected {
	display:block;
	width:60px;
	height:38px;
	background-image:url(../images/home-button.png);
background-position:0px -38px;
	padding:0;
}

#nav li a.gallery {
	display:block;
	width:66px;
	height:38px;
	background-image:url(../images/gallery-button.png);
	background-position:top center;
	padding:0;
}

#nav li a.gallery-selected {
	display:block;
	width:66px;
	height:38px;
	background-image:url(../images/gallery-button.png);
background-position:0px -38px;
	padding:0;
}

#nav li a.contact {
	display:block;
	width:208px;
	height:38px;
	background-image:url(../images/contact-button.png);
	background-position:top center;
	padding:0;
}

#nav li a.contact-selected {
	display:block;
	width:208px;
	height:38px;
	background-image:url(../images/contact-button.png);
background-position:0px -38px;
	padding:0;
}

#nav li a:hover {
background-position:0px -38px;
	}
	
#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 261px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	padding: 0;
}
#mainContent { 
	background:url(../images/welcome-para.png) no-repeat top left;
	margin: 0 0 3em 261px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 200px 20px 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 

.contact #mainContent { 
	background:url(../images/contact-para.png) no-repeat top left;
	margin: 0 0 3em 261px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 175px 20px 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 
.gallery #mainContent { 
	background:none;
	margin: 0 0 3em 0; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 10px 20px 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 
a, a:link {
	color:#A88DBA;
	text-decoration:none;
	padding-right:15px;
	background:url(../images/arrow.png) no-repeat right center;
}

a:hover {
	color:#A88DBA;
	text-decoration:none;
	padding-right:15px;
	background:url(../images/arrow-over.png) no-repeat right center;
}

.gallery a, a:link {
	color:#A88DBA;
	text-decoration:none;
	padding-right:0px;
	background:none;
}

.gallery a:hover {
	color:#A88DBA;
	text-decoration:none;
	padding-right:0px;
	background:none;
}
#mainContent strong {
	color:#958b9c;
}
strong {
	color:#522a73;
}
table {
	text-align:left;
}
#footer { 
	padding: 0 10px 10px 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:url(../images/footer.jpg) no-repeat top center;
	text-align:right;
} 

.gallery #footer { 
	margin-top:2em;
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.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;
}
.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;
}
.galleria_container, .galleria_wrapper { width:750px; margin: 0 auto; }
.galleria_wrapper img { display:block; margin: 0 auto; padding-bottom:1em; }
.galleria{list-style:none;width:750px;clear:both;margin-bottom:1em;margin-left:10px;}
.galleria li{display:block;width:80px;height:80px;overflow:hidden;float:left;margin:0 10px 10px 0}
.galleria li a{display:none}
.galleria li div{position:absolute;display:none;top:0;left:180px}
.galleria li div img{cursor:pointer}
.galleria li.active div img,.galleria li.active div{display:block}
.galleria li img.thumb{cursor:pointer;top:auto;left:auto;display:block;width:auto;height:auto}
.galleria li .caption{display:block;padding-top:.5em;text-align:center;}
.galleria_container{text-align:center;padding-top:5px;}
* html .galleria li div span{width:400px} /* MSIE bug */