/* BEGIN OFFICE-LISTING CSS -------------------------------------> */


#officeList
{
	padding-top: 50px;
}

#officeList .sp_pencil
{
	position: relative;
	z-index: 20;
}

#officeList ul,
#officeList li
{
	margin: 0;
	list-style: none;
}

#officeList li
{
	position: relative;
	margin: 0 0 19px;
	border: 1px solid #C5CFDA;
	background: #ffffff;
	font-family: var(--worksans);
}

#officeList .image img
{
	display: block;
	width: 100%;
	height: auto;
}

#officeList .content
{
	padding: 20px;
}

#officeList .title,
#officeList .address,
#officeList .phone
{
	--min-font-size: 16;
	--max-font-size: 19;
	font-family: var(--davis);
}

#officeList .title
{
	--min-margin-top: 0;
	--max-margin-top: 0;
	--min-margin-bottom: 35;
	--max-margin-bottom: 65;
	color: #d94c38;
	text-transform: uppercase;
	font-weight: 600;
	font-family: var(--worksans);
	letter-spacing: 1px;
}

#officeList .phone a:not(:hover):not(:focus)
{
	color: #CE392A !important;
}

#officeList .title a:not(:hover):not(:focus)
{
	color: #d94c38;
}

#officeList .hoverinfo
{
	display: none;
}

#officeList .standardButton
{
	position: absolute;
	bottom: 20px;
	right: 20px;
}

#officeList .standardButton a
{
	display: block;
	width: 30px;
	min-width: 0;
	padding: 0;
	border: unset;
}

#officeList .standardButton a svg 
{
	display: block;
	width: 100%;
	height: auto;
}

#officeList li .hoverinfo a span
{
	font-weight: 400;
}

#officeList li .hoverinfo a span + span:hover
{
	color: #B4C2D0;
}

@media (min-width: 600px)
{
	#officeList ul
	{
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		grid-gap: 19px;
	}
}

@media (min-width: 1024px)
{

	#officeList .content
	{
		padding: 0;
	}

	#officeList li
	{
		padding: clamp(30px, 52/1600 * 100vw, 52px);
		box-sizing: border-box;
		
	}

	#officeList .standardButton
	{
		/*right: clamp(25px, 50/1600 * 100vw, 50px);
		bottom: clamp(25px, 47/1600 * 100vw, 47px);*/
	}

	#officeList .image
	{
		position: absolute;
		top: 0;
		left: 0;
		opacity: 0;
		width: 100%;
		height: 100%;
		z-index: -2;
		background: #001F60;
	}

	#officeList .image img
	{
		height: 100%;
		object-fit: cover;
		opacity: .6;
		transition: all 250ms ease;
	}

	#officeList li:hover .image
	{
		z-index: 1;
		opacity: 1;
	}

	#officeList li .hoverinfo a
	{
		display: flex;
		align-items: center;
		width: 100%;
		height: 100%;
		padding: 20px 30px;
		box-sizing: border-box;
		color: #ffffff;
		font-size: 24px;
		text-transform: uppercase;
		letter-spacing: 1px;
	}

	#officeList li .hoverinfo a > div
	{
		width: 100%;
		text-align: center;
	}

	#officeList li .hoverinfo a span
	{
		display: block;
	}

	#officeList li .hoverinfo a span + span
	{
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
		width: 210px;
		height: 51px;
		margin: 10px auto;
		padding-right: 10px;
		font-size: 21px;
		font-weight: 600;
		border: 2px solid #ffffff;
		text-transform: uppercase;
		border-radius: 30px;
		box-sizing: border-box;
	}

	#officeList li .hoverinfo a span + span svg
	{
		position: relative;
		display: block;
		width: 35px;
		height: auto;
		margin-right: 12px;
		fill: currentColor;
	}

	

	#officeList li .hoverinfo a span + span:hover svg path
	{
		fill: #ffffff;
	}

	#officeList li:hover .hoverinfo
	{
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
		display: block;
		width: 100%;
		height: 100%;
	}

	/*#officeList li:hover .title
	{
		position: absolute;
		left: 0;
		top: calc(50% - 20px);
		z-index: 2;
		width: 100%;
		text-align: center;
	}

	#officeList li:hover .title a:not(:hover):not(:focus)
	{
		color: #ffffff;
	}*/
}

@media (min-width: 1350px)
{
	#officeList
	{
		position: relative;
		padding-top: 0;
		margin-top: -65px !important;
		z-index: 20;
	}

	#officeList ul
	{
		grid-template-columns: repeat(3, 1fr);
	}

}

#officeList .sp_pencil
{
	position: absolute;
	z-index: 999;
	bottom: 20px;
	right: 20px;
}

/* END OFFICE-LISTING CSS ---------------------------------------> */