/* **************************************************************************
CUSTOM COOKIE BANNER
NB:
- Classes ending with --top or --bottom relate to the position of the banner.
  We are using the --bottom variant
- Classes ending with --dark or --light refer to the theme of the banner.
  We are using the --dark variant
- Classes that don't end with a -- suffix are the default styles
  These are all used, unless overridden by a --dar or --bottom rule
************************************************************************** */

/*  The container around everything */
.mCCF {
    margin: 0;
    padding: 1rem;
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 1rem;
}
.mCCF--top,
.mCCF--bottom {
    /* The container at top or bottom of page */
    right: 0;
    left: 0;
}
.mCCF--top {
    /* The container rendered at top of page */
    top: 0;
}
.mCCF--bottom {
    /* The container rendered at bottom of page */
    bottom: 0;
}

/* The message */
.mCCF__message {
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Link to priv policy */
.mCCF__link {
    border: none;
    text-decoration: none;
    color: #52daea;
    text-decoration: none;
}
.mCCF__link:hover {
    color: #d4af37;
}

/* Button */
.mCCF__accept {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    padding: .625rem 1.5rem .5rem;
    text-transform: uppercase;
    background: #78BC48;
    color: #1d290a;
    transition:
        color .15s ease-in-out,
        background-color .15s ease-in-out;
    grid-area: button;
}
.mCCF__accept:hover {
    background: #d4af37;
    color: #fff;
}

/**
 * Dark theme
 */
.mCCF--dark {
    background: #262626;
}
.mCCF--dark.mCCF--top {
}
.mCCF--dark.mCCF--bottom {
}
.mCCF--dark .mCCF__message {
    color: #eee;
}
.mCCF--dark .mCCF__link {
}
.mCCF--dark .mCCF__accept {
}
.mCCF--dark .mCCF__accept:hover {
}

/**
 * Light theme
 */
.mCCF--light {
    background: #e4e4e4;
}
.mCCF--light.mCCF--top {
}
.mCCF--light.mCCF--bottom {
}
.mCCF--light .mCCF__message {
    color: #4f4f4f;
}
.mCCF--light .mCCF__link {
    color: #14213D;
}
.mCCF--light .mCCF__link:hover {
    color: #d4af37;
}
.mCCF--light .mCCF__accept {
}
.mCCF--light .mCCF__accept:hover {
}
