/* Common */
/* Media */
/* Content */
@media (min-width: 768px) {
	:root {
		--bs-gutter-x: 20px;
	}
	body {
		min-width: 0;
		font-size: 24px;
	}
	.container {
		padding-right: 20px;
		padding-left: 20px;
	}
	.block__box {
		width: 88%;
		margin: 0 auto;
	}
	.title {
		font-size: 32px;
		line-height: 32px;
		margin-bottom: 44px;
	}
	.button {
		font-size: 20px;
		line-height: 28px;
		height: 66px;
		max-width: 275px;
	}
	.button__more {
		font-size: 20px;
		line-height: 28px;
		height: 68px;
		max-width: 100%;
	}
	.button__more span {
		margin-right: 8px;
	}
	.button__more span::before {
		width: 15px;
		height: 15px;
	}
}

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

@media (min-width: 1100px) {
	.container {
		padding-right: 10px;
		padding-left: 10px;
		max-width: calc(1112 * 1px);
	}
	.title {
		font-size: 28px;
		line-height: 28px;
	}
	.button {
		font-size: 16px;
		line-height: 24px;
	}
	.button__more {
		font-size: 14px;
		line-height: 21px;
	}
	.button__more span::before {
		background-size: 8px;
	}
}

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

/* Forms */
@media (min-width: 768px) {
	.form-section__box {
		padding: 40px 0 91px;
		width: 89.6%;
		margin: 0 auto;
	}
	.form-section__form {
		margin: 0 auto;
		padding: 39px 101px 53px;
		border: 2px 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: 943px;
	}
}

@media (min-width: 768px) {
	.form__title {
		font-size: 20px;
		line-height: 24px;
		letter-spacing: 0.01em;
		margin: -52px auto 30px;
		width: -webkit-max-content;
		width: max-content;
		padding: 0 40px;
	}
	.form__title span {
		width: 100%;
	}
	.form__subtitle {
		font-size: 20px;
		line-height: 26px;
		margin-bottom: 26px;
	}
	.form__text {
		font-size: 20px;
		line-height: 25px;
		margin-bottom: 30px;
	}
	.form__items {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 15px;
		margin-bottom: 25px;
	}
	.form__items-feedback {
		grid-template-columns: 1fr;
		margin-bottom: 44px;
	}
	.form__item {
		height: 56px;
		margin-bottom: 0;
	}
	.form__item_theme {
		height: 46px;
	}
	.form__item_theme input {
		padding-top: 3px;
	}
	.form__item_comments {
		height: 183px;
	}
	.form__item_button {
		width: 324px;
		bottom: -33px;
		padding: 0 27px;
		height: 66px;
	}
	.form__input {
		font-size: 20px;
		line-height: 1.2;
		padding-left: 21px;
		border-radius: 4px;
	}
	.form__input_textarea {
		padding-top: 13px;
	}
	.form__input.error {
		border: 1px solid red;
	}
	.form__button {
		font-size: 16px;
		line-height: 24px;
		max-width: 324px;
		height: 66px;
	}
	.form__footer {
		padding-left: 24px;
	}
	.form__footer-checkbox {
		top: 3px;
		width: 16px;
		height: 16px;
		border: 1px solid #C7C7C7;
		border-radius: 4px;
	}
	.form__footer-checkbox-icon:before {
		top: 0;
		left: 0;
		width: 10px;
		height: 10px;
	}
	.form__footer-text {
		font-size: 18px;
		line-height: 22px;
	}
	.form__choice {
		grid-template-columns: 1fr 1fr;
		grid-gap: 37px;
		margin-bottom: 72px;
	}
	.form__choice-title {
		font-size: 16px;
		line-height: 21px;
		margin-bottom: 14px;
	}
	.form__legend {
		font-size: 16px;
		line-height: 21px;
	}
	.form__radio {
		border-radius: 4px;
		height: 46px;
		padding-left: 21px;
		padding-right: 18px;
	}
	.form__radio::after {
		top: calc(50% - 12px);
		right: 18px;
		width: 14px;
		height: 18px;
		top: calc(50% - 5px);
	}
	.form__radio.active::after {
		top: calc(50% - 14px);
	}
	.form__radio.error {
		border: 2px solid #ff2626;
	}
	.form__radio-items {
		top: 54px;
		border-radius: 4px;
		padding: 10px;
	}
	.form__radio-select {
		padding: 10px;
		font-size: 16px;
		line-height: 21px;
	}
}

