/* 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: 100%;
	margin-right: 0;
	padding: 10px 0;
	padding-right: 0;
}

#default-logo {
	display: none; /* this template does not allow member-uploaded logo */
}

#business {
	margin-top: 15px;
	line-height: .7em;
	padding: 5px 0px 10px 0px;
	font-size: 2.25em;
	font-family: Tahoma, Geneva, sans-serif;;
	text-decoration: none;
}

#tagline {
	clear: both;
	font-family: Tahoma, Geneva, sans-serif;;
	font-size: 1.1em;
}

.main-background {
	max-width: 890px;
	margin: 0 auto;
	padding: 0;
}

.main-background-inner {
	width: 100%;
	padding: 0;
	margin: 0;
	height: 100%;
}

.main-background div.col-sm-3 {
	width: 101.25%;
	padding: .5em 0 0 0;
	margin-bottom: 0;
}

.central-container {
	width: 98%;
	padding-right: 0;
	margin: 0 auto;
}

.central-content {
	margin-top: 0;
	padding-top: 5em;
	width: 100%;
}

.central-content ul li {
	margin-left: 0;
	margin-right: .5em;
}

.central-content p a {
	text-decoration: underline;
}

.central-content .gift-cert-button {
    margin-top: 1em;
}

.social-tagline {
	margin-top: 1em;
	margin-left: 0;
}

.social-footer {
	margin-bottom: .5em;
	padding-right: 1em;
}

.social-right {
	float: right;
	clear: both;
	text-align: right;
	max-width: 100%;
	padding-right: 0;
}

.social-right a {
	display: inline;
}

.social-right a img {
	float: right;
	display: inline;
	margin-bottom: 1em;
	padding-left: .5em;
}

.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;
}

.specials-box-mobile img {
	margin: .5em;
}

aside.specials-box img {
	margin: .5em;
}

.specials-box {
	display: none;
}

#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 .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 {
	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: 98%;
}

#pac-webbuilder-contact input[type=submit] {
	max-width: 5em;
	clear: both;
}

#recaptcha_area {
	display: -moz-inline-box; /* this keeps the captcha from dipslaying in the upper right corner in firefox */
	float: left;
	clear: both;
	margin-left: 2em;
	margin-bottom: 1em;
}

.copyright {
	font-size: .8em;
}

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 */
	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;
}

.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: 7em auto 0 auto;
	}

	.col-lg-6.inner-header {
		width: 100%;
		margin: 0 0 0 0;
		padding: 0 .5em;
	}
	
	#business {
		clear: both;
		float: left;
		width: 100%;
		line-height: 1em;
		padding-top: 0;
		margin-top: -2.5em;
		font-size: 1.5em;
	}

	#tagline {
		clear: both;
		float: left;
		text-align: left;
		margin-bottom: 1em;
		margin-top: 0;
		font-size: .8em;
		width: 100%;
	}
	
	#abmp-logo {
		display: none;
	}
	
	.social-tagline {
		clear: both;
		float: left;
		margin-bottom: 2em;
		margin-top: -1em;
	}
	
	.social-menu-mobi {
		max-height: 50px;
		padding-bottom: 0;
		padding-top: 0;
		padding-bottom: 1em;
		text-align: center;
	}
	
	.social-menu {
		display: none;
	}
	
	.main-background,
	.main-background-inner {
		width: 100%;
		margin: 0 auto;
	}
	
	.main-background-inner {
		margin-top: -15em;
		width: 100%;
		background-color: #fff;
	}

	.main-background div.col-sm-9 {
		width: 98%;
		margin: 0 auto;
	}

	.main-background div.col-sm-3 {
		width: 100%;
		margin: 5em 0 0 .5em;
	}

	.central-content {
		clear: both;
		width: 99%;
		margin-left: -.5em;
		padding: 0;
	}
	
	.central-content p {
		clear: both;
		font-size: 1.2em;
	}
	
	.central-content ul li {
		font-size: 1.2em;
	}
	
	.specials-box-mobile {
		width: 100%;
		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%;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 100%;
	}
	
	.online-sched {
		display: block;
		float: left;
		clear: none;
		max-width: 100%;
		margin-bottom: 2em;
	}
	
}

@media (min-width: 360px) { /* Samsung Galaxy S4 portrait */
	.main-header {
		margin-top: 8em;
	}
	
	#recaptcha_area {
		margin-left: 0px;
	}
}

@media (min-width: 480px) { /* HTC phone & iPhone 4 landscape */
	.main-header {
		margin-top: 10em;
	}
	
	.main-background div.col-sm-3 {
		margin-top: 19%;
	}
	
	.specials-box-mobile {
		width: 100%;
	}
	
	#business {
		margin-top: -3em;
		font-size: 1.8em;
	}
	
	.social-tagline {
		margin-top: -1em;
		margin-bottom: 1em;
	}
	
}

@media (min-width: 600px) { /* Nook, Kindle, Samsung Tab 7 portrait */
	.main-header {
		margin-top: 12em;
		width: 97%;
	}
	
	#business {
		margin-bottom: 0;
	}
	
	#tagline {
		margin-top: 0;
		margin-bottom: 1em;
	}
	
	.central-content {
		width: 97%;
	}
	
	.social-right {
		margin-right: 0;
	}
	
	.main-background div.col-sm-3 {
		margin-top: 14%;
	}
	
	.main-background div.col-sm-9 {
		width: 100%;
	}
	
	.specials-box-mobile {
		width: 102%;
	}
	
	.copyright {
		width: 100%;
	}
	
}

