﻿body .cc-window.cc-floating .cc-message p {
    margin-bottom: 7px;
}

div.cc-window.cc-floating {
    max-width: unset !important;
    flex-direction: row;
    padding: 3vmin;
}

.cc-window {
    position: fixed !important;
}

.cc-clear {
    clear: both;
}

.cc-window a {
    color: #ffffff !important;
    text-decoration: underline;
    opacity: 0.8;
}

#cookie-bar-overlay {
    background: #333333;
    background: rgba(51, 51, 51, 0.7);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 10000;
    -webkit-transform: translate3d(0,0,1px);
    transform: translate3d(0,0,1px);
    visibility: visible;
}

.cookie-bar-visible #cookie-bar-overlay, .cookie-bar-visible #cookie-bar {
    display: block;
}


#cookie-bar {
    -webkit-transform: translate3d(0,0,1px);
    transform: translate3d(0,0,1px);
    background-color: #ffffff;
    background-image: url("//s1.bayer.com/image/cookie-hd.jpg");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: -1px 0px 30px 0px rgba(0, 0, 0, 0.35);
    display: none;
    height: auto;
    left: 0;
    margin: auto;
    max-width: 635px;
    overflow: hidden;
    padding: 4vh 4vw;
    position: fixed;
    right: 0;
    top: 10vh;
    z-index: 10001;
    box-sizing: content-box !important;
    border-radius: 1em;
}

@media (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #cookie-bar {
        -ms-transform: translateX(-50%);
        left: 50%;
    }
}

#cookie-bar .cc-container {
    width: 100%;
    padding: 0;
    position: relative;
}

#cookie-bar a {
    color: #6bc200 !important;
    text-decoration: underline;
    opacity: 0.8;
}

#cookie-bar .cc-message {
    color: #000;
    display: block;
    font-size: 1em;
    position: relative;
    margin-bottom: 1em;
}

    #cookie-bar .cc-message .bayerlogo {
        position: absolute;
        right: 0;
        top: -40px;
    }

#cookie-bar .cc-row {
    /*margin-left: 25%;
            width: 75%;*/
}

#cookie-bar .button-wrapper {
    text-align: center;
}

    #cookie-bar .button-wrapper .cc-btn, .cc-window .cc-btn {
        display: inline-block;
        max-width: unset !important;
        min-width: unset;
        padding: .4em 2.5em;
        border: 0;
        border-radius: 5px;
        font-size: 1.3em;
        line-height: 1.3em;
        margin: 0;
    }

    #cookie-bar .button-wrapper .cc-btn {
        color: #ffffff !important;
        background-color: #6bc200 !important;
    }

.cc-window .cc-btn {
    color: #6bc200 !important;
    background-color: #ffffff !important;
}

.cc-grower .cc-banner .cc-btn:last-child {
    min-width: unset;
    max-width: unset;
}

#cookie-bar .button-wrapper .cc-btn:hover, .cc-window .cc-btn:hover {
    opacity: 0.7;
}

.cc-window {
    transition: opacity 1s ease;
    position: relative;
    overflow: visible !important;
    font-size: 14px !important;
    font-weight: normal;
}

    #cookie-bar .cc-message h2, .cc-window h2 {
        font-size: 1.5em !important;
        font-weight: normal;
        margin: 1em 0;
    }

#cookie-bar .cc-row {
    margin-left: 52%;
    width: 48%;
    margin-top: 5%;
}

#cookie-bar .cc-message p, #cookie-bar .cc-message a {
    font-size: 1em;
    line-height: 1.3em;
}

    #cookie-bar .cc-message p a {
        font-size: 1em;
    }

#cookie-bar .cc-message p {
    margin: 0 0 1em 0;
}

#cookie-bar .button-wrapper {
    text-align: left;
    padding: 0;
}

    #cookie-bar .button-wrapper button {
        height: 50px;
        width: 155px;
        font-size: 14px;
    }

