﻿
.cookie-bar {
    font-family: arial;
    font-size: 13px;
    line-height: 1.4;
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    padding: 20px 15px 5px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 9999999;
    background-color: rgba(0, 0, 0, 0.9); 
    color: white;
}

.cookie-bar__copy {
    width: 100%;
    text-align: center;
}

.cog {
    width: 20px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.cookie-bar__accept{
    position: relative;
    padding: 16px 10px;
    color: white;
}

/* .cookie-bar__accept:after{
    display: none;
} */

.cookie-bar__settings {
    color: inherit;
    text-decoration: none;
    padding: 18px 18px;
    position: relative;
    color: white;
    margin-bottom: 20px;
}

.cookie-bar__settings {
    padding-left: 37px;
}


.cookie-bar__accept:hover {
    background-color: #fff;
    color: rgba(0, 0, 0, 0.9);
}

.cookie-bar__settings:hover {
    background-color: rgba(225,225,225, 0.4);
    color: white;
}

@media(min-width: 600px) {
    .cookie-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        align-items: center;
        padding-bottom: 20px;
    }

    .cookie-bar__copy {
        text-align: left;
        padding-right: 16px;
        width: auto;
        flex: 1;
        font-size: 1.1em;
    }

    .cookie-bar__settings,
    .cookie-bar__accept {
        /* padding: 16px 32px; */
        text-align: center;
        margin-left: 10px;
        margin-bottom: 0;
    }

    .cookie-bar__accept {
        border: 1px solid #fff;
    }
}

.cookie-model {
    display: flex;
    align-items: flex-start;
    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: 99999999;
    overflow: scroll;
    -webkit-overflow-scrolling: touch; /* Lets it scroll lazy */

}

@media(min-width: 600px) {
    .cookie-model {
        align-items: center;
    }
}

.cookie-model::-webkit-scrollbar { 
    display: none; 
}

.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;
}

@media(min-width: 600px) {
    .cookie-model__window {
        padding: 30px 35px 25px;
    }
}

.cookie-model__window h1{
    font-size: 28px;
    line-height: 1;
    text-transform: none;
}

.cookie-model__window p{
    font-size: 14px;
    line-height: 22px;
}

.cookie-model.visible .cookie-model__window {
    transform: translateY(0);
    opacity: 1;
}

.cookie-model__close {
    background-color: green;
    color: #fff;
    border-radius: 4px;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    padding: 20px;
    font-size: 1.25em;
    /* border: 1px solid #7d7d7d; */
}

.cookie-model__close:hover {
    background-color: #ccc;
    color: #636363;
}

.cookie-model__close img {
    width: 10px;
}

.cookie-model h1 {
    margin: 0 0 16px;
}

.cookie-model__window > p {
    color: #848484;
    margin: 0 0 16px;
}

/*cookie option styles*/

/* .cookie-option {
} */

.cookie-option__heading {
    border-top: 1px solid #bfbfbf;
    padding-top: 18px;
    margin: 0 0 0;
    font-size: 20px;
    line-height: 1;
    text-transform: none;
}

.cookie-option__copy {
    color: #848484;
    margin: 0 0 16px;
}

.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: 4px;
    font-family: Arial, Helvetica, sans-serif;
    right: 7px;
}

.cookie-option input {
    display: none !important;
}

.cookie-option input:disabled + span {
    cursor: not-allowed;
    opacity: 0.5;
}

.cookie-option input:checked + span {
    background-color: green;
}

    .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;
    }
}

#cogBar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 60px;
    width: 60px;
    cursor: pointer;
    z-index: 100;
}
.cogBar__inner {
    position: relative;
}
.cogBar__inner:before {
    content: "";
    height: 120px;
    width: 1px;
    display: block;
    position: absolute;
    border-left: 60px solid grey;
    border-top: 60px solid transparent;
}
#cogBar:hover .cogBar__inner:before {
    border-left-color: green;
}

.cogBar__img {
    display: block;
    position: relative;
    z-index: 1;
    top: 30px;
    left: 6px;
}