/* GENERAL 

-----------------------------------------*/

* {margin: 0; padding: 0;}/* Sets all padding and margins to 0 - forces all browsers to behave... */

html, body {height: 100%;}



body {

background: #776646 url(images/bg03.gif) top center repeat;

margin: 0;

font: 11px tahoma, arial, verdana, helvetica, sans-serif;

color: #000;

line-height: 16px;

}



BODY, TD, .NormalText { font-weight: normal; text-decoration: none; font-style: normal; font-size: 11px; font-family: Tahoma, Arial, Verdana, Helvetica, sans-serif, Comic Sans MS; color: #000; }



.Header		{font: normal 22px arial; font-weight: bold; color: #849B00;}

.Subheader	{font: normal 18px comic sans ms, arial rounded mt bold, trebuchet ms, sans-serif; color: #9b8dc2;}

.Subheader2 {font: normal 16px trebuchet ms, sans-serif; color: #666; }



.Orange		{ color: #9b8dc2; }

.Green		{ color: #849B00; }

.Black		{ color: #000000; }

.Gray		{ color: #666666; }



.SmallText	{ font-size: 10px; }

.MediumText	{ font-size: 16px; line-height: 16px; }

.LargeText	{ font-size: 24px; line-height: 24px; }



IMG.Border { background-color: #fff;

border: 1px solid #dee9f2;

padding: 4px;

margin: 0 20px 20px 0;

clear: both;

}



table { 

border-collapse: collapse; 

border-spacing: 0; 

}



td, th { 

padding: 0; 

vertical-align: top;

font: 11px tahoma, arial, verdana, helvetica, sans-serif;

color: #000;

}



a {

color: #09c; 

text-decoration: underline;

}



a:hover {

color: #690;

text-decoration: none;

}



h1 {

font: normal 22px comic sans ms, arial rounded mt bold, trebuchet ms, sans-serif;

color: #849b00;

margin: 0 0 20px;

overflow: hidden; 



}



h2 {

font: normal 18px comic sans ms, arial rounded mt bold, trebuchet ms, sans-serif;

color: #9b8dc2;

margin: 0 0 10px 0;

}



h3 {

font: normal 16px trebuchet ms, sans-serif;

color: #666;

margin: 0;

}



ul {

margin: 0 0 10px 0;

margin-left: 20px;

}



img {border: none;}



p {margin: 0 0 20px 0;}



* .center-text {text-align: center; background-position: 50% 50%;}



/* MIR 

----------------------------------------*/

* .mir { letter-spacing : -1000em; }

/* Just for Opera, but hide from MacIE */

/*\*/html>body .mir { letter-spacing : normal; text-indent : -999em; overflow : hidden;}

/* End of hack */



h1.mir {

width: 470px; 

height: 80px; 

float: left;

margin: 50px 0 0 60px;

line-height: 0;

overflow: hidden;

}



h1.mir a {

padding: 0;

width: 470px; 

height: 80px; 

display: block;

}





/* NAVIGATION 

-----------------------------------------*/

* #nav, #nav ul { /* all lists */

width: 770px;

height: 50px;

padding: 0;

margin: 0;

position: relative;

list-style: none;

z-index: 1;

}



#nav ul {

padding: 0;

}



#nav li {

float: left;

}



/*  Sets styles for all links that are inside the ul id="nav" */

#nav a {

height: 50px;

display: block;

overflow: hidden; 

text-indent: -999em;  /*Indents the rich-text so it does not show */

}



/* Set the image for each nav item */

* #practice {background: url(images/nav_practice.gif); width: 172px;}

* #ortho {background: url(images/nav_ortho.gif); width: 178px;}

* #braces {background: url(images/nav_braces.gif); width: 103px;}

* #emergency {background: url(images/nav_emergency.gif); width: 146px;}

* #contact {background: url(images/nav_contact.gif); width: 107px;}

* #home {background: url(images/nav_home.gif); width: 64px;}



/* Shift the image position up to show the active state */

#nav a:hover, #nav .active {background-position: 0 -50px;}



/* Set cursor to default arrow so link does not appear clickable */

#nav .active {cursor: default}





/* SUB-NAVIGATION 

-----------------------------------------*/

#nav li {

display: inline

}



#nav li ul { /* second-level lists */

margin: 0;

padding: 0;

width: 170px;

position: absolute;

left: -999em;

line-height: 25px;

font-size: 11px;

text-align: left;

height: auto;

background: #c5daed;

}



#nav li ul a {

padding: 0 0 0 10px;

width: 160px;

color: #776648;

text-indent: 0;

text-decoration: none;

line-height: 25px;

height: auto;

}



#practice_sub ul {

width: 200px;

display: block; 

border: 1px solid #f00;

}



