/*
Theme Name: Your Custom Design
Author: Business Promotion Inc
Author URI: http://businesspromotioninc.com/
License: http://www.gnu.org/licenses/gpl.html
*/

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;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:top;
	background:transparent
}
ol, ul {
	list-style:none
}
blockquote, q {
	quotes:none
}
blockquote:before, blockquote:after, q:before, q:after {
	content:'';
}
ins {
	text-decoration:none
}
del {
	text-decoration:line-through
}
table {
	border-collapse:collapse;
	border-spacing:0
}
body, html {
	margin:0px;
	padding:0px;
	background:#292929 url(images/bg.png) top left repeat-x;
	font-family:Arial, Helvetica, sans-serif;
	color:#FFF;
	font-size:15px;
		line-height: 21px;
}
a {
	color:#29ABE2;
	font-weight:bold;
	text-decoration:none;
}
a:hover {
	color:#666666;
}

#logo {
	padding:8px 0 15px;
}

code {
	font-family:Consolas, Monaco, Courier, monospace;
	background:#fff;
}
p {
	margin:12px 0;
}
h2 {
	font-size:24px;
}
h3 {
	font-size:20px;
}
h4 {
	font-size:16px;
}
h5 {
	font-size:14px;
}
.left {
	float:left;
}
.right {
	float:right;
}
.middle {
	text-align:center;
	
}
#container {
	width:962px;
	margin: 0 auto;
}
#header {
	width:962px;
	height:208px;
	margin:0 auto;
	background: url(images/header.jpg) top no-repeat;
	display:none;
}
#boxes {
	width:945px;
	margin:0 auto;
}
#page {
	width:945px;
	margin:0 auto;
}
#loginbox {
	position:absolute;
	top:0;
	right:0;
}
#theFlash {
}
#top {
	position:relative;
}
.box {
	background:url(images/box.png) top left no-repeat;
	width:293px; /*-----was 293 -----*/
	padding:8px 8px 0;
	margin:5px 0 0;
	color:#FFF;
	font-size: 12px;
    line-height: 22px;
	color:#FFF
}
.boxleft {
	background:url(images/box2.png) top left no-repeat;
	width:243px; /*-----was 293 -----*/
	padding:8px 8px 0;
	margin:5px 0 0;
	color:#FFF;
	font-size: 12px;
    line-height: 22px;
	color:#FFF
}
.boxmiddle {
	background:url(images/boxnew.png) top left no-repeat;
	width:393px; /*-----was 293 -----*/
	padding:8px 8px 0;
	margin:5px 0 0;
	color:#FFF;
	font-size: 12px;
    line-height: 22px;
	color:#FFF
}
.boxright {
	background:url(images/box2.png) top left no-repeat;
	width:243px; /*-----was 293 -----*/
	padding:8px 8px 0;
	margin:5px 0 0;
	color:#FFF;
	font-size: 12px;
    line-height: 22px;
	color:#FFF
}


.box h2 {
	font-size:17px;
	font-style:italic;
	margin:0 0 6px;
	text-align: center;
}
.line {
	background: url(images/line.gif) top center no-repeat;
	line-height:1px;
	height:1px;
}
.entry {
	margin-bottom:48px;
}
.entry-title {
	font-weight:normal;
	font-size:24px;
	color:#FFF;
	line-height:54px;
}
#main {
	float:left;
	width:580px;
}
#phone {
	position:absolute;
	right:0;
	bottom:6px;
	font-size:16px;
}
#loginbox h4 {
	
}
ul.admin_box li {
	float:left;
	list-style:none;
	background:none;
}

