/* ------------- CSS RESET ------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}


div#upload_xray_wrap { 
	font-size: x-small;
	}
	
#upload_xray_wrap a  { 
  font-size:x-small;
  color: red;
	}

a#nocavityclub { 
	display: block;
	height: 208px;
}


img#nocavityclub { 
display: block;
float: none;
}


body {
	line-height: 1;
	color: black;
	background: white;
	font: 85% trebuchet, "trebuchet ms", verdana, arial, sans-serif;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

strong {
	font-weight: bold;
	}
	
td {
	vertical-align: top;
	}
	
.clear {
	clear: both;
	}
	
.right {
	text-align: right;
	}
	
td.right {
	text-align: right;
	margin: 0 0 0 auto;
	}
	
/* ------------- STRUCTURE ------------- */

body {
	background: #009646 url(images/bg.png) top left repeat;
	}

.bodywrap {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background: transparent url(images/topbg.png) top left repeat-x;
}

table.contenttable {
	vertical-align: middle;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	border-collapse: collapse;
	}

table.contenttable td.leftcolumn {
	background: transparent url(images/leftbg.png) top left repeat-y;
	width: 216px;
}

table.contenttable td.rightcolumn {
	background: transparent url(images/rightbg.png) top left repeat-y;
	width: 584px;
	min-height: 500px;
	margin: 0;
	padding: 0;
}


td.footer {
	height: 155px;
	width: 784px;
}

td.footer h3 {
	background: transparent url(images/footer.png) top left no-repeat;
	height: 155px;
	display: block;
	position: relative;
	width: 784px;
}

td.footer h3 span { 
	display: none;
}

/* --- Mast --- */

.mastwrap, .mastimagewrap {
	background: transparent url(images/topbg.png) top left repeat-x;
}

h1.mast span {
display: none; 
}

h2 span { 
	display: none;
}

p#staff_picture { 
	display: block;
	float: left;
}


h1.mast {
	background: transparent url(images/logo.png) top left no-repeat;
	width: 216px;
	height: 196px;
	display: block;
	position: relative;
}

td.rightcolumn .mastimage {
	width: 570px;
	height: 173px;
	display: block;
	position: relative;
	background: transparent url(images/mastright.png) -2px 0 no-repeat;
}


/* --- Main Content --- */

.contentwrap {
	background: transparent url(images/righttop.png) top left no-repeat;
	position: relative;
	padding: 15px 60px 0 15px;
	margin: 0;
	min-height: 300px;
	}
	
.contentwrap img.right {
	margin: 0 0 10px 10px;
	padding: 0;
	text-align: right;
	display: inline;
	float: right;
	width: 198px;
	}
	
.contentwrap p, .contentwrap li {
	width: 100%;
	margin: .7em 10px;
	line-height: 1.7em;
	font-size: 12px;
	color: #745526;
	}
	
.contentwrap li {
	margin: .5em 10px 0 40px;
	list-style:  circle;
	}
	
address {
	font-size: 10px;
	text-align: center;
	display: block;
	font-weight: bold;
	margin: 10px 0 15px 0;
	color: #fff;
	text-transform: normal;
	}

address a {
	color: #fff;
	}
	
img.left {
	float: left;
	margin: 0 10px 10px 0;
	}
	
img.rightalign {
	float: right;
	margin: 0 0 10px 10px;
	}


/* --- Main Navigation --- */

.leftbgwrap {
	width: 216px;
	height: 234px;
	background: transparent url(images/lefttop.png) top left no-repeat;
	display: block;
	}

ul.leftnav {
	display: block;
	width: 203px;
	margin: 0 0 0 13px;
	padding-top: 20px;	
	border-bottom: 1px solid #B49E83;
	}
	
ul.leftnav li {
	display: block;
	border-top: 1px solid #B49E83;
	line-height: auto;
	font-size: 15px;
	width: 100%;
	position: relative;
	font-weight: bold;
}

ul.leftnav li a, ul.leftnav li a:visited {
	display: block;
	background: transparent;
	padding: 10px 0;
	text-indent: 10px;
	width: 100%;
	position: relative;
	color: #028841;
	font-weight: bold;
	text-decoration: none;
}

ul.leftnav li a:hover {
	color: #3395CE;
	text-decoration: none;
	background: #EFE8D8;
	border: 0;
	padding: 10px 0;
	width: 100%;
	text-decoration: none;
	color: #224126;
	}
	

