/* Template styles (not custom bootstrap styles)
-- Styles start with smallest (phone size) 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 */
.main-header {
	max-width: 880px;
	margin: .5em auto 0 auto;
	padding: 0;
}

#member-logo {
	width: 100px;
	display: inline-block;
	float: left;
	margin: 3em 1em 1em 0;
}

#business {
	font-size: 2.9em;
	font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif;
	text-decoration: none;
	padding: 0;
	width: 100%;
}

#tagline {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.2em;
}

.main-background {
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

.central-container {
	margin: 0;
	width: 100%;
	max-width: 100%;
}

.central-content {
	width: 100%;
}

.central-content .gift-cert-button {
    margin-top: 1em;
}

.title-social-wrapper {
	width: 100%;
	float: left;
	overflow: hidden;
	margin-bottom: 1em;
}

.title {
	font-size: 1.5em;
	font-weight: normal;
	margin-bottom: 0;
	font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif;
	display: inline-block;
	max-width: 100%;
}

.social-right {
	float: right;
	clear: none;
	text-align: right;
	max-width: 100%;
	margin-top: .5em;
	margin-bottom: .5em;
}

.social-right a img {
	float: right;
	display: inline;
	padding-left: .5em;
}


.specials-box img {
	margin: .5em;
}

.social-tagline {
	clear: both;
	margin: 1em 0;
}

.social-footer {
	margin-bottom: .5em;
	padding-right: 1em;
}

.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;
}

.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;
	display: block; 
	float: left;
	font-size: 1em;
	border-bottom: 1px solid #ddd;
}

table.services-and-rates {
	border-bottom: 1px solid #ddd;
}

#pac-webbuilder-contact .form-wrapper {
	padding-top: 1.5em;
	clear: both;
}

#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;
}

#pac-webbuilder-contact input[type=submit] {
	clear: both;
	width: 5em;
}

#pac-webbuilder-contact textarea {
	max-width: 100%;
}

#edit-contact-email,
#edit-contact-comment {
	max-width: 98%;
}

#pac-webbuilder-contact legend {
	display: none;
}

.bodysense-block {
	clear: left;
	float: none;
	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;
	display: -moz-inline-box; /* this keeps the captcha from dipslaying in the upper right corner in firefox */
	float: left;
}

a#opengallery {
	clear: right;
	margin-top: 1em;
	margin-bottom: 1em;
}

a#opengallery img {
	max-width: 80%;
	margin-top: 1em;
}

.spacer {
	margin-left: 1em;
	margin-right: 1em;
}

.online-sched {
	display: block;
	float: left;
	clear: none;
	max-width: 100%;  
	margin-bottom: 2em;
}

.smallprint {
	font-size: .75em;
}

fieldset {
	min-width: 1px; /* bootstrap has it set to 0, but this is breaking the contact form */
}

.video-responsive {
		max-width: 100%;
}

.video-responsive-iframe {
}

@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-fluid {
		padding-right: 0;
	}
	
	.main-header {
		padding-top: 0;
		margin: auto;
	}
	
	.main-header {
		background-size: contain;
	}
	
	#member-logo {
		margin-top: 1em;
	}
	
	#business {
		clear: none;
		width: 100%;
		float: left;
		margin-top: 0;
		text-align: left;
		font-size: 2em;
	}
	
	#tagline {
		float: left;
		margin: 0 0 1em 0;
		width: 100%;
		/*font-size: 1.3em;*/
	}

	.social-menu {
		display: none;
	}
	
	.social-menu-mobi {
		display: block;
		max-height: 50px;
		text-align: center;
		margin-top: 0;
		margin-bottom: 1.5em;
	}

	.main-background {
		width: 100%;
	}
	
	.main-background div.col-sm-3 {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.main-background div.col-sm-9 {
		width: 100%;
		margin: 0;
		padding: 0 1em;
	}

	.central-container {
		width: 98%;
		margin: auto;
		padding: 0;
	}

	.central-content {
		width: 100%;
	}
	
/*	.title {
		margin-bottom: 1em;
		font-weight: normal;
		font-size: 1.2em;
	}
*/	
	.central-content p {
		clear: both;
		font-size: 1.2em;
	}
	
	.central-content li {
		margin-left: 0;
		margin-right: .25em;
		font-size: 1.2em;
	}
	
	.specials-box {
		display: none;
	}
	
	.specials-box-mobile {
		display: block;
		font-family: Arial, Helvetica, sans-serif;
		margin-top: 1.5em;
		margin-bottom: 1.5em;
		padding: 1em;
	}
	
	#abmp-logo {
		display: none;
	}	
	
	#abmp-logo-mobile {
		display: block;
		text-align: center;
		margin-bottom: 1.5em;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 100%;
	}
	
	#recaptcha_area {
		margin-left: -20px;
		margin-bottom: 1em;
	}
	
}

@media (min-width: 360px) { /* Samsung Galaxy S4 portrait */
	#business {
		margin-top: 0;
		padding-top: .25em;
	}
	
	#member-logo {
		margin-top: 1.5em;
		margin-bottom: 0;
	}
}

@media (min-width: 480px) { /* HTC phone & iPhone 4 landscape */
}



@media (min-width: 640px) { /* Samsung Galaxy S4 landscape portrait, Samsung Galaxy S4 landscape */

	#business {
		margin-top: .5em;
		max-width: 80%;
		display: inline-block;
		line-height: 1em;
		font-weight: bold;
	}
	
	#tagline {
		max-width: 80%;
	}
	
	#recaptcha_area {
		margin-left: 0;
	}
	
	.footer li {
		font-size: .9em;
		text-align: center;
	}
}

