:root {
	--theme-color-1: #4F89DA;
	--theme-color-2: #1E4796;
}

::-moz-selection{background:var(--theme-color-1);color:#FFF}
::selection{background:var(--theme-color-1);color:#FFF}

html {
    background: transparent;
    color: #4c4c4c;
    font: normal 400 16px/1.5 Arial, sans-serif;
}

img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
    display: block;
    font-weight: 700;
    margin: 10px 0;
}
h1,.h1,h2,.h2,h3,.h3 {
    color: var(--theme-color-2);
    text-transform: uppercase;
}
h1,.h1{font-size:1.375rem}
h2,.h2{font-size:1.25rem}
h3,.h3{font-size:1.125rem;font-weight: 400}
h4,.h4{font-size:1rem}
h5,.h5{font-size:.875rem}
h6,.h6{font-size:.75rem;text-transform: uppercase}

.mb-20{margin-bottom:20px}
.mb-30{margin-bottom:30px}

.button {
    border: 0;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
	user-select: none;
}
.button.button--light {
    background-color: var(--theme-color-1);
    color: #FFF;
}
.button.button--dark {
    background-color: var(--theme-color-2);
    color: #FFF;
}
.button.button--white {
    background-color: #FFF;
    color: #242424;
}
.button--gray {
    background-color: #ebebeb;
    box-shadow: 0 0 0 1px #cacaca, inset 0 8px 15px -1px #FFF;
    color: #242424;
    text-shadow: 0 1px 2px #FFF;
    text-transform: none;
}
.button.button_fw {
    display: block;
    width: 100%;
}

.modal-dialog {
    border-radius: 5px;
    box-sizing: border-box;
    display: none;
    max-width: 100%;
    position: relative;
    width: 450px;
}
.modal-dialog>.md__close {
    background: rgba(0, 0, 0, .2);
    border-radius: 0 3px 0 3px;
	cursor: pointer;
    height: 35px;
    position: absolute;
    right: 0;
    top: 0;
    width: 35px;
}
.modal-dialog>.md__close::before,
.modal-dialog>.md__close::after {
    background: #FFF;
    border-radius: 2px;
    content: '';
    height: 4px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 22px;
}
.modal-dialog>.md__close::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.modal-dialog>.md__close::after {
    transform: translate(-50%, -50%) rotate(45deg);
}
.modal-dialog>.md__title {
    color: #FFF;
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
    padding: 15px 20px;
    text-align: center;
}
.modal-dialog>.md__content {
    padding: 15px;
}

.simple-form .sf__field,
.simple-form .sf__note,
.simple-form .sf__footnote {
    margin-bottom: .75rem
}
.simple-form .sf__field {
    position: relative
}
.simple-form .sf__input,
.simple-form .sf__textarea {
    background-color: transparent;
    border: 2px solid #FFF;
    box-sizing: border-box;
    border-radius: 3px;
    color: #FFF;
    display: block;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1rem;
    outline: none;
    padding: .5rem;
    width: 100%;
}
.simple-form input::placeholder,
.simple-form textarea::placeholder {
    color: #FFF;
    font-size: .75rem;
    font-weight: 400;
    opacity: .7;
}
.simple-form .sf__textarea {
    height: 6.25rem;
	max-height: 15rem;
	min-height: 3.25rem;
	resize: vertical;
}
.simple-form .required {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAJUlEQVR42mM4q2zUCsSfQTQTAwNDCRDzAHEeiNMDxF8ZGBgmAQDLKghpAOazgQAAAABJRU5ErkJggg==');
    background-repeat: no-repeat;
    background-position: right 6px top 6px
}
.simple-form .sf__footnote {
    color: #FFF;
    font-size: .75rem;
	letter-spacing: 1px;
	line-height: 1.2;
	text-shadow: 0 0 2px rgba(0, 0, 0, .8);
}
.simple-form .sf__footnote > a {
	color: #FFF;
}
.simple-form .input-right{box-shadow:inset 0 0 0 1px #3F3,inset 0 0 4px 2px rgba(51,255,51,.6)!important}
.simple-form .input-wrong{box-shadow:inset 0 0 0 1px #F33,inset 0 0 4px 2px rgba(255,51,51,.6)!important}

.feedback-form {
    background-color: var(--theme-color-2);
}
.feedback-form-static {
    background-color: var(--theme-color-1);
}
.feedback-form-static__container {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 100%;
    padding: 20px 10px;
    width: 600px;
}
.feedback-form-static .title {
    color: #FFF;
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
    margin: 0 15px 20px;
    text-align: center;
}

.user-form {
	margin: 0 auto;
	max-width: 100%;
	width: 320px;
}
.user-form__row {
	margin: 15px 0;
}
.user-form__label {
	display: block;
}
.user-form__input {
	border: 0;
	border-radius: 4px;
	box-shadow: inset 0 0 0 1px #444;
	box-sizing: border-box;
	display: block;
	font-size: .875rem;
	height: 1.75rem;
	line-height: 1.75rem;
	outline: none;
	padding: 0 8px;
	width: 100%;
}
.user-form__input:focus {
	box-shadow: inset 0 0 0 2px var(--theme-color-2);
}
.user-form .captcha {
	cursor: pointer;
	display: block;
	margin-bottom: 5px;
}
.user-form__input-captcha {
	width: 150px !important;
}
.user-form__link:not(:last-child) {
	margin-right: 10px;
}

.pagination {
    display: block;
    margin: 20px 0;
}
.pagination > div {
    display: inline-block;
    margin: 0 2px;
}
.pagination > div > a {
    border-radius: 8px;
    box-sizing: border-box;
    color: var(--theme-color-2);
    display: block;
    font-size: .875rem;
    line-height: 1.25rem;
    min-width: 30px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
}
.pagination > div:not(.active) > a:hover {
    background-color: #e0e0e0;
}
.pagination > div.active > a {
    background-color: var(--theme-color-2);
    color: #FFF;
}

.page-content {
	min-height: 100%;
	width: 100%;
}

.header,
.footer {
	flex: 0 0 auto;
	width: 100%;
}
.main {
	flex: 1 0 auto;
	width: 100%;
}

.footer__informer {
	color: #FFF;
	font-size: .75rem;
	margin-top: 25px;
	text-align:center;
}
.footer__informer a {
	color: inherit;
	text-decoration: underline;
}

.text-content {
    font-size: .875rem;
}
.text-content p,
.text-content pre {
    margin: 1em 0;
}
.text-content a,
.link {
    color: var(--theme-color-2);
}
.text-content img {
    height: auto !important;
}
.text-content table {
    border-collapse: collapse;
    max-width: 100%;
}
.text-content table td {
    font-size: .75rem;
    padding: 5px 10px;
    vertical-align: top;
}
.text-content blockquote {
    border-left: 2px solid var(--theme-color-2);
    color: var(--theme-color-2);
    font-style: italic;
    margin: 20px 0 20px 20px;
    padding: 10px 0 10px 20px;
}
.text-content hr {
    border: 0;
    border-top: 2px solid var(--theme-color-2);
    margin: 20px 0;
}
.text-content ul,
.text-content ol {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}
.text-content ul li,
.text-content ol li {
    margin: 10px 0;
    padding: 0 0 0 25px;
    position: relative;
}
.text-content ul li::before {
    background-color: var(--theme-color-2);
    border-radius: 50%;
    content: '';
    display: block;
    height: 10px;
    left: 5px;
    position: absolute;
    top: 5px;
    width: 10px;
}
.text-content ol {
    counter-reset: textContentOlCounter;
}
.text-content ol li::before {
    color: var(--theme-color-2);
    counter-increment: textContentOlCounter;
    content: counter(textContentOlCounter) '.';
    font-size: 1rem;
    font-weight: 700;
    left: 5px;
    top: 0;
    position: absolute;
}

.front-banners {
    background-color: #F2F2F2;
    padding: 15px 0;
}
.front-banners__item {
    margin: 10px 0;
    width: 250px;
}
.front-banners__item--container {
    position: relative;
}
.front-banners__item--image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}
.front-banners__item--title {
    background-color: var(--theme-color-2);
    color: #FFF;
    display: block;
    font-size: .875rem;
    line-height: 1.125rem;
    padding: 11px 20px 11px 10px;
    position: relative;
    transition: all .2s;
}
.front-banners__item--title::after {
    border: 2px solid transparent;
    border-right-color: #FFF;
    border-top-color: #FFF;
    border-radius: 2px;
    content: '';
    height: 6px;
    right: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
}
.front-banners__item--link {
    bottom: 0;
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}
.front-banners__item--descr {
    margin-top: 5px;
}

.contacts-map {
    height: 400px;
    max-height: 75vh;
    width: 100%;
    overflow: hidden;
}
.contacts-map iframe {
	border:0 !important;
	display: block;
	max-width: 100%;
}

.fixed {
	box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}

.footer-notice {
	color: #BBB;
	font-size: 1.25rem;
	margin: 25px 0;
	line-height: 1.2;
	padding: 0 10px;
	text-align: center;
	text-transform: uppercase;
}