ul.admin_box li a {
	display:block;
}
/***********
* Navigation
***********/
#nav {
	width:945px;
	height:30px;
	background: url(images/nav.gif) top no-repeat;
	margin: 0 auto;
	text-align:center;
	position:relative;
}
ul#navigate {
	list-style:none;
	margin:0;
}
ul#navigate li {
	float:left;
	background:none;
	padding:0;
}
ul#navigate li a {
	text-decoration:none;
	display:block;
	line-height:25px;
	background:none;
	padding: 0 10px;
	font-size:14px; /*-------Changed from 12px------*/
	color:#FFFFFF;
	font-weight:normal;
	margin:3px 7px;
	-moz-border-radius:6px 6px 0px 0px;
	-webkit-border-radius:6px 6px 0px 0px;
	border-radius:6px 6px 0px 0px;
	text-transform:uppercase;
}
ul#navigate li a:hover, ul#navigate li.current_page_item a {
	background:#097fc2;
	-moz-border-radius:6px 6px 0px 0px;
	-webkit-border-radius:6px 6px 0px 0px;
	border-radius:6px 6px 0px 0px;
	color:#FFFFFF;
}
#nav ul {
	list-style:none;
}
#nav li {
	display:inline;
	float: left;
	margin: 0;
	padding: 0;
	position:relative
}
#nav a {
	padding:9px 12px;
	line-height:30px;
	text-decoration:none;
	color:#cfcfcf;
	cursor: pointer; /* IE 7 bug-fix */
	font-size:12px;
}
#nav a:hover, #nav ul li:hover a {
	background: #097fc2;
	color:#FFF
}
#nav a.active, #nav a.active:hover, #nav li.current_page_item a, #nav li.current_page_item a:hover, #nav li.current_page_ancestor a, #nav li.current_page_ancestor a:hover, #nav li.current-cat a, #nav li.current-cat a:hover, #nav li.current-cat-parent a, #nav li.current-cat-parent a:hover {
	background: #097fc2;
	color:#FFF;
}
#nav ul ul {
	background: #097fc2;
	position: absolute;
	display: none;
	width:200px;
	top: 29px;
	left: 6px;
	margin-top:-4px;
	padding: 4px 0;
	line-height: 100%;
	z-index: 99;
	-moz-border-radius: 0px 4px 4px 4px;
	-webkit-border-radius: 0px 4px 4px 4px;
	border-radius: 0px 4px 4px 4px;
	font-size:12px;
}
#nav ul ul ul {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius:4px;
}
#nav ul ul li {
	background: none;
	color:#FFF;
}
#nav ul ul li:hover a {
	background: #797979;
	color:#FFF;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius:0px;
}
#nav ul ul li:hover {
}
#nav ul a.active ul, #nav ul li.current_page_item ul, #nav ul li.current_page_ancestor ul, #nav ul li.current-cat ul, #nav ul li.current-cat-parent ul {
	background:#097fc2;
	color:#FFFFFF;
}
#nav ul.active ul ul, #nav ul li.current_page_item ul ul, #nav ul li.current_page_ancestor ul ul, #nav ul li.current-cat ul ul, #nav ul li.current-cat-parent ul ul {
	border: 1px solid #ddd !important;
}
#nav ul li ul a {
	width:180px;
	height:auto;
	float:left;
	background: none;
	margin: 0;
	padding: 4px 10px;
	color: #cfcfcf;
	font-weight: normal;
	font-size: 90%;
	line-height: 125%;
	color: #333;
	background: #097fc2;
	font-size:12px;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
	text-align:left;
}
#nav ul a.active ul a, #nav ul li.current_page_item ul a, #nav ul li.current_page_ancestor ul a, #nav ul li.current-cat ul a, #nav ul li.current-cat-parent ul a {
	color: #FFF;
	text-shadow: none;
	background: #097fc2;
}
#nav ul li.current_page_parent li.current_page_item a {
	background: #797979;
	color:#FFF;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
}
#nav ul li.current_page_parent li a:hover {
	background: #797979;
	color:#FFF;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
}
#nav ul li:hover ul ul, #nav ul li:hover ul ul ul, #nav ul li:hover ul ul ul ul {
	display:none;
}
#nav ul li:hover ul, #nav ul li li:hover ul, #nav ul li li li:hover ul, #nav ul li li li li:hover ul {
	display:block;
}
#nav ul ul ul {
	top:auto;
}
#nav ul li ul ul {
	right:195px;
	top: 4px;
}
/***************
* Forms
***************/
label {
	display:block;
}
input[type=text], input[type=password], textarea, select {
	padding:3px 4px;
	width:274px;
	border:0px solid #783181;
}
input[type=submit] {
border-top: 1px solid #96d1f8;
   background: #65a9d7;
   background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
   background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
   background: -moz-linear-gradient(top, #3e779d, #65a9d7);
   background: -ms-linear-gradient(top, #3e779d, #65a9d7);
   background: -o-linear-gradient(top, #3e779d, #65a9d7);
   padding: 9.5px 19px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 18px;
   font-family: Georgia, serif;
   text-decoration: none;
   vertical-align: middle;
   cursor:pointer;
}
#mc_embed_signup {
	padding:12px;
}
.note-required, .indicate-required {
	color:#c34444;
}
#loginbox input {
	width:auto;
}
/***************
* Comments
***************/
#comment {
	width:100%;
}
.avatar {
	float:right;
}
.commentlist cite {
	font-style:normal;
}
.commentlist li {
	margin:24px 0;
}
.commentlist ul.children {
	margin-left:40px;
}
/********************
* Sidebar and Widgets
********************/
#sidebar {
	width:307px;
	float:right;
	padding-bottom:24px;
}
#sidebar h2 {
	margin:0;
	background: url(images/buttons.gif) top repeat-x;
	font-size:16px;
	font-style:italic;
	line-height:40px;
	padding-left:10px;
	border:1px solid #4b0052;
}
#sidebar {
	margin:0;
}
#sidebar li {
	background:none;
	padding:0;
}
#sidebar ul li li {
	margin-left:20px;
}
#sidebar li#newsletter form {
	padding:0 12px 8px;
}
.btn {
	/*background: url("images/buttons.gif") repeat-x scroll 0 -7px transparent;
	border:0px;
	line-height:30px;
	color:#FFF;
	height:30px;
	border:1px solid #4b0052;
	-webkit-border-radius: 6px;
	-moz-border-radius:6px 6px 6px 6px;
	padding:4px;*/
}
.btn:hover {
	/*
	color:#ccc;
	cursor:pointer;*/
}
#sidebar li.widget {
	margin:6px 0;
	background:#333333;
}
.widget {
	list-style:none;
	padding:0;
	background:none;
}
/*************
* Footer
*************/
#footer {
	clear:both;
	text-align:center;
	font-size:10px;
	margin:10px 0;
}
#footer ul {
	margin:0;
}
#footer ul li {
	display:inline;
	margin:0 10px;
	padding:0;
	background:none;
}
#footer ul li a {
	color:#996699;
}
#footer ul li a:hover {
	color:#666666;
}
#members {
	background-color:#272727;
	background-image:url("images/member-bg.jpg");

	background-repeat:repeat-x;
	border:medium solid #832398;
	color:#FFFFFF;
	margin:20px 40px 10px;
	padding:20px;
}
blockquote {
	border-left:10px solid #fff;
	padding-left:20px;
}
.entry-title a {
	font-weight:normal;
	color:#FFF;
	border-bottom:1px dotted;
}
.entry-content img {
	margin:12px;
}
.entry-content ul {
	margin:12px 20px;
}
.entry-content ul li {
	margin:12px 0;
}
.testimonial {
	clear:both;
	height:160px
}
.message {
	color:#000;
}
ul , .doit {
	margin:12px 0;
}
#loginbox ul {
	margin:0;
}
ul li {
	padding-left:22px;
	background: url(images/arrow.png) top left no-repeat;
}

