@charset "UTF-8";
/* CSS Document */

:root {
	--results_width: 350px;
}

/* =================================================== */
/* ================= Location Finder ================= */
/* =================================================== */

/* === Custom Map Markers === */

.uhl-marker {
    width: 42px;
    height: 52px;
    position: relative;
    /*transform: translate(-18%, -86%);*/
    cursor: pointer;
    transition: transform 160ms ease;
    pointer-events: auto;
}

.uhl-marker__inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.uhl-marker__img {
    width: 100%;
    height: 100%;
    display: block;
}

.uhl-marker__code {
    position: absolute;
    top: 16px; /* adjust if needed based on SVG */
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .04em;
    pointer-events: none;
    text-transform: uppercase;
}

.uhl-marker__code img {
	color: purple;
}

.uhl-marker.is-active {
    transform: translate(-0%, -32%) scale(1.08);
}

/* === Filter Dropdown (Selectric) === */

.col_results .selectric-wrapper {
	/*padding-inline: 12px;*/
}

.col_results .selectric,
.col_results .selectric .button {
	background-color: var(--hot);
	font-weight: bold;
	border: none;
	margin-top: 0;
}

.col_results .selectric {
	border-bottom: solid 2px var(--dark);
	padding-block: 5px;
}

.col_results .selectric .label {
	color: var(--text);
	font-size: 1em;
	font-family: var(--display);
	font-weight: 500;
}

.col_results .selectric .button {
	height: 48px;
}

.col_results .selectric .button:after {
	border: 10px solid transparent;
	border-top-color: var(--text);
	top: 10px;
}

.selectric-items {
	border: none;
	/*transform: translateX(12px);*/
}

.selectric-items ul {
	border-bottom: solid 2px var(--dark);
	border-top: none;
}

.selectric-items ul li {
	color: var(--text);
	font-size: 1.2em;
	font-weight: 500;
}

.selectric-items li:hover {
	background-color: var(--hot);
	color: var(--text);
}

.selectric-items .disabled {
	display: none;
}

/* === Header === */

.disabled_msg {
	padding-bottom: 15px;
	text-align: center;
}

#current_results {
	background-color: var(--dark);
	padding: 15px;
	color: #FFF;
	border-radius: 15px 15px 0 0;
}

#current_results p {
	line-height: 1.1;
	font-size: 1.4em;
	font-family: var(--display);
}

#current_count {
	font-family: var(--display);
	font-size: 0.9em;
	font-weight: 500;
	display: flex;
	justify-content: space-between;
}

#current_count a {
	color: var(--hot);
}

#find-location-autocomplete-widget {
    height: 80px;
}

gmp-place-autocomplete {
    position: relative;
    height: 80px;
    display: block;
    border-radius: 15px;
    border: solid 2px var(--dark);
    overflow: visible;
    background: #fff;
    margin-bottom: 15px;
}

/* Actual input */
gmp-place-autocomplete::part(input) {
    height: 100%;
    width: 100%;
    font-size: 16px;
    padding-left: 20px;
    border: none;
    outline: none;
    background: transparent;
}

/* Cover Google's native icon */
gmp-place-autocomplete::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    bottom: 2px;
    width: 42px;
    background: #fff;
    z-index: 2;
    pointer-events: none;
    border-radius: 15px;
}

/* Replacement icon matching your original styles */
gmp-place-autocomplete::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    width: 40px;
    height: 100%;
    background-image: url('https://upperlinehealth.com/wp-content/uploads/2023/05/magglass_gray.webp');
    background-repeat: no-repeat;
    background-size: auto 50%;
    background-position: center center;
    z-index: 3;
    pointer-events: none;
}


/* === Map / Results === */

.location-finder:not(.map-ready) .col_map {
    display: none;
}

.location-finder:not(.map-ready) .col_results {
	display: none;
/*    flex: 1 1 100%;
    max-width: 100%;*/
}

.location-finder.map-ready .col_map {
    display: block;
}

/* === Location Cards === */

.location-card h3 a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s;
}

.location-card h3 a:hover {
	color: var(--green-br);
}

.location-card p {
	line-height: 1.2;
}

.location-card p.address {
	margin-bottom: 12px;
}

