@media screen and (max-width: 1800px) {
	.header {
		padding: 0;
		background: #03a65a;
	}
	.header .inner {
		justify-content: space-between;
	}
	.header-logo {
		position: relative;
		width: 200px;
		height: 65px;
		flex-basis: 200px;
	}
	.header-phone {
		flex-grow: 0;
		padding: 0;
	}
	.header-menu .nav ul {
		background: #03a65a;
	}
}

@media screen and (min-width: 1201px) {

}
@media screen and (max-width: 1240px) {
	.inner {
		padding: 0 20px;
		max-width: 1240px;
	}
}
@media screen and (max-width: 1200px) {
	.inner {
		padding: 0 20px;
		max-width: 100%;
	}
	.header .inner {
		padding: 0 10px 0 0;
	}
	.header-logo {
		order: 1;
	}
	.header-menu {
		order: 2;
	}
	.header-phone {
		order: 3;
		font-size: 1rem;
	}
	.header-phone span {
		font-size: .6rem;
	}
	.header-menu .nav > li {
		margin: 0 .5rem;
	}
	.header-menu .nav li > a {
		font-size: .9rem;
	}
}

@media screen and (min-width: 961px) {
	.header-menu .moduletable {
		display: block!important;
	}
	.header__mobile-phone {
		display: none!important;
	}
	.header-menu .nav > li ul.ul-toggled {
		display: none!important;
	}
	.header-menu .nav > li:hover ul.ul-toggled {
		display: block!important;
	}
}

@media screen and (max-width: 960px) {
	.header .inner {
		padding: 0;
	}
	.header-menu .hamburger {
		display: block!important;
		padding: 0 10px;
		height: 65px;
	}
	.header-logo {
		order: 1;
	}
	.header-phone {
		order: 2;
		font-size: 1.25rem;
		flex-grow: 1;
		text-align: right;
		padding: 0 2rem 0 0;
	}
	.header-phone span {
		font-size: .875rem;
	}
	.header-menu {
		order: 3;
		position: relative;
	}
	.header__mobile-phone,
	.mobile-phone__active
	{
		height: 0!important;
		padding: 0;
	}
	.header-menu .moduletable {
		display: none;
		position: absolute;
		right: 0;
		top: 65px;
		background: #ffcc25;
		text-align: center;
		padding: 1rem 2rem;
	}
	.header-menu .nav > li {
		display: block;
		border-bottom: 2px #fff solid;
		padding: 1rem 0;
	}
	.header-menu .nav > li:last-child {
		border: 0 none;
	}
	.header-menu .nav li a {
		display: inline-block;
		position: relative;
		font-size: 1.2rem;
		color: #3b3a3a;
	}
	.header-menu .nav > li > a {
		font-size: 1.4rem;
	}
	.header-menu .nav .active > a,
	.header-menu li a:hover,
	.header-menu .nav li a.a-toggled {
		color: #fff;
	}
	.header-menu .nav > li ul,
	.header-menu .nav > li:hover ul {
		display: none;
		position: relative;
		left: auto;
		top: auto;
		padding: 0;
		background: 0 none;
		margin: .6rem 0 0 0;
	}
	.header-menu .nav > li li {
		white-space: normal;
	}
	.header-menu .parent-toggler {
		position: absolute;
		left: 4rem;
		top: 1rem;
		height: 16px;
		width: 16px;
		cursor: pointer;
	}
	.header-menu .parent-toggler:after {
		position: absolute;
		left: 0;
		top: 0;
		content: '+';
		color: #3b3a3a;
		cursor: pointer;
		z-index: 10;
		display: block;
		font-size: 1.2rem;
	}
	.header-menu .parent-toggler.link-toggled:after {
		content: '-';
		color: #fff;
	}
	.header-menu .active .parent-toggler:after {
		color: #fff;
	}
	.footer_first-row > div {
		margin: 0 2rem 1rem 0;
	}
	.footer_second-row {
		margin: .5rem 0 0 0;
	}
}


