.popup {
    display: none;
    position: fixed;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(43, 42, 41, .8)
}

.popup.popup--active {
    z-index: 10000;
    display: block;
    -webkit-animation: popup--show .5s forwards;
    animation: popup--show .5s forwards
}

.popup-inner {
    height: 100%;
    padding: 30px 20px;
    overflow-y: auto
}

.popup-content {
    width: 100%;
    max-width: 992px;
    position: relative;
    margin: auto;
    background: #ffffff;
    color: #000;
    text-align: left;
    line-height: 1.4
}

.popup-content-outer {
    padding: 50px 60px
}

.popup-footer {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    width: 100%;
    margin-top: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.popup-footer-buttons {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.popup-button {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin-bottom: .25rem;
    padding: 15px 20px;
    border: 0;
    outline: 0;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all .5s, -webkit-transform .75s;
    transition: all .5s, -webkit-transform .75s;
    transition: all .5s, transform .75s;
    transition: all .5s, transform .75s, -webkit-transform .75s;
    background: #f5392d;
    border-radius: 0.5714285714rem;
    border: 1px solid rgba(0, 0, 0, 0);
    color: #fff;
    margin-bottom: 0;
    width: -webkit-fit-content;
    width: fit-content;
    width: -moz-fit-content;
    margin-left: 15px
}

.popup-button:first-child {
    margin-left: 0;
    margin-right: auto
}

.popup-button:hover {
    border-color: #f5392d;
    background-color: rgba(245, 57, 45, .1019607843);
    color: #282726;
}

.popup-button--link {
    padding: 0;
    border: none;
    background: 0 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-decoration: underline;
    -webkit-transition: color .5s;
    transition: color .5s;
    cursor: pointer;
    color: #000;
    font-weight: 400;
    font-size: .75rem
}

.popup-button--link:hover {
    color: #f5392d;
    -webkit-transform: none;
    transform: none;
    background: rgba(0, 0, 0, 0)
}

.popup-button--settings,
.popup-button--cancel,
.popup-button--accept {
    width: 100%;
    max-width: max(175px, min(16.8374985359vw, 230px))
}

.popup-button--settings,
.popup-button--cancel {
    background-color: rgba(0, 0, 0, 0);
    color: #282726;
}

.popup-button--settings {
    border-color: #f5392d;
}

.popup-button--settings:hover {
    background-color: rgba(245, 57, 45, .1019607843)
}

.popup-button--cancel {
    border-color: #3d3d3d
}

.popup-button--cancel:hover {
    border-color: #3d3d3d;
    background-color: rgba(61, 61, 61, .1019607843)
}

.popup-button--loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid rgba(0, 0, 0, 0);
    border-top-color: #fff;
    border-radius: 50%;
    -webkit-animation: spinner 1s ease infinite;
    animation: spinner 1s ease infinite;
    -webkit-transition: border-top-color .5s;
    transition: border-top-color .5s
}

.popup-button--loading .text {
    visibility: hidden
}

.popup-button--loading:hover::after {
    border-top-color: #f5392d;
}

.popup-button[disabled] {
    opacity: .5
}

.popup.cscks-accepted {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    z-index: -100
}

.popup.popup--cscks-management .cscks-title,
.popup.popup--cscks-management .cscks-content,
.popup.popup--cscks-management .cscks-footer {
    display: none
}

.popup.popup--cscks-management .cscks-title-settings,
.popup.popup--cscks-management .cscks-content-settings {
    display: block
}

.popup.popup--cscks-management .cscks-footer-settings {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.cscks-header {
    position: relative;
    width: 100%
}

.cscks-title {
    font-weight: bold;
    color: #000;
    padding-bottom: 25px;
    font-size: 18px;
    margin-bottom: 0
}

.cscks-title-settings {
    display: none
}

.cscks-content {
    color: #000;
    font-size: 14px
}

.cscks-content a {
    font-size: inherit;
    color: inherit;
    text-decoration: underline
}

.cscks-content p {
    margin-bottom: 10px;
    font-size: inherit;
    color: inherit
}

.cscks-content-settings {
    display: none
}

.cscks-manage {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 30px
}

.cscks-manage .option {
    width: calc(50% - 10px);
    margin-bottom: 35px
}

.cscks-manage .option-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 700
}

.cscks-manage .option-label input {
    display: none
}

.cscks-manage .option-label span {
    margin-left: 7.5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 44px;
    min-width: 44px;
    height: 26px;
    background-color: #979797;
    border-radius: 20px;
    -webkit-transition: background-color .4s ease;
    transition: background-color .4s ease;
    position: relative;
    cursor: pointer
}

.cscks-manage .option-label span::after {
    display: block;
    content: "";
    position: absolute;
    left: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    -webkit-transition: left .4s ease;
    transition: left .4s ease
}

.cscks-manage .option-label.is-active span {
    background-color: #f5392d;
}

.cscks-manage .option-label.is-active span::after {
    left: 26px
}

.cscks-manage .option-text {
    font-size: 13px
}

.cscks-footer {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.cscks-footer-settings {
    display: none;
    margin-top: 0
}

@-webkit-keyframes popup--show {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes popup--show {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes popup--hide {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes popup--hide {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes spinner {
    from {
        -webkit-transform: rotate(0turn);
        transform: rotate(0turn)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}




@media screen and (min-width: 996.1px) {
    .popup-block-content.pb-open {
        visibility: visible;
        -webkit-transition: visibility 0.2s;
        transition: visibility 0.2s;
        pointer-events: auto;
    }

    .popup-block-content.pb-open .pb-background {
        opacity: 1;
        -webkit-transition: opacity 0.45s 0s ease;
        transition: opacity 0.45s 0s ease;
    }

    .popup-block-content.pb-open .pb-window {
        -webkit-transition: opacity 0.15s 0.15s ease,
            -webkit-transform 0.45s 0.15s ease;
        transition: opacity 0.15s 0.15s ease, -webkit-transform 0.45s 0.15s ease;
        transition: opacity 0.15s 0.15s ease, transform 0.45s 0.15s ease;
        transition: opacity 0.15s 0.15s ease, transform 0.45s 0.15s ease,
            -webkit-transform 0.45s 0.15s ease;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .popup-block-content.pb-open {
        visibility: visible;
        -webkit-transition: visibility 0.2s;
        transition: visibility 0.2s;
        pointer-events: auto;
    }

    .popup-block-content.pb-open .pb-background {
        opacity: 1;
        -webkit-transition: opacity 0.45s 0s ease;
        transition: opacity 0.45s 0s ease;
    }

    .popup-block-content.pb-open .pb-window {
        -webkit-transition: opacity 0.15s 0.15s ease,
            -webkit-transform 0.45s 0.15s ease;
        transition: opacity 0.15s 0.15s ease, -webkit-transform 0.45s 0.15s ease;
        transition: opacity 0.15s 0.15s ease, transform 0.45s 0.15s ease;
        transition: opacity 0.15s 0.15s ease, transform 0.45s 0.15s ease,
            -webkit-transform 0.45s 0.15s ease;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .js .popup-block-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        position: fixed;
        z-index: 42;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        padding-left: 2.8571428571rem;
        padding-right: 2.8571428571rem;
        -webkit-transition: visibility 0s 0.45s;
        transition: visibility 0s 0.45s;
        pointer-events: none;
    }
}

@media screen and (max-width: 996px) {
    .popup-block-content {
        margin-bottom: 7.1428571429rem;
    }

    .js .popup-block-content {
        display: none;
    }

    .popup-block-content.pb-open {
        display: block;
    }

    .pb-body-open #content>.popup-block.pb-block-open {
        display: block;
    }

    .popup-button--settings,
    .popup-button--cancel,
    .popup-button--accept {
        max-width: none;
        max-width: initial;
    }
}

@media (max-width: 991px) {
    .popup-button {
        font-size: 20px;
        margin-right: 0;
    }

    .popup-footer-buttons {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .popup-footer-buttons button {
        padding: 7.5px;
    }

    .popup-footer-buttons button:first-child {
        margin-bottom: 5px !important;
    }

    .cscks-manage .option {
        width: 100%;
    }

    .cscks-manage .option:last-child {
        margin-bottom: 0;
    }

    .cscks-content {
        max-height: 45vh;
        overflow: auto;
    }

    .cscks-footer {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .cscks-footer-settings {
        margin-top: 30px;
    }

    .cscks-footer .cscks-btn {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
    }

    /* .cscks-footer .cscks-btn:last-child {
        margin-bottom: 0;
    } */
    .popup-button--accept {
        order: 1;
    }

    .popup-button--cancel {
        order: 3;
    }

    .popup-button--settings {
        order: 2;
    }

    .cscks-footer .cscks-cancel,
    .cscks-footer .cscks-openSettings,
    .cscks-footer .cscks-accept {
        display: block;
    }

    .cscks-footer .cscks-cancel,
    .cscks-footer .cscks-manage {
        margin-top: 15px !important;
    }

    .cscks-footer .cscks-cancel,
    .cscks-footer .cscks-manage {
        margin: 0;
        padding: 5px 0;
    }
}

@media (max-width: 576px) {
    .popup-inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 5px 15px 15px 5px;
    }

    .popup-content {
        font-size: 12px;
    }

    .popup-content-outer {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 15px;
    }

    .cscks-manage .option-label span {
        margin-left: 7.5px;
        width: 36px;
        min-width: 36px;
    }

    .cscks-manage .option-label.is-active span::after {
        left: 18px;
    }

    .cscks-content {
        max-height: 30vh;
    }

    .cscks-footer .cscks-btn {
        font-size: 12.25px;
    }
}
