/*
Theme Name: Template #1238 Responsive
Theme URI: http://www.pbhs.com
Author: PBHS
Tags:  theme-photos
*/

body {
	-webkit-font-smoothing: antialiased;

	 line-height: 150%;
	 background: #fff;
}

/*------------- Fonts --------------*/

body {
	font-family: Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
#header-wrapper,
.pbhs-slider-a-block,
#content-side nav,
#footer-links {
	font-family: Georgia, "Times New Roman", Times, serif;
}

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

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 1.231em;
	margin-top: 0;
}

#content-main h1 {
	border-bottom: 1px solid #417BA9;
    font-size: 225%;
    font-weight: normal;
    margin-top: 0;
	margin-bottom: .75em;
    padding-top: 0;
}

#content-main h2 {
	font-size: 130%;
	text-transform: uppercase;
}

#content-main h3 {
	font-size: 125%;
}

#content-main h4 {
	font-size: 120%;
}

#content-main h5 {
	font-size: 110%;
}

#content-main h6 {
	font-size: 100%;
}

a { text-decoration: underline; }

a:hover { text-decoration: none; }

p {
	text-align: justify;
}

#content-main ul { }

#content-main li { line-height: 150%; }

blockquote { clear: both; }
blockquote p { font-size: 1.3em; font-weight: 600; font-style: italic; text-align: left; }
blockquote.pull-left, blockquote.pull-right { width: 45%; }
blockquote.pull-left { margin: 0 1.5em 1.5em 0; }
blockquote.pull-right { margin: 0 0 1.5em 1.5em; }
blockquote.pull-left p { text-align: left; }
blockquote.pull-right p { text-align: right; }

hr {
	border: none;
	border-top-width: 1px;
	border-top-style: solid;
}


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

.container {
	width: auto;
	max-width: 978px;
}

/*------------- Colors ---------------*/

body {
	color: #555555;
}

h1, h2, h3, h4, h5, h6, a, a:hover,
blockquote p,
#banner, .pbhs-slider-a-block, .pbhs-slider-a-block p {
	color: #306596;
}

h2 {
	color: #EAA500;
}

hr,
blockquote, blockquote.pull-left, blockquote.pull-right,
.image, .module, .highlight {
	border-color: #ccc;
}

#header-wrapper, .bucket h2,
#content-side h1, #content-side h2, #content-side h3, #content-side h4, #content-side h5, #content-side h6,
#content-side p, #content-side ul, #content-side li, #content-side a, #content-side a:hover,
#content-side .well, #content-side .well h2, #content-side .well h3, #content-side .well h4, #content-side .well h5, #content-side .well h6,
#content-main .module h2, #content-main .highlight h2,
.well, .well * {
	color: #fff;
}

footer, footer p, footer #footer-seo a {
	color: #b2d6f8;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6, footer a, footer a:hover {
	color: #f8f8f8;
}

