/* Header location widget */
.stl-header-location .address-dropdown {
	cursor: pointer;
	color: #ed1c24 !important;
	font-family: Oswald, sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 8px;
}

.stl-header-location .location-arrow {
	display: inline-block;
	margin-left: 6px;
	color: #ed1c24;
	font-size: 14px;
	vertical-align: middle;
}

.stl-header-location .current-store-name {
	margin: 0;
	color: #fff !important;
	font-family: Oswald, sans-serif;
	font-size: 18px;
	line-height: 1.25;
	cursor: pointer;
}

.stl-header-location .current-store-name:before {
	content: "\f041";
	font-family: FontAwesome;
	color: #ed1c24;
	margin-right: 6px;
}

.stl-header-location .stl-store-pin {
	display: none;
}

/* Overlay behind popup */
.stl-location-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 999998;
	display: none;
}

body.stl-location-popup-open .stl-location-overlay,
.stl-location-overlay.stl-is-visible {
	display: block !important;
}

body.stl-location-popup-open {
	overflow: hidden;
}

/* WPSL location popup - ported from Avada Child Theme */
.address-popup,
.stl-address-popup {
	position: fixed;
	visibility: hidden;
	display: none;
	opacity: 0;
	max-width: 880px;
	width: min(880px, calc(100vw - 32px));
	margin: 0 auto;
	background-color: #eeeeee;
	border: 1px solid #b9b9b9;
	left: 0;
	right: 0;
	top: 20%;
	z-index: 999999;
	box-shadow: 0 1px 3px 0 rgba(50, 50, 50, 0.75);
}

body.stl-location-popup-open #stl-address-popup.stl-is-visible,
#stl-address-popup.stl-is-visible {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: fixed !important;
	z-index: 999999 !important;
}

.address-popup .close-popup,
.stl-address-popup .close-popup {
	position: absolute;
	width: 20px;
	top: 15px;
	right: 15px;
	z-index: 9;
	cursor: pointer;
	border: 0;
	background: transparent;
	padding: 0;
}

.address-popup .close-popup img,
.stl-address-popup .close-popup img {
	width: 20px;
	height: auto;
	display: block;
}

.address-popup .wpsl-header,
.stl-address-popup .wpsl-header {
	float: left;
	padding: 20px;
}

.address-popup .wpsl-header .store,
.stl-address-popup .wpsl-header .store {
	float: left;
	margin-top: 55px;
}

.address-popup .store a,
.stl-address-popup .store a {
	text-decoration: none;
	font-family: "Open Sans", sans-serif;
	background-image: none !important;
	background: #a90000 !important;
	color: #fff !important;
	padding: 10px 15px;
	margin-left: 0;
	font-size: 11px;
	font-weight: 700;
}

.address-popup .wpsl-header > div .clear,
.address-popup .wpsl-header p,
.stl-address-popup .wpsl-header > div .clear,
.stl-address-popup .wpsl-header p {
	display: none;
}

.address-popup .wpsl-header h1,
.stl-address-popup .wpsl-header h1 {
	font-family: "open sans", sans-serif !important;
	font-size: 20px;
	color: #fff;
	font-weight: 700;
	margin: 0;
	padding: 0;
}

.address-popup #wpsl-stores > p,
.stl-address-popup #wpsl-stores > p {
	padding: 15px 20px;
	font-family: "open sans", sans-serif !important;
	font-size: 20px;
	color: #000;
	font-weight: 700;
}

.address-popup .wpsl-header > div > div p,
.stl-address-popup .wpsl-header > div > div p {
	display: block !important;
}

.address-popup .wpsl-header span,
.stl-address-popup .wpsl-header span {
	display: block;
	position: relative;
	font-size: 14px;
	margin-left: 24px;
}

.address-popup .wpsl-header span:first-of-type,
.stl-address-popup .wpsl-header span:first-of-type {
	font-size: 20px;
	font-weight: 700;
	padding-top: 10px;
	color: #fff;
	margin: 0;
	font-family: "open sans", sans-serif !important;
}

.address-popup .wpsl-header span:first-of-type:before,
.stl-address-popup .wpsl-header span:first-of-type:before {
	color: #fff;
	font-size: 28px;
	margin-right: 6px;
	content: "\f041";
	font-family: FontAwesome;
	vertical-align: initial;
}

.address-popup .wpsl-header p,
.stl-address-popup .wpsl-header p {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 22px;
	color: #58595b;
	padding-left: 30px;
	font-family: sans-serif;
}