/* --- Facility Page --- */

.photos {
	margin: 0 0 0 10px;
	}
	
.photos img {
	border: 1px solid #745526;
	}
	
.photos p {
 font-weight: bold;
 font-size: 15px;
 margin: 10px 0 20px 0;
 }



/* --- Headline --- */

h2 {
	display: block;
	position: absolute;
	width: 100%;
	top: -15px;
	height: 50px;
	margin: 0 0 0 5px;
	background: transparent;
	}
	
h2.noimage { 
	position: relative;
	color: #745526;
	font-weight: bold;
	font-size: 19px;
	height: auto;
	padding-bottom: 10px;
}


h2.welcome {
	background: transparent url(images/headlines/welcome.png) top left no-repeat;
	}
	
h2.meet {
background: transparent url(images/headlines/meet.png) top left no-repeat;
}

h2.facility {
background: transparent url(images/headlines/facility.png) top left no-repeat;
}

h2.dentistry {
background: transparent url(images/headlines/pediatric.png) top left no-repeat;
}


h2.sorry {
background: transparent url(images/headlines/sorry.png) top left no-repeat;
}


h2.confirmed {
background: transparent url(images/headlines/confirmed.png) top left no-repeat;
}

h2.nocavity {
background: transparent url(images/headlines/nocavity.png) top left no-repeat;
}

h2.schedule {
background: transparent url(images/headlines/schedule.png) top left no-repeat;
}

h2.refer { 
background: transparent url(images/headlines/refer.png) top left no-repeat;
}

h2.thankyou {
background: transparent url(images/headlines/thankyou.png) top left no-repeat;
}

/* --- No Cavity Club Table --- */

table.nocavityclub {
	width: 100%;
}

table.nocavityclub td {
	text-align: center;
	padding: 5px;
	}
	
table.nocavityclub td.bottom {
	padding-bottom: 15px;
	}
	
.pages { 
	margin-top: 20px;
	margin-bottom: 10px;
	text-align: center;
	font-weight: bold;
	color: #745526;
}

	
/* ------------- TYPOGRAPHY ------------- */

h4 {
	color: #745526;
	font-weight: bold;
	font-size: 15px;
	margin: 10px 0 10px 10px;
	border-bottom: 1px solid #745526;
	padding-bottom: 5px;
 }
 
/* ------------- LINKS ------------- */

a, a:visited {
	color: #745526;
	font-weight: bold;
	text-decoration: underline;
	}
	
a:hover {
	color: #fff;
	text-decoration: underline;}
	
	
/* ------------- SCHEDULE AN APPOINTMENT PAGE ------------- */ 	
table.schedule { 
	color: #745526;
	margin: 10px;
	width: 100%;
	padding: inherit;
}

td.schedule {
  padding-top: 5px; padding-bottom: 5px;
}

tr.error { 
  border: 1px solid #FF0000;
}

p.error { 
	font-weight: bold;
	color: red;
}

p.hidden { 
	display: none;
}

p.visible { 
	display: block;
}


/* ------------- OUR FACILITY PAGE ------------- */ 	

.thumbnail_table {
	width: 100%;
}

.thumbnail_cell {
	text-align: center;
	vertical-align: middle;
	padding: 5px;
}

/* ------------- APPT CONF PAGE ------------------ */

table.confirm { 
	width: 544px;
}


.patient_phone { 
	display: none;
}

.innerError
{
	background-image: url(images/invalid.gif);
	background-position: left top;
	background-repeat: no-repeat;
	padding-left: 20px;
	padding-top: 1px;
	border-right-width-value: 0px;
	border-right-style-value: solid;
	border-right-color-value: #ff8000;
	border-right-width-ltr-source: physical;
	border-right-width-rtl-source: physical;
	border-right-style-ltr-source: physical;
	border-right-style-rtl-source: physical;
	border-right-color-ltr-source: physical;
	border-right-color-rtl-source: physical;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	border-left-width-value: 0px;
	border-left-style-value: solid;
	border-left-color-value: #ff8000;
	border-left-width-ltr-source: physical;
	border-left-width-rtl-source: physical;
	border-left-style-ltr-source: physical;
	border-left-style-rtl-source: physical;
	border-left-color-ltr-source: physical;
	border-left-color-rtl-source: physical;
	border-bottom-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #ff8000;
	color: #ff8000;
}