/* Digiteco - digiteco@yandex.ru, 2020 */

/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
	display: block;
	margin: 0;
	padding: 0;
	font-family: "Open Sans", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}
ul {
	list-style: none;
}
button,
input,
select,
textarea {
	display: block;
	width: 100%;
	margin: 0;
	font-family: "Open Sans", sans-serif;
}
img,
video {
	display: block;
	height: auto;
	width: 100%;
	max-width: 100%;
}
iframe {
	border: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
td,
th {
	padding: 0;
}
td:not([align]),
th:not([align]) {
	text-align: left;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #333;
	background-color: #fff;
	overflow-x: hidden;
}

.wrapper {
	margin: 0;
	background-color: #1f3c7a;
	/* background-color: #401e7c; */
}

.container {
	max-width: 1150px;
	padding: 0;
	margin: 0 auto;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

@media (min-width: 976px) {
	.container {
	}
}

p {
	margin: 0 0 15px;
}

/* visual */

.visual {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 500px;
	padding: 20px;
	background-color: #eee;
	background-image: url(../images/air.jpg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}
.visual__top {
	display: flex;
	margin: 0;
	justify-content: space-between;
}
.visual__logo {
	max-width: 248px;
}
.visual__logo img {
	border-radius: 5px;
}
.visual__mobile-menu {
	flex: 0 0 40px;
	margin-left: 20px;
}

.visual__bottom {
	padding: 0;
	text-align: center;
	color: #566d9f;
	/* background-color: rgba(255, 255, 255, 0.7); */
}

.hamburger {
	display: block;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	background-image: url(../images/menu.svg);
	background-position: center center;
	background-size: 20px 20px;
	background-repeat: no-repeat;
	cursor: pointer;
	outline: none;
}

@media (min-width: 976px) {
	.visual {
		flex-direction: column;
		justify-content: center;
		min-height: 500px;
		padding: 30px;
	}
	.visual__top {
		display: flex;
		max-width: 300px;
		margin: 0;
	}
	.visual__logo {
		max-width: 248px;
		margin: 0 auto;
	}
	.visual__mobile-menu {
		display: none;
	}

	.visual__bottom {
		max-width: 300px;
		padding: 10px 0 0;
		text-align: center;
		color: #566d9f;
	}
}

/* intro */

.intro {
	margin: 0;
	padding: 20px;
	/* background-color: #f2f2f2;
	background-image: linear-gradient(#f5f5f5, #cccccc); */
	background-image: linear-gradient(to top, #a3bded 0%, #6991c7 100%);
}

.intro__slogan {
	padding: 0 0 20px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	/* color: #566d9f; */
	color: white;
	text-shadow: 0 1px 1px #566d9f;
}

.intro__phones {
	text-align: center;
}

.intro__phones a {
	display: inline-block;
	padding: 3px 0 3px 29px;
	/* color: #566d9f; */
	color: white;
	text-shadow: 0 1px 1px #566d9f;
	background-image: url(../images/phone.svg);
	background-position: left center;
	background-size: 22px 22px;
	background-repeat: no-repeat;
	font-size: 20px;
	cursor: pointer;
	outline: none;
	white-space: nowrap;
	text-decoration: none;
}

@media (min-width: 976px) {
	.intro {
		display: flex;
		justify-content: space-between;
		padding: 30px 60px;
		align-items: center;
	}

	.intro__slogan {
		padding: 0 70px 0 0;
		max-width: 600px;
		text-align: left;
		font-size: 28px;
		font-weight: 700;
	}

	.intro__phones {
		text-align: right;
	}

	.intro__phones a {
		padding: 3px 0 3px 30px;
		background-size: 24px 24px;
		font-size: 24px;
	}
}

/* content */

.content {
	min-height: 250px;
	margin: 0;
	padding: 20px;
	background-color: white;
}

.content__menu {
	display: none;
}

.page-header h2 {
	margin: 0 0 15px;
	text-transform: uppercase;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
}

.content__main img {
	margin: 20px 0;
	border-radius: 5px;
}

.table-box {
	display: flex;
	overflow-x: auto;
	margin: 20px 0;
}
.table {
	border-collapse: collapse;
	display: block;
}

.table th,
.table td {
	padding: 5px 15px;
	border: 1px solid #ddd;
	text-align: center;
	min-width: 120px;
}


@media (min-width: 976px) {
	.content {
		display: flex;
		min-height: 500px;
		padding: 30px 60px;
	}

	.content__menu {
		display: block;
		flex: 0 0 300px;
		padding-right: 40px;
		border-right: 1px solid #ddd;
	}

	.content__main {
		flex: 1 1 auto;
		padding-left: 40px;
	}

	.page-header h2 {
		margin: 0 0 20px;
		font-size: 36px;
	}
}

/* form order */

.visual-form {
	padding: 30px 0;
}

.visual-form__form {
	margin: 0;
	padding: 0;
	border: none;
}

.visual-form__control {
	padding: 5px 0;
}
.visual-form__control input,
.visual-form__control textarea,
.visual-form__control button {
	outline: 0;
	border: 1px solid #ddd;
	text-align: left;
	padding: 10px 15px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 400;
	color: #333;
	vertical-align: middle;
	background: white;
	transition: all 0.35s ease-in-out;
}
.visual-form__control textarea {
	height: 120px;
	resize: none;
	overflow: auto;
	box-sizing: border-box;
}
.visual-form__control input:focus,
.visual-form__control textarea:focus {
	border: 1px solid #aaa;
}
.visual-form__control button {
	text-align: center;
	color: white;
	border: none;
	background-color: #566d9f;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-weight: 700;
}
.visual-form__control button:hover {
	background-color: #1f3c7a;
}

.visual-form__message {
	padding: 20px 20px 20px 80px;
	color: #333;
	text-align: left;
	font-size: 20px;
	font-weight: 700;
	background-image: url(../images/da.png);
	background-position: 20px center;
	background-size: 40px 40px;
	background-repeat: no-repeat;
}

@media (min-width: 976px) {
	.visual-form__control button {
		max-width: 240px;
	}
}

/*  */

.link-to-order {
	margin: 30px 0 0;
	padding: 30px 0;
	border-top: 1px solid #ddd;
}

.link-to-order__link {
	display: inline-block;
	padding: 10px 25px 10px 63px;
	text-decoration: none;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 400;
	background-image: url(../images/order.svg);
	background-position: 25px center;
	background-size: 26px 26px;
	background-repeat: no-repeat;
	color: #566d9f;
	border: 1px solid #566d9f;
	border-radius: 5px;
}

/* left-menu */

.left-menu {
}

.left-menu li {
	padding: 0 0 10px;
}

.left-menu a {
	display: block;
	padding: 7px 20px;
	font-size: 18px;
	font-weight: 400;
	color: #566d9f;
}
.left-menu a:hover {
	text-decoration: none;
}
.left-menu li.active a {
	background-color: #f2f2f2;
	text-decoration: none;
	color: #333;
	border-radius: 5px;
}

/*  */

.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 90%;
        max-width: 550px;
	z-index: 30;
	overflow-y: auto;
	padding: 20px 20px 100px;
	background-color: white;
	box-shadow: 1px 5px 15px rgba(0, 0, 0, 0.45);
	transform: translateX(-130%);
}

.mobile-menu.show {
	animation: menu-show 0.5s ease forwards;
}

@keyframes menu-show {
	from {
		transform: translateX(-130%);
	}
	to {
		transform: translateX(0);
	}
}

.mobile-menu.hide {
	animation: menu-hide 0.5s ease forwards;
}

@keyframes menu-hide {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-130%);
	}
}

.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	z-index: 29;
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;
	display: none;
}
.mobile-menu-overlay.show {
	display: block;
	animation: overlay-show 0.5s ease forwards;
}

