/*
Theme Name:		Hello Elementor Child
Theme URI:		https://elementor.com/
Description:	Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author:			Elementor Team
Author URI:		https://elementor.com/
Template:		hello-elementor
Version:		1.0.0
Text Domain:	hello-elementor-child
Tags:           flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

div.map-not-logged-in {
	background-color: rgba(35, 31, 32, 0.4);
	padding: 70px 22px 50px;
}

div.map-not-logged-in h2 {
	max-width: 1000px;
	color: #fff;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

div.map-not-logged-in a.elementor-button {
	width: 100%;
	color: #fff;
	border-color: #fff;
	margin-bottom: 10px;
}
div.map-not-logged-in a.signup:hover {
	border-color: #004987;
}
div.map-not-logged-in a.login:hover {
	background-color: #ffcd00;
	border-color: #ffcd00;
}

@media all and (min-width: 768px) {
	div.map-not-logged-in {
		padding: 130px 22px 115px;
	}
	.elementor-row {
		justify-content: space-between;
	}
	div.map-not-logged-in a.elementor-button {
		width: calc(50% - 8px);
		margin-bottom: 0;
	}
}

@media all and (min-width: 1181px) {
	div.map-not-logged-in {
		padding: 170px 22px 150px;
	}
	.elementor-row {
		justify-content: center;
	}
	div.map-not-logged-in a.elementor-button {
		width: 200px;
		margin: 0 8px;
	}
}

#map {
	height: 73vh;
	flex: 2;
}

.filter-text {
	color: #424242;
	font-size: 14px;
}

.hide {
	display: none !important;
}

.filter-btn {
	width: 100%;
	padding: 10px 20px;
	background-color: #fff !important;
	border: none !important;
	text-align: center;
}
.filter-btn:hover {
	background-color: #dedede !important;
}
.filter-btn:focus {
	background-color: #fff !important;
}

.map-header {
	margin: 0;
}
.map-header > a {
	font-size: 16px;
	font-weight: medium;
}

#checkall {
	display: none;
}

.map-icon {
	width: 16px;
	height: 16px;
}

.map-isActive {
	color: green;
}
.map-notActive {
	color: red;
}

.main-switch {
	text-align: center;
	background-color: #e4eef7;
}

.toggle-all {
	width: 100%;
	padding: 1em;
}

.map-signup-cta {
	width: 100%;
	text-align: center;
}

.map-menu-item {
	width: 100%;
}

.cat-filter {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 1em;
	padding: 0.5em 2em 0.5em 1em;
}

.disclaimer-text {
	margin-bottom: 0;
	font-size: 12px;
	text-align: center;
	width: 100%;
	color: #000;
}

.cat-filter:nth-child(even) {
	background-color: #e4eef7;
}

.interactive-map {
	display: flex;
}

.acf-gallery-upload {
	background-color: #004987;
}

.center-btn,
.business-cta,
.share-cta {
	text-align: center;
	padding: 10px 5px;
	font-weight: bold;
}

.business-cta,
.share-cta {
	width: 100%;
}

.business-cta {
	background-color: #ffd700;
}
.share-cta {
	padding: 5px 0;
}
.share-cta:hover {
	color: #004987;
}
.center-btn,
.share-cta {
	background-color: #e4eef7 !important;
	padding: 10px 30px;
	color: #004987 !important;
}
.center-btn:hover,
.share-cta:hover {
	background-color: #f0f6ff !important;
	padding: 10px 30px;
	color: #004987 !important;
}

.center-btn {
	border: none !important;
}

.location-image {
	min-width: 150px;
	width: 100%;
	height: 100px;
	object-fit: cover;
}

.filter-row {
	width: 100%;
	display: flex;
	flex-direction: row;
}

.full-w {
	flex: 1;
}

.business-cta:hover {
	background-color: #fff7d9;
	color: #004987 !important;
}

.map-filter {
	display: flex;
	flex-direction: column;
	flex: 1.5;
	max-width: 400px;
}

/* mobile media query
----------------------------------------------- */

@media all and (min-width: 768px) {
	#error-row {
		flex-direction: row;
	}
}
#error-row {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 10px;
}

#low-gps-container,
#permission-container,
#unavailable-container {
	display: flex;
	gap: 1em;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.error-btn {
	background-color: #e4eef7 !important;
	padding: 10px 30px;
	font-size: 14px !important;
	color: #004987 !important;
	border: none !important;
	width: 100%;
}
@media all and (min-width: 768px) {
	#low-gps-container,
	#permission-container,
	#unavailable-container {
		text-align: left;
		display: flex;
		flex-direction: row;
	}
	.error-btn {
		width: 150px;
	}
}
.error-btn:hover {
	background-color: #f0f6ff !important;

	color: #004987 !important;
}

.map-filter > ul {
	padding: 0;
}

.button-stack {
	display: flex;
}

.map-pin {
	width: 16px !important;
	height: 16px;
	stroke: #000;
	stroke-width: 1px;
}

.location-icon {
	display: inline-block;
}
.map-pin-att-besoka {
	fill: #8b4513;
}
.map-pin-batklubbar {
	fill: #00008b;
}
.map-pin-batmaklare {
	fill: #ff0000;
}
.map-pin-batvarv-verkstad {
	fill: #ffd700;
}
.map-pin-cafe-sjobodar {
	fill: #00ff00;
}
/* OBS TVÅ CASE AV SAMMA FÄRG HÄR */
.map-pin-gasthamnar {
	fill: #00ffff;
}
.map-pin-hotell-boende {
	fill: #ff00ff;
}
.map-pin-sjokrogar-restauranger {
	fill: #6495ed;
}
.map-pin-sjostationer-bransle {
	fill: #ffe4b5;
}
.map-pin-bottentvatt {
	fill: #ff69b4;
}
.map-pin-toatomning {
	fill: #2f4f4f;
}

.map-popup {
	min-width: 150px;
	max-width: 200px;
}

.map-popup .wp-post-image {
	width: 100%;
	height: 150px;
	object-fit: cover;
}
@media all and (min-width: 768px) {
	.map-popup {
		min-width: 200px;
		max-width: 300px;
	}
	.map-popup .wp-post-image {
		height: 200px;
		object-fit: cover;
	}
}
