
.cookie-container {
    opacity: 0;
    transition: all 0.5s linear;
    position: fixed;
    bottom: 10px;
    right: 0%;
    transform: translateX(100%);
    width: 300px;
    text-align: center;
    z-index: 100;
    display: block;
}
.cookie-container.visible {
    transform: translateX(-10%);
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}
.cookie-container .cookie {
    border-radius: 5px;
    border: 1px solid #efefef;
    padding: 10px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 2px 3px #999;
    width: 100%;
    height: auto;
    float: left;
}
.cookie-container .cookie h2 {
    text-transform: uppercase;
    font-size: rem-calc(16);
    font-weight: bold;
    text-align: center;
    margin: 0;
}
.cookie-container .cookie p {
    font-size: 12px;
}
.cookie-container .cookie a {
    text-align: center;
    color: grey;
    text-transform: uppercase;
    width: 100%;
    float: left;
}
.cookie-container .cookie #cookie-button-basic {
    border: 1px solid #bd0000;
    padding: 4px;
    margin-bottom: 10px;
}
.cookie-container .cookie #cookie-button-settings {
    border: 1px solid #bd0000;
    padding: 4px;
    margin-bottom: 10px;
}
.cookie-container .cookie #cookie-button {
    background-color: #bd0000;
    padding: 4px;
    color: #fff;
    margin-bottom: 10px;
}
.cookie-container .cookie #cookie-button-selected {
    background-color: #bd0000;
    padding: 4px;
    color: #fff;
    margin-bottom: 10px;
}
.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

.switch input {display:none;}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ca2222;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: #2ab934;
}

.switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider:after
{
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}
.switch .content-Ja:after{
content: "Nej";
}
.switch input:checked + .content-Ja:after
{
    content:'Ja';
}
.switch .content-Yes:after{
content: "No";
}
.switch input:checked + .content-Yes:after
{
    content:'Yes';
}

/*--------- END --------*/
 