﻿.cookie-bar {
    font-family: arial;
    font-size: 13px;
    line-height: 1.4;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 25px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 10000;
}

.cookie-bar__copy {
    width: 100%;
    text-align: center;
}

.cog {
    width: 20px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.cookie-bar__settings,
.cookie-bar__accept {
    color: inherit;
    text-decoration: none;
    padding: 16px;
    position: relative;
}

.cookie-bar__settings {
    padding-left: 27px;
}

/*.cookie-bar__settings:hover {
        text-decoration: underline;
    }*/

.cookie-bar__accept:hover {
    background-color: #fff;
    color: rgba(0, 0, 0, 0.8);
}

@media(min-width: 600px) {
    .cookie-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        align-items: center;
    }
    .cookie-bar__copy {
        text-align: left;
        padding-right: 16px;
        width: auto;
        flex: 1;
    }
    .cookie-bar__settings,
    .cookie-bar__accept {
        /* padding: 16px 32px; */
        text-align: center;
    }
    .cookie-bar__accept {
        border: 1px solid #fff;
    }
}

.cookie-model {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    transform: translateY(-100%);
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 10px;
    font-size: 14px;
    z-index:10000;
}

.cookie-model.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-model__window {
    background-color: #fff;
    padding: 16px;
    margin: 0 auto;
    max-width: 600px;
    opacity: 0;
    transition: opacity 0.3s 0.2s, transform 0.3s 0.2s;
}

.cookie-model.visible .cookie-model__window {
    transform: translateY(50px);
    opacity: 1;
}

.cookie-model__close {
    /* float: right; */
    /* background-color: #b5b5b5; */
    background-color: #7d7d7d;
    color: #fff;
    /* border-radius: 100%; */
    border-radius: 4px;
    /* width: 25px; */
    /* height: 25px; */
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    padding: 0 10px;
    margin-top: 24px;
    border: 1px solid #7d7d7d;
}
.cookie-model__close:hover{
    background-color: transparent;
    color: #636363;
}

.cookie-model__close img {
    width: 10px;
}

/*cookie option styles*/

.cookie-option {}

.cookie-option__heading {
    border-top: 1px solid #bfbfbf;
    padding-top: 24px;
    margin: 0 0 10px;
}

.cookie-option__copy {
    color: #848484;
}

.cookie-option span {
    position: relative;
    width: 50px;
    height: 25px;
    display: inline-block;
    background-color: #252525;
    border-radius: 25px;
    cursor: pointer;
}

.cookie-option span:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    display: inline-block;
    background-color: #fff;
    transition: transform 0.3s;
    border-radius: 100%;
}

.cookie-option span:before {
    content: "off";
    color: #fff;
    position: absolute;
    top: 3px;
    font-family: Arial, Helvetica, sans-serif;
    right: 7px;
}

.cookie-option input {
    display: none;
}

.cookie-option input:disabled+span {
    cursor: not-allowed;
    opacity: 0.5;
}

.cookie-option input:checked+span {
    background-color: #06ab28;
}

.cookie-option input:checked+span:after {
    transform: translateX(25px);
}

.cookie-option input:checked+span:before {
    content: "on";
    transform: translateX(-22px);
}

.cookie-option__label {}

@media (min-width: 400px) {
    .cookie-option__label {
        float: right;
        margin-left: 5px;
    }
}