/* animation.css */
.cc-window {
    opacity: 1;
    color:#fff;
    -webkit-transition: opacity 1s ease;
    -moz-transition: opacity 1s ease;
    -ms-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

.cc-window.cc-invisible {
    opacity: 0;
}

/* only animate ifhas class 'cc-animate' */
.cc-animate.cc-revoke {
    -webkit-transition: transform 1s ease;
    -moz-transition: transform 1s ease;
    -ms-transition: transform 1s ease;
    -o-transition: transform 1s ease;
    transition: transform 1s ease;
}
.cc-animate.cc-revoke.cc-top {
    transform: translateY(-2em);
}
.cc-animate.cc-revoke.cc-bottom {
    transform: translateY(2em);
}
.cc-animate.cc-revoke.cc-active.cc-top {
    transform: translateY(0);
}
.cc-animate.cc-revoke.cc-active.cc-bottom {
    transform: translateY(0);
}
.cc-revoke:hover {
    transform: translateY(0);
}


.cc-grower {
    /* Initially we don't want any height, and we want the contents to be hidden */
    margin: 0 auto!important;
    max-height: 0;
    overflow: hidden;
    width: 100% !important;
    max-width: 1480px;

    /* Set our transitions up. */
    -webkit-transition: max-height 1s;
    -moz-transition: max-height 1s;
    -ms-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
}

/* animation.css end */

/* base.css */

/* the popup window */
.cc-window, .cc-revoke {
    position: fixed;
    overflow: hidden;
    box-sizing: border-box; /* exclude padding when dealing with width */

    font-family: Helvetica, Calibri, Arial, sans-serif;
    font-size: 16px; /* by setting the base font here, we can size the rest of the popup using CSS `em` */
    line-height: 1.5em;

    display: flex;
    flex-wrap: nowrap;

    /* the following are random unjustified styles - just because - should probably be removed */
    z-index: 10000 !important;
}

.cc-window.cc-static {
    position: static;
}

/* 2 basic types of window - floating / banner */
.cc-window.cc-floating {
    padding: 2em;
    max-width: 24em; /* 1em == 16px therefore 24em == 384px */
    flex-direction: column;
}
.cc-window.cc-banner {
    padding: 2rem 1.8rem;
    gap: 2rem;
    width: 100%;
    flex-direction:  row;
}

.cc-revoke {
    display: none;
    padding: .5em;
}
.cc-revoke:hover {
    text-decoration: underline;
}

.cc-header {
    font-size: 18px;
    font-weight: bold;
}

/* clickable things */
.cc-btn, .cc-link, .cc-close, .cc-revoke {
    cursor: pointer;
    color:#fff;
}

.cc-link {
    opacity: .8;
    display: inline-block;
    padding: .2em;
    text-decoration: underline;
}
.cc-link:hover {
    opacity: 1;
}
.cc-link:active, .cc-link:visited {
    color: initial;
}


.cc-btn {
    flex: 1 1 auto !important;
    display: block;
    padding: .4em .8em;
    font-size: 0.9em;
    font-weight: bold;
    border:2px solid #ddd;
    text-align: center;
    white-space: nowrap;
    background:#dedede;
    color:#444;
    border-radius:5px;
    min-width:120px;
}
.cc-btn:hover {
    text-decoration: none;
    background: #fafafa;
    color:#222;
}

.cc-banner .cc-btn:last-child {
    min-width: 120px;
}

.cc-highlight .cc-btn:first-child {
    background-color: forestgreen;
    color:#fff;
    border-color: forestgreen;
}

.cc-highlight .cc-btn:first-child:hover,
.cc-highlight .cc-btn:first-child:focus {
    background-color: green;
    color:#dedede;
}

.impressum-link {
    margin-left:1rem;
}


.cc-close {
    display: block;
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 1.6em;
    opacity: .9;

    /* seeing as this contains text and not an image, the element taller than it is wide (because it is text) */
    /*  - we want it to be a square, because it's acting as an icon */
    /*  - setting the line height normalises the height */
    line-height: .75;
}
.cc-close:hover,
.cc-close:focus {
    opacity: 1;
}
/* base.css end */

/* layout.css */

/* This file should contain CSS that modifies the popup layout. */
/* By layout, we mean the physical position of the elements on the popup window, and the margin / padding around those elements. */


.cc-revoke.cc-top {top:0; left: 3em; border-bottom-left-radius:.5em;border-bottom-right-radius:.5em;}
.cc-revoke.cc-bottom {bottom:0; left: 3em; border-top-left-radius:.5em;border-top-right-radius:.5em;}
.cc-revoke.cc-left{left: 3em; right: unset;}
.cc-revoke.cc-right{right: 3em; left: unset;}

/**************************************** FLOATING ****************************************/

/* these classes position the floating element */
.cc-top {top: 1em} .cc-left {left: 1em} .cc-right {right: 1em} .cc-bottom {bottom: 1em}


/* links that are direct decendants should be displayed as block */
.cc-floating>.cc-link {
    margin-bottom: 1em
}

.cc-floating .cc-message {
    display: block;
    margin-bottom: 1em;
}


.cc-window.cc-floating .cc-compliance {
    flex: 1 0 auto;

}


/* IE10+ HACK */
@media screen and (min-width: 737px) and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .cc-btn.cc-dismiss {
        min-width: 92px;
    }
}


