/* #itjoin, 20261007, SAMOSD-7345, a.trotskyi */

.cookie-consent-banner {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 30px;
    z-index: 10000;
    width: min(560px, calc(100% - 32px));
    padding: 20px 24px 22px;
    box-sizing: border-box;
    color: #2e3a59;
    background: #e7ebf1;
    border: none;
    border-radius: 21px;
    box-shadow: 0 4px 18px rgba(46, 58, 89, .16);
    transform: translateX(-50%);
    font-family: var(--main-font-family, Euclid Square, Tahoma, Arial, "sans serif");
    font-size: 12px;
    line-height: 1.45;
}

.cookie-consent-banner[hidden] {
    display: none;
}

.cookie-consent-banner--preferences {
    width: min(680px, calc(100% - 40px));
    padding: 0;
}

.cookie-consent-banner--preferences > .cookie-consent-banner__content {
    display: none;
}

.cookie-consent-preferences[hidden] {
    display: none;
}

.cookie-consent-preferences__header,
.cookie-consent-preferences__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
}

.cookie-consent-preferences__header {
    justify-content: space-between;
    border-bottom: 1px solid #d6dce5;
}

.cookie-consent-preferences__title {
    margin: 0;
    color: #2e3a59;
    font-size: 17px;
    text-transform: uppercase;
}

.cookie-consent-preferences__close {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #2e3a59;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0;
}

.cookie-consent-preferences__close::before,
.cookie-consent-preferences__close::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 6px;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.cookie-consent-preferences__close::before {
    transform: rotate(45deg);
}

.cookie-consent-preferences__close::after {
    transform: rotate(-45deg);
}

.cookie-consent-preferences__body {
    max-height: min(65vh, 560px);
    padding: 24px 28px;
    overflow-y: auto;
}

.cookie-consent-preferences__intro,
.cookie-consent-preferences__section-description {
    color: #2e3a59;
    font-size: 12px;
    line-height: 1.5;
}

.cookie-consent-preferences__intro {
    margin-bottom: 14px;
}

.cookie-consent-preferences__section {
    margin-top: 8px;
    border: 1px solid #d6dce5;
    background: #e2e8f0;
    border-radius: 8px;
}

.cookie-consent-preferences__section.is-open {
    background: #dce3ec;
}

.cookie-consent-preferences__section-header {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: 6px;
    padding: 0 16px;
}

.cookie-consent-preferences__expand {
    flex: 1;
    padding: 8px 0;
    color: #2e3a59;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.cookie-consent-preferences__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    margin-right: 6px;
    color: #2e3a59;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease;
}

.cookie-consent-preferences__section.is-open .cookie-consent-preferences__arrow {
    transform: rotate(180deg);
}

.cookie-consent-preferences__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 20px;
    margin-right: 10px;
}

.cookie-consent-preferences__toggle input {
    position: absolute;
    opacity: 0;
}

.cookie-consent-preferences__toggle-track {
    width: 34px;
    height: 20px;
    background: #c8cfd9;
    border-radius: 20px;
    cursor: pointer;
}

.cookie-consent-preferences__toggle-track::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    margin: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s ease;
}

.cookie-consent-preferences__toggle input:checked + .cookie-consent-preferences__toggle-track {
    background: #ff9000;
}

.cookie-consent-preferences__toggle input:checked + .cookie-consent-preferences__toggle-track::before {
    transform: translateX(14px);
}

.cookie-consent-preferences__toggle input:disabled + .cookie-consent-preferences__toggle-track {
    cursor: default;
    opacity: .7;
}

.cookie-consent-preferences__status {
    flex: 0 0 130px;
    width: 130px;
    min-width: 0;
    margin-right: 20px;
    box-sizing: border-box;
    color: #2e3a59;
    font-size: 11px;
    text-align: right;
    white-space: nowrap;
}

.cookie-consent-preferences__section-content {
    display: none;
    padding: 0 16px 16px;
}

.cookie-consent-preferences__section.is-open .cookie-consent-preferences__section-content {
    display: block;
}

.cookie-consent-preferences__table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    table-layout: fixed;
    color: #2e3a59;
    font-size: 11px;
}

