A {
	text-decoration: none;
	color: #000000;
}

UL {
	list-style: none outside none;
	padding-left: 0;
}

LI {
	margin-right: 0px;
	margin-left: 0px;
}

.template_outer {
	background-color: #EEEEEE;
	overflow: hidden;
	/*+border-radius: 7px;*/
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	-khtml-border-radius: 7px;
	border-radius: 7px;
	margin: 4px 0 8px 0px;
	width: 100%;
	min-width: 250px;
	box-sizing: border-box;
	position: relative;
	display: flex;
	/*left: 0px;*/
}

.dashcam {
	width: 100%;
	min-width: 250px;
	display: none;
	/* Toggle to 'block' or remove when showing the dashcam */
	text-align: center;
	/* Centers the image-container */
	margin-top: 12px;
	padding-bottom: 3px;
}

.dashcam_image-container {
	position: relative;
	display: inline-block;
	/* Shrinks to fit the image size */
}

.dashcam_img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 60vh;
	object-fit: contain;
	display: block;
	/* Removes any inline spacing */
	border: 1px solid black;
}

.live {
	position: absolute;
	top: 1vw;
	left: 1vw;
	/* Top-left corner of the image */
	background-color: rgba(216, 0, 0, 0.5);
	color: rgba(255, 255, 255, 0.654);
	/* For better visibility */
	font-size: 1.9vw;
	padding: 0.4vw 0.6vw;
	/* Optional: Improves appearance */
	z-index: 50;
	font-weight: bold;
	/*+border-radius: 1vw;*/
	-moz-border-radius: 1vw;
	-webkit-border-radius: 1vw;
	-khtml-border-radius: 1vw;
	border-radius: 1vw;
	cursor: default;
	white-space: nowrap;
}

.live.offline {
	background-color: rgba(60, 60, 60, 0.7);
	color: rgba(220, 220, 220, 0.85);
}

.dashcam_viewers {
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 60;
	display: none;
	color: #ffffff;
	font-weight: 900;
	font-size: clamp(40px, 16vw, 100px);
	line-height: 1;
	font-family: Arial, Helvetica, sans-serif;
	pointer-events: auto;
	cursor: pointer;
	padding: 8px 12px 4px;
	white-space: nowrap;
	user-select: none;
	-webkit-user-select: none;
	-webkit-text-stroke: 3px #000000;
	paint-order: stroke fill;
	text-shadow:
		-3px -3px 0 #000000,
		3px -3px 0 #000000,
		-3px 3px 0 #000000,
		3px 3px 0 #000000,
		-3px 0 0 #000000,
		3px 0 0 #000000,
		0 -3px 0 #000000,
		0 3px 0 #000000;
}

.dashcam_viewer_names {
	display: none;
	width: 100%;
	box-sizing: border-box;
	margin: 10px 0 8px;
	padding: 0 8px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 800;
	font-size: clamp(26px, 7.5vw, 42px);
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: #111111;
}

.dashcam_viewer_name {
	display: block;
}

.dashcam_fullscreen_button {
	position: absolute;
	bottom: 9px;
	right: 12px;
	width: 32px;
	z-index: 50;
	background-color: rgba(255, 255, 255, 0.212);
	/*+border-radius: 6px;*/
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	cursor: pointer;
}

.dashcam_fullscreen_overlay {
	position: fixed;
	z-index: 999999;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background-color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}

.dashcam_fullscreen_image-container {
	position: relative;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.dashcam_fullscreen_img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dashcam_fullscreen_live {
	position: absolute;
	top: 9px;
	left: 12px;
	background-color: rgba(216, 0, 0, 0.5);
	color: rgba(255, 255, 255, 0.654);
	font-size: 18px;
	padding: 4px 8px;
	z-index: 1000;
	font-weight: bold;
	border-radius: 9px;
	cursor: default;
	white-space: nowrap;
}

.dashcam_fullscreen_live.offline {
	background-color: rgba(60, 60, 60, 0.7);
	color: rgba(220, 220, 220, 0.85);
}

.dashcam_fullscreen_viewers {
	position: absolute;
	top: 16px;
	right: 20px;
	z-index: 1001;
	display: none;
	color: #ffffff;
	font-weight: 900;
	font-size: clamp(72px, 22vmin, 160px);
	line-height: 1;
	font-family: Arial, Helvetica, sans-serif;
	pointer-events: auto;
	cursor: pointer;
	padding: 12px 20px 8px;
	white-space: nowrap;
	user-select: none;
	-webkit-user-select: none;
	-webkit-text-stroke: 5px #000000;
	paint-order: stroke fill;
	text-shadow:
		-5px -5px 0 #000000,
		5px -5px 0 #000000,
		-5px 5px 0 #000000,
		5px 5px 0 #000000,
		-5px 0 0 #000000,
		5px 0 0 #000000,
		0 -5px 0 #000000,
		0 5px 0 #000000;
}

.dashcam_fullscreen_exit_button {
	position: absolute;
	bottom: 9px;
	right: 12px;
	width: 32px;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.212);
	border-radius: 6px;
	cursor: pointer;
}

@media only screen and (max-width: 767px) {
	.dashcam_fullscreen_button {
		display: none;
	}
}
