/* Macoupin */






/* TOP NOTICE */
#topNotice {
	background-color:var(--purple);
}





/* TOP MENU */
#topMenuWrap {
	background-color:var(--green);
}
#topMenu ul {
	list-style:none;
	display:flex;
	flex-direction:row;
	padding:0;
	justify-content: flex-end;
	margin:0;
}
#topMenu li {
	font-weight:700;
}
#topMenu a {
	display:block;
	padding:5px 10px;
}
@media(max-width:991px) {
	#topMenu ul {
	    display: flex;
	    flex-direction: row;
	    flex-wrap: wrap;
	    justify-content: space-between;
	    margin-left: -1px;
	}
	#topMenu li ul {
	    flex-grow: 1;
	    flex-basis: auto;
	    margin: .5em 0;
	    padding: 0 1em;
	    text-align: center;
	    border-left: 2px solid var(--white);
	    font-size:14px;
	    line-height:1;
	}
	#topMenu li:first-child {
		border:none;
	}
	#topMenu li a {
		padding-top:0;
		padding-bottom:0;
	}
}
@media(max-width:767px) {
	#topMenu li {
	    font-size:2.5vw;
	}
}





/* LOGO/MENU ROW */
#logo-menu {
	margin-top:20px;
	margin-bottom:20px;
}
#logo-menu > .container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, auto);
	grid-column-gap: 0px;
	grid-row-gap: 10px;	
	margin-bottom:-30px;
}
#headerLogo {
	display:block;
	grid-area: 1 / 1 / 2 / 2;
}
#headerButtons {
	grid-area: 1 / 2 / 2 / 3;
	flex:3;
	display:flex;
	justify-content: flex-end;
	align-items:center;
	gap:10px;	
}
#headerButtons .button {
	color:var(--green);
	border-color:var(--green);
	text-transform: none;
	padding:4px 10px 6px;
	line-height:1;
}
#search-form {
	border:2px solid var(--green);
}
#search-form input {
	border:none;
	height:26px;
	padding:2px 10px;
	width:120px;
}
#search-form input:focus-visible {
	outline:none;
}
#search-form button {
	background-color:var(--green);
	border-radius:0;
	padding:0 10px;
}
#search-form .fa-search:before {
	color:var(--white);
}
#hamburger {
	display:none;
}
#logo-menu #theMainMenu {
	grid-area: 2 / 1 / 3 / 3;
}
#logo-menu #theMainMenu > ul {
	list-style:none;
	display:flex;
	flex-direction:row;
	padding:0;
	justify-content: space-around;
	margin:0;	
}
#logo-menu #theMainMenu li {
	font-size:22px;
	font-weight:700;
}
#logo-menu #theMainMenu a {
	display:block;
	color:var(--green);
	padding:5px 20px;
}
#logo-menu #theMainMenu a:hover {
	text-decoration-thickness:2px;
}
#logo-menu #theMainMenu ul ul {
	background-color:var(--green);
}
#logo-menu #theMainMenu ul ul a {
	color:var(--white);
}
#logo-menu #theMainMenu ul ul a:hover {
	color:var(--green);
	background-color:var(--white);
}
#logo-menu #theMainMenu ul ul li.open > a {
	color:var(--green);
	background-color:var(--white);
}

@media(max-width:1199px) {
	#logo-menu #theMainMenu li {
		font-size:20px;
	}	
}
@media(max-width:991px) {
	#logo-menu > .container {
		margin-bottom:-20px;
	}
	#hamburger {
		grid-area: 1 / 2 / 2 / 3;
		font-size:30px;
		color:var(--green);
		display:flex;
		justify-content: flex-end;
		align-items: center;
	}
	#headerButtons {
		grid-area: 2 / 1 / 3 / 3;
		justify-content: space-around;
	}
	#logo-menu #theMainMenu {
		display:none;
	}
	.sidebar-nav.in-view {
		background-color:var(--white);
	}
	.sidebar-nav li {
		line-height:1.2;
	}
	.sidebar-nav a {
		color:var(--green);
		text-shadow:none;
	}
}
@media(max-width:767px) {
	#headerButtons .button {
		font-size:2.5vw;
	}
	#search-form input {
		font-size:2.5vw;
		padding:0 10px;
		height:22px;
	}
	#search-form button {
		font-size:3vw;
	}
}






/* BILLBOARD */
#billboardRow > img {
	aspect-ratio:2.5;
	object-fit:cover;
	object-position:center center;
}
@media(min-width:1600px) {
	#billboardRow > img {
		aspect-ratio:auto;
		width:100%;
		height:788px;
	}
}





