@charset "utf-8";

/* Шрифты */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,700&subset=cyrillic');
/* Общие стили */
body {
	font-family: 'Roboto', sans-serif;
	margin-top: 4rem;
	background-color: #fff;
}
/* Шапка */
.header {
	background: url(images/header.jpg) 50% 0 no-repeat;
	background-size: cover;
	padding: 2rem 0 3rem;;
	text-align: center;
	color: #fff;
}
.header .phone {
	font-size: 5rem;
	font-weight: 700;
}
.header .address, .header .time, .header .email {
	font-size: 2rem;
	font-weight: 700;
	text-transform: uppercase;
}
.header .address, .header .bid-link {
	margin-top: 3rem;
}
.header .bid-link a {
	border-width: .125rem;
}
/* Главное меню */
.navbar {
	border-bottom: 1px solid #212529;
}
.navbar-brand {
	padding: 0;
	margin: auto 0;
	height: 3rem;
	display: flex;
}
.navbar-brand .logo {
	width: 3rem;
	height: 3rem;
}
.navbar-brand .site-name {
	text-transform: uppercase;
	font-size: 2rem;
	line-height: 2rem;
	font-weight: 700;
	margin: auto 0;
}
.navbar a.text-danger:hover, .navbar a.text-danger:focus {
	text-decoration: none;	
}
/* Контент */
.main-content {
	border-bottom: 1px solid #ccc;
}
/* Подвал */
.footer .picture {
	padding: 0 0 2rem;
	background: linear-gradient(#fff 50%, #ccc 50.01%);
}
/* Media */
@media (max-width: 1200px) {
	.navbar-brand .site-name {
		font-size: 1.5rem;
		line-height: 1.5rem;
		white-space: normal;
	}	
}
@media (max-width: 991px) {
	.navbar-brand .site-name {
		display: none;
	}	
}
@media (max-width: 767px) {
	.navbar .navbar-nav {
		text-align: right;
	}
	.header .phone {
		font-size: 3.75rem;
	}
}
@media (max-width: 575px) {
	.header .phone {
		font-size: 2.5rem;
	}
	.header .address, .header .time, .header .email {
		font-size: 1.25rem;
	}
	.header .address, .header .bid-link {
		margin-top: 1.5rem;
	}
}
@media (max-width: 399px) {
	.header .phone {
		font-size: 1.75rem;
	}
	.header .address, .header .time, .header .email {
		font-size: .875rem;
	}
	.navbar .text-danger {
		max-width: 4.375rem;
	}
	.footer .picture {
		display: none;
	}
}