/*
Theme Name: Big Serpukhov
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
	--blue: #0066CC;
	--black: #000000;
	--gray: #E6E6E6;
	--red: red;
}
body {
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 120%;
	margin: auto;
	padding: 0;
	width: 100%;
	background: var(--gray);
}
* {
	outline: none;
	box-sizing: border-box;
	-webkit-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	transition-duration: 0.3s;
}
a, .link {
	text-decoration: underline;
	color: var(--blue);
	cursor: pointer;
}
textarea,
select, 
input[type="date"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="text"],
input[type="password"] {
	width: 100%;
	margin: 0 0 10px;
	padding: 12px 18px;
	border-radius: 5px;
	border: solid 1px #aaa;
	background: #fff;
	font-weight: 400;
	font-size: 16px;
}
input[type="checkbox"] {
	transform: scale(1.3, 1.3);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}
h1 {
	font-size: 40px;
	font-weight: 500;
	line-height: 130%;
	color: var(--blue);
	text-transform: uppercase;
	margin: 20px 0 20px;
}
h2, .h2 {
	font-size: 23px;
	font-weight: 500;
	line-height: 110%;
	color: var(--blue);
	text-transform: uppercase;
	margin: 35px 0 15px;
}
h3, .h3 {
	font-size: 32px;
	font-weight: 500;
	line-height: 110%;
	color: var(--blue);
	margin: 30px 0 30px;
}
@media screen and (max-width:  950px){
	h1 {
		font-size: 30px;
		margin: 15px 0 15px;
	}
	h2, .h2 {
		font-size: 24px;
		margin: 15px 0 15px;
	}
}
b, strong {
	font-weight: 600;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
ins {
	text-decoration: none;
}
p {
	margin: 10px 0;
}
.clearfix {
	clear: both;
}
.left {
	text-align: left;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.hidden {
	display: none !important;
}
.nowrap {
	white-space: nowrap;
}
.overflow {
	max-width: 100%;
	overflow-x: auto;
}
.relative {
	position: relative;
}

.alignleft {
	float: left;
	max-width: 45%;
	margin: 0 20px 20px 0;
}
.alignright {
	float: right;
	max-width: 45%;
	margin: 0 0 20px 20px;
}
.aligncenter {
	display: block;
	margin: auto;
}
@media (max-width: 950px){
	.alignleft,
	.alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 20px 0;
	}
}

.flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.flex-2 > * {
	width: 49%;
}
.flex-3 > * {
	width: 32%;
}
.flex-4 > * {
	width: 24%;
}
@media screen and (min-width: 950px){
	.mobile-only {
		display: none !important;
	}
}
@media screen and (max-width: 950px){
	.desktop-only {
		display: none !important;
	}
	.flex-2 > *,
	.flex-3 > *,
	.flex-4 > * {
		width: 100%;
	}
}
.flex-top {
	align-items: flex-start;
}
.flex-left {
	justify-content: flex-start;
}
.flex-right {
	justify-content: flex-end;
}
.flex-center {
	justify-content: center;
}
.flex-stretch {
	align-items: stretch;
}
.flex-nowrap {
	flex-wrap: nowrap;
}

.inline {
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px 10px 0;
}

.table {
	display: table;
	width: 100%;
}
.table tr,
.table > * {
	display: table-row;
}
.table tr td,
.table > * > * {
	display: table-cell;
	vertical-align: top;
	padding: 6px;
	text-align: left;
}
@media screen and (max-width:  600px){
	.table {
		display: block;
	}
	.table tr,
	.table > * {
		display: block;
	}
	.table tr td,
	.table > * > * {
		display: block;
	}	
}

.container {
	width: 100%;
	max-width: 1328px;
	margin: auto;
	padding: 0 20px;
}

input[type="submit"],
.button {
	font-size: 16px;
	font-weight: 500;
	display: inline-block;
	background: var(--blue);
	padding: 14px 20px 12px;
	border-radius: 15px;
	border: none;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}
input[type="submit"]:hover,
.button:hover {
	background: var(--black);
	color: #fff;
}

main {
	min-height: 60vh;
}

.error-section {
	margin: 120px auto;
}

.bread-crumbs a {
	text-decoration: none;
	color: var(--gray2);
}
.bread-crumbs ul {
	margin: 120px 0 20px 0;
	padding: 0;
}
.bread-crumbs ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: inline-block;
	font-size: 16px;
	color: var(--blue);
}
.bread-crumbs ul li:not(:last-child):after {
	margin: 0;
	padding: 0 8px;
	display: inline-block;
	content: "/";
}
.bread-crumbs ul li:last-child {
	cursor: text;
	pointer-events: none;
}

header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	background: #1673D0;
	background: linear-gradient(127deg,rgba(22, 115, 208, 1) 1%, rgba(255, 255, 255, 1) 46%, rgba(255, 255, 255, 1) 100%);
	padding: 10px 0;
}
header .logo img {
	object-fit: contain;
	width: 180px;
	height: 80px;
	filter: brightness(1000%);
}
header .button {
	padding: 15px 15px 12px;
	font-size: 14px;
}
.page-home header {
	background: transparent;
}

section {
	paddin: 30px auto;
}

.top-banner {
	background: #1673D0;
	background: linear-gradient(127deg,rgba(22, 115, 208, 1) 1%, rgba(255, 255, 255, 1) 46%, rgba(255, 255, 255, 1) 100%);
	padding: 17% 0 15%;
	height: 500px;
	height: 99vh;
	margin: 0 0 50px 0;
}
.top-banner #output {
	font-size: 50px;
	font-weight: 600;
	line-height: 130%;
	max-width: 1100px;
}
@media screen and (max-width: 1200px){
	.top-banner #output {
		font-size: 40px;
		padding: 40px 0;
	}
}
@media screen and (max-width: 950px){
	.top-banner {
		height: 600px;
		padding: 180px 0 30px;
		margin: 0;
	}
	.top-banner #output {
		font-size: 30px;
		padding: 40px 0;
	}
}

.items .container {
	justify-content: center;
	align-items: stretch;
}
.items .item {
	background: var(--blue);
	color: #fff;
	padding: 30px;
	border-radius: 30px;
	width: 32%;
	margin: 0.5%;
}
.items .item strong {
	font-size: 60px;
	margin-right: 15px;
}
.items .item .text {
	display: flex;
	flex: 1;
	flex-wrap: nowrap;
	justify-content: flex-start;
}
.items .item .text p {
	display: flex;
	width: auto;
	margin: 0;
}
@media screen and (max-width: 950px){
	.items .item {
		width: 100%;
		margin: 10px 0;
	}
}

.section-map {
	margin: 0 0 70px;
}
.section-map .cats {
	margin: 0;
	padding: 0;
	width: 23%;
}
.section-map .cats li {
	margin: 0;
	padding: 10px;
	border-radius: 10px;
	list-style-type: none;
	cursor: pointer;
}
.section-map .cats li.active {
	background: #666;
	color: #fff;
}
.section-map .cats li a {
	text-decoration: none;
}
.section-map #map {
	width: 75%;
	height: 400px;
}
.section-map .balloon {
	padding: 10px;
	text-decoration: none;
	color: #000;
}
.section-map .balloon h3 {
	margin: 0 0 15px;
	font-size: 21px;
}
.section-map .balloon img {
	margin-right: 20px;
	object-fit: cover;
	width: 200px;
	height: 150px;
}
.section-map .balloon div {
	width: calc(100% - 230px);
}
@media screen and (max-width: 950px){
	.section-map .cats {
		width: 100%;
		margin-bottom: 20px;
	}
	.section-map .cats li {
		display: inline-block;
	}
	.section-map #map {
		width: 100%;
		height: 400px;
	}
}

/*
[class*="ymaps-2"][class*="-map-bg"] {
	background: #000;
}
[class*="ymaps-2"][class*="-ground-pane"] {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	-webkit-filter: grayscale(100%);
	opacity: .9;
}
*/

