@media (max-width: 1600px) {
}

@media all and (max-width: 1230px) {
  /* #header_inner {
    flex-wrap: wrap;
    align-items: center;
    padding-top: 10px;
  } */

  #pid-kontakt .platform #main *{
    box-sizing: border-box;
  }

  #header_inner .eueco-logo {
    margin-bottom: 0px;
    margin-right: 20px;
  }

  #header_inner .eueco-logo img {
    max-width: 100px;
  }

  #primary_menu_wrapper {
    order: 2;
    width: 100%;
  }

  #logo .site-logo img {
    max-height: 70px;
    margin-top: 0px;
  }

  #header_inner #logo {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  #primary-menu {
    width: auto;
  }

  .header_fixt .eueco-logo img,
  .header_fixt #logo .site-logo img {
    max-height: 70px;
    margin: 0;
  }

  .header_fixt #header_inner #logo,
  .header_fixt .eueco-logo {
    margin-bottom: 0;
  }

  .flex_block.two {
    flex-direction: column;
  }

  footer #footer {
    display: block;
    width: 90%;
    margin: 0 auto;
  }

  #footer_middle {
    width: 90%;
  }

  form {
    box-sizing: border-box;
  }

  form * {
    box-sizing: border-box;
  }

  #main-content .region-content {
    width: 90%;
    margin: 0 auto;
    flex-grow: 0;
  }

  #main-content {
    display: block;
  }

  #main-content #content_top_wrapper {
    width: 90%;
    margin: 0 auto;
  }

  .tech_wrapper {
    display: flex;
  }

  .tech_wrapper img {
    max-height: 300px;
    width: auto;
    padding-right: 80px;
  }
}

@media all and (max-width: 1040px) {
  #mobile_menu_wrapper #menu > div {
    padding: 2rem;
  }
}

@media all and (max-width: 980px) {
  .grid-wrapper article.bg-image p,
  .grid-wrapper article.bg-image h2 {
    text-align: center;
    margin-top: 0;
    font-size: 14px;
  }
  .grid-wrapper article h2 {
    font-size: 18px;
    margin: 0;
  }
  .grid-wrapper article:not(.image) {
    padding: 3rem 2rem;
  }

  #mobile_menu_wrapper #menu {
    width: 100%;
  }

  .text-element--text {
    width: 100%;
  }
}

@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: var(--primary);
    font-size: 100%;
  }

  .datenschutz .divrow > div:first-child {
    font-weight: normal;
    font-size: inherit;
    color: #333333;
    width: auto;
  }
  #mm_navibutton_wrapper {
    display: flex;
    align-items: center;
  }

  #primary_menu_wrapper {
    display: none;
  }
}

@media (max-width: 867px) {
  .divTableCell,
  .divTableHead {
    display: table-cell;
    text-align: left;
  }

  .divTableRow {
    display: table-row;
  }

  .flex.side {
    margin-top: 0px;
    display: block;
  }

  .slide-text p:last-child {
    text-align: left !important;
  }
}

@media all and (max-width: 767px) {
  section.details-tab .details {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: unset;
  }
  section.details-tab .details p {
    width: 90%;
  }
  #pid-ueber-uns #page > header,
  #pid-sogehts #page > header,
  .front #page > header {
    position: unset;
    display: block;
    width: 100%;
  }
  .testimonial-wrapper {
    display: unset;
  }
  .grid-wrapper .overlay h2::after,
  article.divider h2::after {
    width: 10%;
    margin: 0 auto;
  }
  .grid-wrapper article:not(.image) {
    padding: 5%;
  }

  section.grid-wrapper {
    grid-template-columns: 1fr;
  }
  .testimonial-wrapper,
  .grid-wrapper article {
    grid-column: unset;
    /* min-height: unset; */
    text-align: center;
  }

  section.details-tab {
    flex-direction: column;
  }

  .faq_header {
    flex-direction: column;
    gap: 1em;
  }

  .text-element--content {
    flex-direction: column;
  }

  .text-element--content > * {
    width: 100%;
  }

  /* #header_inner #logo,
  #header_inner .eueco-logo {
    order: 0;
    width: auto;
    padding-right: 0;
  }

  #header_inner {
    padding: 1rem;
    height: auto;
    align-items: center;
  } */

  #page > header {
    height: auto;
  }

  #preface_top {
    margin-top: 0px;
  }

  #logo .site-logo img {
    margin-top: 0;
  }

  #page.header_fixt > header,
  header {
    height: auto;
  }

  #main-content {
    display: block;
    width: 100%;
  }

  #mobile_menu_wrapper #menu {
    padding-top: 95px;
  }
  #logo .site-logo img {
    max-height: 70px;
    width: 150px;
    height: auto !important;
  }

  .form-actions .button {
    width: auto;
  }

  .tech_wrapper .table {
    display: block;
  }

  .tech_wrapper .table > div {
    display: block;
  }

  .tech_wrapper .table > div > div {
    display: block;
  }

  h1,
  h2,
  h3 {
    font-size: 25px;
  }

  .faq_header a,
  a.j_button {
    padding: 14.2px 30px;
  }
  .region-footer-bottom {
    flex-direction: column;
  }
}

