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