/* CSS Document */

/* standard tag styling */
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: medium;
	font-style: normal;
	font-weight: normal;
	color: #666666;
	margin: 0px;
	text-align: center;
	background-color: #FFFFFF;
}

p {
	font-size: small;
	margin-top: 2px;
	margin-bottom: 15px;
	margin-left: 0px;
	margin-right: 0px;
}

h1 {
	margin: 0px;
	color: #074882;
	font-size: x-large;
	text-align: left;
	font-weight: normal;
}	

h2 {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 6px;
	color: #074882;
	font-size: large;
	text-transform: none;
	text-align: left;
	font-weight: normal;
}

p.emergency {
	color: #074882;
}	

p.services {
	font-size: small;
	font-weight: bold;
}	

h2.emergency {
	color: #FF0000;
}	

h3 {
	margin: 5px;
	text-align: left;
	font-weight: normal;
	font-size: large;
}

h3.red {
	color: #FF0000;
}
		

h4 {
	color: #FFFFFF;
	margin-top: 2px;
	margin-bottom: 1px;
	margin-left: 20px;
	margin-right: 5px;
	text-align: left;
	font-weight: normal;
	font-size: small;
}

h4 a:link, h4 a:active, h4 a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

h4 a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

h5 {
	margin-top: 10px;
	margin-bottom: 0px;
	margin-left: 5px;
	margin-right: 5px;
	text-align: center;
}			

img {
	margin: 0px;
	border: none;
}				

td img {
	display: block;
}

ul {
	padding: 0px;
	margin: 0px;;
}

li {
	padding: 0px;
	list-style-image: none;
	list-style-position: inside;
	margin-top: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-right: 0px;
	list-style-type: none;
	color: #074882;
	font-size: small;
}

hr {
	color: #E6E6E6;
	border: none;
	height: 1px;
}
	
a:link {
	color: #003399;
	text-decoration: none;
}

a:active {
	color: #003399;
	text-decoration: none;
}

a:visited {
	color: #003399;
	text-decoration: none;
}

a:hover {
	color: #003399;
	text-decoration: underline;
}

/* text styling */
.p_right {
	margin-top: 10px;
	text-align: right;
}

.arrow a:hover {
	text-decoration: none;
}

/* image styling */
.img_float_left {
	float: left;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 2px;
	margin-bottom: 2px;
	padding: 0px;
	display: inline;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #074882;
	border-right-color: #074882;
	border-bottom-color: #074882;
	border-left-color: #074882;
}

.img_float_right {
	float: right;
	margin-left: 10px;
	margin-right: 0px;
	margin-top: 2px;
	margin-bottom: 2px;
	padding: 0px;
	display: none;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #074882;
	border-right-color: #074882;
	border-bottom-color: #074882;
	border-left-color: #074882;
}	

/* Layer Definitions */

/* Mainwrapper displays the background layer and content which will alter the length of the page */
/* This wrapper centres the page */
#centralposition {
	position:relative;
	width: 960px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

/* This extra wrapper is required for the background slice to work in FireFox, etc */
/* Setting the background image in the centralposition layer does not work in FireFox when the position is set to relative */
#backgrdWrapper {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	width: 960px;
	float: left;
	background-image: url(../images/cydd_backgrd_slice.jpg);
	background-repeat: repeat-y;
	background-position: left top;
}	

/* It is important to set the margins, page width and position to relative */

#mainWrapper {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	width: 960px;
	float: left;
	border-bottom-width: 20px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-color: #FFFFFF;
	background-image: url(../images/cydd_backgrd_main.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
}

#mainWrapper img {
	margin: 0px;
	padding: 0px;
	display: block;
}

#topBanner {
	padding: 0px;
	border: none;
}	

#mainPage {
	margin: 0px;
	padding: 0px;
	width: 960px;
	border: none;
	float: left;
}

#mainPage h3 {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

#mainPage p strong {
	color: #074882;
}

#mainColumn {
	margin-top: 10px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	width: 460px;
	border: none;
	float: left;
}

#mainPic {
	margin-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 0px;
	width: 440px;
	border-bottom-width: 2px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: dotted;
	border-left-style: none;
	border-bottom-color: #872b93;
}	
	
#mainContentLeft {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-left: 50px;
	width: 380px;
	border: none;
	vertical-align: top;
	float: left;
	text-align: left;
}

#mainContentLeft img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#mainContentLeft img.right {
	float: right;
}	

#mainContentRight {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-right: 50px;
	width: 380px;
	border: none;
	vertical-align: top;
	float: right;
	text-align: left;
}

#mainContentRight img {
	float: left;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: 2px;
	margin-bottom: 2px;
}		

#lowerNav {
	margin-top: 20px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-right: 50px;
	color: #074882;
	width: 800px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	background-color: inherit;
	border: none;
	float:right;
	text-align: right;
}


#lowerNav p strong {
	font-size: medium;
}	


#lowerNav p.left {
	float: left;
}

#lowerNav p.right {
	float: right;
}

#footerWrapper {
	float: left;
	width: 920px;
	padding-bottom: 0px;
	padding-top: 0px;
	padding-left: 20px;
	margin-left: 0px;
	margin-right: 0px;
}	

#footer {
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 20px;
	margin-bottom: 25px;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 0px;
	width: 920px;
	background-image: url(../images/cydd_lowerbar.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}	
	
#footer p {
	color: #FFFFFF;
	text-align: left;
	font-size: large;
	margin-top: 7px;
	margin-bottom: 7px;
	margin-left: 30px;
	margin-right: 10px;
	letter-spacing: 0.1em;
}	

/* top layers */
#dentists {
	position:absolute;
	left:325px;
	top:40px;
	width:350px;
	z-index:1;
}

#dentists p {
	font-size: 20px;
	color: #074882;
	margin: 5px;
}		

#menubar {
	position:absolute;
	left:50px;
	top:150px;
	width:800px;
	z-index:1;
	vertical-align: middle;
}

#menubar a:link, #menubar a:active, #menubar a:visited {
	color: #074882;
	text-decoration: none;
}

#menubar a:hover {
	color: #FFFF00;
	text-decoration: none;
}	

#menubar p {
	float: left;
	font-size: 16px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 20px;
	display: inline;
	color: #074882;
	/*color: #FFFFFF;*/
	vertical-align: middle;
	font-weight: bold;
}	

#menubar p.sel {
	float: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFF00;
	font-size: medium;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 20px;
	display: inline;
	color: #074882;
	vertical-align: middle;
}

/* Miscellaneous */
.asterisk {
	color: #FF0000;
}

.massive_red {
	color: #FF0000;
	font-size: 36px;
}

.quote {
	color: #666666;
	font-size: 36px;
}

.quote2 {
	color: #666666;
}	

.large_red {
	color: #FF0000;
	font-size: large;
}

.medium_red {
	color: #FF0000;
	font-size: medium;
	font-weight: bold;
}	

p.left {
	text-align: left;	
}	

p.readmore {
	color: #074882;
	font-weight: normal;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	font-size: small;
	text-align: right;
	float: right;
}

p.copy {
	margin-left: 10px;
	margin-right: 10px;
	color: #999999;
	font-size: small;
	text-align: center;
}

p.openinghours {
	font-size: large;
	text-align: center;
	font-weight: bold;
	margin-bottom: 5px;
	color: #074882;
}	

p.xsmall {
	font-size: x-small;
}

p.youmightbeinterested {
	padding-bottom: 5px;	
}			