@media (min-width: 768px) { /* HP touchpad, iPad Mini portrait */ /* 770px = Samsung Note 10, Nexus 10, Kindle Fire portrait */

	.main-header {
		height: 260px;
		background-size: contain;
	}
	
	.main-background {
		margin-top: -8em;
		max-width: 100%;
		display: table;
		display: inline-table;
	}
	
	#member-logo {
		margin-top: 3em;
	}
	
	#business {
		margin-top: 1em;
		float: right;
		max-width: 84%;
		text-align: left;
		font-weight: normal;
	}
	
	#tagline {
		float: right;
		max-width: 84%;
		text-align: left;
		margin-top: 0;
	}

	.main-background div.col-sm-9 {
		display: table-cell;
		float: right;
		margin: 1em 0;
		width: 70%;
	}

	.main-background div.col-sm-3 {
		display: table-cell;
		float: left;
		width: 210px;
		padding: 0;
		margin-bottom: 0;
		margin-left: 0;
		border-bottom: 0;
		height: 100%;
	}

	.central-container {
		width: 100%;
		max-width: 630px;
		float: left;
		margin-left: 2px;
		padding: 2em 1.5em 1.5em 1.5em;
		line-height: 1.5em;
	}
	
	.central-content {
		margin: 0;
		padding: 0;
		margin-top: 2em;
	}
	
	/* set the font size back to regular */
	.central-content p,
	.central-content ul li {
		font-size: 1em;
	}

/*	.title {
		margin-top: 0;
		margin-bottom: 3em;
		max-width: 100%;
	}
*/
	.specials-box-mobile {
		display: none;
	}

	.specials-box {
		display: block;
		width: 80%;
		margin: 3em auto 2em auto;
		padding: 1em;
		line-height: 1.75em;
		font-size: .9em;
		font-family: Arial, Helvetica, sans-serif;
	}
	
	.social-right {
		margin-bottom: .5em;
	}

	.social-tagline {
		clear: both;
		width: 84%;
		float: right;
		text-align: left;
		margin-bottom: 1em;
		margin-top: 0;
	}

	.social-footer {
		max-width: 100%;
		width: 100%;
		margin: 0 auto 1em;
		float: none;
		text-align: center;
	}

	.social-menu-mobi {
		display: none;
	}

	.social-menu {
		display: block;
		width: 84%;
		margin: 2em auto;
		text-align: left;
	}

	.social-tagline a,
	.social-menu a,
	.social-footer a {
		display: inline;
		max-width: 20px;
	}

	#abmp-logo-mobile {
		display: none;
	}

	#abmp-logo {
		clear: both;
		display: block;
		text-align: center;
		margin-top: 2em;
	}

	#pac-webbuilder-contact label {
		width: 30%;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}
	
	#recaptcha_area {
		float: left;
		margin-left: 0;
		margin-bottom: 1em;
		overflow: visible; /* hack to keep the captcha box in place at this size */
	}
	
	table.hours-and-scheduling {
		white-space: nowrap;
		overflow: auto;
	}
	
	.table-responsive {
		margin-bottom: 2em;
	}
	
	.copyright {
		font-size: .8em;
	}
	
	.footer li {
		font-size: 1em;
	}
	
	.spacer {
		display: inline;
	}
	
}

@media (min-width: 990px) { /* for larger than ipad or other tablets */

	.background-container {
		margin: 0 auto;
		width: 880px;
	}
	
	.main-header {
		height: 160px;
	}
	
	div.row.main-background {
		display: table; /* used to make the left column same height as right col */
		width: 882px;
		margin-top: 0;
	}
	
	.main-background div.col-sm-3 {
		display: table-cell; /* used to make col fill 100% vertically */
		width: 227px;
		margin-top: 0;
	}
	
	.main-background div.col-sm-9 {
		clear: none;
		width: 99%;
		padding: 0;
	}
	
	.central-content {
		height: 100%;
		margin: 0;
		float: none;
		clear: both;
		width: 99%;
		position: relative;
		top: 0;
		padding: 0 1em 0 0;
	}
		
	#business {
		font-size: 2.7em;
		font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif;
		text-decoration: none;
		padding: 0;
		margin-top: .6em;
		font-weight: normal;
		max-width: 88%;
	}
	
	#tagline {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 1em;
		margin-top: 1em;
		max-width: 88%;
		width: 88%;
	}
	
	.specials-box {
		width: 100%;
	}
	
	#member-logo {
		margin-left: -1em;
		margin-top: 2.5em;
	}
	
	.social-tagline {
		margin-bottom: .25em;
		margin-top: -.25em;
		max-width: 88%;
	}
	
	.title-social-wrapper {
		width: 96%;
	}
	
	.social-menu {
		padding-left: 0;
	}

	.table-responsive {
		border: 1px solid transparent;
		clear: both;
		float: none;
	}
	
	.central-content table {
		clear: both;
		width: auto;
		max-width: 100%;
		border-bottom: 1px solid #ddd;
		
	}
	
	table.hours-and-scheduling {
		clear: none;
		max-width: 100%;
		margin-top: 0;
	}
	
	.copyright {
		font-size: .8em;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}
	
	.replace-font-mobile {
		font-family: 'comic sans ms' !important;
	}

}

@media (min-width: 1200px) {

}
