/* Font Faces */
@font-face {
    font-family: "RobotoCondensed";
    font-style: normal;
    font-weight: 300;
    src: url(fonts/RobotoCondensed-Light.ttf) format("truetype");
}
@font-face {
    font-family: "RobotoCondensed";
    font-style: italic;
    font-weight: 300;
    src: url(fonts/RobotoCondensed-LightItalic.ttf) format("truetype");
}
@font-face {
    font-family: "RobotoCondensed";
    font-style: normal;
    font-weight: 400;
    src: url(fonts/RobotoCondensed-Regular.ttf) format("truetype");
}
@font-face {
    font-family: "RobotoCondensed";
    font-style: italic;
    font-weight: 400;
    src: url(fonts/RobotoCondensed-Italic.ttf) format("truetype");
}
@font-face {
    font-family: "RobotoCondensed";
    font-style: normal;
    font-weight: 700;
    src: url(fonts/RobotoCondensed-Bold.ttf) format("truetype");
}
@font-face {
    font-family: "RobotoCondensed";
    font-style: italic;
    font-weight: 700;
    src: url(fonts/RobotoCondensed-BoldItalic.ttf) format("truetype");
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src:     url('fonts/Roboto-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src:     url('fonts/Roboto-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src:     url('fonts/Roboto-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src:     url('fonts/Roboto-Bold.ttf') format('truetype');
}

/* Variables */
:root {
    --primary: #D2A000;
    --secondary: #f2f2f2;
    --text-color: #000;
    --header-height: 90px;
    --header-space: 0px;
    --white: #fff;
    --font-default: "Roboto", sans-serif;
}
/* Typografie */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-top: 0;
    margin-bottom: 8px;
    font-family: var(--font-default);
    font-weight: 700;
}
h1,
.h1 {
    font-size: 2rem;
    line-height: 2.5rem;
}
h2,
.h2 {
    font-size: 2rem;
    line-height: 2.5rem;
}
h3,
.h3 {
    font-size: 1.75rem;
    line-height: 2.25rem;
}
h4,
.h4 {
    font-size: 1.5rem;
    line-height: 2rem;
}
h5,
.h5 {
    font-size: 1.375rem;
    line-height: 1.875rem;
    text-transform: none;
}
h6,
.h6 {
    font-size: 1.125rem;
    line-height: 1.75rem;
    text-transform: none;
}
#page .ui-widget,
.form-textarea,
.form-email,
.menu.sf-menu li,
b,
optgroup,
strong {
    font-family: var(--font-default);
}
p {
    font-size: 1.0rem;
    margin: 0;
    margin-bottom: 1.125rem;
}
a:hover,
a:active,
a:focus,
.link:hover,
.link:active,
.link:focus {
    border: none;
}

/* General Styles */
*,
*::before,
*::after {
    box-sizing: inherit;
}
html,
body {
    scroll-padding-top: var(--header-height);
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: var(--font-default);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-text-size-adjust: 100%;
    hyphens: auto;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-wrap: break-word;
}
button,
input[type="button"],
input[type="submit"],
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    color: var(--text-color);
    text-decoration: none;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    background-size: 100% 200%;
    background-position: bottom center;
    font-weight: 700;
}
.button.black {
    background: rgba(29, 29, 29, 0.6);
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.button:active,
.button:hover,
.button.active {
    color: var(--text-color);
    background: #D9D9D9;
}
.button.black:focus,
.button.black:hover {
    background-image: unset;
    background: rgba(29, 29, 29, 0.6);
}
.toolbar button.toolbar-icon {
    background: transparent;
}
.modal_login .item-list {
    display: none;
}
.modal_login .button {
    width: 100%;
    margin: 0;
}
#log_overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 10000px;
    top: -30px;
    left: 0px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.system_messages_wrapper {
    max-width: 80vw;
    max-height: 50vh;
    overflow: scroll;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    margin-bottom: 0;
    background-color: var(--primary) !important;
    box-shadow: none;
    color: var(--text_color) !important;
    border-radius: 0;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
        rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
        rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.system_messages_wrapper::-webkit-scrollbar {
    display: none;
}
.system_messages_wrapper .messages {
    display: block;
    clear: both;
    margin-bottom: 0;
    border: none !important;
    background-color: var(--white) !important;
    box-shadow: none;
    color: var(--text_color) !important;
    border-radius: 0;
}
.messages__wrapper.layout-container {
    padding: 0;
}
.system_messages_wrapper .closer {
    float: right;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    margin-right: 0;
    color: var(--text-color);
}
.ui-dialog-titlebar {
    background-color: var(--primary) !important;
}
body.scrolled {
    --header-height: 70px;
}

/* Header */
.toolbar-fixed.toolbar-tray-open {
    --header-space: 29px;
}
.toolbar-fixed {
    --header-space: 40px;
}
.toolbar-fixed.toolbar-horizontal.toolbar-tray-open {
    --header-space: 79px;
}
#page > header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 2;
    padding: 20px 40px;
}
#page.platform > header {
    position: relative;
    background-color: #fff;
}
#page > header.fixt {
    position: fixed;
    top: var(--header-space);
    background-color: #ffffff;
    padding: 10px 40px;
}
/* .toolbar-fixed.toolbar-tray-open #page > header {
    top: 29px;
}
.toolbar-fixed #page > header {
    top: 40px;
}
.toolbar-fixed.toolbar-horizontal.toolbar-tray-open #page > header {
    top: 79px;
} */
#header_wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100%;
}
#header_inner_wrapper {
    display: flex;
    justify-content: space-around;
    height: 100%;
    width: 100%;
}
#header_inner_wrapper {
    flex-direction: column;
}
#header_inner_wrapper > div {
    display: flex;
    align-items: center;
}
#header_inner_wrapper a {
    display: block;
    font-size: 0.75rem;
    line-height: 1.25rem;
    padding: 0;
}
.video-object video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Logo */
#logo {
    display: flex;
    height: 50px;
}
#logo a {
    margin-right: 0.75rem;
}
#logo a.site-logo,
#logo .eueco-logo {
    display: block;
}
#logo .eueco-logo {
    padding-left: 0.5rem;
    height: 100%;
}
#logo img {
    height: 100%;
    max-width: unset;
}

