/* Extra small devices (phones, less than 768px) 
	-  No media query since this is the default in Bootstrap */

/* 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;
}

.left-center-content-column {
	padding: 0;
}

.main-header {
	width: 100%;
	margin: 4.75em 0 0 0;
	min-height: 100px;
}

	.main-header .member-logo {
		display: none;
	}

	.header-inner-content {
		width: 100%;
		margin: 0;
		padding: 1em 1em 0 1em;
	}
	
		#business {
			text-transform: uppercase;
			font-size: 200%;
			font-weight: bold;
			line-height: 1em;
			max-width: 75%;
		}
		
		#tagline {
			font-size: 150%;
			margin-bottom: .5em;
			max-width: 75%;
		}
		
.main-content {
	width: 100%;
	padding: 0;
	margin: 0;
}

.left-content-column {
	margin-left: 1.5em;
	width: 37.5%;
}

	.assoc-logo-container {
		width: 99%;
		margin-top: 1em;
		margin-bottom: 1em;
	}
	
	.specials {
		padding: 1em;
		max-width: 179.5px; 
		font-size: .9em;
	}
	
		.specials img {
			max-width: 163px;
			margin-bottom: .5em;
			margin-top: .5em;
		}

.center-content-column {
	width: 100%;
	font-size: 1.25em;
	padding-left: 1em;
	padding-right: 1em;
}

	.title-social-box {
		margin-bottom: 1em;
		margin-top: 1em;
		width: 100%; 
	}
	
		.title-social-box h2 {
			margin-top: 0;
			margin-bottom: 0;
			font-size: 1.25em;
			font-weight: bold;
		}
	
	.main-text ul {
		padding-left: 1.25em;
	}

	.main-text ul li {
		margin-left: 0;
	}
	
	.main-text img {
		max-width: 294px;
		margin-bottom: .25em;
	}

	.specials-mobile {
		clear: both;
		padding: .5em 1em;
	}
	
		.specials-mobile img {
			padding-bottom: .5em;
		}

	.assoc-logo-container-mobile {
		width: 100%;
		text-align: center;
		margin-top: .5em;
	}
	
	.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;
	}

/*.right-content-column {
	background-size: contain;
	background-position: top right;
}*/

footer.col-xs-12 {
	text-align: center;
	font-size: 100%;
	padding: 1em 2em;
	margin: 0;
	max-width: 96%;
}

	.ascp-name {
		width: 100%;
		font-weight: bold;
		text-transform: uppercase;
	}
	
	footer ul.list-inline {
		margin: 0;
		padding: 0;
		letter-spacing: .15em;
		font-size: 84%;
	}
		
		footer ul.list-inline li {
			margin: 0;
		}
	
	.copyright {
		font-size: 100%;
	}
	
/* various table and form styles */  
.table-responsive { 
	width: auto;
	max-width: 98%;
	max-height: 100%;
	margin-top: 1em;
	margin-bottom: 2em;
	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: 1em;
	margin-top: 1em;
}

	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; /* to keep captcha displaying in correct place in firefox */
	float: left;
	margin-left: -1em;
}

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: 100%;
}

	.video-responsive-iframe {
	}
/* end styles for various tables and forms */

@media (min-width: 480px) { 
	.main-header {
		min-height: 120px;
	}
}

/* Small devices (landscape phones 640px and up) */
@media (min-width: 640px) {
	
	#business {
		max-width: 74%;
	}
	
	#tagline {
		max-width: 74%;
	}
	
}

@media (max-width: 768px) {
	
	/* make images with inline height/width responsive */
	img[style],
	img {
		max-width: 100% !important;
		width: auto;
		margin-right: 1em;
	}
	
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 

	.container-fluid {
		max-width: 960px;
	}
	
	/* 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 */
	
	.left-center-content-column {
		width: 100%;
		padding: 0 2em 0 0;
	}
	
	.main-header {
		margin-top: 0;
		min-height: 130px;
		width: 104%;
	}
	
		.main-header .member-logo {
			display: block;
			float: left;
			max-width: 100px; 
			margin: 0 .5em;
		}

	.header-inner-content {
		width: 100%;
		margin: 1em 0 0 0;
	}

		#business {
			text-transform: uppercase;
			font-size: 300%;
			font-weight: bold;
			line-height: 1em;
			max-width: 80%;
			text-align: left;
		}
		
		#tagline {
			font-size: 140%;
			margin-bottom: .5em;
			max-width: 80%;
			text-align: left;
		}
		
	.left-content-column {
		margin-left: 0;
		width: 41%;
	}

		.assoc-logo-container {
			width: 99%;
			margin-top: 1em;
			margin-bottom: 1em;
		}
		
		.assoc-logo {
			width: 100%;
		}
	
		.left-content-column .specials {
			clear: both;
			padding: 1em;
			max-width: 240px; 
			font-size: 1em;
		}
		
		.left-content-column .specials img {
			max-width: 163px;
			margin-bottom: .5em;
			margin-top: .5em;
		}
		
		.specials-mobile {
			width: 100%;
		}
	
		.specials-mobile img {
			max-width: 98%;
		}
	
	.center-content-column {
		width: 58%;
		font-size: 1.3em;
		padding-left: .4em;
	}

		.title-social-box {
			margin-bottom: 1em;
		}
		
			.title-social-box h2 {
				margin-top: 0;
				margin-bottom: 0;
				font-size: 1.5em;
				font-weight: bold;
			}
			
		.main-text h2 {
			font-size: 1.25em;
			font-weight: 400;
		}
		
		.main-text h3 {
			font-size: 1em;
			font-weight: 400;
		}
	
		.main-text img {
			max-width: 294px;
			margin-bottom: .25em;
			height: auto;
		}
		
	.right-content-column {
		/*background-size: contain;
		background-position: top right;*/
		float: right;
		clear: none;
		max-width: 38%;
		margin-top: 18%;
	}
	
	footer,
	footer.col-xs-12 {
		text-align: center;
		font-size: 85%;
		padding-bottom: 1em;
		margin-top: 1em;
	}
	
		.ascp-name {
			width: 100%;
			font-weight: bold;
			text-transform: uppercase;
		}
		
	#googmap iframe {
		height: 360px;  /* reset the map height for larger devices */
	}
	
	#recaptcha_area {
		margin-left: -.5em;
	}
 }

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { 

	.main-header {
		margin-left: 1em;
		width: 100%;
	}
	
	.left-center-content-column {
		width: 60%;
		padding: 0 2em 0 0;
	}

	#business {
		max-width: 98%;
		text-align: center;
	}
	
	#tagline {
		max-width: 98%;
		text-align: center;
	}
	
	.center-content-column {
		margin-top: 0;
		font-size: 1em;
	}
	
	.replace-font-mobile {  /* reset comic sans font to normal at 900px */
		font-family: 'comic sans ms' !important;
	}
	
	.copyright {
		font-size: 90%;
	}
	
}
