/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
body {
	font-size: 100%;
	font-family: 'Open Sans', Helvetica,  sans-serif;
}

/* replacing comic-sans font with google fonts Short Stack on android and ios (see JS ) (it is reset at 992px for large devices */
.replace-font-mobile {
	font-family: 'Short Stack' !important;
        font-size: 90%; /* because this font is 10% larger */
}

/* to wrap super-long character strings in these areas */
.center-content-column,
.specials,
.specials-mobile,
.left-content-column,
nav ul li a,
.navbar-nav > li a,
.navbar-nav>li>a,
#business,
#tagline,
.copyright {
	word-wrap: break-word;
}

.container-fluid {
	max-width: 960px;
}

.main-header {
	max-width: 98%;
	width: 100%;
	margin: 2.5em 0 0 0;
}

	.main-header .member-logo {
		display: none;
	}

.header-inner-content {
	max-width: 100%;
	margin: 0;
}

	.header-inner-content div:after  { /*reset the clear-fix for this element */
		content: "";
	}

	#business {
		display: inline-block;
		text-transform: uppercase;
		font-size: 250%;
		font-weight: 500;
		max-width: 98%;
	}

	#tagline {
		clear: both;
		margin-top: .5em;
		font-size: 60%;
		font-weight: 600;
		margin-bottom: 1em;
		max-width: 98%;
	}

	.left-content-column {
		width: 20%;
	}

	.center-content-column {
		width: 84%;
		/* float: right; */
		float: none;
		margin: 0 auto;
		text-align: left;
		font-size: 1.15em;
		padding-right: 1em;
		padding-top: 3em;
	}

		.left-inner-content-column {
			width: 36%;
		}

		.center-inner-content-column {
			width: 94%;
			float: right;
			text-align: left;
			padding: 1em 0;
		}
			.title-social-box {
				margin: 0;
				padding: 0;
				width: 100%;
			}

				.title-social-box h2 {
					margin-top: 0;
					margin-bottom: .5em;
					font-size: 1.75em;
					font-weight: 600;
					max-width: 100%;
				}

			.main-text {
				font-size: 1.5em;
				font-weight: 400;
				padding: 0 1em 0 0;
			}

			.main-text img {
				max-width: 294px;
				margin-bottom: .25em;
			}

			.main-text ul {
				padding-left: 1.25em;
			}

			.main-text ul li {
				margin-left: 0;
			}

			.main-text h2 {
				font-size: 1.1em;
				font-weight: 600;
			}

			.main-text h3 {
				font-size: 1.1em;
				font-weight: 600;
			}

			.specials-mobile {
				width: 96%;
				padding: 1em;
				margin-right: 2em;
				text-align: center;
				font-size: 1.15em;
			}

			.specials-mobile img {
				max-width: 100%;
			}

			.assoc-logo-container-mobile {
				width: 94%;
				text-align: center;
				margin-top: 2em;
			}

			.assoc-logo-container {
				width: 99%;
				margin-top: 2em;
				margin-bottom: 2em;
				text-align: center;
			}

			.assoc-logo {
				width: auto;
			}

			.gift-cert-button {
				display: block;
				clear: both;
				margin-top: 1em;
				min-height: 1em;
			}

			.main-text iframe { /* make iframes responsive */
				clear: both;
				max-width: 100% !important;
			}

		footer.col-sm-6.col-xs-12 {
			width: 100%;
			margin: 1em auto;
			text-align: center;
			font-size: 1em;
			padding-bottom: 1em;
		}

			.ascp-name {
				width: 100%;
				font-weight: 400;
				text-transform: uppercase;
			}

			footer ul.list-inline {
				margin: 0;
				padding: 0;
				text-align: center;
			}

			footer ul.list-inline li {
				margin: 0;
			}

			.copyright {
				font-size: 1.2em;
			}

	.right-content-column {
		width: 12%;
	}