/* HOME PAGE TITLE */
#homeQuickLinks {
	width:100%;
	display:flex;
	position:relative;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	margin:0 0 -35px;	
}
.homeQuickButton {
	display:flex;
	justify-content: center;
	align-items: center;
	flex:1;
	text-transform:uppercase;
	font-size:36px;
	line-height:1;
	font-weight:700;
}
.homeQuickButton > span {
	display:block;
	background-repeat:no-repeat;
	background-size:auto calc(100% - 20px);
	background-position:left 10px center;
	padding:20px 20px 20px 80px;
}
#healthServicesButton {
	background-color:var(--green);
}
#healthServicesButton > span {
	background-image:url("/img/icon-cross.svg");
}
#locationsButton {
	background-color:var(--blue);
}
#locationsButton > span {
	background-image:url("/img/icon-map-pin.svg");
}
@media(max-width:991px) {
	.homeQuickButton {
		font-size:28px;
	}
}
@media(max-width:767px) {
	.homeQuickButton {	
		font-size:3.5vw;
	}
	.homeQuickButton > span {
		background-size:auto calc(100% - 2vw);
		background-position:left 2vw center;
		padding:10px 2vw 10px 10vw;
	}
}






/* HOME INTRO */
#homeIntro {
}
.logoBG {
	background-image:url("/img/emblem-bg.svg");
	background-repeat:no-repeat;
	background-position:right center;
	background-size:auto 70%;
}
#homeIntro p {
	text-align:center;
}
#homeIntroButtonWrap { /* See homeNewsButton below */
	background-image:linear-gradient(to bottom, 
		rgba(0,0,0,0)  0%  18%,
		var(--red)    18%  22%, 
		rgba(0,0,0,0) 22%  48%, 
		var(--yellow) 48%  52%, 
		rgba(0,0,0,0) 52%  78%, 
		var(--green2) 78%  82%,
		rgba(0,0,0,0) 82% 100%);
	text-align:center;
	margin-top:40px;	
}
#homeIntroButtonWrap span {
	display:inline-block;
	background-color:var(--white);
	padding:0 20px;
}
#homeIntroButtonWrap .button {
	background-color:var(--purple);
	color:var(--white);
	border-color:var(--purple);
}
#homeIntroButtonWrap .button:hover {
	background-color:var(--white);
	color:var(--white);
	border-color:var(--purple);
}
@media(max-width:767px) {
	.logoBG {
		background-size:60% auto;
		background-position:right 10% center;
	}
}







/* HOME PAGE SERVICES */
#homeServices {
	background-color:var(--cream);
	padding-bottom:40px;
}
#homeServices h2 {
	text-align:center;
}
#homeServices p {
	text-align:center;
}
.serviceBoxes {}
.fourAcross {
	display:flex;
	gap:20px;
}
.serviceBoxes > a {
	position:relative;
	flex:1;
	aspect-ratio:.55;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.serviceBoxes > a > span {
	display:block;
	position:absolute;
	bottom:0;
	background-color:var(--green);
	color:var(--white);
	text-align:center;
	text-transform:uppercase;
	font-weight:700;
	width:100%;
	padding:20px;
	font-size:26px;
	line-height:1.5;
	transition:.4s ease all;
}
.serviceBoxes > a:hover > span {
	padding:80px 20px;
}

@media(max-width:1199px) {
	.serviceBoxes > a > span {
		font-size:20px;
	}	
	.serviceBoxes > a:hover > span {
		padding:60px 20px;
	}	
}
@media(max-width:991px) {
	.serviceBoxes > a > span {
		font-size:15px;
	}	
	.serviceBoxes > a:hover > span {
		padding:50px 20px;
	}	
}
@media(max-width:767px) {
	.serviceBoxes {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
	}
	.serviceBoxes > a > span {
		font-size:4vw;
	}	
}
@media(max-width:499px) {
	.serviceBoxes {
		display:flex;
		flex-direction:column;
	}
	.serviceBoxes > a > span {
		font-size:8vw;
	}		
}















/* HOME CALLOUT */
#homeCallout {
	background-color:var(--green);
	display:flex;
	padding:0;
}
#homeCallout > div {
	flex:1;
}
#homeCalloutImage {
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;	
}
#homeCalloutContent {
	display:flex;
	padding:20px 0 40px;
}
#homeCalloutContent > .halfContainer {
	padding-left:20px;
}
#homeCalloutContent .button {
	background-color:var(--white);
	color:var(--green);
	border-color:var(--green);
}
#homeCalloutContent .button:hover {
	background-color:var(--green);
	color:var(--white);
	border-color:var(--white);
}
@media(min-width:768px)  {.halfContainer {width:calc(375px - 20px);}}
@media(min-width:992px)  {.halfContainer {width:calc(485px - 20px);}}
@media(min-width:1200px) {.halfContainer {width:calc(585px - 20px);}}

