/* This style sheet contains the style of the gdtf landing page       */
/* Copyright 2023 MA Lighting Technology GmbH                         */


/*/////////////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Main HTML /////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

body {
    display: flex;
    flex-direction: column;
    padding-bottom: 5em;
    background-color: white;
    max-width: 100vw;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
    color: black;
}

a img {
    cursor: pointer;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Menu //////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

#headBadge {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 30;
    background-color: black;
    padding: 20px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100vw;
    min-height: 73px;
}

#headBadge:has(#username) {
    padding: 13px 12px;
}

#headBadge .burger {
    display: none;
}

@media screen and (max-width: 1300px) {
    #headBadge #navMiddle,
    #headBadge #navRight {
        display: none;
    }

    #headBadge .burger {
        display: flex;
    }
}

#headBadge .burger,
#overlayNav .closeBtn {
    cursor: pointer;
    flex-direction: column;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 3px 0;
    border-radius: 3px;
    cursor: pointer;
}

#overlayNav .closeBtn {
    display: block;
    position: fixed;
    right: 50px;
    top: 20px;
}

.closeBtn .bar1 {
    transform: rotate(-45deg) translate(-9px, 6px) ;
    position: absolute;
}

/* Rotate last bar */
.closeBtn .bar3 {
    transform: rotate(45deg) translate(-21px, -18px) ;
    position: absolute;
    top: 38px;
}

#overlayNav {
    visibility: hidden;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 100vh;
    background-color: black;
    z-index: 100;
    transition: bottom .4s, visibility .4s;
    overflow: hidden;
}

#overlayNav:not(.visible) * {
    display: none;
}

/*#overlayNav div {
    display: none;
}*/

#overlayNav a {
    text-decoration: none;
    font-weight: 400;
}

#overlayNav.visible {
    visibility: visible;
    bottom: 0;
}

#overlayNav.visible .linkWrapper {
    display: grid !important;
    grid-row-gap: 20px;
    grid-column-gap: 10px;
    margin: auto;
}

#overlayNav.visible .linkWrapper>a:nth-child(2n+1) {
    grid-column: 1;
}

#overlayNav.visible .linkWrapper>a:nth-child(2n) {
    grid-column: 2;
}

#overlayNav.visible .linkWrapper hr {
    grid-column: 1 / 3;
}

#headBadge nav {
    display: flex;
    align-items: center;
}

#headBadge nav a {
    margin: 0px 10px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 400;
}

#userMenuWrapper {
    display: flex;
    align-items: center;
    padding: .5em 1em;
    border-radius: 30px;
}

#userMenuWrapper:hover:not(.mobile) {
    background-color: #ffffff4f;
    cursor: pointer;
}

#userMenuWrapper.mobile {
    grid-column-start: 1;
    grid-column-end: 3;
    margin: auto;
    flex-direction: column;
}

#userMenuWrapper.mobile label {
    color:white;
}

#username {
    cursor: pointer;
}

.avatarIcon {
    width: 38px;
    height: 38px;
    background-color: red;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    margin-left: 1em;
    cursor: pointer;
}

#userMenuWrapper.mobile .avatarIcon {
    margin-left: 0;
    cursor: default;
}

#userMenuOverlay {
    position: absolute;
    background-color: white;
    right: -15px;
    top: 80px;
    border-radius: 0px 0px 15px 15px;
    width: 220px;
    z-index: 99;
    text-align: left;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    transition: opacity .7s, visibility .7s;
}

#userMenuOverlay:not(.visible) nav * {
    display: none;
}

#userMenuOverlay.visible {
    visibility: visible;
    padding: 10px 25px;
    opacity: 1;
}

#userMenuOverlay nav {
    display: flex;
    flex-direction: column;
}

#userMenuOverlay label,
#userMenuOverlay a {
    color:black;
    text-align: left;
    width: 100%;
    padding: .25em 0;
    font-weight: 400;
}

