﻿
.cookie-banner .component-content {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.55);
    z-index: 2147483646;
    width: 100%;
    height: 100%
}

.cookie-banner .cookie-banner-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: auto;
    max-width: calc(100% - var(--Space-Gap-MD)*2);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: var(--Space-Gap-LG);
    align-self: stretch;
    padding: var(--Space-Gap-LG);
    box-shadow: 0 1px 2px 0 rgba(40,70,95,.3),0 2px 6px 0 rgba(40,70,95,.1);
    border-radius: 4px
}

@media(min-width: 768px) {
    .cookie-banner .cookie-banner-content {
        width: 534px
    }
}

@media(min-width: 1025px) {
    .cookie-banner .cookie-banner-content {
        width: 628px
    }
}

.cookie-banner .cookie-banner-content:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 3px #007bbd
}

.cookie-banner .cookie-banner-content .cookie-banner-content__inner {
    display: flex;
    flex-direction: column;
    padding-bottom: var(--Space-Gap-XS);
    gap: var(--Space-Gap-MD)
}

    .cookie-banner .cookie-banner-content .cookie-banner-content__inner .header-section {
        display: flex;
        align-items: flex-start;
        align-self: stretch;
        gap: var(--Space-Gap-MD)
    }

        .cookie-banner .cookie-banner-content .cookie-banner-content__inner .header-section .title {
            flex: 1 1;
            color: #4c12a1
        }

    .cookie-banner .cookie-banner-content .cookie-banner-content__inner .field-description {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--Space-Gap-XL);
        align-self: stretch;
        color: #4a4a4a
    }

@media(min-width: 768px) {
    .cookie-banner .cookie-banner-content .cookie-banner-content__inner .field-description {
        gap: var(--Space-Gap-LG)
    }
}

.cookie-banner .cookie-banner-content .section-ctabuttons {
    justify-content: flex-end
}

.cookie-banner .cookie-banner-content .compliance-text {
    color: #4a4a4a
}

/* Cookie banner modal (Bootstrap modal) overrides to match the Privacy notice design */

.cookie-banner-overlay .modal-dialog {
    max-width: 628px;
}

.cookie-banner-overlay .modal-content.banner-container {
    border: 2px solid #00AEEF;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(40,70,95,.3), 0 2px 6px 0 rgba(40,70,95,.1);
}

.cookie-banner-overlay .close {
    position: absolute;
    top: 16px;
    right: 16px;
}

    .cookie-banner-overlay .close button {
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        line-height: 0;
    }

.cookie-banner-overlay .info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner-overlay .cookie-banner-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #4C12A1;
}

.cookie-banner-overlay .content {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #4a4a4a;
}

    .cookie-banner-overlay .content a {
        color: #4C12A1;
        font-weight: 700;
        text-decoration: underline;
    }

.cookie-banner-overlay .section-ctabuttons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 24px;
}

    .cookie-banner-overlay .section-ctabuttons button {
        min-width: 140px;
        padding: 12px 32px;
        border-radius: 32px;
        border: none;
        font-weight: 700;
        font-size: 16px;
        cursor: pointer;
    }

    .cookie-banner-overlay .section-ctabuttons button[aria-label="Reject"],
    .cookie-banner-overlay .section-ctabuttons button[aria-label="Accept"] {
        background-color: #4C12A1;
        color: #fff;
    }

        .cookie-banner-overlay .section-ctabuttons button[aria-label="Reject"]:hover,
        .cookie-banner-overlay .section-ctabuttons button[aria-label="Accept"]:hover {
            background-color: #3a0d7a;
        }

.cookie-banner-overlay .cookie-banner-form-number {
    margin-top: 16px;
    font-size: 13px;
    color: #767676;
}