#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */

left: auto;

display:block;

}



#nav li:hover ul a:hover, #nav li.sfhover ul a:hover { /* lists nested under hovered list items */

color: #fff;

background: #97bbdd;

}





/* PAGE LAYOUT

-----------------------------------------*/

* #container {

background: #fff url(images/bg_container.gif) repeat-y;

margin: 0 auto;

position: relative;

width: 770px;

text-align: left;

}



* #container:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}



* #header {

background: url(images/bg_header.jpg) no-repeat;

margin: 0 auto;

width: 770px;

height: 235px;

}



* #sidebar {

background-color: #e8f9ff;

margin: 0;

padding: 30px 0 0 20px;

color: #766549;

float: left;

width: 180px;

font-size: 10px;

line-height: 16px;

}



* #sidebar h2 {

font-size: 14px;

}



* #content {

float: left;

width: 530px;

padding: 25px 20px 20px 20px;

line-height: 20px;

}



* .image {

background-color: #fff;

border: 1px solid #dee9f2;

padding: 4px;

margin: 0 20px 20px 0;

clear: both;

}



* .image_right {

background-color: #fff;

border: 1px solid #dee9f2;

padding: 4px;

float: right;

margin: 0 0 20px 20px;

clear: both;

}



* .image_left {

background-color: #fff;

border: 1px solid #dee9f2;

padding: 4px;

float: left;

margin: 0 20px 20px 0;

clear: both;

}

.left {
	float: left;
	clear: right;
	display: block;
	margin: 0 20px 20px 0;
}

.right {
	float: right;
	clear: left;
	display: block;
	margin: 0 0 20px 20px;
}

* #site_map {font-weight: bold;}

* #site_map .sub {font-weight: normal;}





/* FOOTER

-----------------------------------------*/

* #footer {

background: url(images/bg_footer.jpg) no-repeat;

margin: 0 auto;

position: relative;

width: 770px;

height: 80px;

font: 11px tahoma, arial, verdana, helvetica, sans-serif;

color: #fff;

padding: 165px 0 0;

text-align: center;

clear: both;

line-height: 16px;

overflow: hidden;

}



#footer h2 {

font: bold 12px tahoma, arial, verdana, helvetica, sans-serif;

color: #616265;

line-height: 20px;

letter-spacing: 0;

margin: 10px 10px 5px;

}



#footer a {

color: #776648;

text-decoration: underline;

}



#footer a:hover {

text-decoration: none;

}



#footer li {

display: inline;

list-style-type: none;

padding-right: 7px;

}



* #footer_bottom {

margin: 0 auto;

position: relative;

width: 770px;

font-size: 10px;

color: #a0cf67;

text-align: center;

padding: 10px 0 20px 0;

font-weight:bold;

}

#footer_bottom p {
    margin: 0 0 5px;
}




/* SESAME

-----------------------------------------*/


#sesame a {

font-size: 10px;

color: #fff;

text-decoration: underline;

font-weight:bold;

}



#sesame a:hover {

text-decoration: none;

}

#social-media {
    margin-left:25px;
}
#social-media img {
    float:left;
    margin-right:5px;
}


