@media (max-width: 1500px) {
    .width-wrap {
        width: 984px;
    }

    header a img {
        width: 267px;
        margin-top: 17px;
    }

    .phone a {
        font-size: 19px;
    }

    .phone {
        padding-top: 12px;
    }

    section#main.thank-p {
        margin: 0;
        padding-bottom: 0;
        margin-bottom: -10px;
        height: 84vh;
    }

    .phone img {
        margin: -0 6px -8px 0;
        width: 31px;
        /* top: -4px; */
        height: auto;
    }

    .slider-count.flex span {
        width: 41px;
        text-align: center;
        line-height: 8px;
        margin-top: -1px;
        color: black;
    }

    .phone a {
        color: white;
        font-size: 19px;
        text-decoration: none;
        font-weight: 700;
    }

    header {
        padding-top: 9px;
        padding-bottom: 13px;
    }

    p {
        font-size: 19px;
        margin: 0;
    }

    h1 {
        margin: 0;
        font-size: 29px;
        margin-bottom: 12px;
    }

    #main {
        background: url(../img/img-1.png) 0 0 no-repeat;
        background-size: cover;
        color: white;
        padding-top: 61px;
        margin-bottom: 4px;
        padding-bottom: 68px;
    }

    #main p {
        margin-bottom: 33px;
    }

    button {
        text-transform: uppercase;
        background: transparent;
        font-weight: 700;
        padding: 18px 63px;
        background: #f4d717;
        border-radius: 5px;
        font-size: 14px;
    }

    .top10_raiting, .top10_year, .top10_sold {
        font-size: 15px;
    }

    .filter {
        margin-top: 28px;
    }

    .filter h3 {
        white-space: pre-line;
        font-size: 19px;
        padding-top: 20px;
        line-height: 23px;
        width: 24%;
    }

    label.radio span {
        border: none;
        text-align: left;
        font-weight: 300;
        color: white;
        display: block;
        position: relative;
        padding: 5px 0 5px 43px;
        z-index: 5;
        font-size: 15px;
    }

    label.radio span:before {
        content: '';
        position: absolute;
        left: 11px;
        bottom: 3px;
        background: rgba(233, 233, 234, 0.08);
        width: 17px;
        height: 17px;
        border: 1px solid #526e84;
        border-radius: 50%;
    }

    .filter-list {
        height: 143px;
    }

    .invest-count.flex {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        bottom: -163px;
        height: 142px;
        background: white;
        border-radius: 7px;
        box-shadow: 0 9px 41px -12px #0085b5;
    }

    .title {
        width: 32%;
        color: black;
        font-size: 19px;
        padding: 51px 0 0 46px;
        font-weight: 600;
        line-height: 21px;
    }

    span.irs.js-irs-0 {
        margin: 0 58px 0 45px;
    }

    .slider-block {
        width: 45%;
        padding-top: 26px;
        background: #e2eaf0;
    }

    .irs-line {
        height: 7px;
    }

    .irs-from, .irs-to, .irs-single {
        color: white;
        font-size: 12px;
        line-height: 1.233;
        font-weight: 300;
        border: none;
        text-shadow: none;
        padding: 5px 4px 2px;
        background: #072843;
        border-radius: 3px;
        margin-left: 0px;
        margin-bottom: 12px;
        top: -7px;
        -moz-border-radius: 3px;
    }

    .irs-slider.to, .irs-slider.from {
        background: #1966a5;
        border: 2px solid white;
        border-radius: 50%;
        -webkit-box-shadow: none;
        box-shadow: none;
        border-radius: 50%;
        width: 25px;
        left: 2px;
        top: 24px;
        /* margin-left: -3px; */
        height: 25px;
        box-shadow: 0 3px 24px 1px #2684de;
    }

    irs-bar {
        height: 7px;
    }

    .slider-metrika.flex {
        font-size: 23px;
        font-weight: bold;
        color: #1966a5;
    }

    .slider-metrika.flex div:nth-child(1), .slider-metrika.flex div:nth-child(5n+1) {
        background: #1966a5;
        height: 12px;
        width: 4px;
        margin-top: 6px;
        border-radius: 21px;
    }

    .slider-descr {
        margin: -5px 68px 0 56px;
    }

    .slider-count.flex {
        margin-top: 6px;
        font-size: 10px;
    }

    #main .out-block p {
        color: black;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        margin: 36px 0 13px;
    }

    .out-block button {
        color: #1966a5;
        font-size: 12px;
        margin: 0 auto;
        display: block;
        padding: 15px 29px 13px;
    }

    .franch-item .franch-content img {
        width: 254px;
        height: 170px;
    }

    .franch-item {
        padding-top: 77px;
        padding-bottom: 0;
    }

    .franch-descr {
        padding-left: 49px;
    }

    .franch-descr h3 {
        font-size: 25px;
        margin: 9px 0 7px;
        font-weight: 700;
    }

    .franch-descr span {
        font-size: 15px;
    }

    .franch-descr {
        padding-left: 49px;
    }

    .franch-descr p {
        font-size: 14px;
        padding-right: 11%;
        margin: 35px 0 0 0;
        line-height: 20px;
    }

    .flex.franch-content {
        margin-bottom: 44px;
    }

    .trigger img {
        height: 39px;
        width: auto;
        margin-right: 11px;
    }

    .trigger-descr {
        padding-top: 4px;
    }

    .cost {
        font-size: 17px;
        margin-top: 2px;
    }

    .franch-item button {
        padding: 19px 26px 16px;
        margin: 0 5% 0 0;
    }

    #main .out-block p {
        color: black;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        margin: 33px 0 16px;
    }

    .franch-item .width-wrap {
        padding-left: 45px;
        border-bottom: 1px solid #c6daeb;
        padding-bottom: 68px;
    }

    .trigger-descr span {
        font-size: 14px;
    }

    footer {
        background: #09304e;
        /*
            margin-top: 4px;*/
        padding-top: 24px;
        color: white;
        padding-bottom: 23px;
    }

    footer a img {
        width: 267px;
    }

    footer p a {
        display: block;
        font-size: 14px;
        color: #82a4bf;
        margin: 2px 0 6px;
        text-align: center;
    }

    footer p {
        text-align: center;
        font-size: 12px;
    }

    .irs-bar {
        height: 7px;
    }

    .wrapper {
        min-height: calc(100% - 79px);
        /* margin-bottom: 20px; */
        /*adding-bottom: 92px;*/
    }
}