#userMenuOverlay a:after {
    content: " ";
    display: block;
    position: relative;
    width: 0;
    right: calc(-50% + 0em);
    height: 3px;
    margin-top: 4px;
    background-color: var(--gdtfLightGray);
    transition: all .3s;
}

#userMenuOverlay a:hover:after {
    background-color: var(--gdtfOrange);
    width: calc(100%);
    right: 0;
}

#userMenuOverlay hr {
    width: 100%;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Cookie Banner ////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

#cookieBanner {
    position: fixed;
    height: fit-content;
    width: 100vw;
    bottom: 0;
    padding: 1em 3em;
    background-color: black;
    z-index: 29;
}

#cookieBanner>div {
    max-width: 1400px;
    width: 100%;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 768px) {
    #cookieBanner>div {
        flex-direction: column;
        align-items: flex-start;
    }
}

#cookieBanner h2 {
    font-size: 16px;
    line-height: 18px;
    color: white;
    font-weight: 300;
}

#cookieBanner p {
    font-size: 12px;
    color: white;
    font-weight: 300;
}

#cookieBanner button {
    font-weight: 500;
}

a.cookieRequiredAction.disabled {
    color:gray;
    cursor: not-allowed;
}

button.cookieRequiredAction.disabled {
    background-color: gray !important;
    color: lightgray !important;
    cursor: not-allowed;
}

button.cookieRequiredAction.disabled span {
    color: lightgray !important;
    cursor: not-allowed;
}

button.cookieRequiredAction.disabled:hover {
    background-color: gray !important;
    color: lightgray !important;
}

#cookiePopup p {
    margin: .5em 0;
}

#cookiePopup button {
    margin: .5em 0;
}

.checkWrapper {
    width: calc(100% - 1em);
    font-size: 1.3em;
    padding: 0.25em;
    display: flex;
    justify-content: space-between;
    max-width: 500px;
    border: 1px solid gray;
    border-radius: 5px;
    margin: 0.25em;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Upper Feedback ////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

#topFeedbackContainer {
    position: fixed;
    top: 80px;
    z-index: 29;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media screen and (max-width: 1300px) {
    #topFeedbackContainer {
        top: 73px;
    }
}

.feedbackWrapper {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.feedbackWrapper.info {
    background-color: #f3faef;
    border-color: #c9e1bd #c9e1bd #c9e1bd transparent;
    box-shadow: -8px 0 0 #77b259;
    color: #325e1c;
}

.feedbackWrapper.warning {
    background-color: #fdf8ed;
    border-color: #f4daa6 #f4daa6 #f4daa6 transparent;
    box-shadow: -8px 0 0 #e09600;
    color: #734c00;
}

.feedbackWrapper.error {
    background-color: #fcf4f2;
    border-color: #f9c9bf #f9c9bf #f9c9bf transparent;
    box-shadow: -8px 0 0 #e62600;
    color: #a51b00;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Content ///////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

#slideshowContainer {
    height: 625px;
    position: relative;
    display: flex;
    align-items: center;
}

#slideshowContainer.centered {
    justify-content: center;
}

#slideshowBackground {
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}

.slideShowContentWrapper {
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding-left: 10vw;
}

.slideShowContentWrapper.centered {
    align-items: center;
    max-width: 700px;
    padding-left: unset;
}

.slideShowContentWrapper h1:nth-child(1) {
    color: white;
}

.slideShowContentWrapper.centered h1:nth-child(1) {
    text-align: center;
}

.videoWrapper {
    position: absolute;
    margin: 0;
    top: 25%;
    left: 25%;
    opacity: 0;
    width: 50%;
    height: 50%;
    transition: all .5s;
    z-index: -1;
    background-color: black;
}

.videoWrapper .closeBtn {
    display: block;
    position: absolute;
    right: 40px;
    top: 80px;
    z-index: 3;
}

.videoWrapper.show {
    z-index: 3;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    opacity: 1;
}

.videoWrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.videoWrapper:has(#quotesVideoPlayer) {
    height: calc(100% - 240px);
    top: calc(0% + 120px);
}