.address-popup .wpsl-header > div > div a,
.stl-address-popup .wpsl-header > div > div a {
	text-decoration: none;
	color: #ba0709;
	background: url(/wp-content/uploads/2018/01/images/phone.png) no-repeat;
	background-position: left;
	padding-left: 15px;
	margin-left: 30px;
}

.address-popup .wpsl-search,
.stl-address-popup .wpsl-search {
	float: right;
	width: 315px;
	background-color: transparent;
	padding: 5px 15px 30px 15px;
	margin: 14px 40px 18px 0;
	border-left: 1px solid #fff;
}

.address-popup #wpsl-search-wrap .wpsl-select-wrap,
.stl-address-popup #wpsl-search-wrap .wpsl-select-wrap {
	display: none;
}

.address-popup .wpsl-input,
.stl-address-popup .wpsl-input {
	width: 100%;
	margin-right: 0 !important;
}

.address-popup .wpsl-input > div,
.stl-address-popup .wpsl-input > div {
	width: 100%;
}

.address-popup .wpsl-input > div label,
.stl-address-popup .wpsl-input > div label {
	display: inline-block;
	width: 100%;
	font-size: 21px;
	float: left;
	margin-right: 10px !important;
	color: #fff;
	line-height: 32px;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	margin-bottom: 10px;
}

.address-popup #wpsl-search-btn,
.address-popup #wpsl-search-wrap input,
.stl-address-popup #wpsl-search-btn,
.stl-address-popup #wpsl-search-wrap input {
	border: 2px solid #fff !important;
	border-radius: 28px !important;
}

.address-popup .wpsl-search-btn-wrap,
.stl-address-popup .wpsl-search-btn-wrap {
	width: 50%;
	margin: 0 !important;
	position: relative;
}

.address-popup .wpsl-search-btn-wrap::after,
.stl-address-popup .wpsl-search-btn-wrap::after {
	content: "\f0da";
	font-family: FontAwesome;
	color: #ff0015;
	margin-left: -15px;
	margin-top: 10px;
	position: absolute;
}

#wpsl-search-input {
	width: 100% !important;
	background: transparent;
}

.address-popup .wpsl-input [type="text"],
.stl-address-popup .wpsl-input [type="text"] {
	height: 29px;
	border: 1px solid #9ea1a6;
	background-color: #fff;
}

.address-popup #wpsl-result-list,
.stl-address-popup #wpsl-result-list {
	float: left;
	background-color: #fff;
	width: 39%;
}

.address-popup .wpsl-search-btn-wrap #wpsl-search-btn,
.stl-address-popup .wpsl-search-btn-wrap #wpsl-search-btn {
	display: inline-block !important;
	width: 100% !important;
	color: #ff0000 !important;
	box-shadow: none !important;
	margin: 0 !important;
	text-transform: uppercase !important;
	font-family: "DIN", sans-serif !important;
	background-image: none !important;
	background: #fff !important;
	padding: 5px 15px !important;
	font-size: 22px !important;
	border: none;
	font-weight: 500 !important;
}

.address-popup .wpsl-store-location,
.stl-address-popup .wpsl-store-location {
	display: inline-block;
	width: 100%;
	margin-bottom: 25px;
}

.address-popup .wpsl-store-location p,
.stl-address-popup .wpsl-store-location p {
	display: block !important;
}

.address-popup .wpsl-store-location p strong,
.stl-address-popup .wpsl-store-location p strong {
	display: inline-block;
	position: relative;
	color: #000;
	font-size: 18px;
	line-height: 18px;
	font-weight: 700;
	margin: 0;
	font-family: Oswald, sans-serif !important;
}

.address-popup .wpsl-store-location p strong:before,
.stl-address-popup .wpsl-store-location p strong:before {
	color: #ed1c24;
	font-size: 28px;
	margin-right: 6px;
	content: "\f041";
	font-family: FontAwesome;
	vertical-align: middle;
}

.address-popup .wpsl-store-location p span,
.stl-address-popup .wpsl-store-location p span {
	float: left;
	width: 100%;
	color: #000;
	font-size: 12px;
	line-height: 16px;
	padding-left: 24px;
}

.address-popup .wpsl-direction-wrap,
.stl-address-popup .wpsl-direction-wrap {
	display: none;
}

.address-popup #wpsl-stores p,
.stl-address-popup #wpsl-stores p {
	display: block;
	border-bottom: 1px solid #b9b9b9;
}