.location-card__actions {
	/*margin-bottom: 10px;*/
}

.location-card__actions a {
	padding: 10px 15px 13px;
	font-size: 0.85em;
	margin-bottom: 10px;
	margin-top: 0;
	display: inline-block;
	transition: background-color 0.2s;
}

.location-card__actions a:hover {
	background-color: var(--rollover) !important;
}

.location-card__actions a:first-child {
	margin-right: 10px;
}

.location-card__actions a:nth-child(2) {
	/*border: 4px solid var(--light2);*/
}

.location-card {
	border-bottom: solid 2px var(--dark);
	/*border-top: none;*/
	background-color: #FFF;
	/*background-color: yellowgreen;*/
}

.location-card .inner {
	padding: 15px 15px 12px;
}

.location-card__specialty {
	background-color: #e9e9e9;
	/*background: linear-gradient(180deg,rgba(233, 233, 233, 1) 0%, rgba(255, 255, 255, 1) 100%);*/
	padding: 5px 15px;
	width: 100%;
	text-transform: uppercase;
	font-size: 0.7em;
	font-weight: bold;
}

.location-card__distance {
	font-size: 0.8em;
	font-weight: bold;
}

/* to add Comprehensive Care */
.specialty-addon {
/*	display: block;
	font-size: 0.8em;*/
}

/* ==================================================== */
/* ================= Location Matrix ================== */
/* ==================================================== */

.by_state_page h2 {
	font-size: 1.5em;
	margin-bottom: 30px;
}

.loca_matrix {
}

.loca_matrix > div {
	margin-bottom: 25px;
}

.loca_matrix .location-card {
	padding: 0;
	border: solid var(--green-dk);
	border-radius: 20px;
	height: 100%;	
}

.prov_locations.loca_matrix .location-card {
	height: auto;
}

.loca_matrix .location-card .location-card__specialty {
	border-radius: 20px 20px 0 0;
}

/* =================================================== */
/* ================= Location Pages ================== */
/* =================================================== */

.loca_hero {
	padding: 0;
}

.loca_hero .row > div {
	display: flex;
	min-height: 100%;
	justify-content: center;
	flex-direction: column;	
}

.loca_hero .content_col {
	padding: 5vw;
}

.loca_hero .image_col {
	position: relative;
	padding-right: 3vw;
	padding-block: 3vw;
}

.loca_hero .image_col img {
	width: 100%;
	height: auto;
	border-radius: 30px;
	position: relative;
	z-index: 1;
}

.loca_hero .image_col:after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--green-md);
	position: absolute;
	border-radius: 30px 0 0 30px;
	z-index: 0;
	transform: translateX(60px);
}

.loca_hero h1 {
	font-size: 12vw;
}

.loca_hero .rating {
	font-size: 0.8em;
}

.loca_hero .single_star {
	font-size: 1em;
}

.loca_hero .btn {
	display: inline-block;
	margin-right: 10px;
}

.loca_hero .btn-secondary {
	/*background-color: #FFF !important;*/
}

.details_row .wp-block-group {
	padding: 30px;
}

.details_row .wp-block-group img {
	margin-bottom: 20px;
}

/* ====== Providers ====== */

.providers > div {
	padding-inline: 0 !important;
}

.providers .row {
	margin-top: 30px;
	justify-content: center;
}

.providers .row .slick-slide {
	flex-direction: column;
}

.providers img {
	width: 100%;
	height: auto;
	margin-bottom: 1em;
	border-radius: 20px;
	/*border: 3px solid var(--dark);*/
}

.providers :is(h3,p) {
	text-align: center;
	line-height: 1.1;
}

.providers .name {
	font-family: var(--display);
	font-weight: bold;
	font-size: 1em;
	margin-bottom: 10px;
}

.providers :is(.title,a) {
	font-size: 0.8em;
	font-weight: normal;
}

/* ====== Reviews ====== */

.loca_reviews_block {
	position: relative;
}

.loca_reviews_block:after {
	content: '';
	background-color: var(--green-md);
	display: block;
	position: absolute;
	width: 100%;
	height: 50%;
	bottom: 0;
	z-index: 0;
	border-radius: 100px 0 0;
}