@media (max-width: 1000px) {
    .width-wrap {
        width: 100%;
        padding: 0 31px;
    }

    header a img {
        width: 105px;
        margin-top: 4px;
    }

    .phone img {
        margin: -0 2px -7px 0;
        width: 23px;
        /* top: -4px; */
    }

    .phone {
        padding-top: 6px;
    }

    header {
        padding-top: 9px;
        padding-bottom: 7px;
    }

    .phone a {
        color: white;
        font-size: 14px;
        text-decoration: none;
        font-weight: 700;
        pointer-events: visible;
    }

    p {
        font-size: 14px;
        margin: 0;
    }

    h1 {
        margin: 0;
        font-size: 21px;
        margin-bottom: 7px;
    }

    #main p {
        margin-bottom: 24px;
        /* font-size: 14px; */
    }

    button {
        text-transform: uppercase;
        color: #3f380d;
        background: transparent;
        box-shadow: 0 2px #dabb14;
        font-weight: 700;
        padding: 11px 45px;
        border-radius: 5px;
        font-size: 10px;
    }

    .franch_stars span.star_raiting {
        background-size: 16px auto;
        width: 16px;
        height: 16px;
    }

    .franch-item .width-wrap:before {
        left: 10px;
    }

    .franch-item:nth-child(1) .width-wrap:after, .franch-item:nth-child(2) .width-wrap:after, .franch-item:nth-child(3) .width-wrap:after, .franch-item:nth-child(4) .width-wrap:after, .franch-item:nth-child(5) .width-wrap:after, .franch-item:nth-child(6) .width-wrap:after, .franch-item:nth-child(7) .width-wrap:after, .franch-item:nth-child(8) .width-wrap:after, .franch-item:nth-child(9) .width-wrap:after, .franch-item:nth-child(10) .width-wrap:after {
        right: 10px;
    }

    .filter {
        margin-top: 22px;
    }

    .filter h3 {
        white-space: pre-line;
        font-size: 13px;
        padding-top: 15px;
        line-height: 15px;
        width: 24%;
    }

    label.radio span {
        border: none;
        text-align: left;
        font-weight: 300;
        color: white;
        display: block;
        position: relative;
        padding: 5px 0 0px 29px;
        z-index: 5;
        font-size: 10px;
    }

    label.radio span:before {
        content: '';
        position: absolute;
        left: 7px;
        bottom: 0px;
        background: rgba(233, 233, 234, 0.08);
        width: 10px;
        height: 10px;
        border: 1px solid #526e84;
        border-radius: 50%;
    }

    .filter-list {
        height: 86px;
    }

    .invest-count.flex {
        position: absolute;
        left: 0;
        right: 0;
        width: 92%;
        margin: 0 auto;
        bottom: -132px;
        height: 100px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 9px 41px -12px #0085b5;
    }

    .title {
        width: 32%;
        color: black;
        font-size: 14px;
        padding: 36px 0 0 32px;
        font-weight: 600;
        line-height: 16px;
    }

    #main .out-block p {
        color: black;
        font-size: 10px;
        font-weight: 500;
        text-align: center;
        margin: 25px 0 9px;
    }

    .out-block button {
        color: #1966a5;
        font-size: 9px;
        margin: 0 auto;
        display: block;
        padding: 11px 20px 8px;
    }

    .slider-block {
        width: 45%;
        padding-top: 11px;
        background: #e2eaf0;
    }

    span.irs.js-irs-0 {
        margin: 0 35px 0 36px;
    }

    .irs-line {
        height: 5px;
    }

    .irs-bar {
        height: 5px;
    }

    .irs-slider.to, .irs-slider.from {
        background: #1966a5;
        border: 2px solid white;
        border-radius: 50%;
        -webkit-box-shadow: none;
        box-shadow: none;
        border-radius: 50%;
        width: 19px;
        left: 2px;
        top: 25px;
        /* margin-left: -3px; */
        height: 19px;
        box-shadow: 0 3px 24px 1px #2684de;
    }

    .slider-metrika.flex div:nth-child(1), .slider-metrika.flex div:nth-child(5n+1) {
        background: #1966a5;
        height: 8px;
        width: 3px;
        margin-top: 3px;
        border-radius: 29px;
    }

    .slider-metrika.flex {
        font-size: 16px;
        font-weight: bold;
        color: #1966a5;
    }

    .slider-count.flex {
        margin-top: 3px;
        font-size: 8px;
    }

    #main {
        background: url(../img/img-1.png) 0 0 no-repeat;
        background-size: cover;
        color: white;
        padding-top: 46px;
        margin-bottom: 8px;
        padding-bottom: 64px;
    }

    .main_descr {
        font-size: 13px;
        line-height: 125%;
        white-space: pre-line;
        margin-top: -15px;
        margin-bottom: -29px;
    }

    .irs-from, .irs-to, .irs-single {
        color: white;
        font-size: 9px;
        line-height: 1.233;
        font-weight: 300;
        border: none;
        text-shadow: none;
        padding: 3px 4px 1px;
        background: #072843;
        border-radius: 3px;
        margin-left: 0px;
        margin-bottom: 12px;
        top: 2px;
        -moz-border-radius: 3px;
    }

    .slider-descr {
        margin: -10px 43px 0 44px;
    }

    .franch-item .franch-content img {
        width: 184px;
        height: 123px;
    }

    .franch-descr {
        padding-left: 35px;
        width: 79%;
    }

    .franch-descr h3 {
        font-size: 18px;
        margin: 9px 0 2px;
        font-weight: 700;
    }

    .franch-descr span {
        font-size: 11px;
    }

    .franch-descr p {
        font-size: 10px;
        padding-right: 11%;
        margin: 23px 0 0 0;
        line-height: 15px;
    }

    .trigger img {
        height: 29px;
        width: auto;
        margin-right: 7px;
    }

    .trigger-descr span {
        font-size: 11px;
    }

    .trigger-descr {
        padding-top: 0px;
    }

    .cost {
        font-size: 13px;
        margin-top: 1px;
    }

    .franch-item button {
        color: #3f380d;
        background: #f4d717;
        padding: 13px 17px 9px;
        margin: 5px 0 0 0;
    }

    .trigger.flex:nth-child(1) {
        margin-left: 16px;
    }

    .franch-item {
        padding-top: 54px;
        padding-bottom: 0;
    }

    .franch-item .width-wrap {
        padding-left: 45px;
        border-bottom: none;
        padding-bottom: 51px;
    }

    footer a img {
        width: 107px;
    }

    footer {
        background: #09304e;
        /* margin-top: 4px;*/
        padding-top: 16px;
        color: white;
        padding-bottom: 9px;
    }

    footer p a {
        display: block;
        font-size: 9px;
        color: #82a4bf;
        margin: 0px 0 3px;
        text-align: center;
    }

    footer p {
        text-align: center;
        font-size: 9px;
    }

    footer .phone {
        padding: 0;
    }

    .wrapper {
        min-height: calc(100% - 57px);
        /* margin-bottom: 20px; */
        /* padding-bottom: 56px;*/
    }

    .popup {
        border: none;
        width: 100%;
        border-radius: 11px;
        background: #fff;
        padding: 18px 46px 41px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    #modal_form, #modal_form_2 {
        z-index: 9999;
        max-width: 370px;
    }

    .popup h3 {
        text-align: center;
        margin-bottom: 33px;
        font-size: 20px;
        line-height: 24px;
        font-weight: 600;
        margin-top: 28px;
    }

    .label-animate .label-animate--label {
        font-size: 16px;
    }

    .label-animate.inp-label {
        margin-bottom: 16px;
    }

    #modal_form button {
        display: block;
        margin-top: 16px;
        padding: 0;
        width: 100%;
        margin: 35px auto 13px;
        /* height: 66px; */
        font-size: 15px;
    }

    #modal_form .polit {
        text-align: left;
        white-space: normal;
        font-family: inherit;
        font-size: 10px;
        line-height: 16px;
        color: #afb3bb;
    }

    .flex.franch-content {
        margin-bottom: 30px;
        padding-left: 18px;
    }

    .width-wrap.null {
        padding: 49px 31px;
    }

    section#main.thank-p {
        margin: 0;
        padding-bottom: 0;
        /* margin-bottom: -47px; */
        height: 90vh;
    }

    #main .thank-block p {
        white-space: pre-line;
        font-weight: 500;
        margin-top: 41px;
        font-size: 3.4vw;
        line-height: 4vw;
    }
}