.doit li{
	padding-left:22px !important;
	background: url(images/arrow.png) top left no-repeat !important;
}

.navigation {
	height:24px;
	margin:24px 0 48px 0;
}

::-moz-selection {
background:#000;
color:#fff;
}
::selection {
background:#000;
color:#fff;
}
/* Special treat for users of the wp-Typography plugin http://kingdesk.com/projects/wp-typography */
span.caps {
	text-transform:lowercase;
	font-variant:small-caps;
}
span.amp {
	font-family: Baskerville, Palatino, "Palatino Linotype", serif;
	font-style:italic;
}
/* WordPress image things */
.aligncenter, div.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.alignleft {
	float:left;
}
.alignright {
	float:right;
}
.wp-caption {
	text-align:center;
	background-color:#fff;
	padding-top:4px;
	margin:2px 20px;
	border:1px solid #000;
}
.wp-caption img {
	margin:0;
	padding:0;
	border:0 none;
}
.wp-caption p.wp-caption-text {
	padding:0 4px 5px;
	margin:0;
}
img#wpstats {
	display:none
}
ol {
	list-style: decimal inside;
	padding: 0 0 5px 0;
}
ol li {
	padding:0 0 5px 25px;
}
ol li ol li {
	padding-top:10px;
}
.linklove {
	display:none;
}
#header_login input[type=submit] {
	background:url(/wp-content/themes/dentalpractice_new/images/go_bg.png) top left repeat-x;
	height:22px;
	padding:0px 8px;
	text-align:center;
	margin:0;
	border:0px;
}


