/**
 * cookies consent
 */

.c-cookies_consent_panel {
    display: flex; /* flex box */
    flex-flow: row nowrap; /* flex box */
    align-items: center; /* flex box */
    position: fixed;
    left: 0;
    right: 0;
    z-index: /* $z_overlay + 1000 */10100;
    border-top: 1px solid rgba(0, 0, 0, .075);
    box-shadow: 0 0 24px rgba(0, 0, 0, .05);
    padding: /* $grid_space_xs */12px /* $grid_space_sm */18px;
    background: #fff;
    background-clip: padding-box;
    font-family: 'Verdana';
    font-size: 12px;
    color: rgba(0, 0, 0, .75);
}

.c-cookies_consent_panel,
.c-cookies_consent_panel__hidden {
    visibility: hidden;
    bottom: -100vh;
    opacity: 0;
}

.c-cookies_consent_panel__hidden {
    transition: visibility 0s 1s, bottom 1s, opacity .25s;
}

.c-cookies_consent_panel__visible {
    visibility: visible;
    bottom: 0;
    opacity: 1;
    transition: visibility 0s, bottom 0s, opacity .25s;
}

.c-cookies_consent_panel::before {
    flex: none; /* flex cell */
    height: 32px;
    width: 32px;
    background: url(../img/cookies.svg) 50% 50% no-repeat;
    opacity: .75;
    content: "";
}

.c-cookies_consent_panel-text {
    margin-left: /* $grid_space_xs */12px;
}

.c-cookies_consent_panel-text a {
    border-bottom: 1px dashed rgba(0, 0, 0, .75);
    color: inherit;
    text-decoration: none;
}

.c-cookies_consent_panel-btn {
    margin: 0;
    margin-left: /* $grid_space_md */24px;
    border: solid transparent;
    border-width: 1px 0;
    border-radius: 2px;
    padding: /* $grid_space_xxs */6px /* $grid_space_sm */18px;
    background: rgba(0, 0, 0, .075);
    font-size: 12px;
    color: inherit;
    cursor: pointer;
}

.c-cookies_consent_panel-text a:hover,
.c-cookies_consent_panel-btn:hover,
.c-cookies_consent_panel-btn:focus {
    color: #000;
}

.c-cookies_consent_panel-text a:hover {
    border-bottom-color: #000;
}

.c-cookies_consent_panel-btn:hover,
.c-cookies_consent_panel-btn:focus {
    background-color: rgba(0, 0, 0, .09);
}

@media (max-width: 720px) {
    .c-cookies_consent_panel {
        font-size: 11px;
    }
}
