#slider {
    position: fixed;
    width: 380px;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    top: 0;
    bottom: 0;
    background: #0276A5;
    transform: translateX(-100%);
    color: #fff;
    padding: 15px;
    -webkit-transform: translateX(-100%);
    z-index: 103;
    visibility: hidden;
}

    #slider h2 {
        float: left;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Helvetica, Arial, sans-serif !important;
        color: #fff !important;
        font-size: 24px !important;
        font-weight: bold !important;
    }

    #slider h3 {
        float: left;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Helvetica, Arial, sans-serif !important;
        padding-top: 10px;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: bold !important;
    }

    #slider p {
        width: 100%;
        float: left;
        color: #fff !important;
        margin-bottom: 10px;
        font-size: 14px !important;
        line-height: 20px !important;
    }

#slider button {
    float: right;
    background-color: #ccc;
    border-radius: 4px;
}

#slider a {
    color: #fff;
}

.slide-in {
    animation: slide-in 0.5s forwards;
    -webkit-animation: slide-in 0.5s forwards;
}

.slide-out {
    animation: slide-out 0.5s forwards;
    -webkit-animation: slide-out 0.5s forwards;
}

@keyframes slide-in {
    100% {
        transform: translateX(0%);
    }
}

@-webkit-keyframes slide-in {
    100% {
        -webkit-transform: translateX(0%);
    }
}

@keyframes slide-out {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@-webkit-keyframes slide-out {
    0% {
        -webkit-transform: translateX(0%);
    }

    100% {
        -webkit-transform: translateX(-100%);
    }
}


.cookie-button {
    display: inline-block;
    float: right;
    margin-left: 10px;
    width: 40px;
    height: 40px; /* Ensure the height and width are equal */
    background-color: #57d;
    background-image: url(../templateimages/cookie-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    color: #fff;
    font-weight: normal;
    display: inline-block;
    float: right;
    font-size: 15px;
    line-height: 40px;
    border-radius: 50%; /* Makes the button round */
    padding: 0; /* Remove padding to ensure a perfect circle */
    margin-left: 10px;
    top: 0px;
    text-align: center; /* Center text if any */
    z-index: 100;
    position: sticky;
}

.cookieheader {
    float: left;
}

.cookie-button:hover {
    background-color: #79e;
}


div.logo a.cookie-button:link,
div.logo a.cookie-button:visited,
div.logo a.cookie-button:active
{
    background-color: #57d;
    color: #fff;
    font-weight: normal;
    display: inline-block;
    float: right;
    font-size: 15px;
    min-height: 40px;
    padding-left: 8px;
    padding-right: 8px;
    line-height: 40px;
    margin-left: 10px;
    top: 0px;
}

.padder-25 a.accessibility {
    float: none;
    margin: 10px 0;
}

/* SLIDER TOGGLE SWITCH */

/* toggle in label designing */
.toggle {
    position: absolute;
    display: inline-block;
    width: 58px;
    height: 20px;
    background-color: red;
    border-radius: 10px;
    border: 2px solid #fff;
}

    /* After slide changes */
    .toggle:after {
        content: '';
        position: absolute;
        width: 29px;
        height: 14px;
        border-radius: 8px;
        background-color: #fff;
        top: 1px;
        left: 1px;
        transition: all 0.5s;
    }

.toggleSelect {
    width: 70px;
    height: 28px;
    padding-top: 13px;
    float: right;
    right: 120px;
}

#slider .toggleSelect p {
        padding: 0px 1px 1px 3px;
        color: #fff;
        font-size: 10px !important;
        font-weight: 200;
        line-height: 16px !important;
        width: 54px;
    }
/* Checkbox checked effect */
.checkbox:checked + .toggle::after {
    left: 24px;
}

/* Checkbox checked toggle label bg color */
.checkbox:checked + .toggle {
    background-color: green;
}

/* Checkbox vanished */
.checkbox {
    display: none;
}


.show-for-small .AccessibilityCookieButtons {
    display: none;
}