/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.cookie-bar {
    position: absolute;
    display: block;
    min-height:20px;
    height:auto;
    width:100%;
    top:0;
    left:0;
    background:#bebebe;
    z-index: 999;
}
.cookie-bar .cookie-bar-content {
    width:1010px;
    margin:0 auto;
    font-size: 12px;
}
.cookie-bar p {
    display:table-cell;
}
.cookie-bar a {
    text-decoration:underline;
}
.cookie-bar .cookie-bar-text {
    width:80vw;
    padding-right: 1em;
    vertical-align: top;
    padding-bottom: 5px;
    padding-top: 6px;
}
.cookie-bar .cookie-bar-text,
.cookie-bar .cookie-bar-text a {
    color:#ffffff;
}

.cookie-bar .cookie-bar-close {
    width:20vw;
    cursor:pointer;
    position: relative;
}
.cookie-bar .cookie-bar-close .cookie-bar-close-text {
    text-decoration: underline;
    margin-right:50px;
    vertical-align: top;
    margin-top:6px;
    display: inline-block;
}

/** via https://codepen.io/ndeniche/pen/ljbDL */
.cookie-bar-close-button {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 20px;
    overflow: hidden;
    text-indent: -1000px;

    position: absolute;
    top:3px;
    right:0px;
}
@media screen and (max-width: 700px) {
    .cookie-bar .cookie-bar-content {
        width:100%;
    }
    .cookie-bar-close-button {
        position: absolute;
        right:10px;
    }
}
.cookie-bar-close-button::before, .cookie-bar-close-button::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #000;
}
.cookie-bar-close-button::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.cookie-bar-close-button::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


body.cookie-bar-offset {
    /* done dynamically via js: offsetBody() function */
}