@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;
	}
	
	#business {
		margin-top: -4em;
	}
	
	#tagline {
		clear: both;
	}
	
}

@media (min-width: 768px) { /* HP touchpad, iPad Mini portrait */ /* 770px = Samsung Note 10, Nexus 10, Kindle Fire portrait */

	.main-header {
		margin-top: 5em;
		text-align: right;
	}

	.main-header div {
		padding: 0;
	}
	
	.inner-header {
		margin-top: 0;
	}

	#business {
		clear: both;
		float: right;
		text-align: right;
		margin-top: 0;
		color: #fff;
		width: 80%;
	}
	
	#tagline {
		float: right;
		margin-top: 0;
		width: 99%;
	}
	
	.main-background {
		display: table; /* used to make the left column same height as right col */
		width: 735px;
		margin: 1em auto 0 auto;
		border-radius: 20px 20px 20px 20px;
		-moz-border-radius: 20px 20px 20px 20px;
		-webkit-border-radius: 20px 20px 20px 20px;
		border: 2px solid #000;
	}

	.main-background-inner {
		width: 100%;
		margin: 0;
		padding: 0;
		border-radius: 20px 20px 20px 20px;
		-moz-border-radius: 20px 20px 20px 20px;
		-webkit-border-radius: 20px 20px 20px 20px;
	}
	
	.main-background div.col-sm-9 {
		display: table-cell; /* used to make col fill 100% vertically */
		float: none;
		width: 510px;
		margin-bottom: 0;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
	}

	.main-background div.col-sm-3 {
		display: table-cell; /* used to make col fill 100% vertically */
		float: none;
		margin: 0 0 0 .5em;
		vertical-align: top;
		border-radius: 20px 20px 20px 20px;
		-moz-border-radius: 20px 20px 20px 20px;
		-webkit-border-radius: 20px 20px 20px 20px;
		border: 2px solid #fff;
		background-color: #212526;
		max-width:220px !important;
		width: 220px;
	}

	.central-container {
		width: 100%;
		max-width: 100%;
		float: right;
		margin-right: 0;
		margin-top: 22%;
	}
	
	.central-content {
		float: right;
		margin-top: 7em;
		padding: 0 1em 1em 0;
		max-width: 100%;
	}
	
	/* set the font size back to regular */
	.central-content p,
	.central-content ul li {
		font-size: .9em;
	}
	
	.central-content h1.title {
		margin-top: 0;
		margin-bottom: 2em;
	}

	.specials-box-mobile {
		display: none;
	}

	.specials-box {
		display: block;
		width: 85%;
		margin: 20px;
		padding: 10px;
		font-size: .9em;
		font-family: Verdana, Geneva, sans-serif;
		font-weight: normal;
	}

	.social-tagline {
		clear: both;
		float: right;
		max-width: 100%;
		margin: 0;
	}

	.social-right {
		clear: both;
		float: right;
		text-align: right;
		margin-right: 0;
		margin-top: -1.5em;
	}

	.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: center;
	}

	.social-tagline a,
	.social-right 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;
	}

	.social-right a img {
		clear: none;
		margin-left: .25em;
		padding-right: 0;
		padding-left: .25em;
		float: right;
	}

	#abmp-logo-mobile {
		display: none;
	}

	#abmp-logo {
		clear: both;
		display: block;
		text-align: center;
		margin-top: 0;
		padding-top: 2em;
	}
	
	.abmp-logo-image {
		margin-left: auto;
		margin-right: auto;
	}

	#pac-webbuilder-contact label {
		width: 30%;
	}
	
	#pac-webbuilder-contact select,
	#pac-webbuilder-contact input,
	#pac-webbuilder-contact textarea {
		width: 60%;
	}
	
	#recaptcha_area {
		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;
	}
	
}

@media (min-width: 900px) {
	.main-background {
		width: 860px;
	}
	
	.main-background div.col-sm-9 {
		width: 640px;
	}
	
}

@media (min-width: 990px) { /* for larger than ipad or other tablets */
	.main-header {
		max-width: 890px;
		padding-right: 0;
		padding-left: 0;
		margin-left: auto;
		margin-right: auto;
	}

	.inner-header {
		width: 75%;
		padding-left: 0;
		margin-left: 0;
	}
	
	#business {
		font-size: 2.25em;
	}
		
	#tagline {
		font-size: .6em;
		text-align: right;
	}
	
	.central-content {
		margin-top: 10em;
	}
	
	.central-content h1.title {
		margin-top: -3em;
		margin-bottom: 3em;
	}
	
	.central-content table {
		clear: none;
		border-bottom: 1px solid #ddd;
	}

	div.row.main-background {
		max-width: 890px;
		width: 890px;
	}

	.main-background div.col-sm-9 {
		width: 670px;
		padding-left: 0;
		margin-left: -1em;
	}
	
	.social-right {
		float: right;
		margin-top: 0;
	}

	.social-menu {
		padding-left: .5em;
		text-align: left;
	}
	
	.specials-box {
		width: 85%;
		float: none;
		margin: 2em auto;
	}
	
	.replace-font-mobile {
		font-family: 'comic sans ms' !important;
	}

	
}

@media (min-width: 1200px) {
}
