/* CT.gov Trial Locations Map
------------------------------------------- 

Table of contents
	- Shortcode
	- Media Queries

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

/* Shortcode
-------------------------------------------- */

.trial-locations-map-container {
	background-color: var(--white);
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column-reverse;
	margin-bottom: 80px;
}

.trial-locations-wrap {
	padding-top: 24px;
}

.trial-locations-wrap h3,
.trial-locations-wrap h4.state-heading {
	padding-left: 24px;
}

.trial-locations-wrap .trial-location {
	margin-bottom: 24px;
	padding-left: 48px;
	padding-right: 24px;
}

.trial-locations-wrap .trial-location .site-location {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px !important;
	position: relative;
}

.trial-locations-wrap .trial-location .site-location:before {
	color: var(--navy);
	content: '\f3c5';
	font-family: 'Font Awesome 7 Pro';
	left: -24px;
	position: absolute;
	top: 0;
}

.trial-locations-wrap .trial-location .recruitment-status {
	color: var(--med-teal);
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 4px;
}

.trial-locations-wrap .trial-location .site-name,
.trial-locations-wrap .trial-location .contact-name {
	font-size: 16px;
	margin-bottom: 4px;
}

.scroll-indicator {
	display: none;
}

.gm-style .gm-style-iw[role="dialog"] {
	max-width: 250px !important;
}

.gm-style .site-location {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 8px;
	position: relative;
}

.gm-style .recruitment-status {
	color: #216e1f;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
}

.gm-style .site-name {
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 0;
}

.trial-location.focused {
    border: 2px solid var(--navy);
    background-color: rgb(53 109 225 / 10%);
    transition: background-color 0.3s, border 0.3s;
}

/* Media Queries
------------------------------------------- */

@media only screen and (min-width: 961px) {

	.trial-locations-map-container {
		flex-direction: row;
	}

	.trial-locations-wrap,
	.trial-map-wrap {
		width: 50%;
	}

	.trial-locations-wrap {
		height: 400px;
		overflow-y: scroll;
		scrollbar-color: var(--navy) rgb(53 109 225 / 25%);
		scrollbar-width: thin;
	}

	.scroll-indicator {
		background-color: var(--navy);
		bottom: 0;
		color: var(--white);
		display: block;
		font-size: 14px;
	    font-weight: 600;
		left: 0;
		padding: 4px;
		position: sticky;
		text-align: center;
		width: 100%;
	}

	.scroll-indicator p {
		margin-bottom: 0;
	}

	.scroll-indicator p:after {
		content: '\f8cd';
		font-family: 'Font Awesome 7 Pro';
		font-weight: 400;
		margin-left: 12px;
	}

}