/*****************************************************************************

Soap Factory Main CSS

*****************************************************************************/

html,body {
	color: #6B7482;
	background: #fff url(../img/grunge_bar.jpg) 0 110px repeat-x;
	margin:0;
	padding:0;
	height:100%;
	text-align: center;
	font-size: .9em;
	font-family: Verdana, Helvetica, sans-serif;
	}

#wrapper {
	background: transparent url(../img/wrapper_bg.gif) 0 0 repeat-y;
	position: relative;
	margin: 0 auto;
	width: 748px;
	height: auto !important; /* real browsers */
	height: 100%; /* IE6: treated as min-height*/
	min-height: 100%; /* real browsers */
	text-align: left;
	}
	
#soap_logo {
	background: url(../img/soap_logo.gif) 0 0 no-repeat;
	position: absolute;
	top: 120px;
	left: 0;
	width: 150px;
	height: 67px;
	overflow: hidden;
	}
	
#soap_logo img { /* There is an alternate image hidden for non css browsers */ 
	margin-top: 100px;
	}

#main_img_over { /* The cover with corners and logo for the main image */
	background: url(../img/main_img_overlay.gif) 0 0 no-repeat;
	position: absolute;
	top: 54px;
	left: 0;
	width: 540px;
	height: 200px;
	}
	
#main_img {
	border-top: 54px solid #fff;
	}

#main_col {
	position: relative;
	margin-left: 208px;
	}
	
#content { /* Min-height is here to force the main column at least as tall as the nav with promos */
	position: relative;
	padding: 15px 15px 40px 15px;
	min-height: 325px;
	height: auto;
	}
	
/* for IE */
* html #content {
	height: 325px;
	}

#footer {
	color: #fff;
	background: #88919E;
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 7px 0;
	width: 540px;
	text-align: center;
	font-size: 11px;
	}
	


/* TEXT STYLES
-----------------------------------------------------------------------------*/

h2 {
	color: #fff;
	background: #88919E;
	display: block;
	margin: 0;
	padding: 5px 15px 8px 15px;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	}
	
h2 .subhead {
	font-size: 11px;
	font-weight: normal;
	}
	
h3 {
	font-size: 15px;
	font-weight: bold;
	}

p {
	margin: 0 0 10px 0;
	padding: 0;
	line-height: 1.5em;
	font-size: 12px;
	}
	
a {
	color: #CE7474;
	text-decoration: none;
	}
	
a:hover {
	text-decoration: underline;
	}

ul {
	list-style: square;
	}

ul li {
	margin: 10px 0;
	font-size: 12px;
	line-height: 1.5em;
	}

.highlight {
	color: #58749A;
	}

.double_head {
	display: block;
	width: 100%;
	min-height: 26px;
	height:auto !important; /* This declaration and the next make ie6 support min-height */  
	height:26px;
	}

.double_head h3 {
	float: left;
	margin: 0 0 .6em;
	padding: 0;
	width: 390px;
	font-size: 1em;
	font-weight: bold;
	}

.double_head p {
	float: right;
	margin: 0;
	padding: 0;
	font-weight: bold;
	}
	
.no_bullets {
	margin: 0;
	padding-left: 0;
	list-style: none;
	}



/* MAIN NAVIGATION
-----------------------------------------------------------------------------*/

#nav {
	position: absolute;
	top: 225px;
	left: 0;
	width: 182px;
	}
	
#nav ul {
	color: #CE7474;
	margin: 0 0 10px 2px;
	padding: 0 0 0 1em;
	list-style-image: url(../img/cross_bullet.gif);
	font-weight: bold;
	font-size: .9em;
	line-height: 1.7em;
	}
	
#nav ul li {
	margin: 0;
	}
	
#nav a {
	color: #646C78;
	font-weight: normal;
	text-decoration: none;
	}
	
#nav a:hover {
	color: #CE7474;
	}

#nav img {
	margin-top: 15px;
	}



/* SUB NAVIGATION
-----------------------------------------------------------------------------*/

.subnav {
	display: block;
	margin: 0;
	padding: 0;
	height: 50px;
	list-style: none;
	text-transform: uppercase;
	}
	
.subnav li {
	float: left;
	margin: 0;
	padding: 0 0 6px 0;
	}
	
