@media screen and (max-width: 1170px) {
    .header-phone {
        right: 40px;
    }

    .tab3-wrap {
        position: relative;
    }

    .working-wrap {
        width: 50%;
    }

    .map {
        width: 100%;
    }

    .tab3 .tab__header.flex {
        margin: 0 10px;
    }

    .tab__content {
        padding: 0;
    }

    .nav-list {
        display: none;
    }

    #menu {
        display: block;
    }
}

@media screen and (max-width: 990px) {

    #place,
    #address {
        font-size: 8px;
    }

    .deposits-list {
        flex-flow: row nowrap;
        overflow-x: auto;
        margin-bottom: 60px;
    }

    .deposits-item {
        width: 60%;
        min-width: 300px;
        margin: 0 20px 20px 0;
    }

    .section-form .container {
        padding: 0 0 0 15px;
    }

    .slider-title {
        font-size: 26px;
    }

    .dep-list {
        flex-direction: column;
    }

    .dep-item {
        margin-bottom: 80px;
    }

    .dep-item:nth-child(2):after {
        display: none;
    }

    .dep-item:nth-child(3):before {
        content: '';
        position: absolute;
        top: -50px;
        left: 50%;
        transform: translate(-50%, 0) rotate(90deg);
        background: url(../images/arrow-right.svg) no-repeat;
        background-size: cover;
        width: 13px;
        height: 23px;
    }

    .dep-item:nth-child(2):before {
        top: -50px;
        left: 50%;
        transform: translate(-50%, 0) rotate(90deg);
    }

    .dep-block {
        max-width: 550px;
        margin: -55px auto 75px auto;
    }

    .map-title {
        font-size: 24px;
    }

    .working-wrap {
        width: 70%;
    }

    .working-el {
        font-size: 12px;
    }

    .working-el-text {
        font-size: 14px;
        padding-right: 20px;
    }

    .footer-block-wrap {
        flex-direction: column;
        width: 60%;
        min-width: 260px;
    }

    .footer-block {
        width: 100%;
    }

    .footer-block:first-child {
        margin-bottom: 30px;
    }

    .footer-block:last-child {
        text-align: center;
        font-size: 12px;
    }

    .center {
        font-size: 12px;
    }

    .slick-slide img {
        max-width: 100%;
    }

    .contact-block {
        flex-direction: column;
    }

    .map-wrap {
        width: 100%;
    }

    .tab3 .tab__header.flex {
        display: none;
    }

    .tab3.phone,
    .tab3.phone .tab__header.flex {
        display: block;
        margin: 0;
    }

    .tab__header.flex>div {
        font-size: 18px;
    }

    .footer {
        margin-top: 0;
    }

    .dep-list {
        padding: 0;
    }

    .steps-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .form-field {
        font-size: 14px;
    }

    .input-wrap {
        min-height: auto;
        margin-bottom: 25px;
    }

    .modal-text {
        font-size: 16px;
    }

    .select-wrap {
        flex-wrap: wrap;
    }

    .select-description {
        margin: 2px 0;
        font-size: 14px;
    }

    .select-inner {
        margin-bottom: 20;
    }

    .select-inner span {
        margin: 0 2px;
    }

    .form-field {
        padding: 0;
    }

    .upload-wrap {
        margin: 10px 0;
    }
}

@media screen and (max-width: 768px) {
    .slider-list {
        flex-direction: column;
    }

    .slider-item {
        width: 100%;
    }

    .deposits-title {
        font-size: 16px;
    }

    .deposits-row {
        font-size: 14px;
    }

    .lg-btn {
        margin-bottom: 10px;
    }

    .deposits-item {
        padding: 15px 15px 30px 15px;
    }

    .slider-open.mobile {
        display: block;
        margin: 20px 0;
    }

    .slider-open.desktop {
        display: none;
    }

    .slick-dots {
        top: -10px;
    }

    .title {
        font-size: 24px;
    }

    .popup-title {
        font-size: 24px;
    }

    .tab-title {
        font-size: 16px;
    }

    .tariffs-table tr:nth-child(1) td,
    .tariffs-table tr:nth-child(1) th,
    .tariffs-table tr:nth-child(2) td,
    .tariffs-table tr:nth-child(2) th {
        padding-bottom: 15px;
    }

    .popup-subtitle {
        font-size: 15px;
    }

    .tab__header>div {
        font-size: 16px;
    }

    .popup-link {
        font-size: 12px;
    }

    .popup-item {
        width: 100%;
    }

    .table-description tr.width-33 td,
    table {
        font-size: 11px;
    }

    .select-wrap select {
        width: auto;
    }

    .form-footer {
        align-items: center;
    }

    .form-footer .step-btn {
        margin-bottom: 12px;
    }

    .select-name {
        font-size: 14px;
    }
}

@media screen and (max-width: 470px) {
    .slider-image {
        width: 100%;
    }

    .section-slider {
        margin-top: 80px;
    }
}