/* 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-container {
	width: 100%;
	padding: 0;
	margin: 0;
}

.main-header {
	max-width: 100%;
	width: 100%;
	margin: 5em 0 0 0;
}

	.main-header .member-logo {
		display: none;
	}
	
	.main-header-banner {
		display: block;
		clear: both;
		height: 80px;
		margin-top: 0;
	}

	
.header-inner-content {
	max-width: 100%;
	margin: 0;
	padding-bottom: 0;
}

	.header-inner-content div:after  { /*reset the clear-fix for this element */
		content: "";
	}

	#business {
		display: inline-block;
		text-transform: uppercase;
		font-size: 350%;
		font-weight: 500;
		line-height: 1em;
		text-align: center;
		width: 100%;
	}
	
	#tagline {
		font-size: 50%;
		font-weight: 600;
		margin-bottom: .5em;
		text-align: center;
		line-height: 1.25em;
		text-shadow: none;
	}
	
.main-content {
	width: 105%;
}

	.center-content-column {
		width: 100%;
		text-align: left;
		font-size: 1em;
		padding: 3em 0 0 0;
		margin: 0;
	}
	
		.left-inner-content-column {
			width: 90%;
		}

		.center-inner-content-column {
			width: 100%;
			float: left;
			text-align: left;
			padding: 1em;
			margin-left: 1em;
		}
	
			.title-social-box {
				margin: 0;
				padding: 0;
				width: 100%; 
			}
			
				.title-social-box h2 {
					margin-top: 0;
					margin-bottom: .5em;
					font-size: 2.2em;
					font-weight: 600;
					max-width: 100%;
				}
				
			.main-text {
				font-size: 1.5em;
				font-weight: 600;
				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.25em;
					font-weight: bold;
				}	
						
			.specials-mobile {
				width: 96%;
				padding: 1em;
				margin-right: 2em;
				text-align: center;
				font-size: 1.5em;
			}
			
				.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: 94%;
			margin: 1em auto;
			text-align: center;
			font-size: 1.25em;
			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.25em;
			}
			
/* 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: no-wrap;
	}
	
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: -.5em;
}

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 this is breaking the contact form */
}

.video-responsive {
		max-width: 100%;
}

	.video-responsive-iframe {
	}
/* end styles for various tables and forms (general) */

@media (min-width: 480px) {
	.main-header-banner {
		height: 120px;
	}
}

/*********** Small devices (landscape phones 640px and up) ***********/
@media (min-width: 640px) {
	
	.center-inner-content-column {
		width: 100%;
		margin-right: 1em;
	}
	
	.main-header {
		margin-bottom: 2em;
		margin-top: 5em;
	}
	
		.main-header-banner {
			display: block;
			clear: both;
			height: 128px;
		}
	
	.header-inner-content {
		float: none;
		max-width: 100%;
	}
	
		#business {
			display: inline-block;
			width: 100%;
			text-align: center;
		}
		
		#tagline {
			max-width: 100%;
			float: none;
			text-align: center;
			font-weight: 400;
			margin-top: 0;
		}
	
	.assoc-logo-container-mobile {
		width: 92%;
	}
	
	table .hours-and-scheduling {
		border-bottom: none;
	}
	
	footer.col-sm-6.col-xs-12 {
		font-size: 1.2em;
	}
	
}

@media (max-width: 850px) {
	
	/* make images with inline height/width responsive */
	img[style],
	img {
		max-width: 100% !important;
		height: 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 */
	
	.main-container {
		width: 96%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.header-inner-content {
		margin: 0 auto;
		padding: 1em 2em 0 2em;
		text-align: center;
		float: none;
	}
	
	.main-header {
		margin-top: 4em;
	}
	
		.main-header .member-logo {
			display: block;
			margin-top: 0;
			margin-bottom: 1em;
			position: absolute;
			top: 5em;
			left: 4em;
		}
	
		#business {
			max-width: 100%;
			text-align: center;
			margin: auto;
		}
		
		#tagline {
			width: auto;
			margin: 1em auto 0 auto;
			font-size: 50%;
			text-shadow: none;
			width: 60%
		}
	
	.main-header-banner {
		margin-top: 1em;
		height: 160px;
	}
	
	.main-content {
		margin: 0;
		padding-right: 2em;
		padding-left: 2em;
		width: 100%;
	}
	
.assoc-logo-container {
	width: 99%;
	margin-top: 0;
	margin-bottom: 1em;
	text-align: center;
}
		
	.assoc-logo {
		width: auto;
	}
	
	.center-content-column {
		text-align: left;
		font-size: .9em;
		padding: 0;
		margin: 0;
	}
	
		.center-inner-content-column {
			width: 64%;
			margin-right: 0;
		}
		
		.left-inner-content-column {
			width: 30%;
			padding: 3em 2em 0 0;
		}
	
		.title-social-box {
			margin: 0;
		}
		
			.title-social-box h2 {
				margin-top: 0;
				margin-bottom: 0;
				font-size: 2.25em;
				font-weight: 600;
				max-width: 100%;
				display: inline-block;
				vertical-align: top;
			}
	
		.main-text {
			font-size: 1.75em;
			font-weight: 600;
			max-width: 100%;
			margin-top: .8em;
		}
		
			.main-text img {
				max-width: 294px;
				margin-bottom: .25em;
				height: auto;
			}
		
			.main-text h2 {
				font-size: 1.2em;
				font-weight: 400;
			}
		
			.specials {
				width: 95.5%;
				font-size: 1.75em;
				padding: 1em;
				text-align: center;
				margin: 0 auto;
			}
		
		#googmap iframe {
			height: 360px;  /* reset the map height for larger devices */
		}
		
	footer.col-sm-6.col-xs-12  {
		width: 100%;
		margin: 1em auto;
		text-align: center;
		font-size: 1.25em;
		font-weight: 400;
		letter-spacing: 1.5px;
		padding: 1em;
	}
	
		.ascp-name {
			width: 100%;
			font-weight: 600;
			text-transform: uppercase;
		}
		
		.replace-font-mobile { 
			font-family: 'comic sans ms' !important;
		}
		
		.copyright {
			padding-left: 1em;
			padding-right: 1em;
		}
 }

/* 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;
		font-size: 100%;
	}
	
	td { /* reset table data for larger devices */
		white-space: normal;
	}
	
	.main-container {
		width: 78%;
	}
	
	#business {
		font-size: 420%;
	}
	
	#tagline {
		font-size: 40%;
	}
	
	.main-header-banner {
		height: 160px;
	}
	
	.title-social-box h2 {
		font-size: 2.25em;
	}
	
	.main-text {
		margin-top: 1em;
		font-size: 1.5em;
	}
	
		.main-text h2 {
			font-size: 1.2em;
			font-weight: 600;
		}
	
		.main-text h3 {
			font-size: 1em;
			font-weight: 600;
		}
		
		.main-text li a {
			font-weight: 400;
		}
	
	.left-inner-content-column {
			width: 34%;
			padding: 4em 2em 0 0;
		}
	
	.specials {
		width: 96%;
		font-size: 1.5em;
		padding: 1em;
		text-align: center;
		margin: 0 auto;
	}
	
		.specials img {
			max-width: 700px;
		}
	
	.assoc-logo-container {
		margin-top: 0;
	}
	
	footer.col-sm-6.col-xs-12 {
		margin: 0 auto;
	}
}