#sidebar #text-7 h2 {
	font-family:Haettenschweiler, Impact, Arial Black;
	font-size:29px;
	font-style:normal;
	font-weight:normal;
	
	
}
#footer {
	text-align:right;
}
#footer a {
	font-weight:normal;
	color:#FFF;
}
#footer_nav {
	float:left;
}
a.headerbutton {
   border-top: 1px solid #96d1f8;
   background: #65a9d7;
   background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
   background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
   background: -moz-linear-gradient(top, #3e779d, #65a9d7);

   background: -ms-linear-gradient(top, #3e779d, #65a9d7);
   background: -o-linear-gradient(top, #3e779d, #65a9d7);
   padding: 5px 10px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 14px;
   font-family: Georgia, serif;
   text-decoration: none;
   vertical-align: middle;
   }
.headerbutton:hover {
   border-top-color: #28597a;
   background: #28597a;
   color: #ccc;
   }
.headerbutton:active {
   border-top-color: #1b435e;
   background: #1b435e;
   }
   
   .page-id-1035{
		font-size:15px;
		line-height: 21px;
   }
   
   #wp_aff_footer{
		display:none!important;   
   }
   
   #quotearea{
	   margin-left:10px;
		font-size: 12px;
    	line-height: 17px; 
   }
   #quoteauthor{
		display:block;
		font-weight:bold;
		margin-top:15px;
   }
/***************
* Aweber Opt-in
***************/
#af-form-1343485126 .af-element { float: left; }
#af-form-1343485126 .af-clear { display:none; }
#af-form-1343485126 .af-body input.text { width: 150px!important; margin-right:10px!important; }
#af-form-1343485126 .buttonContainer { margin-top:-6px!important; }

/* Custom Styles by TME */
.page-template-page-events #main { width: 100%; }
.page-template-page-events #sidebar { display: none; }
#events-page { margin-top: 40px; text-align: center; }
.event-intro { width: 800px; margin: 0 auto 40px auto; }
.event-locations { clear: both; overflow: hidden; margin-bottom: 60px; }
.single-location { position: relative; float: left; width: 450px; margin-right: 45px; }
.single-location img { max-width: 100%; height: auto; }
.event-locations .single-location:last-child { margin-right: 0; }
.single-location a { position: relative; display: block; }
.location-hover { position: absolute; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.7); padding: 15px; }
.single-location:hover .location-hover { background-color: rgba(0,0,0,1); }
.location-hover h3 { color: #fff; margin: 0 0 5px 0; }
.location-hover p { color: #fff; margin: 0; }