/*---------------------------------------------------------------------------------

 Theme Name:   Divi Powerful Child Theme
 Theme URI:    https://powerful.divi.help
 Description:  Instantly power up your Divi site, without limiting your creativity.
 Author:       Divi.Help
 Author URI:   https://divi.help
 Template:     Divi
 Version:      1.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* ========================= */
/* ADD YOUR CUSTOM CSS BELOW */
/* ========================= */

html,
body {
	height: 100%;
}

.book a img{
	 box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    border-radius: 10px;
	margin-bottom:14px;
}

.percent .percent-value {
	white-space: nowrap;
}

#staff-members {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

#staff-members .member {
	width: 23% !important;
	border: none !important;
	padding: 30px 0 !important;
	cursor: pointer;
	margin: 0 2% 0 0 !important;
}

#staff-members .member > div {
	width: 100% !important;
}

#staff-members .member-thumbnail {
	height: 0;
	overflow: hidden;
	margin-bottom: 10px;
	padding-bottom: 100%;
}

#staff-members .member-thumbnail .et_pb_image_wrap  {
	width: 100%;
}

#staff-members .member-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: all 0.3s ease;
}

#staff-members .member:hover .member-thumbnail img {
	transform: scale(1.2);
}

#staff-members .member .secure-email {
	display: none;
}

#staff-members .member .member-bio {
	display: none !important;
}

#staff-members .member-info p {
	padding: 0;
	font-size: .875rem;
}

#staff-members .member-info strong {
	color: #006c52;
	font-size: 1rem;
}

#staff-members .member:hover .member-info strong {
	text-decoration: underline;
}

#staff-members .member .member-info .member-icon {
	display: none;
}

/* =========== */
/* STAFF MODAL */
/* =========== */

#staff-member-wrapper {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #688A68;
	z-index: 999999;
	padding: 100px 0;
	color: #fff;
	overflow-y: auto;
	display: none;
}

#staff-member-wrapper #close-staff-modal {
	background: none;
	border: none;
	position: absolute;
	top: 50px;
	right: 80px;
	cursor: pointer;
	color: #fff;
	font-size: 2rem;
	padding: 1px 12.5px;
}

#staff-member-wrapper #close-staff-modal:focus {
	outline: auto;
}

#staff-member-wrapper .inner-wrapper {
	width: 80%;
	max-width: 1200px;
	margin: auto;
	display: flex;
}

#staff-member-wrapper .inner-wrapper .modal-thumbnail {
	width: 350px;
	max-width: 100%;
	overflow: hidden;
}

#staff-member-wrapper .inner-wrapper .modal-thumbnail img {
	width: 100%;
}

#staff-member-wrapper .inner-wrapper .modal-thumbnail a {
	color: #fff;
}

#staff-member-wrapper .inner-wrapper .modal-thumbnail a i {
	margin-left: 10px;
}

#staff-member-wrapper .inner-wrapper .modal-bio {
	width: 100%;
	padding-left: 50px;
}

#staff-member-wrapper .inner-wrapper .modal-header {
	margin-bottom: 30px;
}

#staff-member-wrapper .inner-wrapper .modal-header p:first-child {
	font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
	font-size: 3rem;
	line-height: 58px;
	padding: 0;
}

#staff-member-wrapper .inner-wrapper .modal-header p:nth-child(2) {
	font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 400;
	font-size: 1.375rem;
	padding-bottom: 10px;
}

#staff-member-wrapper .inner-wrapper .modal-header .member-icon {
	font-size: 1.5rem;
	color: #fff;
	margin-right: 20px;
}

.m-0 {
	margin: 0 !important;
}

.child-p-none * {
	padding: 0 !important;
}

.border-bottom-gray {
	border-bottom: 1px solid #efefef;
}

.black-color-all * {
	color: #333;
}

/* ============ */
/* LOGO MARQUEE */
/* ============ */

.logo-marquee-wrapper {
	display: flex;
	flex-wrap: nowrap;
	padding: 50px 0 !important;
}

.logo-marquee-wrapper .logo-marquee {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.logo-marquee-wrapper .logo-marquee > div {
	flex-basis: 275px;
	margin-right: 25px;
	flex-shrink: 0;
}

@media only screen and (max-width: 1200px) {
	.percent .percent-value {
		font-size: 48px !important;
	}
}

@media only screen and (min-width: 769px) and (max-width: 1050px) {
	#staff-members .member {
		width: 31% !important;
	}
}

@media only screen and (max-width: 992px) {
	#staff-member-wrapper .inner-wrapper .modal-header p:first-child {
		font-size: 2rem;
		line-height: 38px;
	}

	.logo-marquee-wrapper .logo-marquee > div {
		width: 33.33333%;
	}
}

@media only screen and (max-width: 768px) {
	#staff-member-wrapper #close-staff-modal {
		top: 30px;
		right: 30px;
	}

	#staff-member-wrapper .inner-wrapper {
		flex-direction: column;
	}

	#staff-members .member {
		width: 46% !important;
	}

	#staff-member-wrapper .inner-wrapper .modal-thumbnail {
		width: 100%;
		max-height: 350px;
		margin: 0 0 30px 0;
	}

	#staff-member-wrapper .inner-wrapper .modal-bio {
		padding-left: 0;
	}
}