.cookie-consent-preferences__table th,
.cookie-consent-preferences__table td {
    padding: 6px;
    border: 1px solid #e1e5eb;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cookie-consent-preferences__table th:first-child,
.cookie-consent-preferences__table td:first-child {
    width: 28%;
}

.cookie-consent-preferences__table th:last-child,
.cookie-consent-preferences__table td:last-child {
    width: 72%;
}

.cookie-consent-preferences__table th {
    background: #dfe5ed;
    font-weight: 700;
}

.cookie-consent-preferences__footer {
    justify-content: flex-end;
    flex-wrap: wrap;
    border-top: 1px solid #d6dce5;
}

.cookie-consent-banner__button--save {
    margin-right: auto;
    color: #ff6500;
    background: transparent;
    border-color: transparent;
}

.cookie-consent-banner__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 9px;
}

.cookie-consent-banner__title {
    margin: 0;
    color: #2e3a59;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.cookie-consent-banner__icon {
    flex: 0 0 auto;
    color: #ff6500;
    font-size: 23px;
}

.cookie-consent-banner__text {
    margin: 0 0 11px;
}

.cookie-consent-banner__privacy {
    margin: 0 0 12px;
}

.cookie-consent-banner__privacy-link {
    color: var(--link-active-color, #4a90e2);
    font-weight: 700;
    text-decoration: none;
}

.cookie-consent-banner__privacy-link:hover,
.cookie-consent-banner__privacy-link:focus {
    text-decoration: underline;
}

.cookie-consent-banner__actions {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: flex-end;
}

.cookie-consent-banner__button {
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #ff6500;
    border-radius: 31px;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    text-transform: uppercase;
    transition: transform .25s ease, opacity .25s ease;
}

.cookie-consent-banner__button--accept {
    color: #fff;
    background-image: linear-gradient(180deg, #ff9000 3%, #ff6500);
}

.cookie-consent-banner__button--settings {
    color: #6b7280;
    background: transparent;
    border-color: transparent;
}

.cookie-consent-banner__button--decline {
    color: #ff6500;
    background: #ffefe5;
}

.cookie-consent-banner__button:hover,
.cookie-consent-banner__button:focus {
    transform: scale(.95);
}

.cookie-consent-settings .fa-cookie-bite {
    margin-right: 6px;
}

.cookie-consent-settings__label {
    color: #2e3a59;
}

.cookie-consent-settings:hover,
.cookie-consent-settings:focus {
    color: #ff6500;
    text-decoration: none;
}

.cookie-consent-settings:hover .cookie-consent-settings__label,
.cookie-consent-settings:focus .cookie-consent-settings__label {
    color: #ff6500;
}

.samo_container div.logon-wrapper a.login-cookie-consent-settings {
    display: block;
    margin: 22px auto 0;
    width: 100%;
    color: #353b50 !important;
    font-size: 13px;
    text-align: center !important;
    text-decoration: none;
}

.samo_container div.logon-wrapper a.login-cookie-consent-settings .cookie-consent-settings__label {
    color: #6b7280;
}

.samo_container div.logon-wrapper a.login-cookie-consent-settings:hover,
.samo_container div.logon-wrapper a.login-cookie-consent-settings:focus {
    color: #ff6500 !important;
    text-decoration: none;
}

.samo_container div.logon-wrapper a.login-cookie-consent-settings:hover .cookie-consent-settings__label,
.samo_container div.logon-wrapper a.login-cookie-consent-settings:focus .cookie-consent-settings__label {
    color: #ff6500;
}

@media (max-width: 600px) {
    .cookie-consent-banner {
        left: 50%;
        right: auto;
        bottom: 20px;
        width: calc(100% - 32px);
        padding: 20px;
        border-radius: 22px;
    }

    .cookie-consent-banner__title {
        font-size: 16px;
    }

    .cookie-consent-banner__icon {
        font-size: 25px;
    }

    .cookie-consent-banner__actions {
        flex-direction: column;
    }

    .cookie-consent-banner__button {
        width: 100%;
    }

    .cookie-consent-banner--preferences {
        width: calc(100% - 32px);
    }

    .cookie-consent-preferences__header,
    .cookie-consent-preferences__footer {
        padding: 16px 20px;
    }

    .cookie-consent-preferences__body {
        padding: 20px;
    }

    .cookie-consent-preferences__status {
        flex-basis: 105px;
        width: 105px;
        margin-right: 8px;
    }

    .cookie-consent-preferences__footer {
        flex-direction: column;
    }

    .cookie-consent-preferences__footer .cookie-consent-banner__button {
        width: 100%;
    }
}
