body
{
	text-align: center;
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 76%;
	background: #FBC0DF url(/images/page_bg.gif) top center no-repeat;
}

#main
{
	margin: 40px auto;
	position: relative;
	width: 900px;
	text-align: left; /* this overrides the text-align: center on the body element. */
}

#container
{
	background: #EF037E url(/images/container_bg.png) top left repeat-x;
}

#top
{
	width: 900px;
	height: 135px;
	margin: 0 0 20px 0;
	position: relative;
}

#tel
{
	position: absolute;
	color: #ffffff;
	top: 125px;
	left: 540px;
	width: 221px;
	line-height: 19px;
	font-weight: bold;
	text-align: center;
	background: url(/images/lozenge.png) top left no-repeat;
}

#logo,
#logo a
{
	display: block;
	float: left;
	width: 346px;
	height: 99px;
	background: transparent url(/images/logo.png) top left no-repeat;
}
#logo
{
	margin: 35px 0 0 20px;
}
#logo a
{
	text-decoration: none;
	text-indent: -1000em;
}


#promo
{
	float: left;
	width: 423px;
	height: 80px;
	margin: 35px 0 0 70px;
}
#promo img
{
	border: 0;
}
#promo p
{
	margin: 0;
}

#main_content
{
	clear: both;
	min-height: 350px;
	padding-bottom: 1px;
}

#left_div
{
	width: 170px;
	float: left;
}

#mid_div
{
	width: 487px;
	float: left;
	margin: 0 0 10px 0;
}

#right_div
{
	width: 200px;
	float: left;
}


/* left hand navigation */
#mainnav
{
	width: 170px;
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
}
#mainnav li
{
	padding-left: 20px;
	margin: 0 0 5px 0;
}
#mainnav a
{
	text-decoration: none;
	color: #ffffff;
}
#mainnav li.active
{
	background: url(/images/star.png) 6px center no-repeat;
}

/* sign up box */
#signup
{
	width: 139px;
	margin: 0 0 0 20px;
	padding-top: 17px;
	font-size: 0.9em;
	background: url(/images/signup_top.png) top center no-repeat;
}

#signup form
{
	margin: 0;
	padding: 0 10px;
	background: url(/images/signup_bg.png) top center repeat-y;
}

#signup h4
{
	width: 77px;
	height: 21px;
	margin: 0;
	text-indent: -1000em;
	background: url(/images/signup.png) top center no-repeat;
}
#signup p
{
	margin: 0;
	color: #ffffff;
}
#signup #email
{
	width: 115px;
	padding: 1px;
	border: 1px solid #F0037F;
	font-size: 0.9em;
	margin: 5px 0;
}

#signup .signupfoot
{
	height: 17px;
	background: url(/images/signup_bottom.png) top center no-repeat;
}

#content-top,
#content-bottom
{
	width: 487px;
	height: 17px;
}

#content-top
{
	background: url(/images/content_top.png) top left no-repeat;
}
#content-top.tab-sel
{
	background: url(/images/content_top_tab_sel.png) top left no-repeat;
}
#content-top.tab-unsel
{
	background: url(/images/content_top_tab_unsel.png) top left no-repeat;
}

#content-bottom
{
	background: url(/images/content_bottom.png) top left no-repeat;
}

#main_text
{
	min-height: 340px;
	padding: 1px 15px;
	background: transparent url(/images/content_bg.png) repeat-y scroll left top;
}
#main_text h1,
#main_text h2,
#main_text .subpage-block h2
{
	color: #F0037F;
	font-size: 1.4em;
}
#main_text .subpage-block h2
{
	font-size: 1.2em;
}

#main_text a
{
	color: #F0037F;
}

/*
#main_text .page_image,
#main_text .subpage-block .page_image
{
	width: 150px;
	float: right;
}
*/
#main_text .page_image,
#main_text .subpage-block .page_image
{
	float: right;
	width: 158px;
}
#main_text .subpage-block .page_image
{
	padding-top: 55px;
	clear: right;
}

#main_text .page_image + h1,
#main_text .page_image + #bodycontent,
#main_text .page_image + h1 + #bodycontent,
#main_text .subpage-block .page_image + h2,
#main_text .subpage-block .page_image + .spcontent,
#main_text .subpage-block .page_image + h2 + .spcontent
{
	margin-right: 160px;
}

#main_text .subpage-block
{
	border-top: 2px solid #F0037F;
	overflow: hidden;
}


/* linkboxes */
#linkboxes
{
	width: 187px;
	margin: 0 0 0 10px;
	color: #ffffff;
}

.linkbox
{
	margin: 0 0 10px 0;
	padding: 17px 0 0 0;
	background: url(/images/linkbox_top.png) center top no-repeat;
}
.linkbox img
{
	display: block;
}
.linkbox .lbtext
{
	padding: 0 15px;
	background: url(/images/linkbox_bg.png) center top repeat-y;
}
.linkbox h4
{
	margin: 0;
}
.linkbox .lbmore
{
	display: block;
	width: 100%;
	height: 16px;
	margin-top: 5px;
	text-decoration: none;
	text-indent: -1000em;
	background: url(/images/linkbox_more.png) right bottom no-repeat;
}
.linkbox .lbfoot
{
	height: 17px;
	background: url(/images/linkbox_bottom.png) center bottom no-repeat;
}