@media(max-width:767px) {
	#homeCallout {
		flex-direction:column;
	}
	#homeCalloutImage {
		aspect-ratio:1.5;
	}
}





/* HOME CAREERS */
#homeCareers {
	padding-bottom:0;
}
#homeCareers h2 {
	color:var(--purple);
}
#homeCareers > .container {
	display:flex;
}
#homeCareersText {
	flex:2;
	padding:20px 0;
}
#homeCareersImage {
	flex:1;
	display:flex;
	align-items: flex-end;
}
#homeCareers .button {
	background-color:var(--purple);
	color:var(--white);
	border-color:var(--white);
}
#homeCareers .button:hover {
	background-color:var(--white);
	color:var(--purple);
	border-color:var(--purple);
}
@media(max-width:767px) {
	#homeCareers > .container {
		flex-direction:column;
	}
}






/* HOME NEWS */
#homeNews {
	background-color:var(--purple);
}
#homeNews h2 {
	text-align:center;
}
#homeNewsItems {
	display:flex;
	gap:20px;
}
#homeNewsItems article {
	background-color:var(--white);
	box-shadow:0 10px 0 var(--lightPurple);
	padding:20px 20px 60px;
	flex:1;
	position: relative;
}
#homeNewsItems article h3 {
	color:var(--purple);
	font-weight:700;
}
#homeNewsItems article p {
	color:var(--black);
}
#homeNewsItems article .readMore {
	display:block;
	color:var(--black);
	position: absolute;
	bottom:10px;
	width:90%;
	text-align:center;
}
#homeNewsItems article .readMore:hover {
	color:var(--purple);
	text-decoration-color: var(--purple);
}
#homeNewsButton { /* See homeIntroButtonWrap above */
	background-image:linear-gradient(to bottom, 
		rgba(0,0,0,0)  0%  18%,
		var(--red)    18%  22%, 
		rgba(0,0,0,0) 22%  48%, 
		var(--yellow) 48%  52%, 
		rgba(0,0,0,0) 52%  78%, 
		var(--green2) 78%  82%,
		rgba(0,0,0,0) 82% 100%);
	text-align:center;
	margin-top:40px;
}
#homeNewsButton span {
	display:inline-block;
	background-color:var(--purple);
	padding:0 20px;
}
#homeNewsButton .button {
	color:var(--purple);
	border-color:var(--purple);
}
#homeNewsButton .button:hover {
	background-color:var(--purple);
	color:var(--white);
	border-color:var(--white);
}
@media(max-width:767px) {
	#homeNewsItems {
		flex-direction:column;
	}
}







/* UNDER PAGE */

/* UNDER PAGE BILLBOARD */
.internal #billboardRow {
	aspect-ratio:2.5;
	background-size:cover;
	background-position:center center;
}
@media(min-width:1600px) {
	.internal #billboardRow {
		width:100%;
		height:788px;
		aspect-ratio:auto;
	}
}


/* UNDER PAGE TITLE */
#pageTitleRow h1 {
	background-color:var(--green);
	text-align:center;
	padding:10px 20px;
	position:relative;
	display:inline-block;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	margin:0;
}





/* UNDER PAGE SERVICE BOXES */
.serviceBoxes.underPage {
	display:grid;
	gap:20px;
	margin-top:20px;
	margin-bottom:40px;
}
.numberOfBoxes-1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}
.numberOfBoxes-2 {
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
}
.numberOfBoxes-3 {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr;
}
.numberOfBoxes-4 {
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 1fr;
}
.numberOfBoxes-5 {
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: repeat(2, 1fr);
}
	.numberOfBoxes-5 > a:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
	.numberOfBoxes-5 > a:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
	.numberOfBoxes-5 > a:nth-child(3) { grid-area: 1 / 5 / 2 / 7; }
	.numberOfBoxes-5 > a:nth-child(4) { grid-area: 2 / 2 / 3 / 4; }
	.numberOfBoxes-5 > a:nth-child(5) { grid-area: 2 / 4 / 3 / 6; }	