#header-wrapper{
	background: #1a3d5c; /* Old browsers */
	background: -moz-linear-gradient(top,  #1a3d5c 0%, #315d80 75%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1a3d5c), color-stop(75%,#315d80)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #1a3d5c 0%,#315d80 75%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #1a3d5c 0%,#315d80 75%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #1a3d5c 0%,#315d80 75%); /* IE10+ */
	background: linear-gradient(to bottom,  #1a3d5c 0%,#315d80 75%); /* W3C */
}

#middle-wrapper:after, #mobile-menu {
	border-top-color: #b0c5d8;
	background: #cadbeb; /* Old browsers */
	background: -moz-linear-gradient(top,  #cadbeb 0%, #ebeef3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cadbeb), color-stop(100%,#ebeef3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #cadbeb 0%,#ebeef3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #cadbeb 0%,#ebeef3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #cadbeb 0%,#ebeef3 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #cadbeb 0%,#ebeef3 100%); /* W3C */
}
#bucket-wrapper{
    padding-top:30px;
    top:10px;
    position: relative;
    padding-bottom: 60px;
    border-top: 1px rgba(255,255,255,.4) solid;
    border-bottom: 1px #b0c5d8 solid;
    background: #cadbeb;
    background: -moz-linear-gradient(top, #ebeef3 0%, #cadbeb 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebeef3), color-stop(100%,#cadbeb));
    background: -webkit-linear-gradient(top, #ebeef3 0%,#cadbeb 100%);
    background: -o-linear-gradient(top, #ebeef3 0%,#cadbeb 100%);
    background: -ms-linear-gradient(top, #ebeef3 0%,#cadbeb 100%);
    background: linear-gradient(to bottom, #ebeef3 0%,#cadbeb 100%);

}

.bucket h2 {

    padding: 10px 0px;
    font-size: 16px;
    text-align:center;
    position: relative;
    margin:0px;
    color:#306596;
    font-weight: 600;

}
.bucket a.btn{
}

.bucket p {
    width: 80%;

    color:#306596;
    margin: 10px auto;
    font-size:15px;
}
.bucket:hover p {

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

    display: block;
    position: relative;
    border: 6px #a2bd12 solid;
    overflow: hidden;
    text-decoration: none;

    margin-bottom: 20px;
    border-radius: 600px;
    margin: 0 auto;
    max-width: 80%;

}
.image-fill{
    width: 100%;
    max-width: 100%;
    height: auto;
}
.fix-bottom{
    bottom:0px;
    position: absolute;
}
.btn {
    border-color: #315d80;
    background: #315d80;
    color:#fff;
    text-shadow: none;
}
.btn:hover, .btn.active, .btn:active {
    background: #315d80;
    color:#fff;
}

#content-wrapper {
	background: #F6F6F6;
}

#content-main .module h2, #content-main .highlight h2,
#content-header:before,
.well {
	background: #407ba9;
}

#content-side {

}

#content-side:before {
	background: #a2bd12;
}

#footer-wrapper {
	background: #092847; /* Old browsers */
	background: -moz-linear-gradient(top,  #092847 0%, #325f83 70%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#092847), color-stop(70%,#325f83)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #092847 0%,#325f83 70%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #092847 0%,#325f83 70%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #092847 0%,#325f83 70%); /* IE10+ */
	background: linear-gradient(to bottom,  #092847 0%,#325f83 70%); /* W3C */
}

/*------------- Backgrounds ----------------*/

#nav-wrapper {
    background: #cedbe4; /* Old browsers */
    background: -moz-linear-gradient(top,  #cedbe4 0%, #fefffe 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cedbe4), color-stop(100%,#fefffe)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #cedbe4 0%,#fefffe 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #cedbe4 0%,#fefffe 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #cedbe4 0%,#fefffe 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #cedbe4 0%,#fefffe 100%); /* W3C */
}

body { background: url(_media/backgrounds/bg-middle-wrapper.png) repeat-x center top; }
.pbhs-slider-a-block, .pbhs-slider-a-block:before, .pbhs-slider-a-block:after { background: url(_media/backgrounds/bg-pbhs-slider-block.png) repeat-y right top; }

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

#header-wrapper {
}

#header { position: relative; }
#header:before {
	background: url(_media/backgrounds/header-highlight-right.png) no-repeat right bottom;
	content: "";
	position: absolute;
	display: block;
	width: 200px;
	height: 75px;
	right: -30px;
	bottom: 0;
}
#header .row-fluid { position: relative; z-index: 1; }
#header .span4 { font-size: 1.3em; line-height: 115%; margin-top: 15px; }
#header .span4, #header .span4 * { text-align: right; }
#header > .row-fluid > .span8:before {
	background: url(_media/backgrounds/header-lightlight-left.png) no-repeat left top;
	content: "";
	position: absolute;
	display: block;
	width: 400px;
	height: 150px;
	left: -60px;
	top: 0;
}

#client-logo {
	margin: 0 10px 10px 0;
	position: relative;
}

#client-logo img {
	max-width: 100%;
	height: auto;
}

