html {
	font-size: 14px;
	position: relative;
	min-height: 100%;
}

body {
	margin: 0;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

header {
	position: sticky;
	height: 60px;
	top: 0;
	background: #f6f6f6;
	z-index: 1000;
	padding: 0 20px;
}

.navbar {
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar-brand {
	padding: 0;
	margin: 0;
}

.navbar-brand a {
	padding: 19px 0px;
	font-size: 20px;
	color: #5f96bd;
	text-decoration: none;
}

.nav_links {
	padding: 0px;
	margin-bottom: 0px;
}

.nav_links li {
	display: inline-block;
	margin-right: 20px;
	margin: 0;
	height: 60px;
}

.nav-link {
	padding: 19px 20px;
	color: #6d6d6d;
	font-size: 15px;
	font-style: normal;
}

.nav-phone {
	padding: 19px 0px;
	color: #6d6d6d;
	font-size: 15px;
	font-style: normal;
	text-decoration: none;
}

.nav-link:focus,
.nav-link:hover {
	color: #6d6d6d;
}

.nav_links li:hover {
	display: inline-block;
	margin-right: 20px;
	margin: 0;
	background-color: #e6e6e6;
}

.nav_links li.active {
	display: inline-block;
	margin-right: 20px;
	margin: 0;
	background-color: #e6e6e6;
}

.dropdown-menu {
	display: none;
	z-index: 1000;
	flex-direction: column;
}

.dropdown-menu.active {
	display: flex;
	background-color: #e6e6e6;
	color: #6d6d6d;
	border-radius: 0;
	border: 0px;
	padding: 0 20px;
	margin: 0;
	height: auto;
	width: 300px;
}

.dropdown-menu.active li {
	display: block;
	border-bottom: 1px solid #ddd;
	padding: 0px 0;
}


button {
	border-radius: 100px;
	width: 100px;
	border: 3px solid rgba(109, 109, 109, 0.496);
	background: rgba(246, 246, 246, 0.44);
}

button:hover {
	background: rgba(178, 178, 178, 0.44);
}

button:active {
	background: rgba(255, 255, 255, 0.44);
}

.header-box {
	position: sticky;
	z-index: 999;
	top: 60px;
	box-shadow: 0px 1px 4.2px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	background-color: #f6f6f6;
	border-top: 1px solid #b3b3b3;
	height: 40px;
	padding-left: 20px;
}

.txt {
	text-align: left;
	font-size: 15px;
	color: #8e8e8e;
	font-family: Inter;
	text-decoration: none;
}

.span {
	color: #151515;
	text-decoration: none;
}

.span:hover {
	color: #151515;
	text-decoration: underline;
}

.span-gray {
	color: #8e8e8e;
	text-decoration: none;
}

.span-gray:hover {
	color: #8e8e8e;
	text-decoration: underline;
}
main {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	flex-grow: 1;
	min-height: calc(100vh - 160px); /* высота браузера без header */
}

footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f6f6f6;
	font-size: 15px;
	font-weight: 500;
	color: #6d6d6d;
	padding: 20px;
	height: 100px;
}

.div-footer {
	margin-bottom: 10px;
}
@media (max-width: 830px) {
	.nav_links {
		display: none;
	}
	.navbar {
		padding: 0px 10px;
	}

	.nav-link {
		padding: 0px 20px;
	}
}

@media (max-width: 512px) {
	.navbar {
		height: 60px;
		gap: 10px;
		justify-content: justify-content;
	}

	.navbar-brand a {
		font-size: 16px;
		color: #5f96bd;
		text-decoration: none;
	}
	.nav-phone {
		font-size: 13px;
		padding: 0px;
	}

	footer {
		font-size: 11px;
	}
}

@media (max-width: 340px) {
	.navbar {
		height: 60px;
		gap: 0px;
		justify-content: center;
	}
}
