/* To be used with cookieCuttr by Chris Wharton (http://cookiecuttr.com) */

.cc-cookies {
    position: fixed;
    right: 16px;
    bottom: 16px !important;
    left: auto;
    top: auto;
    width: 315px;
    max-width: calc(100vw - 32px);
    padding: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
    color: #333;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.45;
    text-align: left;
    z-index: 99999;
}

.cc-cookie-content {
    overflow: hidden;
    border-radius: 4px;
}

.cc-cookie-title {
    display: block;
    padding: 18px 18px 6px;
    color: #1e2327;
    font-size: 14px;
    font-weight: 700;
}

.cc-cookie-message {
    margin: 0;
    padding: 0 18px 16px;
    color: #5f666d;
}

.cc-cookie-actions {
    display: grid;
    gap: 8px;
    padding: 0 18px 14px;
}

.cc-cookies a,
.cc-cookies a:hover {
    text-decoration: none;
}

.cc-cookies a.cc-cookie-accept,
.cc-cookies-error a.cc-cookie-accept,
.cc-cookies a.cc-cookie-decline,
.cc-cookies-error a.cc-cookie-decline,
.cc-cookies a.cc-cookie-reset,
.cc-cookies a.cc-cookie-settings {
    display: block;
    width: 100%;
    min-height: 38px;
    padding: 10px 12px;
    border-radius: 3px;
    background: #242b31;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    text-shadow: none;
    transition: background 0.2s ease-in;
}

.cc-cookies a.cc-cookie-decline,
.cc-cookies-error a.cc-cookie-decline {
    margin-left: 0;
    background: #242b31;
}

.cc-cookies a.cc-cookie-settings {
    background: #eef2f3;
    color: #2f363c;
}

.cc-cookies a:hover.cc-cookie-accept,
.cc-cookies-error a:hover.cc-cookie-accept,
.cc-cookies a:hover.cc-cookie-decline,
.cc-cookies-error a:hover.cc-cookie-decline,
.cc-cookies a:hover.cc-cookie-reset {
    background: #11161a;
}

.cc-cookies a:hover.cc-cookie-settings {
    background: #dfe6e8;
    color: #2f363c;
}

.cc-cookie-footer {
    display: flex;
    gap: 18px;
    padding: 9px 18px;
    background: #eef2f3;
}

.cc-cookie-footer a,
.cc-cookie-footer a:hover {
    color: #5b6268;
    font-size: 11px;
    font-weight: 700;
}

.cc-overlay {
    height: 100%;
    padding-top: 25%;
}

.cc-cookies-error {
    float: left;
    width: 90%;
    margin: 1em 0 2em 0;
    padding: 2em 5%;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 18px;
    text-align: center;
}

.cc-cookies-error a.cc-cookie-accept,
.cc-cookies-error a.cc-cookie-decline {
    display: block;
    margin-top: 1em;
}

.cc-cookies.cc-discreet {
    width: auto;
    padding: 0.5em 1em;
    left: auto;
    top: auto;
}

.cc-cookies.cc-discreet a.cc-cookie-reset {
    background: none;
    text-shadow: none;
    padding: 0;
    text-decoration: underline;
}

.cc-cookies.cc-discreet a:hover.cc-cookie-reset {
    text-decoration: none;
}

@media screen and (max-width: 480px) {
    .cc-cookies {
        right: 12px;
        bottom: 12px !important;
        max-width: calc(100vw - 24px);
    }
}
