// Typo
h1:not(#logo) {
	border: none;
	color: $title-color;
	font-size: $fz-1;
	padding-bottom: 0.5rem;
	position: relative;
	text-transform: uppercase;
	&::before {
		content: "";
		border-bottom: 3px solid $blue-xlight;
		bottom: 0;
		position: absolute;
		width: 4rem;
	}
}

div#top {
	display: flex;
	justify-content: center;
	padding-top: 50px;
}

div#header {
	max-width: none;
}

#logo.has-logo {
	a::before {
		margin-right: 0;
		@media($max-mobile-viewport) {
			max-width: 208px;
			max-height: 40px;
		}
	}
}

#toplinks {
	top: 20px;
	right: 4rem;
	a {
		color: $blue-dark;
	}
}

div.gru-nav {
	> ul > li a {
		font-weight: normal;
	}
	@media ($min-desktop-viewport) {
		display: flex;
		justify-content: center;
		> ul > li a {
			font-weight: normal;
			font-size: $fz-small;
		}
	}
	@media($max-mobile-viewport) {
		.gru-nav-button + ul {
			border: none;
		}

		> ul > li > a {
			&::before {
				content: '\f061';
				font-family: FontAwesome;
				color: $blue-light;
				font-size: $fz-xsmall;
				margin-right: 0.5rem;
			}
		}
	}
}

//
// FOOTER
//
#footer {
	.menucell li a {
		text-transform: uppercase;
		&:hover {
			color: $yellow;
		}
	}

	div.link-cell div.links-list ul > li {
		border: 1px solid white;
	}

	div.links-list ul > li {
		> a {
			color: white;
			&:hover {
				background: white;
				color: $blue-dark;
			}
		}
	}
}

div.cell.foldable > div > h2:first-child{
	padding-left: 3rem;
	&:hover {
		border-color: $blue-dark;
	}
	&::after {
		color: $blue-xlight;
		left: 0;
		padding-left:1rem;
	}
}

%cell-links-list {
	& > li > a {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		&::before {
			content: "\f105";
			font-family: FontAwesome;
			color: $blue-xlight;
			margin: 0 0.5rem 0 0.2rem;
			font-weight: 700;
			font-size: $fz-2;
		}
	}
}

div.links-list ul .add-more-items--button,
div.link-cell div.links-list ul > li > a,
#footer .menucell li a {
	&::before {
		content: none;
	}
}

.gru-content .cell-items-pagination button {
	background: white;
	border: 1px solid $blue-dark;
	color: $blue-dark;
	padding: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 100%;
	&[disabled] {
		color: $gray;
		border-color: $gray;
	}
	&:not([disabled]):hover {
		background: $blue-dark;
		color: white;
	}
}

.tracking-code-input-cell {
	input, button {
		width: 100%;
	}
}

#sidebar div.searchcell {
	button {
		width: 100%;
	}
}


//
// WCS
//
%button {
	text-transform: uppercase;
	padding: 0.5rem 2rem;
	box-shadow: none;
	&:hover {
		box-shadow: none;
	}
}

.form-content {
	&--title {
		border-bottom: none;
		font-size: $fz-big;
		text-align: center;
		&::before {
			display: none;
		}
	}
}

.field--label {
	color: $blue-dark;
	font-weight: bold;
}

%antibes-cancel-button {
	background: transparent;
	color: $gray;
	border: 1px solid $gray;
	&:hover {
		color: white;
		background: $blue-dark;
		border-color: $blue-dark;
	}
}

//
// FIXES
//

// Hard-coded color on links description
%cell-links-list {
	li div.description {
		color: $font-color;
	}
}

// h1 and h2 have no padding in text cells
div.text-cell {
	h1, h2 {
		margin: 0.7rem 1rem;
	}
	p, table, ul, ol {
		line-height: 1.7;
		font-weight: 300;
	}
}

// no padding in wcsformcell
div.wcs-form-cell {
	padding: 1rem;
}
