/* 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  */

/* initial styles */
.main-header {
	max-width: 954px;
	margin: auto;
	padding: 0;
	padding-right: 0;
}

#business {
	margin-top: 0;
	line-height: .7em;
	padding: 5px 0px 10px 0px;
	font-family:  "Times New Roman", Times, serif;
	text-decoration: none;
}

#tagline {
	clear: both;
	font-family:  "Trebuchet MS", Arial, Helvetica, sans-serif;
}

.main-background {
	max-width: 954px;
	margin: auto;
	padding: 0;
}

.main-background-inner {
	width: 100%;
	padding: 0;
	margin: 0;
}

.main-background div.col-sm-3 {

	padding: .5em 0 0 0;
	margin-bottom: 0;
}

.central-container {
	width: 98%;
	padding-right: 0;
	margin-top: 0 auto;
}

.central-content {
	margin-top: 0;
	padding-top: 5em;
	width: 100%;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

.central-content ul li {
	margin-left: 0;
	margin-right: .5em;
	font-size: 1.2em;
}

.central-content p a {
	text-decoration: underline;
}

.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%;
}

.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-top: 1em;
	margin-left: 0;
}

.social-menu-mobi {
	padding-top: 0;
	padding-bottom: 1em;
	text-align: center;
}

.social-menu {
	display: none;
}

.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-left: .5em;
}

.specials-box-mobile {
	clear: both;
	width: 100%;
	padding: .5em .5em;
	margin-bottom: 1em;
	text-align: center;
}

.specials-box-mobile img {
	margin: .5em;
}

aside.specials-box img {
	margin: .5em;
}

.specials-box {
	display: none;
}

table.hours-and-scheduling	 {
	clear: both;
	font-size: 1em;
	border-bottom: 1px solid #ddd;
}

table.services-and-rates {
	border-bottom: 1px solid #ddd;
}

#abmp-logo a,
#abmp-logo-mobile a {
	border: none;
}

.abmp-logo-image {
	margin-left: auto;
	margin-right: auto;
}

#abmp-logo-mobile {
	display: block;
	margin: .5em auto;
	text-align: center;
}

.copyright {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: .5em;
}

#pac-webbuilder-contact {
	clear: both;
}

#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 legend {
	display: none;
}

#pac-webbuilder-contact select,
#pac-webbuilder-contact input,
#pac-webbuilder-contact textarea {
	width: 100%;
	float: left;
	margin-bottom: 1em;
}

#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 input[type=submit] {
	clear: both;
	max-width: 5em;
}

#recaptcha_area {
	display: -moz-inline-box; /* this keeps the captcha from dipslaying in the upper right corner in firefox */
	clear: both;
	float: left;
	margin-left: 2em;
	margin-bottom: 1em;
}

.copyright {
	font-size: .9em;
}

a#opengallery {
	margin-bottom: 1em;
}

a#opengallery img {
	max-width: 80%;
	margin-top: 1em;
}

#googmap {
	overflow: hidden; /* keeps map content within the div */
}

.table-responsive { /* this only works for 768px and smaller */
	clear: both;
	width: auto;
	max-width: 100%;
	margin-top: 1em;
	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;
}

.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 */

	.main-header {
		padding-top: 5px;
		margin: 1em auto 0 auto;
		min-height: 4em;
	}

	#business {
		clear: both;
		float: left;
		width: 100%;
		line-height: 1em;
		padding: 0;
		margin: 0;
		font-size: 2em;
	}

	#tagline {
		clear: both;
		float: left;
		text-align: left;
		margin-bottom: 1em;
		margin-top: .5em;
		font-size: 1.2em;
	}
	
	#abmp-logo {
		display: none;
	}

	.social-tagline {
		clear: both;
		float: left;
		margin-bottom: 1em;
		margin-top: 0;
	}

	.social-menu-mobi {
		max-height: 50px;
		padding-bottom: 0;
		margin-bottom: 2em;
	}

	.main-background {
		margin-top: .5em;
	}

	.main-background-inner {
		width: 100%;
		margin: 0 auto;
	}

	.main-background div.col-sm-9 {
		width: 97%;
		margin: -1em auto 1em auto;
		float: none;
		padding: .25em 1em 1em 1em;
	}

	.main-background div.col-sm-3 {
		width: 100%;
		margin: 4em 0 1em 0;
	}

	.central-content {
		clear: both;
		width: 97%;
		padding: 0;
	}
	
	.central-content p {
		clear: both;
		font-size: 1.2em;
	}

	.specials-box-mobile {
		width: 100%;
		float: left;
		margin: 1.5em auto;
		padding: .75em;
	}

	#abmp-logo-mobile {
		margin-bottom: 1em;
	}

	.copyright {
		width: 98%;
		margin-bottom: 1em;
	}

	#recaptcha_area {
		margin-left: -20px;
		margin-bottom: 1em;
	}

	a#opengallery img {
		clear: none;
		max-width: 70%;
	}
	
	.online-sched {
		display: block;
		float: left;
		clear: none;
		max-width: 100%;
		margin-bottom: 2em;
	}
	
}

@media (min-width: 360px) { /* Samsung Galaxy S4 portrait */

	.main-background {
		margin-top: 0;
	}

	.main-background div.col-sm-3 {
		margin-top: 4.75em;
	}

	#recaptcha_area {
		margin-left: 0;
	}
}

