html {
    scrollbar-gutter: stable;
}

body {
    width: 950px;
    margin: 0 auto;
    background: #ebebeb;
    color: #333;
    font: 14px/130% Arial, Helvetica, sans-serif;
}

h1 {
    color: #333;
    font: italic 20px Arial, Helvetica, sans-serif;
    letter-spacing: 0.02em;
    border-bottom: 2px solid #008C50;
    padding-bottom: 15px;
}

a {
    color: #008c50;
    text-decoration: underline;
}

img {
    object-fit: contain;
    align-self: center;
}

ul {
    padding-left: 1em;
    line-height: 1.4em;
    list-style: square outside;
}

.content {
    margin: 35px 10px 30px 10px;
}

    .content h4 {
        margin-bottom: 0.5rem;
    }

    .content p {
        margin-top: 0.5em;
    }

    .content ul {
        margin-top: 0.5em;
    }

.leftPane {
    width: 570px;
}

.imgBorder {
    background: #d6d6d6;
    padding: 5px;
}

.flexColumns {
    display: flex;
    column-gap: 30px;
}

.flexColumnsSpaceBetween {
    display: flex;
    justify-content: space-between;
    column-gap: 50px;
}

.equalFlexColumns {
    display: flex;
    column-gap: 10px;
}

    .equalFlexColumns > * {
        flex: 1 1 0;
        width: 0;
        height: 175px;
        object-fit: cover;
    }

    .equalFlexColumns > .panorama {
        flex-grow: 2;
        flex-basis: 10px;
    }

.spaceAbove1 {
    margin-top: 1rem;
}

.spaceBelow1 {
    margin-bottom: 1rem;
}

.spaceAbove2 {
    margin-top: 2rem;
}

.spaceBelow2 {
    margin-bottom: 2rem;
}

.imageAndText {
    display: flex;
    column-gap: 20px;
    align-items: center;
    margin: 0.5rem 0;
}

    .imageAndText img {
        width: 160px;
    }

    .locations .imageAndText img {
        width: 200px;
    }

.fadein3  {
    position: relative;
    width: 300px;
    min-height: 200px;
}

    .fadein3 img {
        position: absolute;
        width: 100%;
        -webkit-animation-name: fade;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-duration: 6s;
        animation-name: fade3;
        animation-iteration-count: infinite;
        animation-duration: 6s;
    }
    @-webkit-keyframes fade3 {
        0% {opacity: 0;}
        20% {opacity: 1;}
        33% {opacity: 1;}
        53% {opacity: 0;}
        100% {opacity: 0;}
    }
    @keyframes fade3 {
        0% {opacity: 0;}
        20% {opacity: 1;}
        33% {opacity: 1;}
        53% {opacity: 0;}
        100% {opacity: 0;}
    }
    .fadein3 img:nth-child(2) {
        -webkit-animation-delay: -4s;
    }
    .fadein3 img:nth-child(3) {
        -webkit-animation-delay: -2s;
    }

.imageTable {
    width: 100%;
    table-layout: fixed;
}

    .imageTable td > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 4px;
        height: 100%;
    }

    .imageTable td > div {
        font-size: 0.85em;
    }

    .imageTable img {
        flex: 1 1 0;
        object-fit: cover;
        width: 100%;
    }

    /* Cursed cross browser stuff */
    @supports (-moz-appearance:none) {
        .imageTable tr {
            height: 200px;
        }
        .imageTable td {
            height: 100%;
        }
        .imageTable img {
            height: 100%;
        }
    }
    @supports not (-moz-appearance:none) {
        .imageTable td {
            height: 200px;
        }
        .imageTable img {
            height: 175px;
        }
    }

.newsItem {
    background: #d6d6d6;
    margin: 1.5rem 0;
    padding: 1.5rem;
}

    .newsItem h3 {
        margin-top: 0;
    }

    .newsItem > div {
        margin-top: 2rem;
    }

.separator {
    width: 100%;
    height: 5px;
    background: #c1c1c1;
}

/* menu */

.menu, .menu ul, .menu li, .menu a {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    font-weight: normal;
}

