/* 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;
}

.container-fluid {
	max-width: 960px;
	padding: 0;
}

/* 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;
}

/* 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 */
}

.main-container {
	margin-top: 0;
	padding-top: 6.5em;
}

.main-header {
	margin: 0;
}

	.main-header .member-logo {
		display: none;
	}

.header-inner-content div:after  { /*reset the clear-fix for this element */
	content: "";
}

.header-inner-content {
	width: 72%;
	margin-top: 0;
}

	#business {
		text-transform: uppercase;
		font-size: 250%;
		font-weight: 600;
		line-height: 1em;
		max-width: 100%;
		padding: .5em 0 0 .5em;
	}
	
	#tagline {
		font-size: 50%;
		margin-bottom: 1em;
		max-width: 100%;
		line-height: 1.5em;

	}
	
.main-content {
	margin-left: 0;
	margin-right: 1em;
	padding: 0;
}
	
	.assoc-logo-container {
		width: 99%;
		margin-top: 1em;
		margin-bottom: 1em;
	}
	
		.assoc-logo {
			width: 100%;
		}
	
	.specials {
		padding: 1em;
		max-width: 179.5px; 
		font-size: .9em;
		margin-bottom: 1em;
	}
	
	.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;
		width: 100%; 
	}
	
		.title-social-box h2 {
			margin-top: 0;
			margin-bottom: 0;
			font-size: 1.5em;
			font-weight: 600;
		}
		
	.main-text {
		font-size: 1.5em;
	}
	
		.main-text img {
			max-width: 294px;
			margin-bottom: .25em;
		}
		
		.main-text h2 {
			font-size: 1.1em;
			font-weight: 600;
		}
		
		.main-text h3 {
			font-size: 1.05em;
			font-weight: 400;
		}
	
		.main-text ul {
			padding-left: 1.25em;
		}
		
		.main-text ul li {
			margin-left: 0;
		}
	
	.specials-mobile {
		width: 100%;
		font-size: 1.2em;
		padding: 1em;
		margin-bottom: 1em;
	}
	
		.specials-mobile img {
			max-width: 98%;
			padding-bottom: .5em;
		}

	.assoc-logo-container-mobile {
		width: 100%;
		text-align: center;
		margin-top: .5em;
		margin-bottom: 1em;
	}
	
	.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 {
	text-align: center;
	font-size: 125%;
	padding-bottom: 1em;
}

	.ascp-name {
		width: 100%;
		font-weight: bold;
		text-transform: uppercase;
	}
	
	footer ul.list-inline {
		margin: 0;
		padding: 0;
		text-align: center;
	}
		
		footer ul.list-inline li {
			margin: 0;
		}
		
	.copyright {
		font-size: 125%;
		padding: 0 1em;
	}
	
/* 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: -.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 it breaks the contact form */
}

.video-responsive {
	max-width: 100%;
}

	.video-responsive-iframe {
	}
/* end styles for various tables and forms (general) */


/*********** Small devices (landscape phones 640px and up) ***********/
@media (min-width: 640px) {
	
	.main-container {
		margin-left: 0;
		margin-right: -10px;
	}
	
	.left-center-content-column {
		margin-top: 0;
		padding-left: 0;
		padding-right: 0;
	}
	
	.header-inner-content {
		width: 82%;
		padding: 1.2em;
	}
	
	#tagline {
		margin-top: .5em;
		margin-bottom: .5em;
	}
	
	.main-content {
		padding: 0 1.5em;
	}
	
	.specials-mobile {
		font-size: 1.3em;
	}
	
	.assoc-logo-container-mobile {
		margin-top: 1.5em;
	}
	
	footer {
		font-size: 1.25em;
		padding: 0;
	}
	
	footer.col-xs-12 {
		padding: 0;
	}
	
	.footer {
		margin-right: 0;
		margin-left: 0;
	}
	
}