@media (min-width: 480px) { /* HTC phone & iPhone 4 landscape */
	.main-background div.col-sm-3 {
		margin-top: 5em;
	}

	.specials-box-mobile {
		margin: 2em 0 2em -1em;
		width: 109%;
	}

	.social-tagline {
		margin-left: -.5em;
	}

}

@media (min-width: 640px) { /* 600px = Nook, Kindle, Samsung Tab 7 portrait || 640px = Samsung Galaxy S4 landscape portrait, Samsung Galaxy S4 landscape */
	.main-background {
		width: 97%;
		margin-left: .6em;
		margin-top: -1em;
	}

	.specials-box-mobile {
		width: 108%;
	}

	.central-container,
	.main-background div.col-sm-9  {
		width: 100%;
	}

	.main-background div.col-sm-3  {
		margin-top: 7em;
	}

	#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%;
	}

}

@media (min-width: 768px) { /* HP touchpad, iPad Mini portrait */ /* 770px = Samsung Note 10, Nexus 10, Kindle Fire portrait */

	.main-header {
		float: left;
		text-align: left;
		max-width: 954px;
		width: 100%;
		padding: 0 1em;
		margin: 1em auto;
		font-family: "Times New Roman", Times, serif;
	}

	#business {
		clear: both;
		float: left;
		text-align: left;
		margin-top: 0;
		font-size: 2.5em;
	}

	#tagline {
		float: left;
		margin-top: 0;
		font-size: 1.1em;
		font-weight: normal;
	}

	.main-background {
		clear: both;
		width: 98%;
		padding-top: 8.75em;
		margin: auto;
	}

	.main-background-inner {
		width: 98.2%;
		margin: 0 auto 0 .75em;
		padding: 0;
		border-radius: 0px 0px 0px 70px;
		-moz-border-radius: 0px 0px 0px 70px;
		-webkit-border-radius: 0px 0px 0px 70px;
		border: 2px solid #fff;
	}

	.main-background div.col-sm-9 {
		width: 70%;
		padding-right: 2em;
		padding-top: 1em;
		margin-top: 0;
		float: right;
	}

	.main-background div.col-sm-3 {
		margin: -2.5em 0 0 0;
		padding-top: 1em;
		width: 190px;
		box-shadow: 5px 0px 2px -1px #bbb;
		-webkit-box-shadow: 5px 0px 2px -1px #bbb;
		-moz-box-shadow: 5px 0px 2px -1px #bbb;
		-o-box-shadow: 5px 0px 2px -1px #bbb;
		border-radius: 0px 0px 0px 70px;
		-moz-border-radius: 0px 0px 0px 70px;
		-webkit-border-radius: 0px 0px 0px 70px;
		border: 1px solid transparent;
	}

	.central-container {
		width: 100%;
		max-width: 100%;
	}

	.central-content {
		max-width: 100%;
	}

	.specials-box-mobile {
		display: none;
	}

	.specials-box {
		display: block;
		width: 85%;
		margin: 20px 10px;
		padding: 10px;
		font-size: .9em;
		font-family:  "Trebuchet MS", Arial, Helvetica, sans-serif;
		font-weight: normal;
	}

	.social-tagline {
		clear: both;
		float: left;
		max-width: 100%;
		margin: 0 0 .5em 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: 100%;
		margin-bottom: 1em;
		padding-top: 1em;
		padding-bottom: 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: 0;
	}

	.social-menu a img {
		padding-right: 0;
	}

	#abmp-logo-mobile {
		display: none;
	}

	#abmp-logo {
		clear: both;
		display: block;
		text-align: center;
		margin-top: 0;
		padding-top: 2em;
	}

	#pac-webbuilder-contact label {
		width: 30%;
	}

	#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;
	}

	a#opengallery {
		clear: both;
		float:left;
		width: 100%;
	}

}

@media (min-width: 990px) { /* for larger than ipad or other tablets */

	.main-header {
		float: none;
		padding-left: 2em;
	}

	#business {
		font-size: 3em;
		margin-left: -1em;
	}

	#tagline {
		margin-left: -2.6em;
	}

	.main-background {
		width: 954px;
		padding-top: 11em;
	}

	.main-background-inner {
		width: 98%;
		margin-left: 1.1em;
		margin-top: 0;
	}

	.main-background div.col-sm-9 {
		width: 76%;
	}
	
	.main-background div.col-sm-3 {
		margin-left: -.25em;
	}

	.central-container {
		width: 77%;
	}
	
	.central-content p,
	.central-content ul li {
		font-size: 1em;
	}
	
	.title {
		font-family: "Times New Roman", Times, serif;
		font-size: 1.2em;
		font-weight: bold;
	}
	
	.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;
		display: block;
		float: left;
		max-width: 100%;
		margin-top: 0;
	}
	
	.online-sched {
		width: 100%;
	}

	.social-menu {
		padding-left: .5em;
		text-align: left;
		margin-top: .5em;
	}

	.social-tagline {
		margin-left: -3em;
	}

	.specials-box {
		width: 85%;
		float: none;
		margin: 2em 1em;
	}

	#pac-webbuilder-contact fieldset {
		width: 70%;
	}
	
	.replace-font-mobile {
		font-family: 'comic sans ms' !important;
	}

}

@media (min-width: 1024px) {
	.main-background-inner {
		margin-left: 1.2em;
		width: 97.9%;
	}
}

@media (min-width: 1280px) {

	.main-background-inner {
		margin-left: 1.1em;
	}
}