/**************************************** BANNER ****************************************/

.cc-window.cc-banner {
    align-items: center;
}

.cc-banner.cc-top {
    left: 0; right: 0; top: 0;
}
.cc-banner.cc-bottom {
    left: 0; right: 0; bottom: 0;
}

.cc-banner .cc-message {
    display: block;
    flex: 1 1 auto;
    max-width: 100%;
    font-size:1.2rem;
    line-height: 1;
}
.cc-banner .cc-message a{
    color: #fff;
    text-decoration: underline;
}
.cc-banner .cc-message a:hover{
    color: #eee;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0,0,0,.2);
}

.cc-banner .cc-message h2,
.cc-banner .cc-message h3,
.cc-banner .cc-message h4,
.cc-banner .cc-message h5 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 1.2rem 0;
    padding: 0;
}
.footer-append {
    background-color: #0066b1;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}

/* COMPLIANCE BOX */

.cc-compliance {
    display: flex;
    align-items: center;
    align-content: space-between;
}
.cc-compliance>.cc-btn {
    flex: 1;
}

.cc-btn + .cc-btn {
    margin-left: .5em;
}

/* layout.css end */

/* media.css */


@media print {
    .cc-window, .cc-revoke {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .cc-btn {white-space: normal;}
}

/* dimensions for 'iPhone6 Plus' and lower */
@media screen and (max-width: 414px) and (orientation: portrait),
screen and (max-width: 736px) and (orientation: landscape) {
    div.cc-grower {
        margin: 0 auto!important;
        width: 100% !important;
        max-height: unset!important;
        overflow: auto!Important;
    }
    .cc-window.cc-top {top:0;}
    .cc-window.cc-bottom {bottom:0;}
    .cc-window.cc-banner,.cc-window.cc-right,.cc-window.cc-left {left:0;right:0;}

    .cc-window.cc-banner {flex-direction: column;}
    .cc-window.cc-banner .cc-compliance {flex: 1 1 auto; width: 100%}
    .cc-window.cc-floating {max-width: none;}
    .cc-window .cc-message {margin-bottom: 1em}
    .cc-window.cc-banner {align-items: unset;}
}

/* iPhone 6 */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
}

/* iPhone 6 plus */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px) {
}

/* iPhone 5 & 5S */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {}

/* iPhone 2G - 4S */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {}

/* media.css end */

/* temp hack */
html {
    -ms-overflow-style: scrollbar;
}
