.cookie-banner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #0088CC;
    text-align: center;
    z-index: 101;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
    background: rgba(243, 245, 247, 0.95);
}
.cookie-banner > p, .cookie-banner > h3{
    padding: 1rem 1rem 0.5rem;
    font-size: 1.4rem;
    margin: 0 24px;
    line-height: 1.4em;
}
.cookie-banner > h3{
    width: 100%;
    text-align: start;
    font-weight: 900;
}
.cookie-banner > span{
    width: 100%;
    padding: 0 16px;
    margin: 0 24px;
    font-size: 1rem;
    text-align: start;
    display: block;
}
.cookie-banner .buttons{
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1100px;
}
.cookie-button{
    cursor: pointer;
    padding: 10px;
    margin: 5px 1rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex: 1;
    max-width: 400px;
    background: #0088CC;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    transition: 0.2s;
}
.cookie-button:hover{
    background: #009fee;
}
.cookie-button span{
    /*display: block;*/
    font-size: 0.7rem;
    display: inline;
}
.cookie-settings-link,
.cookie-link-doc{
    color: #0088CC;
    font-size: 0.8rem;
    text-decoration: underline;
    margin: 0.3rem;
}
.cookie-link-doc a,
.cookie-settings-link a{
    color: #0088CC;
}
.cookie-banner h3, .cookie-banner span, .cookie-banner .checboxes{
    text-align: center;
    max-width: 1100px;
}
.checboxes{
    width: 100%;
    padding: 10px 16px;
    margin: 0 24px;
    font-size: 1.2rem;
}
.checbox-row{
    text-align: start;
}
.large-button{
    padding: 10px;
}
#close{
    background-color: transparent;
    border: 1px #0088cc solid;
    color: #0088cc;
}
#close:hover{
    background: #0088cc;
    color: white;
}
#reject-all{
    color: #e5e5e5;
    background: #4b6f81;
}
#reject-all:hover{
    background: #0088cc;
    color: white;
}

/*---------Custom-checkbox---------------*/
.checboxes{
    display: flex;
    justify-content: center;
    flex-direction: row;
}
.customCheckbox {
    display: none;
}
.customCheckbox + label {
    font-size: 1rem;
    position: relative;
    padding-left: 25px;
    margin-right: 30px;
    height: 1.5em;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.customCheckbox + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.4em;
    height: 1.4em;
    border: 1px solid #0088CC;
    border-radius: 3px;
}
.customCheckbox:checked + label::before {
    border-color: #0088CC;
    background-image: url('./img/checkmark.png');
    background-size: contain;
}
.customCheckbox:not(:disabled):not(:checked) + label:hover::before {
    border-color: #0088CC;
}
.customCheckbox:focus + label::before {
    box-shadow: 0 0 3px 3px rgba(0, 136, 204, 0.4);
}
.customCheckbox:not(:disabled) + label:active::before {
    box-shadow: 0 0 3px 3px rgba(0, 136, 204, 0.4);
}
.customCheckbox:disabled + label {
    color: #687b84;
    cursor: not-allowed;
}
.customCheckbox:disabled + label::before {
    border-color: #687b84;
}
.customCheckbox:disabled:checked + label::before {
    background-image: url('./img/checkmark-disabled.png');
}
/*---------------END-Custom-checkbox----------------------*/
#settings-form{
    display: none;
}
@media screen and (max-width: 991px){
    .cookie-banner h3,.cookie-banner span,.cookie-banner .checboxes, .cookie-banner > p{
        margin-right: 0;
        margin-left: 0;
    }
    .cookie-banner > p, .cookie-banner h3{
        line-height: 0.8em;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .cookie-banner > span{
        line-height: 1.1em;
        font-size: 1rem;
    }
    .cookie-button {
        font-size: 0.8rem;
        max-width: none;
        margin: 5px 16px;
        padding: 7px;
    }
    .cookie-button span{
        display: inline;
    }
    .buttons{
        flex-direction: column;
    }
    .large-button{
        padding: 7px;
    }
    .checboxes{
        flex-direction: column;
    }
    .customCheckbox + label {
        padding-left: 45px;
    }
}