/* button 
---------------------------------------------- */
.button {
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

.bigrounded {
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
}
.medium {
	font-size: 12px;
	padding: .4em 1.5em .42em;
}
.small {
	font-size: 11px;
	padding: .2em 1em .275em;
}

/* color styles 
---------------------------------------------- */


/* green */
.green {
	color: #e8f0de;
	border: solid 1px #538312;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
	background: -moz-linear-gradient(top,  #7db72f,  #4e7d0e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e');
}
.green:hover {
	background: #538018;
	background: -webkit-gradient(linear, left top, left bottom, from(#6b9d28), to(#436b0c));
	background: -moz-linear-gradient(top,  #6b9d28,  #436b0c);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b9d28', endColorstr='#436b0c');
}
.green:active {
	color: #a9c08c;
	background: -webkit-gradient(linear, left top, left bottom, from(#4e7d0e), to(#7db72f));
	background: -moz-linear-gradient(top,  #4e7d0e,  #7db72f);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e7d0e', endColorstr='#7db72f');
}


body {
background-color:#f19f1c;
margin:0;
padding:0;
font-family:Arial, Helvetica, sans-serif;
}


#holder {
width:100%;
background:white url(../images/img_header_holder.jpg) no-repeat;
height:200px;
margin-top:40px;
}


#holder p {
padding:60px 0 0 40px;
font-size:12px;
}

#holder span.names {
font-size:14px;
font-weight:bold;
color:#f19f1c;
}

div#secondary a.advert, div#secondary a.advert img {
	border: none;
	text-decoration: none;
	margin-bottom: 10px;
}

div#secondary a:hover.advert, div#secondary a:hover.advert img {
	border: none;
	text-decoration: none;
}

#sleep-quiz, #hearing-tests {
	padding: 10px;
}

#sleep-quiz ul {
	list-style: none;
	line-height: 30px;
}

#sleep-quiz input[type=checkbox] {
	margin-right: 8px;
}

#sleep-quiz h2, #hearing-tests h2 {
	margin-bottom: 8px;
	color: #64D64D;
}

#sleep-quiz p, #hearing-tests p {
	line-height: 20px;
	margin-bottom: 18px;
}

#office-hours {
	margin-top: 10px;
	height: 0px;
	overflow: hidden;
	width: 240px;
}

.emph {
	font-weight: bold;
	padding: 10px;
	border: 1px solid #64D64D;
	text-align: center;
	font-size: 16px;
	color: #64D64D;
}

body.demo {
	background: #004c9a url(../images/concept_bg.jpg) top center no-repeat;
	position: relative;
}

body.demo div#flash_holder {
	position: absolute;
	width: 800px;
	height: 277px;
	top: 125px;
	left: 50%;
	margin-left: -400px;
}

/* new styles below here */


/* Styling */

h1, h2, h3, h4, h5, h6, p {
	padding: 0;
	margin: 0;
	font-weight: 400;
}


/* generic classes */

.hidden {
	overflow: hidden;
	text-indent: -9999px;
	height: 0px;
}

.destroyer {
	clear: both;
}


div#secondary p.indent,
.indent {
	padding-left: 5px;
	margin: 5px 0 15px 0;
}


/* Structure */
body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica;
	font-size: 14px;
	color: #fff;
	background: #004c9a url(../images/background.jpg) top center no-repeat;
}

div#wrapper {
	margin: 0 auto;
	width: 800px;
}

div#header {
	height: 125px;
	width: 800px;
	overflow: hidden;
	background: transparent url(../images/header.jpg) top left no-repeat;
	position: relative;
	border-bottom: 1px solid #fff;
}

div#header.sub_nav {
	height: 158px;
}

h1.home_link {
	position: absolute;
	top: 0;
	left: 0; 
	width: 450px;
	overflow: hidden;
	height: 80px;
}
h1.home_link a.hidden {
	display: block;
	height: 80px;
}

div#main_mask {
	position: absolute;
	width: 750px;
	height: 40px;
	top: 82px;
	right: 0;
	overflow: hidden;
}

ul#main_nav {
/*	position: absolute;*/
	padding: 0;
	margin: 0;
	list-style: none;
	/*width: 750px;*/
	width: 1000px;
	height: 40px;
	/*top: 82px;
	right: 0;*/
	font-family: Times New Roman;
	font-size: 16px;
}

ul#main_nav li {
	float: left;
	padding: 0;
	margin: 0;
}

ul#main_nav li a{
	padding: 0 24px;
}
ul#main_nav li.first a {
	padding: 0 20px 0 20px;	
}
ul#main_nav li.last a {
	padding: 0 20px 0 20px;
}

ul#main_nav li a {
	color: #a6ffa6;
	display: block;
	line-height: 40px;
	text-decoration: none;
	background: transparent url(../images/white_line.gif) top center no-repeat;
}

ul#main_nav li a:hover {
	background-color: #003f80;
	background-position: bottom center;
}

ul#main_nav li a.current {
	background-color: #003f80;
	background-position: bottom center;
}

div#header.sub_nav ul#main_nav li a.current {
	background-position: top center;
}

div#header.sub_nav ul#main_nav li a {
	background-position: center center;
}

ul#sub_nav {
	position: absolute;
	top: 122px;
	width: 800px;
	height: 36px;
	background: #003f80;
	padding: 0 75px;
	margin: 0;
	line-height: 36px;
}

ul#sub_nav li {
	padding: 0;
	margin: 0 2px;
	list-style: none;
	float: left;
	height: 33px;
}

ul#sub_nav li a {
	color: #fff;
	font-size: 12px;
	padding: 0 20px;
	text-decoration: none;
	display: block;
	height: 33px;
	background: transparent url(../images/sub_bg.gif) bottom center no-repeat;
	border-bottom: 3px solid #2966a5;
	float: left;
}