@keyframes overlay-show {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.mobile-menu-overlay.hide {
	display: none;
	animation: overlay-hide 0.5s ease forwards;
}

@keyframes overlay-hide {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.mobile-menu__close {
	margin: 0 0 30px;
}

.close {
	display: block;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #6991c7;
	background-image: url(../images/close.svg);
	background-position: center center;
	background-size: 18px 18px;
	background-repeat: no-repeat;
	cursor: pointer;
	outline: none;
}

/*  */

.footer {
	position: relative;
	max-width: 1150px;
	padding: 40px 20px;
	margin: 0 auto;
	text-align: center;
}
.footer__copyright {
	padding: 0 0 10px;
	color: white;
}
.footer__dev {
	padding: 0 0 20px;
}
.footer__dev a {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: underline;
}

.counters {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.counters__tiu {
	margin: 0 10px;
	padding: 0;
}
.counters__ya {
	margin: 0 10px;
}

.to-top {
	position: absolute;
	top: -20px;
	right: 30px;
	z-index: 2;
}
.to-top a {
	display: block;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #6991c7;
	background-image: url(../images/up-arrow.svg);
	background-position: center center;
	background-size: 18px 18px;
	background-repeat: no-repeat;
	cursor: pointer;
	outline: none;
	transition: all 0.3s ease;
}
.to-top a:hover {
	transform: scale(1.1, 1.1);
}

@media (min-width: 976px) {
	.footer {
		padding: 40px 60px;
		text-align: center;
	}
	.footer__copyright {
		padding: 0 0 10px;
	}
	.footer__dev {
		padding: 0 0 20px;
	}
	.footer__dev a {
		font-size: 12px;
		color: rgba(255, 255, 255, 0.7);
		text-decoration: underline;
	}
}
