body, html {
	height: 100%;
}

body {
	padding: 0;
	margin: 0;
	min-width: 760px; /* Doesn't work in IE6 */
	color: #036;
	background: url( "/pics/bg/right_1.png" ) repeat-y 100% 0;
}

.clear {
	clear: both;
}

#main {
	min-height: 100%;
	background: url( "/pics/bg/left_1.png" ) repeat-y 0 0;
}

#mainContainer {
	min-height: 100%;
}

.outer {
	padding-left: 130px; /*** Same width as margin-left for the float-wrap div ***/
	padding-right: 165px; /*** Our right column width ***/
}

.inner {
	width: 100%;
	padding-bottom: 65px; /*** Padding-bottom value is the same value as the total height of the footer ***/
}

/* Header */

#header {
	/*position: relative;*/
	color: #b0b0b0;
	height: 147px;
	font-weight: bold;
}

#header div {
	position: absolute;
	overflow: hidden;
}
	
#header img {
	position: absolute;
	top: 0;
	left: 0;
	width: 105px;
	height: 147px;
}

#linetop {
	top: 15px; 
	left: 150px;
	height: 23px;
	font-size: 13px;
	white-space: nowrap;
}

#logo {
	color: #808080;
	top: 38px;
	left: 90px;
	height: 80px;
	font-size: 50px;
}
	
#linebottom {
	top: 118px;
	left: 400px;
	height: 23px;
	font-size: 13px;
	white-space: nowrap;
}

.float-wrap {
	float: left;
	width: 100%;
	margin-left: -130px; /*** Same length as .outer padding-left but with negative value ***/
}

/* Main center coloumn */

.contentWrap {
	padding: 2.2em 20px 100px 7px;
}

#content {
	float: right;
	margin-right: -130px; /*** Same length as .outer padding-left but with negative value ***/
	width: 100%;
	padding: 2px;
}

/*** div.left is in div.float-wrap, and when div.float-wrap is neg margined to the left, div.left is carried over into the proper position.***/

#left {
	float: left;
	width: 100px; 
	height: 535px;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: .65em;
	padding: 2px;
}

#left.snellen {
	background: url( "/pics/Snellen3D2.gif" ) no-repeat 0 0;
}

#dispoptions {
	border-style: solid;
	border-width: 1px 2px 3px 1px;
	background: #f0f0f0;
	margin: 2.5em 0;
	padding: 1.5em 5px;
}

#dispoptions select {
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 1em;
	width: 90px;
}

/* Right coloumn */

#right {
	float: right;
	width: 145px;
	font-size: .6em;
	padding: 4.5em 0 6em; 
	margin-right: -145px; /** This negative margin-right value is the same as the right column width (width + padding). ***/
}

#search {
	border: 1px solid #036;
	margin: 0;
	padding: 1.5em 3px;
}

#search input, #search select {
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 1em;
}

#stext {
	width: 129px;
	margin-bottom: 20px;
}

#search select {
	width: 135px;
	margin-bottom: 5px;
}

#ssub {
	width: 135px;
	margin-top: 20px;
	margin-bottom: 5px;
}

#quote {
	border: 1px solid #036;
	padding: 1em 5px;
}

#sig {
	text-align: right;
	padding: 1.5em 0 0;
}

/* Footer style definitions */

#footer {
	height: 53px;
	margin-top: -65px;
	clear: left;
	text-align: center;
	border-top: 2px solid #b0b0b0;
	font-size: .6em;
	padding-bottom: 10px;
}

#validation {
	margin: 15px auto;
}

#validation img {
	height: 22px;
	width: 62px;
}

/* The topmost main horizontal navigation list */

#horizontal_navcontainer {
	position: relative;
	background: #036 url( "/pics/m1.bmp" ) repeat 0 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: .6em;
	padding-top: .5em;
	padding-bottom: .5em;
	font-weight: bold;
}

#horizontal_navlist {
	position: absolute;
	width: 720px;
	top: 0;
	left: 120px;
	padding: 0;
	margin: 0;
	list-style-type: none;
}

#horizontal_navlist li { 
	float: left;
	position: relative;
}

#horizontal_navlist li a {
	display: block;
	padding: .5em 1em;
	text-decoration: none;
	color: #fff;
}

#horizontal_navlist li a:hover {
	background: #369;
}
	
#horizontal_navlist ul { 
	background: #f0f0f0 url( "/pics/m2.bmp" ) repeat 0 0;
	display: none;
	position: absolute;
	padding: 0;
	margin: 0;
	width: 13em;
	border-style: solid;
	border-color: #036;
	border-width: 0 2px 3px 1px;
	list-style-type: none;
}

#horizontal_navlist li:hover ul { 
	display: block;
}

#horizontal_navlist li li {	 
}
	
#horizontal_navlist li li a {
	height: auto;
	clear: left;
	color: #036;
	width: 11em;
}

#horizontal_navlist li li a:hover {
	color: #fff;
}

/* Extra horizontal navigation list with icons */

#horizontal_navlist2 {
	background: #036 url( "/pics/m1.bmp" ) repeat 0 0;
	width: 100%;
	margin: 25px 0;
	padding: 0;
	height: 17px;
	color: #fff;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 12px;
	list-style-type: none;
	overflow: hidden;
}

#horizontal_navlist2 li {
	display: inline; 
}

#horizontal_navlist2 li a {
	padding: 0 10px 3px;
	background: #036 url( "/pics/m1.bmp" ) repeat 0 0;
	color: #fff;
	text-decoration: none;
}

#horizontal_navlist2 li a:hover {
	background: #369;
	color: #fff;
}

/* The bottom main horizontal navigation list */

#horizontal_navlist3 {
	margin: .1em auto 2em;
	font-weight: bold;
	font-size: 1.1em;
	list-style-type: none;
}

#horizontal_navlist3 li {
	display: inline;
	padding-left: 3px;
	padding-right: 3px;
}

#horizontal_navlist3 li a {
	color: #036;
	text-decoration: none;
	white-space: nowrap;
}

#horizontal_navlist3 li a:hover {
	color: red;
}

/* The left vertical in-page navigation list */

#vertical_navlist {
	margin: 0;
	padding: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 1.1em;
	border-bottom: 1px solid #b0b0b0;
}

#vertical_navlist li {
	list-style: none;
	margin: 0;
	padding: .25em;
	border-top: 1px solid #b0b0b0;
}

#vertical_navlist li a { 
	color: #036;
	text-decoration: none; 
}

#vertical_navlist li a:hover { 
	color: red;
}

/* Tooltips */

a.tooltipcss {
	color: #036;
	text-decoration: underline;
	position: relative;
	cursor: default;
	z-index: 24;
}

a.tooltipcss:hover {
	text-decoration: none;
	z-index: 25;
}

a.tooltipcss span {
	background: #ffffe1; 
	padding: 0.3em;
	position: absolute;
	top: 2em; 
	left: 2em; 
	width: 15em;
	border: 1px solid black;
	color: #000;
	display: none;
}

a.tooltipcss:hover span { 
	display: block;
}

