body {
margin: 0;
padding: 0;
}
#page {
width: 794px;
margin: 0 auto;
}

/******** HEADER ***********/
#header {
position: relative;
height: 85px;
width: 794px;
margin: 0;
padding: 0;
}
#header h1 {
float: left;
margin: 0;
padding: 0;
position: absolute;
top: 0;
left: 0;
}
#header h1 a {
display: block;
width: 199px;
height: 85px;
background-image: url('images/SafetyTubs_logo.gif');
}
#header h1 a span {
display: none;
}

#header #freestylelink {
position: absolute;
top: 30px;
left: 220px;
}

#fontcontrol {
position: absolute;
top: 30px;
right: 0;
}
#fontcontrol img {
border: none;
}

#secondarynav {
position: absolute;
top: 70px;
left: 385px;
width: 409px;
float: right;
list-style: none;
margin: 0;
padding: 0;
}
#secondarynav li {
margin: 0;
padding: 0;
list-style: none;
float: left;
}

#secondarynav li#livechat a {
display: block;
height: 15px;
width: 169px;
background: url('images/live_chat.gif') 0 0;
}
#secondarynav li#livechat a:hover {
background-position: 0 15px;
}

#secondarynav li#callsupport a {
display: block;
height: 15px;
width: 124px;
background: url('images/click_to_call.gif') 0 0;
}
#secondarynav li#callsupport a:hover {
background-position: 0 15px;
}

#secondarynav li#wherebuy a {
display: block;
height: 15px;
width: 116px;
background: url('images/where_to_buy.gif') 0 0;
}
#secondarynav li#wherebuy a:hover {
background-position: 0 15px;
}

#secondarynav li#livechat a span, 
#secondarynav li#callsupport a span,
#secondarynav li#wherebuy a span {
display: none;
}


/**** MAIN NAV ***/
#mainnav {
width: 794px;
list-style: none;
margin: 0;
padding: 0;
float: left;
}
#mainnav li {
float: left;
}

#mainnav li#home a {
display: block;
width: 76px;
height: 24px;
background: url('images/home-new.gif') 0 0;
}

#mainnav li#products a {
display: block;
width: 101px;
height: 24px;
background: url('images/products-new.gif') 0 0;
}

#mainnav li#faqs a {
display: block;
width: 65px;
height: 24px;
background: url('images/faqs-new.gif') 0 0;
}

#mainnav li#downloads a {
display: block;
width: 114px;
height: 24px;
background: url('images/downloads-new.gif') 0 0;
}

#mainnav li#testimonials a { 
display: block;
width: 123px;
height: 24px;
background: url('images/testimonials-new.gif') 0 0;
}

#mainnav li#contactus a {
display: block;
width: 109px;
height: 24px;
background: url('images/contactus-new.gif') 0 0;
}

#mainnav li#aboutus a {
display: block;
width: 94px;
height: 24px;
background: url('images/aboutus-new.gif') 0 0;
}
#mainnav li#pressroom a {
display: block;
width: 112px;
height: 24px;
background: url('images/pressroom-new.gif') 0 0;
}

#mainnav li#home a:hover,
#mainnav li#products a:hover,
#mainnav li#faqs a:hover,
#mainnav li#downloads a:hover,
#mainnav li#testimonials a:hover,
#mainnav li#contactus a:hover,
#mainnav li#aboutus a:hover,
#mainnav li#pressroom a:hover{
background-position: 0 -24px;
cursor:pointer;
}
#mainnav li#home a span,
#mainnav li#products a span,
#mainnav li#faqs a span,
#mainnav li#aboutus a span,
#mainnav li#downloads a span,
#mainnav li#testimonials a span,
#mainnav li#contactus a span,
#mainnav li#pressroom a span {
display:none;
}


/*** FLASH AREA ***/
#flashheader {
border-left: 1px solid #5e5f5f;
border-right: 1px solid #5e5f5f;
width: 792px;
margin: 0;
padding: 0;
}


/*** PICTURE HEADER **/
#pictureheader {
border-left: 1px solid #5e5f5f;
border-right: 1px solid #5e5f5f;
width: 791px;
height: 176px;
padding: 1px 0 0 1px;
margin: 0;
clear: both;
}
#pictureheader div a {
width: 197px;
height: 175px;
display: block;
padding: 0 1px 0 0;
float: left;
}

