@charset "UTF-8";

/* 
 Rose Hill Dental Web Site CSS
*/

/**********************************
	Color values:
	#fff     - white
	#721601  - red
	#eb6e1f  - orange
	#f8c097	 - light green	
	#929285  - grey
	
***********************************/

/*  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, b, u, i, center, dl, dt, dd, ol, ul, 
li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	border: 0;
	outline: 0;
	background: transparent;
	}
	
ol, ul {
	list-style: none;
	}

blockquote, q {
	quotes: none;
	}

:focus {
	outline: 0;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
	}
	
/*  page structure
---------------------------------------------------------------------------------------------- */
body  {
	background: #929285 url(../images/bkgdRepeat.gif) repeat 0 0;
	text-align: left;
	color: #444;
	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size: 62.5%;
}

/* LINKS  */ 

a:link, a:visited {
	color: #369;
	outline: none;
}

a:hover {
	color: #36c;
}

/*  misc
---------------------------------------------------------------------------------------------- */
a img {
	border: medium none;
}
hr, .hide {
	display: none;
}
/* self-clear floats */

.group:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/*  page structure
---------------------------------------------------------------------------------------------- */
#wrap {
    width: 920px;
	position: absolute;
	left: 50%;
	top: 0;
	font-size: 110%;
	margin: 0px 0px 0px -460px;
	background: #721601;
}
#header {
	float: left;
	width: 100%;
	background: #fff url(../images/RHD_Logo.gif) no-repeat 15px 10px;
}
#mainImage {
	float: left;
	width: 100%;
	height: 300px;
	background: url(../images/mainHome.jpg) no-repeat 0 0;
}
#secondary {
	float: right;
	width: 30%;
	height: 265px;
	background: #721601 url(../images/sidebarAddress.jpg) no-repeat 0 0;
}

#main {
	float: left;
	width: 70%;
	background: #fff;
}
#footer {
	float: left;
    width: 920px;
    background: #767561;
	color: #FFF;
	font-size: 85%;
	text-align: center;
	padding: 5px 0 0 0;
}
/*  header
---------------------------------------------------------------------------------------------- */
#header img {
	float: left;
}
#barRight {
	float: right;
	margin: 15px 15px 0 0;
}
#barRight h2 {
	font-size: 180%;
	text-transform:uppercase;
	text-align: right;
	color: #721601;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#barRight h2 a {
	text-decoration: none;
	color: #721601;
}
#logo {
	text-indent: -9999px;
}
/* NAV  */ 
#navBar {
	clear: both;
	float: left;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0;
	background: #721601 url(../images/navBarBkgd.jpg) repeat-x 0 0;
	margin: 25px 0 0 0;
}
#nav {
	float: left;
	width: 818;
	list-style: none;
	margin: 0 0 0 45px;
}
#nav li {
	background-image: url(../images/navBar.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	margin: 0px;
	padding: 0px;
	float: left;
}
#nav li a {
	margin: 0px;
	padding: 0px;
	background: url(../images/navBar.jpg) no-repeat left top;
	display: block;
	overflow: hidden;
	color: #fff;
    text-indent: -9999px;
}
#nav li.hom a {
	float: left;
	width: 94px;
	height: 50px;
	background-position: 0px 0px;
}
#nav li.hom a:hover {
	float: left;
	width: 94px;
	height: 50px;
	background-position: 0px -50px;
}
#nav li.off a {
	float: left;
	width: 127px;
	height: 50px;
	background-position: -94px 0px;
}
#nav li.off a:hover {
	float: left;
	width: 127px;
	height: 50px;
	background-position: -94px -50px;
}
#nav li.ser a {
	float: left;
	width: 108px;
	height: 50px;
	background-position: -221px 0px;
}
#nav li.ser a:hover {
	float: left;
	width: 108px;
	height: 50px;
	background-position: -221px -50px;
}
#nav li.doc a {
	float: left;
	width: 186px;
	height: 50px;
	background-position: -329px 0px;
}
#nav li.doc a:hover {
	float: left;
	width: 186px;
	height: 50px;
	background-position: -329px -50px;
}
#nav li.edu a {
	float: left;
	width: 200px;
	height: 50px;
	background-position: -515px 0px;
}
#nav li.edu a:hover {
	float: left;
	width: 200px;
	height: 50px;
	background-position: -515px -50px;
}
#nav li.con a {
	float: left;
	width: 100px;
	height: 50px;
	background-position: -715px 0px;
}
#nav li.con a:hover {
	float: left;
	width: 100px;
	height: 50px;
	background-position: -715px -50px;
}
/*  main background image
---------------------------------------------------------------------------------------------- */

