// Override specificity for the "More Info" link
.cc-grower .cc-window .cc-link {
    color: theme('colors.turquoise');

    &:hover,
    &:focus {
        color: theme('colors.turquoise-darker');
    }
}

.cc-grower .cc-window .cc-btn  {
    font-weight: 400;
    text-decoration: none;
    border: 1px solid theme('colors.white');
}

.cc-grower .cc-window .cc-btn:hover,
.cc-grower .cc-window .cc-btn:focus  {
    text-decoration: none;
    color: theme('colors.white');
    background: transparent;
}

/* stylelint-disable */
.cc-grower {
    max-height: 190px !important; // otherwise the button will be cut off
    background: theme('colors.blue');
}
/* stylelint-enable */

.cc-revoke {
    display: none;
}

.cc-window {
    font-family: theme('fonts.sans-fallback');
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    max-height: 62vh;

    &.cc-banner {
        flex-direction: column;
        margin: 0 auto;
        // max-width: 80rem;
        padding: 1rem;
    }
}

.fonts-loaded-1 .cc-window {
    font-family: theme('fonts.sans');
}

.cc-message {
    font-size: 1rem;
    margin-bottom: 1rem;
    overflow-y: auto;

    @media screen and (min-width: 768px) {
        padding-right: 1rem;
    }
}

.cc-compliance {
    display: block;
    margin-top: auto;

    .cc-window.cc-banner & {
        flex: 0 0 auto;
    }

    @media screen and (max-width: 767px) {
        width: 100%;
    }
}

.cc-btn {
    border-radius: 5px;
}

.cc-btn + .cc-btn {
    margin-left: 0;

    &:hover,
    &:focus {
        text-decoration: none;
    }
}

.cc-window .cc-highlight .cc-btn:first-child {
    text-decoration: none;
    background: #fff;
    margin-bottom: 1rem;
}

@screen sm {
    .cc-compliance {
        margin-top: 0;

        .cc-btn {
            flex: 0 0 auto;
            width: auto;
        }
    }

    .cc-message {
        font-size: 1rem;
    }
}

@screen md {
    .cc-window.cc-banner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .cc-message {
        margin-bottom: 0;
    }
}

[data-cookie-consent-color-button-background] {
    background-color: #666222;
}
