/*
Theme Name: Template #2099
Theme URI: http://www.pbhs.com
Author: Patrick, Jordan
Tags: responsive-layout, featured-pages, color-options,  theme-photos
*/
html { font-size: 62.5%; }
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	background: #fff;
	font-family: "source-sans-pro", sans-serif;
	-webkit-font-smoothing: antialiased;

	font-size: 1.4rem;
}

/*------------- Main Styles ----------------- */

h1, h2, h3, h4, h5, h6 {
	text-align:left;
}

h1, h2, h3 { color: #7d6a55; }

#content-main h1 {
	font-size: 2.9em;
}

#content-main h2 {
	font-size: 2.4em;
}

#content-main h3 {
	font-size: 2.1em;
}

#contact-form h3 {
	margin-top: 0;
	font-style: italic;
}

#content-main h4 {
	font-size: 1.5em;
}

#content-main h5 {
	font-size: 1.2em;
}

#content-main h6 {
	font-size: 1em;
}

a { color: #5e88a2; text-decoration: underline; }

a:hover { color: #5e88a2; text-decoration: none; }

a.clickable {
	position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    text-decoration:none; /* Makes sure the link doesn't get underlined */
    z-index:10; /* raises anchor tag above everything else in div */
    background-color:white; /*workaround to make clickable in IE */
    opacity: 0; /*workaround to make clickable in IE */
    filter: alpha(opacity=1); /*workaround to make clickable in IE */
	/* This link class should be used on an empty anchor tag (no text or other elements between the opening and closing tags). */
}

p {
	text-align: left;
}

#content-main ul { list-style-position: inside; }

#content-main li { }

blockquote {
	display: inline-block;
	margin: 1em;
}

blockquote,
blockquote.pull-left,
blockquote.pull-right {
	padding: 15px;
	color: #fff;
	background: #87a3b9;
	border-color: #eee;
}


/*------------- Bootstrap Styles ----------------- */

.well { }

.btn { }

.well.well-full {
	width: auto;
	margin-left: -25px;
	margin-right: -15px;
	border: 0px;
	border: 1px solid #e3e3e3;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-shadow: inset 0 0 25px rgba(0,0,0,0.05);
	-moz-box-shadow: inset 0 0 25px rgba(0,0,0,0.05);
	box-shadow: inset 0 0 25px rgba(0,0,0,0.05);
	behavior: url(/PIE.htc);
}

.btn { text-decoration: none !important; }

.btn-link { color: #5e88a2; text-decoration: underline !important; }

.btn-link:hover { color: #5e88a2; text-decoration: none !important; }

a.thumbnail:hover { border-color: #7c6a52; }

/*------------- Main Widths ----------------- */

#header, #bucket-wrapper, #bucket-wrapper, #content-footer, #footer {

}

.container {
	max-width: 100%;
}


/*------------- Header ----------------- */

#interior-background.int-bg {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  width: 100%;
  height: 100%;
  max-height: 60%;
}

#interior-background {
    background-image: url('_media/backgrounds/bg-header-int.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ie7 #interior-background .int-bg { height: 100%; }

#header-wrapper {
    position: relative;
    height: 100%;
}

#home #header-wrapper {
    background-image: url('_media/backgrounds/bg-header.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ie7 .home #header-wrapper { position: relative; overflow: hidden; }

.ie7 #interior #header-wrapper { position: static; overflow: visible; }

#header-wrapper .home-bg {
	position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
	z-index:-1;
}

.ie7 #header-wrapper .home-bg { height: 110%; }

#header-wrapper header {
	position: relative;
	padding-top: 10px;
	z-index: 10;
}

#header-wrapper #banner-wrapper {
	position: relative;
	z-index: 0;
}

#client-logo {
	margin: 15px 20px 5px 0;
}

#practice-wrapper {
	display: table-cell;
	vertical-align: middle;
	line-height: 2em;
}

#practice {
	color: #7d6a55;
	font-size: 3.2em;
	font-family: "source-sans-pro", Sans-Serif;
	font-weight: 300;
	letter-spacing: 0.1em;
	margin-top: 20px;
	text-align: right;
	visibility: hidden;
	line-height: inherit;
}

#practice.sf-scaled { visibility: visible; }

.ie7 #practice { line-height: 1.1em; }

#specialty {
	color: #638ba5;
	font-size: 1em;
	font-family: "futura-pt", sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	line-height: inherit;
}

#location {
	font-size: 1.6em;
	color:#FFF;
	line-height: 1em;
	margin-bottom: 20px;
}

#phone {
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 10px;
	margin-right: 30px;
	margin-left: 50px;
	font-size: 1.5em !important;
	color: #8b7b69;
	font-family: "source-sans-pro", sans-serif;
	font-weight: 300;
	line-height: 1.3em;
	text-align: right;
}

#phone .phone-icon {
	display: inline-block;
	width: 46px;
	height: 32px;
	background: url('_media/backgrounds/phone-icon.png') top left no-repeat;
	vertical-align: middle;
}

