/* --------------------------------------------|
|                                              |
| MOBIL                                        |
|                                              |
|-------------------------------------------- */

.responsive #top #wrap_all .flex_cell:first-of-type {
    padding: 40px 30px 30px 0;
}

.responsive #top #wrap_all .flex_cell:last-of-type {
    padding: 40px 0 35px 30px;
}

@media only screen and (max-width: 989px) {
    .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
        top: unset;
        left: unset;
        right: 0;
        height: 104px;
    }
}

@media only screen and (max-width: 440px) {
    .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
        right: -80px;
    }
}

@media only screen and (max-width: 417px) {
    .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
        right: -76px;
    }
}

@media only screen and (max-width: 768px) {
    .responsive #top .logo,
    .responsive #top .logo svg {
        height: 35px !important;
        display: block;
        width: auto;
    }

    .av-logo-container .inner-container {
        justify-content: space-between;
    }

    #header_main {
        height: 100%;
    }

    .responsive #top #wrap_all #header .container {
        /*width: 100%;
        max-width: 100%;
        padding-left: 30px !important;
        padding-right: 30px !important;*/
    }

     .responsive #header_main .container {
        /* height: 180px !important; */
        height: 220px !important;
    }

    .responsive #top #wrap_all .flex_cell,
    .responsive #top #wrap_all .av-flex-cells .no_margin {
        padding: 0 !important;
    }

    #top .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
        margin-top: 40px !important;
    }

    .responsive #top #wrap_all .av-layout-grid-container .av_one_full {
        margin-bottom: 40px;
    }

    #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial {
        padding: 0px !important;
    }
    .avia-testimonial-markup-entry-content h2 + p::before {
        left: -50px;
        top: -40px;
        width: 53px;
        height: 38px;
        z-index: -1;
    }
}

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

    .responsive #top .logo svg,
    .responsive #top .logo {
        height: 30px !important;
    }

}

@media (max-width: 480px) {

    .av-upcoming-events {
        padding-top: 20px;
        padding-left: 0;
        padding-right: 0;
    }

    .list--posts {
        padding-top: 20px;
    }

    .list--posts.list--medium {
        gap: 20px;
    }

    .post.single-big .entry-content {
        flex-direction: column;
    }

    .responsive #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial {
        padding: 0;
    }

    .avia-testimonial-markup-entry-content h2 + p::before {
        left: 0px;
        top: -40px;
        width: 40px;
        height: 38px;
        z-index: -1;
    }

    .avia-testimonial-markup-entry-content {
        padding-left: 0;
    }

    .responsive #top .av-main-nav .menu-item-avia-special a,
    .responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
        padding-left: 0 !important;
    }

    .post-content__text,
    .page:not(.home) .post-entry .avia_textblock,
    .post-content__accordion,
    .page:not(.home) .post-entry .tabcontainer,
    .page:not(.home) .post-entry .togglecontainer,
    .page:not(.home) .post-entry .avia-team-member,
    .single-post .post-entry .avia_textblock,
    .single-post .post-entry .tabcontainer,
    .single-post .post-entry .togglecontainer,
    .single-post .post-entry .avia-icon-list-container,
    .single-post .post-entry .avia-team-member {
        padding-left: 0;
        padding-right: 0;
    }
    .page:not(.home) .post-entry .post-content .av-special-heading,
    .single-post .post-entry .post-content .av-special-heading {
        padding: 20px 0;
    }
    .page:not(.home) .logo.avia-svg-logo,
    .single-post .logo.avia-svg-logo {
        margin-left: 0;
    }
    #top .iconbox_left .iconbox_icon {
        left: -40px;
        top: -30px;
        line-height: 60px;
        font-size: 60px;
        position: relative;
    }
    #top .iconbox_content_container {
        padding-left: 0;
        margin-left: -50px;
    }
    .iconbox .iconbox_content .iconbox_content_title {
        padding-left: 30px;
    }
    /*
    .page:not(.home) #wrap_all,
    .single-post #wrap_all {
        background: none;
    }
    */
    .iconbox_content,
    .avia_textblock {
        background-color: transparent !important;
    }
    .page:not(.home) .container_wrap_first .post-entry > div,
    .home .page:not(.home) .container_wrap_first .post-entry > div,
    .single-post .container_wrap_first .post-entry > div {
        grid-template-rows: 320px 1fr auto;
    }
    .avia-icon-list-container {
        padding: 0;
    }
    .post.single-big .entry-content-wrapper {
        gap: 20px;
    }
    #top .fullsize .template-blog h2.post-title {
        margin: 0 !important;
        padding: 0 !important;
    }
    #top .fullsize .flex_column .template-blog .post .entry-content-wrapper > .entry-content {
        margin-top: -10px;
    }
    .html_entry_id_5217 .avia-content-slider .slide-entry-wrap {
        margin-bottom: 0;
    }
    .html_entry_id_5217 .avia-content-slider .slide-entry-wrap .slide-entry {
        margin-bottom: 50px !important;
    }
    .html_entry_id_5217 .avia-content-slider .slide-entry-wrap .slide-content {
        height: unset;
    }
    .html_entry_id_5217 .avia-content-slider .slide-entry-wrap .slide-content h3 {
        padding-bottom: 7px !important;
    }
    .av-special-heading.avia-builder-el-23  {
        display: inline-grid
    }
    .av-special-heading.avia-builder-el-23.headline--more .special-heading-border {
        display: none;
    }
    .responsive #top #wrap_all .flex_column.avia-builder-el-22 {
        margin-bottom: 60px;
    }
    .avia-testimonial-markup-entry-content h2 {
        margin-left: 40px;
    }
    /* --- ToDo Immo --- */
    .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
        /* width: 75% !important;
        padding: 0 2.5%;
        background-color: #ffffff; */
    }
}
