/* mobile first */
@media (min-width: 410px) {
	.form-container {
		padding: 20px 40px;
	}

	.adaptive-btn-in-mobile {
		margin-bottom: 0;
		width: inherit;
	}
}

@media (min-width: 576px) {
	.account-widget {
		border-radius: 6px;
	}

	.form-container {
		padding: 20px 70px;
	}

	.modal-dialog__content {
		padding: 30px 50px;
	}
	.modal-dialog--second-view__content {
		padding: 30px 50px;
	}
	.modal-dialog__content-after-send .modal-dialog--second-view__content {
		padding: 20px 15px;
	}
	.modal-dialog__content-after-send .text {
		white-space: nowrap;
	}

	.images-container__btn-select-main-img {
		width: fit-content;
	}
	.image-info-container {
		margin-right: 0;
		width: auto;
		height: 100%;
		align-content: center;
		display: flex;
	}

	.main-search__main-content {
		flex-direction: row!important;
		align-items: center!important;
	}
}

@media (min-width: 768px) {
	.header-btn {
		border-radius: 5px;
		font-size: .875rem;
	}
	.header__title,
	.header-mobile__logo,
	.account-widget__btn .header-btn__text,
	.header-btn .header-btn__text {
		display: none;
	}
	.header-btn_partner .svg-ico-bordered__bg {
		-webkit-filter: none;
		        filter: none;
	}

	.footer__soc-networks {
		margin-right: -4px;
		margin-top: -45px;
	}
	.footer__nav {
		align-content: flex-start;
	}
	.footer__top {
		height: 200px;
	}
}

@media (min-width: 992px) {
	.products > .aside-filter {
		width: 300px;
	}

	.footer__bottom {
		padding: 24px 0 16px 0;
	}
	.footer__bottom .container {
		justify-content: space-between;
	}
	.footer__bottom_copywriter {
		font-size: .875rem;
	}

	.contact-page .modal-dialog {
		flex: 1 1 0;
	}
}

@media (min-width: 1200px) {
	.aside-column {
		width: 300px;
		display: block;
	}
	.content-column {
		width: 68%;
	}

	.full-width-mob {
		width: 49%;
	}

	.fixed {
		transform: translate(0, 50px)!important;
	}

	.footer__nav {
		height: 80px;
	}
	.footer__nav-item {
		max-width: 35%;
	}

	.header-btn {
		padding: 0 12px 0 4px;
	}
	.header-btn .ico-holder,
	.account-widget__btn .ico-holder {
		width: 36px;
		height: 36px;
	}
	.header-btn .ico-holder > .ico_bg,
	.account-widget__btn_notify > .ico-holder > .ico_bg {
		display: none;
	}

	.header-btn_partner {
		background: var(--gradient-purple);
	}

	.header-btn__text,
	.header-btn_partner .header-btn__text,
	.header-btn_login .header-btn__text {
		display: block;
	}

	.header-btn_partner {
		color: #FFF;
	}

	.account-widget__btn_notify {
		background: var(--color-gray);
		border-radius: 6px;
		overflow: hidden;
	}
	.account-widget__btn_notify > .have-news-marker {
		background: var(--gradient-blue);
	}
	.account-widget__btn_notify > .have-news-marker::after {
		right: 2px;
		top: 4px;
	}

	.header-btn_login {
		color: #FFF;
	}

	.hide-min-w-1200 {
		display: none;
	}

	.ae-sign {
		column-gap: 4px;
		margin-right: 16px;
		position: relative;
	}
	.ae-sign::before {
		margin-top: -3px;
	}

	.main-search__fields-block_item {
		margin-bottom: 0!important;
		width: 28% !important;
	}
	.main-search__fields-block_item.tag-container {
		width: 71% !important;
	}
}

@media (min-width: 1400px) {}

@media (min-width: 1920px) {
	.header,
	.footer__top {
		background-size: cover;
	}
}

