.cookie-block {
    position: fixed;
    width: 100%;
    display: none;
    left: 0;
    z-index: 11;
    bottom: 0;
    overflow-y: scroll;
    max-height: 100%;
    background-color: var(--dark);
}

.cookie-block.cookie-overlay {
    align-items: center;
    height: 100vh;
    width: 100vw;
    z-index: 9999;
    background-color: rgba(52, 58, 64, .8);
}

.cookie-block.cookie-overlay .cookie-compact {
    background-color: var(--dark);
    border-radius: .25rem;
    padding: 2rem;
    width: 50%;
    margin: auto;
}

.cookie-block.cookie-overlay .cookie-extended {
    background-color: var(--dark);
    border-radius: .25rem;
    padding: 2rem;
}


.cookie-block .content {
    margin-top: 30px;
    margin-bottom: 30px;
}

.cookie-block .content p {
    margin: 0.5em 0;
}

.cookie-block .desc {
    display: inline-block;
    word-wrap: break-word;
    margin: 0 10px 10px 10px;
}

.cookie-block .btn-wrapper {
    display: flex;
    justify-content: inherit;
    flex-wrap: wrap;
}

.cookie-compact,
.cookie-extended {
    text-align: center;
    justify-content: center;
}

.cookie-extended {
    width: 50%;
    margin: auto;
}

.cookie-extended .list-group-item {
    padding: .5rem;
}

.cookie-block .cookie-btn {
    margin: 0 10px 10px 10px;
    padding: 10px 15px;
}

.cookie-settings {
    position: fixed;
    right: 15px;
    z-index: 9;
    bottom: 15px;
    transition: all 0.3s ease 0s;
}

.cookie-settings-cog::before {
    font-family: 'FontAwesome';
    font-size: 1.5rem;
    content: "\f013";
}

.cookie-settings .cookie-btn {
    padding: .5rem 1rem;
    text-align: end;
    border-radius: 50px;
}

.cookie-settings .cookie-btn.extended {
    border-radius: 1rem;
}

.cookie-settings .cookie-btn:focus {
    color: #ffffff;
}

.cookie-settings .cookie-message {
    margin: 10px;
    float: right;
    clear: right;
    text-transform: none;
}

.cookie-extended .cookie-message button,
.cookie-settings .cookie-message button {
    background-color: transparent;
    color: #ffffff;
    border: none;
    text-decoration: underline;
    transition: none;
    cursor: pointer;
}

.cookie-message {
    font-weight: bold;
}

.cookie-message p {
    font-weight: normal;
}

.cookie-hidden {
    display: none;
}

.cookie-block .cookie-confirm {
    margin-top: 5px;
}

@media only screen and (max-width:991px) {

    .cookie-block .content {
        text-align: left;
    }

    .cookie-block .content {
        margin-top: 25px;
    }

    .cookie-block.cookie-overlay .cookie-compact,
    .cookie-extended {
        width: 100%;
    }

    .cookie-extended p,
    .cookie-extended span,
    .cookie-message {
        font-size: .8rem;
    }

    .cookie-block .cookie-btn {
        width: 45%;
    }

}

@media only screen and (max-width:574px) {

    .cookie-block .cookie-btn {
        width: 96%;
    }

}

@media screen and (max-width:425px) {

    .cookie-block .desc {
        font-size: 1em;
    }

    .cookie-block .content {
        margin-top: 15px;
        margin-bottom: 18px;
    }

    .cookie-block .content p {
        margin: 0.15em 0;
    }

}