#phone a { display: block; }

#phone #number {
	font-size: 1.4em !important;
}
#phone a span,
#phone span span {
	font-size: 0.8em !important;
	font-style: italic;
	font-weight: normal;
}

.ie7 #phone a {
	color: #8b7b69;
	text-decoration: none;
}

#banner-wrapper {
	/*background: url('_media/backgrounds/bg-banner.png') no-repeat center center;
	background-size: contain;*/
}

#banner-wrapper:after {
	position: absolute;
	content: '';
	left: 0;
	bottom: -10px;
	width: 100%;
	height: 10px;
	background: url('_media/backgrounds/bg-header-shadow.png') top center no-repeat;
}

#banner {
	position: relative;
	width: 100%;
	margin: 0 auto;
	/*background: url('_media/backgrounds/loading.png') no-repeat top center; /* displays a small loading icon behind slider that is displayed when no slides are visible. */
}

#banner #default-banner-description {
	position: absolute;
	top: 25%;
	right: 0;
	width: 60%;
	z-index: 11; /* must be higher than 10 to avoid being hidden when slides change */
	visibility: hidden;
}

.banner-text-bg #banner #default-banner-description {
	padding: 20px;
	background: rgba(255,255,255,0.7);
}

#banner #banner-logo {
	display: block;
	margin-top: -30px;
	float: left;
}

#banner #banner-content {
	padding-left: 15px;
	color: #7d6a55; /* default if no h2, h3, or p */
}

#banner #banner-content h2 {
	margin: 0 0 6px;
	color: #7d6a55;
	font-size: 2.8em;
	line-height: 0.875em;
	font-family: "source-sans-pro", Sans-Serif;
	font-weight: 300;
	letter-spacing: 0.1em;
}

#banner #banner-content h3 {
	margin: 0;
	color: #638ba5;
	font-size: 1.2em;
	line-height: 1em;
	font-family: "futura-pt", sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

#banner #banner-content p {
	margin-top: 10px;
	color: #7d6a55;
	font-size: 1.1em;
	font-family: "source-sans-pro", sans-serif;
	font-weight: 600;
	font-style: italic;
}

#pbhs-slider {
	width: 100%;
	background: url('_media/backgrounds/bg-slide.png') top left no-repeat;
	z-index: 1;
}

/* Prevent slides from stacking down the page before slide has loaded */
#pbhs-slider > .pbhs-slider-content { display:none; }
#pbhs-slider > .pbhs-slider-content:first-child { display:block; }

.pbhs-slider-a-block {
	left: auto !important;
    right: 0 !important;
    padding: 18% 1em;
}


/*------------- Middle ----------------- */

#middle-wrapper {  }

#bucket-topbar {
	padding: 18px 0 45px 0;
}

#bucket-topbar .span3 a {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 50px;
	color: #fff;
	font-style: italic;
	text-decoration: none;
	background: #6890a9;
	background: -moz-linear-gradient(top, #6890a9 0%, #8badc0 50%, #5e88a2 51%, #5e88a2 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6890a9), color-stop(50%,#8badc0), color-stop(51%,#5e88a2), color-stop(100%,#5e88a2));
	background: -webkit-linear-gradient(top, #6890a9 0%,#8badc0 50%,#5e88a2 51%,#5e88a2 100%);
	background: -o-linear-gradient(top, #6890a9 0%,#8badc0 50%,#5e88a2 51%,#5e88a2 100%);
	background: -ms-linear-gradient(top, #6890a9 0%,#8badc0 50%,#5e88a2 51%,#5e88a2 100%);
	background: linear-gradient(to bottom, #6890a9 0%,#8badc0 50%,#5e88a2 51%,#5e88a2 100%);
	-pie-background: linear-gradient(top, #6890a9 0%,#8badc0 50%,#5e88a2 51%,#5e88a2 100%);
	behavior: url(/PIE.htc);
}

#bucket-topbar .span3 a:hover { text-decoration: none; }

#bucket-topbar .span3 a span {
	display: block;
	margin: 14px 25px 0 15px;
	font-size: 1.5em;
}

#bucket-topbar .span3 a#register,
#bucket-topbar .span3 a#quicklink {
	font-weight: 600;
}

#bucket-topbar .span3 a#register span,
#bucket-topbar .span3 a#quicklink span {
	visibility: hidden;
}

#bucket-topbar .span3 a#register .sf-scaled,
#bucket-topbar .span3 a#quicklink .sf-scaled { visibility: visible; }

#bucket-topbar .span3 a i {
	font-size: 1.3em;
}

#bucket-topbar .span3 a#contact span {
	margin-top: 10px;
	margin-left: 2px;
	font-size: 1.1em;
	line-height: 1em;
}

#bucket-topbar .span3 a#contact span img {
	margin-top: -8px;
	margin-right: 6px;
	float: left;
}

#bucket-topbar .span3 a i {
	position: absolute;
	top: 16px;
	right: 8px;
}

#bucket-topbar #social-icons a { margin-left: 3px; }

