
#social-media {
	clear: both;
	z-index: 100;
	margin: 40px 0 0 26px;

}

#social-media a img {
	height:30px; 
	width:auto;
}


/* HTML, BODY ---------- */
html {height: 100%;}
body {background: url(../images/tile.jpg) repeat-x 0 0; margin: 0}
* {margin:0; padding:0;}

/* TEXT ---------- */
body {color: #464646; font: 13px/20px Tahoma, Helvetica, sans-serif; text-align:left;}
p {padding: 0px 0 15px 0;}

/* HEADERS ---------- */
h1{padding:0px 0 10px 0px; background-repeat: no-repeat; background-position: top left; height: 38px; /* this height reflects the height of the heading image */	overflow: hidden; text-indent: -999em;}
h2{color: #00235d; padding: 0 0 10px 0; font-size:18px; font-family: "Times New Roman", Times, serif;}
h3{color: #008da9; font-size:14px; padding: 0 0 5px 0; }

/* LISTS ---------- */
ol, ul {padding:0 0 10px 20px;}

/* LINKS ---------- */
a {color: #00235d; text-decoration: underline;}
a:visited {color: #00235d; text-decoration: underline;}
a:hover {color: #00235d; text-decoration: none; font-weight:normal;}
#logo a {position:absolute; top:43px; left:59px; width: 372px; height: 145px; display: block; background: url(../images/logo.gif) no-repeat; z-index: 50;}
#doctor-list a{text-decoration: none;}
#doctor-list a:visited{text-decoration: none;}
#doctor-list a:hover{text-decoration: underline;}
#appointment-request-btn a{position: absolute; top:165px; left:56px; background: url(../images/appointment-btn.gif) no-repeat 0 0; display: block; width: 170px; height: 93px;}

#new-bedford-address a{ font-family:"Times New Roman", Times, serif; text-decoration:none; position: absolute; top: 58px; left:481px; display: block; width: 170px; height: 72px;}
#mattapoisett-address a{ font-family:"Times New Roman", Times, serif; text-decoration:none; position: absolute; top: 58px; left:667px; display: block; width: 170px; height:72px;}

#new-bedford-address h3,
#mattapoisett-address h3 { font-size:16px; color:#008da9; text-align:right; padding:0; line-height:18px;}
#new-bedford-address p,
#mattapoisett-address p { font-size:14px; color:#008da9; text-align:right; padding:0; line-height:19px;}
.phone-hd {color:#316a92; font-weight:bold; font-size:18px; line-height:20px;}

#ada-logo a{position: absolute; top:32px; left: 60px; background:url(../images/logos/ada-footer.gif) no-repeat 0 0; display: block; width: 92px; height:29px ;}
#aao-logo a{position: absolute; top:72px; left: 60px; background:url(../images/logos/aao-footer.gif) no-repeat 0 0; display: block; width:164px; height:26px;}
#neso-logo a{position: absolute; top:109px; left: 60px ; background:url(../images/logos/neso.gif) no-repeat 0 0; display: block; width:148px; height:51px;}
#invisalign-logo a{position: absolute; top:170px; left: 60px ; background:url(../images/logos/invisalign-footer.gif) no-repeat 0 0; display: block; width:142px; height:31px;}
#mass-dental-logo a{position: absolute; top: 208px; left: 60px; background:url(../images/logos/mass-dental-footer.gif) no-repeat 0 0; display: block; width:148px; height: 55px;}
#footer a {color: #fff;}
#footer a:visited {color: #fff;}
#footer a:hover {color: #fff;}

/* nav ---------- */
#nav{position:absolute; top:210px; left:15px; padding:0; width:224px; display:block; z-index: 100;}
#nav a {display: block; height: 28px; overflow: hidden; text-indent: -999px; width: 224px;}
#nav ul{padding:0;}
#our-office {background: url(../images/office.gif) 0 0; padding-bottom: 1px;}
#about-orthodontics {background: url(../images/ortho.gif) 0 0; padding-bottom: 1px;}
#faq {background: url(../images/faq.gif) 0 0; padding-bottom: 1px;}
#about-braces {background: url(../images/braces.gif) 0 0; padding-bottom: 1px;}
#treatment-options {background: url(../images/treatment.gif) 0 0; padding-bottom: 1px;}
#invisalign{background: url(../images/nav-invisalign.gif) 0 0; padding-bottom: 1px;}
#emergency-care {background: url(../images/emergency.gif) 0 0; padding-bottom: 1px;}
#contact-us {background: url(../images/contact.gif) 0 0; padding-bottom: 1px;}
#home {background: url(../images/home.gif) 0 0; padding-bottom: 1px;}
#nav ul li:hover a, #nav a:hover, #nav .active {background-position: -224px 0}
#nav li.active a {background-position: -224px 0;}

/* DROP-DOWN-NAVIGATION ----------------*/
#nav li {display: inline; z-index:100; margin:0; padding:0;}
#nav li ul { /* second-level lists */margin: -28px 0 0 224px; width: 180px; position: absolute; background: #d4e9f2; left: -999em; line-height: 24px; font-size: 11px; height: auto; border-top: 1px solid #68bace; border-right: 1px solid #68bace;	border-bottom: 1px solid #68bace; border-left: 1px solid #d4e9f2;}
#nav li ul a { text-transform:uppercase; list-style-image:none; padding: 0 0 0 10px; width: 170px; color: #008da9;text-indent: 0px; text-decoration: none; height: auto;}
#nav li:hover ul, #nav li.sfhover ul {left: auto;display:block;z-index:100;}
#nav li:hover ul a:hover, #nav li.sfhover ul a:hover {color: #fff; background: #008da9;}

/* SUBNAV ----------------*/
.sub_nav {font-size: 12px; line-height:16px; padding-bottom: 20px;}
.sub_nav a{color: #00235d; text-decoration: underline;}
.sub_nav a:visited {color: #00235d; text-decoration: underline;}
.sub_nav a:hover, .sub_nav a.active {color: #00235d; font-weight:normal; text-decoration:none;}

/* LAYOUT ---------- */
.clear{clear:both;}
.hide {display:none;}
.flash-replaced .alt {display: none;}
div.hr { background: #3c362e; clear: both; height: 1px; margin: 20px 0; width: 100%; }
div.hr hr { display: none; }
#main {background: url(../images/main-tile.png) repeat-y 0 0; width: 859px; margin: 0 auto; position: relative;}
/*---IE 6 Hack ---*/
*html #main {background: url(../images/main-tile.gif) repeat-y 0 0;}
#tagline{position: absolute; top: 0; left: ; background: url(../images/tagline.gif) no-repeat 0 0; display:block; width:859px ; height: 26px;}
#mid{padding-top: 26px; background: url(../images/mid-bg.jpg) no-repeat bottom left; display: block; width: 859px; height: 462px;}
#content{background: url(../images/content-top-bg.jpg) no-repeat top right; width:798px; padding: 0 0 0 31px;}
/*---IE 6 Hack ---*/
*html #content {}
#text{background: url(../images/text-bottom-bg.png) no-repeat bottom left; width: 471px; min-height:441px; _height: 441px; display: block; padding: 12px 82px 0 245px;}
/*---IE 6 Hack ---*/
*html #text{background: url(../images/text-bottom-bg.gif) no-repeat bottom right;}
#spotlight{position:absolute; top:165px; left: 244px; z-index:1; display: block; width: 601px; height: 304px;}

#flash-home{display: block; width: 601px; height: 304px;}

#left-column{width:212px; position: absolute; top: 500px; padding-left: 31px; color:#00235d;}
#doctor-list{font: normal 16px/20px "Times New Roman", Times, serif; padding-left: 25px; width: 170px;}	
#doctor-list h2{font: bold 18px/20px "Times New Roman", Times, serif; margin-bottom:0px; }	
#doctor-list h3{color: #00235d; font: normal 16px/20px "Times New Roman", Times, serif;}	
#footer {background: url(../images/footer-bg.png) no-repeat 0 0; margin: 0 auto; display: block; height: 179px;	color: #fff; font-size: 11px; padding: 100px 88px 0 310px; text-align: left; width:461px; position: relative;}
/*---IE 6 Hack ---*/
*html #footer {background: url(../images/footer-bg.gif) no-repeat 0 0;}
#footer p{color:#fff; line-height:14px;}

/* Shortcuts ----------*/
/* Image Replacement -- add class="replace" to root element, i.e. <p> and add a bg image*/
.replace {letter-spacing : -1000em;line-height: 0;overflow: hidden;line-height: 0;text-indent: -999em;}
/* Just for Opera, but hide from MacIE */

/*\*/html>body .replace {	letter-spacing : normal;text-indent : -999em;overflow : hidden;}
/* End of hack */

/* RESOURCES ---------- */
dl.logos, dl.logos dt, dl.logos dd {list-style:none;margin:0;padding:0;}
dl.logos {padding:10px;}
dl.logos dd {border-bottom:1px solid #CCC;margin:0;padding:10px 0 5px 0;width:50%;}
dl.logos span {font-size: 16px; font-weight:bold;}

/* IMAGES ---------- */
img {border:none;}

/*right and left floating image with border*/
.right {float:right; border: 1px solid #008da9; margin-left:10px; margin-bottom:10px; }
.left {float:left; border: 1px solid #008da9; margin-right:10px; margin-bottom:10px;}
iframe {border: 1px solid #00235d; margin-bottom:20px;}

/* THE GAME ROOM ---------- */
div#sesame-game {
background: #000;
line-height: 0;
margin: 10px auto;
text-align: center;
width: 400px}

ul#sesame-games {
list-style: none;
margin: 0;
padding: 0}

ul#sesame-games li {
clear: both;
display: block}

ul#sesame-games img {
border: 0;
margin: 0 0 10px 10px}

ul#sesame-games a.button {
float:right;
height:85px;
width:200px}

ul#sesame-games p {
padding-bottom: 1em}
	

	
/* MEDIA CENTER ---------- */
h2.media-center {background:#000033; color:#FFF; margin:0; padding:5px;}
div.media-center {background:#336699; color:#FFF; display:inline-block; margin-bottom:10px; overflow:auto; padding:10px;}
div.media-center a {color:#FFF;}
div.media-center img {border:1px solid #FFF;}

/* Global form styles */
.referral-form {margin: 18px auto;}
fieldset {border: none; padding: 9px 0;}
fieldset div {clear: both;}
.form-header {border-bottom: 1px solid #00235d;/*optional, change color to match site*/}
.form-header h3 {margin: 0 0 9px;}
.form-header p {margin: 0 0; padding-bottom: 18px;}
.form-footer {padding-top: 18px; text-align: center; border-top: 1px solid #00235d;/*optional, change color to match site*/}
.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*/
	margin: 9px auto;/*do not change, controls positioning*/
	display: block;
	width:125px;
	height:31px;
	background:#00235d;/* customize me! */
	border: 1px solid #00235d;
	text-align:center;
	line-height:31px;
	color:#ffffff;/* customize me! */
	font-size:12px;
	font-weight:bold;}
/* referral form */
.referral-form {
	margin: 18px 0;
	padding: 10px;}
.referral-form fieldset {border: none; padding: 9px 0;}
.referral-form label {/*floats labels left*/
	font-size: 12px;
	display:block;
	font-weight:bold;
	text-align:left;
	width:45%;
	float:left;
	line-height: 18px;
	padding-top: 4px;}
.referral-form label span {/*sits below labels; holds instructions*/
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:left;
	width:100%;}
.referral-form input, .referral-form textarea {
	float:left;
	font-size:12px;
	padding:4px 2px;
	border:solid 1px #00235d;/* customize me! */
	width:45%;
	margin:9px 0 9px 2%;
	background: #ffffff;
	position: relative;}
.referral-form p.radio, .referral-form p.verification {
	clear: both;
	margin: 9px 0 9px 47%;
	font-size: 12px;}
.referral-form p.radio-float {
	clear: none;
	float:left;
	width: 45%;
	padding:0;
	margin:9px 0 9px 2%;}
.referral-form p.verification {margin-top: 0;}
.referral-form p.verification img {border: 1px solid #00235d;}/* customize me! */
.referral-form p.radio input, .referral-form p.radio-float input {
	float: none;
	width: auto;
	margin: 0 0 0 2%;
	padding: 4px 2px;}   
	

h6 {background-color: #3c362e; clear: both; height: 1px; margin: 20px 0; padding: 0;}	




/* Reset */
#pro-pack {
  position: relative;
  font-size: inherit;
  line-height: inherit;
}
#pro-pack img {display: block;}
#pro-pack a, #pro-pack img, #pro-pack object {
  border:none; 
  outline:none;
}

/* Global Styles ------------------- */
#pro-pack .border {
  border: solid 1px #333; /* Customize me!! */
}
#pro-pack .right {
  float: right;
  margin: 0 0 20px 20px;
}
#pro-pack .left {
  margin: 0 20px 20px 0;
  float: left;
}
#pro-pack .img-right {
  margin: 0 0 20px 20px;
  float: right;
  clear: right;
}
#pro-pack .img-left {
  margin: 0 20px 20px 0;	
  float: left;
  clear: left;
}
#pro-pack p.flash_notice {
  margin: 18px;
  padding: 9px;
  color: #ff0000;
  border: 1px dotted #ff0000;
  background: #ffffff;
  text-align: center;
}

/* Main Invisalign page ----------------- */
#pro-pack #video-invisalign {
  width: 360px; 
  height: 266px;
  display: block;
}

/* Invisalign Testimonials ------------------ */
#pro-pack ul#testimonials {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: none;
}
#pro-pack .invisalign-block {
  width: 275px; 
  float: left;
}

/* Invisalign Teen ------------------ */
#pro-pack span.indent {padding-left: 40px;}
#pro-pack #invisalign-sidebar {
  background: #fff;
  width: 275px;
  margin: 0 0 20px 20px;
  padding: 0;
  border: solid 1px #333; /* Customize me! */
  line-height: 18px;
  font-size: 11px;
  float: right;
  clear: right;
}
#pro-pack #invisalign-sidebar a {
  color: #036; /* Customize me!! */
}
#pro-pack #invisalign-sidebar h3 {
  background: #008da9; /* Customize me!! */
  margin: 0;
  padding: 20px;
  font-size: 16px; /* Customize me!! */
  font-weight: bold; /* Customize me!! */
  color: #fff; /* Customize me!! */
}
#pro-pack #invisalign-sidebar p {
  padding: 0 15px;
  margin: 15px 0;
  font-size: 11px;
  line-height: 16px;
}
#pro-pack .thumb {
  border: solid 1px #333; /* Customize me!! */
  margin: 0 10px 15px 0;
  float: left;
  clear: left;
}

