@media (max-width:1410px) {
    .footer-left {
        left: calc((100% - 1140px)/2 - 298px);
    }
    .footer-right {
        display: none;
    }
}


@media (max-width:1024px) {
    header .container {
        display: none;
    }
    header {
        position: fixed;
        z-index: 1000;
        background: #fff;
        width: 100%;
        top: 0;
        left: 0;
    }
    header .mobile-header{
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    header .mobile-header .logo {
        max-height: 60px;
    }
    .body-wrapper {
        padding-top: 100px;
    }
    .cmn-toggle-switch {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        overflow: hidden;
        margin: 0;
        margin-top: -20px;
        padding: 0;
        width: 40px;
        height: 40px;
        font-size: 0;
        text-indent: -9999px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        box-shadow: none;
        border-radius: none;
        border: none;
        cursor: pointer;
        -webkit-transition: background 0.3s;
        transition: background 0.3s;
    }

    .cmn-toggle-switch:focus {
        outline: none;
    }

    .cmn-toggle-switch__htx {
        background-color: #ed1c23;
        border-radius: 5px;
    }

    .cmn-toggle-switch span {
        display: block;
        position: absolute;
        top: 18px;
        left: 7px;
        right: 7px;
        height: 4px;
        background: white;
    }

    .cmn-toggle-switch span::before,
    .cmn-toggle-switch span::after {
        position: absolute;
        display: block;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #fff;
        content: "";
    }

    .cmn-toggle-switch span::before {
        top: -9px;
    }

    .cmn-toggle-switch span::after {
        bottom: -9px;
    }

    .cmn-toggle-switch__htx span {
        -webkit-transition: background 0 0.3s;
        transition: background 0 0.3s;
    }

    .cmn-toggle-switch__htx span::before,
    .cmn-toggle-switch__htx span::after {
        -webkit-transition-duration: 0.3s, 0.3s;
        transition-duration: 0.3s, 0.3s;
        -webkit-transition-delay: 0.3s, 0;
        transition-delay: 0.3s, 0;
    }

    .cmn-toggle-switch__htx span::before {
        -webkit-transition-property: top, -webkit-transform;
        transition-property: top, transform;
    }

    .cmn-toggle-switch__htx span::after {
        -webkit-transition-property: bottom, -webkit-transform;
        transition-property: bottom, transform;
    }

    /* активное состояние, т.е. меню открыто */
    .cmn-toggle-switch__htx.active {
        background-color: #ed1c23;
    }

    .cmn-toggle-switch__htx.active span {
        background: none;
    }

    .cmn-toggle-switch__htx.active span::before {
        top: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .cmn-toggle-switch__htx.active span::after {
        bottom: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .cmn-toggle-switch__htx.active span::before,
    .cmn-toggle-switch__htx.active span::after {
        -webkit-transition-delay: 0, 0.3s;
        transition-delay: 0, 0.3s;
    }

    .content-container, .container {
        padding: 0 15px;
    }
    footer .container {
        padding: 40px 15px 15px;
    }
    .review-button {
        display: none;
    }

    .mobile-menu {
        position: fixed;
        top: 85px;
        bottom: 0;
        left: 0;
        background: #fff;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: 0.5s all;
        text-align: left;
		z-index: 1000;
    }
    .mobile-menu.opened {
        max-height: 1000px;
    }
    .mobile-menu .inner{
        position: relative;
        max-height: 100%;
        overflow: auto;
        padding: 0 15px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .mobile-menu .moduletable-mobile-menu-main > ul > li {
        display: block;
        margin-bottom: 10px;
    }

    .mobile-menu .moduletable-mobile-menu-main > ul > li > a{
        font-size: 18px;
        color: #000000;
        padding: 0 0 5px;
    }

    .mobile-menu .moduletable-mobile-menu-main > ul > li > span {
        font-size: 18px;
        color: #000000;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 10px 0;
    }
    .mobile-menu .moduletable-mobile-menu-main > ul > li > span:after {
        display: block;
        content: "";
        width: 13px;
        height: 7px;
        background: url(../images/menu-mobile-down.png) top left no-repeat;
        margin-left: 15px;
    }
	.mobile-menu .moduletable-mobile-menu-main > ul > li > ul {
		margin-top: 10px;
	}
    .mobile-menu .moduletable-mobile-menu-main > ul > li > ul > li {
        display: block;
		margin-bottom: 10px;
		line-height: 100%;
    }
    .mobile-menu .moduletable-mobile-menu-main > ul > li > ul > li > a {
        font-size: 12px;
        color: #000000;
        padding: 12px 0;
        text-transform: uppercase;
		line-height: 100%;
    }

    .mobile-menu .moduletable-mobile-menu-main {
        max-width: 50%;
    }
    .mobile-menu .moduletable-contacts-mobile {
        max-width: 50%;
        text-align: right;
    }

    .mobile-menu .moduletable-contacts-mobile .phones {
        margin-bottom: 30px;
    }

    .mobile-menu .moduletable-contacts-mobile .phones a{
        font-weight: 600;
        color: #000;
        display: block;
        margin-bottom: 10px;
    }
    .mobile-menu .moduletable-contacts-mobile .phones span {
        font-size: 12px;
    }

    .mobile-menu .moduletable-contacts-mobile .address {
        color: #545454;
    }

    .moduletable-left-our-menu-mobile {
        width: 100%;
        margin: 30px 0 20px;
    }

    .moduletable-left-our-menu-mobile .module-title{
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #b82320;
        color: #f5f5f5;
        font-weight: bold;
        font-size: 18px;
        padding: 15px 20px;
        width: 250px;
        border-radius: 3px;
        cursor: pointer;
        margin: 0 auto 3px;
    }

    .moduletable-left-our-menu-mobile .module-title:after {
        display: block;
        content: "";
        width: 18px;
        height: 11px;
        background: url(../images/menu-down.png) top left no-repeat;
    }

    .moduletable-left-our-menu-mobile ul {
        display: block;
        width: 100%;
    }

    .moduletable-left-our-menu-mobile ul li {
        display: block;
        margin-bottom: 3px;
    }

    .moduletable-left-our-menu-mobile ul li a{
        display: block;
        background: #7e7e7e;
        color: #f5f5f5;
        font-weight: bold;
        padding: 15px 20px;
        border-radius: 3px;
        transition: 0.5s all;
        margin: 0 auto 3px;
        width: 250px;
    }

    .moduletable-left-our-menu-mobile ul li a:hover{
        background: #b82320;
    }

    .moduletable-add-review-mobile {
        width: 100%;
    }

    .moduletable-add-review-mobile a{
        display: block;
        margin: 0 auto 30px;
        font-size: 12px;
        color: #f5f5f5;
        background: #e36700;
        width: 250px;
        border-radius: 3px;
        padding: 20px 0;
        text-align: center;
    }
	ul.sigFreeClassic li.sigFreeThumb {
		width: 31%;
		margin-right: 3%;
	}
	ul.sigFreeClassic li.sigFreeThumb:nth-child(4n) {
		margin-right: 3%;
	}
	ul.sigFreeClassic li.sigFreeThumb:nth-child(3n) {
		margin-right: 0;
	}
}

@media (max-width:768px) {
    .input-block, .text-block {
        max-width: 100%;
    }

    .item-page p.socials a.insta {
        margin-bottom: 15px;
    }
    .contact-item .left {
        width: 50%;
    }
    .contact-item .right {
        width: 50%;
    }
    .personal-container {
        justify-content: center;
    }
    .personal-container .personal-item {
        margin-right: 0 !important;
    }
}

@media (max-width:700px) {
    .content-container {
        display: block;
    }
    .content-container .content-text {
        width: 100%;
        margin-bottom: 50px;
    }

    .content-container .content-left {
        width: 100%;
    }
    .personal-container {
        justify-content: space-around;
    }
}

@media (max-width:450px) {
    .item-page p.socials a.vk {
        margin-bottom: 15px;
    }
    .contact-item, .service-block {
        display: block;
    }
    .contact-item .left, .service-block .left {
        margin-bottom: 15px;
    }
    .contact-item .left,
    .service-block .left,
    .service-block .right,
    .contact-item .right
    {
        width: 100%;
    }
    footer .container {
        display: block;
        text-align: center;
    }

    footer .container .right{
        text-align: center;
    }
    footer .moduletable-footer-address {
        display: block;
    }
    footer .moduletable-footer-address:before {
        margin: 0 auto 10px;
    }
    footer .moduletable-footer-phones > .right {
        display: none;
    }
    footer .moduletable-footer-phones .phones {
        display: block;
    }
    footer .moduletable-footer-phones .phones span {
        display: block;
    }
    footer .moduletable-footer-phones .phones:before {
        margin: 0 auto 10px;
    }
    footer .moduletable-top-socials {
        display: block;
    }
    footer .moduletable-top-socials .socials {
        justify-content: center;
        margin-bottom: 15px;
    }
    footer .moduletable-top-socials > a {
        margin-right: 0;
    }
    footer .container {
        background: url(../images/mobile-footer-bg.png) bottom left no-repeat;
    }
    footer {
        background: url(../images/mobile-footer-bg-right.png) top right no-repeat;
    }
    footer .container > img {
        display: none;
    }
    footer .container {
        padding: 40px 15px 30px;
    }
    .item-page .imgs-in-text {
        display: block;
        text-align: center;
    }

    .item-page .imgs-in-text > img{
        margin-bottom: 10px;
    }
    .item-page .imgs-in-text img {
        max-width: 100%;
    }
    .slider-container {
        background: url(../images/mobile-bg-slider.png) bottom center no-repeat;
        background-size: 100% auto;
        padding-bottom: 40px;
    }
    .slider-container .container {
        padding: 0 0 0 20px;
    }
    .mobile-menu .moduletable-contacts-mobile {
        width: 45%;
    }
    .page-top {
        background: url(../images/mobile-page-top.jpg) top left no-repeat;
        height: 113px;
        background-size: 100% auto;
        margin-bottom: 40px;
    }
	.blog-item-container {
		display: block;
	}
	.blog-item-img {
		text-align: center;
		width: 100%;
	}
	.blog-item-container .blog-item-info {
		margin-left: 0;
		width: 100%;
		margin-top: 15px;
	}
	.blog-item-pretext {
		margin-bottom: 0;
	}

	.services-list {
		justify-content: center;
	}

	ul.sigFreeClassic {
		justify-content: center;
	}
	ul.sigFreeClassic li.sigFreeThumb {
		width: 48%;
		margin-right: 4%;
	}
	ul.sigFreeClassic li.sigFreeThumb:nth-child(4n) {
		margin-right: 4%;
	}
	ul.sigFreeClassic li.sigFreeThumb:nth-child(3n) {
		margin-right: 4%;
	}
	ul.sigFreeClassic li.sigFreeThumb:nth-child(2n) {
		margin-right: 0;
	}
	table tr td{
		padding: 3px 5px;
		font-size: 12px;
	}
}