@media (max-width: 1024px) {
    #headetop_small_banner {
        display: none;
    }
    .toolbar-fixed header {
        top: 39px;
    }
    .toolbar-fixed.toolbar-tray-open header {
        top: 79px;
    }
    .divTableCell,
    .divTableHead {
        display: block;
        text-align: center;
    }
    .divTableRow {
        display: block;
        margin-bottom: 1.5em;
    }
    .why-wp .info-slider .slide .title {
        font-size: 2em;
    }
    .why-wp .info-slider .slide .description {
        font-size: 1.2em;
    }
}
@media (max-width: 1000px) {
    :root {
        --header-height: calc(90px - 2rem);
    }
    /* Header */
    #header_top_inner .header-right {
        position: fixed;
        top: 75vh;
        left: -50%;
        transform: translateX(-50%);
        transition: all 0.5s ease;
    }
    #header_top_inner .header-right.active {
        left: 50%;
    }
    #headertop_menu_wrapper {
        background: #fff;
    }
    .eueco-logo {
        height: 100%;
    }
    #primary-menu ul.menu {
        font-size: 1.2rem;
    }
    /* slider */
    .view-header-slider .views-row,
    .view-header-slider .views_slideshow_slide,
    .view-header-slider .views_slideshow_cycle_teaser_section {
        height: 100% !important;
        position: relative !important;
    }
    .view-header-slider .slideshow_image {
        width: 100%;
        position: relative;
        background-position: center;
        height: 70vh;
        right: unset;
        top: unset;
    }
    .view-header-slider .slideshow_content {
        position: relative;
        text-align: center;
        padding: 2em;
        min-height: 350px;
        height: auto;
        z-index: 1;
        background: var(--secondary);
    }
    .view-header-slider .field-content,
    .view-header-slider .field-content h3 {
        margin-left: auto;
        margin-right: auto;
    }
    .view-header-slider h2.field-content {
        font-size: 26px;
        line-height: 30px;
    }
    .view-header-slider .field-content h3 {
        font-size: 18px;
        line-height: 22px;
    }
    .view-header-slider .slideshow_content::before {
        content: none;
    }
    .view-header-slider .slideshow_content::after {
        content: none;
    }
    .view-header-slider .views-slideshow-controls-bottom {
        bottom: unset;
        top: calc(var(--header-height) + 2em);
    }
    /* slope */
    .slope {
        background-position: -50% 50%;
    }
}

@media (max-width: 878px) {
    .datenschutz .divrow,
    .datenschutz .divrow > div {
        display: block;
        width: 100% !important;
    }
    .datenschutz .divrow {
        border: none;
        padding: 0px;
    }
    .datenschutz .divrow.th {
        display: none;
    }
    .datenschutz .divrow div:before {
        content: attr(title) ":";
        display: block;
        font-weight: 600;
        color: #f90;
        font-size: 100%;
    }
    .datenschutz .divrow > div:first-child {
        font-weight: normal;
        font-size: inherit;
        color: #333333;
        width: auto;
    }
    #pid-kontakt #main .block-webform {
        width: 100%;
    }
}

@media (max-width: 867px) {
    .divTableCell,
    .divTableHead {
        display: table-cell;
        text-align: left;
    }
    .divTableRow {
        display: table-row;
    }
}
@media (max-width: 800px) {
    #footer_middle {
        background: var(--secondary);
    }
}