@media (min-width: 1100px) {
	.form__title {
		font-size: 16px;
		line-height: 24px;
	}
	.form__subtitle {
		font-size: 16px;
		line-height: 21px;
	}
	.form__item {
		height: 46px;
	}
	.form__item_button {
		width: 255px;
		bottom: -15px;
	}
	.form__input {
		font-size: 16px;
		line-height: 1;
	}
	.form__button {
		max-width: 201px;
		width: 100%;
	}
	.form__footer-checkbox {
		top: 8px;
	}
	.form__footer-checkbox-icon:before {
		top: 2px;
		left: 2px;
	}
	.form__footer-text {
		font-size: 14px;
		line-height: 20px;
	}
}

/* Blocks */
@media (min-width: 768px) {
	.marquee {
		font-size: 14px;
		line-height: 14px;
		padding: 21px 0 23px;
	}
	.marquee .container {
		padding: 0;
	}
	.marquee__list {
		-webkit-animation: none;
		        animation: none;
		padding-left: 10px;
	}
	.marquee__rune {
		margin: 0 21px;
	}
}

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

@media (min-width: 768px) {
	.header {
		max-width: 1920px;
	}
	.header__menu {
		display: none;
	}
	.header__logo {
		max-width: 432px;
		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: 65px;
		padding: 0;
		padding-left: 44px;
		overflow: hidden;
	}
	.header__box._white {
		padding: 35px 0 30px 44px;
		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: 360px;
		width: 100%;
		height: calc(30 * 1px);
	}
	.header__nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.header__nav a {
		padding: 0;
		font-size: 14px;
		line-height: 19px;
		letter-spacing: 1.4px;
		border-top: 0;
	}
	.header__nav a + a {
		margin-left: 52px;
	}
	.header__social {
		width: 60%;
		margin: 0 auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 37px;
	}
	.header__social-item {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.header__social-item:nth-child(1) {
		width: 22px;
		height: 13px;
	}
	.header__social-item:nth-child(2) {
		width: 18px;
		height: 16px;
	}
	.header__social-item:nth-child(3) {
		width: 16px;
		height: 16px;
	}
	.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: 24px 22px;
		width: 80px;
		height: 100%;
	}
	.header__search img {
		width: 20px;
		height: auto;
		-o-object-fit: cover;
		   object-fit: cover;
	}
	.header__text {
		font-weight: 500;
		font-size: 14px;
		line-height: 19px;
		letter-spacing: 0.2px;
	}
	.header__text span {
		font-weight: 800;
		letter-spacing: 0;
	}
	.header__button {
		font-size: 16px;
		max-width: 360px;
		height: 100%;
	}
	.header__button img {
		width: 12px;
		height: 24px;
		margin-left: 30px;
	}
	.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: 100px;
	}
	.header__box._blue, .header__box._red {
		height: 66px;
	}
	.header__box-inner {
		height: 66px;
		width: 25.7%;
	}
	.header__social {
		width: 80%;
	}
	.header__search {
		width: 65px;
	}
	.header__button {
		max-width: 100%;
		width: 25.7%;
	}
}

@media (min-width: 768px) {
	.news {
		background: transparent;
	}
	.news__inner {
		margin: 0 auto;
		padding: 73px 0 50px;
		max-width: 75%;
	}
	.news__items {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		flex-wrap: wrap;
		grid-column-gap: 27px;
		grid-row-gap: 48px;
		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: 17px;
	}
	.news__item-picture.full {
		height: auto;
		margin-bottom: 0;
	}
	.news__item-name {
		font-size: 20px;
		line-height: 28px;
		width: 100%;
	}
	.news__item-name.full {
		font-size: 23px;
		line-height: 24px;
		margin-bottom: 54px;
	}
	.news__item-text {
		font-size: 20px;
		line-height: 28px;
	}
	.news__item-name {
		font-size: 16px;
		line-height: 21px;
	}
	.news__item-text {
		font-size: 16px;
		line-height: 21px;
	}
}