#bucket-topbar .span3 a#contact span#address {
	visibility: hidden;
	margin-top: 0px;
	padding-right: 25px;
	width: 100%;
	max-height: 38px;
}

#bucket-topbar .span3 a#contact span#address.sf-scaled { visibility: visible; }

.ie7 #bucket-topbar .span3 a#contact span#address { width: auto; }

.bucket-image {
	position: relative;
	margin: 0 0 0 -5px;
	padding: 2px;
}

.bucket-image:before {
	position: absolute;
	content: '';
	bottom: 0;
	left: 0;
	width: 128px;
	height: 46px;
	background: url('_media/backgrounds/bg-bucket-image-left.png') bottom left no-repeat;
}

.bucket-image:after {
	position: absolute;
	content: '';
	bottom: 0;
	right: 0;
	width: 128px;
	height: 46px;
	background: url('_media/backgrounds/bg-bucket-image-right.png') bottom right no-repeat;
	z-index: -1;
}

.bucket img {
	position: relative;
	padding: 2px;
	background: #fff;
	border: 1px solid #e3e3e3;
	z-index: 0;
}

.bucket h2 { font: 400 1.2em/1em ""; }

.bucket h2 a { color: #7d6a55; text-decoration: none; }

.bucket h2 a:hover { color: #7d6a55; text-decoration: none; }

.bucket p { color: #5e88a2; }

.bucket-img { width: 100%; height: auto; }

#content-wrapper {
	position: relative;
	background: #ededed url('_media/backgrounds/bg-content.png') top left repeat;
	border-top: 3px solid #5e88a2;
}

#interior #content-wrapper {
	background: none;
	border-top: none;
}

#content-wrapper:before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background: url('_media/backgrounds/bg-header-shadow.png') top center no-repeat;
}

#interior #content-wrapper:before {
	display: none;
}

#content-header {
	padding: 25px 0;
	color: #242424;
}

#interior #content-header {
	position: relative;
	margin: 20px 0;
	padding: 0;
	background: #fff;
	-webkit-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.75);
	-moz-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.75);
	box-shadow:	0px 0px 5px rgba(50, 50, 50, 0.75);
	behavior: url(/PIE.htc);
}

.ie7 #interior #content-header { padding-bottom: 4px; }

#content-main { position: relative; }

#interior #content-main {
	padding-top: 10px;
	padding-right: 15px;
	float: right;
}

#content-side {
	position: relative;
	margin-top: 1px;
	margin-bottom: 1px;
	margin-left: 1px;
	padding-bottom: 14px;
	color: #fff;
	font-family: "open-sans", Sans-Serif;
	font-weight: 400;
	background: #87a3b9;
	background: -moz-linear-gradient(left, #87a3b9 97%, #6f8698 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(97%,#87a3b9), color-stop(100%,#6f8698));
	background: -webkit-linear-gradient(left, #87a3b9 97%,#6f8698 100%);
	background: -o-linear-gradient(left, #87a3b9 97%,#6f8698 100%);
	background: -ms-linear-gradient(left, #87a3b9 97%,#6f8698 100%);
	background: linear-gradient(to right, #87a3b9 97%,#6f8698 100%);
	-pie-background: linear-gradient(left, #87a3b9 97%,#6f8698 100%);
	behavior: url(/PIE.htc);
}

.ie7 #content-side { margin-top: -2px; }

#content-side .side-nav-title {
	margin-bottom: 10px;
}

#content-side .side-nav-title a {
	color: #fff;
	text-decoration: none !important;
}

#content-side h1, #content-side h2, #content-side h3 {
	margin-top: 0;
	padding: 14px 14px 0 14px;
	color: #fff;
	font-size: 1.5em;
	font-weight: 600;
	line-height: 1em;
}

#content-side h1 a, #content-side h2 a, #content-side h3 a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

#content-side p,
#content-side address {
	padding-left: 14px;
}

#content-side ul {
	margin-bottom: 0;
	margin-left: 0;
}

#content-side li {
	list-style: none;
	text-align: left;
	margin: 0;
}

#content-side li a {
	color: #fff;
	text-decoration: none;
	padding: 3px 10px 3px 14px;
	display: block;
}

#content-side li:first-child a {  }

