/* 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,
#business,
#tagline,
.copyright {
	word-wrap: break-word;
}

body { 
	font-size: 100%; 
	font-family: 'Open Sans', Helvetica,  sans-serif;
}

.container-fluid {
	max-width: 960px;
}

.left-center-content-column {
	padding: 0 .5em 0 1em;
	width: 100%;
	margin-bottom: 1em;
}

.main-header {
	margin: 7em 0 0 0;
	width: 68%;
	min-height: 140px;
}

.main-header .member-logo {
	display: none;
}	

.header-inner-content {
	width: 100%;
	margin: 0;
	padding: 1em;
	min-height: 100px;
}

	.header-inner-content div:after  { /*reset the clear-fix */
		content: "";
	}

	#business {
		text-transform: uppercase;
		font-size: 220%;
		font-weight: bold;
		line-height: 1em;
		width: 100%;
	}
	
	#tagline {
		font-size: 165%;
		font-weight: normal;
		margin-bottom: 1em;
		width: 100%;
		font-family: Helvetica, Arial, sans-serif;
		line-height: 1em;
	}
	
.left-content-column {
	margin-left: 0;
	padding-left: 0;
}

	.assoc-logo-container {
		width: 99%;
		margin-top: 1em;
		margin-bottom: 1em;
		text-align: center;
	}
	
	.assoc-logo {
		width: auto;
	}
	
	.specials {
		padding: 1.5em 3em;
		max-width: 80%; 
		font-size: 1.25em;
		line-height: 1.5em;
	}
	
	.specials img {
		max-width: 163px;
		margin-bottom: .5em;
		margin-top: .5em;
	}
	
	.specials-mobile {
		width: 100%;
		margin-bottom: 2em;
		line-height: 1.75em;
		-webkit-box-shadow: 3px 3px 5px 0px rgba(40,40,40,1);
		-moz-box-shadow: 3px 3px 5px 0px rgba(40,40,40,1);
		box-shadow: 3px 3px 5px 0px rgba(40,40,40,1);
	}
	
	.specials-mobile img {
		max-width: 98%;
	}

.center-content-column {
	width: 94%;
	font-size: .9em;
	margin-left: 1em;
	padding-left: 2em;
	padding-top: 1em;
}

	.title-social-box {
		margin-bottom: 1em;
		width: 100%; 
	}
	
		.title-social-box h2 {
			margin-top: 0;
			margin-bottom: 0;
			font-size: 2.5em;
			font-weight: 600;
			max-width: 100%;
			width: auto;
		}
		
	.main-text {
		font-size: 1.75em;
		line-height: 1.75em;
		padding: 0;
	}
	
	.main-text a,
	.main-text a:hover {
		font-weight: 600;
	}
	
	.main-text h2 {
		font-size: 1em;
		font-weight: bold;
	}
	
	.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 ul li a,
	.main-text ul li a:hover {
		font-weight: 600;
	}
	
	.main-text ol {
		padding-left: 0;
	}
	
	.main-text ol li ol li {
		margin-left: 1.5em;
	}

	.specials-mobile {
		padding: .5em;
		font-size: 1.5em;
	}
	
	.specials-mobile img {
		padding-bottom: .5em;
		max-width: 100%;
	}

	.assoc-logo-container-mobile {
		width: 100%;
		text-align: center;
		margin-top: 2em;
	}
	
	.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 {
	text-align: center;
	font-size: 1em;
	padding-bottom: 1em;
	color: #000;
}

	.ahp-name {
		width: 100%;
		font-weight: bold;
		font-size: 1.25em;
		text-transform: uppercase;
		color: #000;
	}
	
	footer ul.list-inline {
		margin: 0;
		padding: 0;
		text-align: center;
	}
		
	footer ul.list-inline li {
		margin: 0;
		font-size: 1.25em;
	}
	
	.copyright {
		font-size: 1.5em;
	}
	
/* 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;
	}
	
.center-content-column .main-text table {
	max-width: 340px;
}
	
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;
	}
	
	table.hours-and-scheduling tr:first-child {
		border-top: 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 breaking the contact form */
}

