﻿.cookie-banner {
    font-family: Roboto, Arial, Sans-Serif;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: black;
    color: white;
    box-sizing: border-box;
    padding: 0;
    white-space: nowrap;
    z-index: 10000;
}

.cookie-banner a {
    color: white;
    text-decoration: underline;
}

.cookie-banner__title {
    font-weight: 600;
    text-align: center;
}

.cookie-banner__left-distance {
    display: none;
    width: 5%;
}

.cookie-banner__body {
    text-align: left;
    font-size: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: normal;
    overflow: auto;
}

.cookie-banner__right-distance {
    display: none;
    width: 2%;
}

.cookie-banner__buttons button {
    cursor: pointer;
    display: block;
    font-size: 14px;
    line-height: 28px;
    padding: 3px 17px 1px 17px;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    color: #ffffff;
    font-weight: 600;
    border: 0;
}

@media (max-width: 768px) {

    .cookie-banner__title {
        padding: 20px 15px 10px 15px;
    }

    .cookie-banner__body {
        margin: auto 2em;
    }

    .cookie-banner__buttons {
        padding: 20px 20px 15px 20px;
    }

    .cookie-banner__buttons button {
        margin: auto;
    }
}

@media (min-width: 769px) {

    .cookie-banner {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .cookie-banner__title {
        width: 30%;
        text-align: right;
    }

    .cookie-banner__body {
        width: 40%;
        padding: 10px 0;
    }

    .cookie-banner__left-distance,
    .cookie-banner__right-distance {
        display: block;
    }

    .cookie-banner__buttons {
        width: 30%;
        text-align: left;
        padding-right: 6px;
    }
}