/* Invisalign Videos ------------------- */
#pro-pack div.invisalign-flash {
  background: url(/sesame_media/images/invisalign-pro-package/invisalign-video-bg.jpg) no-repeat;
  width: 450px;
  height: 250px;
  border: solid 1px #333; /* Customize me!! */
  margin-bottom: 20px;
}
#pro-pack div.invisalign-flash img {
  margin: 30px 50px 0;
  float: right;
}
#pro-pack .bump-right {
  margin-right: 5px;
}
#pro-pack #video-invisalign-best-friends, #pro-pack #video-invisalign-news-travels-fast {
  width: 320px;
  height: 206px;
  display: block;
}
#pro-pack #video-invisalign-lobby {
  width: 320px; 
  height: 266px;
  display: block;
}

/* Invisalign Before and After --------------- */
#pro-pack #invisalign-before-after {
  width: 488px;
  min-height: 335px;
  line-height: 18px;
  margin: 0 0 20px 0;
  padding: 10px 0 10px 10px;
  background-color: #008da9; /* Customize me */
  border: solid 1px #333; /* Customize me */
  border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
  -moz-border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
  -webkit-border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
}
#pro-pack #invisalign-before-after ul.slideshow {
  list-style: none; 
  margin: 0; 
  padding: 0;
  width: 488px;
  height: 270px;
  overflow: hidden;
}
#pro-pack ul#before-after-cycle li img {
  width: 232px;
  height: 265px;
  float: left;
  margin-right: 10px;
  border: solid 1px #333; /* Customize me */
}
#pro-pack #invisalign-before-after p {
  float: left;
  width: 50%;
  margin: 0 0 10px 0;
}
#pro-pack #invisalign-before-after div.cycle-detail {
  _width: 478px;
  min-height: 55px;
  _height: 75px;
  line-height: 18px;
  clear: both;
  background-color: #fff; /* Customize me */
  color: #333; /* Customize me */
  padding: 10px;
  margin: 0 10px 0 0;
  border: solid 1px #333; /* Customize me */
  border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
  -moz-border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
  -webkit-border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
}
#pro-pack #invisalign-before-after div.before-after-nav {
  background: #fff; /* Customize me */
  _width: 478px;
  margin: 0 10px 10px 0;
  padding: 5px 3px;
  border: solid 1px #333; /* Customize me */
  border-radius: 5px 5px 0 0; /* Optional - you may customize or remove - Does not work in IE */
  -moz-border-radius: 5px 5px 0 0; /* Optional - you may customize or remove - Does not work in IE */
  -webkit-border-top-left-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
  -webkit-border-top-right-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
}
#pro-pack #invisalign-before-after .before-after-nav a {
  text-decoration: none; 
  font-size: 12px; 
  padding: 5px; 
  margin: 0 3px;
  outline: none;
  color: #333; /* Customize me */
}
#pro-pack #invisalign-before-after .before-after-nav a.activeSlide, #pro-pack #invisalign-before-after .before-after-nav a:hover {color: #008da9;} /* Customize me */