#practice {
	font-size: 2.5em;
	line-height: 1em;
	margin-top: 20px;
	margin-bottom: 20px;
}

#location, #phone {
	text-align: right;
}

#phone {
}

#nav-wrapper {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #e1e1e1;
	box-shadow: inset -1px 0 0 rgba(0,0,0,.2);
	position: relative;
	z-index: 1;
}
#nav-wrapper .container{
    max-width: 980px;
}
#banner-wrapper {
	border: 1px solid #fff;
	border-top: none;

}
body#home.full-width-layout h1{
    width:100%;
    margin-left: 0px;
    padding-left: 0px
}
body#home.full-width-layout #content-main{
    padding-right: 0px;
}

body.full-width-layout #banner-wrapper {
    border:none;
    padding:0px;
}
body.full-width-layout #banner-wrapper .container{
    max-width: 100%;
}

body.full-width-layout #content-wrapper {
    border: none;
    background: transparent;
}

body.full-width-layout #middle-wrapper > .container{
    top: 0px;
    border-top: none;
    }
body#home.full-width-layout #middle-wrapper{
    background: url(_media/backgrounds/bg-middle-wrapper.png) repeat-x center top;
}
body.full-width-layout #middle-wrapper{
    background: url(_media/backgrounds/bg-middle-wrapper.png) repeat-x center -127px;
}
body.full-width-layout #middle-wrapper:before{
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 10px;
    border-top: 1px solid #fff;
    display: block;
    background: #407ba9;
}
body.full-width-layout #content-side{
    padding-bottom: 20px;
    border-bottom: 1px solid #fff;
}
body.full-width-layout #middle-wrapper{
    padding-bottom: 25px;
}
body.full-width-layout #content-header:before{
 display:none;
}
#banner {
	position: relative;
	width: 100%;
	margin: 0 auto;
	background: url(_media/backgrounds/loader.gif) no-repeat center center #fff;  /* displays a small loading icon behind slider that is displayed when no slides are visible. */
}

#pbhsSlider {
	width: 100%;
	height: 311px;
	visibility: hidden;
}

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

.pbhs-slider-a-block {
	font-style: italic;
    bottom: 15%;
    font-size: 200%;
    left: 0;
    line-height: 125%;
    padding: 1em 1em;
    top: auto;
}
body#home.full-width-layout #pbhsSlider{
    max-height: 500px !important;
}
body#interior.full-width-layout #pbhsSlider{
    max-height: 400px !important;
}
body.full-width-layout .pbhs-slider-a-block{
    width:980px;
    left:50%;
    margin-left: -480px;
    background-image: none;
    border: none;
    top: 30%;
}
body.full-width-layout .pbhs-slider-a-block:before, body.full-width-layout .pbhs-slider-a-block:after {
    display: none;
}
.pbhs-slider-a-block:before, .pbhs-slider-a-block:after {
	content: "";
	position: absolute;
	display: block;
	left: 0;
	width: 100%;
	height: 1px;
}

.pbhs-slider-a-block:before {
	top: -2px;
}
.pbhs-slider-a-block:after {
	bottom: -2px;
}

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

#middle-wrapper {
	border-top: 1px solid #fff;
	padding-bottom: 50px;
	position: relative;
	z-index: 0;
}

#middle-wrapper:after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 25px;
	border-top-width: 1px;
	border-top-style: solid;
}

#middle-wrapper > .container {
	box-shadow: 0 0 3px rgba(0,0,0,.3);
	position: relative;
	top: -1px;
	border-top: 1px solid #fff;
}
.full-width-layout #middle-wrapper > .container {
    box-shadow: none;
}
#content-wrapper {
	border: 1px solid #fff;
	border-top: none;
    background: #f6f6f6;
}

#content-footer { }

#content-header {

	position: relative;
}

#content-header:before, #content-side:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 10px;
	border-bottom: 1px solid #fff;
	display: block;
}

.page-template-form-php #content-main {  }
body.page-template-one-column-php #content-main { padding-left: 2.5641%; }

