/* Common */
/* Media */
/* Content */
@media (min-width: 768px) {
	:root {
		--bs-gutter-x: 1.38889vw;
	}
	body {
		min-width: 0;
		font-size: 1.66667vw;
	}
	.container {
		padding-right: 1.38889vw;
		padding-left: 1.38889vw;
	}
	.block__box {
		width: 88%;
		margin: 0 auto;
	}
	.title {
		font-size: 2.22222vw;
		line-height: 2.22222vw;
		margin-bottom: 3.05556vw;
	}
	.button {
		font-size: 1.38889vw;
		line-height: 1.94444vw;
		height: 4.58333vw;
		max-width: 19.09722vw;
	}
	.button__more {
		font-size: 1.38889vw;
		line-height: 1.94444vw;
		height: 4.72222vw;
		max-width: 100%;
	}
	.button__more span {
		margin-right: 0.55556vw;
	}
	.button__more span::before {
		width: 1.04167vw;
		height: 1.04167vw;
	}
}

@media (min-width: 992px) {
	.inner {
		margin-top: calc(170 * 1px);
	}
}

@media (min-width: 1100px) {
	.container {
		padding-right: 0.69444vw;
		padding-left: 0.69444vw;
		max-width: calc(1112 * 1px);
	}
	.title {
		font-size: 1.94444vw;
		line-height: 1.94444vw;
	}
	.button {
		font-size: 1.11111vw;
		line-height: 1.66667vw;
	}
	.button__more {
		font-size: 0.97222vw;
		line-height: 1.45833vw;
	}
	.button__more span::before {
		background-size: 0.55556vw;
	}
}

@media (min-width: 1921px) {
	.wrapper {
		max-width: 133.33333vw;
	}
}

