/*
Healthy Smiles Stylesheet v1.0
Target: Screen
Author: Matthew Buchanan
*/

html, body {
	height: 100%;
}

html {
	background-color: transparent;
}

body {
	padding: 0;
}

#wrap {
	position: relative;
	min-height: 100%;
}

#page {
	overflow: hidden;
	background: url("../img/page-logo.png") no-repeat 50% 0;
	padding: 0 0 60px;
}

.home #page {
	background: url("../img/home-logo.jpg") no-repeat 50% 0;
}

#header {
	margin: 0 auto;
	min-height: 170px;
	width: 900px;
	position: relative;
}

.home #header {
	min-height: 330px;
}

#header h1 {
	position: absolute;
	right: 0;
	top: 50px;
}

#header h1 a {
	display: block;
	width: 180px;
	height: 110px;
	text-indent: -999em;
	overflow: hidden;
}

.home #header h1 {
	background: none;
	left: -999px;
	position: absolute;
	width: 900px;
}

#header h2 {
	margin: 60px 0 0 320px;
	width: 320px;
	font: normal 180%/1.25 Georgia, "Times New Roman", Times, serif;
	color: #fff;
}

#header h2 small {
	margin-top: 0.5em;
	display: block;
	font: normal 80%/1.25 "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, Helvetica, sans-serif;
}

#header h2 a:link, #header h2 a:visited {
	padding-left: 12px;
	background: url("../img/icon-arrow1.png") no-repeat 0 50%;
	color: #8ff;
	text-decoration: none;
}

#header h2 a:hover, #header h2 a:active {
	color: #bff;
}

/* Columns */

#content {
	width: 900px;
	margin: 0 auto;
}

.leftcolumn, .rightcolumn {
	overflow: visible;
	margin-bottom: 10px;
}

.leftcolumn {
	float: left;
	width: 325px;
}

.home .leftcolumn {
	margin-top: -4.5em;
}

.rightcolumn {
	float: left;
	width: 545px;
	margin-left: 30px;
}

.home .leftcolumn {
	width: 430px;
}

.home .rightcolumn {
	width: 450px;
	margin-left: 20px;
}

/* Boxouts */

.boxwrap {
	background: url("../img/sidewrap-bg.png") no-repeat 0 0;
	padding-top: 10px;
}

.boxout {
	background: url("../img/sidebar-bg.png") no-repeat 0 100%;
	padding: 0 15px 5px;
}

.home .boxwrap {
	background: url("../img/boxwrap-bg.png") no-repeat 0 0;
}

.home .boxout {
	background: url("../img/boxout-bg.png") no-repeat 0 100%;
}

.boxout form {
	margin-top: 1em;
}

/* Panels */

.panels {
	clear: left;
	border-top: 1px dotted #5ae;
	padding-top: 10px;
}

.panel {
	background: url("../img/subnav-bg.png") no-repeat 0 0;
}

.home .panel {
	float: left;
	margin-right: 10px;
	width: 215px;
	background: url("../img/panel-bg.png") no-repeat 0 100%;
}

.home .panel-resources {
	margin-right: 0;
	width: 225px;
	background: url("../img/panel-bg2.png") no-repeat 0 100%;
}

.panel h3 {
	height: 0;
	margin: 0;
	padding-top: 35px;
	text-indent: -999em;
	overflow: hidden;
}

.panel-oralhealth h3 { background: url("../img/panel-oralhealth.png") no-repeat 0 0; }
.panel-dentistry  h3 { background: url("../img/panel-dentistry.png") no-repeat 0 0; }
.panel-healthpros h3 { background: url("../img/panel-healthpros.png") no-repeat 0 0; }
.panel-resources  h3 { background: url("../img/panel-resources.png") no-repeat 0 0; }

.panel ul {
	padding-left: 12px;
	font-size: 130%;
	margin-bottom: 0.75em;
}

.panel li {
	overflow: hidden;
	clear: left;
}

.panel li a {
	background: url("../img/icon-arrow2.png") no-repeat 0 5px;
	padding-left: 12px;
}

.home .panel li a {
	display: block;
	float: left;
	line-height: 1.1;
	padding-top: 0.25em;
	padding-bottom: 0.4em;
}

.panel li a:link, .panel li a:visited {
	text-decoration: none;
}

/* Content */

p.crumbtrail {
	margin: 0;
}

p.crumbtrail a:link, p.crumbtrail a:visited {
	color: #012;
}

h1.fancy {
	font-size: 275%;
	line-height: 1.15;
	color: #2aa;
}

