/*
body {
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
}
*/

a {
	color: rgb(0, 60, 255);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.dg.ac {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	z-index: 2 !important; /* TODO Solve this in HTML */
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

	#overlay button {
		background: transparent;
		border: 0;
		border: 1px solid rgb(255, 255, 255);
		border-radius: 4px;
		color: #ffffff;
		padding: 12px 18px;
		text-transform: uppercase;
		cursor: pointer;
	}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}

/* Enlarge Modal */
.enlarge-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	cursor: pointer;
}

.enlarge-modal-content {
	position: relative;
	max-width: 95%;
	max-height: 95%;
	min-width: 600px;
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	overflow: auto;
	cursor: default;
}

.enlarge-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #fff;
	border: 2px solid #333;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #333;
	transition: all 0.2s ease;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.enlarge-modal-close:hover {
	background: #f44336;
	border-color: #f44336;
	color: #fff;
}

#enlargeModalContent img {
	max-width: 100%;
	max-height: 85vh;
	display: block;
	margin: 0 auto;
}

#enlargeModalContent table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

#enlargeModalContent table td,
#enlargeModalContent table th {
	padding: 8px 12px;
	text-align: left;
}

@media (max-width: 768px) {
	.enlarge-modal-content {
		min-width: auto;
		width: 95%;
	}
}

/* Make tables and images clickable */
.photometryTables table,
#polarPlotImage {
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.photometryTables table:hover,
#polarPlotImage:hover {
	opacity: 0.85;
}