.menu {
    height: 55px;
    background: #c1c1c1;
    position: relative;
    z-index: 90;
}

.menu ul {
    position: absolute;
    top: 55px;
    left: 0;
    opacity: 0;
    padding-bottom: 5px;
    background: #fad200;
    border-bottom: none;
    z-index: 91;
}

.menu li {
    position: relative;
    list-style: none;
    float: left;
    display: block;
    height: 55px;
}

    .menu li:hover {
        background: #fad200;
        text-shadow: 0px 0px 3px #fff, 0px 0px 5px #fff, 0px 0px 10px #fff, 0px 0px 15px #fff, 0px 0px 20px #fff, 0px 0px 25px #fff;
        transition: background 0.1s ease-in 0.0s;
        -webkit-transition: background 0.1s ease-in 0.0s;
    }

    .menu li:hover > ul {
        opacity: 1;
        transition: opacity 0.25s ease-in 0.05s;
        -webkit-transition: opacity 0.25s ease-in 0.05s;
    }

    .menu li:hover > ul li {
        height: 25px;
        overflow: visible;
        width: 100%;
    }

.menu a {
    display: block;
    padding: 15px 20px 15px 20px;
    margin: 0;
    text-decoration: none;
    font: italic 18px Arial, Helvetica, sans-serif;
    color: #333;
}

.menu ul li {
    height: 0;
    overflow: hidden;
    padding: 0;
    line-height: 36px;
    z-index: 92;
    position: relative;
    display: block; 
}

.menu ul li a {
    width: auto;
    padding: 6px 20px 6px 20px;
    line-height: 100%;
    margin: 0;
    white-space: nowrap;
    font-weight: normal;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size: 15px;
}

    .menu ul li a:hover {
        text-shadow: 0px 0px 3px #fff, 0px 0px 5px #fff, 0px 0px 10px #fff, 0px 0px 15px #fff, 0px 0px 20px #fff, 0px 0px 25px #fff, 0px 0px 30px #fff, 0px 0px 40px #fff, 0px 0px 50px #fff;
        color: #008C50;
    }

#index .menu .menuIndex,
#products .menu .menuProducts,
#sustainability .menu .menuSustainability,
#services .menu .menuServices,
#jobs .menu .menuJobs,
#news .menu .menuNews,
#references .menu .menuReferences,
#aboutUs .menu .menuAboutUs {
  background: #fad200;
}

/* header */

.headerHome {
    background: url(images/branding-home.jpg) no-repeat;
    height: 287px;
    position: relative;
}

.header {
    background: url(images/branding.jpg) no-repeat;
    height: 167px;
    position: relative;
}

.logo {
    margin-top: 25px;
    float: left;
}

.brandingText {
    position: relative;
    width: 500px;
    top: 40px;
    left: 50px;
    color: #333;
    font: italic bold 45px Arial, Helvetica, sans-serif;
    text-shadow: 0px 0px 3px #fff, 0px 0px 5px #fff, 0px 0px 10px #fff, 0px 0px 15px #fff, 0px 0px 20px #fff, 0px 0px 25px #fff, 0px 0px 30px #fff, 0px 0px 40px #fff, 0px 0px 50px #fff;
}

.visualKey {
    background: url(images/betonmischer.png) no-repeat;
    width: 380px;
    height: 250px;
    position: relative;
    left: 580px;
}

    .headerHome .visualKey {
        top: -30px;
    }

    .header .visualKey {
        top: 35px;
    }

.headerShadow {
    background: url(images/bg-content.jpg) repeat-x;
    height: 100%;
    position: relative;
    z-index: -1;
}

.headerHome .headerShadow {
    top: -144px;
}

.header .headerShadow {
    top: -83px;
}

/* footer */

.footerInfo {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    background: #d6d6d6;
    padding: 20px;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ccc;
    background: #8d8d8d;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
}

    .footer a {
        color: #ccc;
        text-decoration: none;
    }

    .footer a:hover {
        color: #fff;
        text-decoration: underline;
    }

.footer ul {
    margin: 0;
    padding: 0;
}

.footer ul li {
    display: inline;
}