.content h3 {
	font: bold 150%/1.25 "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, Helvetica, sans-serif;
	color: #2aa;
	margin: 2em 0 0.5em;
}

.home .content h3, .leftcolumn .boxout h3 {
	color: #012;
	margin-top: 0;
}

.content h4 {
	font: bold 125%/1.25 "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, Helvetica, sans-serif;
	margin: 1.25em 0 0.5em;
	color: #234;
}

.hero-image {
	width: 325px;
	border-bottom: 1px dotted #5ae;
	margin: -125px 0 10px;
}

.content p, .content li {
	margin-bottom: 0.75em;
	font-size: 120%;
	color: #345;
}

.content ul ul, .content ol ol {
	padding-top: 0.75em;
	margin-bottom: 0;
}

.content li li {
	font-size: 100%;
}

.content table {
	margin-bottom: 0.75em;
}

.content p.date {
	color: #4cc;
	text-transform: uppercase;
	font-size: 100%;
}

.content a:link, .content a:visited {
	color: #2aa;
}

.content a:hover, .content a:active {
	color: #077;
}

.content a.more:link, .content a.more:visited {
	text-transform: uppercase;
	text-decoration: none;
	font-size: 91%;
	white-space: nowrap;
}

.content img {
	border: 1px solid #2aa;
	-moz-box-shadow: 2px 2px 4px #ccc;
	-webkit-box-shadow: 2px 2px 4px #ccc;
	margin: 3px 0;
}

.content img.no_border {
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

.content .images .newline {
	clear: left;
}

.content .images .nowrap {
	white-space: nowrap;
}

.content .images img {
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	margin: 0;
}

.left-image img, .right-image img, img.right-image, img.left-image {
	border: 1px solid #2aa;
	-moz-box-shadow: 2px 2px 4px #ccc;
	-webkit-box-shadow: 2px 2px 4px #ccc;
	float: left;
	margin: 3px 12px 0 0;
}

.right-image img, img.right-image {
	float: right;
	margin: 3px 0 0 10px;
}

.top-image, .bottom-image {
	width: 100%;
	margin: 3px 0 3px 0;
	text-align: center;
}

.left-gutter {
	margin-left: 140px;
}

.content .images {
	padding: 0;
}

.images li {
	position: relative;
	display: block;
	float: left;
	list-style: none;
	width: 150px;
	margin: 0 10px 10px 0;
	padding: 8px 8px 1px;
	border: 1px solid #bcb;
}

.content .details {
	font-size: 80%;
	color: #898;
	float: left;
	line-height: 1.5;
	width: 100px;
	margin-top: 3px;
}

.content .details .title {
	display: block;
	font-size: 120%;
	line-height: 1.3;
	margin-bottom: 0.2em;
}

.enlarge, .download, a.locked {
	position: absolute;
	bottom: 6px;
	right: 6px;
}

.enlarge {
	right: 27px;
}

.no_download {
	right: 6px;
}

h3.locked {
	padding-right: 20px;
	background: url("../img/icon-locked.png") no-repeat 100% 50%;
	line-height: 1.3;
	padding-top: 3px;
}

a.title:link, a.title:visited {
	color: #012;
	text-decoration: none;
}

.videoplayer {
	margin: 1em 0 1.5em;
}

.videodownload {
	margin: -1em 0 1.5em;
	font-size: 100% !important;
}

.content .pdflist {
	padding-left: 0;
	margin-top: 0.75em;
}

.content .pdflist li {
	padding-left: 20px;
	background: url("../img/icon-pdf.png") no-repeat 0 0;
	list-style: none;
}

.content table {
	border: none;
	border-collapse: collapse;
}

.content table td {
	border: 1px solid #ccc;
	padding: 5px 10px;
}

.content .summary {
	padding-left: 0;
}

.content .summary li {
	list-style: none;
	background: #bbf0f8 url("../img/icon-arrow2.png") no-repeat 7px 5px;
	margin-bottom: 1px;
	padding: 2px 0 2px 20px;
}

.content .summary li a:link, .content .summary li a:visited {
	text-decoration: none;
}

.job, .newsitem {
	border-bottom: 1px dotted #2aa;
	padding-bottom: 0.5em;
}

.nzda {
	clear: both;
	padding-top: 30px;
	overflow: hidden;
}

.nzda a {
	display: block;
	margin: 0 auto;
	width: 205px;
	height: 40px;
	background: url(../img/nzda.png) 0 0 no-repeat;
	text-indent: -999em;
	overflow: hidden;
}

/* Subnav */

.subwrap {
	padding-top: 30px;
	background: url("../img/subnav-bg.png") no-repeat 0 0;
}

.subnav {
	background: url("../img/subnav-base.png") no-repeat 0 100%;
	padding-bottom: 10px;
}

.subnav li {
	font-size: 110%;
	overflow: hidden;
}

.subnav li.selected {
	background: url("../img/subnav-sel-bg.png") repeat 0 0;
	margin: 3px 0 3px -12px;
	padding: 6px 0 6px 12px;
}

.subnav a.selected {
	color: #077;
	background: url("../img/icon-arrow3.png") no-repeat 0 50%;
}

.subnav a.selected:hover {
	color: #044;
}

.subnav .subnav {
	margin: 0;
	padding-bottom: 0;
	background: none;
}

.subnav .subnav li {
	font-size: 70%;
	line-height: 1.3;
	padding: 0.25em 0;
	border-top: 1px dotted #bbf0f8;
	margin-right: 60px;
}

.subnav .subnav a {
	background: none;
	color: #012;
	display: block;
}

.subnav .subnav a.selected,
.subnav .subnav a.selected:hover {
	background: url("../img/icon-arrow4.png") no-repeat 0 0.3em;
	font-weight: bold;
	color: #012;
}

.subnav .subnav a:hover {
	color: #377;
	background: url("../img/icon-arrow5.png") no-repeat 0 0.3em;
}

/* Search */

#searchbar {
	display: none;
	background-color: #012;
	height: 40px;
	color: #8ff;
	font-size: 110%;
}