/* Invisalign Footer -------------------- */	
#pro-pack #invisalign-footer {
  background: #fff;
  width: 99%;
  margin: 30px 0;
  padding: 0;
  border: solid 1px #333; /* Customize me!! */
  font-size: 11px;
  border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
  -moz-border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
  -webkit-border-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
  clear: both;
}
#pro-pack #invisalign-footer h3 {
  background: #008da9; /* Customize me!! */
  margin: 0;
  padding: 10px 20px;
  color: #fff; /* Customize me!! */
  font-size: 14px;
  border-radius: 5px 5px 0 0; /* Optional - you may customize or remove - Does not work in IE */
  -moz-border-radius: 5px 5px 0 0; /* Optional - you may customize or remove - Does not work in IE */
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px; /* Optional - you may customize or remove - Does not work in IE */
}
#pro-pack #invisalign-footer ul li img {
  margin: 0 10px 0 20px;
  float: left;
}
#pro-pack #invisalign-footer p {
  padding: 0 20px;
  margin: 30px 0 20px 0;
}
#pro-pack #invisalign-footer ul {
  margin: 15px; 
  padding: 0 0 15px 0;
  list-style: none;
  border: solid 1px #333; /* Customize me!! */
  border-width: 0 0 1px 0;
}
#pro-pack #invisalign-footer li {
  width: 33%;
  float: left;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