.services #main {
	background: #fff url(../images/main2.jpg) no-repeat 0 0;
}
.doctor #main {
	background: #fff url(../images/mainDr.jpg) no-repeat 0 0;
}
.patEducation #main {
	background: #fff url(../images/main5.jpg) no-repeat 0 0;
}
.contact #main{
	background: #fff url(../images/main4.jpg) no-repeat 0 0;
}
.officeSlideshow {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
	background: #fff;
}
.officeSlideshow img {
	position: absolute;
	top: 0;
	left: 50%;
	width: 700px;
	height: 300px;
	margin-left: -350px;
	opacity: 0;
	animation: officeSlideshowFade 18s infinite;
}
.officeSlideshow img:first-child {
	opacity: 1;
}
.officeSlideshow img:nth-child(2) {
	animation-delay: 6s;
}
.officeSlideshow img:nth-child(3) {
	animation-delay: 12s;
}
@keyframes officeSlideshowFade {
	0%, 28% {
		opacity: 1;
	}
	33%, 95% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/*  main styles
---------------------------------------------------------------------------------------------- */
#main .gutter {
	padding: 325px 50px 25px 40px;
}
.office #main .gutter {
	padding: 50px 50px 25px 40px;
}
.home #main .gutter {
	padding: 30px 50px 25px 40px;
}
#main h2 {
	font-size: 160%;
	padding: 10px 0 5px 0;
	color: #767561 ;
	line-height: 1.3em;
}
#main p {
	font-size: 110%;
	padding: 3px 0;
	line-height: 1.5em;
}
#main p {
	font-size: 120%;
	padding: 3px 0;
	line-height: 1.5em;
}
#main strong {
	font-size: 120%;
	font-weight: bold;
	color: #eb6e1f;
}
#main ul {
	font-size: 120%;
	list-style-type: square;
	margin: 10px 0 10px 20px;
}
#main ul li {
	padding: 5px 0;
}
#main table td {
	padding: 5px 30px 10px 0;
}

#main h1 {
	width: 515px;
	height: 27px;
	text-indent: -9999px;
	background: url(../images/headlineWelcome.gif) no-repeat 0 0;
}
.home #main h1 {
	height: 52px;
}
.office #main h1 {
	background: url(../images/headlineOffice.gif) no-repeat 0 0;
}
.team #main h1 {
	background: url(../images/headlineTeam.gif) no-repeat 0 0;
}
.services #main h1 {
	background: url(../images/headlineServices.gif) no-repeat 0 0;
}
.doctor #main h1 {
	background: url(../images/headlineDoctor.gif) no-repeat 0 0;
}
.patEducation #main h1 {
	background: url(../images/headlinePatEducation.gif) no-repeat 0 0;
}
.contact #main h1 {
	background: url(../images/headlineContact.gif) no-repeat 0 0;
}
.faq #main h1 {
	background: url(../images/headlineFaq.gif) no-repeat 0 0;
}
#main td img {
	border: 5px solid #80776f;
	margin: 20px 0 0 0;
}
#main td img {
	border: 5px solid #80776f;
	margin: 20px 0 0 0;
}
#main table td {
	padding: 0;
}
.faq #main h2 a {
	font-size: 70%;
	margin: 0 0 0 10px;
}


/*  secondary styles
---------------------------------------------------------------------------------------------- */
#secondary p {
	font-size: 125%;
	text-transform:uppercase;
	text-align: left;
	color: #fff;
	font-family: Georgia, "Times New Roman", Times, serif;
	padding: 30px 0 0 20px;
	line-height: 1.4em;
}


/*  footer
---------------------------------------------------------------------------------------------- */
#footer p {
	padding: 3px 0;
}
#footer a {
	color: #fff;
}
#footer a:hover {
	color: #CCC;
}
/*  misc.
---------------------------------------------------------------------------------------------- */
.gutter #OptioContent h1 {
background-image: none;
text-indent: 0;
height: 0;
}
