/*---Body ----*/

body {padding:0px; margin:0px; color:#666; font:14px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;}
h1 {margin-top:10px; padding-top:10px;}
h2{font-size:32px; color:#120079;}
h3{font-size:2em; line-height:110%; margin:10px 0 0 -50px;}
p2 {color:black; font-weight:bold;}
p3{color:red;}
a{text-decoration:none;}
a:hover{text-decoration:underline;}
iframe{margin:0 0 0 -50px;}
table {width:600px;}
ul{list-style-type:square;}
li{padding:6px;}
img{border-style: none;}

/*----TOP PANEL----*/

#header {
	background-image:url(header.png);
	width:1000px;
	height:100px;
	position:relative;
	margin:0 auto 0 auto;

}

/*----NAVIGATION----*/

#navigation {background:url(navigation.png) repeat-x;
	height:40px;
	margin:0 auto 8px auto;
	position:relative;
	z-index:3;
}

#navigation ul {list-style-type:none; margin:0px; padding:0px;}

#navigation ul li {
	display:inline; margin:0px; padding:0px;
	width:160px;
	height:40px;
	float:left;
	border-right:solid 1px white;
}

#navigation ul li.first {
	border-left:solid 1px white;
}

#navigation ul li a{
	display:block;
	font-size:16px;
	text-decoration:none;
	text-align:center;
	color:white;
	line-height:40px;
	margin:0 auto 0 auto;
}

#navigation ul li a:hover, a:active{
	background-color:#cecece;}


#subnav {background:url(subline.png) repeat-x; margin-top:20px; height:70px;}
#subnav ul {list-style-type:none; margin:0px; padding:0px;}
#subnav ul li {display:inline; margin:0px; padding:0px; float:left;}
#subnav ul li a{background:url(subnav.png) no-repeat; margin:0px 2px; padding-top:15px; width:120px; height:60px; display:block; color:#4c4d50; text-decoration:none; text-align:center;}
#subnav ul li a:hover{background:url(subnavia.png) no-repeat; color:white;}
#subnav ul li a.active{background:url(subnavia.png) no-repeat; color:white;}

#navigation ul ul {display:none}
#navigation ul li:hover > ul {display: block;}

#navigation ul ul li {background:url(navigation.png) repeat-x; border-left:solid 1px white; border-bottom:solid 1px white;}
#navigation ul ul li.top{border-top:solid 1px white;}

/*----Upperbodypanel----*/

#upperbodypan {
	
	width:1000px;
	height:350px;
	position:relative;
	margin: auto;
	z-index:2;
}

/*----Middlebodypanel----*/

#middlebodypan {
	width:1000px;
	position:relative;
	margin:0px auto;
	padding: 1em 0px;
	z-index:1;
	position:relative;
}

#leftmiddlepan {
	width:650px;
	float:left;
	margin:0px auto;
}

#rightmiddlepan {
	width:330px;
	float:left;
}


/*----Footer----*/

#footer {
	background-image:url(footer.png);
	background-repeat:repeat-x;
	clear:both;
	position:relative;
	height:200px;
	margin:0 auto;
	padding:1em;
}

#footer ul {list-style-type:none; margin:0px; padding:0px;}
#footer ul li {display:inline; margin:0px; padding:0px;}
#footer a {display:inline; font-size:16px; text-align:center; color:#13007e; padding:1em;}
#footer a:active{background:rgba(255,255,255,0); border:none; text-decoration:none;}

#footer p {
	padding-left:1em;
	color:#818181;
	font-size:14px;
}

#footer figure {
	float:right;
	margin: -30px 0px 0px;
}

#formtable {width:600px}
#formtable td{width:150px; padding:10px 0px;}
#contacttable {width:340px}
#contacttable td{width:50px; padding;10px 0px;}


.wrap {
	width:1000px;
	margin:auto;
}

/*Products*/
#categoryfacial{margin-bottom:15px; padding:15px 40px; height:420px; width:420px; float:left;}
#categoryfacial a{background:url(category.png) 0 0; display:block; height:420px; width:420px;}
#categoryfacial a:hover{background:url(category.png) 0 -430px;}
#categorybathroom{margin-bottom:15px; padding:15px 40px; height:420px; width:420px; float:right;}
#categorybathroom a{background:url(category.png) -430px 0; display:block; height:420px; width:420px;}
#categorybathroom a:hover{background:url(category.png) -428px -430px;}
#categorykitchen{margin-bottom:15px; padding:15px 40px; height:420px; width:420px; float:left;}
#categorykitchen a{background:url(category.png) -855px 0; display:block; height:420px; width:420px;}
#categorykitchen a:hover{background:url(category.png) -856px -430px;}
#categorycommercial{margin-bottom:15px; padding:15px 40px; height:420px; width:420px; float:right;}
#categorycommercial a{background:url(category.png) -1280px 0; display:block; height:420px; width:420px;}
#categorycommercial a:hover{background:url(category.png) -1280px -430px;}


.productbox {width:650px; position:relative; float:left; margin:10px 0 10px 0;}
.productheader{height:25px; background-image:url(pboxheader.png); background-repeat:no-repeat;}
.productcontent {padding: 0px 20px 0px 20px; background-image:url(pboxcontent.png); background-repeat:repeat-y; overflow:hidden;}
.productcontent caption{padding:5px 10px;}
.productcontent td{height:200px; width:305px; padding:10px;}
.productfooter{height:37px; background-image:url(pboxfooter.png); background-repeat:no-repeat;}

.sidebox {width:325px; float:left; margin: 0px 2.5px 2.5px; overflow:hidden;}
.sidebox img {display:block; margin:10px auto;}
.sideboxheader{}
.sideboxcontent{}
.sideboxfooter{}

.list ul{list-style-type:square;}

textarea {
	margin:2px;
	width:400px;
	height:150px;
}



/*Images*/
.gallery {float:left;}

/* CONTROLS */
.btn { height:50px; width:28px; display:block; cursor:pointer; }
#back { background-image:url("../images/btn_back.png"); float:left;}
#next { background-image:url("../images/btn_next.png"); float:right;}
#control { background-image:url("../images/btn_pause.png"); float:left; display:none;}

#headernav-outer { position:relative; top:140px; margin:0 auto;}
#headernav { }

.headerimg { background-position: center top; background-repeat: no-repeat; width:1000px; height:350px; position:absolute; }
