﻿html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-size: 16px;
	line-height: 1.34;
	font-family: "Raleway", sans-serif;
}
input {
	font-family: inherit;
}
img {
	display: block;
	width: 100%;
	height: auto;
}

div {
	overflow: hidden;
	box-sizing: border-box;
}

body .loading {
	display: none;
}

body.loading .loading {
	display: block;
	position: fixed;
	width: 100%;
	height: 150px;
	top: calc((100% - 150px) / 2);
	z-index: 100;
}

body.loading main {
	filter: blur(10px);
}

h1,
h2,
h3,
p {
	margin: 0;
	padding: 0;
	display: block;
}

.ng-cloak {
	display: none;
}

#bg {
	z-index: 1;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-image: url("/images/bg_1.jpg");
	background-position: center center;
	background-size: cover;
}

main {
	z-index: 10;
	position: relative;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

main > header,
main > footer {
}

main > header {
	color: #fff;
	margin-bottom: 15px;
	background-color: rgba(0, 0, 0, 0.25);
	background: linear-gradient(-31deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.2) 51%, rgba(0, 0, 0, 0) 100%);
	padding: 15px;
}

main > footer {
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	margin-top: 30px;
	margin-bottom: 60px;
	background-color: rgba(0, 0, 0, 0.25);
	background: linear-gradient(172deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.5) 100%);
	padding: 5px 15px;
}

aside.resultsCounter {
	margin-bottom: 20px;
	display: flex;
}

aside.resultsCounter > label {
	display: block;
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 17px;
	line-height: 25px;
	padding: 5px 22px;
	margin: 0 auto;
	border-radius: 4px;
}

@media (min-width: 900px) {
	aside.resultsCounter {
		margin-bottom: 0;
	}

	main > header {
		margin-top: 30px;
		padding: 20px;
	}

	main {
		padding: 0 15px;
	}
}