.address-popup .wpsl-store-location p,
.stl-address-popup .wpsl-store-location p {
	border: 0 !important;
}

#wpsl-wrap #wpsl-result-list li {
	padding: 15px 20px;
	border-bottom: 1px solid #b9b9b9;
}

#wpsl-stores ul li a span {
	font-family: "Open Sans", sans-serif;
	background-color: #a90000 !important;
	color: #fff !important;
	padding: 10px 15px;
	margin-left: 0;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

#wpsl-gmap {
	width: 60.5%;
}

/* Popup body grid: list left 39% | map right 61% */
.address-popup #wpsl-wrap,
.stl-address-popup #wpsl-wrap {
	display: grid !important;
	grid-template-columns: 39% 61%;
	grid-template-rows: auto;
	align-content: start;
	background: #ff0000;
	overflow: hidden;
}

.address-popup #wpsl-result-list,
.stl-address-popup #wpsl-result-list {
	grid-column: 1;
	grid-row: 1;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	flex: none !important;
	order: unset !important;
	background-color: #fff;
	min-height: 430px;
	max-height: 430px;
	overflow-y: auto;
	border-right: 4px solid #ed1c24;
	box-sizing: border-box;
}

.stl-address-popup #wpsl-stores > p,
.address-popup #wpsl-stores > p {
	display: block !important;
	visibility: visible !important;
}

.address-popup #wpsl-gmap,
.stl-address-popup #wpsl-gmap {
	grid-column: 2;
	grid-row: 1;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	flex: none !important;
	order: unset !important;
	height: 430px !important;
	min-height: 430px !important;
	background: #fff;
}

.address-popup #wpsl-gmap .wpsl-gmap-canvas,
.stl-address-popup #wpsl-gmap .wpsl-gmap-canvas,
.address-popup #wpsl-gmap iframe,
.stl-address-popup #wpsl-gmap iframe {
	width: 100% !important;
	height: 430px !important;
	min-height: 430px !important;
}

div#wpsl-wrap {
	background: #ff0000;
}

/* removed duplicate flex block - using grid above */

/* Red top header: current store left, search right */
.stl-popup-red-header {
	display: flex;
	width: 100%;
	background: #ff0000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding-right: 0;
	min-height: 130px;
	box-sizing: border-box;
}

.stl-popup-current-store {
	flex: 1 1 58%;
	padding: 20px;
}

.stl-popup-current-store h1 {
	font-family: "open sans", sans-serif !important;
	font-size: 20px;
	color: #fff;
	font-weight: 700;
	margin: 0 0 8px;
	padding: 0;
	text-transform: uppercase;
}

.stl-popup-current-store .stl-current-store-name {
	display: block;
	font-size: 20px;
	font-weight: 700;
	padding-top: 4px;
	color: #fff;
	margin: 0 0 4px;
	font-family: "open sans", sans-serif !important;
}

.stl-popup-current-store .stl-current-store-name:before {
	color: #fff;
	font-size: 28px;
	margin-right: 6px;
	content: "\f041";
	font-family: FontAwesome;
	vertical-align: initial;
}

.stl-popup-current-store .stl-current-store-address {
	margin: 0;
	padding: 0 0 0 30px;
	font-size: 14px;
	line-height: 22px;
	color: #fff;
	font-family: sans-serif;
}

.stl-popup-current-store .store {
	margin-top: 10px;
	padding-left: 24px;
}

.stl-popup-search-slot {
	display: flex !important;
	flex: 0 0 38%;
	flex-direction: column;
	align-items: stretch;
	border-left: 1px solid #fff;
	padding: 14px 20px 18px 15px;
	box-sizing: border-box;
	min-height: 130px;
	position: relative;
	z-index: 5;
}

.stl-search-heading {
	margin: 0 0 10px;
	padding: 0;
	color: #fff !important;
	font-family: "Open Sans", sans-serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
}

.stl-popup-search-slot .wpsl-search {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-left: 0 !important;
	background-color: transparent !important;
	position: static !important;
}

/* Never show search inside #wpsl-wrap grid (map area) — only in red header slot */
.stl-address-popup #wpsl-wrap > .wpsl-search,
.address-popup #wpsl-wrap > .wpsl-search {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	left: -9999px !important;
	pointer-events: none !important;
}

.stl-address-popup.stl-search-placed .stl-popup-search-slot .wpsl-search,
.address-popup.stl-search-placed .stl-popup-search-slot .wpsl-search {
	display: block !important;
	visibility: visible !important;
	height: auto !important;
	overflow: visible !important;
	position: static !important;
	left: auto !important;
	pointer-events: auto !important;
}