.video-responsive {
		max-width: 100%;
}

	.video-responsive-iframe {
	}
/* end styles for various tables and forms (general) */

@media (min-width: 360px) {
	#pac-webbuilder-contact label {
		margin-bottom: .25em;
	}
}

@media (min-width: 480px) {
	
	.main-header {
		margin-top: 7em;
		width: 60%;
		min-height: 185px;
	}
	
	.center-content-column {
		width: 100%;
		margin-left: 0;
		padding: 1em 0 0 0;
	}
	
	.main-text {
		padding: 1em 1em 1em 1.5em;
		width: 97%;
	}
	
	.title-social-box {
		max-width: 90%;
		margin-left: 2em;
		margin-top: 0;
	}
	
	.title-social-box h2 {
		max-width: 64%;
	}
	
	.specials-mobile {
		width: 90%;
		margin: auto;
	}
	
	
	
}

/*********** Small devices (landscape phones 640px and up) ***********/
@media (min-width: 640px) {
	
	.main-header {
		min-height: 120px;
		width: 100%;
	}
	
	.header-inner-content {
		display: inline-block;
		width: 80%;
	}
	
	#business {
		width: 100%;
		font-size: 250%;
	}
	
	#tagline {
		width: 100%;
		font-size: 200%;
		font-weight: 600;
	}
	
	.title-social-box {
		max-width: 90%;
	}
	
	.main-text {
		font-size: 1.5em;
	}
	
	.specials-mobile {
		font-size: 1.25em;
	}
	
}

