/* cookies stripe */

:root {
    --cs-font-family: 'DM Sans', sans-serif;
    --cs-font-size: 15px;
    --cs-line-height: 20px;

    --cs-primary-color: #017aff;
    --cs-secondary-color: #e2edf9;
    --cs-default-color: #7b7b7b;
    --cs-success-color: #3dc661;
    --cs-danger-color: #ed1c24;
    --cs-white-color: #fff;
    --cs-black-color: #000;

    --cs-background: var(--cs-white-color);
    --cs-line-color: #ebebeb;
    --cs-switch-color: #d7d7d7;
    --cs-radius: 8px;
    --cs-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);

    --cs-box-outer: 0 24px 24px 24px;
    --cs-box-inner: 48px;

    --cs-modal-inner: 40px 45px 80px 45px;
    --cs-accordion-inner: 20px 24px;
}

@media only screen and (max-width: 991px) {
    :root {
        --cs-box-outer: 0 20px 20px 20px;
        --cs-box-inner: 30px;
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --cs-modal-inner: 28px 26px 70px 26px;
    }
}



/* typo */

.cs-heading {
    font-family: var(--cs-font-family);
    font-size: 22px;
    line-height: 25px;
    font-weight: 700;
    color: var(--cs-black-color);
    margin: 0 0 22px 0;
    padding: 0;
}

.cs p,
.cs__modal p {
    font-family: var(--cs-font-family);
    font-size: var(--cs-font-size);
    line-height: var(--cs-line-height);
    font-weight: 400;
    color: var(--cs-default-color);
    margin: 0 0 12px 0;
    padding: 0;
}

.cs a,
.cs__modal a {
    color: var(--cs-default-color);
    text-decoration: underline;
}

.cs a:hover,
.cs a:focus,
.cs__modal a:hover,
.cs__modal a:focus {
    color: var(--cs-primary-color);
    text-decoration: none;
}



/* button */

