/* Cookie banner */

@-webkit-keyframes banner-slideUp {
    from {
        bottom: -150px;
    }
    to {
        bottom: 0;
    }
}

@keyframes banner-slideUp {
    from {
        bottom: -150px;
    }
    to {
        bottom: 0;
    }
}

@-webkit-keyframes banner-slideDown {
    from {
        bottom: 0;
    }
    to {
        bottom: -150px;
    }
}

@keyframes banner-slideDown {
    from {
        bottom: 0;
    }
    to {
        bottom: -150px;
    }
}

.cookie-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 50px;
    background-color: white;
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    border-top: 1px solid #CCCCCB;
    /*animation: banner-slideUp 1s 3s ease both;*/
    z-index: 100000;
}

.cookie-banner-wrapper.dismiss {
    -webkit-animation: banner-slideDown 1s ease both;
    animation: banner-slideDown 1s ease both;
}

.cookie-banner {
    position: relative;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 20px 0;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 1038px;
}

.cookie-banner>.cookie-banner-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.cookie-banner>.cookie-banner-buttons>button.cookie-consent-button {
    /* from Foundation */
    border-style: solid;
    border-width: 0;
    cursor: pointer;
    font-weight: normal;
    line-height: normal;
    margin: 0 0 1.25rem;
    position: relative;
    text-decoration: none;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    border-color: #2285a2;
    color: #fff;
    -webkit-transition: background-color 300ms ease-out;
    -o-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
    margin-bottom: 0;
    margin-right: 15px;
    height: 35px;
    width: auto;
    min-width: unset;
    border-radius: 3px;
    background-color: #8DC63E;
    padding: 0 20px;
/**/
    font-size: 16px;
}

.cookie-banner>.cookie-banner-buttons>a.cookie-disagree-button {
    font-size: 15px;
    color: #4F4F4F;
    line-height: 18px;
    cursor: pointer;
    display: block;
}

.cookie-banner>p.cookie-banner-text {
    margin-bottom: 0;
    width: calc(100% - 200px);
    color: #4E4E4E !important;
/**/
    font-size: 14px;
    line-height: 18px;
}

.cookie-banner>p.cookie-banner-text>a,
.cookie-banner>p.cookie-banner-text>a:link,
.cookie-banner>p.cookie-banner-text>a:visited,
.cookie-banner>p.cookie-banner-text>a:active,
.cookie-banner>p.cookie-banner-text>a:hover {
    color: #4A90AD !important;
    display: inline-block;
}

.cookie-banner>p.cookie-banner-text>a:hover {
    text-decoration: underline;
}

/* Cookie Banner Tablet */

@media screen and (max-width: 1025px) {
    .cookie-banner>p.cookie-banner-text {
        font-size: 12px;
    }
}

/* Cookie Banner Mobile */

@media screen and (max-width: 641px) {
    @-webkit-keyframes banner-slideUp {
        from {
            bottom: -250px;
        }
        to {
            bottom: 0;
        }
    }
    @keyframes banner-slideUp {
        from {
            bottom: -250px;
        }
        to {
            bottom: 0;
        }
    }
    @-webkit-keyframes banner-slideDown {
        from {
            bottom: 0;
        }
        to {
            bottom: -250px;
        }
    }
    @keyframes banner-slideDown {
        from {
            bottom: 0;
        }
        to {
            bottom: -250px;
        }
    }
    .cookie-banner-wrapper {
        padding: 0 15px;
    }
    .cookie-banner {
        padding: 15px 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .cookie-banner>p.cookie-banner-text {
        width: 100%;
        line-height: 16px;
        margin-bottom: 16px;
    }
    .cookie-banner>.cookie-banner-buttons {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .cookie-banner>.cookie-banner-buttons>* {
        width: 100%;
        text-align: center;
    }
    .cookie-banner>.cookie-banner-buttons>button.cookie-consent-button {
        width: 214px;
        line-height: 45px;
        height: 45px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Hide for print */

@media print {
    .cookie-banner-wrapper {
        display: none;
    }
}