/* Template styles (not custom bootstrap styles)
-- Styles start with smallest (320px) and go up to largest (so media queries should use min-width)
-- colors are set in individual color css files  */

/* general styles - apply to all viewport sizes */

.container-inner {
	width: 990px;
	max-width: 990px;
}

.main-header {
	max-width: 100%;
	margin-left: 0;
	padding: 1em 0 0 0;
}

#member-logo {
	max-width: 100px;
	clear: none;
	float: left;
	font-weight: normal;
	margin: 0 .75em 1em 0;
}

#business {
	line-height: .7em;
	padding: 5px 0 10px 0;
	font-size: 2.5em;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	float: left;
	text-align: left;
}

#tagline {
	clear: both;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	line-height: 1em;
	float: left;
	text-align: left;
}

.main-background {
	max-width: 990px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

.central-container {
	padding: .5em 0;
	margin-top: 0;
}

.central-content {
	width: 100%;
}

.central-content ul li {
	margin-left: 0;
	margin-right: .5em;
}

.central-content .gift-cert-button {
    margin-top: 1em;
}

/* social links overlap fix */ 
.central-content .row.inner-content-block {
   clear: both;
}

.center-main-content { /* slight background-color so text will show up over the background image */
	background-color: rgba(255, 255, 255, 0.2); /* this makes the background semi-transparent but allows the content inside the div to maintain it's opacity */
}

.main-background .col-sm-3.center-right-content {
	background: none;
}

.specials-box img {
	margin: .5em;
}

.social-tagline {
	margin: 1em 0;
}

.social-footer {
	margin-bottom: .5em;
	padding-right: 1em;
}

.title-social-wrapper {
	width: 100%;
	float: left;
	overflow: hidden;
	margin-bottom: 1em;
}

div.title-social-wrapper > div.title > h1 {
	font-size: 2em;
	margin-bottom: 1em;
}

.title {
	display: inline-block;
	max-width: 100%;
}

.social-right {
	float: right;
	clear: none;
	text-align: right;
	max-width: 100%;
}

.social-right a img {
	float: right;
	display: inline;
	padding-left: .5em;
}

.social-footer a img,
.social-menu a img,
.social-menu-mobi a img,
.social-tagline a img {
	padding-right: .5em;
}

#abmp-logo a,
#abmp-logo-mobile a {
	border: none;
}

.abmp-logo-image {
	margin-left: auto;
	margin-right: auto;
	margin-top: 16em;
}
.abmp-logo-image.has-special {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
}

.copyright {
	clear: both;
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 1em;
}

.table-responsive { /* this only works for 768px and smaller */
	width: auto;
	max-width: 100%;
	margin-top: 1em;
	clear: both;
	border: 1px solid transparent; /* override bootstrap's border around responsive tables */
}

@-moz-document url-prefix() { /* fix responsive table rendering in Firefox */
	fieldset {
		display: table-cell;
	}
}

table.hours-and-scheduling	 {
	clear: both;
	font-size: 1em;
	border-bottom: 1px solid #ddd;
}

table.services-and-rates {
	border-bottom: 1px solid #ddd;
}

#pac-webbuilder-contact .form-wrapper {
	clear: both;
	padding-top: 1.5em;
}

#pac-webbuilder-contact label {
	clear: both;
	float: left;
	width: 100%;
	margin-bottom: 1em;
}

#pac-webbuilder-contact select,
#pac-webbuilder-contact input,
#pac-webbuilder-contact textarea {
	float: left;
	margin-bottom: 1em;
	width: 100%;
}

#pac-webbuilder-contact textarea {
	max-width: 100%;
}

#edit-contact-email,
#edit-contact-comment {
	max-width: 100%;
}

#pac-webbuilder-contact legend {
	display: none;
}

#pac-webbuilder-contact input[type=submit] {
	max-width: 5em;
	clear: both;
}

.bodysense-block {
	clear: none;
	display: block;
	overflow: hidden; /* this wraps the div around inner content */
	margin-bottom: 2em;
}

.bodysense-block img {
	float: left;
	margin-right: 1em;
	margin-bottom: .5em;
}

#googmap {
	overflow: hidden; /* keeps map content within the div */
}

#recaptcha_area {
	display: -moz-inline-box; /* this keeps the captcha in place in firefox */
	clear: both;
	float: left;
}

a#opengallery {
	margin-bottom: 1em;
}

a#opengallery img {
	max-width: 80%;
	margin-top: 1em;
}

