
.wx_consentbanner_switch{
    position: relative;
    width: 40px;
    height: 20px;
    background: #cccccc;
    border-radius: 10px;
    cursor:pointer;
    transition:background 0.5s
}
.wx_consentbanner_switch.active{
    background:#8dc63f;
}

.wx_consentbanner_switch::after {
    content: "";
    background: white;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    display: block;
    top: 2px;
    position: absolute;
    transition: transform 0.5s;
    transform: translateX(15%);
}
.wx_consentbanner_switch.active::after {
    transform: translateX(115%);
}

.cookie-info .wx_consentbanner_switch{height:15px;width:30px;}
.cookie-info .wx_consentbanner_switch::after {width:11px;height:11px;border-radius:11px;}
.cookie-info .wx_consentbanner_switch.active::after { transform: translateX(155%); }

.wx_consentbanner {
    display: none;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.wx_consentbanner .title{display:flex;align-items:center;}
.wx_consentbanner .cookie-info .title {margin:0 0 10px}
.wx_consentbanner .title > * {margin:0;}
.wx_consentbanner .title .wx_consentbanner_switch{margin-right:5px}

/*
#CookieBox p,
#CookieBox h1,
#CookieBox h2,
#CookieBox h3 {
    color:#333333;
    text-transform: none;
    text-decoration: none;
    font-style: normal;
}
*/

/*
#CookieBox a {
    color:#333333;
    font-size:16px;
    text-transform: none;
    text-decoration: none;
}
*/

#CookieBox {
    z-index: 201;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60%;
    max-width: 900px;
    max-height: 95vh;
    overflow: auto;
    background: #fff;
    padding: 70px 50px 20px;
    border-radius: 5px;
    transform:translate(-50%,-50%);
    box-sizing: border-box;
}



#CookieBox h2 {
    text-align: center;
/*    font-weight: 600;*/
/*    font-size:1.6rem;*/
}

#CookieBox ul {
    margin: 0;
    padding: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

#CookieBox p {
    margin:0 auto 10px;
}

#CookieBox .cookie-btn,
#CookieBox .cookie-nobtn{
    display: block;
    font-family: inherit;
/*    font-size: 1.1rem;*/
    padding: 10px 50px;
    text-decoration: none;
    cursor: pointer;
    margin:15px 10px;
    cursor:pointer;
    text-align:center;
}
#CookieBox .cookie-btn{
    color: #fff;
    background: #8dc63f;
    border-radius: 15px;
    font-weight: bold;
}


#CookieBox .cookie-btn:hover {
    color: white;
    text-decoration: none;
}

#CookieBox .cookieclose {
    cursor: pointer;
    position:absolute;
    top:15px;
    right:15px;
    border-radius: 4px;
    background: #ccc;
    padding: 2px 9px;
    font-family: Verdana, sans-serif;
    font-size: 26px;
    color: #fff;
}

#CookieBox .intro p {
    width:100%;
}

#CookieBox .cookie-management a::before{content:"\2699";font-size: 1.3em;padding-right: 0.3em;}

#CookieBox .text-center {
    text-align: center;
}

#CookieBox .text-right,
#CookieBox .text-back-right {
    text-align: right;
}

#CookieBox .text-back-right a {
    display: inline-block;
    padding: 0 5px;
    margin-right: 10px;
    color: #333333;
    text-decoration: none;
}

.wx_consentbanner_legals {
    margin:50px -10px 0;
    display: flex;
    justify-content: flex-end;
}

.wx_consentbanner_legals a {
    display: inline-block;
    padding: 0;
    font-size:.9rem;
    margin: 0 10px;
    color: #333333;
    text-decoration: none;
    cursor: pointer;
}

#CookieBox .cookie-legal a:hover {
    text-decoration: underline;
}

#CookieBox .info-text {
    display: none;
    padding-top:10px;
}

#CookieBox .wx_consentbanner_category {
    background: #eeeeee;
    padding: 10px;
    margin:10px 0;
}

#CookieBox .wx_consentbanner_category h3 {
    margin-top: 0;
/*    font-size: 1.25rem;*/
    display: block;
    width: 100%;
    position:relative;
}
#CookieBox .wx_consentbanner_category h3::after {
    content: "";
    position: absolute;
    font-size: 0; 
    height: auto;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    transition: transform 0.3s;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #000000 transparent;
}
#CookieBox .wx_consentbanner_category.active h3::after {
    transform: translateY(-50%);
}
.wx_consentbanner_buttons{
    display: flex;
    flex-flow: row-reverse;
    justify-content: center;
    align-items: center;
    margin: 0 -10px;
}

.wx_consentbanner_buttons > div {width:100%; text-align: center;}

#CookieBox .cookie-info {
    background: #fff;
    padding: 10px;
}

#CookieBox .cookie-info table {
    border-collapse: collapse;
    border-spacing: 0px;
    width: 100%;
}

#CookieBox .cookie-info td {
    padding: 3px 10px 3px 0;
    border-top: #eeeeee solid 1px;
}

#CookieBox .cookie-info p {
    margin-top: 0;
}

#CookieBox .box-cookie-management {
    display: none;
}

#CookieBox .box-cookie-management-in{
   	margin-top:30px;
}



/* CookieFix unterer Bereich mit Buttons */
#CookieBox .cookie-fix {
    display: none;
    padding:20px 0 0 0;
}

#CookieBox .cookie-fix .cookie-save {
    float: left;
}

#CookieBox .cookie-fix .text-back-right {
    float: right;
}

.cookie-set {
    cursor: pointer
}


@media(max-width: 1000px) {
    #CookieBox {
        left: 2%;
        right:2%;
        width: auto;;
        top: 5%;
    	bottom:5%;
    	padding:40px 20px 20px;
    	transform:unset;
    }
}

@media(max-width: 786px) {
    #CookieBox .cookie-fix .text-back-right {
        width:87%;
    }
    .wx_consentbanner_buttons{flex-flow:column}
    .wx_consentbanner_legals{justify-content:center;}
}