#content-main {
	position: relative;
    float: right;
	padding-top: 1.75em;
	padding-right: 2.5641%;
	padding-bottom: 1.5em;
    margin-left:0px;
}
#content-main.contact-form-active{
    padding-right:1.5%;
}
#content-main.contact-form-active h1{

    margin-left: -7%;
    padding-left: 7%;

}
#content-side {
    background: #82a60e;
}
#content-side {
    float: left;
	margin-left: 0;
	position: relative;
}

#content-side:before { border-right: 1px solid #fff; }

#content-side .sidebar {
	padding-left: 15px;
}

#content-side h1, #content-side h2, #content-side h3 {
	font-size: 140%;
	padding: 2em 0 0 0;
	border-bottom: 1px solid #fff;
}

#content-side h1 a, #content-side h2 a, #content-side h3 a {
	color: inherit;
	text-decoration: none;
}

#content-side, #content-side p { }

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

#content-side li {
	list-style: disc outide;
	text-align: left;
	margin: 0 0 0 1.5em;
}

#content-side li a {
	font-size: 1.1em;
	text-decoration: none;
	padding: 4px 1em 4px 0;
	display: block;
}

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

#content-side li a:hover {  }

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

#content-side li li a {
	font-size: 100%;
	background-color: transparent;
	padding: 2px 1em 2px 0;
}

#content-side nav a:hover { text-decoration: underline; }

#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 {
}
#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 .well { font-size: .9em; padding: 1em 1em 1em 0; line-height: 125%; background: none; border: none; box-shadow: none; }
#content-side .well h2, #content-side .well h3, #content-side .well h4 { font-size: 125%; }

#content-side #contact-form {
	padding-right: 15px;
}

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

#footer-wrapper{
	padding: 2em 0;
}
footer {
	font-size: 95%;
	font-weight: bold;
	line-height: 140%;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
	font-size: 115%;
	text-transform: uppercase;
	margin-bottom: 1em;
}

footer p {
	margin: 0 0 1em;
	text-align:inherit;
}

footer a {
	text-decoration: none;
}

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

#footer-column-wrapper { margin-bottom: 1em; }

#footer-links {
	text-align: center;
	font-weight: normal;
}

#footer-links li {
	border-left: 1px solid #f8f8f8;
	line-height: 1;
}
#footer-links li:first-child { border: none; }

#footer-seo {
	text-align: center;
}

footer .lead {
    font-size: 125%;
    font-weight: bold;
    line-height: inherit;
    margin-bottom: 0;
}

.footer-map { margin-bottom: 1em; }

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

.gform_button {
	-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-color: #F5F5F5;
    background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
    border-radius: 4px 4px 4px 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333;
    cursor: pointer;
    display: inline-block;
    font-size: 100%;
    line-height: 145%;
    margin-bottom: 0;
	margin-top: 10px;
    padding: 4px 14px;
    text-align: center;
	text-decoration: none !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
}
.gform_button:hover, .gform_button:active, .gform_button.active, .gform_button.disabled, .gform_button[disabled] {
    background: #e6e6e6;
    color: #333333;
}

.btn {
	margin-bottom: 5px;
	text-decoration: none;
}


/*------------- classes ----------------- */

.well {
	border: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	font-size: 125%;
	line-height: 150%;
	padding: 1em 1.5em;
}

.btn { }

.well.well-full {
	width: 100%;
	margin-left: -20px;
	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);
}

.image, .module, .highlight {
	border-style: solid;
	border-width: 1px;
	background: #fff;
	margin-bottom: 5px;
	padding: 4px;
}

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

.module { width: 50%; max-width: 500px; }

.module.aligncenter { width: 80%; margin: 10px auto; }

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

#content .module p.text_center, #content .highlight p.text_center{ text-align:center; }
.module p { font-size: 95%; line-height: 130%; padding-left: 1em; padding-right: 1em; }

.alignright {
	float: right;
	margin: 0 0 1.5em 1.5em;
}

