/*
 * Базовое оформление сайта без WordPress. Повторяет то, что раньше давала
 * тема (шрифт Montserrat, цвета текста, вид кнопок и полей), чтобы карта
 * выглядела так же, как на старом сайте.
 */
:root {
	--wd-text-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-text-color: rgb(36, 36, 36);
	--wd-title-color: #242424;
	--wd-link-color: rgb(119, 202, 129);
	--wd-link-color-hover: rgb(88, 201, 101);
	--wd-form-height: 42px;
	--wd-form-brd-color: rgba(0, 0, 0, .1);
	--wd-form-brd-color-focus: rgba(0, 0, 0, .15);
	--wd-form-brd-radius: 5px;
	--wd-form-brd-width: 2px;
	--btn-height: 42px;
	--wd-tags-mb: 20px;
	--wd-chevron: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==);
}

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

html {
	line-height: 1;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	overflow-x: hidden;
}

body {
	margin: 0;
	background: #fff;
	color: var(--wd-text-color);
	font-family: var(--wd-text-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, blockquote, label, fieldset, form, table, th, td {
	margin: 0;
	padding: 0;
}

p { margin-bottom: var(--wd-tags-mb); }

h1, h2, h3, h4, h5, h6 {
	display: block;
	margin-bottom: var(--wd-tags-mb);
	color: var(--wd-title-color);
	font-family: var(--wd-text-font);
	font-weight: 600;
	line-height: 1.4;
}
h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 12px; }

ul, ol { margin-bottom: 20px; padding-left: 17px; }
ul { list-style: disc; }
ol { list-style: decimal; }
li { margin-bottom: 10px; }
li:last-child { margin-bottom: 0; }

a { color: var(--wd-link-color); text-decoration: none; transition: all .25s ease; }
a:hover { color: var(--wd-link-color-hover); }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

label {
	display: block;
	margin-bottom: 5px;
	color: var(--wd-title-color);
	font-weight: 400;
	vertical-align: middle;
}

button, input, optgroup, select, textarea { margin: 0; color: inherit; font: inherit; }
a, button, input { touch-action: manipulation; }

:is(.btn, .button, button, [type="submit"], [type="button"]) {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--btn-height);
	padding: 5px 20px;
	border: 0 solid transparent;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	background-color: #f3f3f3;
	color: #3e3e3e;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	vertical-align: middle;
	cursor: pointer;
	transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}
:is(.btn, .button, button, [type="submit"], [type="button"]):hover {
	background-color: #e0e0e0;
	color: #3e3e3e;
}
button[disabled], input[disabled] { opacity: .6 !important; cursor: default; }

input[type='email'], input[type='search'], input[type='number'], input[type='url'],
input[type='tel'], input[type='text'], input[type='password'], textarea, select {
	-webkit-appearance: none;
	appearance: none;
}
input[type='email'], input[type='date'], input[type='search'], input[type='number'],
input[type='text'], input[type='tel'], input[type='url'], input[type='password'], textarea, select {
	width: 100%;
	max-width: 100%;
	height: var(--wd-form-height);
	padding: 0 15px;
	border: var(--wd-form-brd-width) solid var(--wd-form-brd-color);
	border-radius: var(--wd-form-brd-radius);
	background-color: transparent;
	box-shadow: none;
	color: inherit;
	font-size: 14px;
	vertical-align: middle;
	transition: border-color .5s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--wd-form-brd-color-focus); }
input[type="search"] { box-sizing: content-box; -webkit-appearance: textfield; }
input[type="radio"], input[type="checkbox"] { margin-top: 0; padding: 0; vertical-align: middle; margin-inline-end: 5px; }
textarea { overflow: auto; min-height: 190px; padding: 10px 15px; }
select {
	padding-right: 30px;
	background-image: var(--wd-chevron);
	background-position: right 10px top 50%;
	background-size: auto 18px;
	background-repeat: no-repeat;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

strong, b { font-weight: 600; }
::placeholder { color: inherit; opacity: 1; }

table { width: 100%; margin-bottom: 35px; border-spacing: 0; border-collapse: collapse; line-height: 1.4; }
table th { padding: 15px 10px; border-bottom: 2px solid rgba(0, 0, 0, .075); color: var(--wd-title-color); font-weight: 600; font-size: 16px; text-align: left; }
table td { padding: 15px 12px; border-bottom: 1px solid rgba(0, 0, 0, .105); }