.loca_reviews_block > div {
	position: relative;
	z-index: 10;
}

.loca_reviews_block .row > div .wp-block-group {
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.45);
	border: none;	
}

.loca_reviews_block .row > div .wp-block-group:not(.loca_reviews_block .row > div:first-child .wp-block-group) {
	display: flex;
}

.loca_reviews_block .row .wp-block-group > div {
	justify-content: flex-start;
	height: fit-content;
	align-self: center;
	/*background-color: rgba(255, 255, 0, 0.24);*/
}

.review_link_block :is(p,div) {
	align-items: center;
	text-align: center;
}

.review_link_block .loca_rating {
	font-size: 2.7em;
	font-family: var(--display);
	margin-bottom: 0;
}

.review_link_block .star-ratings {
	margin-inline: auto;
	display: block;
	font-size: 36px;
}

.review_link_block .btn {
	width: 100%;
}

.reversed .empty-ratings {
	opacity: 0.35;
}


/* ====== Insurors Section ====== */
.insurance-modal ul {
	columns: 1;
	/*gap: 10px;*/
	-webkit-columns: 1;
	-moz-columns: 1; 
	/*background-color: var(--light);*/
	margin: 0;
	padding: 10px;
	border-radius: 5px;
}	

.insurance-modal li {
	border-bottom: solid 1px var(--light);
	padding: 12px;
	list-style-type: none;
	margin: 0;
}

/* ====== Treatments ===== */
.services_row h3 {
	font-weight: bold;
}

.services_row > div {
	padding-block: 10px;
}

.citystate {
	font-weight: normal;
	font-size: 0.8em;
	opacity: 0.65;
}



@media (min-width: 768px) {

	/* =================================================== */
	/* ================= Location Finder ================= */
	/* =================================================== */	

	#search-panel {
	    margin-bottom: 30px;
	}

	.location-finder .row {
	    display: flex;
	    align-items: stretch;
	    padding-inline: 12px;
	}

	.location-finder .row > div {
	    padding: 0;
	    min-height: 0;
	}

	.col_results,
	.col_map {
	    height: calc(100vh - var(--header_ht) - 200px);	
	}

	.col_results {
	    flex: 0 0 var(--results_width);
	    max-width: var(--results_width);

	    display: flex;
	    flex-direction: column;
	    position: relative;

	    /*box-shadow: inset 0 -8px 12px -6px rgba(0, 0, 0, 0.2);*/
	    background-color: var(--dark);
	    border-radius: 15px 0 0 15px;
	    border: var(--dark) solid 3px;
	    overflow: hidden;
	}

	.col_results:after {
		content: '';
		display: block;
		height: 30px;
		width: 100%;
		opacity: 0.5;
		position: absolute;
		left: 0;
		bottom: 0;
		background: transparent;
		background: linear-gradient(0deg,rgba(24, 48, 41, 1) 0%, rgba(255, 255, 255, 0) 100%);

	}

	.col_map {
	    flex: 1;
	    min-width: 0;

	    position: sticky;
	    top: calc(var(--header_ht) + 20px);
	}

	#find-location-results {
	    flex: 1;
	    min-height: 0;

	    overflow-y: auto;
	    overflow-x: hidden;

	    padding-bottom: 2rem;
	}

	#find-location-map {
	    height: 100%;
	    border-radius: 0 15px 15px 0;
	}	

	/* =================================================== */
	/* ================= Location Pages ================== */
	/* =================================================== */

	.loca_hero h1 {
		font-size: 3.5em;
	}

	.loca_hero .image_col:after {
		border-radius: 0 0 0 30px;
	}	

	/* ====== Insurors Section ====== */
	#plan_list {
		columns: 3;
		-webkit-columns: 3;
		-moz-columns: 3; 
	}	

}

@media (min-width: 992px) {

	.prov_sliders {
		flex-direction: row !important;
	}

	.prov_sliders > div {
		margin-bottom: 30px;
	}

}

@media(min-width: 1200px) {

	.location-finder {
		width: 80vw;
		display: block;
		margin-inline: auto;
	}

}

@media(min-width: 1600px) {

	.loca_hero .content_col {
		padding: 5vw 5vw 5vw 12vw;
	}	

}