/*
Theme Name: endodonticscapecod
Theme URI: http://www.pbhs.com
Author: PBHS
*/

body {
	-webkit-font-smoothing: antialiased;

	 font-size: 120%;
	 line-height: 140%;
}

/*body#interior {
	width: auto !important;
	height: auto !important;
	position: relative !important;
}*/

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

body {
	font-family: "garamond-premier-pro-display",Baskerville, "Times New Roman", serif;
}

.ie7 body, .ie8 body {
	font-family: "Times New Roman", Times, serif;
}

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

h1, h2, h3, h4, h5, h6 {
	color: #b99b69;
	text-align:left;
	font-weight: 500;
	margin: 0;
	line-height: 125%;
}

h1 {
	font-size: 2em;
	margin-bottom: .25em;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1.25em;
}

h4 {
	font-size: 1.2em;
}

h5 {
	font-size: 1.1em;
}

h6 {
	font-size: 1em;
}

a { color: #006993; text-decoration: underline; }

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

p {
	line-height: 135%;
	text-align: justify;
	margin-bottom: 1.5em;
	font-size: 1.125em;
}
#home p { font-size: 1.125em; }
ul { margin-bottom: 1.5em; }

#content-main ul { font-size: 1.125em; }

li { line-height: 140%; list-style-image: url(_media/backgrounds/li.png); }

blockquote { margin: 1em 0; padding: .75em; background: #f0e7d5; font-size: 1.2em; text-align: center; border: none; clear: both; }
blockquote p { text-align: center; font-size: 100%; }
blockquote.pull-left, blockquote.pull-right { width: 45%; border: none; }
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: 1px solid #b99b69; }

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

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

.container {
	max-width: 1000px;
}

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

body { background: url(_media/backgrounds/bg-body.png) repeat-x center top #d7e4e9 !important; }
header { background: url(_media/backgrounds/bg-header.gif) no-repeat center top; }
.sub-footer { background: url(_media/backgrounds/bg-footer.gif) repeat-x center center #006993; }

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

#wrapper {
	border-top: 7px solid #c8b18b;
	margin-top: 1em;
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

header { position: relative; z-index: 1; border-bottom: 1px solid #c8b18b; }
#banner { position: relative; z-index: 0; }

#client-logo {
	padding-top: .4em;
	position: relative;
	min-height: 90px;
}

.logo {
	position: absolute;
	left: 0;
	top: 0;
}

#client-logo .logo-wrapper {
	position: absolute !important;
	float: left;
	left: 480px;
	top: 210px;
	margin-left: -104px;
	z-index: 999;
}

#client-logo #logo-endo, #client-logo #logo-capecod {
	position: absolute;
	width: auto;
	left: 185px;
	visibility: hidden;
}

#client-logo #logo-capecod {
	top: 47px;
}

.ie7 #client-logo #logo-wrapper, .ie7 #client-logo #logo-endo, .ie7 #client-logo #logo-capecod,
.ie8 #client-logo #logo-wrapper, .ie8 #client-logo #logo-endo, .ie8 #client-logo #logo-capecod,
#interior_logo-ea, #interior_logo-wave1, #interior_logo-wave2, #interior_logo-wave3,
#client-logo #logo-ie {
	display: none !important;
}

.ie7 #client-logo #logo-ie, .ie8 #client-logo #logo-ie {
	display: inline-block !important;
}

#doctors {
	line-height: 120%;
	font-weight: 500;
}

#doctors a {
	color: #006993;
	text-decoration: none;
}

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

#banner {
	position: relative;
	width: 100%;
	margin: 0 auto;
	background: #F5F1E9;  /* displays a small loading icon behind slider that is displayed when no slides are visible. */
}

#pbhsSlider {
	width: 100%;
	height: 353px;
}

#pbhsSliderInt {
	width: 100%;
	height: 233px;
}

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

#banner.pbhsSlider .pbhs-slider-a-block {
	background: #025474;
	background: rgba(2,84,116, .6);
    bottom: 20%;
    font-size: 1.5em;
    left: 0;
    line-height: 1.3em;
    padding: 0.5em 1em;
    top: auto;
}