#content-side li a:hover,
#content-side li.current_page_item a {
	color: #1c394e;
	background: #ffffff;
	background: -moz-linear-gradient(left, #ffffff 97%, #d3d3d3 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(97%,#ffffff), color-stop(100%,#d3d3d3));
	background: -webkit-linear-gradient(left, #ffffff 97%,#d3d3d3 100%);
	background: -o-linear-gradient(left, #ffffff 97%,#d3d3d3 100%);
	background: -ms-linear-gradient(left, #ffffff 97%,#d3d3d3 100%);
	background: linear-gradient(to right, #ffffff 97%,#d3d3d3 100%);
	-pie-background: linear-gradient(left, #ffffff 97%,#d3d3d3 100%);
	behavior: url(/PIE.htc);
}

#content-side ul ul { margin: 0; }

#content-side li li a {
	background-color: transparent;
	padding: 6px 0 6px 30px;
}

#content-side li li:first-child a { border-top: none; }

#content-side .recentcomments a, #content-side .recentcomments a:first-child, #content-side .recentcomments a:last-child { border: none; }
#content-side .children, #content-side .sub-menu { display: none; border-top: 1px solid #efefef; }

#content-side .current_page_item .children,
#content-side .current_page_ancestor .children,
#content-side .current_page_parent .children,
#content-side .current_page_item .sub-menu,
#content-side .current_page_ancestor .sub-menu,
#content-side .current_page_parent .sub-menu {
	display: block;
}

#content-side nav {
	padding-bottom: 14px;
	background: url('_media/backgrounds/bg-sidebar-divider.png') bottom center no-repeat;
}

#content-side #sidebar-featured {
	padding-bottom: 14px;
	background: url('_media/backgrounds/bg-sidebar-divider.png') bottom center no-repeat;
}

#content-side #sidebar-contact {
	padding-bottom: 14px;
	background: url('_media/backgrounds/bg-sidebar-divider.png') bottom center no-repeat;
}

#content-side #sidebar-contact h2 {  }

#content-side #sidebar-contact p,
#content-side #sidebar-contact address {
	margin: 0;
}

#content-side #sidebar-contact .img-fit {
	padding-top: 8px;
	padding-bottom: 6px;
	background: url('_media/backgrounds/bg-sidebar-divider.png') bottom center no-repeat;
}

.page-template-form-php #content-main { margin-left: 0; }

.page-template-form-php #content-side {  }

.page-template-form-php #contact-form {
	margin-left: 2.564102564102564%;
	padding-bottom: 15px;
	float: right;
}

.ie7 .page-template-form-php #content-main { margin-left: -10px; margin-right: -25px; padding-left: 0; }

.ie7 .page-template-form-php #contact-form { padding-right: 20px; }

.page-template-one-column-php #content-main { padding-left: 15px; }

.error404 input[type="text"] { margin-bottom: 0; }

#content-main .content-image-wrap {
	display: inline-block;
	margin-bottom: 5px;
	line-height: 0;
}

#content-main img {
	max-width: 100%;
	height: auto;
}

#content-main .content-image-wrap img {
	display: block;
	margin: 0;
	padding: 0;
}
#content-main .image-shadow {
	height: auto;
}

.thumbnail > img {
	margin: 0 auto !important;
}

/*------------- Footer ----------------- */

div#footer-wrapper { background: #7d6a55; }

.ie7 #footer .row-fluid .span7 { float: right; }

footer .row-fluid .span5 {
	margin-left: 0;
	padding-left: 5px;
}

#footer-wrapper {
	color: #fff;
	font-weight: 300;
}

#footer-wrapper p,
#footer-wrapper h1,
#footer-wrapper h2,
#footer-wrapper h3 {
	color: #fff;
	margin: 0;
	text-align: inherit;
}

#footer-wrapper a {
	color: #fff;
	text-decoration: none;
}

#footer a:hover {
	color: #fff;
	text-decoration: underline;
}

#footer-links {
	padding-top: 14px;
	text-align: center;
}

.ie7 #footer-links ul li { display: inline; }

#footer-social-icons { padding-top: 5px; }

#footer-social-icons img {
	margin-left: 3px;
	width: 23px;
	height: 23px;
}

@media(max-width: 767px) {
	#footer-wrapper .pbhs-grid-wrapper .container-fluid {
		padding: 0;
	}
}

/* ----- SEO Footer -----  */

#footer-wrapper .pbhs-grid-footer h1, #footer-wrapper .pbhs-grid-footer h2, #footer-wrapper .pbhs-grid-footer h3 {
	line-height: 1.2em;
}

.pbhs-grid-column .pbhs-grid-snippet .snippet-text.no-snippet-header {
	margin-top: 5px;
}

.pbhs-grid-row {
	padding-top: 20px;
}