/*-----------------------------------------------
	Forms 
	*/
	/* Global form styles */
	div.referral-form, div.appointment-form, div.comments {
		width: 100%;
		margin-top: 18px;	
		letter-spacing: normal;
	}
	
	fieldset {border: 0; padding: 9px 0;margin: 0 18px;}
		fieldset h2 {margin: 0 0 9px;}
		fieldset p {margin: 0 0 18px;}
		fieldset p.disclaimer {font-size: 90%; font-style: italic; margin: 0;}
		fieldset dl {}
			fieldset dl dt {font-size: 16px; clear: both; margin: 9px 0 0;}
				fieldset dd ul {margin: 9px 0;}
					fieldset dd ul li, fieldset dd ol li {list-style: none;}
					fieldset dd li {
						clear: both; 
						margin: 3px 0; 
						padding: 5px 0 4px 10%;  
						overflow: auto; 
						height: auto;
						position: relative;
						}
					fieldset dd li:hover {background: #d5e0eb;/* customize me - this is the hover color change of li */}
					fieldset dd li input:hover, fieldset dd li input:focus,
					 fieldset dd li select:hover, fieldset dd li select:focus, 
					 fieldset dd li textarea:hover, fieldset dd li textarea:focus {
					 	background: #f1f1f1;/* customize me - this is the hover color change of form fields*/
					 	outline-color: #537197;/* customize me */
					 	}
						fieldset li h3 {font-size: 12px; line-height: 18px; margin: 0;}
						fieldset li div {float: left; display: inline-block; width: 40%; position: relative; padding-right: 5%;}
						fieldset li div.input-street {width: 85%;}
						fieldset li div.input-city {width: 60%;}
						fieldset li div.input-full-name {width: 85%;}
						fieldset li div.input-phone-full {width: 85%;}
						fieldset li div.input-email {width: 85%;}
						fieldset li div.input-zip {width: 20%;}
						fieldset li div.content-switch, fieldset li div.radio, fieldset li div.checkbox {width: 85%;}
							fieldset li div.radio input {border: none;}
							fieldset li div.radio label {padding-right: 9px; font-size: 90%;}
						/*fieldset li div.hidden-content, fieldset li.hidden-content {display: none;}*/
						fieldset li div.input-select-full {width: 85%;}
						fieldset li div.input-comments {width: 85%;}
							li div.input-comments textarea {height: 63px; overflow: auto;}
						fieldset li div.input-captcha {width: 50%;}
						fieldset li div.verification {width: 35%;}
							li div.verification img {
								border: 1px solid; 
								margin-top: 9px;
								-moz-border-radius: 4px; /*for Moz, optional*/
								-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
								}
							fieldset li div label {
								line-height: 18px; 
								font-weight: bold; 
								margin-bottom: 9px;
								font-size: 80%; 
								color: #537197;/*override to match site*/
								}
							fieldset li div input, fieldset li div textarea, fieldset li div select {
								display: block; 
								line-height: 18px; 
								width: 100%;
								border: 1px solid;
								padding: 4px 0 3px;
								text-indent: 4px;
								margin-top: 9px;
								-moz-border-radius: 4px; /*for Moz, optional*/
								-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
								}
							fieldset li div select {height: 25px;}	
							fieldset li div.radio input {display: inline; width: auto; margin-right: 4px;}
							fieldset li div div {width: 100%;}
						fieldset dl dd.form-footer button {/*these styles control the look of the button, change as necessary*/
							clear:both;/*do not change, forces button to sit below floated elements*/
							display: block;
							width: 125px;
							height: 34px;
							text-align: center;
							margin: 0;
							background:#cfdae4;/* customize me! */
							border: 1px solid #537197;
							line-height: 34px;
							color:#537197;/* customize me! */
							font-size:12px;
							font-weight:bold;
							-moz-border-radius: 4px; /*for Moz, optional*/
							-webkit-border-radius: 4px; /*for Webkit Browsers, optional*/
							}
							
	
	/* appointment form 
	* Styles only for the appointment request form
	*/	

	
	/* comment form 
	* Styles only for the comments form
	*/
	/*numbering added by jQuery*/
	fieldset ol li span.comment-number {
		font-size: 150%;
		color: #537197;/* customize me*/
		position: absolute;
		left: 9px;
		top: 9px;
	}
		
	
	/* referral form 
	* Styles only for the referral form
	*/	
	.referral-form fieldset li div.radio {width: 40%;}
	
	/* JQuery */
	input.error, select.error, textarea.error {border-color: #a52003; background: #fefda1;}
	div.error {
		background: url(../images/validate_error.gif) 0 0 no-repeat; 
		color: #a52003; 
		width: 18px; 
		height: 18px; 
		position: absolute; 
		top: 0; 
		right: 0; 
		overflow: hidden; 
		display: block; 
		margin: 12px -2% 0 0; 
		text-indent: -999em;}
	div.success {
		background: url(../images/validate_ok.gif) 0 0 no-repeat; 
		width: 18px; 
		height: 18px; 
		position: absolute; 
		top: 0; 
		right: 0; 
		overflow: hidden; 
		display: block; 
		margin: 12px -2% 0 0; 
		text-indent: -999em;}

	.contact-form div.error, .contact-form div.success {margin-left: 0;}


#appt-button {position:absolute;top:25px;left:350px;}


#gallery-container { width: 520px;  min-height: 500px; } ul#css-office-tour { width: 520px;  height: 350px; position: relative;  list-style: none;  margin: 0;  padding: 0;  border: solid 1px #333; /* Customize me */ border-radius: 5px; /* Optional - you may customize or remove */ -moz-border-radius: 5px; /* Optional - you may customize or remove */ -webkit-border-radius: 5px; /* Optional - you may customize or remove */ background: url(./images/freehold-office-tour/image-1.jpg) 10px 10px no-repeat; } ul#css-office-tour li { margin: 370px 0 0 10px;  float: left;  display: inline; } ul#css-office-tour li img { border: solid 1px #333; /* Customize me */ margin: 0 4px 2px 0;  width: 68px;  height: auto; } ul#css-office-tour a {text-decoration: none;} ul#css-office-tour a span { left: -9999px;  position: absolute; } ul#css-office-tour a span img { border: none;  width: 500px;  height: 330px; } ul#css-office-tour a:hover { background: none;  z-index: 100; } ul#css-office-tour a:hover span { position: absolute;  top: 10px;  left: 10px;  display: block; }


#gallery-container-2 { width: 520px;  min-height: 500px; } ul#css-office-tour-2 { width: 520px;  height: 350px; position: relative;  list-style: none;  margin: 0;  padding: 0;  border: solid 1px #333; /* Customize me */ border-radius: 5px; /* Optional - you may customize or remove */ -moz-border-radius: 5px; /* Optional - you may customize or remove */ -webkit-border-radius: 5px; /* Optional - you may customize or remove */ background: url(./images/manalapan-office-tour/image-1.jpg) 10px 10px no-repeat; } ul#css-office-tour-2 li { margin: 370px 0 0 10px;  float: left;  display: inline; } ul#css-office-tour-2 li img { border: solid 1px #333; /* Customize me */ margin: 0 4px 2px 0;  width: 68px;  height: auto; } ul#css-office-tour-2 a {text-decoration: none;} ul#css-office-tour-2 a span { left: -9999px;  position: absolute; } ul#css-office-tour-2 a span img { border: none;  width: 500px;  height: 330px; } ul#css-office-tour-2 a:hover { background: none;  z-index: 100; } ul#css-office-tour-2 a:hover span { position: absolute;  top: 10px;  left: 10px;  display: block; }

.testimonials p span { flaot: right; font-weight: bold;}
hr { clear: both; margin-bottom: 20px;}