//
//	COMPONENTS
//
%h1 {
	border-bottom: 3px solid currentColor;
	font-size: $fz-h1;
	color: $primary-color;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 1em;
}

%h2 {
	font-size: $fz-h3;
	color: $primary-color;
}

%title {
	border-bottom: 3px solid currentColor;
}

%cancel-button {
	color: $red;
	border-color: currentColor;
	background-color: white;
	&:hover {
		background-color: white;
		color: $red;
	}
}

//
//	HEADER
//

#header-wrapper {
	background-color: hsla(0, 0%, 100%, 0.8);
}
div#header {
	padding: 0;
}
#top {
	display: flex;
	flex-wrap: wrap;
}

#logo,
#toplinks {
	flex: 0 0 50%;
	@media ($max-mobile-viewport) {
		flex-basis: 100%;
	}
}

#logo.has-logo {
	height: 85px;
	a {
		display: block;
		height: 67px;
		max-width: 100%;
		margin: 10px 0;
		@media (max-width: $nav-mobile-limit) {
			margin: 5px auto 0 auto;
			width: 300px;
			height: 45px;
		}
	}
}

#toplinks {
	position: static;
	border: none;
	border-radius: 0;
	padding: 0 0.7rem;
	background-color: $gray-xdark;
	box-shadow: none;
	max-width: none;
	min-height: 2.5em;
	color: white;
	@media (max-width: $nav-mobile-limit) {
		order: -1;
	}
	> span {
		height: 100%;
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	a {
		color: inherit;
		padding: 0.33em 0.5em;
	}
}

//
//	NAV
//
.gru-nav-wrapper {
	@media (max-width: $nav-mobile-limit) {
		margin-top: -1 * $nav-menu-side;
	}
}

div.gru-nav > ul {
	margin-top: 0;
	> li a {
		font-weight: 500;
	}
}

//
//	CELLS
//
.text-cell {
	overflow: hidden;
}


//
//	WCS
//
div#rub_service {
	background-color: white;
	border: .66em solid white;

	h2:first-child {
		@extend %h1;
	}
	h3 {
		@extend %h2;
	}
}

ul#evolutions div.evolution-metadata,
ul#evolutions li div.msg,
.tracking-code-part {
	background-color: white;
}

div#rub_service div.dataview,
div#rub_service dl#evolutions,
div#rub_service .drafts-recall,
div#rub_service form {
	padding-top: 0;
}
