@import "vars.less";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	text-decoration: none;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	-moz-osx-font-smoothing: grayscale;
	line-height: inherit;
	outline: 0;
}

body {
	background-color: #fff;
	color: #000;
	overflow-x: hidden;
	line-height: 1em;
	font-weight: normal;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
}

input, textarea {
	outline: 0;
}

img {
	border: 0;
}

main, header, nav, section {
	display: block;
}

body {
	background-color: #fff;
	color: #000;
}

body, input, textarea, select {
	font-family: "Work Sans", sans-serif;
}

b { font-weight: 700; }

@media @m {
	.not-mobile {
		display: none !important;
	}
}
@media @td {
	.not-desktop {
		display: none !important;
	}
}

#page {
	@media @mt { padding: 50px 20px 30px; }
	@media @d { padding: 120px 110px 90px; }
}

nav {
	@media @mt { padding: 20px 25px 20px 20px; }
	@media @d {
		padding: 20px 110px;
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background-color: #fff;
		z-index: 999;
		.backToTop {
			float: right;
			a {
				display: block;
				margin-right: -13px;
				width: 26px;
				height: 26px;
				background: url('/images/backtotop.svg') no-repeat center;
				opacity: 0;
				transition: opacity 0.3s @easing;
				pointer-events: none;
			}
		}
	}
}
@media @d {
	body.scrolled {
		nav .backToTop a {
			opacity: 1;
			pointer-events: auto;
		}
	}
}

.breadcrumb {
	font-weight: 500;
	@media @d {
		float: left;
	}
	img {
		display: inline-block;
		height: 26px;
		vertical-align: middle;
		margin-right: 3px;
	}
	.sep {
		display: inline-block;
		height: 26px;
		@media @mt { width: 22px; }
		@media @d { width: 30px; }
		background: url('/images/breadcrumb-sep-g.svg') no-repeat center;
	}
	a, span {
		display: inline-block;
		line-height: 26px;
		vertical-align: middle;
	}
	a.active {
		color: @orange;
		@media @mt {
			width: ~"calc( 100% - 48px )";
			.ellipsis;
		}
	}
	@media @mt {
		a:not(.active):not(.home), .sep:not(:nth-child(2)) {
			display: none;
		}
	}
	a:hover {
		text-decoration: underline;
	}
}

header {
	@media @m { margin-bottom: 20px; }
	@media @td { margin-bottom: 40px; }
	h1 {
		display: inline-block;
		vertical-align: middle;
		font-weight: 700;
		letter-spacing: -1px;
		line-height: 1em;
		// margin-left: -3px;
		@media @mt { font-size: 32px; }
		@media @d { max-width: 80%; font-size: 36px; }
	}
	&:after {
		.clear;
	}
}

#edit {
	position: fixed;
	top: 16px;
	right: 16px;
	background-color: @orange;
	font-weight: 600;
	color: #fff;
	padding: 8px 12px 10px;
	z-index: 1000;
	&:hover {
		background-color: #000;
	}
}

.contact {
	margin-top: 40px;
	font-size: 13px;
    line-height: 1.2em;
    font-weight: 500;
	p + p {
		margin-top: 1.2em;
	}
	a {
		color: @orange;
		&:hover {
			text-decoration: underline;
		}
	}
	a.asp-logo {
		img {
			display: block;
			margin-top: 30px;
			margin-bottom: 10px;
			@media @mt { margin-right: 20px; height: 40px; }
			@media @d { margin-right: 40px; height: 60px; }
		}
	}
	&:after {
		.clear;
	}
}