/* 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 */

.main-header {
	max-width: 100%;
	margin-right: 0;
	padding: 1em 0 0 0;
}

#business {
	line-height: .7em;
	padding: 5px 0 10px 0;
	font-size: 2.5em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	text-decoration: none;
}

#tagline {
	clear: both;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1em;
	line-height: 1em;
	font-style: italic;
}

.main-background {
	max-width: 990px; 
	width: 100%;
	float: left;
	margin-left: 0;
}

.central-container {
	padding: .5em 0;
	margin-top: 0;
}

.central-content {
	width: 100%;
}

.abmp-logo-image {
	margin-left: auto;
	margin-right: auto;
}

.specials-box img {
	margin: .5em;
}

.social-tagline {
	margin: 1em 0;
}

.social-footer {
	margin-bottom: 1em;
	padding-right: 1em;
}

.social-right {
	margin-top: 0;
	padding-right: 0;
	float: right;
}

.social-right a {
	display: inline-block;
	clear: both;
}

.social-right a img,
.social-footer a img,
.social-menu a img,
.social-menu-mobi a img,
.social-tagline a img {
	padding-right: .5em;
}

.divider-bar {
	margin: 0 1em;
}

.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	 {
	font-size: 1em;
	white-space: nowrap;
	overflow: auto;
	border-bottom: 1px solid #ddd;
	clear: both;
}

table.services-and-rates {
	border-bottom: 1px solid #ddd;
}

#pac-webbuilder-contact .form-wrapper {
	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%;
}

#pac-webbuilder-contact input[type=submit] {
	max-width: 4em;
	clear: both;
}

#edit-contact-email,
#edit-contact-comment {
	max-width: 100%;
}

#pac-webbuilder-contact legend {
	display: none;
}

.bodysense-block {
	clear: left;
	float: none;
	margin-bottom: 2em;
	overflow: hidden; /* helps this div wrap completely around it's contents */
}

.bodysense-block img {
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}

#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 */
}

.central-content .gift-cert-button {
    margin-top: 1em;
}

.title-social-wrapper {
	width: 100%;
	float: left;
	overflow: hidden;
	margin-bottom: 1em;
}

.title {
	display: inline-block;
	max-width: 100%;
}

.title h2 {
	font-size: 1.8em;
}

.social-right {
	float: right;
	clear: none;
	text-align: right;
	max-width: 100%;
}

.social-right a img {
	float: right;
	display: inline;
	padding-left: .5em;
}

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 {
}

.smallprint {
	font-size: .75em;
}