.object-header {
	width: 100%;
	height: 500px;
	background-color: #ddd;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	margin-bottom: 30px;
}
.page-object .column {
	width: 20%;
}
.page-object .column .item {
	margin: 0 0 20px;
}
.page-object .column .alt {
	color: var(--blue);
}
.page-object .main {
	width: 75%;
}
.page-object .images {
	width: 100%;
	margin: 30px auto 70px;
}
.page-object .images a {
	margin: 10px;
}
.page-object .images a img {
	width: 200px;
	height: 150px;
	object-fit: cover;
}
@media screen and (max-width: 950px){
	.object-header {
		width: 100%;
		height: 500px;
		background-attachment: local;
		margin-top: 100px;
	}
	.page-object .column {
		width: 100%;
		margin-bottom: 30px;
	}
	.page-object .main {
		width: 100%;
	}
	.page-object .images a {
		margin: 5px;
	}
	.page-object .images a img {
		width: 160px;
		height: 120px;
	}
}

footer {
	background: var(--black);
	color: #fff;
	padding: 50px 0;
}
footer .column1 {
	width: 26%;
}
footer .column2 {
	width: 23%;
}
footer .column3 {
	width: 20%;
}
footer .column4 {
	width: 23%;
}
footer .small {
	font-size: 12px;
}
footer .phone {
	font-size: 18px;
}
footer a {
	text-decoration: none;
	color: #fff;
	display: block;
	margin: 10px 0;
}
footer a img {
	object-fit: contain;
	width: 20px;
	height: 20px;
	margin-right: 10px;
}
@media screen and (max-width: 950px){
	footer .column {
		width: 50%;
		margin-bottom: 20px;
	}
}
@media screen and (max-width: 600px){
	footer .column {
		width: 100%;
	}
}

.page-content {
	padding: 0 0 50px;
}

.modal-mask {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 190;
	width: 100%;
	height: 100%;
	height: 100vh;
	overflow: auto;
	background: rgba(21, 22, 22, 0.7);
	display: none;
}
.modal-mask > div {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 200;
	margin: 60px auto;
	width: 90%;
	max-width: 700px;
	height: auto;
	background: #fff;
	text-align: center;
	padding: 35px 40px;
	box-shadow: 0px 0px 15px 10px rgba(0,0,0,.5);
}
.modal-mask > div form input[type="checkbox"] {
	transform: scale(2,2);
	margin-right: 20px;
}
.modal-mask > div h2 {
	margin: 10px 0 25px;
	color: var(--blue);
}
.modal-mask > div p {
	margin: 10px 0;
}
.modal-mask > div .close-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 200;
	cursor: pointer;
	color: #000;
}
.modal-mask > div .custom-checkobox {
	margin: 0 0 15px 0;
}
.modal-mask > div .custom-checkobox .custom-checkobox-alt {
	width: 85%;
	text-align: left;
	font-size: 18px;
}
.modal-mask > div .error-input {
	border: solid 1px var(--red);
}
@media screen and (max-width: 950px){
	.modal-mask > div {
		padding: 20px;
	}
}