@media (max-width: 725px) {
    .wrapper {
        min-height: calc(100% - 70px);
        /* margin-bottom: 20px; */
        /* padding-bottom: 56px; */
    }

    section#main.thank-p {
        margin: 0;
        padding-bottom: 0;
        /* margin-bottom: -47px; */
        height: 85vh;
    }

    .top10_raiting, .top10_year, .top10_sold {
        padding: 5px 10px;
    }

    .franch_stars span.star_raiting {
        background-size: 14px auto;
        width: 14px;
        height: 14px;
    }

    .width-wrap {
        padding: 0 20px;
    }

    header {
        padding-top: 22px;
        padding-bottom: 14px;
    }

    .phone img {
        margin: -0 2px -7px 0;
        width: 23px;
        /* top: -4px; */
        display: none;
    }

    header a img {
        width: 38vw;
        margin-top: 7px;
    }

    .phone a {
        line-height: 7vw;
        color: white;
        font-size: 4.6vw;
        text-decoration: none;
        font-weight: 700;
        pointer-events: visible;
    }

    #main p {
        margin-bottom: 24px;
        font-size: 6vw;
        line-height: 8vw;
        white-space: pre-line;
        /* font-size: 14px; */
    }

    .main_descr {
        font-size: 13px;
        line-height: 125%;
        white-space: normal;
        margin-top: -3px;
        margin-bottom: -57px;
    }

    h1 {
        margin: 0;
        font-size: 6.2vw;
        line-height: 9vw;
        margin-bottom: 10px;
    }

    .mob-close-filter {
        display: block;
    }

    .close-filter {
        display: none;
    }

    #main {
        background: url(../img/img-1.png) 0 0 no-repeat;
        background-size: cover;
        color: white;
        padding-top: 59px;
        margin-bottom: 0;
        padding-bottom: 83px;
    }

    .mob-close-filter {
        display: block;
        font-size: 15px;
        padding: 20px 24px 14px;
        border: none;
        background: #1966a5;
    }

    .franch-item .width-wrap {
        border-bottom: none;
        padding-bottom: 51px;
        padding: 0 20px;
    }

    .flex.franch-content {
        margin-bottom: 30px;
        padding-left: 0;
        display: block;
    }

    .franch-descr {
        width: 100%;
        position: initial;
        padding-left: 0;
    }

    .franch-item {
        padding-top: 33px;
        padding-bottom: 0;
    }

    .franch-title {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0 60px 0 45px;
    }

    .franch-item .width-wrap:before {
        left: 20px;
        top: 10px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 18px;
    }

    .franch-item:nth-child(1) .width-wrap:after, .franch-item:nth-child(2) .width-wrap:after, .franch-item:nth-child(3) .width-wrap:after, .franch-item:nth-child(4) .width-wrap:after, .franch-item:nth-child(5) .width-wrap:after, .franch-item:nth-child(6) .width-wrap:after, .franch-item:nth-child(7) .width-wrap:after, .franch-item:nth-child(8) .width-wrap:after, .franch-item:nth-child(9) .width-wrap:after, .franch-item:nth-child(10) .width-wrap:after {
        right: 0px;
        background-size: 70% auto;
        background-position: 50% 50%
    }

    .franch-descr h3 {
        font-size: 6vw;
        margin: 9px 0 2px;
        font-weight: 700;
    }

    .franch-item .franch-content img {
        width: 100%;
        height: auto;
        margin-top: 100px;
        /* position: absolute; */
    }

    .franch-descr span {
        font-size: 4vw;
    }

    .franch-descr p {
        font-size: 4.5vw;
        padding-right: 0;
        margin: 17px 0 0 0;
        line-height: 8vw;
    }

    .franch-item .flex {
        display: block;
    }

    .trigger.flex:nth-child(1) {
        margin: 0 auto;
    }

    .franch-item .trigger.flex {
        display: flex;
    }

    .trigger.flex {
        width: 98%;
        margin: 0 auto;
        max-width: 274px;
        padding: 16px 27px 16px 32px;
        border: 1px solid #c4d1db;
    }

    .trigger-descr {
        padding-top: 2px;
        width: 74%;
    }

    .cost {
        font-size: 17px;
        margin-top: 4px;
    }

    .trigger-descr span {
        font-size: 15px;
    }

    .trigger.flex:nth-child(1), .trigger.flex:nth-child(2) {
        border-bottom: none;
    }

    .franch-item button {
        padding: 13px 17px 9px;
        margin: 5px 5% 0 0;
        width: 98%;
        margin: 40px auto;
        display: block;
        font-size: 15px;
        border: none;
        padding: 27px 0 24px;
        max-width: 274px;
    }

    .franch-item {
        padding-top: 33px;
        padding-bottom: 16px;
    }

    footer p {
        text-align: center;
        font-size: 9px;
        display: none;
    }

    footer a img {
        width: 38vw;
    }

    footer .phone {
        padding: 0;
        padding-top: 9px;
    }

    .trigger img {
        height: 39px;
    }

    .mobile-filter {
        display: none;
        position: absolute;
        left: 0;
        background: white;
        left: 0;
        width: 90%;
        right: 0;
        /*    max-width: 284px;*/
        color: black;
        z-index: 20;
        bottom: -936px;
        border-radius: 4px;
        margin: 0 auto;
        box-shadow: 0 0 31px 0px rgba(0, 89, 200, 0.59);
    }

    .filter h3 {
        white-space: pre-line;
        font-size: 19px;
        padding-top: 8px;
        line-height: 22px;
        width: 100%;
        padding-left: 29px;
    }

    .filter-list {
        height: auto;
        background: #e2eaf0;
        width: 100%;
        padding-left: 29px;
    }

    label.radio span {
        border: none;
        text-align: left;
        font-weight: 500;
        color: black;
        display: block;
        position: relative;
        padding: 13px 0 10px 59px;
        z-index: 5;
        font-size: 14px;
    }

    .filter-list {
        height: auto;
        background: #e2eaf0;
        width: 100%;
        padding-left: 29px;
        padding: 33px 29px;
    }

    label.radio span:before {
        content: '';
        position: absolute;
        left: 10px;
        bottom: 5px;
        background: white;
        width: 29px;
        height: 29px;
        border: none;
        border: none;
        border-radius: 4px;
        box-shadow: 0 0 14px 0px rgba(50, 118, 230, 0.63);
    }

    .invest-count.flex {
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0 auto;
        bottom: 0;
        height: 100%;
        background: white;
        border-radius: 8px;
        box-shadow: none;
        display: block;
    }

    title {
        width: 100%;
        color: black;
        font-size: 19px;
        padding: 29px 0 0 27px;
        font-weight: 600;
        line-height: 21px;
    }

    .slider-descr {
        display: none;
        margin: -10px 43px 0 44px;
    }

    .slider-block {
        width: 100%;
        padding-top: 47px;
        padding-bottom: 48px;
        background: #e2eaf0;
    }

    button.get-result {
        margin: 13px 0 0 0;
        color: white;
        font-size: 13px;
        border: none;
        padding: 18px 41px;
        background: #1966a5;
    }

    .out-block {
        width: 100%;
        padding: 6px 0 38px 27px;
    }

    .irs-from, .irs-to, .irs-single {
        color: white;
        font-size: 12px;
        line-height: 1.233;
        font-weight: 300;
        border: none;
        text-shadow: none;
        padding: 4px 4px 1px;
        background: #072843;
        border-radius: 1px;
        margin-left: 0px;
        margin-bottom: 12px;
        top: -4px;
        -moz-border-radius: 3px;
    }

    .irs-slider.to, .irs-slider.from {
        background: #1966a5;
        border: 2px solid white;
        border-radius: 50%;
        -webkit-box-shadow: none;
        box-shadow: none;
        border-radius: 50%;
        width: 23px;
        left: 2px;
        top: 24px;
        /* margin-left: -3px; */
        height: 23px;
        box-shadow: 0 3px 24px 1px #2684de;
    }

    .irs-bar {
        height: 6px;
    }

    span.irs:after {
        height: 6px;
    }

    .irs-line {
        height: 6px;
    }

    .filter {
        margin-top: 22px;
        display: block;
    }

    .title {
        width: 100%;
        color: black;
        font-size: 19px;
        padding: 31px 0 25px 27px;
        font-weight: 600;
        line-height: 22px;
    }

    #main .out-block p {
        color: black;
        font-size: 20px;
        font-weight: 500;
        text-align: left;
        margin: 25px 0 9px;
    }

    .popup {
        border: none;
        width: 100%;
        border-radius: 11px;
        background: #fff;
        padding: 1px 29px 30px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .popup h3 {
        text-align: center;
        margin-bottom: 23px;
        font-size: 22px;
        line-height: 24px;
        font-weight: 600;
        margin-top: 24px;
    }

    #modal_form, #modal_form_2 {
        margin-top: -20px;
        z-index: 9999;
        max-width: 370px;
    }

    .thank-block {
        text-align: center;
        margin-top: -11px;
    }

    #main .thank-block p {
        white-space: pre-line;
        font-weight: 500;
        margin-top: 9px;
        font-size: 3.4vw;
        line-height: 4vw;
    }

    span#modal_close {
        right: 0;
        left: 0;
        margin: 0 auto;
        top: 500px;
        border: none;
        font-size: 79px;
        width: 70px;
        line-height: 60px;
        height: 70px;
    }
}

