.cookiebar{
    box-sizing:border-box;position:fixed;left:0;width:100%;padding:.6em 1.2em;
    background-color:#4b4b4b;color:#fff;font-size:1em;text-align:center;z-index:10;
}
.cookiebar *{box-sizing:border-box}
.cookiebar--active{display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap}
.cookiebar--position-top{top:0}
.cookiebar--position-bottom{bottom:0}
.cookiebar__message,.cookiebar__text{margin-right:1.5em}
a.cookiebar__link, a.cookiebar__link:link, a.cookiebar__link:visited{color:#fff;text-decoration:none}
.cookiebar__link:hover{text-decoration:none}
.cookiebar button{clear: both; margin:0;padding: 0.3rem .6rem;border:none !important;border-radius:0;background-color:#4ea55e;
    color:#000;font-weight:700;cursor:pointer}
.cookiebar button:hover{background-color:#3e824a;border:none;}
.cookiebar__analytics{margin-right:1.5em}
.cookiebar__analytics-label{cursor:pointer}.cookiebar__analytics-checkbox{margin-right:5px}
.cookiebar-label { margin-right: 1rem;}
.cookie-items {
    margin: 1rem 0;
    width: 100%;
}

.cookie-item {
    position: relative;
}

.cookie-item input[type="checkbox"]{
    position: relative;
    display: inline-block;
    left: auto;
    opacity: 0;
    display: none;
}

.popup .cookiebar{
    padding: 1.5rem;
}

.cookie-item .slider {
    position: relative;
    top: 2px !important;
    margin-right: 2px;
    display: inline-block;
    height: 14px;
    width: 30px;
    background-color: #ccc;
    cursor: pointer;
    transition: .4s;
    border-radius: 10px;
}

.cookie-item .slider:before {
    position: absolute;
    bottom: 2px;
    left: 2px;
    content: "";
    background-color: #fff;
    height: 10px;
    width: 10px;
    transition: .4s;
    border-radius: 50%;    
}

.cookie-item input:checked + .slider {
    background-color: #66bb6a;
}

.cookie-item input:checked + .slider:before {
    transform: translateX(17px);
}


.popup .cookiebar { display: block;position:relative; margin: auto}
.popup .cookiebar--active { display: inline-block !important;}
#cookiebar.popup_content {
    padding: 15px 10px;
    max-width: 90%;
    border: 2px solid #444;
}

.popup .popup_close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}


/* new style */
#cookiebar-text {
    margin: 3.5rem auto 1.5rem!important;
}

.cookiebar-text {
    display: none;
}

.cookiebar--active,
.cookie-items,
.cookie-item,
.cookiebar button {
    float: none !important;
    display: inline !important;
    margin: auto !important;
}

.cookie-item {
    font-size: 0.75rem;
}

.cookie-item .slider {
    margin-left: 0 !important;
}

.cookiebar button.no-border {
    min-width: 30px;
    border: none !important;
    font-size: 0.75rem;
}

.cookiebar button.big-btn {
    font-size: 1.5rem;
    font-weight: 700;
    border-width: 3px !important;
    padding: 6px 20px;
    border-radius: 6px;
}

#cookie_close {
    position: absolute;
    top: 0.5rem;
    right: 0;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
}

#cookie_close::after {
    content: '✕';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: inline-block;
    font-size: 2rem;
    line-height: 1;
}

.popup_content #cookie_close {
    display: none;
}

#cookiebar.popup_content .container {
    width: auto;
}

/* Media Query
--------------------*/

/* Mobile-landscape (and larger) lansacape */
@media only screen and (min-width: 480px) {
}


/* min-width:768px Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) {
    #cookiebar.popup_content {
        margin: 10px;
        padding: 10px;
        max-width: 80%;
    }
}


/* Tablet-landscape (and larger) for width 960px */
@media only screen and (min-width: 992px) {
    #cookiebar.popup_content {
        max-width: 60%;
    }
}