@media (min-width: 1100px) {
	.news__items {
		justify-content: flex-start;
	}
	.news__item {
		flex-basis: 31%;
		flex-basis: 255px;
	}
	.news__item.full {
		justify-content: flex-start;
		grid-column-gap: 27px;
	}
	.news__item.full img {
		width: 537px;
		flex-basis: 537px;
	}
	.news__item-name.full {
		font-size: 23px;
		line-height: 1.1;
	}
	.news__item-picture {
		width: 255px;
		height: 156px;
	}
	.news__item-picture.full {
		width: 537px;
		height: auto;
		height: 357px;
		margin-bottom: 0;
	}
}

@media (min-width: 768px) {
	.partners__inner {
		padding: 34px 0 80px;
	}
	.partners__title {
		font-size: 16px;
		line-height: 24px;
		margin-bottom: 0;
		margin-bottom: 25px;
	}
	.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: 34px;
	}
}

@media (min-width: 768px) {
	.footer__inner {
		padding: 25px 0;
	}
	.footer__top {
		padding-bottom: 26px;
		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: 12px;
		line-height: 19px;
	}
	.footer__nav a + a {
		margin-top: 0;
		margin-left: 44px;
	}
	.footer__social {
		position: relative;
		bottom: auto;
		right: auto;
	}
	.footer__social img {
		height: 12px;
	}
	.footer__social a + a {
		margin-left: 26px;
	}
	.footer__middle {
		padding: 40px 0 35px;
		font-size: 16px;
		line-height: 20px;
		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: 13px;
	}
	.footer__address img {
		margin-right: 8px;
		height: 15px;
	}
	.footer__phones {
		display: flex;
		align-items: center;
	}
	.footer__phones a {
		font-size: 16px;
		line-height: 20px;
	}
	.footer__phones a + a {
		margin-left: 15px;
	}
	.footer__phones img {
		margin-right: 8px;
		height: 15px;
		-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: 14px;
		line-height: 21px;
	}
	.footer__links a + a {
		margin-left: 21px;
	}
	.footer__copy {
		font-size: 14px;
		line-height: 21px;
		order: 0;
	}
}

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

/***********/
/* Popups */
@media (min-width: 768px) {
	.popup {
		padding: 39px 30px 63px;
		border: 2px 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: 990px;
		margin: 0 auto;
	}
	.popup .fancybox-slide--html .fancybox-close-small {
		right: 15px !important;
		top: 15px !important;
		padding: 0;
	}
	.popup .fancybox-button {
		height: 22px;
		width: 22px;
	}
	.popup .fancybox-content {
		border-radius: 5px;
		padding: 10px;
	}
}

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

@media (min-width: 768px) {
	.fancybox-privacy .fancybox-outer + .fancybox-close {
		width: 35px;
		height: 35px;
		top: 30px;
		right: 30px;
	}
	.fancybox-privacy__content {
		font-size: 16px;
		line-height: 1.25;
		padding: 40px 50px 50px;
		max-width: 900px;
	}
	.fancybox-privacy__title {
		font-size: 36px;
		margin: 0 0 30px;
	}
	.fancybox-privacy__title br {
		display: none;
	}
	.fancybox-privacy__subtitle {
		font-size: 20px;
		margin-bottom: 15px;
	}
	.fancybox-privacy__text {
		padding: 0;
		margin: 0 0 15px;
	}
	.fancybox-privacy__text ul {
		padding-left: 20px;
	}
	.fancybox-privacy__footer {
		margin: 40px 0 0;
	}
	.fancybox-privacy__footer-text {
		max-width: 415px;
		font-size: 14px;
		padding: 3px 0 10px;
	}
	.fancybox-privacy__footer-button {
		max-width: 215px;
		height: 52px;
		font-size: 18px;
		line-height: 52px;
		box-shadow: 3px 3px 3px #0000004d;
		margin-left: 10px;
	}
	.popup-privacy .fancybox-close-small svg {
		width: 30px;
		height: 30px;
	}
}