ul#sub_nav li a:hover {
	background-color: #004b99;
}

div#flash_holder {
	background: #fff url(../images/flash_bg.jpg) top left no-repeat;
	height: 277px;
	border-bottom: 1px solid #fff;
	margin-bottom: 2px;
}

div#main {
	border: 1px solid #fff;
	border-width: 0 0 1px 0;
	padding: 15px 0;
}

div#content {
	padding: 0 30px 0 10px;
	line-height: 21px;
	font-smooth: never;
	float: left;
	width: 495px;
	border-right: 1px solid #fff;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
div#secondary h1,
div#secondary h2,
div#secondary h3,
div#secondary h4,
div#secondary h5,
div#secondary h6,
div#content h1,
div#content h2,
div#content h3,
div#content h4,
div#content h5,
div#content h6 {
	color: #b1dfff;
}
.content h6,
div#secondary h6,
div#content h6 { font-size: 14px; }
.content h5,
div#secondary h5,
div#content h5 { font-size: 16px; }
.content h4,
div#secondary h4,
div#content h4 { font-size: 18px; }
.content h3,
div#secondary h3,
div#content h3 { font-size: 20px; }
.content h2,
div#secondary h2,
div#content h2 { font-size: 22px; }
.content h1,
div#secondary h1,
div#content h1 { font-size: 24px; }

.content p,
div#secondary p,
div#content p { margin: 10px 0 20px 0; }

a {
	color: #63d84c;
	padding-bottom: 1px;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

div#secondary {
	font-size: 12px;
	width: 230px;
	padding: 15px 0 0 15px;
	border-left: 1px solid #fff;
	margin-left: -1px;
	float: left;
}

ul#foot_nav {
	list-style: none;
	padding: 14px 0 32px 0;
	margin: 0;
	text-align: center;
	font-size: 12px;
	background: transparent url(../images/footer_bg.jpg) bottom center no-repeat;
}

ul#foot_nav li {
	padding: 0 14px;
	margin: 0;
	display: inline;
}

ul#foot_nav li a {
	color: #a6ffa6;
	text-decoration: none;
	padding-bottom: 1px;
	border-bottom: 1px solid transparent;
}

ul#foot_nav li a:hover {
	border-bottom-color: #a6ffa6;
}

div#footer {
	text-align: center;
	font-size: 12px;
	padding: 5px 0 20px 0;
}

div#footer a {
	color: #fff;
	text-decoration: none;
	padding: 1px;
	border-bottom: 1px solid #fff;
}

div#footer a:hover {
	border-bottom-color: transparent;
	color: #a6ffa6
}

div#secondary h3 {
	margin-top: 10px;
}

div#secondary h4 {
	margin-top: 10px;
}

div#secondary fieldset {
	border: none;
	padding: 0;
	margin: 0 0 0 12px;
	width: 220px;
}

div#secondary fieldset input[type=text] {
	width:180px;
	margin-bottom: 6px;
	background-color: #eeeeee;
	color: #444;
}

div#content ul, div#secondary ul {
	background: #004c9a;
	list-style-image: url(../images/leaf_li.gif);
	padding: 10px 25px 10px 35px;
	margin: 5px 0 25px 0;
	border: 1px solid #1261b3;
	border-width: 1px 0;
}

div#secondary ul {
	margin: 5px 0 10px 0;
}
div#secondary li {
	padding: 2px;
}

p.quote {
	background: #003f80;
	border: 1px solid #fff;
	border-width: 1px 0;
	padding: 15px;
	margin: 10px;
}

span.sig {
	display: block;
	text-align: right;
}

div#secondary ul#sub_nav {
	position: static;
	top: auto;
	width: auto;
	height: auto;
	padding: 0;
	margin: 0;
}

div#secondary ul#sub_nav li {
	padding: 2px 0;
	margin: -1px 0;
	float: none;
	height: auto;
	border: 1px solid #fff;
	border-width: 1px 0;
	text-align: center;
}

div#secondary ul#sub_nav li a {
	font-size: 16px;
	padding: 0 20px;
	height: auto;
	background: transparent;
	border: 0;
	float: none;
}

div#secondary ul#sub_nav li a:hover {
	background: #004b99;
	background: #1160b2;
}

div#content h1 a.plain {
	border: 0;
	color: #b1dfff;
}

h1.nicole {
	width: 379px;
	height: 200px;
	background: transparent url(../images/bryan_banner.jpg) center left no-repeat;
	padding: 1px 0;
	border: 1px solid #fff;
	border-width: 1px 0;
}

h1.chihal {
	width: 379px;
	height: 200px;
	background: transparent url(../images/chihal_banner.jpg) center left no-repeat;
	padding: 1px 0;
	border: 1px solid #fff;
	border-width: 1px 0;
}

hr {
	border: 0;
	margin: 10px 0 20px 0;
	padding: 0;
	background: #fff;
	height: 1px;
}

div.fifty {
	float: left;
	width: 379px;
	padding: 10px;
	line-height: 21px;
}

div.fifty.right {
	border-left: 1px solid #fff;
}

div.fifty.left {
	border-right: 1px solid #fff;
	margin-right: -1px;
}

#live-response {
	margin-left: 15px;
	width:220px;
	font-size: 14px;
}

.contact-info {
	margin-top: 5px;
	width:260px;
	height:90px;
	float: right;
	text-align: right;
}

.contact-info h3 {
	font-size: 21px;
}

.contact-info p {
	margin-top: 6px;
	color: #ddd;
	font-size: 12px;
}

