/* BEGIN BIO-LISTING CSS ----------------------------------------> */

h2.leadershipHeader
{
	max-width: 1035px;
	margin: 30px auto -20px auto;
}

.bioList
{
	max-width: 1035px;
	margin: 30px auto 20px auto;
}

.bioList > .results-criteria-wrapper
{
	/*
	display: flex;
	justify-content: space-between;
	*/
}

.bioList > .results-criteria-wrapper > div
{
	padding: 0 20px 0 0;
}

.bioList > .results-criteria-wrapper button
{
	 align-self: flex-start;
}

.bioList .reviseButton
{
	margin-bottom: 30px;
}

.bioList > ul.results_list,
.bioList > ul.results_list > li
{
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bioList > ul.results_list > li
{
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: max(28px, 3vw) 0;
	color: var(--dark-gray);
}


/*
 If you're looking to make the image a 'tile'
 and you need the entire background to click to the
 bio profile, yet you have an edit icon, email,
 phone, and office link on there, use the following
 linkmask field with psuedo css to make the link mask.

 See: 'linkmask' in lib/AttorneySearch/Local.php

.bioList > ul.results_list > li:hover > div
{
	pointer-events: none;
}

.bioList > ul.results_list > li:hover > div a
{
	pointer-events: auto;
}

.bioList > ul.results_list > li .linkmask a:after
{
	content: '';
	display: block;
	position: absolute;
	z-index: -1;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
*/

/*
.bioList .image
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 300px;
	overflow: hidden;
	background: #fff;
}

.bioList .image img
{
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bioList .photo
{
	position: relative;
	width: 100%;
	height: 300px;
	margin-bottom: 10px;
	overflow: hidden;
}

.bioList .photo img
{
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
*/

/*
.bioList > ul.results_list > li:is(:hover,:focus-within) .photo a:not(.sp_class) img,
.bioList > ul.results_list > li .photo a:focus:not(.sp_class) img
{
	transform: scale(1.04);
	opacity: 0.8;
}
*/

.bioList > ul.results_list > li .title,
.bioList > ul.results_list > li .title a
{
	color: var(--navy-blue);
	font-family: var(--font-family-ptserif);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
}

.bioList > ul.results_list > li .title a:is(:hover,:focus)
{
	color: var(--light-blue);
}

.bioList > ul.results_list > li .position
{
	margin-top: 6px;
	font-weight: 500;
	line-height: 1.1;
}

.bioList > ul.results_list > li .office
{
	line-height: 1.1;
}

.bioList > ul.results_list > li .office a
{
	color: var(--navy-blue);
}

.bioList > ul.results_list > li .office a:is(:hover,:focus)
{
	color: var(--light-blue);
}

.bioList > ul.results_list > li .contact
{
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1.1;
}

.bioList > ul.results_list > li .contact > div:not(:empty)
{
	display: inline-block;
}

.bioList > ul.results_list > li .contact > div a
{
	color: var(--medium-gray) !important;
}

.bioList > ul.results_list > li .contact > div a:is(:hover,:focus)
{
	color: var(--light-blue) !important;
}

.bioList > ul.results_list > li .contact > div a svg
{
	fill: var(--dark-blue);
}

.bioList > ul.results_list > li .contact > div a:is(:hover,:focus) svg
{
	fill: var(--light-blue) !important;
}

.bioList > ul.results_list > li .contact .email
{
	margin-left: auto;
}

@media (min-width: 501px)
{
	.bioList > ul.results_list > li 
	{
		flex-direction: row;
		align-items: flex-end;
		gap: 30px;
	}

	.bioList > ul.results_list > li .nametitle
	{
		width: 33.33%;
		width: 40%;
	}

	.bioList > ul.results_list > li .office
	{
		width: 33.33%;
		line-height: 1.1;
	}

	.bioList > ul.results_list > li .contact
	{
		justify-content: flex-end;
		width: 33.33%;
		margin-left: auto;
		text-align: right;
	}

	body.contact-item .bioList > ul.results_list > li .office,
	body.contact-item .bioList > ul.results_list > li .contact
	{
		width: 23.33%;
	}

	.bioList > ul.results_list > li .contact .email
	{
		margin-left: unset;
	}

	.bioList > ul.results_list > li .contact > div.phone:not(:empty)::after
	{
		content: '|';
		padding: 0 0px 0 10px;
		color: var(--lime-green);
	}
}

@media (min-width: 768px)
{
	#hoverBox
	{
		position: absolute;
		z-index: 30;
		min-height: 190px;
		width: 620px;
		padding: 18px;
		color: #ffffff;
		/*box-sizing: border-box;*/
		background-color: #E4F0C2;
		box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
		font-size: 1.3rem;
		line-height: 1.6rem;
	}

	#hoverBox .bioList
	{
		position: relative;
		margin: 0;
		padding: 0;
	}

	#hoverBox .bioList ul.results_list,
	#hoverBox .bioList ul.results_list > li
	{
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		font-size: 0.95rem;
	}

	#hoverBox .bioList ul.results_list > li
	{
		display: flex;
		flex-direction: column;
		align-items: unset;
		gap: unset;
	}

	#hoverBox .photo,
	#hoverBox .image
	{
		flex: 1;
		position: absolute;
		z-index: 2;
		width: 100%;
		height: 190px;
		cursor: pointer;
		overflow: hidden;
	}

	#hoverBox .image
	{
		z-index: 1;
		width: 100%;
		overflow: hidden;
		background: none;
	}

	#hoverBox .photo img,
	#hoverBox .image img
	{
		display: block;
		position: absolute;
		z-index: 2;
		width: 242px;
		height: 190px;
		object-fit: cover;
		object-position: top;
		transition: transform 0.5s cubic-bezier(0.5, 1, 0.89, 1);
	}

	/*#hoverBox:is(:hover,:focus-within) .photo a:not(.sp_class) img,*/
	/*.bioList > ul.results_list > li .photo a:focus:not(.sp_class) img*/
	#hoverBox .photo a:not(.sp_class):is(:hover,:focus-within) img
	{
		transform: scale(1.05);
	}

	#hoverBox .bioList .nametitle,
	#hoverBox .bioList .office,
	#hoverBox .bioList .contact,
	#hoverBox .bioList .readmore
	{
		justify-content: unset;
		align-items: unset;
		position: relative;
		z-index: 10;
		width: auto;
		margin-left: 260px;
	}

	#hoverBox .bioList .nametitle a:not(:hover,:focus)
	{
		color: var(--dark-gray);
	}

	#hoverBox .bioList .position
	{
		margin-top: 4px;
		font-weight: 700;
	}

	#hoverBox .bioList .office
	{
		margin-top: 25px;
	}

	#hoverBox .bioList .contact
	{
		margin-top: 5px;
	}

	#hoverBox .bioList .readmore
	{
		margin-top: 25px;
		padding-left: 11px;
		font-weight: 700;
	}

	
	#hoverBox .bioList .readmore:before
	{
		content: '';
		display: inline-block;
		position: absolute;
		left: 0;
		top: 4px;
		width: 11px;
		height: 18px;
		background-color: var(--navy-blue);
		mask-image: url('../i/toggle-arrow.svg'); /* data-uri */
		mask-repeat: no-repeat;
		mask-size: contain;
		transform: rotate(-90deg);
	}

	#hoverBox .bioList ul.results_list > li .office ul li
	{
		display: inline-block;
	}

	#hoverBox .bioList > ul.results_list > li .contact > div.phone:not(:empty)::after
	{
		color: #707070;
	}

	#hoverBox  .bioList > ul.results_list > li .contact
	{
		align-items: center;
	}
}

/* END BIO-LISTING CSS ------------------------------------------> */
