#field_1_7 {
	opacity: 0;
	height: 0px;
	padding: 0px;
	margin: 0px;
	visibility: hidden;
}

.member-modal-wrapper, .form-modal-wrapper, .bridge-contacts-wrapper, .ss-contacts-wrapper {
    background-color: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    top:0;
    left:0px;
    position: fixed;
    pointer-events: none; 
    opacity: 0;
    transition: all 300ms ease-in-out;
	z-index: 99;
}

.member-modal-wrapper.show, .form-modal-wrapper.show, .bridge-contacts-wrapper.show, .ss-contacts-wrapper.show {
    pointer-events: all;
    opacity: 1;
}

.bridge-contacts-modal, .ss-contacts-modal {
	display: flex;
	justify-content: center;
	overflow: scroll;
	
	flex-direction: column;
}

.member-list-data {
	display: flex;
	gap: 1em;
	font-size: 15px;
	max-height: 600px;
	flex-wrap: wrap;
	justify-content: center;
}

.member-list-data > div {
	width: 33%;
	/*border: 1px solid rgba(0,0,0,0.5);*/
	max-width: 260px;
	min-width: 260px;
	
}

.state-column > h4 {
	/*font-family: Roboto !important;*/
	margin-bottom: 0.5em !important;
	padding: 10px;
	background-color: #12487D;
	color: #fff;
}

.state-member {
	margin-bottom: 1em;
	padding: 10px;
	padding-bottom: 1em;
	
	/*border-bottom: 1px solid rgba(0,0,0,0.5);*/
}

.members-outer-wrapper h4 {
	width: 515px;
	margin: 0 auto 0.5em auto;
	padding: 10px;
	background-color: #12487D;
	text-align: center;
	color: #fff;
}

.state-member > p {
	line-height: 15px;
}

.state-member > p:first-of-type {
	font-size:1.2em;
}

.member-modal, .form-modal, .bridge-contacts-modal, .ss-contacts-modal {
    position: fixed;
    z-index: 99;
    background: white;
    top: 50%;
    margin: auto;
    left: 0;
    right: 0;
    width: 100%;
	max-width: 850px;
    height: 600px;
	padding: 45px 45px 21px;
	transform: translateY(-50%);
}


.bridge-contacts-modal, .ss-contacts-modal {
	max-width: 1050px;
	height: 650px;
	padding: 25px 25px;
}

.form-modal {
	display: block;
    width: 100%;
	overflow: hidden;
}

.form-modal > div {
	width: 100%;
	position: relative;
}


.wpcf7 input[type='text'], .wpcf7 input[type='email'] ,.wpcf7 textarea {
	display: block;
    width: 100%;
    padding: 10px 0px;
    text-indent: 10px;
}

.member-modal > div > div {
	display:flex;
	gap: 2.2em;
}

.member-modal > div > div > .modal-member-img {
	width:40%;
	max-width: 365px;
}

.member-modal > div > div > .modal-member-bio-info {
	width:60%;
	display: flex;
  	flex-direction: column;
  	flex-wrap: nowrap;
  	justify-content: stretch;
  	overflow: hidden;
  	height: 100%;
}

.member-modal > div > div > .modal-member-bio-info p:first-of-type {
	margin-bottom: 0px;
}

.member-modal > div > div > .modal-member-bio-info p:last-of-type {
	font-size:20px;
	line-height: 28px;
}

.form-modal .gform_heading {
    display: none !important;
}

.modal-member-bio-info h4 {
	font-size: 20px;
}

.modal-member-info {
	position: relative;
}

.member-modal .wpcf7 input, .member-modal .wpcf7 textarea {
	padding: 10px 0px;	
	width: 100%;
	text-indent: 10px;
}

.team-member > a > * {
	pointer-events: none;
}

.team-categories-wrapper {
    display: flex;
    gap: 1em;
    line-height: 18px;
    flex-wrap: wrap;
	justify-content: center;
}

.team-category {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-color: #f1f2f2;
    padding: 0.75em 1.4em;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    color: #8d8780;
  	flex: 1 1 auto;
	max-width: 200px;
	line-height: 1.1;
}

.team-category:hover, .team-category.active  {
	background: #1178a0;
	color: #fff;
	
}

.team-members-wrapper {
    display: flex;
    flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1em;
    margin-top: 3em;
}

.team-member > a {
	display: block;
	padding: 13%;
	height: 100%;
	min-height: 200px;
}

.team-member {
	min-width: 270px;
	width: calc(25% - 1em);
    display: none;
    color: white;
    flex-direction: column;
    gap: 20px;
	min-height: 280px;
	transform-style: preserve-3d;
  	transform-origin: center;
  	transition: transform 0.6s;
  	border-radius: 5px;
  	perspective: 1000px;
	border-radius: 5px;	
}