@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 {
		margin: 0 auto;
		padding: 0;
	}
	
	.inner-header {
		padding-top: 0;
		margin-top: 0;
	}
	
	/* #business will float left for small mobile sizes */
	#business {
		clear: both;
		float: left;
		width: 100%;
		margin: 1.5em .5em 0 .5em;
		padding-top: 0;
		line-height: 1em;
		font-size: 2em;
		text-decoration: none;
	}
	
	#business h3 {
		width: 100%;
		padding-top: 0;
	}
	
	#tagline {
		float: left;
		width: 100%;
		margin-right: 0;
		margin-top: 0;
		padding-right: 0;
		font-size: .6em;
		line-height: 1.5em;
	}
	
	.central-container {
		padding: .5em 1em 1em 1em;
		margin-top: -1.5em;
	}
	
	.central-content {
		font-family: Arial, Helvetica, sans-serif;
		margin-top: 0;
		padding-top: 0;
		font-size: 1.3em;
		line-height: 1.75em;
	}
	
	.central-content p {
		clear: both;
		font-size: 1.2em
	}
	
	.central-content ul li {
		margin-left: 0;
		font-size: 1.2em;
	}

	.social-tagline {
		float: left;
		clear: both;
		max-width: 80%;
		padding-right: 0;
		margin: 0 0 1em 4em;
	}
	
	.social-right {
		text-align: right;
		max-width: 100%;
	}
	
	.social-right a img {
		display: block;
		margin-bottom: 1em;
		padding-left: 0;
	}
	
	.social-menu {
		display: none;
	}
	
	.social-menu-mobi {
		display: block;
		margin: 0 auto 1em auto;
		padding-top: 0;
		padding-bottom: 1em;
		text-align: center;
	}
	
	.social-footer {
		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: 1em;
		margin-bottom: 1em;
		margin-top: 1.5em;
		font-family: Arial, Helvetica, sans-serif;
		font-size: .9em;
		line-height: 2em;
	}
	
	.specials-box-mobile img {
		margin: .5em;
	}
	
	.main-background div.col-sm-3 {
		width: 100%;
		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;
	}
	
	img#abmp-logo,
	#abmp-logo,
	.specials-box {
		display: none;
	}
	
	#abmp-logo a,
	#abmp-logo-mobile a {
		border: none;
	}
	
	#abmp-logo-mobile {
		clear: both;
		display: block;
		margin: 1.5em auto;
		text-align: center;
	}
	
	.copyright {
		margin-top: .5em;
		font-size: 1em;
	}
	
	#pac-webbuilder-contact {
		margin-top: 1em;
		clear: both;
	}
	
	#recaptcha_area {
		margin-left: 0;
		margin-bottom: 1em;
	}
	
	.central-content a#opengallery {
		clear: both;
		float: none;
		margin-bottom: 2em;
		margin-top: 2em;
	}
	
	.spacer {
		display: none;
	}
	
	.online-sched {
		display: block;
		float: left;
		clear: none;
		max-width: 100%;
		margin-bottom: 2em;
	}
	
}

@media (min-width: 360px) { /* Samsung Galaxy S4 portrait */
}

@media (min-width: 480px) { /* HTC phone & iPhone 4 landscape */
	#business {
		margin-top: 2.25em; 
	}
}

@media (min-width: 640px) { /* Nook, Kindle, Samsung Tab 7 portrait, Samsung Galaxy S4 landscape */
	
	.main-background div.col-sm-3 {
		margin-top: 0;
	}
	
	#business {
		margin-top: 3em; 
	}
	
	.title h2 {
		font-size: 1.5em;
	}
	
	.central-content p,
	.central-content ul li {
		font-size: 1em;
	}
	
	.social-menu-mobi {
		margin-bottom: 2em;
	}
	
	#pac-webbuilder-contact label {
		width: 25%;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}
	
	#pac-webbuilder-contact textarea {
		max-width: 60%;
	}
	
	.specials-box-mobile {
		font-size: 1.1em;
	}
}

@media (min-width: 768px) { /* HP touchpad, iPad Mini portrait */ /* 770px = Samsung Note 10, Nexus 10, Kindle Fire portrait */

	.main-header {
		width: 75%;
		float: right;
		text-align: left;
		margin-right: 0;
		min-height: 10em;
	}
	
	.inner-header {
		margin-top: 0;
	}
	
	#business  {
		margin-left: 0;
		margin-top: 0;
	}
	
	#tagline {
		float: left;
	}
	
	.main-background {
		margin-top: 20px;
	}

	.main-background div.col-sm-3 {
		width: 190px;
		padding: 0;
		margin-bottom: 0;
		margin-top: 0;
		height: 100%;
		border-bottom: 1px solid transparent;
	}

	.central-container {
		max-width: 569px;
		margin-top: -2em;
		width: 74%;
		padding: 1em;
	}

	.central-content {
		padding-top: 0;
		max-width: 100%;
		margin-top: -1em;
		font-size: 1.1em;
		font-color: #000;
	}
	
	/* set the font size back to regular */
	.central-content p,
	.central-content ul li {
		font-size: 1em;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}
	
	.title {
		margin-bottom: 2em;
	}
	
	.social-tagline {
		margin-top: 1.5em;
	}
	
	.social-right {
		margin-top: 1em;
		margin-bottom: .5em;
		max-width: 100%;
	}
	
	.social-menu-mobi {
		display: none;
	}

	.social-menu {
		display: block;
		width: 100%;
		margin-bottom: 1em;
		padding-top: 1em;
		padding-bottom: 1em;
		text-align: left;
	}

	.social-tagline a,
	.social-right a,
	.social-menu a,
	.social-footer a {
		clear:none;
		display: inline;
		max-width: 100%;
	}

	.social-tagline a img,
	.social-footer a img {
		padding-right: 0;
		clear: none;
	}

	.social-menu a img {
		padding-right: .25em;
	}

	.social-right a img {
		float: right;
		margin-left: .25em;
		padding-left: .5em;
	}

	#pac-webbuilder-contact label {
		width: 30%;
	}
	
	.specials-box-mobile {
		clear: both;
		width: 96%;
		float: right;
		margin: 2em 1em;
	}
	
	#abmp-logo-mobile {
		clear: none;
		float: none;
		margin-top: 0;
	}
	
	.copyright {
		font-size: .9em;
	}
	
	table.hours-and-scheduling {
		white-space: nowrap;
		overflow: auto;
		float: left;
		clear: both;
	}
	
	.table-responsive {
		margin-bottom: 2em;
	}
	
	.central-content a#opengallery {
		clear: both;
		margin:1em 1em 1em 0;
		float: left;
	}
	
	#opengallery img {
		float: left;
		clear: both;
		margin: 1em 1em 1em 0;
	}
	
}

