/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

body { 
	font-size: 100%; 
	font-family: Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4,
.navbar-nav > li a, .navbar-default .navbar-nav>li>a {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

h2.subTitle {
	font-size: 21px;
}

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

/* 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,
.left-center-content-column,
nav ul li a,
.navbar-nav > li a,
.navbar-nav>li>a,
#business,
#tagline,
.copyright {
	word-wrap: break-word;
}

.left-center-content-column {
	margin: 8em auto 1em auto;
	float: none;
	width: 90%;
	padding: 0;
}

.main-header {
	max-width: 100%;
	width: 100%;
	margin: 7em 0 0 0;
	padding: 1em 1em 0 1em;
}

.header-inner-content div:after  { /*reset the clear-fix for this element */
	content: "";
}
	
.header-inner-content {
	max-width: 100%;
	margin: 1em 0 0 0;
	text-align: center;
}
	
	#business {
		display: inline-block;
		text-transform: uppercase;
		font-size: 2.5em;
		font-weight: bold;
		line-height: 1em;
		max-width: 100%;
	}
	
	#tagline {
		font-size: 1.5em;
		font-weight: 400;
		line-height: 1.25em;
		margin-bottom: 1em;
	}
	
.main-content {
	margin: auto;
	padding: 0;
}

	.left-content-column {
		width: 0;
	}

	.center-content-column {
		width: 100%;
		float: left;
		text-align: left;
		font-size: .9em;
		margin: 2em 0 0 0;
	}

			.local-social-media a:hover img,
			.external-social-media a:hover img {
				opacity: 0.66;
			}
			.title-social-box {
				margin: 0;
				padding: 0;
				width: 100%; 
			}
			
				.title-social-box h2 {
					margin-top: 0;
					margin-bottom: 0;
					font-size: 2em;
					font-weight: 600;
					max-width: 100%;
				}
				
			.main-text {
				font-size: 1.75em;
				font-weight: normal;
				padding: 1em 0 0 0;
			}
			
				.main-text h2 {
					font-size: 1.3em;
					font-weight: 600;
					margin-top: 0;
				}
				
				.main-text h3 {
					font-size: 1.2em;
					font-weight: 400;
				}
				
				.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 ol {
					margin-left: 0;
					padding-left: 0;
				}

			.specials-mobile {
				width: 110.5%;
				padding: 1em 1em 1em 2em;
				margin: 1em 0 2em -1.15em;
				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;
			}

		body > div.container-fluid > div.row.flex-row.main-container > div.row > footer {
			width: 100%;
			margin: 1em auto;
			text-align: center;
		}

			.ahp-name {
				width: 100%;
				font-weight: 400;
				text-transform: uppercase;
			}
			
			body > div.container-fluid > div.row.flex-row.main-container > div.col-xs-12.col-sm-9.left-center-content-column > div > footer > ul {
				margin: 1em auto;
				padding: 0;
				width: 100%;
				text-align: center;
				font-size: 1.25em;
			}
				
				body > div.container-fluid > div.row.flex-row.main-container > div.col-xs-12.col-sm-9.left-center-content-column > div > footer > ul > li {
					margin-left: 0;
				}
				
			.copyright {
				font-size: 1.5em;
				text-align: center;
				margin-bottom: 2em;
				width: 90%;
			}

	.right-content-column {
		width: 0;
	}
	/* 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;
		margin-top: 1em;
	}

	#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: -1.25em;
}

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-text {
		padding: 0;
		width: 100%;
		margin-right: 0;
	}
	
		.main-text h2 {
			margin-top: 1em;
		}
		
	.specials-mobile {
		width: 108%;
	}
}

/*********** Small devices (landscape phones 640px and up) ***********/
@media (min-width: 640px) {
	
	.main-container {
		margin-right: -15px;
	}
	
	.header-inner-content {
		max-width: 100%;
	}
	
	#business {
		display: inline-block;
		width: 100%;
		float: left;
		text-align: center;
	}
	
	#tagline {
		width: 100%;
		float: left;
		text-align: center;
		font-weight: 400;
		margin-top: .15em;
	}
	
	.title-social-box {
		margin-bottom: 1em;
	}
	
	.title-social-box h2 {
		margin-bottom: 0;
	}
	
	.specials-mobile {
		width: 106%;
		margin-left: -1.15em;
	}
	
	.assoc-logo-container-mobile {
		width: 92%;
	}
	
	body > div.container-fluid > div.row.flex-row.main-container > div.row > footer {
		font-size: 1.4em;
	}
	
}