#banner .pbhsSlider blockquote {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	color: #222;
	width: 40%;
}

#banner .pbhsSlider blockquote .testimonial-author { font-weight: bold; }

#location-wrapper {
	border-top: 1px solid #c8b18b;
	border-bottom: 1px solid #c8b18b;
	background: #006993;
}

.location, .location a {
	color: #d4e6ed;
	text-align: center;
	position: relative;
}

.location {
	font-size: 1.05em;
	font-weight: bold;
	line-height: 100%;
	padding: .75em 0;
}

#interior .location { padding: .35em 0; }

.location1:before, .location2:before {
	content: "";
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 1px;
	height: 100%;
	background: #408fae;
}


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

#content-wrapper {
	background: #f5f1e9;
}

#content-main { position: relative; padding-bottom: 3em; }

#content-header { padding: 2em 0 3em 2em; }
.page-template-one-column-php #content-header { padding: 2em 2em 3em; }
.page-template-form-php #content-header { padding-left: 1em; }

#content-side { }

#content-side h1, #content-side h2, #content-side h3 {
	font-size: 1.3em;
	color: #b99b69;
	text-transform: lowercase;
	padding-bottom: .5em;
}

#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: none;
	text-align: left;
	margin: 0;
}

#content-side li a {
	color: #006993;
	font-size: 1.05em;
	font-weight: 500;
	line-height: 110%;
	text-decoration: none;
	text-transform: lowercase;
	border-bottom: solid #c8b18b 1px;
	padding: 5px 10px 5px 25px;
	display: block;
	position: relative;
}

#content-side li a:before {
	content: "";
	background: #c8b18b;
	width: 8px;
	height: 6px;
	display: inline-block;
	position: absolute;
	left: 8px;
	top: 14px;
}

#content-side li:first-child a { border-top: solid #c8b18b 1px; }

#content-side li a:hover { background: #e7d9c0; }

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

#content-side li li a {
	background-color: transparent;
	padding: 5px 10px 5px 35px;
}

#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;
}
#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 {
	margin-right: .5em;
	padding: .5em;
	font-size: 1em;
	line-height: 120%;
}

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

.sub-footer {
	color: #f5f1e9;
	font-size: 1.15em;
	font-weight: bold;
	padding: 1.5em 0 1em;
}

.sub-footer p {
	line-height: 110%;
	padding-top: .5em;
}