@media (min-width: 990px) { /* for larger than ipad or other tablets */

	.main-header {
		float: left;
		min-height: 10em;
	}
	
	#business {
		margin-left: 8em;
	}
	
	#business h3 {
		font-size: 1.25em;
	}
	
	.row .main-background {
		display: table;
		margin-top: .5em;
		margin-left: .5em;
		max-width: 970px;
	}
	
	.main-background div.col-sm-3 {
		margin-top: 3em;
	}
	
	.social-tagline {
		clear: none;
		margin-left: 16em;
		margin-top: -1em;
		margin-bottom: 0;
	}
	
	.social-right {
		margin-top: .5em;
	}
	
	#abmp-logo-mobile,
	.specials-box-mobile  {
		display: none;
	}

	#abmp-logo {
		display: block;
		clear: both;
		text-align: center;
	}
	
	/* this style keeps the columns the same height */
	.central-container,
	#specials-right {
		float: none;
		display: table-cell;
		vertical-align: top;
		margin: -2.25em 1em 0 0;
	}
	
	.central-container {
		width: 60%;
	}
	
	.central-content {
		margin-top: -.5em;
		padding-right: 1em;
	}
	
	.title {
		margin-bottom: 0;
	}
	
	#specials-right {
		width: 20%;
	}
	
	.specials-box {
		display: block;
		height: 100%;
		margin: 0;
		padding: 2em 2em 1em 1em;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 1em;
		line-height: 2em;
		vertical-align: top;
	}
	
	.specials-box img {
		margin: .5em;
	}
	
	#pac-webbuilder-contact label {
		width: 25%;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}
	
	#pac-webbuilder-contact textarea {
		max-width: 60%;
	}
	
	.table-responsive {
		border: 1px solid transparent;
		/*clear: none;
		float: none;*/
	}
	
	.central-content table {
		/*clear: none;*/
		width: auto;
		max-width: none;
		border-bottom: 1px solid #ddd;
	}
	
	table.hours-and-scheduling {
		/*clear: both;*/
		max-width: 60%;
		margin-top: 0;
	}

	.central-content a#opengallery {
		clear: both;
		margin:1em 1em 1em 0;
		float: left;
	}
	
	#opengallery img {
		float: left;
		clear: both;
		margin: 1em 1em 1em 0;
	}
	
	.copyright {
		max-width: 960px;
	}
	
	#recaptcha_area {
		margin: auto;
		padding-left: 1.1em;
	}
	
	#googmap {
		text-align: center;
		padding-left: 5em;
	}
	
	.spacer {
		display: inline;
		margin-left: 2em;
		margin-right: 2em;
	}
	
	.replace-font-mobile {
		font-family: 'comic sans ms' !important;
	}

	
}

@media (min-width: 1280px) {
}