/*------------ Form overrides -------------*/

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input, select {
	position: relative;
	color: #242424;
	font-size: 1.1em !important;
	font-weight: 400;
	font-style: italic;
	height: auto;
	background: #ffffff;
	background: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e0e0e0));
	background: -webkit-linear-gradient(top, #ffffff 0%,#e0e0e0 100%);
	background: -o-linear-gradient(top, #ffffff 0%,#e0e0e0 100%);
	background: -ms-linear-gradient(top, #ffffff 0%,#e0e0e0 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#e0e0e0 100%);
	-pie-background: linear-gradient(top, #ffffff 0%,#e0e0e0 100%);
	behavior: url(/PIE.htc);
}

.gform_wrapper .gform_footer {
	padding: 0;
	margin: 0;
}

.gform_button {
	position: relative;
	-moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: #6f94ab;
	background: -moz-linear-gradient(top, #6f94ab 0%, #54798f 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6f94ab), color-stop(100%,#54798f));
	background: -webkit-linear-gradient(top, #6f94ab 0%,#54798f 100%);
	background: -o-linear-gradient(top, #6f94ab 0%,#54798f 100%);
	background: -ms-linear-gradient(top, #6f94ab 0%,#54798f 100%);
	background: linear-gradient(to bottom, #6f94ab 0%,#54798f 100%);
	-pie-background: linear-gradient(top, #6f94ab 0%,#54798f 100%);
	behavior: url(/PIE.htc);
    border: 1px solid #c7c7c7;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
	font-weight: 600;
	font-style: italic;
    line-height: 20px;
    margin-bottom: 0;
	margin-top: 10px;
    padding: 4px 14px;
    text-align: center;
    vertical-align: middle;
	float: right;
}
.gform_button:hover, .gform_button:active, .gform_button.active, .gform_button.disabled, .gform_button[disabled] {
    position: relative;
	background: #6f94ab;
	background: -moz-linear-gradient(top, #6f94ab 0%, #4e6c84 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6f94ab), color-stop(100%,#4e6c84));
	background: -webkit-linear-gradient(top, #6f94ab 0%,#4e6c84 100%);
	background: -o-linear-gradient(top, #6f94ab 0%,#4e6c84 100%);
	background: -ms-linear-gradient(top, #6f94ab 0%,#4e6c84 100%);
	background: linear-gradient(to bottom, #6f94ab 0%,#4e6c84 100%);
	-pie-background: linear-gradient(top, #6f94ab 0%,#4e6c84 100%);
	behavior: url(/PIE.htc);
}

.gform_wrapper.gf_browser_gecko select {
    padding: 0 !important;
}


/*------------- classes ----------------- */
.highlight {
	background-color: #fff;
	border: solid #ccc 1px;
	margin-bottom: 5px;
	padding: 4px;
}

.module {
	position: relative;
	padding-bottom: 10px;
	width: 100%;
	color: #fff;
	background: #7d6a55;
}
#ada-content .module {
	padding: 0 18px 18px;
}
.module:before {
	position: absolute;
	content: '';
	bottom: -8px;
	left: 0;
	width: 100%;
	height: 8px;
	background: url('_media/backgrounds/bg-module.png') top center no-repeat;
	border-top: 1px solid #fff;
}

.module p { padding: 0 100px; }
#ada-content .module p {
	padding: 0;
}
.module a,
.module a:hover { color: #fff; }

.image, .image-fit { max-width: 100%; height: auto; }

#content-main .module h2, #content-main .highlight h2 {
	color: #FFFFFF;
	text-align: center;
	padding: 5px 10px;
	margin:0 0 10px 0;
	font-style:normal;
}

#content-main .module h2 {
	background: url('_media/backgrounds/bg-header-shadow.png') top center no-repeat;
}

#content .module p.text_center, #content .highlight p.text_center{ text-align:center; }

.module.alignleft, .module.alignright {
    width: 40%;
}

.module.alignleft p, .module.alignright p {
    padding: 0 15px;
    text-align: justify;
}

@media(max-width: 767px) {
    .module.alignleft, .module.alignright {
        width: 100%;
    }
}

.alignright {
	float: right;
	margin: 0 0 10px 10px;
}

.alignleft {
	float: left;
	margin: 0 10px 10px 0;
}

.alignleft:after, .alignright:after {
	content: "";
	clear: both;
}

.text-center { text-align: center; }

.text-left { text-align: left; }

.text-right { text-align: right; }

.dashed_line {
	clear: both;
	height: 1px;
	border-bottom: 1px dotted #666;
}

.highlight {
	width: 97%;
	margin: 0 auto;
	padding: 10px 10px 5px;
}

#mapContainer { height: 400px; }

#interior .highlight input[type="text"] { margin-bottom: 0px !important; }

.mobile-phone #mapContainer { margin-bottom: 65px; }
.modal #mapContainer { height: 255px; }
.modal .highlight { margin-bottom: 12px; width: 95%;}
.modal-map .modal-body { max-height: 415px; }

a[href^="tel:"], a[href^="tel:"]:hover,
a[href^="fax:"], a[href^="fax:"]:hover {
	font-size: inherit !important;
	cursor: text !important;
	color: inherit !important;
	font-weight: inherit !important;
	text-decoration: inherit !important;
	background: none !important;
}


figure { margin: 20px 0; padding: 0; }
figure iframe { width: 100% !important; max-width: 100% !important; }

/* ----- Office Tour Styles ----- */
.page-template-image-slider-php ul.gallery { display: none; }
.page-template-image-slider-php .tn3-gallery {
	background: #000;
	padding: 15px 0;
}
.page-template-image-slider-php .tn3-image { background: none; cursor: pointer; }
.page-template-image-slider-php .tn3-prev, .page-template-image-slider-php .tn3-next { display: block !important; opacity: 1 !important; }
.page-template-image-slider-php .tn3-prev { left: -35px; }
.page-template-image-slider-php .tn3-next { right: -35px; }
.page-template-image-slider-php .tn3-controls-bg { background: none; }
.page-template-image-slider-php .tn3-thumbs, .page-template-image-slider-php .tn3-sep1, .page-template-image-slider-php .tn3-sep2, .page-template-image-slider-php .tn3-sep3 { background: none; }
.page-template-image-slider-php .tn3-thumbs { height: 52px; }
.page-template-image-slider-php .tn3-thumb { width: 50px; height: 50px; }
.page-template-image-slider-php .tn3-thumb img { width: 50px; height: 50px; }
#gallery_container { margin-bottom: 20px; max-width: 100%; }
.tn3-gallery, .tn3-image, .tn3-image-in, .tn3-in-image { max-width: 100%; }
#gallery_container:after { content: ""; display: table; line-height: 0; clear: both; }


.pbhs-slider.pbhs-slider-with-thumbs .pbhs-slider-image { height: auto !important; }

.pbhs-slider-default .pbhs-slider-fullscreen-icon, .pbhs-slider-default.pbhs-slider-fullscreen .pbhs-slider-fullscreen-icon,
.pbhs-slider-default .pbhs-slider-thumbs-arrow-icon, .pbhs-slider-default .pbhs-slider-arrow-icon { background-image: none; }

.pbhs-slider-default .pbhs-slider-fullscreen-icon:before, .pbhs-slider-default.pbhs-slider-fullscreen .pbhs-slider-fullscreen-icon,
.pbhs-slider-default .pbhs-slider-thumbs-arrow-icon, .pbhs-slider-default .pbhs-slider-arrow-icon {
	font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;
	display:block;width:auto;height:auto;line-height:150%;vertical-align:baseline; text-align: center;
	color: #fff;
	font-size: 20px;
	width: 100%;
	height: 100%;
	left: auto;
	top: auto;
	margin: 0;
	padding: 0;
}

.pbhs-slider-default .pbhs-slider-thumbs-arrow-icon { margin-top: 100%; }
.pbhs-slider-default .pbhs-slider-arrow-right .pbhs-slider-arrow-icon, .pbhs-slider-default .pbhs-slider-arrow-left .pbhs-slider-arrow-icon {
	font-size: 28px;
	height: 43px;
	top: 50%;
	margin-top: -12px;
}

.pbhs-slider-default .pbhs-slider-fullscreen-icon:before { content: "\f065"; }                       /* Full screen icon */
.pbhs-slider-default.pbhs-slider-fullscreen .pbhs-slider-fullscreen-icon:before {content: "\f066"; }           /* Minimize screen icon */
.pbhs-slider-default .pbhs-slider-thumbs-arrow-right .pbhs-slider-thumbs-arrow-icon:before { content: "\f0da"; }  /* Thumbnail icon right */
.pbhs-slider-default .pbhs-slider-thumbs-arrow-left .pbhs-slider-thumbs-arrow-icon:before { content: "\f0d9"; }   /* Thumbnail icon left */
.pbhs-slider-default .pbhs-slider-arrow-right .pbhs-slider-arrow-icon:before { content: "\f105"; }              /* Next arrow icon */
.pbhs-slider-default .pbhs-slider-arrow-left .pbhs-slider-arrow-icon:before { content: "\f104"; }               /* Previous arrow icon */

.pbhs-slider-default .pbhs-slider-thumb.pbhs-slider-nav-selected { background: #02874A; } /** Background color for active thumbnail **/


/* --- Smile Gallery --- */
#smile_gallery_container { position: relative; height: 100%; margin: 0 50px; }
#smile_gallery_container .prevCase, #smile_gallery_container .nextCase {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -50px;
	width: 40px;
	background:url(_media/backgrounds/prev-next-arrows.png) left center no-repeat;
	cursor: pointer;
}
#smile_gallery_container .nextCase { left: auto; right: -50px; background-position: right center; }
#smile_gallery_container .prevCase:hover, #smile_gallery_container .nextCase:hover { opacity: .8; filter: alpha(opacity=80)}
#smile_gallery { position: relative; height: 300px; margin: 0; }
#smile_gallery > * { list-style: none; height: 100%; width: 100%; margin: 0; }
#smile_gallery > li { padding: 0; background: none; }
#smile_gallery .before, #smile_gallery .after {
	position: absolute;
	top: 0;
	width: 45%;
	padding: 10px;
	text-align: center;
	font-size: 1.3em;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
#smile_gallery .before { z-index: 50; left: 0; }
#smile_gallery .after { z-index: 49; right: 0; }
#smile_gallery .before img, #smile_gallery .after img {
	max-width: 100%;
	margin-top: 10px;
	-moz-box-shadow: 2px 2px 4px #01002b;
	-webkit-box-shadow: 2px 2px 4px #01002b;
	box-shadow: 2px 2px 4px #01002b;
	behavior: url(/PIE.htc);
}

@media (max-width: 767px) {
    #smile_gallery_container .nextCase,
    #smile_gallery_container .prevCase {
        display: none;
    }
    #smile_gallery_container {
        margin: 0;
    }
    #smile_gallery .before, #smile_gallery .after {
        padding: 0;
    }
}

/*------------- wp elements ----------------- */
.search-results form {
	border-bottom: 1px solid #DDD;
	padding: 0 0 8px;
}

.search-results div.page, .search-results div.post {
	padding: 0 10px;
	margin: 6px 0;
	border-bottom: 1px solid #DDD;
}

.next-posts { float:left; }

.prev-posts { float:right; }

.navigation {
	overflow: auto;
	margin: 0 0 .5em;
}

.metadata {
	border-top: 1px solid #CCC;
	border-bottom: 3px solid #CCC;
	padding: 10px 0;
	margin: 1em 0;
	clear: both;
}

.tags { font-weight: bold; }

.postmetadata {
	border-left: 2px solid #666;
	padding-left: 6px;
	margin: 0;
}

#commentform > div { margin:5px 0; }

#commentform label { font-weight:bold; }

#commentform textarea#comment { width:100%; }

.commentlist li {
	background: #EEE;
	list-style: none;
	border:1px solid #ccc;
	border-left:4px solid #ccc;
	box-shadow: 5px 2px 10px rgba(0, 0, 0, 0.07);
	behavior: url(/PIE.htc);
	padding: 10px;
}

.commentlist li.even { background-color:#F7F7F7; }

.commentlist img.avatar {
	float:left;
	margin-right:10px;
}

.commentlist .reply { text-align:right; }

.commentlist ul.children { margin-top:10px; }

/* --- Jot Form Styles --- */
.form-all {
	font: 13px/1.5 Arial, Helvetica, sans-serif;
	text-align: left;
	color:#333;
	padding: 0;
}

.form-all li, .form-label-top, .form-subHeader, .form-header-group {
	margin: 0;
	padding: 0;
}

.form-subHeader, .form-header-group {
	background: none;
	border: none;
	text-align: justify;
	font-style: normal;
}

.form-label-top { font-weight: bold; }

.form-all li {
	background: none;
	list-style: none;
	margin: 0 4px .5em;
}

.form-all input, .form-all textarea {
	padding: 4px;
	width: 180px;
}

.form-all input[type=checkbox], .form-all .form-multiple-column .form-checkbox-item { width: auto; }

.form-all .form-checkbox-item label { margin: 0 8px 0 4px; }

/* --- Gravity Form Styles --- */
/*.gform_wrapper, .gform_wrapper label, .gform_wrapper input, .gform_wrapper button, .gform_wrapper select, .gform_wrapper textarea { font-size: 13px; }*/
.gform_wrapper { margin: 0 auto; }
.gform_wrapper input[type=text] {  }
.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li { margin-bottom: 4px !important; }
.gform_wrapper textarea.medium { height: 100px !important; }

.multiple-column .gfield_checkbox li, .multiple-column .gfield_radio li { width: auto; float: left; margin-right: 8px !important; }
.multiple-column .gfield_checkbox li:first-child, .multiple-column .gfield_radio li:first-child { margin-left: 0 !important; }

#recaptcha_table, #recaptcha_table tbody { display: block; }
.recaptcha_theme_clean tr { display: block; }
.recaptcha_theme_clean tr td { display: block; width: auto !important; }
.recaptcha_theme_clean tr:first-child td { float: left; }
.gfield .recaptchatable .recaptcha_image_cell { width: 96% !important; padding-left: 2% !important; padding-right: 2% !important; }
#recaptcha_image, #recaptcha_image img { width: 100% !important; height: auto !important; }
.recaptcha_input_area { padding-right: 7px !important; }
.recaptcha_input_area input { max-width: 100% !important; }

.gform_wrapper div.validation_error {
	color: #b03535;
}

.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	padding-bottom: 16px !important;
	border: 1px solid #C89797;
}

.gfield_error .gfield_description.validation_message {
	box-shadow: none;
}

.gform_wrapper .gfield_description {
	width: 99% !important;
}

#content-side .gfield_html a,
#content-side .gfield_html a:hover {
	display: inline;
	padding: 0;
	margin: 0;
	border: none !important;
	background: transparent;
}

.mobile-show { display: none !important; }

.scrollup { text-decoration: none; }
.ie7 .scrollup { visibility: hidden; }

@media(min-width:1200px){
	.container { width: 1000px; }
}

@media(max-width:1200px){
	.container { width: 870px; }
}

@media (max-width: 1040px) {
	#banner { width: 100%; }
	.scrollup { display: none !important; }
}

@media (max-width: 915px) {
	#bucket-topbar,
	#bucket-wrapper,
	#content-header { padding-left: 15px; padding-right: 15px; }
}

@media (min-width: 768px) {
	#content-main {
		min-height: 500px;
	}
	#footer .row-fluid .span7 { float: right;}
	.mobile-show { display: none !important; }
}

@media (max-width: 767px) {
	.stretch {
		padding-left: 0;
		padding-right: 0;
	}
	#header-wrapper #header { padding-top: 0px; }
	#client-logo {
		margin: 0 0 20px 0 !important;
		width: 100%;
		text-align: center;
	}
    #client-logo img {
        max-width: 100%;
        height: auto !important;
    }
	#practice-wrapper {
		padding: 0 15px 15px 15px !important;
		width: inherit;
		height: auto !important;
		text-align: center;
	}
	#practice {
		display: inline-block;
		margin-top: 0;
		line-height: 1em;
	}
	#specialty { text-align: center !important; }
	#phone {
		display: inline-block;
		width: 100%;
		position: relative;
		margin: 0 auto 20px auto;
		text-align: center;
	}
	#phone .phone-icon {
		display: block;
		margin: 0 auto 10px auto;
	}
	#location {
		font-size: 1.5em;
		margin: 10px 0;
	}
	#banner { background: url('_media/backgrounds/bg-header-shadow.png') top center no-repeat; }
	#banner #banner-logo { display: none; }
	#banner #banner-content {
		margin-left: 0px !important;
		padding-right: 15px;
		padding-left: 0;
	}
	#banner #default-banner-description {
		top: 25% !important;
		padding-top: 0px !important;
	}
	.banner-text-bg #banner #default-banner-description {
		padding: 10px 20px 0 20px !important;
	}
	.pbhs-slider-a-block { font-size: 1.2em; }
	#bucket-topbar,
	#bucket-wrapper,
	#content-header { padding-left: 0; padding-right: 0; }
	#bucket-topbar {
		padding-top: 10px;
		padding-bottom: 20px;
	}
	#bucket-topbar .span3 { margin-bottom: 5px; }
	#bucket-topbar .span6 #social-icons {
		padding-top: 20px;
		text-align: center !important;
	}
	#bucket-wrapper .bucket {
		width: 46%;
		min-height: 390px;
		float: left;
		margin-left: 3%;
	}
	#content-wrapper {
		padding-left: 25px;
		padding-right: 25px;
	}
	#interior #content-header { margin-top: 0; }
	#interior #content-main {
		padding-left: 15px;
		float: none;
	}
	#content-side {
		width: 99.7%;
		background: #87a3b9;
		text-align: center;
	}
	#content-side * { padding-left: 0px !important; }
	#content-side li a:hover {
		background: #fff;
	}
	#content-side li.current_page_item a {
		background: #fff;
	}
	#content-side h1,
	#content-side h2,
	#content-side h3,
	#content-side li,
	#content-side p {
		padding-left: 0;
		text-align: center;
	}
	#content-side nav {
		background: none;
	}
	#content-side #sidebar-featured {
		background: rgba(0,0,0, 0.2);
	}
	#content-side #sidebar-contact {
		background: none;
	}
	#content-side #sidebar-contact .img-fit {
		padding-bottom: 6px;
		background: none;
	}
	#content-main .content-image-wrap { display: block; float: none !important; margin: 0 auto !important; }
	#content-main img { margin: 0 auto !important; }
	#content-main .image-shadow { position: static; margin: 0 auto !important; bottom: inherit; }
	#content-main .flash-replaced {
		float: none;
		text-align: center;
	}
	#footer-wrapper { padding: 0 20px 10px; }
	#footer .footer-info { text-align: center !important; }
	#footer .row-fluid .span5 { text-align: center;}
	#dc-social-4 { display: none; }
	.modal.fade.in {
		bottom: 20px;
		overflow: hidden;
		top: 20px;
	}
	.modal .modal-body { position: absolute; top: 49px; bottom: 0; left:0; right: 0; }
	.modal .highlight { margin-bottom: 12px; width: 85%; margin: 0 0 12px; }
	.mobile-hide { display: none !important; }
}