#searchbar.activated {
	display: block;
}

#searchbar form {
	width: 900px;
	text-align: right;
	margin: 0 auto;
	padding-top: 10px;
}

.results h4 a:link, .results h4 a:visited {
	font-size: 120%;
	font-weight: bold;
	color: #012;
	text-decoration: none;
}

.results h4 a:hover, .results h4 a:active {
	color: #2aa;
}

.content .results {
	margin-top: 1em;
	border-top: 1px dotted #5ae;
	padding: 0;
}

.content .results li {
	border-bottom: 1px dotted #5ae;
	list-style: none;
	padding-bottom: 0.5em;
	overflow: hidden;
}

.pagination {
	overflow: hidden;
	clear: left;
	margin-top: 1em;
}

.pagination a {
	display: block;
	float: left;
	border: 1px solid #7dd;
	padding: 3px 5px;
	text-decoration: none;
	font-size: 120%;
}

.pagination .next {
	float: right;
}

.pagination a:link, .pagination a:visited {
	color: #088;
}

.pagination a:hover, .pagination a:active {
	color: #fff;
	background-color: #4cc;
}

/* Forms */

.formatted fieldset {
	padding: 20px;
	border: 1px solid #2aa;
	margin: 1em 0;
}

.formatted fieldset p {
	margin: 0 0 0.5em;
}

.formatted legend {
	text-transform: uppercase;
	color: #066;
	font-weight: bold;
	font-size: 110%;
}

.formatted label {
	display: block;
	float: left;
	clear: left;
	width: 10em;
	font-size: 110%;
	text-transform: uppercase;
	color: #2aa;
	line-height: 1.8;
}

.formatted input.textfield {
	margin-bottom: 5px;
	height: 18px;
	width: 200px;
}

.formatted input.textfield_medium {
	width: 100px;
}

.formatted input.textfield_short {
	width: 50px;
}

.formatted p.note {
	margin: 0 0 1em 9em;
	color: #888;
}

textarea {
	margin-bottom: 5px;
	width: 200px;
}

.button {
	margin-left: 9em;
	font-size: 120%;
}

.leftcolumn label {
	width: auto;
	margin-right: 5px;
}

.leftcolumn .button {
	margin-left: 0;
}

form p {
	margin-top: 1em;
}

.message {
	background-color: #ffa;
	padding: 1em 1.5em 0.5em;
	margin-bottom: 1em;
	border: 1px dotted #5ae;
}

.fadein {
	display: none;
}

.content .message p {
	color: #012;
}

/* Footer */

#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 40px;
	background-color: #012;
}

#footer p {
	width: 900px;
	margin: 0 auto;
	color: #2aa;
	padding-top: 13px;
}

#footer p a:link, #footer p a:visited {
	color: #bff;
	text-decoration: none;
}

#footer p a:hover, #footer p a:active {
	text-decoration: underline;
}