#cbox_decker {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(159, 159, 159, 0.8);
  display: none;
}
#cbox {
  color: black;
  width: 500px;
  max-width: 100%;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 14px 40px 20px 40px;
  font-size: 16px;
  z-index: 3;
  display: none;
  background-color: rgba(40, 121, 176, 0.8);
}
#cbox h2 {
  margin-bottom: 5px;
}
#cbox a.weiss {
  color: white;
}
#cbox a:hover {
  color: #5a5a5a;
}
#cbox .cb_text {
  padding: 0px 10px 10px 0;
  max-height: 30vh;
  overflow-y: scroll;
  /*	border-bottom:5px solid black;*/
  position: relative;
}
#cbox .cb_text a {
  text-decoration: underline;
}
#cbox .cb_link {
  border-top: 2px solid #a4a46a;
  padding-top: 10px;
  margin-top: 20px;
}
#cbox h2 {
  margin-top: 0;
  padding-top: 0;
}
#cbox .cb_radio {
  margin-top: 20px;
}
#cbox .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 */
}
#cbox .cb_radio input[type="checkbox"]:checked {
  appearance: none;
  outline: none;
  padding: 0;
  content: none;
  border: none;
}
#cbox .cb_radio input[type="checkbox"]:checked::before {
  position: absolute;
  color: white !important;
  content: "\00A0\2713\00A0" !important;
  border: 1px solid #d3d3d3;
  font-weight: bolder;
  font-size: 13px;
}
#cbox .cb_buttons {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#cbox .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);
}
#cbox .cb_buttons button.all {
  background: black;
}
#cbox .cb_buttons button.save {
  background: #646363;
}
#cbox .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) {
  #cbox {
    width: 90%;
    max-width: 90%;
    top: 0;
    bottom: initial;
    transform: translate(-50%, 0);
  }
  #cbox .cb_text {
    max-height: 15vh;
  }
  #cbox .cb_buttons {
    margin-top: 5px;
  }
  #cbox .cb_buttons button {
    cursor: pointer;
    margin-top: 15px;
    width: fit-content;
  }
  #cbox .cb_radio {
    margin-top: 5px;
  }
}
@media only screen and (max-width: 540px) {
  #cbox {
    width: 90%;
    max-width: 90%;
  }
  #cbox .cb_text {
    max-height: 30vh;
  }
  #cbox .cb_buttons button {
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
  }
}