footer li {
	list-style-type: none;
	margin-right: 2em;
	margin-left: 2em;
	width: auto;
}

.video-responsive {
	max-width: 100%;
}

.video-responsive-iframe {
    width: 472px;
    height: 266px;
	max-width: 100%;
}

@media (min-width: 320px) and (max-width: 767px) {

	/* make images with inline height/width responsive */
	.central-content img[style],
	.central-content img {
		max-width: 100% !important;
		width: auto;
		/*height: auto !important;*/ /* do not add back - it doesn't work right */
		margin-right: 1em;
	}

	/* replacing comic-sans font with google fonts Short Stack on android and ios (see JS ) */
	.replace-font-mobile {
		font-family: 'Short Stack' !important;
		/*font-size: 85%;*/ /* this font is slightly larger than comic sans, so decrease size */
	}
}

@media (min-width: 320px) { /* iphone 5s */

	.container-inner {
		width: 100%;
		margin: 0 auto;
		padding: 0;
	}

	.main-header {
		width: 100%;
		margin: 0 auto;
		padding:0;
	}

	.inner-header {
		padding-top: .5em;
		margin-top: 4em;
	}

	#member-logo {
		float: left;
		max-width: 100px;
		clear: none;
		display: inline-block;
		font-weight: normal;
		margin-top: -1.8em;
	}

	/* #business will float left for small mobile sizes */
	#business {
		clear: both;
		float: left;
		width: 100%;
		margin: .5em 0 0 0;
		line-height: 1em;
		padding: 0 0 10px 0;
		font-family: Arial, Helvetica, sans-serif;
		text-decoration: none;
		font-size: 2.15em
	}

	/* #tagline will float left for small mobile sizes */
	#tagline {
		clear: both;
		float: left;
		width: 100%;
		margin-right: 0;
		margin-top: 0;
		padding-right: 0;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 1.5em;
		line-height: 1.5em;
	}

	.main-background {
		max-width: 990px;
		margin-left: auto;
		margin-right: auto;
		padding-right: 0;
	}

	.central-container {
		padding-right: 1em;
		margin-top: 0;
	}

	.central-content {
		font-family: Arial, Helvetica, sans-serif;
		margin-top: 0;
		padding-top: 0;
		padding-left: 1em;
		width: 100%;
		line-height: 1.75em;
	}

	.central-content p {
		font-size: 1.4em;
		clear: both;
	}

	.central-content ul {
		font-size: 1.4em;
	}

	.title {
		margin-top: -1em;
	}

	.title h2 {
		font-size: 2em;
	}

	.social-right {
		margin-bottom: 1em;
	}

	.social-tagline {
		float: left;
		clear: both;
		max-width: 90%;
		padding-right: 0;
		margin: 0 0 1em 0;
	}

	.social-menu {
		display: none;
	}

	.social-menu-mobi {
		display: block;
		margin: 0 auto;
		padding-top: 0;
		padding-bottom: 1em;
		text-align: center;
	}

	.social-footer {
		margin-bottom: .5em;
		width: auto;
		text-align: center;
	}

	.social-footer a img,
	.social-menu-mobi a img,
	.social-tagline a img {
		padding-left: .5em;
	}



	.specials-box-mobile {
		clear: both;
		padding: 5px 10px;
		margin-bottom: 1em;
		margin-top: 1.5em;
		font-family: Arial, Helvetica, sans-serif;
	}

	.specials-box-mobile img {
		margin: .5em;
	}

	.main-background div.col-sm-3 {
		width: 102%;
		padding-left: 0;
		padding-bottom: 0;
		padding-right:0;
		margin-bottom: 0;
		border-right: none;
	}

	.main-background div.col-sm-9 {
		border-top: none;
		border-bottom: none;
		padding-bottom: 0;
	}

	.center-main-content {
		width: 100%;
	}

	.center-right-content {
		width: 100%;
	}

	table.hours-and-scheduling	 {
		font-size: 1.3em;
	}

	.online-sched {
		display: block;
		float: left;
		clear: none;
		max-width: 100%;
		margin-bottom: 2em;
	}

	table.services-and-rates {
		font-size: 1.3em;
	}

	img#abmp-logo,
	#abmp-logo,
	.specials-box {
		display: none;
	}

	#abmp-logo-mobile {
		clear: both;
		display: block;
		margin: 1.5em auto;
		text-align: center;
	}

	.copyright {
		display: block;
		width: 100%;
		text-align: center;
		margin-top: .5em;
		font-size: 1.2em;
	}

	#pac-webbuilder-contact {
		margin-top: 1em;
	}

	#pac-webbuilder-contact label {
		clear: both;
		float: left;
		width: 100%;
		margin-bottom: 1em;
	}

	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		float: left;
		margin-bottom: 1em;
		width: 100%;
	}

	#pac-webbuilder-contact textarea {
		max-width: 60%;
	}

	#pac-webbuilder-contact #edit-contact-email,
	#pac-webbuilder-contact #edit-contact-comment {
		max-width: 100%;
	}

	#pac-webbuilder-contact legend {
		display: none;
	}

	#recaptcha_area {
		margin-left: 0;
		margin-bottom: 1em;
	}

	a#opengallery {
		clear: none;
		float: none;
		margin-bottom: 2em;
	}

	#googmap {
		overflow: hidden; /* keeps map content within the div */
	}

	footer li {
		clear: both;
		width: 88%;
		text-align: center;
		float: none;
		margin: 0;
	}

}

