/* midonshop test footer — compact layout for new5.php only (aspro_next_test) */

@media (min-width: 992px) {
	.footer_inner.footer-light.ext_view .bottom-middle.footer-midon-grid {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		justify-content: center;
		gap: 32px;
		padding-bottom: 20px;
		margin-left: 0;
		margin-right: 0;
	}

	.footer_inner.footer-light.ext_view .bottom-middle.footer-midon-grid::before,
	.footer_inner.footer-light.ext_view .bottom-middle.footer-midon-grid::after {
		content: none;
		display: none;
	}

	.footer_inner.footer-light.ext_view .footer-midon-menus {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
		padding: 0;
		float: none;
	}

	.footer_inner.footer-light.ext_view .footer-midon-menus-inner {
		display: flex;
		flex-wrap: nowrap;
		gap: 28px;
		align-items: flex-start;
		margin: 0;
	}

	.footer_inner.footer-light.ext_view .footer-midon-menu {
		flex: 0 0 auto;
		max-width: 175px;
		padding: 0;
		float: none;
		width: auto;
	}

	.footer_inner.footer-light.ext_view .footer-midon-menu--company {
		max-width: 145px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-menu--help {
		max-width: 155px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-right {
		flex: 0 0 auto;
		min-width: 0;
		width: auto;
		max-width: none;
		padding: 0;
		float: none;
	}

	.footer_inner.footer-light.ext_view .footer-midon-right-inner {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 24px;
		margin: 0;
	}

	.footer_inner.footer-light.ext_view .footer-midon-right-inner::before,
	.footer_inner.footer-light.ext_view .footer-midon-right-inner::after {
		content: none;
		display: none;
	}

	.footer_inner.footer-light.ext_view .footer-midon-subscribe {
		flex: 0 0 260px;
		width: 260px;
		max-width: 260px;
		padding: 0;
		float: none;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts {
		flex: 0 0 auto;
		min-width: 0;
		max-width: none;
		width: auto;
		padding: 0;
		float: none;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts .contacts_block_footer,
	.footer_inner.footer-light.ext_view .footer-midon-contacts .footer-midon-hours,
	.footer_inner.footer-light.ext_view .footer-midon-contacts .soc {
		max-width: 100%;
	}

	.footer_inner.footer-light.ext_view .footer-midon-hours {
		margin-top: 4px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-hours .fa-clock-o {
		padding-right: 14px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts-head {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin-bottom: 12px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts-head .white_middle_text {
		display: inline;
		margin: 0;
	}

	.footer_inner.footer-light.ext_view .footer-midon-max-link {
		display: inline-flex;
		flex-shrink: 0;
		line-height: 0;
	}

	.footer_inner.footer-light.ext_view .footer-midon-max-link img {
		width: 35px;
		height: 35px;
		display: block;
	}

	.footer_inner.footer-light.ext_view .footer-midon-phone-email {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 28px;
		margin-bottom: 10px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-phone-email .phone.blocks,
	.footer_inner.footer-light.ext_view .footer-midon-phone-email .email.blocks {
		display: inline-block;
		width: auto;
		margin-bottom: 0;
		padding-bottom: 0;
		vertical-align: middle;
	}

	.footer_inner.footer-light.ext_view .footer-midon-phone-email .phone.blocks:first-of-type {
		padding-bottom: 0;
	}

	.footer_inner.footer-light.ext_view .footer-midon-address {
		display: flex;
		flex-direction: column;
		gap: 6px;
		line-height: 1.45;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.footer_inner.footer-light.ext_view .footer-midon-address-line {
		display: block;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.footer_inner.footer-light.ext_view .footer-midon-subscribe {
		flex: 0 0 230px;
		width: 230px;
		max-width: 230px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-menus-inner {
		gap: 20px;
	}

	.footer_inner.footer-light.ext_view .bottom-middle.footer-midon-grid {
		gap: 24px;
	}
}

@media (min-width: 1200px) {
	.footer_inner.footer-light.ext_view footer .info.contacts_block_footer,
	.footer_inner.footer-light.ext_view .info.contacts_block_footer {
		padding-left: 0;
	}
}

@media (max-width: 991px) {
	.footer_inner.footer-light.ext_view .bottom-middle.footer-midon-grid {
		display: block;
	}

	.footer_inner.footer-light.ext_view .footer-midon-menus-inner {
		display: block;
	}

	.footer_inner.footer-light.ext_view .footer-midon-menu {
		max-width: none;
		width: 100%;
		margin-bottom: 16px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-right-inner {
		display: block;
	}

	.footer_inner.footer-light.ext_view .footer-midon-subscribe,
	.footer_inner.footer-light.ext_view .footer-midon-contacts {
		flex: none;
		max-width: 100%;
		width: 100%;
		margin-bottom: 20px;
	}


	.footer_inner.footer-light.ext_view .footer-midon-contacts-head {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin-bottom: 12px;
		line-height: 1;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts-head .white_middle_text {
		display: inline-flex !important;
		align-items: center;
		margin: 0 !important;
		padding: 0;
		line-height: 1.2;
	}

	.footer_inner.footer-light.ext_view .footer-midon-max-link {
		display: inline-flex;
		align-items: center;
		align-self: center;
		flex-shrink: 0;
		line-height: 0;
	}

	.footer_inner.footer-light.ext_view .footer-midon-max-link img {
		width: 35px;
		height: 35px;
		max-width: 35px;
		max-height: 35px;
		display: block;
	}
	.footer_inner.footer-light.ext_view .footer-midon-contacts,
	.footer_inner.footer-light.ext_view .footer-midon-contacts .contacts_block_footer {
		font-size: 13px;
		line-height: 1.4;
		text-align: center;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts .contacts_block_footer {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.footer_inner.footer-light.ext_view .footer-midon-phone-email {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
		margin-bottom: 8px;
		font-size: 13px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-phone-email .phone.blocks,
	.footer_inner.footer-light.ext_view .footer-midon-phone-email .email.blocks {
		display: inline-block;
		width: auto;
		max-width: calc(100% - 24px);
		margin: 0 auto;
		padding: 0 0 0 32px !important;
		float: none !important;
		text-align: left;
		box-sizing: border-box;
	}

	.footer_inner.footer-light.ext_view .footer-midon-phone-email .phone.blocks .phone {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.footer_inner.footer-light.ext_view .footer-midon-phone-email a {
		font-size: 13px;
		line-height: 1.35;
	}

	.footer_inner.footer-light.ext_view .footer-midon-address {
		display: inline-block;
		width: auto;
		max-width: calc(100% - 24px);
		margin: 0 auto 8px;
		padding: 0 0 0 32px !important;
		font-size: 13px;
		line-height: 1.4;
		text-align: left;
		box-sizing: border-box;
	}

	.footer_inner.footer-light.ext_view .footer-midon-address-line {
		display: block;
		white-space: normal;
	}

	.footer_inner.footer-light.ext_view .footer-midon-hours {
		font-size: 13px;
		line-height: 1.35;
		margin-top: 0;
		text-align: center;
	}

	.footer_inner.footer-light.ext_view .footer-midon-hours .fa-clock-o {
		padding-right: 8px;
	}
}

@media (max-width: 767px) {
	.footer_inner.footer-light.ext_view .footer-midon-contacts {
		text-align: center !important;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts .contacts_block_footer {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		padding-left: 0 !important;
		text-align: center !important;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts-head {
		align-items: center !important;
		justify-content: center !important;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts-head .white_middle_text {
		display: inline-flex !important;
		align-items: center !important;
		margin: 0 !important;
		line-height: 1.2 !important;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts-head .footer-midon-max-link {
		align-self: center !important;
	}

	.footer_inner.footer-light.ext_view .footer-midon-phone-email {
		align-items: center !important;
		width: 100% !important;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts .info .blocks,
	.footer_inner.footer-light.ext_view .footer-midon-contacts .phone.blocks,
	.footer_inner.footer-light.ext_view .footer-midon-contacts .email.blocks,
	.footer_inner.footer-light.ext_view .footer-midon-contacts .address.blocks {
		display: inline-block !important;
		width: auto !important;
		max-width: calc(100% - 24px) !important;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-bottom: 10px !important;
		padding-left: 32px !important;
		padding-right: 0 !important;
		text-align: left !important;
		box-sizing: border-box;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts .footer-midon-phone-email .phone.blocks .phone {
		justify-content: flex-start;
	}

	.footer_inner.footer-light.ext_view .footer-midon-contacts .footer-midon-hours {
		text-align: center !important;
	}
}