/* desktop first */
@media (max-width: 1599px) {
	.group-buttons__items {
		right: 0;
	}
}

@media (max-width: 1199px) {
	.hide-max-w-1199 {
		display: none !important;
	}

	.header:not(.active) .header-btn,
	.header:not(.active) .header-btn:hover,
	.header:not(.active) .header-btn:active,
	.header-main-page:not(.active) .header-btn,
	.header-main-page:not(.active) .header-btn:hover,
	.header-main-page:not(.active) .header-btn:active {
		background: unset;
	}

	.footer__nav {
		height: 120px;
	}
	.footer__bottom > .container {
		flex-direction: column;
	}

	.ae-dev {
		flex-direction: column;
		align-items: center;
		font-size: .75rem;
		margin-top: 8px;
	}
	.ae-sign {
		border-width: 2px 0;
		border-style: solid;
		border-color: rgba(193, 210, 210, 0.2);
		flex-direction: column;
		align-items: center;
		padding: 10px 0 5px 0;
		width: 200px;
	}
	.ae-sign::after {
		content: 'Разработка сайта';
		margin-top: 4px;
	}
	.ae-version {
		margin-top: 8px;
	}
}

@media (max-width: 991px) {
	.flex-to-column-991 {
		flex-direction: column;
	}
	.footer__top {
		height: 220px;
	}
	.footer__nav {
		height: 140px;
	}
	.header-main-page > .container {
		padding: 10px 20px;
		max-width: unset;
	}
}