@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;
			min-height: 800px;
		}
		
		.flex-text {
		  flex-grow:1
		}
	/* end flex-row styles */
	
	.main-container {
		padding-bottom: 2em;
	}
	
	.main-content {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		margin-top: 0;
	}
	
	.left-center-content-column {
		margin-top: 0;
		margin-bottom: 0;
	}
	
	.main-header {
		margin-top: 2em;
	}
	
	.header-inner-content {
		max-width: 100%;
		margin: 0;
		text-align: center;
	}

		#business {
			display: inline-block;
			text-transform: uppercase;
			font-size: 2.5em;
			font-weight: bold;
			line-height: 1em;
			padding-left: .5em;
			padding-right: .5em;
		}
		
		#tagline {
			clear: both;
			width: 90%;
			margin: 1em auto;
			float: none;
			font-size: 2em;
			font-weight: 500;
		}
		
	.left-content-column {
		width: 30%;
		margin-right: 1em;
		padding-left: .5em;
	}

.assoc-logo-container {
		width: 99%;
		margin-top: 0;
		margin-bottom: 2em;
		padding-bottom: 1em;
		text-align: center;
	}
		
		 .assoc-logo {
			width: auto;
		}
	
	.center-content-column {
		width: 67%;
		font-size: .9em;
		padding: 0;
		margin: 2em 0;
	}
	
		.title-social-box {
			margin: 0 0 1em 0;
			width: 95%;
		}
		
			.title-social-box h2 {
				margin-top: 0;
				margin-bottom: 0;
				font-size: 2.5em;
				font-weight: 500;
				max-width: 100%;
				display: inline-block;
				vertical-align: top;
			}
	
		.main-text {
			font-size: 1.75em;
			font-weight: 400;
			max-width: 100%;
			padding-right: 1.5em;
		}
		
			.main-text img {
				max-width: 294px;
				margin-bottom: .25em;
				height: auto;
			}
			
			.main-text h2 {
				font-size: 1.25em;
				font-weight: 400;
			}
			
			.main-text h3 {
				font-size: 1.25em;
				font-weight: 600;
			}
		
		.specials {
			width: 100%;
			margin-left: auto;
			margin-right: auto;
			margin-bottom: 1em;
			font-size: 1.5em;
			padding: 1em 1.5em 1em 3em;
		}
		
		#googmap iframe {
			height: 360px;  /* reset the map height for larger devices */
		}

	body > div.container-fluid > div.row.flex-row.main-container > div.col-sm-3.hidden-xs.right-content-column {
		display: none;
	}
	
	body > div.container-fluid > div.row.flex-row.main-container > div.row > footer {
		width: 100%;
		margin: 0 auto 1em auto;
		float: none;
		padding: 1em 1em 2em 1em;
		text-align: center;
	}
	
		footer > ul {
			text-align: center;
		}
	
		body > div.container-fluid > div.row.flex-row.main-container > div.col-xs-12.col-sm-9.left-center-content-column > div > footer > ul {
			font-size: 1em;
	}
		
		footer > ul li {
			margin-left: 0;
			font-size: 1.1em;
		}
		
		.copyright {
			font-size: 1.25em;
			padding: 0;
		}
	
		.ahp-name {
			width: 100%;
			font-weight: 600;
			text-transform: uppercase;
		}
		
 }

/* 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: 102%;
	}

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

	.left-center-content-column {
		/* width: 70%;
		margin: 0 15% 0 15%; */
		width: 100%;
		margin: 0 10% 0 10%;
		float: none;
		padding-bottom: 2em;
	}
	
	.main-content {
		width: 100%;
	}
	
	.main-header {
		margin-top: 4em;
	}
	
	#business {
		max-width: 100%;
	}
	
	#tagline {
		font-size: 1.75em;
		font-weight: 400;
	}
	
	.title-social-box h2 {
		font-size: 2.2em;
	}
	
	.main-text {
		font-size: 1.45em;
		line-height: 1.5em;
	}
	
		.main-text h2 {
			font-size: 1.25em;
			font-weight: 600;
		}
		
		.main-text h3 {
			font-size: 1.1em;
			font-weight: 600;
		}
		
		.main-text a {
			font-weight: normal;
			text-decoration: underline;
		}
	
	.specials {
		padding: 1em 3em;
		width: 100%; 
		margin: 1em 0;
		font-size: 1.25em;
		line-height: 1.5em;
	}
	
		.specials img {
			max-width: 440px;
			margin-bottom: .5em;
			margin-top: .5em;
		}
		
	td { /* reset table data for larger devices */
		white-space: normal;
	}
	
	body > div.container-fluid > div.row.flex-row.main-container > div.row > footer {
		width: 672px;
		margin: 0 0 2em .6em;
		float: none;
		padding: 1em;
	}
	
	body > div.container-fluid > div.row.flex-row.main-container > div.col-xs-12.col-sm-9.left-center-content-column > div > footer > ul {
		margin-bottom: 0;
		font-size: 1.2em;
	}
	
	.copyright {
		font-size: 1.1em;
		width: 100%;
	}
}