@media (max-width: 1024px) {
    #cookie-bar .cc-compliance, .cc-window .cc-compliance {
        float: right;
        display: block;
    }

    .cc-window {
        flex-direction: column !important;
        display: block;
    }
}

/* desktop responsive banner */
@media (max-device-width: 750px), (max-device-height: 420px), (max-width: 750px) {
    #cookie-bar {
        padding: 0 !important;
    }

        #cookie-bar .cc-row {
            min-height: unset;
            width: auto;
            margin: 0;
            background-color: rgba(255, 255, 255, 0.7);
            padding: 10vh 10vw 10vh 20vw;
        }

        #cookie-bar .cc-message .bayerlogo {
            position: absolute;
            right: -2vw;
            top: -5vh;
        }
}


/* general full width banner on mobile devices */
@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 750px) {
    #cookie-bar {
        max-width: 95%;
    }
}

/* responsive banner mobile landscape */
@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 750px) and (orientation: landscape) {
    #cookie-bar {
        height: auto;
        min-height: unset;
    }

        #cookie-bar .cc-row {
            padding: 6vh 10vw 6vh 15vw;
            height: auto;
            min-height: unset;
        }

        #cookie-bar a.cc-link {
            font-size: 2.4vmin;
            line-height: 3.4vmin;
        }

        #cookie-bar .button-wrapper .cc-btn {
            display: inline-block;
            font-size: 3.4vmin;
            line-height: 3.4vmin;
        }

    .cc-window.cc-banner .cc-compliance {
        display: block;
        float: right;
    }

    #cookie-bar .cc-message p {
        font-size: 2.4vmin;
        line-height: 3.4vmin;
    }

    #cookie-bar .cc-message a {
        font-size: 2.4vmin;
        line-height: 3.4vmin;
    }

    #cookie-bar .cc-message h2 {
        font-size: 5vmin !important;
        line-height: 6.2vmin;
    }

    #cookie-bar .cc-message .bayerlogo {
        height: 10vmin;
        width: 10vmin;
        right: 0vw;
        top: -5vh;
    }

        #cookie-bar .cc-message .bayerlogo img {
            width: 100%;
        }
}

/* responsive banner mobile portait */
@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 750px) and (orientation: portrait) {
    #cookie-bar .cc-row {
        padding: 6vh 10vw 6vh 15vw;
        height: auto;
        min-height: unset;
    }

    #cookie-bar .cc-message p {
        font-size: 2vmax;
        line-height: 3vmax;
    }

    #cookie-bar .cc-message a {
        font-size: 2vmax;
        line-height: 3vmax;
    }

    #cookie-bar a.cc-link {
        font-size: 2vmax;
        line-height: 3vmax;
    }

    #cookie-bar .cc-message h2 {
        font-size: 3.2vmax !important;
        line-height: 4.2vmax;
    }

    #cookie-bar .button-wrapper .cc-btn {
        display: inline-block;
        font-size: 2.2vmax;
        line-height: 3vmax;
    }

    #cookie-bar .cc-message .bayerlogo {
        height: 8vmax;
        width: 8vmax;
    }

        #cookie-bar .cc-message .bayerlogo img {
            width: 100%;
        }
}

body.cookie-bar-visible .cc-window {
    padding: 0;
}

.settings {
    /*			color: #000;*/
    margin-top: 5px;
    clear: both;
}

.cc-link {
    display: block;
    margin: 0 0 1em 0;
    padding: 0;
    opacity: 0.8;
}

.cc-message p {
    margin-right: 2em;
}

#cookie-bar .cc-message p {
    margin-right: 0 !important;
}

.cc-grower h2 {
    color: #ffffff;
}

.cc-grower p a {
    /*			color: #FFF;*/
    text-decoration: underline;
    opacity: 0.8;
}

    .cc-grower p a:hover, .cc-grower a:hover {
        opacity: 1;
    }

.whg-cookie-status {
    text-align: center;
}