#footer-wrapper {
	padding: 2em 0;
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y5ZjZmMSIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmOWY2ZjEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(249,246,241,0) 0%, rgba(249,246,241,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,246,241,0)), color-stop(100%,rgba(249,246,241,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(249,246,241,0) 0%,rgba(249,246,241,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(249,246,241,0) 0%,rgba(249,246,241,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(249,246,241,0) 0%,rgba(249,246,241,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(249,246,241,0) 0%,rgba(249,246,241,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f9f6f1', endColorstr='#f9f6f1',GradientType=0 ); /* IE6-8 */
}

footer {
	color: #000;
}

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

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

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

#footer-links {
	text-transform: lowercase;
	font-weight: 500;
	font-size: 1.1em;
}

#footer-links ul { margin: 0; }

.footer-address, footer .seo {
	font-size: 0.9em;
    letter-spacing: 0.02em;
    line-height: 130%;
    margin: 1em 0;
}
.footer-address a, footer .seo a { color: #000; }


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

.btn, .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: #B99B69;
    background-image: -moz-linear-gradient(center top , #B99B69, #A38E5D);
    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: 16px;
    line-height: 120%;
    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;
}
.btn {
	font-weight: 500;
	font-size: 18px;
}
.btn:hover, .gform_button:hover, .gform_button:active, .gform_button.active, .gform_button.disabled, .gform_button[disabled] {
    background: #A38E5D;
    color: #333333;
}


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

.well {
	font-size: 1.25em;
	background: #f0e7d5;
	border: none!Important;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	box-shadow: none;
	padding: 1em;
}
.well p, .well ul, .well ol {
	margin-bottom: 0em!Important;
}
.well:first-child * { margin-top: 0; padding-top: 0; }

.btn { }

.well.well-full {
	width: 100%;
	margin-left: -20px;
}

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

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

.module { width: 50%; max-width: 400px; border: 1px solid #c8b18b; background: #f0e9db; padding: 1em 1em 0; }

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

.module h2,
.highlight h2 {
	color: #b99b69;
	font-size: 1.3em;
	font-weight: bold;
	text-align: center;
	padding: 0 0 .25em;
	margin:0;
	font-style:normal;
}

.module p { font-size: .9em; line-height: 115%; }
.module p.text_center, .highlight p.text_center{ text-align:center; }
.module img { padding: 4px; background: #fff; border: 1px solid #bbbbbb; width: auto !important; max-width: 96% !important; }
.module a { color: #006993; }

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

.space-half { padding: .5em; }
.space-one { padding: 1em; }
.space-two { padding: 2em; }
.space-three { padding: 3em; }

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

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

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 #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}

.popover-title { color: #006993 !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; }


.pbhsSlider.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: #025778; } /** 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; list-style-image: 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 #b99b69;
	padding: 0 0 8px;
}

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

.next-posts { float:right; }

.prev-posts { float:left; }

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

.blog article, .archive .post {
	border-bottom: 1px solid #b99b69;
	margin-bottom: 1.5em;
	padding-top: .5em;
}

.metadata {
	padding: 10px 0;
}

.tags { font-weight: bold; }

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

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

#commentform label { font-weight:bold; }

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

.commentlist li {
	list-style: none;
	border:1px solid #b99b69;
	border-left:4px solid #b99b69;
	padding: 10px;
}

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

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

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

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

.wp-post-image {
	float: left;
	margin: 0 1.5em 1.5em 0;
	max-width: 100%;
	height: auto;
}

/* --- Gravity Form Styles --- */
label, input, button, select, textarea { font-size: 18px; }
.gform_wrapper textarea, .gform_wrapper select, .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: 16px;
}
.gform_wrapper { margin: 0 auto; }
.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; }
.gform_wrapper .gform_footer { margin: 0; padding: 0; }
#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;
}

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

@media (max-width: 1040px) {
	.container { width: 96%; }
	.scrollup { display: none !important; }
	#content-header { padding: 1em !important; }
	.location { font-size: .9em; }
}

@media (min-width: 768px) and (max-width: 850px) {
	#doctors { display: none; }
}

@media (min-width: 768px) {
	#interior #content-main {
		min-height: 500px;
	}
}

@media (max-width: 767px) {
	body { padding-left: 0; padding-right: 0; }
	h1 { font-size: 1.75em; }
	#client-logo { text-align: center; }
	#client-logo img { width: 100%; }
	#wrapper { box-shadow: none; margin-top: 0; }
	.container { width: 100%; }
	header { background: #F5F1E9; position: static; }
	.location { border-bottom: 1px solid #408fae; font-size: 1.1em; }
	.location1:before, .location2:before { content: normal; background: none; }
	#content-main { padding-bottom: 0; }
	.pbhs-slider-a-block { font-size: 1.2em; }
	#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 !important; }
	.well { font-size: 110%; }
	.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
		font-size: 110%;
		padding: 0.25em;
		width: 50%;
	}
	.flash-replaced embed, .flash-replaced img { max-width: 100% !important; height: auto !important; z-index: 0; }
	.alignleft, .alignright, .aligncenter, .wp-post-image { float: none; margin: 0 0 1em; }
	.flash-replaced, .flash-replaced p, .text-right, .text-left { 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) {
	.pbhs-slider-a-block { font-size: 1em; bottom: 5%; }
	.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] { width: 80%; }
	.module, .module.alignleft, .module.alignright { width: 94%; }
	blockquote.pull-left, blockquote.pull-right { width: auto; float: none; }
}