/* various table and form styles */
.table-responsive {
	width: auto;
	max-width: 98%;
	max-height: 100%;
	margin-top: 1em;
	margin-bottom: 1em;
	clear: both;
	overflow-y: hidden;
	overflow-x: auto;
}

	td { /* keep table data from wrapping in the row (for responsive tables) */
		white-space: nowrap;
	}

table.hours-and-scheduling	 {
	clear: both;
	display: block;
	float: left;
	font-size: 1em;
	margin-bottom: 0;
}

	table.hours-and-scheduling thead {
		display: none;
	}

	table.hours-and-scheduling td:empty {
			display: none;
		}

#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;
	}

#googmap {
	overflow: hidden; /* keeps map content within the div */
}

	#googmap iframe {
		height: 200px; /* limiting the height for better scrolling on mobile */
		vertical-align: middle;
	}

	#googmap img {
		position: absolute;
		top: 50%;
		left: 50%;
	}

#recaptcha_area {
	clear: both;
	display: -moz-inline-box; /* this keeps captcha display in correct position in FF */
	float: left;
	margin-left: -2em;
}

a#opengallery {
	clear: right;
	margin-top: 1em;
	margin-bottom: 1em;
}

	a#opengallery img {
		max-width: 80%;
		margin-top: 1em;
	}

.online-sched {
	display: block;
	float: left;
	clear: none;
	max-width: 100%;
	margin-bottom: 2em;
}

fieldset {
	min-width: 1px; /* bootstrap has it set to 0, but it breaks the contact form */
}

.video-responsive {
		max-width: 94%;
}

	.video-responsive-iframe {
		max-width: 100%;
	}
/* end styles for various tables and forms (general) */

@media (min-width: 480px) {
	#recaptcha_area {
		margin-left: -.5em;
	}
}

/*********** Small devices (landscape phones 640px and up) ***********/
@media (min-width: 640px) {

	.center-inner-content-column {
		width: 92%;
		margin-right: 1em;
	}

	.header-inner-content {
		max-width: 100%;
		margin-left: 1.25em;
		padding-left: 0;
	}

	#business {
		display: inline-block;
		width: 100%;
		float: left;
	}

	#tagline {
		width: 100%;
		font-weight: 400;
		margin-top: 1.5em;
	}

	.assoc-logo-container-mobile {
		width: 92%;
	}

	footer.col-sm-6.col-xs-12 {
		font-size: 1.2em;
	}

}

/*********** Small devices (tablets, 768px and up) ***********/
@media (min-width: 768px) {

	.container-fluid {
		max-width: 920px;
	}

	/* styles used to keep columns same height inside rows */
	.flex-row.row {
		display: flex;
		flex-wrap: wrap;
	}

	.flex-row.row > [class*='col-'] {
		display: flex;
		flex-direction: column;
	}

	.flex-text {
	  flex-grow:1
	}
	/* end flex-row styles */

	.main-content {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	.main-header {
		/* margin-bottom: 2em; */
		margin-bottom: 0;
	}

	.header-inner-content {
		max-width: 100%;
		margin: 0;
		text-align: center;
	}

		#business {
			display: inline-block;
			text-transform: uppercase;
			font-size: 350%;
			font-weight: 400;
		}

			.member-logo-link {
				display: block;
				float: left;
				max-width: 200px;
				min-height: 98px;
			}
			.main-header .left-logo-content-column .member-logo {
				display: block;
				margin-top: 0;
				max-width: 186px;
				position: absolute;
				right: 0.5em;
				top: 1.2em;
			}

			#tagline {
				clear: both;
				font-weight: 600;
				font-size: 50%;
				margin: 0 auto .5em auto;
				border-bottom: none;
				/* max-width: 60%; */
			}

	.left-content-column {
		width: 12%;
	}