@media all and (max-width: 740px) {
  p {
    font-size: 16px;
  }
}

@media (max-width: 730px) {
  #page > header,
  #page > header.fixt {
    --header-height: 80px;
  }

  #logo .site-logo img {
    height: 45px;
  }

  #logo img {
    width: 100px;
  }

  #main-inner {
    display: block;
  }

  .region-preface-top {
    height: 100% !important;
  }

  .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: 100% !important;
    max-width: 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 {
    float: none !important;
  }
}

@media all and (max-width: 680px) {
  #page.platform #main-wrapper,
  #footer,
  #footer_wrapper_inner,
  #header_inner {
    padding: .5rem;
  }
}

@media all and (max-width: 640px) {
  #header_inner {
    padding: 0.5rem 0.5rem;
  }

  header.fixt #header_inner {
    margin: 0;
  }

  .hamburger-box {
    width: 25px;
    height: 25px;
  }

  .navigation-trigger--mobile .hamburger {
    padding: 14px 14px 3px !important;
  }

  .hamburger-inner,
  .hamburger-inner::after,
  .hamburger-inner::before {
    width: 24px;
    height: 3px;
  }

  .hamburger--slider .hamburger-inner::before {
    top: 9px;
  }

  .hamburger--slider .hamburger-inner::after {
    top: 19px;
  }

  .hamburger--slider.is-active .hamburger-inner::after {
    transform: translate3d(0, -19px, 0) rotate(-90deg);
  }

  .hamburger--slider.is-active .hamburger-inner {
    transform: translate3d(0, 10px, 0) rotate(45deg);
  }

  #footer_wrapper_inner {
    flex-direction: column-reverse;
    gap: 3rem;
  }

  #footer_wrapper_inner > * {
    width: 100%;
  }
  .faq_header a {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  #ee_subscription_block {
    padding: 0 !important;
  }
  footer .content ul.menu {
    margin-top: 20px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  footer ul.menu li a::after {
    position: unset;
    margin: 0;
  }
  footer .content ul.menu a{
    padding: 0;
    margin: 0;
  }
  footer .vermittler_hinweis{
    text-align: center;
  }
}

@media (max-width: 550px) {
  .slick-prev {
    left: -30px !important;
  }

  .slick-next {
    right: -30px !important;
  }
}

@media (max-width: 540px) {
  #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;
  }

  .headerimage .headerbild_image img {
    min-height: 210px;
  }

  .tech_wrapper {
    display: block;
  }

  .tech_wrapper img {
    max-height: 300px;
    width: auto;
    padding-right: 0px;
    display: block;
    margin: 0 auto;
  }

  .tech_wrapper .table {
    display: table;
    margin-top: 20px;
  }

  .tech_wrapper .table > div {
    display: table-row;
  }

  .tech_wrapper .table > div > div {
    display: table-cell;
  }

  #logo .site-logo img {
    max-height: 70px;
  }

  #header_inner {
    flex-wrap: wrap;
  }

  .eueco-logo div {
    margin-bottom: 0px;
    font-size: 10px;
  }

  #header_inner .eueco-logo img {
    margin-top: 0px;
  }

  #mobile_menu_wrapper #menu {
    padding-top: 160px;
  }
}

@media (max-width: 460px) {
  body {
    word-break: break-word;
  }

  .headerimage .headerbild_image {
    height: 30vh;
  }

  .headertext .slideshow_content_inner_wrapper {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }

  .flex.wrap.two-cols > * {
    min-width: unset;
    width: 100%;
    flex: auto;
  }

  #pid-customer-portfolio table.tablesorter thead tr th,
  #pid-customer-portfolio table.tablesorter tfoot tr th,
  #pid-customer-portfolio table.dataTable thead tr th,
  #pid-customer-portfolio table.dataTable tfoot tr th {
    font-size: 0.5rem;
  } 
}

@media all and (max-width: 440px) {
  .header-element--inner-cap {
    border-radius: 93px 0;
  }

  .header-element--headline {
    font-size: 26px;
  }
}

@media (max-width: 400px) {
  #logo a.site-logo {
    font-size: 1rem;
  }
}

@media (max-width: 350px) {
  #logo .eueco-logo {
    display: none;
  }
}

#content .node header {
  height: 0px;
}