.team-member.display {
	display:flex;
}

.team-member-email > svg {
	pointer-events: none;
}

.team-member > a > h3, .team-member > a > h2 {
    font-size: 22px;
    text-align: center;
    margin: 0px;
	font-weight:500;
	color: #eee;
	text-transform: inherit;
}

.team-member > a > h2 {
	font-size: 30px;
	line-height: 38px;
	font-weight: 400;
	margin-bottom: 20px;
}


.member-post {
	padding:5em 1em 0em 1em;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display:flex;
	justify-content:space-between;
	gap: 20px;
}

.member-post h1{
	text-align: left;
	color: #032d74;
	margin-bottom: 10px;
	font-weight: 700;
}

.member-post h2{
	font-weight: 500;
}

.member-bio {
	margin-top:1em;
	margin-bottom: 3em;
	font-size:1.3em;
	line-height:1.4em;
}

.member-post > div > a {
	margin-bottom: 10px;
	display: inline-block;
	color: black;
	text-transform: uppercase;
	font-weight: bold;
}

.member-post > div:first-of-type {
	width: 70%;
}

.member-post > div:last-of-type {
	width: 30%;
}

.member-details > a {
	margin:5px;
}

.icons-wrapper {
	margin-bottom:1em;
}

.icons-wrapper > a {
	display: inline-block;
	margin-right: 10px;
	vertical-align: middle;
}

.close-modal, .close-form-modal, .close-bridge-modal, .close-ss-modal {
	position:absolute;
	left:100%;
	top:-20px;
	cursor: pointer;
}

.close-bridge-modal, .close-ss-modal {
	left: 96%;
    top: 11px;
}

.close-form-modal {
	top: 10px;
	right: 10px;
	left: auto;
	line-height: 1;
}

.team-member:hover {
	/*background:#1e65ac; */
	opacity: 0.9;
}

@media screen and (max-width: 1245px){
	.member-modal, .member-post, .form-modal {
		width:auto;
	}
}


@media screen and (max-width:780px){
	.member-modal > div > div {
		flex-direction: column;
		gap: 0;
	}
	
	.member-modal > div > div > .modal-member-img {
		display:flex;
		align-items:center;
		justify-content: center;
		width:100%;
		max-width: none;
	}
	.member-modal > div > div > .modal-member-img > img {
		max-width: 362px;
	}
	
	.member-modal > div > div > .modal-member-bio-info {
		width: 100%;
	}
	
	.member-modal > div {
		height: auto!important;
	}
	
	.member-modal, .form-modal {
		height: 80vh;
		overflow-y: scroll;
	}

	.close-modal {
		top:-40px;
	}
	
	.member-modal > div > div > .modal-member-bio-info{
		overflow: visible!important;
	}
	
	.member-modal > div > div > .modal-member-bio-info > div:last-child{
		height: auto!important;
		overflow: visible!important;
	}
}

@media screen and (max-width:680px){
	.member-post {
		flex-direction:column-reverse;	
		padding-top: 2em;
	}
	
	.member-post > div:first-of-type {
	width: 100%;
	
	}

	.member-post > div:last-of-type {
		width: 100%;
	}

}

@media screen and (max-width:614px){
	.members-outer-wrapper h4 {
		width: 255px;
	}
}

@media screen and (max-width: 480px){
	.close-bridge-modal, .close-ss-modal {
	  left: 90%; 	
	}
	
	.bridge-contacts-modal .member-list-data > div {
		margin-top: 3em;
	}
	
	.members-outer-wrapper {
		margin-top: 5em;
	}
}

.team-members-wrapper {
    display: flex;
    flex-wrap: wrap;
	justify-content: flex-start;
    gap: 1em;
    margin-top: 3em;
}

.team-member-inner{
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.team-member:hover .team-member-inner {
	transform: rotateY(180deg);
}

.back, .front {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.front {
	background-image: url('/wp-content/uploads/2024/02/Team-Box.jpg');
	background-position: center;
	background-size: cover;
	color: white;
	display: flex;
	gap: 20px;
	flex-direction: column;
	border-radius: 5px;
}

.front > a {
	padding: 13%;
}

.back > a {
	position: absolute;
	width: 100%;
	height: 100%;
  	left: 0;
  	right: 0;
}

.front > a > h3, .front > a > h2 {
    font-size: 22px;
    text-align: center;
    margin: 0px;
	font-weight:500;
	color: #eee;
	text-transform: inherit;
}

.front > a > h2 {
	font-size: 30px;
	line-height: 38px;
	font-weight: 400;
	margin-bottom: 20px;
}

.back {
	background-size: cover;
	background-position: center;
	transform: rotateY(180deg);
	border-radius: 5px;
}

.team-member-email[data-href="mailto:none@noemail.com"]{
	display: none;
}