/* 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: 100%;
	margin-right: 0;
	padding: 1em 0 0 0;
}

#member-logo {
	max-width: 100px;
	clear: none;
	display: block;
	float: left;
	margin: 0 .75em 1em 0;
}

#member-logo img {
	border: none;
	background: none;
}

#business {
	line-height: .7em;
	padding: 5px 0 10px 0;
	font-size: 2.5em;
	font-family: Georgia, "Times New Roman", Times, serif;
	text-decoration: none;
}

#tagline {
	clear: both;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1em;
	line-height: 1em;
}

.main-background {
	max-width: 940px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

.central-container {
	padding: .5em 0;
	margin-top: 0;
}

.central-content {
	width: 100%;
}

.central-content .gift-cert-button {
    margin-top: 1em;
}

.specials-box img {
	margin: .5em;
}

.title-social-wrapper {
	width: 100%;
	float: left;
	overflow: hidden;
	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-tagline {
	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;
}

.divider-bar {
	clear: both;
	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	 {
	clear: both;
	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;
}

#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 textarea {
	max-width: 60%;
}

#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 {
	margin-bottom: 1em;
}

a#opengallery img {
	max-width: 80%;
	margin-top: 1em;
}

.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) { 
	.main-header {
		margin: 1em;
	}
	
	#member-logo {
		margin-top: -1em;
	}
	
	#business {
		margin-top: -20px;
		line-height: 1em;
		font-size: 2em;
	}
	
	#tagline {
		margin-left: 0;
	}
	
	.main-background {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.main-background div.col-sm-9 {
		border-left: 0;
	}
	
	.central-content {
		padding: .25em 1em;
		margin: -1.5em 0 0 0;
	}

	.central-content p {
		clear: both;
	}
	
	.central-content ul,
	.central-content p {
		font-size: 1em;
	}
	
	.central-content ul li {
		margin-left: 0;
	}
	
	.title {
		font-weight: bold;
	}
	
	.title h2 {
		font-size: 1.8em;
	}
	
	.social-footer {
		margin-top: 1.5em;
		margin-bottom: 1em;
		width: 100%;
		padding-right: 0;
	}
	
	.social-menu-mobi {
		clear: both;
		padding: 1em;
		text-align: center;
	}
	
	.social-menu {
		display: none;
	}
	
	.social-tagline {
		margin-bottom: 0;
	}
	
	.social-tagline a img {
		padding-right: 1em;
	}
	
	.social-menu-mobi a img,
	.social-footer a img {
		padding-right: 1em;
		padding-left: 1em;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 100%;
	}

	#recaptcha_area {
		margin-left: 0;
		margin-bottom: 1em;
	}
	
	.specials-box-mobile {
		clear: both;
		padding: 5px 10px;
		margin-bottom: 1em;
		margin-top: 1em;
	}
	
	#abmp-logo,
	.specials-box {
		display: none;
	}
	
	#abmp-logo-mobile {
		display: block;
		margin: 1.5em auto;
		text-align: center;
	}
	
	.online-sched {
		display: block;
		float: left;
		clear: none;
		max-width: 100%;
		margin-bottom: 2em;
	}
}

@media (min-width: 360px) { /* Samsung Galaxy S4 portrait */

	#tagline {
		font-size: 1.25em;
		margin-bottom: 1em;
	}

}

@media (min-width: 480px) { /* HTC phone & iPhone 4 landscape */

	#recaptcha_area {
		margin-left: 0;
	}
	
	#pac-webbuilder-contact input[type=submit] {
		max-width: 5em;
		clear: both;
	}
	
}

@media (min-width: 600px) { /* Nook, Kindle, Samsung Tab 7 portrait */
}

@media (min-width: 640px) { /* Samsung Galaxy S4 landscape portrait, Samsung Galaxy S4 landscape */
	
	#pac-webbuilder-contact label {
		clear: both;
		float: left;
		width: 25%;
		margin-bottom: 1em;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}
	
	#business {
		margin-top: 0;
	}

}