@media (max-width: 595px) {
	#banner #banner-content p {
		font-size: 0.875em;
		line-height: 1.2em;
	}
}

@media (max-width: 479px) {
	#practice, #location, #phone { text-align: center; clear: both; float: none; }
	#banner #default-banner-description {
		position: relative;
		padding: 15px !important;
		width: 100%;
		background: #fff;
	}
	.banner-text-bg #banner #default-banner-description {
		padding: 15px !important;
		background: #fff;
	}
	#bucket-topbar .span6 #social-icons img {
		width: 35px;
		height: 35px;
	}
	#bucket-wrapper .bucket {
		width: 100%;
		min-height: inherit;
		float: none;
		margin-left: 0;
	}
	#content-side { width: 99.5%; }
	.pbhs-slider-a-block { font-size: 1em; bottom: 5%; }
	.module p { padding: 0 30px; }
}

.gform_wrapper.gravity-theme .multiple-column .gchoice,
.gform_legacy_markup_wrapper .multiple-column .gchoice {
    width: auto; float: left; margin-right: 8px !important;
}
.gform_legacy_markup_wrapper .multiple-column .gfield_checkbox li:first-child,
.gform_wrapper.gravity-theme .multiple-column .gfield_checkbox li:first-child {
    margin-left: 0 !important;
}