.numberOfBoxes-6 {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
}
.numberOfBoxes-7 {
	grid-template-columns: repeat(8, 1fr);
	grid-template-rows: repeat(2, 1fr);
}
	.numberOfBoxes-7 > a:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
	.numberOfBoxes-7 > a:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
	.numberOfBoxes-7 > a:nth-child(3) { grid-area: 1 / 5 / 2 / 7; }
	.numberOfBoxes-7 > a:nth-child(4) { grid-area: 1 / 7 / 2 / 9; }
	.numberOfBoxes-7 > a:nth-child(5) { grid-area: 2 / 2 / 3 / 4; }
	.numberOfBoxes-7 > a:nth-child(6) { grid-area: 2 / 4 / 3 / 6; }
	.numberOfBoxes-7 > a:nth-child(7) { grid-area: 2 / 6 / 3 / 8; }

.numberOfBoxes-8 {
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
}

@media(max-width:767px) {
	.numberOfBoxes-3 {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(2, 1fr);
	}	
		.numberOfBoxes-3 > a:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
		.numberOfBoxes-3 > a:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
		.numberOfBoxes-3 > a:nth-child(3) { grid-area: 2 / 2 / 3 / 4; }	
	.numberOfBoxes-4 {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
	}	
	.numberOfBoxes-5 {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(3, 1fr);
	}	
		.numberOfBoxes-5 > a:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
		.numberOfBoxes-5 > a:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
		.numberOfBoxes-5 > a:nth-child(3) { grid-area: 2 / 1 / 3 / 3; }
		.numberOfBoxes-5 > a:nth-child(4) { grid-area: 2 / 3 / 3 / 5; }
		.numberOfBoxes-5 > a:nth-child(5) { grid-area: 3 / 2 / 4 / 4; }	

	.numberOfBoxes-6 {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, 1fr);
	}	
	.numberOfBoxes-7 {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(4, 1fr);
	}		
		.numberOfBoxes-7 > a:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
		.numberOfBoxes-7 > a:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
		.numberOfBoxes-7 > a:nth-child(3) { grid-area: 2 / 1 / 3 / 3; }
		.numberOfBoxes-7 > a:nth-child(4) { grid-area: 2 / 3 / 3 / 5; }
		.numberOfBoxes-7 > a:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
		.numberOfBoxes-7 > a:nth-child(6) { grid-area: 3 / 3 / 4 / 5; }
		.numberOfBoxes-7 > a:nth-child(7) { grid-area: 4 / 2 / 5 / 4; }	

	.numberOfBoxes-8 {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 1fr);
	}			
}
@media(max-width:499px) {
	.serviceBoxes.underPage {
		display:flex;
		flex-direction:column;
	}
}







/* ANKLE (Footer Contact Area) */
#ankle {
	background-color:var(--cream);
	padding:20px 0 40px;
}
#ankle h2 {
	padding:0;
	width:100%;
	font-family: "rokkitt", serif;
	font-weight: 700;
	color:var(--green);
	font-style: normal;	
	text-align:center;
	text-transform: none;
	font-size:32px;
	background-image:linear-gradient(to bottom, 
		rgba(0,0,0,0)  0%  18%,
		var(--red)    18%  22%, 
		rgba(0,0,0,0) 22%  48%, 
		var(--yellow) 48%  52%, 
		rgba(0,0,0,0) 52%  78%, 
		var(--green2) 78%  82%,
		rgba(0,0,0,0) 82% 100%);
	margin:40px 0 20px;		
}
#ankle h2 span {
	display:inline-block;
	background-color:var(--cream);
	padding:0 20px 5px 0;	
}
#ankle .flexCol {
	align-items:stretch;
}
#ankle .button {
	text-align:center;
	border-width:2px;
	border-color:var(--green);
	background-color:var(--green);
	color:var(--white);
	display:flex;
	justify-content: center;
	align-items: center;
}
#ankle .button:hover {
	background-color:var(--white);
	color:var(--green);
}









/* FOOTER */
footer {
	padding-top:40px;
}
#footerMap {
}
#footerLogo {
	display:block;
	max-width:200px;
	margin:0 auto 20px;
}
#footerContact {
	display:block;
	text-align:center;
}
#footerSocial {
	width:100%;
	display:flex;
	gap:10px;
	justify-content: center;
}
#footerSocial img {
	width:40px;
	height:40px;
}
#footerMenu ul {
	list-style:none;
	padding:0;
}
#utilityMenu ul {
	list-style:none;
	padding:0;
}
#utilityMenu li {
	display:inline-block;
	font-size:14px;
}
#utilityMenu li:after {
	content:"|";
}
#utilityMenu li:last-child:after {
	content:none;
}
#utilityMenu a {
	padding:0 5px;
}
#utilityMenu li:first-child a {
	padding-left:0;
}

#bottomBar {
	background-color:var(--green);
	margin-top:20px;
}
#bottomBar p {
	text-align:center;
	margin:0;
}
@media(max-width:767px) {
	#footerMap {
		margin-bottom:20px;
	}
}


