/**************************************************************************************************
* Board of Directors Page Styles                                                                  *
***************************************************************************************************/

/**************************************************************************************************
* BoD Block                                                                                       *
***************************************************************************************************/
.bod-container {
	background-color: #f3f3f3;
	padding-bottom: 5rem;
	padding-left: 10%;
	padding-right: 10%;
}

.bod-container h1 {
	color: #002857;
	padding-top: 12rem;
	margin-bottom: 6rem;
}

/*.bod-first-row {*/
/*	display: flex;*/
/*	align-items: stretch;*/
/*}*/

.bod-text-col {
	display: flex;
	flex-direction: column;
}

.bod-text-wrapper {
	background-color: #0099AB;
	margin-left: -22%; /* adjust this to extend the box to the left side of the screen */
	flex: 1;
}

.bod-text {
	background-color: #002857;
	color: #ffffff;
	padding: 3rem;
	margin-left: 3rem;
	height: 100%;
}

.bod-card {
	display: flex;
	flex-direction: column;
}

/* square images of the same height */
.bod-card-photo-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 100%; /* makes the container square */
	overflow: hidden;
}

.bod-card-photo {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background-image: url('/themes/investon/images/team/portrait-bg.jpg');
    background-size: cover;
    background-position: center;
}
/* End - square images of the same height */


.bod-card-body {
	background-color: white;
	padding: 1rem;
	padding-bottom: 2rem;

	display: flex;
	flex-grow: 1;
	flex-direction: column;
	justify-content: space-between;
}

/**************************************************************************************************
* BoD Bio                                                                                         *
***************************************************************************************************/
.bod-bio-container {
	background-color: #0099AB;
}

.bod-bio-card {
	background-color: #ffffff;
	border-radius: 2rem 0 0 2rem;
	margin-left: 3rem;
	/* min-height: 80vh; */
}

.bod-bio-card-text {
	padding-left: 5%;
	padding-right: 5%;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

@media (max-width: 991px) {
	.bod-bio-card-text {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
}

.bod-bio-position {
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.bod-bio-name {
	margin-bottom: 2rem;
}

.bod-bio-card-photo {
	background-size: cover;
    background-position: center;
	border-radius: 2rem 0 0 0;
}

@media (max-width: 991px) {
	.bod-bio-card-photo {
		width: 100%;
		height: 50vh;
	}
}

/**************************************************************************************************
* BoD Modal                                                                                       *
***************************************************************************************************/
.bod-bio-modal .modal-body {
	padding: 0;
	overflow-x: hidden;
}

.bod-bio-modal .modal-header {
	border-bottom: 0;
	position: absolute;
	/* top: 2rem;
	margin-left: 3rem;
	left: 5%; */
	top: 1rem;
	left: 0.5rem;
	padding: 0;
	z-index: 100;
}

.bod-bio-modal-close {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