@media (min-width: 360px) { /* Samsung Galaxy S4 portrait */
}

@media (min-width: 480px) { /* HTC phone & iPhone 4 landscape */

	#business {
		margin-top: 0;
	}

	#tagline {
		clear: both;
	}

	#member-logo {
		margin-right: 0;
	}

	#recaptcha_area {
		margin-left: 0;
	}

}

@media (min-width: 640px) { /* Nook, Kindle, Samsung Tab 7 portrait */

	.main-header {
		width: 100%;
	}

	.inner-header {
		width: 100%;
		margin-top: 0;
		padding-top: 0;
	}

	#member-logo {
		margin-top: .5em;
		margin-right: 1em;
	}

	#business {
		clear: none;
		margin: 1.25em 0 0 0;
		max-width: 80%;
	}

	#tagline {
		clear: both;
		max-width: 76%;
		margin: 1em 0 1em 0;
	}

	/*.main-background div.col-sm-9*/
	.central-container {
		width: 98%;
		margin: -1em auto 1em auto;
	}

	.center-main-content {
		margin-left: .5em;
	}

	.social-right {
		margin-top: 1em;
	}

	.specials-box-mobile {
		font-size: 1em;
		width: 96%;
		margin: 1em auto;
		padding: 1em;
	}

	#pac-webbuilder-contact {
		margin-top: 1em;
	}

	#pac-webbuilder-contact label {
		width: 25%;
	}

	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		float: left;
		margin-bottom: 1em;
	}

	#pac-webbuilder-contact textarea {
		max-width: 60%;
	}

}

@media (min-width: 768px) { /* HP touchpad, iPad Mini portrait */ /* 770px = Samsung Note 10, Nexus 10, Kindle Fire portrait */

	.main-header {
		height: 123px;
	}

	.inner-header {
		margin-top: 0;
		overflow: hidden; /* make div wrap around inner content */
	}

	#member-logo {
		border: none;
		float: left;
	}

	#business  {
		clear: none;
		float: /*right;*/ left;
		margin: .5em 0 0 0;
		text-align: left;
		max-width: 80%;
		font-size: 2.2em;
	}

	#member-logo {
		float: left;
		margin: 1em 1em 1em 0;
	}

	#tagline {
		clear: none;
		float: left;
		text-align: left;
		margin-left: 0;
		margin-top: 0;
		font-size: 1.2em;
		max-width: 65%;
	}

	.main-background {
		margin-top: 0;
		clear: both;
	}

	.main-background div.col-sm-3 {
		width: 210px;
		padding: 0;
		margin: 0 1em 0 1em;
		height: 100%;
	}

	.central-container {
		width: 65%;
		max-width: 100%;
	}

	.central-content {
		padding-top: 0;
		max-width: 100%;
		margin-top: 1em;
	}

	.title-social-wrapper {
		margin-bottom: 1em;
	}

	.center-main-content {
		margin-top: 0;
	}

	.main-background .col-sm-3.center-right-content {
		width: 100%;
	}

	.title h2 {
		font-size: 1.8em;
		margin-bottom: 1em;
	}

	/* set the font size back to regular */
	.central-content p {
		font-size: 1.1em;
	}

	.central-content ul li {
		font-size: .8em;
	}

	.social-tagline {
		clear: both;
		float: right;
		width: 84%;
		margin-top: -1.5em;
		margin-left: 0;
		text-align: right;
	}

	.social-right {
		margin-bottom: .5em;
		margin-top: 0;
	}

	.social-menu-mobi {
		display: none;
	}

	.social-menu {
		display: block;
		width: 100%;
		margin-bottom: 1em;
		padding: 1em;
		text-align: left;
	}

	.social-tagline a,
	.social-menu a,
	.social-footer a {
		display: inline;
	}

	.social-tagline a img,
	.social-footer a img {
		padding-right: 1em;
	}

	.social-menu a img {
		padding-right: 1em;
		margin-top: .5em;
	}

	.social-right a img {
		float: right;
		margin-left: .25em;
		padding-left: .5em;
	}

	table.hours-and-scheduling,
	table.services-and-rates	 {
		font-size: 1.1em;
	}

	#pac-webbuilder-contact {
		display: -moz-inline-box; /* this keeps the form in place in firefox */
		width: 96%;
	}

	#pac-webbuilder-contact label {
		width: 30%;
	}

	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}

	.specials-box-mobile {
		width: 75%;
		float: left;
		font-size: 1em;
	}

	#abmp-logo-mobile {
		clear: none;
		float: right;
		margin-top: 0;
	}

	.table-responsive {
		margin-bottom: 2em;
	}

	.footer,
	.copyright {
		font-size: 1em;
	}

	footer ul {
		width: 100%;
	}

	footer ul li {
		clear: none;
		width: auto;
		display: inline;
		margin-left: 1em;
		margin-right: 1em;
		font-size: .75em;
	}

	footer ul li a {
		font-size: 1em;
	}

	footer a {
		font-size: .75em;
	}
}