/* Forms */
@media (min-width: 768px) {
	.form-section__box {
		padding: 2.77778vw 0 6.31944vw;
		width: 89.6%;
		margin: 0 auto;
	}
	.form-section__form {
		margin: 0 auto;
		padding: 2.70833vw 7.01389vw 3.68056vw;
		border: 0.13889vw solid transparent;
		-o-border-image: linear-gradient(#4587D8, #FF0040);
		   border-image: linear-gradient(#4587D8, #FF0040);
		-webkit-border-image: -webkit-linear-gradient(#4587D8, #FF0040);
		border-image-slice: 1;
	}
}

@media (min-width: 1100px) {
	.form-section__box {
		max-width: 65.48611vw;
	}
}

@media (min-width: 768px) {
	.form__title {
		font-size: 1.38889vw;
		line-height: 1.66667vw;
		letter-spacing: 0.01em;
		margin: -3.61111vw auto 2.08333vw;
		width: -webkit-max-content;
		width: max-content;
		padding: 0 2.77778vw;
	}
	.form__title span {
		width: 100%;
	}
	.form__subtitle {
		font-size: 1.38889vw;
		line-height: 1.80556vw;
		margin-bottom: 1.80556vw;
	}
	.form__text {
		font-size: 1.38889vw;
		line-height: 1.73611vw;
		margin-bottom: 2.08333vw;
	}
	.form__items {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 1.04167vw;
		margin-bottom: 1.73611vw;
	}
	.form__items-feedback {
		grid-template-columns: 1fr;
		margin-bottom: 3.05556vw;
	}
	.form__item {
		height: 3.88889vw;
		margin-bottom: 0;
	}
	.form__item_theme {
		height: 3.19444vw;
	}
	.form__item_theme input {
		padding-top: 0.20833vw;
	}
	.form__item_comments {
		height: 12.70833vw;
	}
	.form__item_button {
		width: 22.5vw;
		bottom: -2.29167vw;
		padding: 0 1.875vw;
		height: 4.58333vw;
	}
	.form__input {
		font-size: 1.38889vw;
		line-height: 1.2;
		padding-left: 1.45833vw;
		border-radius: 0.27778vw;
	}
	.form__input_textarea {
		padding-top: 0.90278vw;
	}
	.form__input.error {
		border: 1px solid red;
	}
	.form__button {
		font-size: 1.11111vw;
		line-height: 1.66667vw;
		max-width: 22.5vw;
		height: 4.58333vw;
	}
	.form__footer {
		padding-left: 1.66667vw;
	}
	.form__footer-checkbox {
		top: 0.20833vw;
		width: 1.11111vw;
		height: 1.11111vw;
		border: 1px solid #C7C7C7;
		border-radius: 0.27778vw;
	}
	.form__footer-checkbox-icon:before {
		top: 0;
		left: 0;
		width: 0.69444vw;
		height: 0.69444vw;
	}
	.form__footer-text {
		font-size: 1.25vw;
		line-height: 1.52778vw;
	}
	.form__choice {
		grid-template-columns: 1fr 1fr;
		grid-gap: 2.56944vw;
		margin-bottom: 5vw;
	}
	.form__choice-title {
		font-size: 1.11111vw;
		line-height: 1.45833vw;
		margin-bottom: 0.97222vw;
	}
	.form__legend {
		font-size: 1.11111vw;
		line-height: 1.45833vw;
	}
	.form__radio {
		border-radius: 0.27778vw;
		height: 3.19444vw;
		padding-left: 1.45833vw;
		padding-right: 1.25vw;
	}
	.form__radio::after {
		top: calc(50% - 0.83333vw);
		right: 1.25vw;
		width: 0.97222vw;
		height: 1.25vw;
		top: calc(50% - 0.34722vw);
	}
	.form__radio.active::after {
		top: calc(50% - 0.97222vw);
	}
	.form__radio.error {
		border: 0.13889vw solid #ff2626;
	}
	.form__radio-items {
		top: 3.75vw;
		border-radius: 0.27778vw;
		padding: 0.69444vw;
	}
	.form__radio-select {
		padding: 0.69444vw;
		font-size: 1.11111vw;
		line-height: 1.45833vw;
	}
}

@media (min-width: 1100px) {
	.form__title {
		font-size: 1.11111vw;
		line-height: 1.66667vw;
	}
	.form__subtitle {
		font-size: 1.11111vw;
		line-height: 1.45833vw;
	}
	.form__item {
		height: 3.19444vw;
	}
	.form__item_button {
		width: 17.70833vw;
		bottom: -1.04167vw;
	}
	.form__input {
		font-size: 1.11111vw;
		line-height: 1;
	}
	.form__button {
		max-width: 13.95833vw;
		width: 100%;
	}
	.form__footer-checkbox {
		top: 0.55556vw;
	}
	.form__footer-checkbox-icon:before {
		top: 0.13889vw;
		left: 0.13889vw;
	}
	.form__footer-text {
		font-size: 0.97222vw;
		line-height: 1.38889vw;
	}
}

/* Blocks */
@media (min-width: 768px) {
	.marquee {
		font-size: 0.97222vw;
		line-height: 0.97222vw;
		padding: 1.45833vw 0 1.59722vw;
	}
	.marquee .container {
		padding: 0;
	}
	.marquee__list {
		-webkit-animation: none;
		        animation: none;
		padding-left: 0.69444vw;
	}
	.marquee__rune {
		margin: 0 1.45833vw;
	}
}

@media (min-width: 1440px) {
	.marquee__list {
		padding-left: 0;
	}
}

@media (min-width: 768px) {
	.header {
		max-width: 133.33333vw;
	}
	.header__menu {
		display: none;
	}
	.header__logo {
		max-width: 30vw;
		width: 100%;
	}
	.header__logo img {
		width: auto;
	}
	.header__logo-mob {
		display: none;
	}
	.header__logo-desk {
		display: inline-block;
	}
	.header__top {
		display: none;
	}
	.header__box {
		height: 4.51389vw;
		padding: 0;
		padding-left: 3.05556vw;
		overflow: hidden;
	}
	.header__box._white {
		padding: 2.43056vw 0 2.08333vw 3.05556vw;
		position: relative;
		height: auto;
		height: calc(80 * 1px);
		background: #fff;
	}
	.header__box._blue {
		display: flex;
		background: #4587D8;
		position: relative;
		-webkit-transform: translateX(0);
		        transform: translateX(0);
		height: calc(30 * 1px);
	}
	.header__box._red {
		display: flex;
		height: calc(30 * 1px);
	}
	.header__box-inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 0;
		max-width: 25vw;
		width: 100%;
		height: calc(30 * 1px);
	}
	.header__nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.header__nav a {
		padding: 0;
		font-size: 0.97222vw;
		line-height: 1.31944vw;
		letter-spacing: 0.09722vw;
		border-top: 0;
	}
	.header__nav a + a {
		margin-left: 3.61111vw;
	}
	.header__social {
		width: 60%;
		margin: 0 auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 2.56944vw;
	}
	.header__social-item {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.header__social-item:nth-child(1) {
		width: 1.52778vw;
		height: 0.90278vw;
	}
	.header__social-item:nth-child(2) {
		width: 1.25vw;
		height: 1.11111vw;
	}
	.header__social-item:nth-child(3) {
		width: 1.11111vw;
		height: 1.11111vw;
	}
	.header__social-item:not(:last-child) {
		margin-right: 0;
	}
	.header__social img {
		-o-object-fit: cover;
		   object-fit: cover;
		width: 100%;
		height: 100%;
		-webkit-filter: none;
		        filter: none;
	}
	.header__search {
		background: #20599E;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		padding: 1.66667vw 1.52778vw;
		width: 5.55556vw;
		height: 100%;
	}
	.header__search img {
		width: 1.38889vw;
		height: auto;
		-o-object-fit: cover;
		   object-fit: cover;
	}
	.header__text {
		font-weight: 500;
		font-size: 0.97222vw;
		line-height: 1.31944vw;
		letter-spacing: 0.2px;
	}
	.header__text span {
		font-weight: 800;
		letter-spacing: 0;
	}
	.header__button {
		font-size: 1.11111vw;
		max-width: 25vw;
		height: 100%;
	}
	.header__button img {
		width: 0.83333vw;
		height: 1.66667vw;
		margin-left: 2.08333vw;
	}
	.header__mob {
		display: none;
	}
}

@media (min-width: 992px) {
	.header__box._white {
		height: calc(90 * 1px);
	}
	.header__box._blue, .header__box._red {
		height: calc(40 * 1px);
	}
	.header__box-inner {
		height: calc(40 * 1px);
	}
}

@media (min-width: 1100px) {
	.header__box._white {
		height: 6.94444vw;
	}
	.header__box._blue, .header__box._red {
		height: 4.58333vw;
	}
	.header__box-inner {
		height: 4.58333vw;
		width: 25.7%;
	}
	.header__social {
		width: 80%;
	}
	.header__search {
		width: 4.51389vw;
	}
	.header__button {
		max-width: 100%;
		width: 25.7%;
	}
}

@media (min-width: 768px) {
	.news {
		background: transparent;
	}
	.news__inner {
		margin: 0 auto;
		padding: 5.06944vw 0 3.47222vw;
		max-width: 75%;
	}
	.news__items {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		flex-wrap: wrap;
		grid-column-gap: 1.875vw;
		grid-row-gap: 3.33333vw;
		margin-bottom: 0;
	}
	.news__items::after {
		content: "";
		flex: 1 1 31%;
		justify-content: flex-start;
	}
	.news__item {
		display: block;
		flex-basis: 31%;
		padding: 0;
	}
	.news__item.full {
		flex-basis: 100%;
		display: flex;
		justify-content: space-between;
		flex-direction: row;
	}
	.news__item.full img {
		flex-basis: 65.4%;
		width: 65.4%;
	}
	.news__item.full > div {
		flex-basis: 31%;
	}
	.news__item.full .news__item-name,
	.news__item.full .news__item-text {
		padding: 0;
	}
	.news__item-picture {
		width: 100%;
		height: auto;
		margin-bottom: 1.18056vw;
	}
	.news__item-picture.full {
		height: auto;
		margin-bottom: 0;
	}
	.news__item-name {
		font-size: 1.38889vw;
		line-height: 1.94444vw;
		width: 100%;
	}
	.news__item-name.full {
		font-size: 1.59722vw;
		line-height: 1.66667vw;
		margin-bottom: 3.75vw;
	}
	.news__item-text {
		font-size: 1.38889vw;
		line-height: 1.94444vw;
	}
	.news__item-name {
		font-size: 1.11111vw;
		line-height: 1.45833vw;
	}
	.news__item-text {
		font-size: 1.11111vw;
		line-height: 1.45833vw;
	}
}

@media (min-width: 1100px) {
	.news__items {
		justify-content: flex-start;
	}
	.news__item {
		flex-basis: 31%;
		flex-basis: 17.70833vw;
	}
	.news__item.full {
		justify-content: flex-start;
		grid-column-gap: 1.875vw;
	}
	.news__item.full img {
		width: 37.29167vw;
		flex-basis: 37.29167vw;
	}
	.news__item-name.full {
		font-size: 1.59722vw;
		line-height: 1.1;
	}
	.news__item-picture {
		width: 17.70833vw;
		height: 10.83333vw;
	}
	.news__item-picture.full {
		width: 37.29167vw;
		height: auto;
		height: 24.79167vw;
		margin-bottom: 0;
	}
}

@media (min-width: 768px) {
	.partners__inner {
		padding: 2.36111vw 0 5.55556vw;
	}
	.partners__title {
		font-size: 1.11111vw;
		line-height: 1.66667vw;
		margin-bottom: 0;
		margin-bottom: 1.73611vw;
	}
	.partners__items {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: nowrap;
	}
	.partners__item._big, .partners__item._small {
		flex-basis: auto;
		margin-bottom: 0;
	}
	.partners .partners__item + .partners__item {
		margin-left: 2.36111vw;
	}
}

@media (min-width: 768px) {
	.footer__inner {
		padding: 1.73611vw 0;
	}
	.footer__top {
		padding-bottom: 1.80556vw;
		border-bottom: 1px solid #636363;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.footer__nav {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		flex-basis: auto;
	}
	.footer__nav a {
		font-size: 0.83333vw;
		line-height: 1.31944vw;
	}
	.footer__nav a + a {
		margin-top: 0;
		margin-left: 3.05556vw;
	}
	.footer__social {
		position: relative;
		bottom: auto;
		right: auto;
	}
	.footer__social img {
		height: 0.83333vw;
	}
	.footer__social a + a {
		margin-left: 1.80556vw;
	}
	.footer__middle {
		padding: 2.77778vw 0 2.43056vw;
		font-size: 1.11111vw;
		line-height: 1.38889vw;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.footer__address {
		margin-bottom: 0;
		display: flex;
		align-items: center;
	}
	.footer__address span + span {
		margin-left: 0.90278vw;
	}
	.footer__address img {
		margin-right: 0.55556vw;
		height: 1.04167vw;
	}
	.footer__phones {
		display: flex;
		align-items: center;
	}
	.footer__phones a {
		font-size: 1.11111vw;
		line-height: 1.38889vw;
	}
	.footer__phones a + a {
		margin-left: 1.04167vw;
	}
	.footer__phones img {
		margin-right: 0.55556vw;
		height: 1.04167vw;
		-o-object-fit: cover;
		   object-fit: cover;
	}
	.footer__bottom {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.footer__links {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		max-width: 100%;
	}
	.footer__links a {
		font-size: 0.97222vw;
		line-height: 1.45833vw;
	}
	.footer__links a + a {
		margin-left: 1.45833vw;
	}
	.footer__copy {
		font-size: 0.97222vw;
		line-height: 1.45833vw;
		order: 0;
	}
}

@media (min-width: 1100px) {
	.footer .container {
		padding: 0 2.77778vw;
	}
}

/***********/
/* Popups */
@media (min-width: 768px) {
	.popup {
		padding: 2.70833vw 2.08333vw 4.375vw;
		border: 0.13889vw solid transparent;
		-o-border-image: linear-gradient(#4587D8, #FF0040);
		   border-image: linear-gradient(#4587D8, #FF0040);
		-webkit-border-image: -webkit-linear-gradient(#4587D8, #FF0040);
		border-image-slice: 1;
	}
	.popup .form {
		max-width: 68.75vw;
		margin: 0 auto;
	}
	.popup .fancybox-slide--html .fancybox-close-small {
		right: 1.04167vw !important;
		top: 1.04167vw !important;
		padding: 0;
	}
	.popup .fancybox-button {
		height: 1.52778vw;
		width: 1.52778vw;
	}
	.popup .fancybox-content {
		border-radius: 0.34722vw;
		padding: 0.69444vw;
	}
}

@media (min-width: 1440px) {
	.popup {
		max-width: 87.22222vw;
	}
}

@media (min-width: 768px) {
	.fancybox-privacy .fancybox-outer + .fancybox-close {
		width: 2.43056vw;
		height: 2.43056vw;
		top: 2.08333vw;
		right: 2.08333vw;
	}
	.fancybox-privacy__content {
		font-size: 1.11111vw;
		line-height: 1.25;
		padding: 2.77778vw 3.47222vw 3.47222vw;
		max-width: 62.5vw;
	}
	.fancybox-privacy__title {
		font-size: 2.5vw;
		margin: 0 0 2.08333vw;
	}
	.fancybox-privacy__title br {
		display: none;
	}
	.fancybox-privacy__subtitle {
		font-size: 1.38889vw;
		margin-bottom: 1.04167vw;
	}
	.fancybox-privacy__text {
		padding: 0;
		margin: 0 0 1.04167vw;
	}
	.fancybox-privacy__text ul {
		padding-left: 1.38889vw;
	}
	.fancybox-privacy__footer {
		margin: 2.77778vw 0 0;
	}
	.fancybox-privacy__footer-text {
		max-width: 28.81944vw;
		font-size: 0.97222vw;
		padding: 0.20833vw 0 0.69444vw;
	}
	.fancybox-privacy__footer-button {
		max-width: 14.93056vw;
		height: 3.61111vw;
		font-size: 1.25vw;
		line-height: 3.61111vw;
		box-shadow: 0.20833vw 0.20833vw 0.20833vw #0000004d;
		margin-left: 0.69444vw;
	}
	.popup-privacy .fancybox-close-small svg {
		width: 2.08333vw;
		height: 2.08333vw;
	}
}