.alignleft {
	float: left;
	margin: 0 1.5em 1.5em 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 #ccc;
}

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

#mapContainer { height: 400px; }
.modal { outline: none; }
.mobile-phone #mapContainer { margin-bottom: 65px; }
.modal #mapContainer { height: 240px; }
.modal .highlight { margin-bottom: 12px; width: 95%;}
.modal-map .modal-body { max-height: 410px; }
.modal p { margin-bottom: 0 !important; }
.modal-link img { border: 1px solid transparent; }
.modal-link img:hover { border-color: #fff; }


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

.sb-gallery-item img {
    border: 1px solid #FFFFFF;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}

.popover-title { color: #333; }

.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: #1D4060; } /** 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;
}

/*------------- 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:right; }

.prev-posts { float:left; }

.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:90%; }

.commentlist li {
	background: #EEE;
	list-style: none;
	border:1px solid #ccc;
	border-left:4px solid #ccc;
	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 --- */

select, 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 {
	color: inherit;
}

.gform_wrapper ::-webkit-input-placeholder {
   color: #000;
}

.gform_wrapper :-moz-placeholder { /* Firefox 18- */
   color: #000;
}

.gform_wrapper ::-moz-placeholder {  /* Firefox 19+ */
   color: #000;
}

.gform_wrapper :-ms-input-placeholder {
   color: #000;
}
/*.gform_wrapper, .gform_wrapper label, .gform_wrapper input, .gform_wrapper button, .gform_wrapper select, .gform_wrapper textarea { font-size: 13px; }*/
.gform_wrapper textarea, .gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"] {
	font-size: 14px;
	border: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.gform_wrapper { margin: 0 auto; }
.gform_wrapper .gform_footer { margin: 0; padding: 0; text-align: right; clear: none; }
.gform_wrapper input[type=text] { margin-bottom: 0; }
.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li { margin-bottom: 4px !important; }
.gform_wrapper textarea.medium { height: 100px !important; }

#content-side .gform_wrapper li.gfield, .gform_wrapper li.gfield { margin-bottom: .5em; }

.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; }

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

#content-side .gform_wrapper textarea { color: #666; margin-bottom: 0; }

#content-side .gform_wrapper .gform_heading, #content-side .gform_wrapper .gform_heading h3 {
	margin: 0;
	padding: 0;
}

#content-side .gform_wrapper .gform_heading h3 {
	margin-bottom: .5em;
	border: none;
}

#TB_window {
    z-index: 1000;
}
#TB_overlay {
    z-index: 999;
}

.gform_wrapper .gform_button { margin: 0; }

/* form style from old theme */


#content_side_form{

    min-height: 100%;
    margin:20px 10px 20px 10px;
    position: relative;
    background:#fff;
    float: right;
    border-radius: 20px;
    -webkit-box-shadow: 1px 1px 2px 1px rgba(0,0,0,.2);
    box-shadow: 1px 1px 2px 1px rgba(0,0,0,.2);

}
#content_side_form:after
{
    content: '';
    position: absolute;
    background-image: url(_media/backgrounds/contact-form-bottom.png);
    display: block;
    width: 0;
    z-index: 1;
    right: 20px;
    bottom: -30px;
    width:79px;
    height: 30px;
}
.contact-form-close{
    display: none;
}
#form {
    padding: 12px;
    margin: 0 auto;
}
#form input, #form textarea {

    border: 1px solid #dbdbda;

}/* --- Gravity Form Styles --- */
.gform_wrapper h3.gform_title, .gform_wrapper h2 {
    display:block;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.2em !important;
    font-weight: normal !important;
    text-align: center;
    padding: 5px 0;
    text-transform: uppercase;
}

/* end form style form old theme */



.mobile-show { display: none; }

@media (max-width: 1040px) {
	#banner { width: 100%; }
	.scrollup { display: none !important; }
    #content-main.contact-form-active{
        margin-left:0px;
    }
}

