﻿
.counter {
	align-items: center;
	background-color: var(--counter-color);
	border-radius: 25%;
	color: #263238;
	display: flex;
	font-size: 14px;
	gap: 15px;
	justify-content: center;
	padding: 4px;
	position: relative;
	position: relative;
	transition: all 0.3s ease-out;
	width: var(--marker-width);
	height: var(--marker-height);
}
	.counter::after {
		border-left: 9px solid transparent;
		border-right: 9px solid transparent;
		border-top: 9px solid var(--counter-color);
		content: "";
		height: 0;
		left: 50%;
		position: absolute;
		top: 95%;
		transform: translate(-50%, 0);
		transition: all 0.3s ease-out;
		width: 0;
		z-index: 1;
	}

	.counter .icon {
		align-items: center;
		display: flex;
		justify-content: center;
		color: #FFFFFF;
	}

	.counter img {
		margin-top:1px;
		width: var(--marker-img-counter-size);
		height: var(--marker-img-counter-size);
	}

	.counter .icon svg {
		height: 20px;
		width: auto;
	}

	.counter .details {
		display: none;
		flex-direction: column;
		flex: 1;
	}

	.counter .address {
		color: #9E9E9E;
		font-size: 10px;
		margin-bottom: 10px;
		margin-top: 5px;
	}

	.counter .features {
		align-items: flex-end;
		display: flex;
		flex-direction: row;
		gap: 10px;
	}

		.counter .features > div {
			align-items: center;
			background: #F5F5F5;
			border-radius: 5px;
			border: 1px solid #ccc;
			display: flex;
			font-size: 10px;
			gap: 5px;
			padding: 5px;
		}

	/* counter styles in highlighted state. */
	.counter.highlight {
		background-color: #FFFFFF;
		border-radius: 8px;
		box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
		height: 320px;
		width: 280px;
/*		height: 240px;
		width: 210px;*/
	}

		.counter.highlight::after {
			border-top: 9px solid #FFFFFF;
			top: 100%;
		}

		.counter.highlight .details {
			display: flex;
		}

		.counter.highlight .icon svg {
			width: 50px;
			height: 50px;
		}

	.counter .bed {
		color: #FFA000;
	}

	.counter .bath {
		color: #03A9F4;
	}

	.counter .size {
		color: #388E3C;
	}

/*
            .counter.highlight .icon {   color: var(--counter-color); }
            .counter:not(.highlight) {    background-color: var(--counter-color);}
                .counter:not(.highlight)::after {  border-top: 9px solid var(--counter-color); }
         */

.icon-buttons {
	position: absolute;
	top: -12px;
	right: -10px;
	display: flex;
}

.action-button {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: bold;
	color: white;
	margin: 2px;
	width: 20px;
	height: 20px;
	background-color: #007bff;
	border: none;
	border-radius: 15px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.close-button {
	background-color: #dc3545;
}

.play-button {
	font-size: 10px;
	padding: 4px 0px 6px 2px;
	border: 1px dashed darkred;
	background-color: white;
	color: darkred;
}

.action-button .icon {
	margin: 5px;
}

.action-button:hover {
	opacity: 0.9;
}

.div-iw {
	position: relative;
	display: inline-block;
	width: fit-content;
}

.speed {
	width: 12px;
	height: 12px;
	background: url('../svg/gauge-solid.svg') no-repeat center center;
	background-size: contain;
}

.day {
	width: 12px;
	height: 12px;
	background: url('../svg/calendar-day-solid.svg') no-repeat center center;
	background-size: contain;
}

.month {
	width: 12px;
	height: 12px;
	background: url('../svg/calendar-days-solid.svg') no-repeat center center;
	background-size: contain;
}

.custom-legend {
	position:absolute;
	width:100%;
	top:1px;
	left:2px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-top: 5px;
}

.custom-legend-item {
	display: flex;
	align-items: center;
	margin-bottom: 1px;
	font-size:11px;
}

.legend-color-box {
	width: 10px;
	height: 10px;
	margin-right: 5px;
}

.span-small {
font-size:x-small;
}