.videoWrapper:has(#quotesVideoPlayer) .closeBtn {
    top: 8px;
}

#news {
    height: 75px;
    background-color: black;
    line-height: 31px;
    font-size: 24px;
    overflow: hidden;
    display: flex;
    position: relative;
}

#news .navButtons input {
    line-height: .3em;
    background-color: transparent;
    color: #d3d3d34b;
}

#news .navButtons input:hover {
    color: #d3d3d3;
}

#newsContainer {
    display: flex;
    align-items: center;
    width: fit-content;
    height: 100%;
}

.newsEntry {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.newsEntry label {
    color:white;
    white-space: break-spaces;
}

.newsEntry:has(a) label {
    cursor: pointer;
}

.newsEntry.external a {
    display: none;
}

.newsEntry.external div {
    width: .8em;
    height: .8em;
    background: url(/landing/images/landing/externalLink.png);
    filter: invert(1);
    background-size: 100%;
    vertical-align: middle;
    margin-left: 0.1em;
}

#staticContent {
    display: flex;
    flex-wrap: wrap;
}

.contentWrapper {
    display: flex;
    flex-direction: column;
    padding: 116px 15px;
    max-width: 1140px;
    width: 100%;
    margin: auto;
}

.contentWrapper.center {
    align-items: center;
}

.contentWrapper img {
    max-width: 95vw;
}

.responsiveRow {
    display: flex;
    align-items: center;
}

.responsiveRow.wideReverse {
    flex-direction: row-reverse;
}

@media screen and (max-width: 1000px) {
    .responsiveRow,
    .responsiveRow.wideReverse {
        flex-direction: column-reverse;
    }

    .responsiveRow>div {
        padding: 30px 0px;
    }
}

@media screen and (min-width: 1000px) {
    .responsiveRow h2 {
        text-align: left;
    }
}

.responsiveRow>div {
    flex: 1;
}

.imageDiv img {
    max-width: 100%;
}

.subSection {
    color: black;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: white;
}

.subSection.gray,
#quotes {
    background-color: #f0f0f0;
}

.subSection>h2 {
    max-width: 1100px;
}

.imageCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
}

.imageWrapper {
    height: 578px;
    width: 622px;
    max-width: 95vw;
    border-radius: 20px 20px 0px 0px;
}

.imageWrapper img {
    border-radius: 20px 20px 0px 0px;
}

.lowerCard {
    width: 622px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 4em 3em;
    border-radius: 0px 0px 20px 20px;
}

@media screen and (min-width: 992px) {
    .imageCard {
        flex-direction: row-reverse;
    }

    .lowerCard {
        border-radius: 20px 0px 0px 20px;
        min-height: 500px;
        max-width: 475px;
        text-align: left;
        align-items: flex-start;
        justify-content: center;
    }

    .imageWrapper {
        border-radius: 20px;
    }

    .imageWrapper img {
        border-radius: 20px;
    }
}

@media screen and (max-width: 622px) {
    .imageWrapper {
        height: unset;
    }

    .lowerCard {
        max-width: 95vw;
    }
}

.subSection.blue {
    background-color: var(--gdtfBlue);
}

.subSection.darkBlue {
    background-color: var(--gdtfDarkerBlue);
}

@media screen and (min-width: 992px) {
    .subSection.blue,
    .subSection.darkBlue {
        width: 50%;
    }
}

.subSection.black {
    background-color: black;
}

#quotes {
    padding: 80px 0px;
    position: relative;
    overflow: hidden;
}

#contact {
    padding: 115px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#contact .buttonRow {
    display: flex;
}

@media screen and (max-width: 400px) {
    #contact .buttonRow {
        flex-direction: column;
    }

    #contact .buttonRow a:nth-child(2) button {
        margin-top: 1em;
    }
}

.navButtons input {
    position: absolute;
    top: calc(50% - 15px);
    width: 30px;
    height: 30px;
    border-radius: 15px;
    padding: 0;
    background-color: lightgray;
    font-weight: bold;
    font-size: 2em;
    line-height: .8em;
    z-index: 2;
    margin: 0;
    transition: .3s all;
}