@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) { 

	.main-container {
		margin-top: 0;
		padding-top: 4em;
	}

	.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 */
	
	.replace-font-mobile {  /* reset comic sans font */
		font-family: 'comic sans ms' !important;
		font-size: 100%;
	}
	
	.left-center-content-column {
		width: 68%;
	}
	
	.main-header {
		margin-top: 1em;
		margin-left: 1em;
		max-width: 98%;
	}
	
		.main-header .member-logo {
			display: block;
			float: left;
			max-width: 100px; /* test this */
			margin-right: 1em;
			margin-bottom: 1em;
		}

	.header-inner-content {
		width: 100%;
		margin: 0;
		padding: 0;
		margin-top: 0;
	}

		#business {
			text-transform: uppercase;
			font-size: 380%;
			font-weight: bold;
			line-height: 1em;
			padding-top: 0;
		}
		
		#tagline {
			font-size: 45%;
			margin-bottom: 1em;
			line-height: 1.25em;
		}
		
	.assoc-logo-container {
		width: 99%;
		margin-top: 1em;
		margin-bottom: 1em;
	}
	
		.assoc-logo {
			width: 100%;
		}
	
	.specials {
		padding: 1em;
		max-width: 179.5px; 
		font-size: 1.4em;
	}
	
		.specials img {
			max-width: 163px;
			margin-bottom: .5em;
			margin-top: .5em;
		}
		
	.specials-mobile {
		width: 100%;
		margin-bottom: 1em;
	}

		.specials-mobile img {
			max-width: 98%;
		}
		
	.main-content {
		max-width: 100%;
		padding-right: 0;
		margin-right: 0;
	}
	
	.left-content-column {
		width: 35%;
		padding-top: 2em;
	}
	
	.center-content-column {
		width: 65%;
		font-size: 1.2em;
		padding-left: .4em;
		padding-right: 0;
	}

		.title-social-box {
			margin-bottom: 1em;
		}
		
			.title-social-box h2 {
				margin-top: 0;
				margin-bottom: 0;
				font-size: 2em;
				font-weight: bold;
			}
			
		.main-text {
			font-size: 1.5em;
		}
		
			.main-text a {
				font-weight: 400;
			}
		
			.main-text img {
				max-width: 294px;
				margin-bottom: .25em;
				height: auto;
			}
			
			.main-text h2 {
				font-size: 1.1em;
				font-weight: 600;
			}
	
		#googmap iframe {
			height: 360px;  /* reset the map height for larger devices */
		}	
		
	footer {
		text-align: center;
		font-size: 1.25em;
		padding-bottom: 1em;
	}
	
	footer.col-sm-12.col-xs-12 {
		width: 90%;
	}
	
		.ascp-name {
			width: 100%;
			font-weight: bold;
			text-transform: uppercase;
		}
		
		.copyright {
			padding: 0 1em;
			width: 96%;
		}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 990px) { 

	.main-container {
		padding-top: 7em;
	}
	
	.left-center-content-column {
		width: 55%;
	}
	
	.main-header {
		margin-top: 0;
		margin-left: 3em;
		padding-right: 1em;
		max-width: 100%;
	}
	
	.header-inner-content {
		padding-top: 1em;
	}
	
		#business {
			font-size: 420%;
		}
		
		#tagline {
			font-size: 40%;
		}
	
	.main-content {
		margin-right: 0;
		max-width: 98%;
	}
	
	.left-content-column {
		width: 39%;
		margin-left: 2em;
		padding-top: 1em;
	}
	
	.center-content-column {
		width: 56%;
		padding-right: 0;
	}
	
	.title-social-box {
		padding-top: 2em;
	}
	
	.title-social-box h2 {
		font-weight: 600;
		font-size: 2em;
		max-width: 100%;
	}
	
	.main-text {
		font-size: 1.25em;
	}
	
	.specials {
		font-size: 1.2em;
	}
	
	td { /* reset table data for larger devices */
		white-space: normal;
	}
	
	.table-responsive { /* at this size - don't need scroll since text will wrap within cells */
		overflow-x: auto;
	}
	
	.assoc-logo-container {
		text-align: center;
		margin-top: 2em;
	}
	
	footer {
		font-size: 100%;
		margin-top: 1em;
	}
}