/*********** Small devices (tablets, 768px and up) ***********/
@media (min-width: 768px) { 
	
	/* 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 */
	
	.container-fluid {
		max-width: 960px;
		padding-left: 0;
	}
	
	.main-container {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.main-header {
		margin-top: 4.5em;
		margin-left: 1em;
		width: 80%;
		min-height: 160px;
	}
	
		.main-header .member-logo {
			display: block;
			float: left;
			margin-right: 1em;
			margin-bottom: 1em;
		}
		
	.header-inner-content {
		width: 80%;
		margin: 0;
		float: left;
	}

		#business {
			max-width: 100%;
			font-size: 3.75em;
			font-weight: bold;
			font-family: Helvetica, Arial, sans-serif;
			letter-spacing: .03em;
			text-transform: uppercase;
			margin: 0;
		}
		
		#tagline {
			clear: none;
			max-width: 100%;
			font-weight: bold;
			font-family: Helvetica, Arial, sans-serif;
			font-size: 1.75em;
		}
		
	.left-content-column {
		margin-left: 0;
		margin-right: 0;
		width: 32%;
	}
	
		.assoc-logo-container {
			width: 99%;
			margin-top: 1em;
			margin-bottom: 1em;
			text-align: center;
		}
		
		.assoc-logo {
			width: auto;
		}
	
		.specials {
			clear: both;
			width: 92%;
			max-width: 100%;
			height: auto;
			float: right;
			padding: 10px 15px 10px 15px;
			margin: 10px 0 20px 0;
			font-size: 1.5em;
			-webkit-box-shadow: 3px 3px 5px 0px rgba(40,40,40,1);
			-moz-box-shadow: 3px 3px 5px 0px rgba(40,40,40,1);
			box-shadow: 3px 3px 5px 0px rgba(40,40,40,1);
		}
		
		.specials img {
			max-width: 100%;
			margin-bottom: .5em;
			margin-top: .5em;
		}
		
	.center-content-column {
		max-width: 66%;
		font-size: .9em;
		padding-left: .4em;
	}
	
		.title-social-box {
			margin-bottom: 0;
			max-width: 100%;
		}
		
		.title-social-box h2 {
			margin-top: 0;
			margin-bottom: 0;
			font-size: 2.5em;
			font-weight: bold;
			max-width: 100%;
			display: inline-block;
			vertical-align: top;
		}
	
		.main-text {
			font-size: 1.75em;
			max-width: 120%;
			width: 120%;
		}
		
		.main-text img {
			max-width: 294px;
			margin-bottom: .25em;
			height: auto;
		}
		
		.main-text h2 {
			font-size: 1.25em;
			font-weight: 400;
			margin-top: .5em;
		}
		
		#googmap iframe {
			height: 360px;  /* reset the map height for larger devices */
		}
		
		#pac-webbuilder-contact label {
			margin-bottom: 0;
		}
		
		#edit-contact > div > div.form-item {
			margin-bottom: 0;
			margin-top: 0;
		}
		
		#edit-contact-actions-send {
			margin-top: 1em;
		}
	
	.right-content-column {
		background-size: contain;
		background-position: top right;
	}
	
	footer {
		text-align: center;
		font-size: 1em;
		font-weight: 300;
		letter-spacing: 1.5px;
		padding-bottom: 1em;
		padding-top: 2em;
	}
	
	.ahp-name {
		width: 100%;
		font-weight: 400;
		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;
	}
	
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px)  { 

	.replace-font-mobile {  /* reset comic sans font to normal at 992px */
		font-family: 'comic sans ms' !important;
		font-size: 100%;
	}
	
	.main-header {
		width: 100%;
		min-height: 140px;
	}
	
	#business {
		max-width: 100%;
		width: auto;
	}
	
	#tagline {
		max-width: 100%;
		width: auto;
		float: none;
	}
	
	.left-center-content-column {
		width: 60%;
	}
	
	.main-content {
		width: 100%;
	}
	
	.left-content-column {
		width: 34%;
		padding-right: 0;
	}
	
	.center-content-column {
		padding-right: 0;
		padding-top: 1.5em;
		margin-right: 0;
		margin-left: 1.5em;
		max-width: 63%;
	}
	
	.main-text {
		font-size: 1.75em;
		line-height: 1.5em;
		color: #000;
		width: 100%;
		padding-right: 0;
		margin-right: 0;
	}

	.main-text a {
		font-size: 1em;
		font-weight: 600;
	}
	
	.main-text a:hover {
		color: #666;
	}
	
	table.hours-and-scheduling	 {
		font-size: .8em;
	}
	
	table.hours-and-scheduling td { /* keep table data from wrapping in the row (for responsive tables) */
		white-space: nowrap;
	}
	
	.right-content-column {
		width: auto;
	}
	
	td { /* reset table data for larger devices */
		white-space: normal;
	}
	
	#pac-webbuilder-contact label {
		margin-bottom: 0;
	}
	
	#edit-contact > div > div.form-item {
		margin-top: 0;
		margin-bottom: 0;
	}
	
	#edit-contact-actions-send {
		margin-top: 1em;
	}
	
	.specials {
		font-size: 1.25em;
	}
	
	footer.col-sm-12 {
		float: none;
		width: 120%;
		text-align: center;
		padding-top: 2em;
		margin-top: 2em;
	}
	
	footer .ahp-name {
		font-size: 1em;
		font-weight: 500;
	}
	
	.copyright,
	footer ul.list-inline li  {
		font-size: 1.15em;
		font-weight: 500;
	}
	
}

/* Large devices (large desktops, 1024px and up) */
@media (min-width: 1024px) { 
}

@media (min-width: 1200px) { 
}

/* ipad mini, ipad 1 & 2 portrait */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 1)  {
	.container-fluid {
		max-width: 85%;
		width: 100%;
	}
	
	.main-header {
		width: 95%;
	}
	
	.main-text {
		font-size: 2em;
	}
	
	.navbar {
		margin-left: 2em;
	}
	
}
/* ipad mini, ipad 1 & 2 landscape */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 1)  {
	.container-fluid {
		max-width: 1200px;
	}
	
	.main-text {
		font-size: 2em;
	}
	
	.main-header {
		width: 90%;
	}
	
	.center-content-column {
		max-width: 50%;
	}
	
	.navbar {
		margin-left: 2em;
	}
	
}

/* target 10" android tablet, portrait orientation, specifically */
@media only screen 
and (min-device-width : 800px) 
and (max-device-width : 1111px) 
and (orientation : portrait) {
	.center-content-column {
		max-width: 54%;
	}
}

/* target 10" android tablet, landscape orientation, specifically */
@media only screen 
and (min-device-width : 1024px) 
and (max-device-width : 1280px) 
and (orientation : landscape) {
}