.navButtons input:hover {
    color: black;
}

.navButtons input:nth-child(1) {
    left: 20px;
}

.navButtons input:nth-child(2) {
    right: 20px;
}

#quotesContainer {
    display: flex;
    width: fit-content;
    padding: 60px 0px;
}

#quotesContainer>div {
    width: 725px;
    height: 420px;
    background-color: white;
    padding: 60px 115px;
    margin: 0px 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    flex-shrink: 0;
}

@media screen and (max-width: 725px) {
    #quotesContainer>div {
        max-width: 95vw;
        padding: 60px 50px;
    }
}

#quotesContainer>div span {
    color:black;
}

#quotesContainer .topIcon {
    margin-top: -100px;
    height: 80px !important;
    width: 200px !important;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#quotesContainer .quote .topIcon {
    background-image: url(/landing/images/landing/quotes_quote.png);
}

#quotesContainer .video .topIcon {
    background-image: url(/landing/images/landing/quotes_play.png);
}

@media screen and (max-width: 600px) {
    #quotes h2 {
        font-size:22px;
    }
}

#quotes #bulletNav {
    width: 100%;
    display: flex;
    justify-content: center;
}

#quotes #bulletNav>div {
    width: 20px;
    height: 20px;
    border: 2px solid black;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
    transition: .3s all;
}

#quotes #bulletNav>div.filled {
    background-color: black;
}

#manufacturersIcons,
#partnersIcons {
    width: calc(100vw - 10px);
    overflow: hidden;
}

.iconsContainer {
    display: flex;
    width: fit-content;
    margin-bottom: 20px;
}

.manIconBox {
    width: 8em;
    height: 6em;
    display: flex;
    align-items: center;
    margin: 0px 2em;
}

@media screen and (min-width: 1700px) {
    .manIconBox {
        margin: 0px 2vw;
    }
}

.manIconBox img {
    max-width: 100%;
    max-height: 100%;
    mix-blend-mode: multiply;
    -webkit-user-drag: none;
}

.manIconBox img.linked {
    cursor: pointer;
}

#allPartnersIcons {
    display: none;
    position: fixed;
    background-color: white;
    width: 90vw;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 10px gray;
    top: 5vh;
    bottom: 5vh;
    padding: 20px;
    z-index: 99;
}

#allPartnersIcons .closeBtn {
    display: block;
    position: absolute;
    right: 53px;
    top: 25px;
}

#allPartnersIcons .closeBtn .bar1,
#allPartnersIcons .closeBtn .bar3 {
    background-color: black;
}

@media screen and (max-width: 576px) {
    #allPartnersIcons {
        top: 0vh;
        bottom: 0vh;
        width: 100vw;
    }
}

.manIconsGallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    overflow-y: auto;
    width: 100%;
    height: 90%;

    margin-top: 20px;
    padding: 30px;
}

.manIconsGallery>div {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 40px;
    max-width: 8em;
    max-height: 6em;

    flex-basis: 15%;
    flex-grow: 1;
    flex-shrink: 1;
}

.manIconsGallery>div>img {
    max-width: 100%;
    max-height: 100%;
}

#partnersCards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#partnersCards .manCard {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 15px;
    padding: 20px;

    flex-basis: 15%;
    flex-grow: 1;
    flex-shrink: 1;

    background-color: white;
    border-radius: 10px;
    max-width: 25%;
}

#partnersCards .manIconBox {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 8em;
    max-height: 6em;
    margin-bottom: 3em;
}

#partnersCards h3 {
    background-color: unset;
    font-size: 1.2em;
}

#partnersCards img {
    max-width: 100%;
    max-height: 100%;
}

.obfuscate {
    unicode-bidi: bidi-override;
    direction: rtl;
    cursor: pointer;
    border-bottom: 2px solid black;
    padding-bottom: 4px;
}

.obfuscate:before {
    content: attr(data-domain) "\0040" attr(data-user);
}