.assoc-logo-container {
	width: 99%;
	margin-top: 2em;
	margin-bottom: 2em;
	text-align: center;
}

		.assoc-logo {
			width: auto;
			margin-bottom: 1em;
		}

	.left-content-column {
		width: 8%;
	}

	.center-content-column {
		width: 76%;
		float: right;
		margin-right: 0;
		font-size: .9em;
		padding: 0;
	}

		.center-inner-content-column {
			width: 66%;
			margin-top: 2.5em;
		}
		.BizName.center-inner-content-column {
			margin-top: 0;
			padding-top: 0;
			padding-bottom: 0;
			padding-left: 0.75em;
		}

		.left-logo-content-column,
		.left-inner-content-column {
			width: 30%;
			margin-top: 1em;
			margin-right: 1em;
		}
		.left-logo-content-column {
			margin-top: 0;
		}

		.title-social-box {
			margin: 0;
		}

		.title-social-box h2 {
			margin-top: 0;
			margin-bottom: .5em;
			font-size: 2.2em;
			font-weight: 600;
			max-width: 100%;
			display: inline-block;
			vertical-align: top;
		}

		.main-text {
			font-size: 1.75em;
			font-weight: 400;
			max-width: 100%;
		}

		.main-text img {
			max-width: 294px;
			margin-bottom: .25em;
			height: auto;
		}

		.main-text a {
			font-weight: 400;
		}

		.main-text h2 {
			font-size: 1.1em;
			font-weight: 600;
		}

		.main-text h3 {
			font-size: 1.15em;
			font-weight: 600;
		}

		.specials {
			width: 90%;
			margin-left: auto;
			margin-right: auto;
			font-size: 1.4em;
			padding: 1em;
			text-align: center;
		}

		#googmap iframe {
			height: 360px;  /* reset the map height for larger devices */
		}

		.video-responsive {
			max-width: 100%;
		}

	.right-content-column {
		width: 8%;
	}

	footer.col-sm-6.col-xs-12  {
		width: 100%;
		margin: 1em auto;
		text-align: center;
		font-size: 1.15em;
		font-weight: 400;
		letter-spacing: 1.5px;
		padding: 1em;
	}

		.ascp-name {
			width: 100%;
			font-weight: 600;
			text-transform: uppercase;
		}
}

@media (max-width: 850px) {

	/* make images with inline height/width responsive */
	img[style],
	img {
		max-width: 100% !important;
		height: auto;
		margin-right: 1em;
	}
	img.member-logo {
		margin-right: 0;
	}

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px)  {

	/* reset replace-font back to comic sans */
	.replace-font-mobile {  /* reset comic sans font to normal at 992px */
		font-family: 'comic sans ms' !important;
	}

	.main-content {
		width: 100%;
	}

	.center-content-column {
		width: 78%;
		margin-left: 2em;
	}

	.main-header {
		margin-top: 4em;
	}

	.header-inner-content {
		margin: 0 auto;
		padding: 1em 2em;
		text-align: center;
		float: none;
	}

	.main-header .left-logo-content-column .member-logo {
		margin-top: 0;
		position: absolute;
		top: 1.2em;
		display: block;
		margin-top: 0;
		max-width: 186px;
		right: 2em;
	}
	.BizName.center-inner-content-column {
		padding-left: 0;
		width: 66.6%;
	}
	#business {
		max-width: 100%;
		margin: auto;
	}

	#tagline {
		font-size: 40%;
		text-shadow: none;
		/* display: inline-block; */
	}

	.main-text {
		padding-right: 2em;
	}

	.specials {
		padding: 1em;
		text-align: center;
		width: 94%;
		margin: 1em 0 1em 1em;
		font-size: 1.4em;
	}

	.specials img {
		max-width: 190px;
		margin-bottom: .5em;
		margin-top: .5em;
	}

	td { /* reset table data for larger devices */
		white-space: normal;
	}

	footer.col-sm-6.col-xs-12 {
		width: 90%;
		padding: 0 4em;
		margin-bottom: 2em;
		margin-left: 3em;
	}
}
@media (max-width: 767px) {
	.header-inner-content {
		padding-left: 0;
	}
	.BizName.center-inner-content-column {
		width: 97%;
	}
}
@media (max-width: 480px) {
	.BizName.center-inner-content-column {
		width: 97.5%;
		float: right;
		text-align: left;
		padding: 1em 0 0 ;
	}
}
