
.thoughtco-cookiepanel .cookiepanel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    display: none;
}

.thoughtco-cookiepanel .cookiepanel-open {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgb(40, 40, 40);
    color: #fff;
    padding: 8px 10px;
    z-index: 10000000;
}

.thoughtco-cookiepanel .cookiepanel-sidebar {
    top: 0;
    left: 0;
    width: 90%;
    max-width: 400px;
    background-color: rgb(40, 40, 40);
    color: #fff;
    position: fixed;
    box-sizing: border-box;
    padding: 40px;
    line-height: 1.3;
    font-size: 0.9rem;
    margin-left: -100%;
    height: 100%;
    overflow-y: auto;
}

.thoughtco-cookiepanel.open .cookiepanel-sidebar {
    margin-left: 0;
}

.thoughtco-cookiepanel.open .cookiepanel-overlay {
    display: block;
}

.thoughtco-cookiepanel .cookiepanel-sidebar .cookiepanel-close {
    position: absolute;
    right: 16px;
    top: 8px;
    width: 32px;
    height: 32px;
    text-indent: -99999px;
}

.thoughtco-cookiepanel .cookiepanel-sidebar .cookiepanel-close:before, .cookiepanel-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}

.thoughtco-cookiepanel .cookiepanel-sidebar .cookiepanel-close:before {
    transform: rotate(45deg);
}

.thoughtco-cookiepanel .cookiepanel-sidebar .cookiepanel-close:after {
    transform: rotate(-45deg);
}

.thoughtco-cookiepanel .cookiepanel-sidebar p {
    margin: 0.5em 0 0;
}

.thoughtco-cookiepanel .cookiepanel-sidebar h2,
.thoughtco-cookiepanel .cookiepanel-sidebar h3,
.thoughtco-cookiepanel .cookiepanel-sidebar .heading {
    font-weight: bold;
    font-size: 1.25rem;
}

.thoughtco-cookiepanel .cookiepanel-sidebar div + .heading,
.thoughtco-cookiepanel .cookiepanel-sidebar p + .heading {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 1em;
    padding-top: 1em;
}

.thoughtco-cookiepanel .buttons {
    margin-top: 1em;
}

.thoughtco-cookiepanel .buttons button {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
}

.thoughtco-cookiepanel .buttons button + button {
    margin-left: 10px;
}

.thoughtco-cookiepanel .toggler {
    border-radius: 16px;
    width: 180px;
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    padding: 6px;
    margin: 1em 0;
}

.thoughtco-cookiepanel .toggler::after {
    content: ' ';
    display: block;
    clear: both;
}

.thoughtco-cookiepanel .toggler input {
    display: none;
}

.thoughtco-cookiepanel .toggler label {
    width: 50%;
    float: left;
    padding-left: 10px;
    font-size: 0.9rem;
}

.thoughtco-cookiepanel .toggler label + label {
    text-align: right;
    padding-right: 10px;
}

.thoughtco-cookiepanel .toggler label + label::before {
    display: none;
}

.thoughtco-cookiepanel .toggler label::before {
    content: ' ';
    position: absolute;
    border-radius: 16px;
    width: 50%;
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
    background-color: rgb(40, 40, 40);
}

.thoughtco-cookiepanel .toggler input:checked + label::before {
    left: calc(50% - 3px);
}