@media (min-width: 768px) { /* HP touchpad, iPad Mini portrait */ /* 770px = Samsung Note 10, Nexus 10, Kindle Fire portrait */

	.main-background {
		max-width: 940px;
		margin-top: 0;
	}
	
	.main-header {
		width: 95%;
		margin: 1em;
		padding: 0;
	}
	
	#business  {
		margin-top: .5em;
		font-size: 2.5em;
	}
	
	#tagline {
		font-size: 1.25em;
	}
	
	#member-logo {
		margin-top: .5em;
	}
	
	.main-background .col-sm-9,
	.central-container {
		width: 67%;
		max-width: 630px;
		padding: 0 0 5em 0;
		margin-top: 16em;
		margin-right: 1em;
		
	}
	
	.central-content {
		padding-top: 0;
		margin-bottom: 6em;
	}
	
	.col-sm-3 {
		float: right;
		margin: 7.5em 3em 4em 0;
		padding: 0;
		height: 100%;
		text-align: center;
	}

	.title {
		font-weight: normal;
	}
	
	.specials-box-mobile {
		display: none;
	}

	.specials-box {
		display: block;
		float: right;
		width: 85%;
		padding: 1em;
		margin: 2em 0;
		font-size: .9em;
		font-family: Georgia, "Times New Roman", Times, serif;
		line-height: 2em;
		text-align: left;
	}

	.social-tagline {
		clear: none;
		max-width: 88%;
		margin-top: 1em;
		margin-bottom: 0;
	}

	.social-footer {
		max-width: 100%;
		margin: 0 auto 1em auto;
		text-align: center;
	}

	.social-menu-mobi {
		display: none;
	}

	.social-menu {
		display: block;
		max-width: 100%;
		margin-bottom: 1em;
		padding-top: 1em;
		padding-bottom: 1em;
		text-align: right;
	}

	.social-tagline a,
	.social-menu a,
	.social-footer a {
		display: inline;
	}

	.social-menu a img {
		padding-right: .8em;
	}

	#abmp-logo-mobile {
		display: none;
	}

	#abmp-logo {
		clear: both;
		display: block;
		text-align: center;
		margin-top: 2em;
		margin-left: 3em;
	}

	#pac-webbuilder-contact label {
		width: 30%;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 70%;
	}
	
	textarea#edit-contact-comment {
		min-width: 70%;
	}
	
	.table-responsive {
		border: 1px solid transparent;
		clear: both;
		float: none;
	}
	
	.central-content table {
		clear: none;
		width: auto;
		max-width: none;
		border-bottom: 1px solid #ddd;
	}
	
	table.hours-and-scheduling {
		clear: both;
		float: left;
		display: block;
		width: 100%;
		max-width: 100%;
		margin-top: 0;
		white-space: nowrap;
		overflow: auto;
	}
	
	.divider-bar {
		clear: none;
		display: inline;
	}
	
}

@media (min-width: 990px) { /* for larger than ipad or other tablets */
	
	.main-header {
		margin: auto;
		padding-top: 10px;
		min-height: 120px;
		max-width: 940px; /* to keep header centered at larger sizes */
		width: 100%;
	}
	
	.main-background {
		width: 936px;
		min-height: 100%;
		margin: 1em auto;
		padding: 1em;
		/* rounded corners */
		border-radius: 20px 0px 0px 20px;
		-moz-border-radius: 20px 0px 0px 20px;
		-webkit-border-radius: 20px 0px 0px 20px;
		border: 0px solid #fff;
		/* outer shadow */
		-webkit-box-shadow: 0 0 10px 2px gray;
		-moz-box-shadow: 0 0 10px 2px gray;
		box-shadow: 0 0 10px 2px gray;
	}
	
	.main-background .col-sm-9 {
		width: 600px;
		margin-top: 19em;
		padding-left: 0;
		padding-bottom: 8em;
	}
	
	.central-container {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 0;
	}
	
	.central-content p {
		font-size: 1em;
	}
	
	#pac-webbuilder-contact .form-wrapper {
		width: 60%;
		margin: auto;
	}
	
	#googmap {
		margin-left: 8em;
	}
		
	.copyright {
		margin-bottom: 0;
	}
	
	.online-sched {
		width: 100%;
	}
	
	.replace-font-mobile {
		font-family: 'comic sans ms' !important;
	}

	
}