@media (max-width: 730px) {
    #primary-menu {
        display: block;
    }
    .header-inner,
    .region-header-top,
    .region-navigation,
    .region-preface-top,
    .region-preface-bottom,
    .region-content-top,
    #content,
    .region-content-bottom,
    .region-postscript-top,
    .region-postscript-bottom,
    .region-footer,
    .region-footer-bottom,
    #main,
    #main-inner,
    #page,
    #preface,
    #preface_top,
    .region-preface-top,
    .region-preface-top .content {
        width: auto !important;
        max-width: unset;
    }
    #main-inner {
        flex-wrap: unset;
    }
    #pid-customer-portfolio .ee-portfolio-project-details .title,
    #pid-customer-portfolio .ee-portfolio-project-details .value {
        width: 50% !important;
    }
    #pid-customer-portfolio #ee-project-type-title {
        font-size: 0px;
    }
    #ee_customer_data_block .form-select {
        margin-left: 0px;
        width: auto;
    }
    #pid-customerdata .platform #main * {
        box-sizing: border-box;
    }
    #pid-customerdata .platform #main {
        width: 100%;
    }
    #edit-account .form-item-current-pass {
        margin-left: 0px !important;
    }
    #pid-customerdata .platform #main-content {
        float: none !important;
    }
    #ee_customer_data_block #group-manager-wrapper .value-ok,
    #ee_customer_data_block #group-contact-wrapper .value-ok {
        margin-right: 0px !important;
    }
    #ee_customer_data_block #group-master-data-wrapper,
    #ee_customer_data_block #group-address-wrapper,
    #ee_customer_data_block #group-account-area-wrapper,
    #ee_customer_data_block #group-crm-wrapper,
    #ee_customer_data_block #group-identification-wrapper,
    #ee_customer_data_block #group-kist-wrapper {
        width: 100% !important;
        box-sizing: border-box;
        margin-top: 10px;
    }
    .page-user #page #user-profile-form legend,
    .page-user #page legend a,
    #pid-customerdata legend a,
    #ee_customer_data_block #group-master-data-wrapper legend a,
    #ee_customer_data_block #group-address-wrapper legend a,
    #ee_customer_data_block #group-account-area-wrapper legend a {
        height: auto !important;
        font-size: 20px !important;
    }
    #ee_customer_data_block #group-customer-class-wrapper {
        display: block;
        float: none;
        height: auto !important;
        box-sizing: border-box;
    }
    #ee_customer_data_block #edit-field-foundation-date-wrapper input,
    #ee_customer_data_block #group-customer-class-wrapper select {
        margin-bottom: 5px !important;
    }
    #edit-field-foundation-date-outer-wrapper .container-inline-date {
        margin: 0px;
    }
    #ee_customer_data_block #edit-field-offline-customer-outer-wrapper {
        margin-left: 0px;
    }
    #ee_customer_data_block #edit-field-regtype-wrapper .description,
    #ee_customer_data_block #edit-field-offline-customer-outer-wrapper {
        display: block;
        float: none;
        clear: both;
    }
    #ee_customer_data_block #edit-field-offline-customer-outer-wrapper {
        margin-left: 0px !important;
    }
    #group-identification-wrapper,
    #group-crm-wrapper,
    #group-kist-wrapper,
    #group-offers-wrapper,
    #group-advantage-wrapper {
        padding-left: 10px !important;
        box-sizing: border-box;
    }
    #ee_customer_data_block #edit-field-regtype-wrapper .description {
        margin-top: 0px;
    }
    #ee_customer_data_block #group-customer-class-wrapper .fieldset-wrapper {
        float: none;
        margin-left: 0px;
        position: static;
    }
    #ee_customer_data_block #edit-field-birthday-outer-wrapper {
        height: auto;
    }
    #ee_customer_data_block .inner-wrapper,
    #ee_customer_data_block .outer-wrapper,
    #ee_customer_data_block .form-item {
        display: block;
    }
    #edit-account .form-item-roles {
        display: none;
    }
    #ee_customer_data_block .value-ok {
        margin-left: 10px;
    }
    #ee_customer_data_block .form-select,
    #ee_customer_data_block #group-master-data-wrapper input,
    #ee_customer_data_block #group-address-wrapper input,
    #ee_customer_data_block #group-account-area-wrapper input,
    #ee_customer_data_block #group-crm-wrapper input,
    #ee_customer_data_block #group-manager-wrapper input,
    #ee_customer_data_block #group-kist-wrapper input,
    #ee_customer_data_block #group-contact-wrapper input,
    #ee_customer_data_block #group-crm-wrapper .form-text,
    #ee_customer_data_block #group-identification-wrapper input {
        display: inline-block;
        width: 80% !important;
        margin-bottom: 20px;
        box-sizing: content-box !important;
    }
    #ee_customer_data_block #edit-field-offline-customer-outer-wrapper {
        margin-left: 0px;
    }
    #ee_customer_data_block .form-submit {
        float: none;
        display: block;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    #ee_customer_data_block .fieldset-wrapper .description {
        margin-left: 0px;
    }
    #ee-customer-insert-block-form .fieldset-wrapper .description {
        display: block;
        position: unset;
        float: left;
        margin-bottom: 1em;
    }
    #ee_customer_data_block details,
    .page-user #page #user-profile-form details,
    #ee-customer-insert-block-form details,
    .page-user #page #user-profile-form fieldset,
    #ee-customer-insert-block-form fieldset {
        width: 100%;
    }
    #ee_customer_data_block .value-ok,
    #ee_customer_data_block .indicator-error {
        float: right;
    }
    #ee-portfolio-main-table thead {
        display: none !important;
        float: none !important;
    }
}
@media (max-width: 680px) {
    /* slider */
    .view-header-slider {
        overflow: hidden;
        background: var(--secondary);
    }
    .view-header-slider .slideshow_content {
        min-height: unset;
        overflow: visible;
    }
    .view-header-slider .field-content,
    .view-header-slider .field-content h3 {
        margin-left: auto;
        margin-right: auto;
    }
    .view-header-slider .slideshow_content::before {
        content: "";
        transform: rotate(-23.4deg);
        left: -20%;
        width: 150%;
        height: 150%;
    }
    .view-header-slider .slideshow_content::after {
        content: "";
        transform: rotate(136.8deg);
        width: 50%;
        height: 200%;
        top: -70%;
        background-size: contain;
        background-position: 50%;
        left: 0;
    }
    .view-header-slider .views-slideshow-controls-bottom {
        bottom: unset;
        top: calc(var(--header-height) + 2em);
    }
    .view-header-slider h2.field-content {
        font-size: 20px;
        line-height: 24px;
    }
    .view-header-slider .field-content h3 {
        font-size: 14px;
        line-height: 18px;
    }
    /* slope */
    .slope {
        height: 600px;
        background-position: top center !important;
        padding: 0;
    }
    .slope::before {
        content: none;
    }
    .slope .slope-wrap {
        position: absolute;
        bottom: 0;
        width: 100%;
        background-color: var(--secondary);
        padding: 2em;
    }
}
@media (max-width: 600px) {
    #ee_subscription_block {
        padding: 0 !important;
    }
    .webform-submission-form input.form-text,
    .webform-submission-form input.form-tel,
    .webform-submission-form input.form-email,
    .webform-submission-form input.form-url,
    .webform-submission-form input.form-search,
    .webform-submission-form input.form-file,
    .webform-submission-form input.form-number,
    .webform-submission-form input.form-color,
    .webform-submission-form textarea.form-textarea {
        width: 100%;
    }
}
@media (max-width: 550px) {
    #logo img {
        max-width: 160px;
    }
    #logo img#eueco-header-logo {
        max-width: 110px;
        /* height: auto; */
    }
    .eueco-logo {
        height: auto;
    }
}
@media (max-width: 530px) {
    .region-footer-middle {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .region-footer-middle ul.menu {
        text-align: center;
    }
    #pid-impressum .ee_content_block,
    #pid-datenschutz .ee_content_block {
        word-break: break-word;
    }
    .divTableCell,
    .divTableHead {
        display: block;
        text-align: center;
    }
    .divTableRow {
        display: block;
        margin-bottom: 1.5em;
    }
    .why-wp .flex > div {
        padding: 2em;
    }
}
@media (max-width: 460px) {
    .flex.wrap.three-cols > *,
    .flex.wrap.two-cols > * {
        min-width: unset;
        width: 100%;
        flex: auto;
    }
}
@media (max-width: 350px) {
    #logo img#eueco-header-logo {
        display: none;
    }
    .vermittler_hinweis img {
        width: 100%;
    }
}