@media (min-width: 768px) {
	h1, hr { width: 103.6%; }
	h1 { margin-left: -3.5%; padding-left: 3.5%; }
	.mobile-show { display: none !important; }
    #content-main,#content-side { min-height: 500px; }
}

@media (max-width: 767px) {
	#header-wrapper, #location, #header .span4, .gform_wrapper .gform_footer { text-align: center; }
	#header:before, #header > .row-fluid > .span8:before { content: normal; background: none; }
	#client-logo { margin: 10px auto !important; }
	#content-main, body.page-template-one-column-php #content-main { padding-left: .75em; padding-right: .75em; }
	#footer-wrapper { text-align: center; padding-left: 1em; padding-right: 1em; }
	#footer-column-wrapper .span3 { margin-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
	#footer-links li, #footer-links li:first-child { display: block; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); text-align: left; padding: .75em 0; }
	#footer-links a { display: block; }
	.pbhs-slider-a-block { font-size: 1.2em; }
	.pull-left, .pull-right { float: none; text-align: center; }
	.well.well-full { width: auto; margin-left: 0; }
	.module, .module.alignleft, .module.alignright { float: none; margin: 0 auto 1.5em !important; width: 96%; }
	.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
		font-size: 125%;
		padding: 0.75em;
		width: 50%;
	}
    h1, hr, #content-main.contact-form-active h1 { width: 100%; }
    h1, #content-main.contact-form-active h1 { margin-left: 0px; padding-left: 0px; }
    #middle-wrapper{
        top:-1px;
        border:none;
    }

    #content_side_form {
        margin:10px 0px;
        width: 100%;
        background: transparent;
        padding: 10px;
        border-radius: 0px;
        -webkit-box-shadow: none;
        box-shadow: none;
        display:none;
    }
    #content_side_form:after {
        display:none;
    }
    .contact-form-close{
        display:block;
        text-decoration: none;
        font-size: 18px;
        float:right;
    }
    body.full-width-layout .pbhs-slider-a-block {
        width: 100%;
        left: 5%;
        top: 30%;
    }
    body.full-width-layout #banner-wrapper{
        margin-left: -20px;
        margin-right: -20px;
    }
    body.full-width-layout #content-side{
        margin-bottom: 20px;
    }
	#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; }
	.mobile-show { display: inline-block; }
	.well { font-size: 110%; }
	.flash-replaced embed, .flash-replaced img { max-width: 100% !important; height: auto !important; z-index: 0; }
	.alignleft, .alignright, .aligncenter { float: none; margin: 0 0 1em; }
	.flash-replaced, .flash-replaced p { text-align: center; }
	.gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"] { padding-top: 10px; padding-bottom: 10px; }
}

@media (max-width: 479px) {
	#practice, #location, #phone { text-align: center; clear: both; float: none; }
	.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] { width: 80%; }
	.pbhs-slider-a-block { display: none !important; font-size: 1em; bottom: 5%; }
	.module, .module.alignleft, .module.alignright { width: 94%; }
	blockquote.pull-left, blockquote.pull-right { width: auto; float: none; }
}

.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;
}

.gform_legacy_markup_wrapper .gfield_checkbox li label,
.gform_legacy_markup_wrapper .gfield_radio li label,
.gform_wrapper.gravity-theme .gfield_checkbox label,
.gform_wrapper.gravity-theme .gfield_radio label {
    font-size: 0.875em;
}

.gform_legacy_markup_wrapper .gfield,
.gform_wrapper.gravity-theme .gfield,
.gform_legacy_markup_wrapper .gfield_label,
.gform_wrapper.gravity-theme .gfield_label,
.gform_legacy_markup_wrapper .ginput_container,
.gform_wrapper.gravity-theme .ginput_container {
    text-align: justify;
}

.gform_legacy_markup_wrapper .gfield_error .gfield_description.validation_message,
.gform_wrapper.gravity-theme .gfield_error .gfield_description.validation_message {
    text-align: left;
    padding: 8px 4px;
}