.subnav a {
	display: block;
	float: left;
	color: #fff;
	background: #88919e;
	border-left: 1px solid #acb2bb;
	border-right: 1px solid #6d747e;
	padding: 0 10px;
	height: 24px;
	line-height: 24px;
	}
	
	
/* Hovers */
	
.subnav a:hover, .subnav .selected a {
	background: #ffa1a1;
	border-left: 1px solid #ffbdbd;
	border-right: 1px solid #cc8181;
	text-decoration: none;
	}
	
.subnav .first a:hover {
	background: #ffa1a1 url(../img/subnav_left_over.gif) no-repeat;
	border-left: 0;
	}
	
.subnav .last a:hover {
	background: #ffa1a1 url(../img/subnav_right_over.gif) top right no-repeat;
	border-right: 0;
	}
	
	
/* First and Last Items */
	
.subnav .selected.first a {
	background: #ffa1a1 url(../img/subnav_left_over.gif) no-repeat;
	border-left: 0;
	}
	
.subnav .selected.last a {
	background: #ffa1a1 url(../img/subnav_right_over.gif) top right no-repeat;
	border-right: 0;
	}
	
.subnav .first a {
	background: #88919e url(../img/subnav_left.gif) no-repeat;
	border-left: 0;
	}
	
.subnav .last a {
	background: #88919e url(../img/subnav_right.gif) top right no-repeat;
	border-right: 0;
	}
	
	
/* Selected Arrow */

.subnav .selected {
	background: url(../img/subnav_arrow.gif) bottom center no-repeat;
	}
	/
	

/* Blog Styles
-----------------------------------------------------------------------------*/

.blog_img {
	float: left;
	margin: 0 15px 15px 0;
	border: 1px solid #88919E;
	}
	
.comment {
	background: #fff;
	margin: 0 0 15px 0;
	padding: 15px 15px 30px 15px;
	border: 1px solid #CE7474;
	}

.comment .signature {
	float: right;
	}
	
#comment_form p {
	margin: 10px 0 3px 0;
	}
	
	
	
/* Photo Viewer Styles
-----------------------------------------------------------------------------*/

#photo_viewer {
	position: relative;
	margin-bottom: 15px;
	width: 507px;
	height: 307px;
	}

#photo_viewer img {
	border: 1px solid #88919E;
	}
	
#photo_viewer #photo_nav {
	position: absolute;
	top: 0;
	right: 14px;
	color: #fff;
	background: #88919E;	
	width: 111px;
	height: 23px;
	line-height: 23px;
	font-size: 11px;
	text-align: center;
	}

#photo_viewer .arrow_left {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 6px;
	border: 0;
	}
	
#photo_viewer .arrow_right {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 6px;
	border: 0;
	}
	
	

/* MISC STYLES
-----------------------------------------------------------------------------*/

.dotted_rule {
	background: url(../img/rule_dot.gif) 0 0 repeat-x;
	display: block;
	clear: both;
	margin: 15px 0;
	width: 100%;
	height: 3px;
	}
	
.dotted_rule hr {
	display: none;
	}

.page_nav {
	display: block;
	margin: 50px 0 0 0;
	height: 25px;
	width: 100%;
	}
	
.page_nav .left {
	float: left;
	}
	
.page_nav .right {
	float: right;
	}

.col255 {
	float: left;
	width: 255px;
	}
	
.col173 {
	float: left;
	width: 173px;
	}
	
.col337 {
	float: left;
	width: 337px;
	}
	
.clearer { /* keeps floats from poking out the bottom of divs */
	clear: both;
	font-size: 1px;
	}

.twtr-widget {
	margin: 30px 0 25px 0;
	}
	
.fb-like {
	float: left;
	display: block;
	margin: 15px 0 0 0;
	width: 125px;
	height: 50px;
	}
	
.email-signup {
	clear: both;
	background-color: #e9e9e9;
	padding: 7px;
	border: 1px solid #87909d;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	font-size: 11px;
	}
	
.email-signup h4 {
	color: #87909d;
	font-size: 12px;
	margin: 2px 0 5px 2px;
	}

.email-signup .textfield {
	height: 14px;
	line-height: 14px;
	width: 75px;
	font-size:10px;
	border:1px solid #999999;
	}
	
/* Logos */

.logos {
	margin: 25px 0;
	width: 535px;
	}
	
.logos img {
	margin-right: 25px;
	border: 0;
	}
