@import '../includes/fonts/firasans';
@import '../includes/fonts/roboto-condensed';

%title {
	@extend %title;
	padding-left: 0.5rem;
}

%button {
	@extend %button;
	box-shadow: none;
	font-weight: bold;
	&:hover {
		box-shadow: none;
	}
}

%cancel-button {
	@extend %button;
	font-weight: normal;
	background: #aaa;
}

body {
	background: #fffffe url(img/background.jpg) repeat-y;
	background-attachment: fixed;
	background-position: top center;
}

div.textcell {
	h1 {
		@extend %title;
	}
	h2 {
		@extend %title;
		font-size: 1.5rem;
	}
}

div#header {
	background: white;
	box-shadow: 0 20px 10px $nav-background;
	h1 {
		padding-bottom: 20px;
		a {
			box-sizing: content-box;
			display: block;
			padding-top: 80px;
			height: 40px;
			background: url(img/logo-cd19.png) bottom left no-repeat;
			background-size: 200px auto;
			font-family: $title-font-family;
			font-weight: 300;
			padding-left: 220px;
			overflow: hidden;
		}
		@media screen and ($max-mobile-viewport) {
			padding-top: 20px;
			padding-left: 80px;
			a {
				padding-left: 0;
				text-indent: -1000px;
			}
		}
	}
	@media screen and ($max-mobile-viewport) {
		box-shadow: none;
	}
}

nav {
	z-index: 1000;
}

div#main-content-wrapper {
	box-shadow: 0 -20px 10px $nav-background;
	padding-top: 1rem;
	padding-bottom: 1rem;
	background: white;
}

#toplinks {
	background: #f6f6f6;
	border: none;
	box-shadow: none;
	border-radius: 0;
	a {
		display: inline-block;
		color: black;
		padding: 5px 10px 10px 10px;
		text-decoration: underline;
		&:hover {
			color: $green;
		}
	}
	@media screen and ($max-mobile-viewport) {
		left: 0;
		right: 0;
		max-width: none;
		font-size: 14px;
	}
}

#nav {
	border-bottom: 5px solid $green;
	ul {
		margin: 0;
	}
}

div.gru-nav > ul > li a {
	font-weight: normal;
	text-transform: uppercase;
}

div.drafts-recall a,
div.textcell a {
	text-decoration: underline;
	&.pk-button, &.pk-big-button {
		text-decoration: none;
	}
}

form p label, .field--label {
	font-size: 110%;
}

footer {
	div.textcell a {
		color: white;
	}
}

#footer-wrapper {
	margin-top: 0;
}

#side {
	padding-left: 1rem;
}

#rub_service {
	max-width: 900px;
	margin: auto;
}

#gauche + #rub_service {
	max-width: none;
	margin: 0;
}

input, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="file"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select {
	border-bottom-width: 2px;
	&:focus:not([readonly]) {
		border-bottom-width: 2px;
	}
}
