/* DOCUMENT INFORMATION
    - Document: Stylesheet for WACON COOKIE CONSENT BOX
    - Version:  1.1.4
    - Client:   WACON Internet GmbH
    - Author:   Kerstin Schmitt / Oliver Best
*/

.waconcookiemanagement {
    display: none;
}

.fluxwrapper{
    display: flex;
    margin-left: 10px;
    flex-direction: row-reverse;
    margin-right: 10px;
    padding-top: 10px;
}


.tx-wacon-cookie-management{
    position: fixed;
}

.cookie-legal{
    margin-left:30px;
}



#CookieBox p,
#CookieBox h1,
#CookieBox h2,
#CookieBox h3 {
    padding:0px 10px;
    text-transform: none;
    text-decoration: none;
    font-style: normal;
    display: inline-block;
    margin-bottom: 0px;
}


#CookieBox p{
    display: block;
}


#CookieBox a {
    text-transform: none;
    text-decoration: none;
}

#CookieBox {
    z-index: 601;
    position: fixed;
    overflow: hidden;
    bottom: 0px;
    width: 100%;
    height:100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgba(255,255,255,0.5);
}

/* if backdrop support: very transparent and blurred */
@supports ((-webkit-backdrop-filter: blur(2em)) or (backdrop-filter: blur(2em))) {
  #CookieBox {
    background-color:transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
}


#CookieBox .middle-center{
    max-width:600px;
}

#CookieBox .intro{
    background: rgb(237,237,238);
    padding: 30px;
}

#CookieBox .box-cookie-management{
    background: rgb(237,237,238);
}

#CookieBox h2 {
    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 {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    background: rgb(132,173,101);
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
    margin:15px auto;
}

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

#CookieBox .cookie-accept {
    flex-grow:1;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

#CookieBox .cookie-accept a {
    padding:10px 50px;
}

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

#CookieBox .cookie-management,
#CookieBox .cookie-refuse {
    display: flex;
    flex-grow:1;
    flex-direction: column;
    align-self: center;
    padding: 0px;
    color:black!important;
    text-align: center;
    cursor: pointer;
}

#CookieBox .cookie-management a,
#CookieBox .cookie-refuse a{
    margin: 5px auto 5px;
    padding: 10px;
}

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

#CookieBox .text-right,
#CookieBox .text-back-right {
    text-align: right;
    display: inline-block;
    float: right;
}

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

#CookieBox .cookieback {
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    text-align: center;
    cursor: pointer;
    padding: 5px;
    margin-bottom: 10px;
    background-color: #ccc;
}

#CookieBox .cookie-on,
#CookieBox .cookie-off {
    cursor: pointer;
    display: inline-block;
    margin-right: 5px;
}

#CookieBox .cookie-on {
    display: none;
}

#CookieBox .intro .cookie-legal {
    width:100%;
}

#CookieBox .cookie-legal a {
    display: inline-block;
    padding: 0;
    font-size:.9rem;
    margin-right: 30px;
    color: #333333;
    text-decoration: none;
    cursor: pointer;
}

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

#CookieBox .info-text {
    display: none;
}

#CookieBox .info-show {
    cursor: pointer;
}

#CookieBox .info-hide {
    cursor: pointer;
}


#CookieBox .category {
    padding: 10px;
}

#CookieBox .category h3 {
    margin-top: 0;
    font-size: 1.25rem;
}



#CookieBox .cookie-info {
    background: #adb3b7;
    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;
    overflow: auto;
}


#CookieBox .deactivated,
#CookieBox .activated {
    width: 40px;
    height: 20px;
    background: #fff;
    display: inline-block;
    margin-bottom:-5px;
    border-radius: 15px;
}

#CookieBox .activated {
    background: #961f1d;
}

#CookieBox .off,
#CookieBox .on {
    cursor: pointer;
    display: block;
    float: left;
    background: #adb3b7;
    width: 16px;
    margin: 2px;
    height: 16px;
    border-radius:50%;
}

#CookieBox .on {
    float:right;
}

#CookieBox .arrow {
    border: .5rem solid #333;
    font-size: 0;
    line-height: 0;
    height: 0;
    padding: 0;
    margin: 0px 10px;
    display: inline-block;
}

#CookieBox .arrow.down {
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    margin-bottom: -5px;
}

#CookieBox .arrow.up {
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    margin-top: -5px;
}

/* CookieFix unterer Bereich mit Buttons */
#CookieBox .cookie-fix {
    display: none;
    overflow: auto;
}

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

#CookieBox .cookie-fix .cookie-save .cookie-btn{
    padding: 10px;
    margin: 0 0 0 10px;
}

#CookieBox .cookie-fix{
    background: rgb(237,237,238);
}

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

#CookieBox .cookieacceptall,
#CookieBox .cookie-refuse {
    display:block;
    margin: 10px auto;
    text-align: center;
    cursor: pointer;
    padding: 5px 20px;
    background-color: #fff;
    white-space: nowrap;
    width:auto;
}

#CookieBox .cookie-fix .cookie-legal {
    clear: both
}

.cookie-set.script {
    cursor: pointer;
    position: relative;
    min-height: 50px;
    background: #adb3b7;
    text-align: center;
}

.cookie-set.script p {
    position: absolute;
    top: 45%;
    color: #333333;
    text-align: center;
    width: 100%;
}

.cookie-set {
    cursor: pointer
}



@media(max-width: 786px) {
    #CookieBox .cookie-fix .text-back-right {
        width:50%;
    }


    .fluxwrapper{
        display: block;
    }

    .fluxwrapper > p{
        display: block;
    }

    #CookieBox .fluxwrapper .cookie-accept{
        display: inline-block;
        width: 50%;
    }
    #CookieBox .fluxwrapper .cookie-management{
        display: inline-block;
        width: 50%;
    }
    .box-cookie-management{
        height:auto!important;
    }

    .cookie-fix{
        display:flex;
    }
    #CookieBox .cookie-fix .cookieback, #CookieBox .cookie-fix .cookie-refuse{
        margin:0px;
        margin-bottom: 10px;
    }



}