/* General */
#klaro,
.cookie-modal { z-index: 9999; }

.cm-btn { cursor: pointer; }

.cm-header .title span,
.cm-header > p > span,
.cn-body > p > span { display: block; }

.cookie-notice-hidden,
.cm-header > p > span + span:last-child,
.cm-service .cm-opt-out { display: none !important; }

.cm-btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 16px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 1 !important;
    white-space: nowrap;
    text-decoration: none !important;
    color: #333;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    opacity: .6;
    transition: all .2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.cm-btn:hover { opacity: 1; }



/* Notice */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 100%;
    max-width: 400px;
    padding: 32px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0, .1);
}

/* Notice as modal */
.cookie-modal-notice {
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    max-height: 98%;
    overflow: auto;
}

.cn-ok,
.cn-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cn-ok { margin-top: 24px; }

.cn-buttons .cm-btn-success {
    order: 0;
    margin-right: 16px;
}
.cn-buttons .cm-btn-danger { order: 1; }

@media ( min-width: 400px ) {
    .cookie-modal-notice {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 0 auto;
        height: auto;
        width: auto;
    }
}



/* Config button */
.klaro-config,
.klaro-config-inline {
    background: transparent;
    border: 0;
}

.klaro-config {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: block;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s;
}

.klaro-config svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
}


.klaro-config:hover { background: #333; }


.klaro-config-inline {
    margin: 0;
    padding: 0;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
}

@media ( max-width: 767px ) {
    .klaro-config {
        bottom: 10px;
        left: 10px;
    }

    .klaro-config,
    .klaro-config svg {
        width: 34px;
        height: 34px;
    }
}