:root {
    --cs-color: #f89502;
}
#cookies-popup * {
    font-size: 12px;
    line-height: 16px;
}
#cookies-popup {
    font-family: sans-serif;
    text-rendering: geometricprecision;
    font-weight: normal;
    position: fixed;
    z-index: 1002;
    bottom: 0;
    left: 0;
    text-align: left;
    max-width: 380px;
    background: rgb(255,255,255);
    color: #222;
    padding: 1em 2em;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    border-radius: 0.5em;
    box-sizing: border-box;
    margin: 15px;
}
#cookies-popup a {
    text-decoration: underline;
    color:#333;
}
.btn-cont {
    display: flex;
    margin: 1em 0;
}
.btn-cont button, #cs-window .cs-button {
    background: var(--cs-color);
    color: #fff;
    border: none;
    width: 50%;
    padding: 1em 0.5em;
    cursor: pointer;
    font-weight: normal;
    margin: 0.5em;
    border-radius: 0.5em;
    /*font-size: 13px;*/
}
#cs-window .cs-button {
    background: var(--cs-color);
    color: #fff;
    width:100%;
    margin: 2em auto 1em;
    display: block;
    text-rendering: geometricprecision;
    font-weight: bold;
}
.btn-cust {
    background: transparent;
    width: 100%;
    padding: 0.5em;
    font-weight: normal;
    color: #fff;
    border: none;
    cursor: pointer;
    /*font-size: 14px;*/
}
.btn-cont :hover {
    opacity: 0.8;
}
#cs-window {
    position: fixed;
    height: auto;
    background: white;
    padding: 1em 2em;
    margin: 15px auto;
    right: 0;
    left: 0;
    z-index: 10;
    border-radius: 0.5em;
    max-width: 55%;
}
@media (max-width: 800px) {
    #cs-window {
        max-width: 95%;
        margin: 15px;
    }
}
#cs {
    font-family: sans-serif;
    text-rendering: geometricprecision;
    bottom: 0;
    left: 0;
    padding: 0;
    position: fixed;
    z-index: 1003;
    right: 0;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
}
#cs-in {
    position: relative;
    top: 50%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    box-sizing: border-box;
}
.cs-toggle {
    cursor: pointer;
    display: inline-block;
    background: #f2f2f2;
    margin: 0 0 0.5em 0;
    align-items: center;
    padding: 0.5em;
    border-radius: 0.3em;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    justify-content: space-between;
}
.cs-toggle-switch {
    display: block;
    background: #ccc;
    border-radius: 16px;
    width: 55px;
    height: 28px;
    position: relative;
    float:right;
    vertical-align: middle;
    transition: background 0.25s;
    &:before,
    &:after {
        content: "";
    }
    &:before {
        display: block;
        background: linear-gradient(to bottom, #fff 0%,#eee 100%);
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
        width: 20px;
        height: 20px;
        position: absolute;
        top: 4px;
        left: 4px;
        transition: left 0.25s;
    }
    .cs-toggle:hover &:before {
        background: linear-gradient(to bottom, #fff 0%,#fff 100%);
        box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
    }
    .cs-toggle-checkbox:checked + & {
        background: var(--cs-color);;
        &:before {
            left: 30px;
        }
    }
}
.cs-toggle-checkbox {
    position: absolute;
    visibility: hidden;
}
.cs-toggle-label {
    margin-left: 5px;
    position: relative;
    top: 3px;
    color: #999;
}
.cs-toggle-desc {
    display: none;
    margin: -1.4em 0 1em 0;
    background: #f2f2f2;
    line-height: 20px;
    padding: 1em 2em;
}
.cs-toggle-desc-p {
    color: #555;
}
.cs-toggle-more {
    text-decoration: none;

    color: var(--cs-color);
    padding: 0 0.2em;
}
.cs-toggle-desc-open {
    transform: translateY(0%) rotate(-90deg);
    position: absolute;
}
.cs-toggle-desc-close {
    transform: translateY(0%) rotate(90deg);
    position: absolute;
}
.cs-title {
    font-size: 20px;
    line-height: 40px;
}
.cs-close-bt {
    background: transparent;
    border: 0;
    font-size: 30px !important;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    color: #000;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0;
}
.cs-close-bt-popup {
    background: transparent;
    border: 0;
    font-size: 30px !important;
    position: absolute;
    right: 10px;
    top: 10px;
    color: #000;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0;
}
.cs-x{
    font-size: 20px !important;
}
#cs-cookie-small {
    background-image: url("../images/layout/cs-cookie.jpg");
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    position: fixed;
    z-index: 1001;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    bottom: 0;
    left: 0;
    margin: 1em;
    border-radius: 5em;
    background-color: #fff;
}
.cs-inside {
    max-height: 50vh;
    scroll-behavior: auto;
    overflow: hidden;
    overflow-y: auto;
    padding-right: 1em;
    width: 95%;
    margin: auto;
}
#cs-preferences {
    background: #b2b2b2;
}