/*basics*/
* {
	margin: 0px;
	padding: 0px;
	}
body {
	font-family: "tw cen mt", arial, sans-serif;
	font-size: 12px;
	background-color: #3b3b3b;
	color: #8c8c8c; 
	}
	
/*structure */
#wrapper{
	margin-left: auto;
	margin-right: auto;
	position: relative;
	width: 997px;
	height: 1000px;
	background-image: url(images/background-box.png);
	}

#innerwrapper{
	position: absolute;
	margin: 140px 130px 0px 130px;
	width: 741px;
	height: 557px;
}

#header{
	width: 741px;
	height: 55px;
	font-weight: bold;
	}
#header div{
	float: right;
	display: inline;/*fixes ie6 double margin but*/
	margin: 12px 80px 0px 0px;
	}
#header img{
	float: right;
	margin: 11px 0px 0px 0px;
	border: 0px;
	}
#header img.first{
	float: right;
	margin: 11px 14px 0px 0px;
	}
#header div.last{
	float: right;
	margin: 12px 25px 0px 0px;
	}
	
/* nav */
	
#nav{
	width: 729px;
	height: 20px;
	margin-left: 12px;
	overflow: hidden;
	}
	
	/* CSS Rollovers */
#nav #overview{
    display: inline-block;
	width: 111px;
	height: 22px;
	text-decoration: none;
	background: url("images/nav-butt-overview.jpg");
	margin-right: 6px;
	}
#nav #overview:hover {
     background-position: -113px 0px;
     }
#nav a span.displace {
    position: absolute;
	left: -5000px;
    }

#nav #preparation{
    display: inline-block;
	width: 111px;
	height: 22px;
	text-decoration: none;
	background: url("images/nav-butt-preparation.jpg");
	margin-right: 6px;
	}
#nav  #preparation:hover {
     background-position: -113px 0px;
     }

#nav #services{
    display: inline-block;
	width: 111px;
	height: 22px;
	text-decoration: none;
	background: url("images/nav-butt-services.jpg");
	margin-right: 6px;
	}
#nav #services:hover {
     background-position: -113px 0px;
     }

#nav #doctors{
    display: inline-block;
	width: 111px;
	height: 22px;
	text-decoration: none;
	background: url("images/nav-butt-doctors.jpg");
	margin-right: 6px;
	}
#nav #doctors:hover {
     background-position: -113px 0px;
     }

#nav #appointments{
    display: inline-block;
	width: 111px;
	height: 22px;
	text-decoration: none;
	background: url("images/nav-butt-appointments.jpg");
	margin-right: 6px;
	}
#nav #appointments:hover {
     background-position: -113px 0px;
     }

#nav #contact{
    display: inline-block;
	width: 111px;
	height: 22px;
	text-decoration: none;
	background: url("images/nav-butt-contact.jpg");
	}
#nav  #contact:hover {
     background-position: -113px 0px;
     }
	 
	 
#subnav{
	width: 627px;
	height: 20px;
	margin-left: 54px;
	padding-top: 7px;
	overflow: hidden;
	border-top: 1px solid #fff;
	}
	
#subnav a{
	color: #ddd;
	font-weight: bold;
	text-decoration: none;
	display: inline-block;
	margin-right: 19px;
}

#subnav a.last{
	margin: 0px;
}

/* layout styles */

#main{
	width: 741px;
	height: 400px;
}

#main #content{
	position: absolute;	
	top: 115px;
	left: 390px;
	width: 250px;
	height: 200px;
}

#main #contentlegal{
	position: absolute;
	left: 90px;
	width: 670px;
	height: 400px;
}

#main #contentlegal #panelegal{
	width: 550px;
}

#main #content #logo{
	position: absolute;
	background-image: url("images/endoscopy-centre-logo.png");
	width: 150px;
	height: 16px;
	top: 180px;
}

#main #content #logo span{
	position: absolute;
	left: -5000px;
}

#main #left{
	position: absolute;
	padding-top: 82px;
	left: 0px;
	width: 320px;
	height: 200px;
}

#main #left img{
	position: absolute;
	left: 95px;
}

#main #left #logo{
	position: absolute;
	background-image: url("images/endoscopy-logo-background.png");
	width: 150px;
	height: 16px;
	top: 180px;
}

#main #left #logo span{
	position: absolute;
	left: -5000px;
}

#main #right{
	position: absolute;
	margin-top: 100px;
	left: 320px;
	width: 280px;
	height: 200px;
}

#main #right #pane1{
	height: 220px;
	width: 295px;
	padding-right: 5px;
	}

#main #right h1{
	color: #d12f88;
	font-size: 25px;
}

#main #right h2{
	font-size: 16px;
	margin-top: 7px;
}

#main #right p{
	margin-top: 10px;
	color: #222;
}

#main #right ul{
	margin-top: 10px;
	color: #222;
}

#main #right a{
	color: #222; 
}

#main #thumblock{
	margin: 35px 0px 0px 60px;
}

#main #thumblock #thumbrow{
	margin-bottom: 2px;
}

#main #thumblock #thumbrow img{
	margin-right: 15px;
	border: none;
}

#subfooter{
	position: relative;
	top: 720px;
	left: 230px;
	font-size: 14px;
}

#subfooter a{
	color: #8c8c8c;
}

/*mail form styles*/
	
.mailform{
	list-style-type: none;
	height: 280px;
	padding-top: 5px;
}

.mailform li{
	clear: both;
	height: 20px;
}

.mailform li.bump{
	margin-top: 5px;
}

.mailform label{
	font: bold 1em arial;
}

.mailform input{
	width: 280px;
}

.mailform textarea{
	float: left;
	width: 280px;
}

.mailform .submit{
	clear: both;
	margin-top: 10px;
	width: 70px;
}
