@media all and (max-width:1720px) {
    .block-2,.block-3,.block-4,.block-5,.block-6 {
        -ms-flex-preferred-size: 528px;
        flex-basis: 528px;
    }
    .block-1 {
        padding: 175px 3%;
    }
    .block-1__header h1 {
        font-size: 75px;
    }
    .block-1__header h2 {
        font-size: 37px;
    }
    .card__description {
        padding: 100px 0 0;
    }
    .block-5__button img {
        height: 5.5%;
    }
    .block-5__button {
        padding: 0 30px;
    }
    .block-3__button {
        padding: 0 50px;
    }
	 .priceintext {
        display: none;
    }
}
@media all and (max-width:1500px) {
    .block-2,.block-3,.block-4,.block-5,.block-6 {
        -ms-flex-preferred-size: 488px;
        flex-basis: 488px;
    }
    .card.large .card__description {
        max-width: 71%;
    }
    .block-1 {
        padding: 145px 3%;
    }
    .block-1__header h1 {
        font-size: 65px;
    }
    .block-1__header h2 {
        font-size: 32px;
    }
    .block-1__features h3 {
        font-size: 33px;
        line-height: 34px;
    }
    .card.small {
        width: 37%;
    }
    .card.large {
        width: 59%;
    }
    .card__description {
        padding: 90px 0 0;
    }
    .block-3__button {
        padding: 0 35px;
    }
    .block-5__button {
        padding-right: 23px;
    }
    form {
        padding-left: 7%;
        padding-right: 7%;
        padding-top: 60px;
    }
    footer input[name=comment] {
        width: 65.5%;
    }
	.priceintext {
        display: none;
    }
}
@media all and (max-width:1366px) {
    .block-2,.block-3,.block-4,.block-5,.block-6 {
        -ms-flex-preferred-size: 384px;
        flex-basis: 384px;
    }
    .header__logo {
        padding: 11px 32px;
    }
    .header__contacts {
        font-size: 13px;
        line-height: 15px;
    }
    .header__contacts img {
        width: 11px;
    }
    .header__logo img {
        width: 99px;
    }
    .header__button {
        font-size: 13px;
        line-height: 15px;
        margin: 11px auto 12px 40px;
        padding: 11px 25px;
    }
    .block-1 {
        padding: 188px 3% 142px;
    }
    .block-1__header h1 {
        font-size: 52px;
        line-height: 61px;
    }
    .block-1__header h2 {
        font-size: 29px;
    }
    .block-1__features h3 {
        font-size: 24px;
        line-height: 28px;
    }
    .block-1__features p {
        font-size: 18px;
        line-height: 21px;
    }
    .card.small {
        width: 31%;
    }
    .card.large {
        width: 65%;
    }
    .card {
        padding: 39px 37px;
        min-height: 384px;
    }
    .card h2 {
        font-size: 36px;
        line-height: 42px;
    }
    .card__description {
        padding: 84px 0 0;
        font-size: 13px;
        line-height: 15px;
        font-weight: 400;
    }
    .card__description__remark {
        font-size: 9px;
        line-height: 11px;
        margin-top: 10px;
    }
    .card .price {
        margin-bottom: 17px;
        font-size: 13px;
        line-height: 15px;
    }
    .card__button {
        font-size: 13px;
        line-height: 15px;
        padding: 7px 33px;
        width: 139px;
    }
    .card__price-button-wrap {
        margin-top: 0;
    }
    .block-2,.block-3,.block-4,.block-5,.hidden,footer {
        margin-top: 42px;
    }
    .block-3__button {
        font-size: 14px;
        line-height: 16px;
        padding: 0 40px;
    }
    .block-3__button img {
        width: 10px;
    }
    .block-5__button {
        font-size: 14px;
        line-height: 16px;
        padding: 0 31px;
    }
    .block-5__button img {
        width: 10px;
        padding: 2px 0;
    }
    .hidden {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .block-6__team:nth-child(2) {
        margin: 0 42px;
    }
    .block-6__team__description {
        padding: 13px 5px 0 36px;
    }
    .block-6__team__description h3 {
        font-size: 14px;
        line-height: 16px;
    }
    .block-6__team .block-6__team__description p {
        font-size: 14px;
        line-height: 16px;
        padding: 12px 0;
    }
    footer input {
        height: 49px;
        margin-bottom: 19px;
    }
    footer button {
        font-size: 18px;
        line-height: 21px;
        height: 49px;
    }
    form {
        padding-left: 10.5%;
        padding-top: 54px;
    }
    .row-2 {
        margin: auto;
    }
	.priceintext {
        display: none;
    }
}
@media all and (max-width:1209px) {
    .block-2 {
        min-height: 300px;
    }
	.priceintext {
        display: none;
    }
}
@media all and (max-width:1140px) {
    .block-1__features p {
        width: 300px;
    }
    .block-6__team__description br {
        display: none;
    }
    .block-6 {
        flex-basis: 343px;
    }
	.priceintext {
        display: none;
    }
}
@media all and (max-width:1087px) {
    .header__logo {
        padding: 5px 20px;
    }
    .header__button {
        font-size: 15px;
        line-height: 15px;
        margin: 11px auto 12px 30px;
        padding: 11px 25px;
    }
    .block-1 {
        padding: 155px 3% 129px;
    }
    .block-1__features p {
        width: 250px;
    }
    .block-1__header h1 {
        font-size: 45px;
        line-height: 50px;
    }
    .block-1__header h2 {
        font-size: 26px;
        line-height: 42px;
    }
    .block-1__features h3 {
        font-size: 22px;
        line-height: 24px;
    }
    .block-1__features p {
        font-size: 16px;
        line-height: 18px;
    }
    .card.small {
        width: 34.5%;
    }
    .card.large {
        width: 63%;
    }
    .card__description {
        padding: 69px 0 0;
    }
    .card.night-petersburg {
        background-position: 0;
    }
    .block-3__button img, .block-5__button img {
        width: 9px;
    }
    .block-3__button {
        padding: 0 30px;
    }
    .block-5__button {
        padding: 0 21px;
    }
    .block-6__team:nth-child(2) {
        margin: 0 17px;
    }
    .block-6__team__description {
        padding: 15px 10px 0 22px;
    }
    .block-2,.block-3,.block-4,.block-5 {
        min-height: 350px;
    }
    footer input {
        height: 44px;
        margin-bottom: 19px;
    }
    footer button {
        height: 44px;
    }
    form {
        padding-left: 7.5%;
        padding-top: 34px;
    }
    .block-2,.block-3,.block-4,.block-5,.block-6,footer {
        margin-top: 22px;
    }
    .block-6 {
        flex-basis: 340px;
    }
	.priceintext {
        display: none;
    }
}
@media all and (max-width:1024px) {
    .container {
        width: 90%;
    }
    .header__logo {
        padding: 7px 20px;
    }
    .block-1 {
        padding: 135px 3% 129px;
    }
    .block-1__features {
        margin-top: 8%;
    }
    .block-1__features p {
        width: 250px;
    }
    .block-1__header h1 {
        font-size: 40px;
        line-height: 39px;
    }
    .block-1__header h2 {
        font-size: 25px;
        line-height: 37px;
    }
    .card.small {
        width: 34.5%;
    }
    .card.large {
        width: 63%;
    }
    .card__description {
        padding: 69px 0 0;
    }
    .block-2,.block-3,.block-4,.block-5,.hidden,footer {
        margin-top: 20px;
    }
    .block-3__button img {
        width: 9px;
    }
    .block-5__button img {
        width: 9px;
        padding-bottom: 6px;
        margin-right: 1px;
    }
    .block-6__team:nth-child(2) {
        margin: 0 30px;
    }
    .block-6__team__description {
        padding: 15px 10px 0 22px;
    }
    footer input {
        height: 44px;
        margin-bottom: 19px;
    }
    footer button {
        height: 44px;
    }
    form {
        padding-left: 7.5%;
        padding-top: 34px;
    }
    .card.xlarge .card__description {
        max-width: 49%;
    }
	.priceintext {
        display: none;
    }
}
@media all and (max-width:916px) {
    .container {
        width: 95%;
    }
    form {
        padding-top: 30px;
    }
    .block-3__button {
        padding: 0 20px;
    }
    .block-5__button {
        padding: 0 13px;
    }
    .block-6 {
        flex-basis: 320px;
    }
    .block-1__features p {
        width: 218px;
    }
	.priceintext {
        display: none;
    }
}
@media all and (max-width:800px) {
    .block-1__features p {
        font-size: 14px;
        line-height: 17px;
    }
    .block-6 {
        flex-basis: 310px;
    }
	.priceintext {
        display: none;
    }
}
@media all and (max-width:780px) {
    .container {
        width: 100%;
    }
    .header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        background-color: #189292;
        padding: 0;
    }
    .header__logo {
        padding: 0;
    }
    .header__logo img {
        width: 139px;
        margin: 15px 45px;
    }
    .header__contacts {
        padding-left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        color: #fff;
        margin-right: 45px;
        font-size: 21px;
        line-height: 25px;
        font-style: normal;
        font-weight: 400;
    }
    .header__contacts a {
        color: #fff;
    }
    .header__contacts__phone span {
        display: none;
    }
    .header__contacts__phone a {
        display: inline-block;
    }
    .header__contacts img {
        width: 20px;
    }
    .header__contacts picture {
        vertical-align: middle;
    }
    .header__button {
        display: none;
    }
    .block-1 {
        background: url(../img/mobile/b1-bg.jpg) no-repeat;
        padding: 140px 45px 0;
    }
    .block-1__header h1 {
        font-size: 85px;
        line-height: 100px;
        text-align: center;
    }
    .block-1__header h2 {
        font-size: 45px;
        line-height: 53px;
        font-weight: 400;
        text-align: center;
        padding-left: 24px;
        padding-top: 10px;
    }
    .block-1__features {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-top: 15.5%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        text-align: center;
    }
    .block-1__features * {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 207px;
        flex: 1 1 207px;
        -ms-flex-item-align: stretch;
        -ms-grid-row-align: stretch;
        align-self: stretch;
    }
    .block-1__features h3 {
        font-weight: 700;
        font-size: 38px;
        line-height: 45px;
    }
    .block-1__features p {
        width: 55%;
        margin-top: 14px;
        font-size: 22px;
        line-height: 26px;
        text-align: center;
        margin-left: 22.5%;
        margin-bottom: 7.5%;
    }
    .block-1__features__standing {
        box-sizing: border-box;
        margin-bottom: auto;
    }
    .block-1__hidden {
        display: block;
        text-align: center;
        margin-top: 6%;
    }
    .block-1__hidden img {
        margin-top: 13px;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    .card {
        padding: 55px 50px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .card h2 {
        font-size: 50px;
        line-height: 59px;
        font-weight: 700;
        text-align: center;
    }
    .card__description {
        padding: 40px 0 0;
        font-size: 25px;
        line-height: 29px;
        text-align: center;
        font-weight: 300;
        margin-bottom: 5%;
    }
    .card__description p {
        vertical-align: middle;
    }
    .card__price-button-wrap {
        margin-top: 0;
    }
    .card.large .card__description {
        max-width: 100%;
    }
    .card__description__remark {
        display: none;
    }
    .price {
        display: none;
    }
	.priceintext {
        display: inline;
    }
    .card.small {
        width: 100%;
    }
    .card.large {
        width: 100%;
    }
    .card.xlarge {
        width: 100%;
    }
    .card.overview {
        background-image: url(../img/mobile/b2-bg.jpg);
    }
    .card.night-petersburg {
        background-image: url(../img/mobile/b4-bg.jpg);
    }
    .card.river {
        margin-top: 20px;
    }
	.card.pushkin{
        margin-top: 20px;
    }
	
    .block-2 {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
	.block-4 {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    button.card__button {
        display: block;
        background-color: #ff0c63;
        color: #fff;
        border: none;
        font-style: normal;
        font-weight: 300;
        font-size: 20px;
        line-height: 23px;
        padding: 17px 22px;
        width: 50%;
        margin: 0 auto;
    }
    button.block-3__button,button.block-5__button {
        display: none;
    }
    .card.xlarge .card__description {
        max-width: 100%;
    }
    .card.hermitage {
        background-image: url(../img/mobile/b5-bg.jpg);
    }
    .card.pushkin {
        background-image: url(../img/mobile/b6-bg.jpg);
    }
    .block-5 {
        background-image: url(../img/mobile/b7-bg.jpg);
    }
    .block-6 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
        justify-content: stretch;
        margin-top: 0;
    }
    .block-6__team__img-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .block-6__team__img-desktop {
        display: none;
    }
    .block-6.mobile .block-6__team {
        margin: 19px 0 0;
    }
    .block-6.mobile .block-6__team:nth-child(2) {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
    .block-6.mobile .block-6__team {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row;
        flex-flow: row;
    }
    .block-6.mobile .block-6__team:nth-child(3) {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-flow: row-reverse;
        flex-flow: row-reverse;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 50vw;
        flex-basis: 50vw;
    }
    .block-6__team__description h3 {
        font-size: 51px;
        line-height: 60px;
        padding-top: 15.6%;
        padding-left: 5.4%;
    }
    .block-6__team .block-6__team__description p {
        font-size: 25px;
        line-height: 29px;
        margin-top: 8%;
        padding-left: 5.4%;
        padding-bottom: 10px;
    }
    .block-6__team .block-6__team__description {
        margin-top: 0;
    }
    .block-6__team {
        -ms-flex-preferred-size: 100vw;
        flex-basis: 100vw;
    }
    footer {
        margin-top: 19px;
    }
    form {
        padding-left: 6%;
        padding-right: 6%;
        padding-top: 42px;
    }
    footer input {
        width: 47%;
        height: 51px;
        font-size: 25px;
        line-height: 29px;
    }
    footer input[name=comment],footer input[name=email_address],footer button {
        width: 100%;
    }
    footer button {
        font-size: 26px;
        line-height: 30px;
    }
    .block-2 {
        min-height: 817px;
    }
    .block-4 {
        min-height: 817px;
    }
    .block-6 {
        min-height: 1388px;
    }
    .row-1, .row-2 {
        flex-wrap: wrap;
    }
    .callback button {
        margin-bottom: 20px;
    }
}
@media all and (max-width:717px) {
    .block-1__header h1 {
        font-size: 80px;
        line-height: 90px;
    }
    .block-1__header h2 {
        font-size: 45px;
        line-height: 46px;
    }
    .block-1__features h3 {
        font-size: 33px;
        line-height: 40px;
    }
    .block-1__features {
        margin-top: 13%;
    }
    .block-1__features p {
        margin-top: 10px;
        margin-left: 22.5%;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 54vw;
        flex-basis: 54vw;
    }
    .block-6__team__description h3 {
        font-size: 45px;
        line-height: 54px;
    }
    .block-6__team .block-6__team__description p {
        font-size: 22px;
        line-height: 25px;
        padding-right: 5.4%;
    }
    .block-2,.block-3,.block-4,.block-6.mobile .block-6__team,footer,.card.river,.card.pushkin {
        margin-top: 14px;
    }
    .card__description p {
        font-size: 22px;
    }
    .block-6 {
        min-height: 1184px;
    }
    .block-6__team {
        max-height: 381px;
    }
    .ty_modal {
        top: 30%;
        max-width: 320px;
        padding: 18px 10px 16px;
    }
    .ty_modal h2 {
        font-size: 20px;
        line-height: 25px;
    }
    .ty_modal p {
        font-size: 18px;
        line-height: 20px;
        margin-top: 15px;
    }
    .ty_modal__button {
        width: 300px;
        height: 50px;
        font-size: 18px;
        margin-top: 35px;
    }
    .ty_modal .popup-form__remark {
        margin-top: 10px;
        font-size: 13px;
    }
    /*.overlay {*/
    /*    overflow-y: scroll;*/
    /*}*/
    .popup {
        position: absolute;
        top: 50px;
        margin: 0;
        padding: 0;
        max-width: 320px;
    }
    .popup-form {
        padding: 10px;
    }
    .popup-form__label {
        font-size: 22px;
        line-height: 22px;
        margin: 0 10px;
    }
    input.popup-form__input,
    input.popup-form__input-split,
    .popup-form__button {
        width: 100%;
        height: 50px;
        margin-top: 10px;
        border: none;
        font-size: 25px;
        text-align: center;
    }
    input[type=tel].popup-form__input-split {
        margin-left: 0;
    }
    .popup-form__remark {
        margin-top: 15px;
    }
}
@media all and (max-width:617px) {
    .block-1 {
        padding: 80px 17px 0;
    }
    .block-1__header h1 {
        font-size: 70px;
        line-height: 75px;
    }
    .block-1__header h2 {
        font-size: 41px;
        line-height: 45px;
    }
    .block-1__features h3 {
        font-size: 30px;
        line-height: 35px;
    }
    .block-1__features p {
        margin-top: 10px;
        margin-left: 22.5%;
        margin-bottom: 5.5%;
    }
    .block-1__hidden {
        margin-top: 2%;
    }
    .card h2 {
        font-size: 40px;
        line-height: 49px;
        font-weight: 700;
        text-align: center;
    }
    .card__description {
        padding: 30px 0 0;
        font-size: 21px;
        line-height: 28px;
        text-align: center;
        font-weight: 300;
        margin-bottom: 2%;
    }
    button.card__button {
        width: 65%;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 62vw;
        flex-basis: 62vw;
    }
    .block-2,.block-3,.block-4,.block-6.mobile .block-6__team,footer,.card.river,.card.pushkin {
        margin-top: 10px;
    }
    form {
        padding-left: 5%;
        padding-top: 25px;
    }
    footer input {
        height: 45px;
        font-size: 22px;
        line-height: 29px;
    }
    footer button {
        height: 45px;
        font-size: 22px;
        line-height: 30px;
    }
    .block-6__team {
        max-height: 331px;
    }
    .block-6 {
        min-height: 1023px;
    }
}
@media all and (max-width:557px) {
    .header__contacts {
        font-size: 16px;
    }
    .header__logo img {
        width: 90px;
        margin: 10px 30px;
    }
    .header__contacts img {
        width: 15px;
    }
    .block-1 {
        padding: 50px 17px 0;
        background-position: -150px 0;
    }
    .block-1__header h1 {
        font-size: 55px;
        line-height: 65px;
    }
    .block-1__header h2 {
        font-size: 30px;
        line-height: 35px;
    }
    .block-1__features h3 {
        font-size: 25px;
        line-height: 30px;
    }
    .block-1__features p {
        margin-top: 10px;
        margin-left: 20%;
        margin-bottom: 3%;
        font-size: 20px;
        width: 63%;
    }
    .block-1__hidden {
        margin-top: 0;
    }
    .card {
        padding: 30px 20px;
    }
    .card h2 {
        font-size: 35px;
        line-height: 25px;
    }
    .card__description {
        padding: 55px 0 0;
        font-size: 19px;
        line-height: 25px;
        margin-bottom: 0;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .card.night-petersburg {
        background-position: -70px 0;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 68vw;
        flex-basis: 68vw;
    }
    .block-6__team .block-6__team__description p {
        margin-top: 3%;
        font-size: 19px;
    }
    .block-6__team__description h3 {
        font-size: 35px;
        line-height: 40px;
    }
    footer input {
        margin-bottom: 14px;
    }
    .block-6__team {
        max-height: 310px;
    }
    .block-6 {
        min-height: 968px;
    }
    .block-2 {
        min-height: 780px;
    }
	.block-4 {
        min-height: 780px;
    }
}
@media all and (max-width:470px) {
    .header__contacts {
        font-size: 14px;
    }
    .block-1 {
        padding: 40px 17px 0;
        background-position: -158px 0;
    }
    .block-1__header h1 {
        font-size: 40px;
        line-height: 40px;
    }
    .block-1__header h2 {
        font-size: 28px;
        line-height: 30px;
        padding-left: 0;
    }
    .block-1__features {
        margin-top: 8%;
    }
    .block-1__features h3 {
        font-size: 22px;
        line-height: 25px;
    }
    br {
        display: none;
    }
    .block-1__features p {
        margin: 2% auto;
        font-size: 17px;
        line-height: 20px;
        width: 70%;
    }
    .block-1__features * {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 130px;
        flex: 1 1 130px;
    }
    .card h2 {
        font-size: 35px;
        line-height: 25px;
    }
    .card__description {
        padding: 37px 0 0;
    }
    .card.overview {
        background-position: -100px 0;
    }
    .card.river {
        background-position: -75px 0;
    }
    .card.night-petersburg {
        background-position: -100px 0;
    }
    .card.hermitage {
        background-position: -75px 0;
    }
	.card.pushkin {
        background-position: -100px 0;
    }
    .card.peterhof {
        background-position: -75px 0;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 78vw;
        flex-basis: 78vw;
    }
    .block-6__team .block-6__team__description p {
        margin-top: 3%;
        font-size: 18px;
    }
    .block-6__team__description h3 {
        font-size: 30px;
        line-height: 40px;
        padding-top: 5%;
    }
    form {
        padding-top: 15px;
    }
    footer input {
        margin-bottom: 10px;
    }
    .block-3 .card__description {
        padding-top: 55px;
    }
    .block-6__team {
        max-height: 265px;
    }
    .block-6 {
        min-height: 825px;
    }
    .block-2 {
        min-height: 778px;
    }
	.block-4 {
        min-height: 778px;
    }
}
@media all and (max-width:419px) {
    .block-1 {
        background-position: -220px 0;
    }
    .block-1__header h2 {
        font-size: 27px;
    }
    .block-1__hidden img {
        margin-top: 3px;
        width: 13px;
    }
    .block-1__features__programs {
        margin-top: 10px;
    }
    button.card__button {
        width: 90%;
    }
    .block-6__team__description h3 {
        font-size: 26px;
        line-height: 20px;
        padding-top: 2%;
    }
    .block-6__team .block-6__team__description p {
        margin-top: 0;
        font-size: 16px;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 90vw;
        flex-basis: 90vw;
        padding-left: 10px;
    }
    .card__description p {
        font-size: 20px;
    }
    .card {
        min-height: 375px;
    }
    .block-2 {
        min-height: 760px;
    }
	.block-4 {
        min-height: 760px;
    }
    .river p {
        padding-bottom: 5px;
    }
	.card.pushkin p {
        padding-bottom: 5px;
    }
}
@media all and (max-width:388px) {
    .header__contacts {
        margin-right: 25px;
    }
    .block-1__header h2 {
        font-size: 25px;
    }
    .card.river h2 {
        width: 100%;
        font-size: 29px;
    }
    .card.river {
        background-position: -181px 0;
    }
    .card.night-petersburg {
        background-position: -140px 0;
    }
    button.card__button {
        width: 90%;
        padding: 12px 22px;
    }
    .block-6__team .block-6__team__description p {
        margin-top: 0;
        font-size: 15px;
        line-height: 20px;
    }
    .block-6__team__description h3 {
        font-size: 25px;
        line-height: 20px;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 96vw;
        flex-basis: 96vw;
    }
    .card__description {
        padding: 25px 0 0;
    }
    .card__description p {
        font-size: 20px;
    }
    .block-4 {
        min-height: 390px;
    }
    .block-6__team {
        max-height: 210px;
    }
    .block-6 {
        min-height: 661px;
    }
}
@media all and (max-width:350px) {
    .header__logo img {
        width: 90px;
        margin: 10px 15px;
    }
    .header__contacts {
        margin-right: 10px;
    }
    .block-1 {
        padding: 25px 16px 0;
        background-position: -276px 0;
    }
    .block-1__header h1 {
        font-size: 38px;
        line-height: 38px;
    }
    .block-1__header h2 {
        font-size: 22px;
    }
    .block-1__features__programs {
        margin-top: -20px;
    }
    .block-1__features__programs p {
        margin-bottom: 45px;
    }
    .block-1__hidden img {
        margin-left: 0;
    }
    .block-1__features * {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 130px;
        flex: 1 1 130px;
    }
    .block-1__features p {
        width: 90%;
    }
    .card__description {
        line-height: 21px;
    }
    .card.night-petersburg {
        background-position: -165px 0;
    }
    .card.night-petersburg h2 {
        font-size: 33px;
    }
    .card.river {
        background-position: -145px 0;
    }
    button.card__button {
        width: 90%;
        margin-top: 0;
    }
    .block-6__team .block-6__team__description p {
        margin-top: 0;
        font-size: 14px;
        line-height: 19px;
        padding-right: 3.4%;
    }
    .block-6__team__description h3 {
        font-size: 25px;
        line-height: 20px;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 104vw;
        flex-basis: 104vw;
    }
}
@media all and (max-width:341px) {
    .card.night-petersburg h2 {
        font-size: 30px;
    }
    .card.river h2 {
        font-size: 27px;
    }
    .card {
        padding: 25px;
    }
}
@media all and (max-width:320px) {
    .block-1 {
        padding: 15px 15px 0 10px;
        background-position: -275px -200px;
    }
    .block-1__header h1 {
        font-size: 28px;
        line-height: 30px;
    }
    .block-1__header h2 {
        font-size: 20px;
        line-height: 20px;
    }
    .block-1__features {
        margin-top: 8%;
    }
    .block-1__features h3 {
        font-size: 16px;
        line-height: 18px;
    }
    .block-1__features p {
        margin-bottom: 0;
        font-size: 14px;
        line-height: 15px;
        width: 62%;
    }
    .block-1__features * {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 123px;
        flex: 1 1 123px;
    }
    .block-1__hidden {
        font-size: 16px;
        line-height: 18px;
    }
    .block-1__hidden img {
        width: 10px;
    }
    button.card__button {
        width: 100%;
        font-size: 17px;
        padding: 13px 22px;
    }
    .card h2 {
        font-size: 30px;
        line-height: 25px;
    }
    .card__description p {
        font-size: 17px;
        line-height: 20px;
    }
    .card {
        max-height: 355px;
    }
    .card.river h2 {
        width: 104%;
    }
    .card.river {
        background-position: -218px 0;
    }
    .card.night-petersburg {
        background-position: -174px 0;
    }
    .card.night-petersburg h2 {
        font-size: 29px;
    }
    .card.hermitage {
        background-position: -159px 0;
    }
    .block-6.mobile.block-6__team {
        margin-top: 0;
    }
    .block-6.mobile .block-6__team .photo,.block-6.mobile .block-6__team .block-6__team__description {
        -ms-flex-preferred-size: 112vw;
        flex-basis: 112vw;
    }
    .block-6__team__description {
        padding: 7px 10px 0 14px;
    }
    footer input,footer input[name=comment],footer input[name=email_address],footer button {
        width: 100%;
        font-size: 19px;
    }
    .block-6__team__description h3 {
        font-size: 25px;
        line-height: 15px;
        padding-top: 10px;
    }
    .block-6__team__description p {
        font-size: 13px;
    }
    .card__description {
        padding: 35px 0 0;
    }
    .block-4,.block-6.mobile .block-6__team,footer {
        margin-top: 0;
    }
    input.popup-form__input, input.popup-form__input-split, .popup-form__button {
        height: 40px;
        margin-top: 6px;
        font-size: 20px;
    }
    .popup {
        top: 15%;
        max-width: 290px;
    }
    .popup-close {
        font-size: 25px;
        right: -13px;
        top: -25px;
    }
    .popup-form__label {
        font-size: 20px;
        line-height: 20px;
    }
    .popup-form__remark {
        margin-top: 7px;
        font-size: 15px;
    }
    .ty_modal {
        max-width: 290px;
    }
    .ty_modal__button {
        width: 270px;
        height: 45px;
        font-size: 18px;
        margin-top: 20px;
    }
    .ty_modal {
        top: 15%;
    }
    /*.ty-overlay {*/
    /*    overflow-y: scroll;*/
    /*}*/
}