﻿
.cookies {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100vh;
    margin: 0 auto;
    width: 100%;
    max-width: 670px;
    z-index: 100000;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 12px rgba(110, 119, 130, .25);
    overflow: hidden;
    background-color: #fff;
    padding: 12px;
    transition: bottom .3s ease-in;
}

._cookie-show .cookies {
    bottom: 0;
}

.cookies__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cookies__heading {
    font-family: Arial, sans-serif;
    font-weight: 550;
    font-size: 14px;
    line-height: 18px;
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 16px;
    font-style: normal;
    letter-spacing: -.2px;
}

.cookies__btn-more {
    margin: 0;
    padding: 0;
    list-style: none;
    outline: none;
    box-sizing: border-box;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    line-height: 32px;
    cursor: pointer;
}

.cookies__btn-more-text {
    font-family: Arial, sans-serif;
    font-weight: 550;
    font-size: 14px;
    line-height: 16px;
    color: #0097fd;
    transition: color .1s linear;
}

.cookies__btn-more-icon {
    width: 16px;
    height: 16px;
    margin-left: 2px;
    fill: #0097fd;
    transition: fill .1s linear, transform .2s linear;
    max-width: 100%;
    max-height: 100%;
}

.cookies.show-more .cookies__btn-more-icon {
    transform: scaleY(-1);
}

.cookies__agree-btn {
    font-family: Arial, sans-serif;
    font-weight: 550;
    list-style: none;
    outline: none;
    border: none;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #f1f2f6;
    line-height: 32px;
    padding: 0 12px;
    border-radius: 4px;
    margin-left: 24px;
    cursor: pointer;
}

.cookies__description {
    display: none;
    margin-top: 16px;
}

    .cookies__description p {
        font-size: 14px;
        line-height: 18px;
    }

    .cookies__description a {
        color: #0097fd;
        transition: color .1s linear;
    }

@media screen and (min-width: 767px) {
    .cookies {
        border-radius: 8px;
    }

    ._cookie-show .cookies {
        bottom: 16px;
    }

    .cookies__inner {
        justify-content: space-between;
        align-items: center;
    }

    .cookies__heading {
        text-align: left;
        flex-basis: auto;
        margin-bottom: 0;
    }

    .cookies__btn-more {
        margin-left: 16px;
    }

    .cookies__description {
        padding-right: 112px;
    }
}

@media (hover: hover) {
    .cookies__btn-more:hover .cookies__btn-more-text {
        color: #007cff;
    }

    .cookies__btn-more:hover .cookies__btn-more-icon {
        fill: #007cff;
    }

    .cookies__description a:hover {
        color: #007cff;
    }
}