@media (max-height: 420px) {
    .popup h3 {
        text-align: center;
        margin-bottom: 14px;
        font-size: 22px;
        line-height: 22px;
        font-weight: 600;
        margin-top: 10px;
    }

    input {
        outline: none;
        width: 100%;
        background: #edf2f7;
        border: none;
        font-size: 16px;
        border-radius: 8px;
        padding: 20px 12px 5px;
    }

    .label-animate .label-animate--label {
        left: 7px;
        top: 13px;
        font-size: 15px;
    }

    .label-animate.inp-label {
        margin-bottom: 10px;
    }

    #modal_form button {
        display: block;
        margin-top: 11px;
        padding: 0;
        width: 100%;
        margin: 13px auto 13px;
        /* height: 66px; */
        font-size: 14px;
    }

    #modal_form .polit {
        display: none;
    }

    #modal_close, #modal_close_2 {
        z-index: 9999;
        width: 30px;
        height: 30px;
        line-height: 22px;
        border-radius: 50%;
        position: absolute;
        background: white;
        top: 5px;
        text-align: center;
        right: -35px;
        cursor: pointer;
        display: block;
        font-size: 35px;
        padding: 3px 1px 0 2px;
        border: 2px solid white;
        font-weight: 300;
        font-family: initial;
        color: white;
        background: transparent;
    }
}