.cs-button {
    border: none;
    border-radius: 6px;
    background-color: var(--cs-primary-color);
    color: var(--cs-white-color);
    font-family: var(--cs-font-family);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 18px;
    margin: 0 0 16px 16px;
    padding: 14px 16px;
    width: 200px;
    max-width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cs-button:hover,
.cs-button:focus {
    outline: none;
    background-color: #006ce3;
}


.cs-button.cs-button--secondary {
    background-color: var(--cs-secondary-color);
    color: var(--cs-primary-color);
}

.cs-button.cs-button--secondary:hover,
.cs-button.cs-button--secondary:focus {
    outline: none;
    background-color: #cee5ff;
}

.cs__group-button {
    display: flex;
    position: relative;
    z-index: 10;
}

.cs__group-button .cs-button {
    display: block;
}

.cs__group-button .cs-button:nth-of-type(1) {
    margin-left: 0;
}

.cs-break-button {
    display: none;
}


.cs-link {
    border: none;
    background: none;
    color: var(--cs-primary-color);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.cs-link>span {
    text-decoration: underline;
}

.cs-link:hover,
.cs-link:focus {
    outline: none;
}

.cs-link:hover>span,
.cs-link:focus>span {
    text-decoration: none;
}



/* switch */

.cs-switch__input {
    border: none;
    border-radius: 40px;
    background-color: var(--cs-switch-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: top;
    margin: 0;
    padding: 0;
    width: 42px;
    height: 20px;
    transition: background-position 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    cursor: pointer;
}

.cs-switch__input:checked {
    background-position: right center;
    background-color: var(--cs-success-color);
}

.cs-switch__input:hover,
.cs-switch__input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.cs-switch__input:checked:hover,
.cs-switch__input:checked:focus {
    box-shadow: 0 0 0 3px rgba(61, 198, 97, 0.25);
}



/* accordion */

.cs-accordion {
    margin: 28px 0 0;
}

@media only screen and (max-width: 767px) {
    .cs-accordion {
        margin: 18px 0 0;
    }
}

.cs-accordion__content {
    display: none;
    padding: 10px 16px;
}

.cs-accordion__panel {
    border-bottom: 1px solid var(--cs-line-color);
    padding: 0;
}

.cs-accordion__panel:nth-last-of-type(1) {
    border-bottom: 0;
}

.cs-accordion__heading {
    display: flex;
    align-items: center;
    font-size: 15px;
}

.cs-accordion__heading-column {
    margin: 0;
    padding: 0;
    flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
}

.cs-accordion__heading-column-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.cs-accordion__trigger {
    background: none;
    border: none;
    padding: var(--cs-accordion-inner);
    font-family: var(--cs-font-family);
    font-size: 15px;
    line-height: 19px;
    text-align: start;
    color: var(--cs-black-color);
    width: 100%;
    display: block;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.cs-accordion__trigger:hover,
.cs-accordion__trigger:focus {
    color: var(--cs-primary-color);
    outline: none;
}

.cs-accordion__trigger-icon {
    position: absolute;
    top: 23px;
    left: 0;
    transition: transform 0.2s;
}

.cs-accordion__trigger[aria-expanded='true'] .cs-accordion__trigger-icon {
    transform: rotate(90deg);
}

.cs-accordion__content {
    padding: var(--cs-accordion-inner);
    padding-top: 0;
}



/* box */

.cs {
    font-family: var(--cs-font-family);
    padding: var(--cs-box-outer);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999999999;
    box-sizing: border-box;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.4) 75%);
}

.cs__box {
    background-color: var(--cs-background);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    /*max-width: 1450px;*/
    margin: 0 auto;
    padding: var(--cs-box-inner);
    text-align: left;
    z-index: 999;
    position: relative;
    overflow: hidden;
}

.cs__box::after,
.cs__modal-footer::after {
    content: "";
    background: url("/static/img/icon/cs-icon.svg") no-repeat 0 0;
    background-size: 100% auto;
    width: 200px;
    height: 70px;
    bottom: 0;
    right: 230px;
    position: absolute;
    z-index: 0;
}

@media only screen and (max-width: 1199px) {

    .cs__box::after,
    .cs__modal-footer::after {
        width: 160px;
        height: 55px;
        right: 130px;
    }

    .cs__modal-footer::after {
        right: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .cs__box::after {
        right: 50%;
        transform: translateX(50%);
    }

    .cs__column-scroll {
        max-height: 100px;
        overflow-y: auto;
        margin-bottom: 22px;
    }
}

@media only screen and (max-width: 575px) {
    .cs__box {
        max-height: calc(100vh - var(--cs-box-outer) * 2);
        overflow: auto;
    }

    .cs__column-scroll {
        max-height: 100px;
    }
}

@media only screen and (max-height: 370px) {
    .cs__column-scroll {
        max-height: 70px;
    }
}

.cs__container {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.cs__column {
    flex: 1 0 0%;
    width: 100%;
    max-width: 100%;
}

.cs__column--button {
    text-align: end;
    flex: 0 0 auto;
    width: auto;
    padding-left: 120px;
    padding-bottom: 10px;
}

@media only screen and (max-width: 1400px) {
    .cs__column.cs__column--button {
        padding-left: var(--cs-box-inner);
    }
}

@media only screen and (max-width: 1199px) {
    .cs__column--button .cs__group-button {
        flex-direction: column;
    }

    .cs__column--button .cs__group-button .cs-button {
        margin-left: 0;
    }
}

@media only screen and (max-width: 767px) {
    .cs__column {
        flex: 0 0 auto;
    }

    .cs__column.cs__column--button {
        padding: 0 0 10px 0;
        margin: 0 auto;
        width: auto;
    }

    .cs__column--button .cs__group-button {
        flex-direction: row;
    }

    .cs__column--button .cs__group-button .cs-button:nth-of-type(2) {
        margin-left: 16px;
    }
}



/* modal */

.cs__modal {
    font-family: var(--cs-font-family);
    background-color: rgba(0, 0, 0, 0.85);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    z-index: 99999999999;
    box-sizing: border-box;
}

.cs__modal-dialog {
    margin: var(--cs-box-outer);
    width: auto;
    max-width: 100%;
    height: calc(100% - 40px);
    position: relative;
}

@media only screen and (min-width: 768px) {
    .cs__modal-dialog {
        max-width: 650px;
        margin: 60px auto;
        height: calc(100% - 120px);
    }
}

.cs__modal-content {
    background-color: var(--cs-white-color);
    box-shadow: var(--cs-shadow);
    border: none;
    border-radius: var(--cs-radius);
    max-height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cs__modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding: var(--cs-modal-inner);
    padding-bottom: 0;
}

.cs__modal-body {
    padding: var(--cs-modal-inner);
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    flex: 1 1 auto;
    overflow-y: auto;
}

.cs__modal-footer {
    padding: var(--cs-modal-inner);
    padding-top: 20px;
    display: flex;
    flex-shrink: 0;
}

.cs__modal-footer::after {
    right: 50%;
    transform: translateX(50%);
}

.cs__group-button--modal {
    margin: 0 auto;
    width: 416px;
    max-width: 100%;
}

.cs__modal-close {
    background: none;
    border: none;
    line-height: 1;
    text-shadow: none;
    color: rgba(0, 0, 0, 0.5);
    padding: 0;
    position: absolute;
    top: 26px;
    right: 26px;
    cursor: pointer;
    transition: color 0.2s;
}

.cs__modal-close:hover,
.cs__modal-close:focus {
    color: var(--cs-primary-color);
    outline: none;
}



/* helpers */

.cs-mb-0 {
    margin-bottom: 0 !important;
}

.cs-ml-0 {
    margin-left: 0 !important;
}

.cs-mr-0 {
    margin-right: 0 !important;
}

.cs-mt-1 {
    margin-top: 16px !important;
}

@media only screen and (max-width: 767px) {
    .cs-mt-1 {
        margin-top: 10px !important;
    }
}

.cs-text-left {
    text-align: start !important;
}

.cs-text-right {
    text-align: end !important;
}

.cs-text-center {
    text-align: center !important;
}

.cs-text-success {
    color: var(--cs-success-color) !important;
}