/*#pictureheader #pic6032 a {
background: url('images/home_ST6032.jpg') 0 0;
background-repeat:no-repeat;
}
#pictureheader #pic5130 a {
background: url('images/home_ST5130.jpg') 0 0;
background-repeat:no-repeat;
}
#pictureheader #pic5126 a {
background: url('images/home_ST5126.jpg') 0 0;
background-repeat:no-repeat;
}
#pictureheader #pic4828 a {
width: 195px;
background: url('images/home_ST4828.jpg') 0 0;
background-repeat:no-repeat;
}

#pictureheader #pic6032 a:hover,
#pictureheader #pic5130 a:hover,
#pictureheader #pic5126 a:hover,
#pictureheader #pic4828 a:hover {
background-position: 0 -175px;
}


#pictureheader #pic6032 a span,
#pictureheader #pic5130 a span,
#pictureheader #pic5126 a span,
#pictureheader #pic4828 a span {
display: none;
}
*/
#pictureheader #acrylichome a {
background: url('images/home_safetytubs.jpg') 0 0;
background-repeat:no-repeat;
}
/*#pictureheader #gelcoathome a {
background: url('images/home_gelcoattubs.jpg') 0 0;
background-repeat:no-repeat;
}*/
#pictureheader #tubsforkids a {
background: url('images/home_kidstubs.jpg') 0 0;
background-repeat:no-repeat;
}
#pictureheader #accessorieshome a {
	width: 195px;
background: url('images/home_accessories.jpg') 0 0;
background-repeat:no-repeat;
}
#pictureheader #purchasehome a {
background: url('images/home_purchase.jpg') 0 0;
background-repeat:no-repeat;
}
#pictureheader #seatedshowerhome a {
background: url(images/home_seatedshower.jpg) 0 0;
background-repeat: no-repeat;
}
#pictureheader #tubsforkids a:hover,
#pictureheader #seatedshowerhome a:hover,
#pictureheader #acrylichome a:hover,
#pictureheader #gelcoathome a:hover,
#pictureheader #accessorieshome a:hover,
#pictureheader #purchasehome a:hover {
background-position: 0 -175px;
}

#pictureheader #tubsforkids a span,
#pictureheader #seatedshowerhome a span,
#pictureheader #acrylichome a span,
#pictureheader #gelcoathome a span,
#pictureheader #accessorieshome a span,
#pictureheader #purchasehome a span {
display: none;
}


/*** CONTENT ***/
#content {
width: 752px;
border-left: 1px solid #5e5f5f;
border-right: 1px solid #5e5f5f;
border-bottom: 5px solid  #5e5f5f;
margin: 0;
padding: 20px;
position: relative;
}

#content .twocolumn {
width: 366px;
float: left;
}

#content .wide {
width: 366px;
padding-right: 20px;
}

#content .onecolumn {
width:550px;
float: left;
padding: 0 20px 0 0;
}
#content .sidetext,
#content .sidenav {
width: 180px;
float: left;
}
#content .sidenav h2 {
padding-bottom: 0;
margin-bottom: 0;
}
#content .sidenav ul {
margin: 0;
padding: 0 0 5px 15px;
}
#content .sidenav ul li {
padding: 0 0 5px 0;
}
#content .sidenav ul li ul li {
padding: 0 0 2px 0;
}


.inlinephotos {
	display: inline;
/*float: right;
padding: 0 0 15px 15px;
overflow: auto;
width: auto;
border: 1px solid red;*/
}

.inlinephotos img {
clear: right;
float: right;
margin: 0 0 15px 15px;
}

/*** Common **/

/**** FOOTER ***/
#footer #footernav {
width: 500px;
float: right;
text-align: right;
margin: 5px 0;
}

a img {
border: none;
}

/**** TABLES ****/
.datatable {
width: 100%;
margin: 0;
padding: 0;
}
.datatable td {
vertical-align: top;
padding: 2px 2px 2px 4px;
}
.datatable tr.header td {
font-weight: bold;
background-color: #CCCCCC;
}
.datatable ul {
margin: 0 0 0 10px;
padding: 0 0 0 8px;
}
#content table.datatable ul li {
padding: 0;
margin: 0;
}

.listtable td {
padding: 4px;
}
.listtable tr.headerrow td {
background-color: #389FCD;
font-weight: bold;
}
.listtable tr.altrow td {
background-color: #dedede;
}
.listtable tr td {
background-color: #C2E1EF;
}