/* ----------------- REDEFINES THE TAG SELECTORS ----------------- */

body {
	background: #d7f0ff;
	margin: 0px; /* Always set margins to 0. Some browsers automatically apply them. */
	padding: 0px; /* Always apply padding if you apply margins */
	text-align: center; /* Equivalent to <center> tag for older IE browsers. Remove if you do not want to center page. */
}

/* This sets a default font for all of our tag selectors. We set the text align back to left so it won't center (based on the body tag to compensate for IE.) */

p, h1, h2, h3, h4, h5, h6, a, ul, li, lo, td {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: left; /* Not necessary if not using text-align center in body tag for older IE browsers. */
}

h1 {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
	font-size: x-large;
	color: #000000;
	font-weight: bold;
}


h2 {
	font-size: .9em;
	color: #006666;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
	font-weight: bold;
}
h3 {
	font-size: 0.9em;
	color: #009595;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 20px;
	font-weight: bold;
}


h5 {
	font-size: 14px;
	margin: 0px 0px 0px 20px;
	padding: 0px;
	color: #006666;
	font-weight: bold;
	text-align: center;
}

h6 {
	font-size: 14px;
	margin: 0px 0px 10px 20px;
	padding: 0px;
	color: #ffffff;
	font-weight: bold;
	text-align: center;
}

/* Redefines the p tag */
p {
	font-size: 12px;
	margin-right: 20px;
	margin-left: 20px;
}

	p a:link {
	color: #009595;
	text-decoration: underline;
	}
	
	p a:visited {
		color: #009595;
	}
	
	p a:active {
		color: #009595;
	}
h1.blue {
	color: #0066A4;
}

hr {
	clear: both;
	height: 1px;
	color: #EEF6FB;
	width: 96%;
}
address {
	font: normal 10px Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	left: 5px;
	right: 2px;
	padding: 5px;
	width: 300px;
	top: 3px;
	text-align: center;
}


strong {
	color: #006666;
}

/* ----------------- LIST ITEMS ----------------- */
ul{
	font: 12px Verdana, Arial, Helvetica, sans-serif;
	list-style: url(images/bullet.gif);
}

/* ----------------- GENERAL LINKS ----------------- */
/* Creates the general link style for the site. This is not the main navigation.  */
a:link {
	color: #FFFFFF;
	text-align: center;
	text-decoration: none;
}
ul#education {
	color: #000000;
}
ul#education li a:link, ul#education li a:visited, ul#education li a:active {
	color: #000099;
	text-align: left;
	padding: 0px;
}

ul#education li a:hover {
	color: #007CC3;

}

a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
a:hover {
	color: #99FFFF;
}
a:active {
	color: #FFFFFF;
	text-decoration: none;
}

/* ---------------------------- MAIN NAVIGATION ----------------------------  */
/* Creates the container for the navbar and centers it.*/ 
div#navContainer {
	width: 768px;
	margin-left: auto;
	margin-right: auto;
}
/* Removes any default margins or padding applied to lists. Floats the list to the left, which incorporates the child elements (i.e. the links) and provides a full-length background color that extends past the links.*/

ul#mainnav {
	background: #006666;
	float: left;
	width: 100%;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	}

/* Lists, by default, are block level elements, so the applying the inline style removes the line breaks of a block level element and causes the links to line up next to one another. We float the items left as some browsers have difficulty displaying the inline property correctly in this fashion. We remove all margins and padding and the bullet by setting the list style type to none.*/

ul#mainnav li {
	display: inline;
	float: left;
	margin: 0px auto;
	padding: 0px;
}

/* Although we have redefined the li style as an inline element, we need to make the actual links block level elements so we can give them widths and have them display properly as "buttons." */
ul#mainnav li a:link, ul#mainnav li a:visited, ul#mainnav li a:active {
	font-size: 11px;
	text-decoration: none;
	text-align: center;
	display: block;
	width: auto;
	padding: 5px 17px;
	margin: 0px;
	border-right: 1px solid #FFFFFF;
	color: #FFFFFF;
}

