@media screen and (min-width: 480px) and (max-width: 1230px) {
    .container {
        width: 95%;
    }
    .mainheader {
        width: 100%;
    }
    .header {
        width: 100%;
    }
    .mainheader_bottom_blocks_block {
        padding: 10px 6px;
        font-size: 12px;
    }
    .header_bottom_blocks_block {
        padding: 10px 12px;
        font-size: 12px;
    }
    .header_bottom_blocks_block:nth-child(n+2)::after {
        left: -5px;
        width: 10px;
    }
    .header_dropdown {
        gap: 14px !important;
    }
    .topslider_wrapper {
        display: block;
    }
    .topslider_block {
        display: block;
        width: 100%;
        height: 400px;
        margin-bottom: 90px;
    }
    .topslider_block::after {
        -webkit-filter: blur(0);
                filter: blur(0);
    }
    .topslider_block_active {
        padding: 0;
    }
    .topslider_block_wrapper {
        position: absolute;
        bottom: -70px;
        right: 0;
    }
    .advantages {
        padding: 40px 0;
      }
      .advantages_block {
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 10px;
      }
      .advantages_block_text {
        padding: 16px;
        height: auto;
        margin-bottom: 16px;
        border-radius: 16px;
      }
      .advantages_block_text_num {
        display: none;
      }
      .advantages_block_text_title::after {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
      }
      .advantages_block_text_title_mob {
        display: none;
        margin-top: 16px;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        font-size: 28px;
        font-family: "jost";
        line-height: 150%;
        color: #365891;
        text-transform: uppercase;
        color: #232323;
        font-size: 16px !important;
        line-height: 150% !important;
      }
    .advantages_block_text_title_mob {
        font-size: 22px;
        line-height: 110%;
    }
    .advantages_block_text_title_mob span {
        font-size: 64px;
        font-family: "Raleway";
        font-weight: 900;
        line-height: 150%;
        color: #4e4e4e;
        margin-right: 16px;
    }
    .advantages_block_text_title_mob span {
        font-size: 36px;
        line-height: 150%;
    }
    .advantages_block_text_descr {
        display: none;
        margin-top: 16px;
    }
    .advantages_block_num {
        display: none;
    }
    .advantages_block_photos {
        display: none;
        margin-left: 0;
        grid-template-columns: calc(38% - 10px) calc(62% - 10px);
    }
    .advantages_block_photos_col {
        gap: 10px;
    }
    .advantages_block_photos_col img {
        height: 100%;
    }
    .advantages_block_photos_col:first-child {
        grid-template-rows: 200px 200px;
    }
    .advantages_block_photos_col:last-child {
        grid-template-rows: 150px 250px;
    }
    .advantages_block_active .advantages_block_photos {
        display: grid;
    }
    .advantages_block_active .advantages_block_text_title_mob {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .advantages_block_active .advantages_block_text_descr {
        display: block;
    }
    .advantages_block_active .advantages_block_text_title:after {
        background-image: url(/img/icons/Icons/x.svg);
    }
    .change_photo {
        width: 100%;
        height: auto;
    }
    .options_block {
        grid-template-columns: 1fr 1fr;
    }
    .index_sliders_wrapper {
        flex-direction: column;
        gap: 20px 0;
    }
    .index_sliders_slider {
        width: 100%;
    }
    .footer_wrapper {
        display: block;
    }
    .footer_block {
        margin-top: 20px;
    }
    .mino_content {
        display: flex !important;
        flex-direction: column !important;
        height: auto  !important;
    }
    .mino_content_text_main {
        -webkit-line-clamp: 7 !important;
    }
    .mino .active_mino .mino_content .mino_content_text_main {
        -webkit-line-clamp: 100 !important;
    }
    .minoinfo_content {
        height: 400px;
        padding: 70px 20px;
    }
    .minoinfo_img img{
        object-fit: cover;
    }
    .buy_container_descr {
        height: 400px;
    }
    .buyfull_block_top {
        padding-right: 40px;
    }
    .flatbg_block {
        padding: 35px 40px;
        font-size: 28px;
    }
    .flatdescr_wrapper {
        display: flex;
        flex-direction: column;
    }
    .flatdescr {
        height: auto;
    }
    .infostr_wrapper {
        width: 100%;
    }
    .flatform_buttons {
        flex-direction: column;
        gap: 15px;
    }
    .flats_wrapper {
        grid-template-columns: 1fr;
    }
    .flatblock_wrapper {
        transform: none;
        top: 0;
        left: 10%;
    }
    
    .flatblock {
        height: 450px;
        margin-bottom: 40px;
    }
    .flatblock_img {
        height: 100%;
    }
    .flatblock_img img{
        height: 100%;
    }
    img {
        object-fit: cover;
    }
    .flatform_dropdown_content>div {
        height: auto;
    }
    .flatform_block {
        margin: 10px;
    }
    .form_dropdown_more {
        width: 86%;
    }
    .form_dropdown {
        width: 86%;
        display: block;
    }
    .flatform_dropdown_more {
        width: 86%;
    }
    .flatform_dropdown {
        width: 86%;
    }
    .form_dropdown_area {
        width: 100%;
    }
    .parkcoast_block_num_title {
        white-space: wrap;
    }
    .flatform_content {
        padding: 0;
    }
    .footer_contacts_block {
        width: 100%;
    }
    .footer_contacts img {
        width: 80%;
    }
    .flatdescr_imgs {
        height: 48vw;
    }

}

@media (max-width: 480px) {
    .mino_content_office_2 {
        grid-template-columns: 1fr;
    }
    .mino_content_office_2 {
        display: flex;
        flex-direction: column;
    }
    .parkcoast_block_num_title span:nth-child(1){display: none;}.parkcoast_block_num_title span:nth-child(2){display:block;}
    .header_form_blocks {
        height: auto;
        width: 90%;
    }
    .header_form_h3 {
        text-align: left;
    }
    .header_form_block {
        padding: 34px 13px;
    }
    .header_form_close {
        right: 10px;
        top: 7px;
        width: 25px;
    }
    .header_form_descr {
        margin-bottom: 15px;
    }
    .form_container .form_dropdown {
        padding: 10px 13px;
    }
    .header_form_button_wrapper {
        justify-content: flex-end;
    }
    .options_content_buttons {
        display: none;
    }
    .mob {
        display: flex;
        position: absolute;
        bottom: -77px;
        width: 100%;
        left: 0;
        justify-content: flex-end !important;
        padding: 0 3%;
    }
    .error .container {
        height: 300px;
        position: relative;
        overflow: visible;
        background-position: 50%;
    }
    .error_h3 {
        margin-left: 0;
        padding-top: 0;
        position: absolute;
        bottom: -19%;
        color: #232323;
    }
    .error_descr {
        margin-left: 0;
        padding-top: 0;
        position: absolute;
        bottom: -29%;
        color: #232323;
        font-weight: 900;
        font-size: 17px;
    }
    .error {
        height: 490px;
        margin: 40px 0;
    }
}


@media screen and (min-width: 200px) and (max-width: 315px) {
    .header_mob_under_block:nth-child(n+2)::after {
        left: -2px;
        width: 8px;
    }
    .header_mob_under_block {
        padding: 7px;
    }
}

@media (max-width: 343px) {
    .container {
        width: 100%;
    }
    .header_mob {
        width: 100%;
    }
    .header_mob_under_block {
        font-size: 9px;
    }
    .mino_content_office_2 .mino_content_text_title{
        top: -80px;
    }

}
.absolute {
    display: none;
    position: absolute;
    top: calc(50% + 20px);
    padding: 20px;
    border-radius:25px;
    background-color: #fff;
    border-top: 1px solid #232323;
}

.infostr_text_li {
    margin-bottom: 10px;
}
@media (min-width: 480px) {
    .infostr_text:hover>.absolute {
        z-index: 999;
        display: block;
    }
}

.mob11 {
    z-index: 1;
}
.mob11 .absolute {
    z-index: 999;
    display: block;
}
.infostr_text:hover {
    z-index: 1;
}


.wrapper-dropdown-3.dropdown {
    position: absolute;
    top: 140%;
    left: 0;
    right: 0;
    background: white;
    border-radius: inherit;
    border: 1px solid rgba(0,0,0,0.17);
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    font-weight: normal;
    transition: all 0.5s ease-in;
    list-style: none;
    opacity: 0;
    pointer-events: none;
}
.wrapper-dropdown-3.dropdown li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #8aa8bd;
    border-bottom: 1px solid #e6e8ea;
    box-shadow: inset 0 1px 0 rgba(255,255,255,1);
    transition: all 0.3s ease-out;
}
.wrapper-dropdown-3.dropdown li:first-of-type a {
    border-radius: 7px 7px 0 0;
}
.wrapper-dropdown-3.dropdown li:last-of-type a {
    border-radius: 0 0 7px 7px;
    border: none;
}
.wrapper-dropdown-3.dropdown li:hover a {
    background: #f3f8f8;
}
@media screen and (min-width: 769px) and (max-height: 649px) {
    .header_form_blocks {
        height: 90%;
        top: 5%;
        transform: translate(-50%, 0);
    }
    .header_form_block {
        padding: 20px 30px;
    }
    .header_form_descr {
        margin-bottom: 10px;
    }
    .form_main {
        gap: 0px 40px;
    }
    .header_form_politics {
        margin-bottom: 15px;
    }
    
}