/* Front Menu */
.header-inner #block-mainmenu .content > ul > li > a {
    padding: 0 1.5em;
}
.header-inner #block-mainmenu ul#superfish-main.sf-menu > li:hover > ul,
.header-inner #block-mainmenu ul#superfish-main.sf-menu > li.sfHover > ul {
    top: 3rem;
}
.header-inner #block-mainmenu ul#superfish-main.sf-menu li:hover > ul,
.header-inner #block-mainmenu ul#superfish-main.sf-menu li.sfHover > ul {
    padding-top: 1em;
    background: var(--white);
    box-shadow: 0px 0px 1.5rem 0px rgb(0 0 0 / 16%);
}
.header-inner #block-mainmenu ul.sf-menu li:hover > a {
    color: var(--primary);
}

/* Login Logout Bar */
.login_out_block {
    align-self: center;
    position: relative;
}
.login_out_block a {
    font-family: var(--font-default);
    color: black;
    text-transform: uppercase;
}
#page.platform .login_out_block a {
    color: var(--text-color);
}
.fixt .login_out_block a {
    color: var(--text-color);
}
.modal_login input {
    font-size: 1rem;
}
.modal_login .form-type-password {
    margin-bottom: 0;
}
.modal_login .form-actions {
    padding-top: 0;
}
.modal_login #login_links a {
    margin-top: 1em;
}

/* Primary Menu */
#primary-menu,
.header-inner .content > .menu {
    max-width: 100%;
    display: flex;
    justify-content: flex-end;
}
#primary-menu ul li a {
    color: black;
    background-color: transparent;
    padding: 0.5em;
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: 1.25rem;
}
#page.platform #primary-menu ul li a,
.fixt #primary-menu ul li a {
    color: var(--text-color);
}
#primary-menu .content > ul > li {
    padding: 0.5rem 0;
    margin-right: 2rem;
}
#primary-menu .content > ul > li > a {
    padding: 0.375rem 0;
    position: relative;
}
#primary-menu .content > ul > li > a.is-active,
#primary-menu .content > ul > li > a:hover:before {
    width: 61%;
}
#primary-menu .block-superfish {
    width: auto;
}
#primary-menu ul.sf-menu li:hover > ul,
#primary-menu ul.sf-menu li.sfHover > ul {
    background: var(--primary);
}

