@import '../includes/fonts/din';

#logo a {
	box-sizing: content-box;
	background: url(img/logo.png) bottom left no-repeat;
	background-size: 340px;
	height: 100px;
	line-height: 190px;
	font-weight: normal;
	display: block;
	color: $primary-color;
	max-width: 340px;
	padding-bottom: 20px;
	position: relative;
	left: -1rem;
	padding-left: 370px;
	@media screen and ($max-mobile-viewport) {
		padding-left: 0;
		max-width: 90%;
		background-size: contain;
		left: 0;
		text-indent: -10000px;
	}
}

#page {
	background: #f3f3f3;
}

#header-wrapper {
	background: white;
}

#nav-wrapper {
	background: white;
	margin-bottom: 0px;
	font-size: 1.5rem;
	border-bottom: 1px solid #e0e0e0;
	div.gru-nav > ul {
		padding-top: 2rem;
		margin-top: 0;
		margin-bottom: 0px;
		ul {
			font-size: 1.125rem;
		}
	}
	div.gru-nav > ul > li a {
		padding-top: 0.25em;
		padding-bottom: 0.25em;
	}
	div.gru-nav > ul > li:first-child a {
		padding-left: 0;
	}
}

div#main-content-wrapper {
	background: white;
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding: 1rem;
}

@media screen and ($max-mobile-viewport) {
	#logo a {
		display: block;
		height: 75px;
	}
	.gru-nav-wrapper {
		margin-top: -48px;
	}
	#nav-wrapper div.gru-nav > ul {
		padding-top: 0;
		margin-top: 0;
	}
	#nav-wrapper div.gru-nav > ul > li:first-child a {
		padding-left: 20px;
	}
}

body.has-picture .site-nav::after {
	top: 1px;
}

div#tracking-code h3,
div#rub_service h2, .form-content--title,
div#rub_service div.category h3,
.gru-content div.a2-block h2,
.gru-content div.block h2,
div.links-list h2,
div#services > ul > li > strong > a,
.gru-content div.textcell h2,
.gru-content div.textcell h2:first-child,
.gru-content div.cell h2:first-child {
	background: transparent;
	color: $font-color;
	font-size: 150%;
	font-weight: bold;
	padding-left: 0.5rem;
	text-align: left;
	&::after {
		display: block;
		content: "";
		background: $primary-color;
		margin-top: 7px;
		width: 40px;
		height: 4px;
	}
}

div.title label {
	font-weight: bold;
}

div#rub_service div.dataview,
div#rub_service form.quixote {
	h3 {
		font-size: 130%;
		border-bottom: 0;
		&::after {
			display: block;
			content: "";
			background: $primary-color;
			margin-top: 7px;
			width: 30px;
			height: 3px;
		}
	}
	h4 {
		font-size: 130%;
		font-weight: normal;
		border-bottom: 1px solid #e5e5e5;
	}
}

div#rub_service > h2:first-child,
.gru-content div.textcell h1 {
	font-size: 3.75rem;
	text-align: center;
	&::after {
		content: none;
	}
}

.column div.a2-block,
.gru-content div.cell,
div.block {
	padding: 0;

	& h2 + div {
		padding: 0.5rem;
	}
}

div.cell a {
	border-bottom: 1px dotted $link-color;
}

#footer {
	background: url(img/blason.png) top left no-repeat;
	min-height: 130px;
	div.cell {
		padding-left: 80px;
	}
	a.button {
		border: 2px solid #fed30e;
		background: #fed30e;
		color: $font-color;
		font-weight: bold;
		padding: 0.5rem 1rem;
		&:hover {
			background: transparent;
		}
	}
	ul {
		padding: 0;
		margin: 0;
		margin-top: 2rem;
		margin-left: 0.5rem;
		li {
			padding: 0;
			margin: 0;
			display: inline;
			a {
				color: $font-color;
				border: none;
				padding-right: 2rem;
			}
		}
	}
}

.fargo-pick-popup button,
button.ui-button,
a#a2-continue,
div.gru-content button,
input[type=submit],
div.buttons input {
	box-shadow: none;
	text-transform: uppercase;
	font-weight: bold;
	&:hover {
		box-shadow: none;
	}
}
