#cookiebox_decker {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(159, 159, 159, 0.8);
  display: none; }

#cookiebox {
  color: black;
  width: 570px;
  max-width: 100%;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 40px 20px 40px;
  font-size: 15px;
  z-index: 3;
  display: none;
  background: #fff;
  /*background-color: rgba(232,68,85,0.9);*/
  border: 1px solid #e8443a; }

#cookiebox a:hover {
  color: #ccc; }

#cookiebox .cb_text {
  padding: 0px 10px 10px 0;
  max-height: 30vh;
  overflow-y: scroll;
  /*	border-bottom:5px solid black;*/
  position: relative; }

#cookiebox .cb_text a {
  text-decoration: underline; }

#cookiebox .cb_link {
  border-top: 2px solid #e8443a;
  padding-top: 10px;
  margin-top: 20px; }

#cookiebox h2 {
  font-size: 17px;
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: 10px; }

#cookiebox h3 {
  font-size: 16px;
  padding: 8px 0; }

#cookiebox .cb_radio {
  margin-top: 20px; }

#cookiebox .cb_radio input[type="checkbox"] {
  /* reset all styles */
  appearance: none;
  background-image: none;
  background-color: transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 1px solid #d3d3d3;
  width: 20px;
  height: 20px;
  content: none;
  outline: none;
  margin: 0 5px 0px 0px;
  position: relative;
  top: 4px;
  /* Inputs könne eigentlich KEINE :pseudo Elemente besitzen. Hiermit stylet man also erneut das Input selber */ }
  #cookiebox .cb_radio input[type="checkbox"]:disabled {
    opacity: 0.8; }

#cookiebox .cb_radio input[type="checkbox"]:checked {
  appearance: none;
  outline: none;
  padding: 0;
  content: none;
  border: none; }

#cookiebox .cb_radio input[type="checkbox"]:checked::before {
  position: absolute;
  color: black !important;
  content: "\00A0\2713\00A0" !important;
  border: 1px solid #d3d3d3;
  font-weight: bolder;
  font-size: 13px; }

#cookiebox .cb_buttons {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; }

#cookiebox .cb_buttons button {
  /*
   padding: 10px 20px;
   color: white;
   border: none;
   border-radius:2px;
   display: block;
   */
  cursor: pointer;
  margin-top: 15px;
  color: white !important;
  text-decoration: none;
  padding: 12px 29px;
  font-size: 15px !important;
  border-radius: 4px;
  border: none;
  -webkit-box-shadow: 0px 7px 19px -6px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 7px 19px -6px rgba(0, 0, 0, 0.3); }

#cookiebox .cb_buttons button.all {
  background: black; }

#cookiebox .cb_buttons button.save {
  background: #646363; }

#cookiebox .cb_buttons button.deny {
  background: #9d9d9c; }
/*alte cookiebox:*/
#cookiebanner a {
  color: #fff;
  text-decoration: underline; }

#cookiebanner a:hover {
  text-decoration: underline; }

#cookiebanner div {
  padding: 10px;
  padding-right: 40px; }

#cookiebanner {
  text-align: center;
  border-bottom: 1px solid black;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  position: fixed;
  bottom: 0px;
  z-index: 10000;
  width: 100%;
  font-size: 12px;
  line-height: 16px;
  padding-bottom: 10px; }

#cookiebannerCloser {
  color: #2f2f2f;
  font: 14px/100% arial, sans-serif;
  /*
   position: absolute;
   right: 5px;
   */
  margin: 0 auto;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  top: 5px;
  cursor: pointer;
  border-top: 1px solid white;
  border-left: 1px solid white;
  border-bottom: 1px solid #7b92a9;
  border-right: 1px solid #7b92a9;
  padding: 4px;
  background: #ced6df;
  /* Old browsers */ }

#cookiebannerCloser:hover {
  border-bottom: 1px solid white;
  border-right: 1px solid white;
  border-top: 1px solid #7b92a9;
  border-left: 1px solid #7b92a9; }

@media only screen and (max-width: 979px) {
  #cookiebox {
    width: 90%;
    max-width: 90%;
    top: 0;
    bottom: initial;
    transform: translate(-50%, 0); }
    #cookiebox .cb_text {
      max-height: 15vh; }
    #cookiebox .cb_buttons {
      margin-top: 5px; }
      #cookiebox .cb_buttons button {
        cursor: pointer;
        margin-top: 15px;
        width: fit-content; }
    #cookiebox .cb_radio {
      margin-top: 5px; } }

@media only screen and (max-width: 540px) {
  #cookiebox {
    width: 90%;
    max-width: 90%; }
    #cookiebox .cb_text {
      max-height: 30vh; }
    #cookiebox .cb_buttons button {
      cursor: pointer;
      margin-top: 15px;
      width: 100%; } }
