@import url(https://cdn.geocat.net/css/geocat.base.min.css);
@import url(https://cdn.geocat.net/css/geocat.logo.min.css);

:root {
	--gc-logo-height: 30px; /* can't be a percentage */
}

/* background color */
.wy-body-for-nav, .wy-nav-content-wrap, .wy-nav-content {
	background: var(--gc-background-color-body) !important;
}

/* general */
body {
	margin: 0;
	padding: 0;
	font-size: 16px;
}
p {
	margin: 0 0 var(--gc-spacing-default);
	line-height: 24px;
	font-size: 16px;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* utilities */
.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}

/* font awesome */
@font-face {
	font-family: 'FontAwesome';
	src: url('../font/fontawesome-webfont.eot?v=4.7.0');
	src: url('../font/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal;
}
.fa {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.fa-home:before {
	content: "\f015";
}

/* layout */
.wy-nav-content-wrap {
	height: 100vh;
	overflow: auto;
	min-height: 100%;
	margin-left: 0;
}
/* content */
.wy-nav-content {
	padding: 1.618em 3.236em;
	height: 100%;
	max-width: 800px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* menu */
.header hr {
	clear: both;
}
.header ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* breadcrumbs */
.wy-breadcrumbs {
	float: left;
	margin-top: -2px;
	margin-bottom: var(--gc-spacing-default) !important;
	width: calc(100% - 130px);
	padding-left: 0 !important;
}
.wy-breadcrumbs .project-name {
	line-height: 25px;
	margin-left: 5px;
}
.wy-breadcrumbs .source-code {
	text-decoration: none;
	color: var(--gc-gray-400);
	margin-left: 8px;
	margin-top: -2px;
	display: inline-block;
}
.wy-breadcrumbs li {
	margin-left: 0 !important;
	display: inline;
}
.wy-breadcrumbs li a {
	padding-right: 0;
	text-decoration: none;
}
.wy-breadcrumbs li:before {
	content: "/";
	margin-right: 5px;
	margin-left: 5px;
}
.wy-breadcrumbs .wy-breadcrumb-first:before, .wy-breadcrumbs .wy-breadcrumbs-aside:before {
	content: "";
}
.wy-breadcrumbs li:first-child:before {
	display: none;
}

/* logo */
.gc-menu {
	float: right;
	padding-left: 0 !important;
	margin-bottom: var(--gc-spacing-default) !important;
}
.gc-menu li {
	list-style: none !important;
	margin-left: 0 !important;
}
.gc-menu .gc-logo {
	height: var(--gc-logo-height);
	width: calc(var(--gc-logo-height) * (25 / 6));
}
.gc-logo-base64 {
	background-image: var(--gc-logo-base64-full);
	background-size: 100%;
	background-repeat: no-repeat;
}
@media screen and (prefers-color-scheme: dark) {
	.gc-logo-base64 {
		background-image: var(--gc-logo-base64-full-bw);
	}
}
@media (max-width: 425px) {
	.gc-menu .gc-logo {
		height: var(--gc-logo-height);
		width: var(--gc-logo-height);
		background-size: cover;
	}
	.gc-logo-base64 {
		background-image: var(--gc-logo-base64-notext);
	}
	@media screen and (prefers-color-scheme: dark) {
		.gc-logo-base64 {
			background-image: var(--gc-logo-base64-notext-bg);
		}
	}
}

/* footer */
footer {
	color: var(--gc-gray-600);
}
footer p {
	padding-bottom: var(--gc-spacing-default);
}
footer hr {
	margin: var(--gc-spacing-default) 0px;
}

/* tables */
.rst-content table th, .rst-content table td {
	padding: 5px 10px 5px 3px;
	text-align: left;
}
.rst-content table th a, .rst-content table td a {
	text-decoration: none;
}
.rst-content table th hr {
	display: none;
}
.rst-content table td img {
	width: 20px;
	margin-bottom: 0;
}
.rst-content table td img[src="/include/_static/back.png"] {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%230366d6'%3E%3Cpath d='M12.53 9.13l-1.18 1.18-2.97-2.98v7.61h8.3v1.66h-9.96v-9.27l-2.97 2.98-1.18-1.18 4.98-4.98 4.98 4.98z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
	width: 20px;
	height: 20px;
}
.rst-content table td [src="/include/_static/folder.png"] {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%230366d6'%3E%3Cpath d='M15.77 12.45l-4.98 4.98-1.18-1.18 2.98-2.97h-9.27v-9.96h1.66v8.3h7.61l-2.98-2.97 1.18-1.18 4.98 4.98z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
	width: 20px;
	height: 20px;
}
@media screen and (prefers-color-scheme: dark) {
	.rst-content table td img[src="/include/_static/back.png"] {
		content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%233ab1fd'%3E%3Cpath d='M12.53 9.13l-1.18 1.18-2.97-2.98v7.61h8.3v1.66h-9.96v-9.27l-2.97 2.98-1.18-1.18 4.98-4.98 4.98 4.98z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
	}

	.rst-content table td [src="/include/_static/folder.png"] {
		content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%233ab1fd'%3E%3Cpath d='M15.77 12.45l-4.98 4.98-1.18-1.18 2.98-2.97h-9.27v-9.96h1.66v8.3h7.61l-2.98-2.97 1.18-1.18 4.98 4.98z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
	}
}

/* error page */
.errorCode {
	font-size: 42px;
	font-weight: 700;
	margin-bottom: 20px;
	background-color: #e23d67;
	color: #fff;
	padding: 5px 10px;
	border-radius: 3px;
	display: inline-block;
}

/* custom links - re-label common directory patterns */

/* sorting */
a[href^="?C=N;O="] {
	pointer-events: none;
}

/* GeoCat Products */
a[href="bridge/"] {
	visibility: hidden;
}
a[href="bridge/"]:before {
	visibility: visible;
	content: "Bridge";
}
a[href="arcmap/"] {
	visibility: hidden;
}
a[href="arcmap/"]:before {
	visibility: visible;
	content: "Bridge for ArcMap";
}
a[href="qgis/"] {
	visibility: hidden;
}
a[href="qgis/"]:before {
	visibility: visible;
	content: "Bridge for QGIS";
}
a[href="pro/"] {
    visibility: hidden;
}
a[href="pro/"]:before {
    visibility: visible;
    content: "Bridge for ArcGIS Pro";
}
a[href="geonetwork-enterprise/"] {
	visibility: hidden;
}
a[href="geonetwork-enterprise/"]:before {
	visibility: visible;
	content: "GeoCat Find";
}
a[href="find/"] {
	visibility: hidden;
}
a[href="find/"]:before {
	visibility: visible;
	content: "GeoCat Find";
}

a[href="geoserver-enterprise/"] {
	visibility: hidden;
}
/**a[href="geoserver-enterprise/"]:before {
	visibility: visible;
	content: "GeoCat Map";
}
*/

a[href="map/"] {
	visibility: hidden;
}
a[href="map/"]:before {
	visibility: visible;
	content: "GeoCat Map";
}

a[href="live/"] {
	visibility: hidden;
}
a[href="live/"]:before {
	visibility: visible;
	content: "GeoCat Live";
}
/* General */
a[href="latest/"] {
	visibility: hidden;
}
a[href="latest/"]:before {
	visibility: visible;
	content: "Latest";
}
/* GN Enterprise */
a[href="geonetwork/"] {
	visibility: hidden;
}
a[href="geonetwork/"]:before {
	visibility: visible;
	content: "GeoNetwork";
}
a[href="schema_plugins/"] {
	visibility: hidden;
}
a[href="schema_plugins/"]:before {
	visibility: visible;
	content: "Metadata schema plugins";
}
a[href="other_plugins/"] {
	visibility: hidden;
}
a[href="other_plugins/"]:before {
	visibility: visible;
	content: "Other plugins";
}
a[href="views/"] {
	visibility: hidden;
}
a[href="views/"]:before {
	visibility: visible;
	content: "UI Views";
}
/* reset for the first link with the icon (in the first column) */
td[valign="top"] a {
	visibility: visible;
}
td[valign="top"] a:before {
	content: "";
}