/**********************************
Description...: WP additions/fixes
Author........:
Last Changed..: 05/08/2021 -- 16:04
*********************************/

/*hides the form on completion*/
.page.contact-us .form-wrapper form.sent p {
display:none;
}

/*because css is for styling, not html*/
img.alignleft,
img.alignright {
max-width:400px;
}
	@media screen and (max-width: 768px) {
		img.alignleft,
		img.alignright {
		max-width:100%;
		}
	}

/*cf7 workarounds*/
#event-modal textarea {
max-height:100px;
}

/*rebuild of the sub-page nav, mimics style*/
.section-cards-header .sub-menu {
width:63.53%;
margin:20px auto 0;
}
.section-cards-header .sub-menu li {
display:flex;
justify-content:space-around;
list-style:none;
}
.section-cards-header .sub-menu li a {
display:flex;
justify-content:center;
align-items:center;
text-align:center;
width:100%;max-width:328px;height:77px;
color:#24356d;
font-size:22px;
font-weight:700;
padding:0 10px;
background-color:#e5e5e5;
transition:.3s;
}
.section-cards-header .sub-menu li.current_page_item a,
.section-cards-header .sub-menu li.current_page_parent a,
.section-cards-header .sub-menu li a:hover {
color:#e5e5e5;
background-color:#24356d;
}

	@media screen and (max-width: 1023px) {
		.section-cards-header .sub-menu li a {font-size:18px;}
	}
	@media screen and (max-width: 768px) {
		.section-cards-header .sub-menu {width:100%;}
		.section-cards-header .sub-menu li a {
		width:100%;max-width:356px;
		margin-bottom:15px;
		}
	}
	@media screen and (max-width: 550px) {
		.section-cards-header .sub-menu {
		flex-wrap:wrap;
		display:block;
		}
		.section-cards-header .sub-menu li a {
		height:60px;width:100%;max-width:100%;
		margin-right:0;
		}
	}


/*multi subs*/
.section-cards-header .sub-menu.sub-menu--multi {
display:flex;
width:100%;
}
.section-cards-header .sub-menu.sub-menu--multi li {
width:50%;
justify-content:flex-start;
}
.section-cards-header .sub-menu.sub-menu--multi li:first-child {
margin-right:7%;
}
	@media screen and (max-width: 550px) {
		.section-cards-header .sub-menu.sub-menu--multi li {
		width:100%;
		}
		.section-cards-header .sub-menu.sub-menu--multi li:first-child {
		margin-right:0;
		}
	}




.environments-boxes {
display:flex;
justify-content:space-between;
flex-wrap:wrap;
padding:0;
}
.environments-boxes li {
display:flex;
flex-direction:column;
justify-content:space-between;
width: 15.52%;
margin:0;
border-radius:0 40px 0 0;
}
.environments-boxes li a {
height:100%;
color:#24356d;
font-size:18px;
font-weight:700;
line-height:22px;
padding:15px 26px 14px 17px;
background-color:#e5e5e5;
border-radius:0 40px 0 0;
transition:.3s;
}
.environments-boxes li.current_page_item a,
.environments-boxes li a:hover {
color:#fff;
background-color:#24356d;
}


/*some styles for basic pages*/
main.basic-page {
padding-top:100px;
}
main.basic-page h1 {
font-size:40px;
font-weight:700;
line-height:49px;
color:#e1271d;
margin-bottom:30px;
}

	@media screen and (max-width: 1023px) {
		main.basic-page {
		padding-top:20px;
		}
	}
