.cookiebanner, .cookie_detail_page{
    width: 524px;
    padding-bottom: 15px;
    background-color: #d4e6f7;
    z-index: 1000;

    -webkit-box-shadow: 0px -12px 50px -14px rgba(0,0,0,0.12);
    -moz-box-shadow: 0px -12px 50px -14px rgba(0,0,0,0.12);
    box-shadow: 0px -12px 50px -14px rgba(0,0,0,0.12);
    border-radius: 20px;
}

.cookie_detail_page {
    width: 1100px;
}

.diffusion_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    backdrop-filter: blur(5px);
    display: flex;
    align-content: center;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
}

.cookiepanel {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 40px 50px;
    padding-bottom: 10px;
}

.diffusion_layer p {
    margin: 0px;
    margin-bottom: 5px;
    color: rgb(0, 110, 184);
}


.cookie-cat {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 15px;
    margin-bottom: 50px;
    margin-top: 50px;
}

.cookie-cat h4 {
    color: rgb(0, 110, 184);
}


.cookie-cat table {
    width: 100%;
    margin-top: 15px;
    background-color: white;
}

.cookie-cat table tr {
    border-bottom: solid 1px #d4e6f7;
}

.cookie-cat table tr td {
    padding: 15px;
    color: black;
}

.cookie_popup a {
    color: #f4930b;
}

.cookie_popup a:hover {
    color: black;
}

.cookie_popup .information {
//    text-align: justify;
    margin-bottom: 25px;
}

.cookieElement {
    width: 200px;
    height: 90px;
    float: left;
    border-left: none;
    padding-top: 20px;
}

.cookie-cat .cookieElement {
    padding-top: 0;
    width: 70px;
    height: 70px;
}


.cookie_popup .cat_headline {
    display: flex;
    justify-content: space-between;
}

.cookie_popup .acceptButtons a {
    margin-bottom: 10px;
    background-color: #006eb8;
    height: 47px;
    color: white;
    text-align: center;
    line-height: 45px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 30px;
}
.cookie_popup .acceptButtons a:first-child {
    // margin-right: 0px;
    background-color: #f2920b !important;
    color: white;
}
.cookie_popup .acceptButtons a:last-child {
    // margin-right: 0px;
    background-color: white !important;
    color: #00346f;
}

.cookie_popup .acceptButtons a:nth-child(2) {
    // margin-right: 0px;
    background-color: transparent !important;
    color: #f2920b;
    border: solid 2px #f2920b;
}

.cookie_popup .submitbtn  input {
    width: 100%;
}

.cookie_popup .acceptButtons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.cookie_popup .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    /* margin-left: 34%; */
    float: left;
}

.cookie_popup .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie_popup .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: gray;
  -webkit-transition: .4s;
  transition: .4s;
}

.cookie_popup .slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 23px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.cookie_popup input:checked + .slider {
  background-color: #003470;
}

.cookie_popup input:focus + .slider {
  box-shadow: 0 0 1px #003470;
}

.cookie_popup input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.cookie_popup .slider.round {
  border-radius: 34px;
}

.cookie_popup .slider.round:before {
  border-radius: 50%;
}

.cookie_popup .information a {
    color: var(--akzentfarbe);
    cursor:pointer;
}

.cookie_popup .clear {
    clear: both;
}

#reopenCookieBanner {
    width: auto;
    cursor: pointer;
    height: 30px;
    background-color: lightgrey;
    padding: 10px;
    text-decoration: none;
}

.cooky_footer {
    display: flex;
    justify-content: space-evenly;
    margin-top: 25px;
}

.cooky_footer a {
    color: rgb(159, 192, 214);
    cursor:pointer;
    text-decoration: underline;
    font-size: 15px;
}


.cookie_detail_page {
    height: 600px;
    overflow: scroll;
    overflow-x: hidden;
}

.cookie_detail_page .acceptButtons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.cookie_detail_page .acceptButtons a {
    width: 20%;
    margin-right: 20px;
}
.cookie_detail_page .acceptButtons p {
    line-height: 40px;
    text-decoration: underline;
    cursor: pointer;
    margin-left: auto;
}

.cookie_detail_page .spacer {
    position: relative;
    height: 1px;
}

.cookie_detail_page .table_toogle {
    text-align: center;
    color: #f4930b;
    margin: 20px 0px;
    cursor: pointer;
}

.chooseCookies .cookieElement:first-child .slider {
    background-color: #cccccc !important;
    cursor: not-allowed;
}
.chooseCookies .cookieElement:first-child p {
    color: #cccccc;
}


#cookieReadmoreBtn {
    display: none;
}

@media only screen and (max-width: 870px) {

    #cookieReadmoreBtn {
        display: none;
    }

    .cookieReadmoreBtnShow {
        display: block !important;
    }

    .cookiepanel {
    width: 90%;
    left: 5%;
    }
    .cookiebanner {
    height: auto;
    padding-bottom: 20px;
    }
    .cookiebanner .acceptButtons a {
        width: 100%;
        margin-bottom: 5px;
    }
    .cookiebanner .cookieElement {
        width: 100px;
    }

    /* Cookie detail page  */
    /*#cookieReadmoreBtn {*/
    /*    display: block;*/
    /*}*/

    #cookie_detail_page #cookieGenInformationBlock {
        height: 150px;
        overflow: hidden;
    }

    #cookie_detail_page #cookieGenInformationBlock::before {
        content: '';
        width: 100%;
        height: 230px;
        position: absolute;
        left: 0;
        top: 0;
        background: linear-gradient(transparent 180px, #d4e6f7 105%, transparent 100%);
    }

    #cookieReadmoreBtn {
        color: #f2920b ;
    }

    #cookie_detail_page .cookiepanel .readmore  {
        height: auto !important;
    }

    #cookie_detail_page .cookiepanel  .readmore::before {
        display: none;
    }


}