#pro-pack #invisalign-footer li a {float: left;}	
#pro-pack .invisalign-footer-logo {
  margin: 0 30px 0 15px;
  float: left;
}

/* Pro Pack Callouts --------------- */
#pro-pack-callout-sm {
  width: 123px;
  height: 63px;
  background: #eee /* Customize this color!! */ url(/sesame_media/images/invisalign-pro-package/callout-sm.png) no-repeat;
  border: solid 1px #000; /* Customize me!! */
  border-radius: 3px; /* Optional - you may customize or remove - Not supported in IE*/
  -moz-border-radius: 3px; /* Optional - you may customize or remove - Not supported in IE*/
  -webkit-border-radius: 3px; /* Optional - you may customize or remove - Does not work in IE */
  margin: 0 0 18px; /* Customize me!! */
  padding: 0;
  display: block;
  text-indent: -9999px;
  /* Uncomment the following lines if using absolute positioning */
  /* top: 390px; Customize me!! */
  /* left: 350px; Customize me!! */
  /* position: absolute; */
  /* z-index: 2; Adjust this number if needed */
}
#pro-pack-callout-sm a {
  width: 123px;
  height: 63px;
  display: block;
}
#pro-pack-callout-lg {
  width: 223px;
  height: 128px;
  background: #eee /* Customize this color!! */ url(/sesame_media/images/invisalign-pro-package/callout-lg.png) no-repeat;
  border: solid 1px #000; /* Customize me!! */
  border-radius: 3px; /* Optional - you may customize or remove - Not supported in IE*/
  -moz-border-radius: 3px; /* Optional - you may customize or remove - Does not work in IE */
  -webkit-border-radius: 3px; /* Optional - you may customize or remove - Does not work in IE */
  margin: 0 0 18px;
  padding: 0;
  display: block;
  text-indent: -9999px;
  /* Uncomment the following lines if using absolute positioning */
  /* top: 470px; Customize me!! */
  /* left: 350px; Customize me!! */
  /* position: absolute; */
  /* z-index: 2; Adjust this number if needed */
}
#pro-pack-callout-lg a {
  width: 223px;
  height: 128px;
  display: block;
}

/* Clear Fix --------------------- */
.clear {clear: both;}
.cf:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.cf {display: inline-block;} /*this trips hasLayout for ie7*/
.cf {display: block;} /*this returns it back to normal*/
* html .cf {height: 1px;}