@media (max-width: 767px) {
	.stop-scroll {
		overflow: hidden;
	}
	.header__menu-button {
		display: block;
		position: relative;
	}
	/* бургер превращается в крестик при нажатии */
	.header__menu-button::before,
	.header__menu-button > i,
	.header__menu-button::after {
		background-color: #fff;
		border-radius: 3px;
		content: '';
		height: 3px;
		left: 50%;
		position: absolute;
		transition: .3s;
		transform: translate(-50%, -50%);
		width: 22px;
		z-index: 1000;
	}
	.header__menu-button::before {
		top: calc(50% - 7px);
	}
	.header__menu-button > i {
		top: 50%;
	}
	.header__menu-button::after {
		top: calc(50% + 7px);
	}

	.header-main-page > .container {
		padding: 0 10px;
	}
	.header-main-page.active .header__menu-button .ico_fg,
	.header.active .header__menu-button .ico_fg {
		display: none;
	}
	.header-main-page.active .header__menu-button > i,
	.header.active .header__menu-button > i {
		opacity: 0;
	}
	.header-main-page.active .header__menu-button::before,
	.header.active .header__menu-button::before {
		top: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}
	.header-main-page.active .header__menu-button::after,
	.header.active .header__menu-button::after {
		top: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}
	.header {
		position: relative;
	}
	.header.active {
		padding: 4px 0;
	}
	.header.active ~ .main .product-menu,
	.header.active ~ .main .map {
		z-index: -1;
		pointer-events: none;
	}
	.header-mobile {
		background: var(--color-white);
		box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
		box-sizing: border-box;
		flex-direction: column;
		justify-content: space-between;
		position: absolute;
		left: 0;
		top: 0;
		overflow-y: auto;
		width: 100%;
		height: 100vh;
		z-index: 25;
	}
	.header-main-page:not(.active) .header-mobile,
	.header:not(.active) .header-mobile,
	.header-main-page.active .header__menu-button .have-news-marker::after,
	.header.active .header__menu-button .have-news-marker::after {
		display: none;
	}
	.header-mobile__menu {
		align-items: start !important;
		flex-direction: column-reverse;
		justify-content: start;
	}
	.header-mobile__menu.gap-10 {
		gap: 0;
	}
	.header-mobile__logo {
		display: block;
		align-self: center;
		background-color: #fff;
		padding: 24px 0;
		width: 100%;
	}
	.header-mobile__logo img {
		display: block;
		margin: 0 auto;
	}
	.header__title {
		background-color: var(--color-gray-xlight);
		box-sizing: border-box;
		color: var(--color-gray-3);
		display: block;
		order: 5;
		padding: 22px;
		width: 100%;
	}
	.account-nav {
		padding: 10px 20px;
		pointer-events: none;
		filter: none;
	}
	.account-name__user-arrow {
		display: none;
	}
	.account-widget__btn_notify {
		border-bottom: 1px solid #DEE8E8;
	}
	.account-widget__btn_notify .ico_bg,
	.account-nav__user .ico_bg {
		filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
	}
	.account-widget__btn_notify.shadow_s,
	.account-nav__user.shadow_s {
		filter: none;
	}
	.account-nav__list {
		padding: 0 0 0 50px;
		position: relative;
		pointer-events: auto;
		box-shadow: none;
		top: 0;
	}
	.account-nav:not(.active) .account-nav__list {
		transform: translateY(6px);
		opacity: 1;
		pointer-events: auto;
	}
	.account-nav__item {
		padding: 8px 12px;
	}
	.account-nav__user .ico_bg {
		stroke: #E2EBEB;
	}
	.account-nav__user {
		column-gap: normal;
		padding-left: 0;
	}
	.account-nav__user-name {
		font-weight: 600;
	}
	.account-widget {
		flex-direction: column;
		width: 100%;
	}
	.account-widget__btn,
	.header-btn {
		box-sizing: border-box;
		padding: 10px 20px;
		width: 100%;
	}
	.account-widget__btn {
		justify-content: flex-start !important;
	}
	.header-btn__text {
		display: block;
	}
	.header-btn_partner {
		background: var(--gradient-purple);
		order: 4;
	}
	.header-btn_login {
		background: var(--gradient-blue);
		order: 3;
	}
	.header-btn_login .svg-ico-bordered__bg	{
		fill: transparent;
		stroke: transparent;
	}
	.account-widget__btn_notify .header-btn__text {
		color: #434343;
		font-size: .875rem;
		font-weight: 600;
		line-height: .875rem;
	}
	.header-btn_login,
	.header-btn_partner {
		color: #fff;
		font-size: .875rem;
		font-weight: 600;
		line-height: 1.3125rem;
	}

	.header-mobile .ico-holder {
		margin-right: 20px;
		width: 44px;
		height: 44px;
	}

	.header-btn_partner .header-btn__text,
	.header-btn_partner .link {
		margin-left: 0;
	}
	.account-widget__btn_notify > .ico-holder > .ico_bg,
	.header-btn_partner .svg-ico-bordered__bg {
		fill: var(--color-gray-xlight);
		stroke: #E2EBEB;
	}
	.account-widget__btn_notify > .ico-holder > .ico_fg,
	.header-btn_partner .svg-ico-bordered__img {
		fill: var(--color-gray-6);
	}

	.footer__top {
		text-align: center;
		padding: 20px 0 15px 0;
		height: unset;
	}
	.footer__nav {
		align-content: center;
		margin: 0 0 10px 0;
		height: auto;
	}
	.footer__nav-item {
		max-width: 100%;
	}
	.footer__top-content {
		flex-direction: column;
		align-items: center;
	}
	.footer__right-content {
		row-gap: 10px;
	}

	.event-name .data-grid__cell__data {
		text-align: right;
	}
}

@media (max-width: 575px) {
	.daterangepicker .drp-buttons .drp-btn {
		margin: 0 0 10px 0;
	}

	.notification .event-name .data-grid__cell__head {
		min-width: 70px;
	}

	.product-type-btn {
		font-size: 0.875rem;
	}
	.product-type-btn__ico {
		height: 30px !important;
		width: 30px !important;
	}
}

@media (max-width: 425px) {
	.hide-max-w-425 {
		display: none;
	}
}