﻿
/* Styles for cookie consent banner */
#cookieConsentBanner {
    position: fixed;
    bottom: 5%;
    left: 0;
    right: 0;
    margin: 0px auto;
    width: 50%;
    min-width: 350px;
    background-color: #1d1d1f;
    color: #fff;
    box-sizing: border-box;
    font-family: Arial;
    z-index: 99999999;
    display: flex;
    /*display: none;*/
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px;
    font-size: 14px;
    line-height: 19px;
}

.cookiemenu {
    overflow: hidden;
    width: 100%;
    background-color: #1d1d1f;
    display: flex;
    border-bottom: 1px solid #7e7e7e;
    border-radius: 12px 12px 0px 0px;
}

    .cookiemenu div {
        display: inline-block;
        border: none;
        outline: none;
        text-transform: uppercase;
        color: #fff;
        flex: 1;
        background-color: transparent;
        cursor: pointer;
        padding: 20px 40px;
        transition: background-color 0.3s;
        position: relative; /* Added */
        text-align: center;
        letter-spacing: 0.9px;
        font-size: 14px;
    }

        .cookiemenu div:hover {
            color:#46b036;
        }

        .cookiemenu div.currenttab{
            color:#46b036;
        }

        .cookiemenu div.currenttab::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            color:#46b036;
            background-color: #2da01c; /* Adjust color as needed */
        }
      

.tabcontent {
    display: none;
    padding: 20px 20px 10px 20px;
    max-height: 300px;
    overflow-y:scroll;
}

.current,.currenttab {
    display: block;
}

    .tabcontent h3 {
        margin-top: 0;
        text-align: left;
        font-size: 20px;
        padding-bottom: 5px;
    }

    .tabcontent p {
        margin-bottom: 0;
    }

.tab2CookiePart
{
    display:flex;
    width:100%;
    padding-top:20px;
}

.tab2CPText {
    display:inline-block;
}

.Tab2CPButton {
    display: inline-block;
    width:50px;
    padding-left: 10px;
    box-sizing: border-box;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #7e7e7e;
    margin: 10px auto;
}

#BannerButtons {
    display: flex;
    padding: 10px 20px 10px 20px;
    width: 100%;
    box-sizing: border-box;
    flex-direction:row-reverse;
    grid-gap:10px;
}

    #BannerButtons .bbbuttons {
        background-color: #fff;
        min-width: 33.3333%;
        border: 0px;
        color: #1d1d1f;
        cursor: pointer;
        padding: 15px 40px;
        box-sizing: border-box;
        text-align: center;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.4px;
    }

    #BannerButtons .accept 
    {
        background-color:#148f01;
        color:#fff;
    }

    #BannerButtons .bbbuttons.acceptsome {
        display: none;
    }

.BannerLogoHolder
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-bottom: 7px;
}

.BannerLogoTextHolder
{
    display: inline-block;
    font-size: 13px;
    color:#7e7e7e;
    padding-bottom: 6px;
}

.BannerLogoTextHolder a
{
    color:#7e7e7e;
}

.BannerLogoImageHolder
{
    width:50px;
    display: inline-block;
    padding-left: 7px;
}

.BannerLogoImageHolder img
{
    width:100%;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #148f01;
}

input:focus + .slider {
    box-shadow: 0 0 1px #148f01;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* width */
.tabcontent::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.tabcontent::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.tabcontent::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
    .tabcontent::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

@media (max-width: 1000px), only screen and (max-device-width: 1000px), (-o-min-device-pixel-ratio: 3/2), (min-device-pixel-ratio: 1.5) {

    #cookieConsentBanner {
        width: 70%;
      }

@media (max-width: 800px), only screen and (max-device-width: 800px), (-o-min-device-pixel-ratio: 3/2), (min-device-pixel-ratio: 1.5) {

    #cookieConsentBanner {
        width: 80%;
        }

@media (max-width: 550px), only screen and (max-device-width: 550px), (-o-min-device-pixel-ratio: 3/2), (min-device-pixel-ratio: 1.5) {

    input:checked + .slider::before {
        -webkit-transform: translateX(16px);
        -ms-transform: translateX(16px);
        transform: translateX(16px);
      }

    .switch {
        width: 40px;
        height: 24px;
      }

    .slider::before {
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
      }

    .cookiemenu {
        font-size: 12px;
      }

    #BannerButtons {
        flex-direction: column;
    }

    #BannerButtons .bbbuttons {
        width: 100%;
        padding:10px;
        display: block;
    }

    .cookiemenu
    {
        border-bottom:1px solid #808080;
    }

    .cookiemenu div {
        padding: 15px;
    }

    .tabcontent {
        max-height: 250px;
        font-size: 12px;
        line-height: 14px;
    }

    .tabcontent h3
    {
        font-size:14px;
        padding-bottom:5px;
    }

}