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

.cookie-block.show {
    display: block;
}

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

.cookie-block.cookie-overlay > .container {
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.cookie-block.cookie-overlay .cookie-compact {
    background-color: rgba(52, 58, 64, 1);
    border-radius: .25rem;
    padding: 2rem;
    width: 50%;
    margin: auto;
}

.cookie-block.cookie-overlay .cookie-extended {
    background-color: rgba(52, 58, 64, 1);
    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-block .cookie-btn:hover,
.cookie-block .cookie-btn:focus,
.cookie-block .cookie-btn:active {
    background-color: #f8f9fa;
    color: #000000;
}

.cookie-settings {
    display: none;
    position: fixed;
    right: 15px;
    z-index: 15;
    bottom: 0;
    margin: 1.5rem .2rem;
    color: #ffffff;
    transition: all 0.3s ease 0s;
}

.cookie-settings.show {
    display: block;

}

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

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

.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;
}

.cookie-settings-modal .cookie-slider {
    width: 40px;
    height: 24px;
    margin-top: 4px;
    border-radius: 24px;
    position: relative;
    cursor: pointer;
}

.cookie-settings-modal .switch {
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border-radius: 50%;
    position: relative;
    top: 2px;
}

.cookie-settings-modal .cookie-slider.js-accept {
    background-color: #ccc;
}

.cookie-settings-modal .cookie-slider.js-deny {
    background-color: var(--primary);
}

.cookie-settings-modal .cookie-slider.js-accept .switch {
    left: 2px;
}

.cookie-settings-modal .cookie-slider.js-deny .switch {
    left: calc(100% - 22px);
}

.cookie-settings-modal .text-wrapper {
    width: 80%;
}

.cookie-settings-modal .cookie-wrapper {
    display: flex;
    gap: 2rem;
    margin-bottom: 20px;
}

.cookie-settings-modal .cookie-wrapper p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

@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;
    }

    .cookie-settings {
        right: 0;
    }

}