@media screen and (max-width: 768px) {
	.mainpage-banner__title {
		font-size: 2.5rem;
		line-height: 3rem;
		padding: 0 0 50px 0;
	}
	.mainpage-banner__button {
		margin: 3rem 0 0 0;
	}
	.mainpage-aboutus {
		background: #f5f6f7;
	}
	.mainpage-aboutus .mainpage-title {
		text-align: center;
	}
	.mainpage-aboutus .mainpage-title__border {
		margin-left: auto;
		margin-right: auto;
	}
	.mainpage-aboutus__text {
		width: 100%;
		float: none;
		padding: 0;
	}
	.mainpage-whyus__grid {
		display: block;
	}
	.mainpage-whyus__row {
		padding: 0 0 0 10rem;
		background-size: 9rem auto;
		background-position: left center;
		background-repeat: no-repeat;
		margin: 2.5rem 0;
	}
	.mainpage-whyus__title {
		text-align: left;
	}
	.mainpage-whyus__text {
		margin: .5rem 0 0 0;
	}
	.mainpage-howwework__body {
		display: block;
	}
	.mainpage-howwework__border {
		display: none;
	}
	.mainpage-howwework__row {
		margin: 2rem 0;
		display: flex;
		width: 100%;
		justify-content: flex-start;
		align-items: center;
		text-align: left;
	}
	.mainpage-howwework__count {
		margin: 0 0 0 0;
	}
	.mainpage-howwework__text {
		margin: 0 0 0 1rem;
	}
	.about-us__row {
		display: block;
	}
	.about-us__slider-inner {
		margin: 3rem 0 0 0;
	}
	.advantages-row {
		display: block;
		margin: 0 0 2rem 0;
	}
}


@media screen and (max-width: 640px) {
	html {
		font-size: 80%;
	}
	.mainpage-banner__title {
		font-size: 2.5rem;
		line-height: 3rem;
	}
	.mainpage-services__link a {
		font-size: 2rem;
		line-height: 2.4rem;
	}
	.mainpage-services__link a::before {
		width: 1.6rem;
		height: 1.6rem;
		top: .4rem;
	}
	.mainpage-partners__body {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	}
}


@media screen and (max-width: 480px) {
	.header-phone {
		display: none;
	}
	#main .header__mobile-phone
	{
		height: 0!important;
	}
	#main .mobile-phone__active {
		height: 65px!important;
		padding: 16px 1.2rem .7rem 3.2rem
	}
	.header-menu .moduletable {
		min-width: 100vw;
	}
	.mainpage-banner__button {
		margin: 30% 0 0 0;
	}
	.mainpage-banner__button a {
		font-size: 1rem;
		padding: 2rem 1rem;
		display: block;
	}
	.mainpage-whyus__row {
		padding: 0 0 0 6rem;
		background-size: 5rem auto;
		background-position: top left;
		background-repeat: no-repeat;
		margin: 2.5rem 0;
	}
	.mainpage-separator {
		display: none;
	}
	.mainpage-contacts__body {
		display: block;
	}
	.mainpage-contacts__form {
		margin: 1.8rem 0 2rem 0;
	}
	.mainpage-contacts__form .mcGo {
		float: none;
		width: 100%;
		padding: 1rem;
		text-align: center;
		display: block;
	}
	.mainpage-contacts__modal a {
		display: block;
		padding: 1.5rem 0;
		text-align: center;
	}
	.article-title h1 {
		font-size: 2.5rem;
	}
	.info-row {
		display: block;
	}
	.info-row > div {
		margin: 0 0 3rem 0;
	}
	.info-row > div > a > img {
		display: block;
		margin: 0 auto 1rem auto;
	}
	.mainpage-aboutus__more a,
	.mainpage-whyus__more a,
	.content-modal__button {
		display: block;
		width: 100%;
		text-align: center;
	}
}


@media screen and (max-width: 320px) {
	
}

@media screen and (max-height: 640px) and (orientation: landscape) {
	.mainpage-banner__title {
		padding: 0 0 40px 0;
		font-size: 2rem;
		line-height: 3rem;
	}
	.mainpage-banner__button {
		margin: 3rem 0 0 0;
	}
}

@media screen and (max-height: 321px) {
	.mainpage-banner {
		height: auto;
		padding: 1rem 0;
	}
	.mainpage-banner__title {
		padding: 0;
		font-size: 2rem;
		line-height: 2rem;
	}
	.mainpage-banner__title::after {
		display: none;
	}
	.mainpage-banner__button a {
		padding: 1rem;
		font-size: .8rem;
	}
	.header,
	.mainpage-banner {
		position: relative!important; /* not static, for glory!!!! sry, for z-index */
	}
	.header.is_stuck + div {
		display: none!important;
	}
	.mainpage-banner + div {
		height: auto;
		margin: 0;
	}
}