.stl-address-popup.stl-search-placed .stl-search-heading,
.address-popup.stl-search-placed .stl-search-heading {
	display: none !important;
}

/* Body: nearby list LEFT, map RIGHT - see grid rules above */

.address-popup #wpsl-stores > p,
.stl-address-popup #wpsl-stores > p {
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.stl-wpsl-full-address {
	display: block;
	width: 100%;
	color: #000;
	font-size: 12px;
	line-height: 16px;
	padding-left: 24px;
}

/* Body: nearby list LEFT, map RIGHT - see grid rules above */
.stl-store-actions {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
	padding-left: 24px;
	visibility: visible !important;
	opacity: 1 !important;
}

.stl-store-actions a.stl-set-my-store,
.stl-store-actions a.stl-store-details,
#wpsl-stores ul li .stl-set-my-store,
#wpsl-stores ul li .stl-store-details {
	display: inline-block !important;
	text-decoration: none !important;
	visibility: visible !important;
}

.stl-store-actions a span,
.stl-store-actions a.stl-set-my-store,
.stl-store-actions a.stl-store-details,
#wpsl-stores ul li a span,
#wpsl-stores ul li .stl-set-my-store,
#wpsl-stores ul li .stl-store-details,
#wpsl-stores ul li .stl-set-my-store span,
#wpsl-stores ul li .stl-store-details span {
	display: inline-block !important;
	font-family: "Open Sans", sans-serif;
	background-color: #a90000 !important;
	color: #fff !important;
	padding: 10px 15px !important;
	margin: 0 8px 0 0 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	border: 0 !important;
	line-height: 1.2 !important;
	cursor: pointer;
}

.stl-store-actions a:hover span,
#wpsl-stores ul li a:hover span {
	background-color: #ed1c24 !important;
}

.address-popup .wpsl-store-location p strong,
.stl-address-popup .wpsl-store-location p strong {
	display: inline-block;
	width: 100%;
	padding-left: 0;
}

/* Header current store STORE DETAILS button */
.address-popup .store a,
.stl-address-popup .store a,
.address-popup .wpsl-header .store a {
	text-transform: uppercase;
}

@media (max-width: 930px) {
	.address-popup,
	.stl-address-popup {
		width: 96%;
		max-width: 96%;
		left: 2%;
		height: 96%;
		top: 2%;
		margin: 0;
		background: #eee;
		border: 0;
		overflow-y: auto;
	}
}

@media (max-width: 767px) {
	.stl-popup-red-header {
		flex-direction: column;
		padding-right: 0;
	}

	.stl-popup-search-slot {
		flex: none;
		width: 100%;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.25);
		padding: 10px 15px;
		min-height: 0;
	}

	.address-popup .wpsl-header,
	.stl-address-popup .wpsl-header {
		float: none !important;
		width: 100%;
		padding: 10px 15px;
	}

	.address-popup .wpsl-header > div > div,
	.stl-address-popup .wpsl-header > div > div {
		float: none !important;
	}

	.address-popup .wpsl-header .store,
	.stl-address-popup .wpsl-header .store {
		margin-top: 10px;
	}

	.address-popup .wpsl-search,
	.stl-address-popup .wpsl-search {
		float: none;
		width: 100%;
		padding: 10px 15px;
		margin: 0;
		border-left: 0;
	}

	.wpsl-search #wpsl-search-wrap,
	.wpsl-search #wpsl-search-wrap div {
		float: none;
	}

	.address-popup .wpsl-search-btn-wrap,
	.stl-address-popup .wpsl-search-btn-wrap {
		width: 100%;
	}

	.address-popup #wpsl-gmap,
	.stl-address-popup #wpsl-gmap {
		float: none;
		width: 100%;
		height: 260px !important;
		min-height: 260px;
	}

	.address-popup #wpsl-result-list,
	.stl-address-popup #wpsl-result-list {
		float: none;
		width: 100%;
	}

	#wpsl-search-wrap #wpsl-search-btn {
		margin-bottom: 0 !important;
	}
}

@media (max-width: 500px) {
	.address-popup .close-popup,
	.stl-address-popup .close-popup {
		width: 25px;
		z-index: 99;
	}

	.address-popup .wpsl-header h1,
	.stl-address-popup .wpsl-header h1 {
		margin-right: 40px;
	}
}