/* Mobile Menu */
nav#menu {
    width: 100% !important;
    max-width: unset;
    top: var(--header-height);
}
.toolbar-fixed.toolbar-tray-open nav#menu {
    top: calc(var(--header-height) + 29px);
}
.toolbar-fixed nav#menu {
    top: calc(var(--header-height) + 40px);
}
.toolbar-fixed.toolbar-horizontal.toolbar-tray-open nav#menu {
    top: calc(var(--header-height) + 79px);
}
.mobile-icons {
    display: none;
}
.mobile-icons i {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    font-size: 30px;
}
#page.platform > header .mobile-icons i,
.fixt .mobile-icons i {
    color: var(--text-color);
}
.mm-menu {
    background: var(--white);
    color: var(--primary);
}
.mm-navbars-top {
    display: none;
}
.mm-hasnavbar-top-2 .mm-panels {
    top: 0;
}
.mm-panels > .mm-panel {
    padding: 0rem 3rem;
    background: var(--primary);
}
.mm-panels .menu-item {
    padding: 0.5rem 0;
}
.mm-panels .menu-item a:not(button) {
    transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
    line-height: 1.25rem;
    font-family: var(--font-default);
    font-weight: 700;
    text-transform: uppercase;
}
.mm-panel li.menu-item--expanded ul > li {
    padding-left: 1rem;
}
.mm-navbars-bottom a.button {
    color: var(--white);
    padding: 0.5em 1em;
    margin-top: 15px;
}
.login-logout-mobile {
    display: none;
    float: left;
    padding: 0 20px;
}
.logoutin_mob {
    margin-top: 0 !important;
    border: none !important;
}
.logoutin_mob a {
    padding-top: 0 !important;
    font-size: 16px;
}

/* Header Image */
.view-headerbilder {
    position: relative;
}
.headerbild-not-front .headerimage .slideshow_image {
    height: 600px;
}
.headerimage .headerbild_image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.headertext {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.headertext .slideshow_content_wrapper {
    max-width: 1160px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.headertext .slideshow_content_inner_wrapper {
    display: flex;
    flex-direction: column;
}
.headertext h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
}
.headertext p {
    margin: 0;
}

/* Allgemeine Styles */
a,
.link {
    color: var(--text-color);
}
.link {
    text-transform: uppercase;
    font-weight: 700;
}
a:hover,
a:focus,
.link:hover,
.link:focus {
    color: var(--primary);
}
.ptb-40 {
    padding-top: 4rem;
    padding-bottom: 6rem;
}
.color-primary {
    color: var(--primary);
}
.color-secondary {
    color: var(--secondary);
}
.bg-primary {
    background: var(--primary);
}
.bg-secondary {
    background: var(--secondary);
}
.bg-white {
    background: var(--white);
}
.bg-grey {
    background: #e8e8e8;
}
.bg-primary {
    background: var(--primary);
}
.bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Welcome */
.ego-welcome {
    display: flex;
    gap: 10px;
}
.ego-welcome > div {
    text-align: center;
    width: 100%;
}
.ego-welcome .title {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Steps */
.ego-steps {
    display: flex;
    justify-content: space-around;
}
.ego-steps .step {
    display: flex;
    align-items: center;
    text-align: center;
    height: 250px;
    aspect-ratio: 1;
    border-radius: 200px;
    background-color: #d9d9d9;
    justify-content: center;
}
.ego-steps a.step:hover {
    color: #000;
}
.ego-steps .step p {
    margin: 0 1.125rem;
}
.ego-steps .step:hover,
.ego-steps .step.green {
    background-color: var(--primary);
}

/* Projekte */
.projekte_wrapper .projekt {
    margin-bottom: 2rem;
    padding: 0 5px;
}
.projekte_wrapper .projekt p {
    margin: 1rem 0;
}
/* .projekte_wrapper .slick-prev::before,
.projekte_wrapper .slick-next::before {
    content: unset;
}
.projekte_wrapper .slick_slider {
    margin: 0 40px;
}
.projekte_wrapper .slick-prev,
.projekte_wrapper .slick-next {
    width: 40px;
    height: 40px;
    top: 31%;
}
.projekte_wrapper .slick-prev {
    background: transparent !important;
    background-image: url(/sites/all/modules/ee_portfolio/images/eueco/icons/arrow_left.png) !important;
    left: -40px;
}
.projekte_wrapper .slick-next {
    background: transparent !important;
    background-image: url(/sites/all/modules/ee_portfolio/images/eueco/icons/arrow_right.png) !important;
    right: -40px;
} */
/* .projekte_wrapper .info_content {
    display: none;
} */
.projekte_wrapper .info_content .project-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}
.projekte_wrapper .info_content .project-details > div{
    width: 100%;
}

/* FAQ */
.faq_header {
    gap: 25px;
}
.faq_header a {
    text-decoration: none !important;
    color: var(--text-color) !important;
    width: 100%;
    text-align: center;
    background: var(--secondary);
    padding: 0.5rem 1rem;
}
.faq_header a.active {
    background: var(--primary);
    position: relative;
}
.block-ee-faq {
    margin: 2em 0;
}
.faq_block {
    display: none;
}
#faq .faq_body .block-ee-faq:first-child .faq_block {
    display: block;
}
.block-ee-faq .ui-accordion-content {
    border: none;
    color: var(--text-color);
    border-radius: 0;
    background: var(--white);
    padding: 0;
    padding-bottom: 1.125rem;
}
.block-ee-faq .ui-accordion-content p:last-child {
    margin-bottom: 0;
}
.block-ee-faq .ui-accordion-header-icon {
    display: none;
}
.block-ee-faq .ui-accordion-header {
    color: var(--text-color);
    font-weight: 700;
    padding: 0.9em 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--text-color);
    background: var(--white);
    font-family: var(--font-default);
}
.block-ee-faq .ui-accordion-header.ui-accordion-header-active {
    padding: 0.9em 0;
    border: none !important;
    border-top: 1px solid var(--text-color) !important;
    border-radius: 0;
}
.block-ee-faq .ui-accordion-header:first-child {
    border: none;
    border-top: none !important;
}
.block-ee-faq .ui-accordion-header::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f078";
    transition: all 0.5s;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0;
    top: 10px;
}
.block-ee-faq .faq_headline {
    display: none;
}