/* inner linkboxes (linkbox 4 for locations-style subpages */
#inner-linkbox
{
	width: 158px;
	margin: 0 0 0 10px;
	color: #ffffff;
}

#main_text .subpage-block #inner-linkbox.page_image
{
	padding-top: 10px;
}

#inner-linkbox .linkbox
{
	background: url(/images/inner_linkbox_top.png) center top no-repeat;
}
#inner-linkbox .linkbox img
{
	width: 128px;
}
#inner-linkbox .linkbox .lbtext
{
	background: url(/images/inner_linkbox_bg.png) center top repeat-y;
}
#inner-linkbox .linkbox .lbfoot
{
	background: url(/images/inner_linkbox_bottom.png) center bottom no-repeat;
}


/* shop links */
#shoplinks
{
	width: 187px;
	margin: 0 0 0 10px;
	color: #ffffff;
}

.shoplink
{
	margin: 0 0 10px 0;
	padding: 17px 0 0 0;
	background: url(/images/linkbox_top.png) center top no-repeat;
	color: #ffffff;
}
#shoplinks .sltext
{
	padding: 0 15px;
	background: url(/images/linkbox_bg.png) center top repeat-y;
}
#shoplinks h4
{
	margin: 0 0 5px 0;
}
#shoplinks .product
{
	padding: 0 0 5px 0;
	min-height: 50px;
}
#shoplinks img
{
	float: left;
	margin: 0 10px 0 0;
}
#shoplinks p
{
	margin: 8px 0 0 0;
}
#shoplinks a
{
	color: #ffffff;
}
#shoplinks .slfoot
{
	height: 17px;
	background: url(/images/linkbox_bottom.png) center bottom no-repeat;
}



/* page or subpage links */
#pagelinks
{
	margin: 0;
	padding: 0;
	list-style: none;
}


/* various footer links */

#utilities
{
	clear: both;
	margin: 10px 230px 10px 170px;
	text-align: center;
	color: #FFFFFF;
	font-size: 0.9em;
}
#utilities a
{
	color: #ffffff;
	text-decoration: none;
}


#footer
{
	clear: both;
	margin: 20px 20%;
	font-size: 0.8em;
	text-align: center;
	color: #EF037E;
}
#footer a
{
	color: #EF037E;
}


/*
 * These should be the possible combinations of tags with classes:
 * 
 * <maintab class="first"> => First tab, unselected
 * <maintab class="first selected"> => First tab, selected
 * 
 * <maintab> => In-between tab, unselected
 * <maintab class="selected"> => In-between tab, selected
 * <maintab class="afterselected"> => In-between tab, immediately after selected tab
 * 
 * <maintab class="last"> => Last tab, unselected
 * <maintab class="last afterselected"> => Last tab, when immediately after selected tab
 * <maintab class="last selected"> => Last tab, selected
 * 
 * Each tab should include an image only to the left (the divider between tabs), except
 * for the last tab, which needs to have the right-hand corner as well.
 * 

#tabcontainer
{
	width: 530px;
	height: 22px;
	margin-left: 170px;
}

#tabs
{
	display: block;
	float: left;
	height: 22px;
	overflow: hidden;
	list-style: none;
	margin: 0 0 0 2px;
	padding: 0 14px 0 0;
	background: url(/images/tab_last_off.png) top right no-repeat;
}

#tabs.last-selected
{
	background-image: url(/images/tab_last_on.png);
}

#tabs li
{
	display: block;
	float: left;
	height: 22px;
	min-width: 50px;
	line-height: 22px;
	padding: 0 0 0 16px;
	background: url(/images/tab_both_off.png) top left no-repeat;
}
#tabs li.selected
{
	background-image: url(/images/tab_prev_off.png);
}
#tabs li.afterselected
{
	background-image: url(/images/tab_prev_on.png);
}

#tabs li.first
{
	background-image: url(/images/tab_first_off.png);
}
#tabs li.first.selected
{
	background-image: url(/images/tab_first_on.png);
}

#tabs li a
{
	display: block;
	min-width: 50px;
	color: #ffffff;
	background: #ADADAD url(/images/tab_unsel_bg.png) top left repeat-y;
	text-decoration: none;
}

#tabs li.selected a
{
	display: block;
	color: #ffffff;
	background: #ADADAD url(/images/tab_sel_bg.png) top left repeat-x;
	text-decoration: none;
}
 */


/* Simplified multi-row tabs */
ul#tabs
{
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 487px;
}

ul#tabs li
{
	float: left;
	padding: 0 0 0 7px;
	margin: 0 -24px -10px 0;
	background: url(/images/tab_off_left_endcap.png) top left no-repeat;
	z-index: 10;
}

ul#tabs li a
{
	display: block;
	padding-right: 17px;
	color: #ffffff;
	background: url(/images/tab_off_right_endcap.png) top right no-repeat;
	text-decoration: none;
}

ul#tabs li a span
{
	display: block;
	height: 30px;
	padding: 5px 17px 0 0;
	background: url(/images/tab_off_bg.png) top left repeat-x;
}


ul#tabs li.selected
{
	z-index: 20;
	background: url(/images/tab_on_left_endcap.png) top left no-repeat;
}
ul#tabs li.selected a
{
	background: url(/images/tab_on_right_endcap.png) top right no-repeat;
}
ul#tabs li.selected a span
{
	background: url(/images/tab_on_bg.png) top left repeat-x;
}


/* End of tab classes */
