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

%bold-title {
	font-weight: bold;
	font-size: 1.071rem;
	color: #FFFFFF;
}

#content div.cell {
	& h2:first-child {
		@extend %bold-title;
		text-transform: uppercase;
	}
}

h3 {
	font-weight: medium;
	font-size: 1.286rem;
}

p, span {
	font-weight: medium;
	font-size: 1rem;
}

button {
	font-weight: semibold;
	font-size: 1rem;
	color: $primary-color;
	text-transform: uppercase;
}

#header-wrapper {
	border-top: 75px solid $primary-color;
}

#header {
	background-color: #efefef;
}

div#toplinks {
	top: -50px;
	border: 0;
	box-shadow: none;
	background: transparent;
	span.login {
		color: #ffffff;
		a {
			border-bottom: 1px solid #ffffff;
			padding-botto: 2px;
		}
	}
	a {
		color: white;
	}
}

#header #top #logo a {
	background: url(img/logo_meudon.png) 0 50% no-repeat;
	background-size: 250px;
	display: block;
	line-height: 175px;
	padding-left: 245px;
	height: 170px;
	text-transform: uppercase;
	color: #260c4e;
	font-weight: bold;
	text-indent: 219px;
	font-size: 1.429rem;
}

div#nav,
div#nav ul {
	margin-top: 0;
	a {
		text-transform: uppercase;
	}
}

#content div.cell.wcsformsofcategorycell {
	& h2:first-child {
		height: 95px;
		padding-top: 35px;
		padding-left: 80px;
		background: $title-background no-repeat 10px 10px;
		background-size: auto 80px;
		text-transform: inherit;
	}
	& h2:hover {
		background-color: darken($primary-color, 10%);
	}
	@each $category in $category-slugs {
		&.#{$category} h2 {
			background-image: url(img/#{$category}.png);
		}
	}
	h2 ~ div {
		background: $primary-color;
		ul {
			a {
				color: white;
				&:hover {
					color: $secondary-color;
					background: inherit;
				}
			}
		}
	}
}

#content div.cell.trackingcodeinputcell, div.cell.searchcell {
	background-color: white;
	color: #FFFFFF;
	border: 1px solid $primary-color;
	p {
		color: black;
	}
}

div.buttons.submit {
	> div.submit-button {
		float: right;
	}
	> div.cancel-button {
		button {
			background-color: #ec234f;
			color: #ffffff;
		}
	}
}

#footer {
	display: flex;
	justify-content: flex-start;
	@media screen and ($max-mobile-viewport) {
		flex-direction: column;
	}
	div.cell {
		margin: 20px 40px 0 0;
		h2:first-child {
			padding: 0;
			margin: 0;
		}
	}
}

#footer-wrapper div.cell {
	& h2:first-child {
		@extend %bold-title;
	}
}

@media screen and ($max-mobile-viewport) {
	#header #top #logo {
		padding-left: 40px;
		padding-bottom: 20px;
	}

	#header #top #logo a {
		padding-left: 0;
		text-indent: -1000px;
	}

	div#nav {
		margin-top: 10px;
	}
}