/* Datenschutz */
.divtable {
    display: table;
    width: 100%;
}
.divrow {
    display: table-row;
}
.divrow > div {
    display: table-cell;
    padding: 0.5rem 0;
}
.divrow:first-child > div {
    border-top: none;
}
.divtable .divrow > div:first-child {
    width: 38%;
}
.divtable .divrow > div:last-child {
    text-align: right;
    width: 60%;
}
.divtable .divrow:last-child > div {
    border-bottom: none;
}
.datenschutz .divrow > div {
    display: table-cell;
    border-bottom: 1px solid var(--primary);
    padding: 10px;
}
.datenschutz .divrow > div:nth-child(3) {
    width: 150px;
}
.datenschutz .divrow > div:first-child {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-focus);
}
.datenschutz .divrow > div:first-child {
    font-weight: 600;
    font-size: inherit;
    color: var(--primary-focus);
    width: auto;
}
.datenschutz .divrow.th {
    font-weight: 600;
    color: var(--primary-focus);
}
.datenschutz .divrow > div:last-child {
    text-align: left;
    width: auto;
}
.datenschutz .divrow {
    width: 100%;
    float: none;
    display: table-row;
    padding-right: 5%;
    border-left: none;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-bottom: 1px solid var(--primary);
}
.datenschutz.divtable .divrow:last-child > div {
    border-bottom: 1px solid var(--primary) !important;
}

/* Div Table */
.divTable {
    display: table;
    width: 100%;
}
.divTableRow {
    display: table-row;
}
.divTableHeading {
    background-color: #eee;
    display: table-header-group;
}
.divTableCell,
.divTableHead {
    display: table-cell;
    padding-top: 1rem;
    padding-right: 0.5rem;
}
.divTableHeading {
    background-color: #eee;
    display: table-header-group;
    font-weight: bold;
}
.divTableFoot {
    background-color: #eee;
    display: table-footer-group;
    font-weight: bold;
}
.divTableBody {
    display: table-row-group;
}

/* Footer */
footer {
    margin-top: 2em;
    padding-top: 2rem;
    background: rgba(0,0,0,0.05);
}
footer ul.menu {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 1.25rem 0;
}
footer ul.menu a.is-active,
footer ul.menu a {
    color: var(--text-color);
    text-decoration: underline;
    font-size: 0.875rem;
}
footer .vermittler_hinweis {
    padding-top: 2rem;
}
footer .menu-toggle {
    display: none;
}
.region-footer {
    display: block;
}
#footer {
    padding: 0 1rem;
}
.footer-adress {
}
.footer-adress h6 {
    font-size: 1.25rem;
    letter-spacing: normal;
}
.footer-adress .flex_block {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.13);
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    gap: 2rem;
}
.footer-adress .flex_block div {
    min-width: 180px;
}