@media (max-height: 380px) and (min-width: 560px) {
    .width-wrap {
        margin: 0 auto;
        max-width: 540px;
        padding: 0 20px;
    }

    header a img {
        width: 200px;
        margin-top: -2px;
    }

    .phone a {
        color: black;
        font-size: 24px;
    }

    .phone {
        padding-top: 0.7vw;
    }

    h1 {
        margin: 0;
        font-size: 34px;
        line-height: 39px;
        margin-bottom: 5px;
    }

    #main p {
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 24px;
        white-space: pre-line;
        /* font-size: 14px; */
    }

    #main {
        background: url(../img/img-1.png) 0 0 no-repeat;
        background-size: cover;
        color: white;
        padding-top: 38px;
        margin-bottom: 0;
        padding-bottom: 49px;
    }

    .franch-descr h3 {
        font-size: 31px;
        margin: 9px 0 2px;
        font-weight: 700;
    }

    .franch-descr span {
        font-size: 20px;
    }

    .franch-item .franch-content img {
        width: 100%;
        max-width: 330px;
        height: auto;
        margin-top: 75px;
        /* position: absolute; */
    }

    .franch-descr p {
        font-size: 20px;
        padding-right: 0;
        margin: 17px 0 0 0;
        line-height: 25px;
    }

    footer a img {
        width: 193px;
    }

    footer .phone {
        padding: 0;
        padding-top: 14px;
    }

    .thank-block {
        text-align: center;
        margin-top: -11px;
    }
}

