/**
 * @file css/optimetaCitations.css
 *
 * Copyright (c) 2025 KOMET project, OPTIMETA project, Daniel Nüst, Tom Niers
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
 *
 * @brief Main stylesheet for the plugin.
 */

.geoMetadata_download_about a {
	text-decoration: none;
	color: #777;
	/* based on OJS @text-light */
	font-size: 13px;
	margin-left: 13px;
}

.geoMetadata_timestamp {
	font-weight: bold;
}

.geoMetadata_coverage {
	font-style: italic;
}

/* to debug the hidden data fields, rename the class below to make them visible */
.hiddenDataField {
	height: 0px;
	width: 0px;
	visibility: hidden;
	display: none;
}

.geoMetadata_formGroupMargin {
	margin-top: 1.5rem;
}

/* https://www.w3schools.com/css/css_tooltip.asp */
.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	visibility: hidden;
	width: 300px;
	top: 100%;
	left: 50%;
	margin-top: 5px;
	/* space for arrow */
	margin-left: -150px;
	position: absolute;
	z-index: 9;

	border: 1px solid #777;
	background-color: white;
	text-align: center;
	padding: 5px 5px;
	border-radius: 3px;

	color: #777;
	font-size: 13px;
	font-family: Noto Sans, sans-serif;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
}

.tooltip .tooltiptext::after {
	content: " ";
	position: absolute;
	bottom: 100%;
	/* At the top of the tooltip */
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent black transparent;
}

.geoMetadata_issue_maplink {
	text-decoration: none;
}

.geoMetadata_journal_maplink {
	text-decoration: none;
}

.geoMetadata_title_hover {
	border-left: 5px solid red;
	padding-left: 5px;
	margin-left: -10px;
	background-color: rgba(255, 0, 0, 0.15);
}

/*
.geoMetadata_license, .geoMetadata_license a {
	text-decoration: none;
	color: #777;
	font-size: 13px;
}*/

.geoMetadata_warning {
	border-left: 3px solid #ffa500;
	padding-left: 5px;
	background-color: rgba(255, 165, 0, 0.15);
}
