﻿
.scaler {
	align-items: center;
	background-color: var(--scaler-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);
}
	.scaler::after {
		border-left: 9px solid transparent;
		border-right: 9px solid transparent;
		border-top: 9px solid var(--scaler-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;
	}

	.scaler .icon {
		align-items: center;
		display: flex;
		justify-content: center;
		color: #FFFFFF;
	}

	.scaler img {
		margin-top:1px;
		width: var(--marker-img-size);
		height: var(--marker-img-size);
	}

	.scaler .icon svg {
		height: 20px;
		width: auto;
	}

	.scaler .details {
		display: none;
		flex-direction: column;
		flex: 1;
	}

	.scaler .address {
		color: #9E9E9E;
		font-size: 10px;
		margin-bottom: 10px;
		margin-top: 5px;
	}

	.scaler .features {
		align-items: flex-end;
		display: flex;
		flex-direction: row;
		gap: 10px;
	}

		.scaler .features > div {
			align-items: center;
			background: #F5F5F5;
			border-radius: 5px;
			border: 1px solid #ccc;
			display: flex;
			font-size: 12px;
			gap: 5px;
			padding: 5px;
		}

	/* scaler styles in highlighted state. */
	.scaler.highlight {
		background-color: #FFFFFF;
		border-radius: 8px;
		box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
		height: 88px;
		width: 238px;
		/*padding: 8px 15px;*/
	}

		.scaler.highlight::after {
			border-top: 9px solid #FFFFFF;
			top: 100%;
		}

		.scaler.highlight .details {
			display: flex;
		}

		.scaler.highlight .icon svg {
			width: 50px;
			height: 50px;
		}

	.scaler .bed {
		color: #FFA000;
	}

	.scaler .bath {
		color: #03A9F4;
	}

	.scaler .size {
		color: #388E3C;
	}

/*
            .scaler.highlight .icon {   color: var(--scaler-color); }
            .scaler:not(.highlight) {    background-color: var(--scaler-color);}
                .scaler:not(.highlight)::after {  border-top: 9px solid var(--scaler-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;
}

.image-title-camera {
	position: absolute;
	top: 1px;
	left: 1px;
	background-color: rgba(0, 0, 0, 0.3);
	color: white;
	padding: 3px 3px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: bold;
}