@media (min-width: 990px) { /* for larger than ipad or other tablets */
	.container-inner {
		width: 990px;
		margin: 0 auto;
		padding: 0;
	}

	.main-header {
		width: 900px;
		margin: auto;
		height: 160px;
	}

	.inner-header {
		float: left;
		padding-left: 0;
		margin-left: 0;
		margin-top: 1em;
	}

	.main-background {
		width: 990px;
		margin: auto;
		margin-top: 0;
	}

	.main-background div.col-sm-3 {
		margin-top: .2em;
	}

	.main-background div.col-sm-9 {
		max-width: 73%;
	}

	.central-container {
		width: 75%;
		font-size: 1.1em;
		margin-top: 1em;
		padding-right: 0;
	}

	.central-content {
		width: 100%;
		margin-top: 2em;
		padding-bottom: 5em;
		padding-right: 1em;
		padding-left: 0;
		margin-top: 1em;
	}

	.central-content h3 {
		margin-bottom: 1em;
	}

	.central-content p {
		margin-top: 0;
		font-size: 1em;
	}

	.central-content ul li {
		font-size: .75em;
	}

	div.col-sm-9 .center-main-content {
		max-width: 68%;
		float: left;
		margin-top: 0;
	}

	.title-social-wrapper {
		max-width: 100%;
		margin-bottom: 0;
	}

	.title {
		margin-top: 0;
		margin-bottom: 0;
	}

	.table-responsive {
		border: 1px solid transparent;
		float: none;
	}

	.central-content table {
		clear: none;
		width: auto;
		max-width: none;
		border-bottom: 1px solid #ddd;
	}

	table.hours-and-scheduling {
		clear: both;
		width: 100%;
		margin-top: 0;
		display: block;
		float: left;
		font-size: 1em;
	}

	.table.services-and-rates {
		max-width: 100%;
	}

	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 70%;
	}

	.social-tagline {
		clear: none;
		margin-top: .5em;
		margin-left: 0;
		max-width: 100%;
		float: left;
		text-align: left;
	}

	.social-menu {
		display: inline;
	}

	.social-right {
		margin-top: 0;
	}

	.main-background .col-sm-3.center-right-content {
		width: 30%;
		float: left;
		clear: none;
		margin-top: 0;
		margin-right: 0;
		margin-left: 0;
	}

	.specials-box-mobile {
		display: none;
	}

	.specials-box {
		display: block;
		width: 100%;
		margin: 10em 0 1em 0;
		padding: 5px 10px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 1em;
		line-height: 2em;
	}

	.specials-box img {
		margin: .5em;
	}

	#abmp-logo-mobile {
		display: none;
	}

	#abmp-logo {
		display: block;
		clear: both;
		text-align: center;
		margin-top: 2em;
		margin-bottom: 2em;
	}

	.replace-font-mobile {
		font-family: 'comic sans ms' !important;
	}


}

@media (min-width: 1024px) {

	.container-inner {
		background-size: 102%;
	}

	.main-background div.col-sm-3 {
		margin-top: .25em;
	}
}