/* Creates the hover and "on" status style, which can be applied directly to a single link. */
ul#mainnav li a:hover, ul#mainnav li a.current:link, ul#mainnav li a.current:visited {
	background-color: #008f8f;
	color: #affdfd;
}


/* ----------------- TABLE ELEMENTS ----------------- */
/*Collapses borders that some browsers automatically apply to tables. */
table, td, th  {	
	border-collapse: collapse;
}

/* Styles the table that serves as the container for the content and navigation.*/
table#container {
}

/* Aligns content in the tableContainer's td tags to the top. Same as <td valign="top">. */
table#container td {
	vertical-align: top;
}

/* ----------------- PAGE LAYOUT ELEMENTS ----------------- */
/* Creates DIV container for header. Setting the left and right margins to auto will center DIV. */
div#header {
	margin: 30px auto 0px;
	width: 768px;
	position: relative;
	border: 1px solid #006666;
}
div#header object {
	float: left;
}


div#content {
	width: 770px;
	margin-right: auto;
	margin-left: auto;
}

div#audio {
	width: 144px;
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 0px;
	bottom: 239px;
	top: -21px;
}

div#signin {
	position: absolute;
	width: 144px;
	left: 144px;
	top: -21px;
}

div#info {
	width: 768px;
	margin-right: auto;
	margin-left: auto;
	background: #FFFFFF;
	border-right: 1px solid #006666;
	border-left: 1px solid #006666;
	position: relative;
	padding:0 0 50px 0;
}

/* ----------------- FOOTER ----------------- */
/* Creates the div container for the footer. */
div#footer {
	width: 770px;
	margin: 0px auto;
	background: #006666;
	position: relative;
	height: 160px;
}

div#footerleft {
	font: 10px Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	position: absolute;
	left: 8px;
	right: 2px;
	padding: 5px;
	width: 320px;
	top: 4px;
	text-align: center;
	height: 122px;
}

div#footerright {
	font: 10px Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	position: absolute;
	top: 6px;
	right: 2px;
	width: 400px;
}

div#footer p {
}
div#footer a:link {
}
div#footer a:visited {
}
div#footer a:hover {
}
div#footer a:active {
}
div#flash {
	clear: right;
	float: right;
	margin: 15px;
}


/* ----------------- IMAGE ELEMENTS ----------------- */

img.left {
	float: left;
}

img.right {
	float: right;
	border: 1px none #000000;
	margin: 0px 0px 5px 10px;
	padding: 0px;
}

div#clear {
	clear: both;
}


/* ----------------- COPYRIGHT ----------------- */
div#copyright {
	position: relative;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	width: 770px;
	padding-top: 5px;
	text-align: left;
	font-weight: bold;
}

div#copyright img {
border: none;
}

div#copyright a:link {
	color: #006666;
	text-decoration: none;
}
div#copyright a:visited {
	color: #006666;
}
div#copyright a:hover {
	color: #006666;
}
div#copyright a:active {
	color: #006666;
	text-decoration: none;
}
.ypimg {
	position: absolute;
	top: 5px;
	right: 0;
	border: 0px;
}
/* ----------------- MISC. CUSTOM DIVS AND CLASSES ----------------- */
div#filling {
	position: absolute;
	width: 158px;
	left: 314px;
	top: 532px;
}

div#invisalign {
	position: absolute;
	width: 298px;
	top: 757px;
	right: 30px;
}

div#pagename {
	width: 400px;
	margin-left: 20px;
}

.truquoise {
	color: #99FFFF;
}

.pagename {
	font: bold large Arial, Helvetica, sans-serif;
	color: #0066A4;
	margin: 0px;
	padding: 0px;
	text-align: left;
}

.beforeafter {
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	background: #000000;
	text-align: center;
}

div.staff {
	clear: both;
	margin: 10px;
	padding: 10px;
	width: 700px;
}

	div.staff img {
		float: right;
	}
	
.clear {
	clear: both;
}

div#video {
	float: right;
	padding: 15px 15px 25px 20px;
}

.border_me{ border:1px solid #006666;}


.lefty{ border:1px solid #006666;
		float:left;
		margin:0 15px 10px 15px;}