.cookiebar-curtain{
  background: rgba(0,0,0,.5);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom:0;
  z-index: 9999998;
}
.cookiebar {
  position: fixed;
  background: #ffffff;
  padding: 1.3rem;
  margin: 1rem;
  border-radius: .8rem;
  position: fixed;
  bottom: 0;
  right: 0;
  max-width: 400px;
  font-family: sans-serif;
  line-height: 1.1rem;
  font-size: .9rem;
  box-shadow: 6px 4px 19px -5px rgba(0, 0, 0, 0.48), 5px 5px 15px 5px rgba(0,0,0,0);
  color: #333 !important;
  z-index: 9999999;
}

.cookiebar a{
  color: #333 !important;
}

.cookiebar h3, .cookiebar p{
  margin-top: 0;
  padding-top: 0;
}

.cookiebar .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 0 10px 0 0 !important;
}

.cookiebar .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookiebar .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.cookiebar .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.cookiebar .header-button{
  text-decoration: underline !important;
}

.cookiebar input:checked+.slider {
  background-color: #9ACD32;
}

.cookiebar input:focus+.slider {
  box-shadow: 0 0 1px #9ACD32;
}

.cookiebar input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.cookiebar .slider.round {
  border-radius: 34px;
}

.cookiebar .slider.round:before {
  border-radius: 50%;
}

.d-none {
  display: none !important;
}

.cookiebar .mt-2 {
  margin-top: 14px;
}

.cookiebar .info a{
  text-decoration: none;
}

/* Tooltip container */
.cookiebar .c-tooltip {
  position: relative;
  display: inline-block;
  /* If you want dots under the hoverable text */
}

/* Tooltip text */
.cookiebar .c-tooltip .tooltiptext {
  visibility: hidden;
  width: 240px;
  background-color: #555;
  color: #fff;
  padding: 10px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

.cookiebar .c-tooltip .tooltiptext ul li {
  color: #fff !important;
}

/* Tooltip arrow */
.cookiebar .c-tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.cookiebar .c-tooltip:active .tooltiptext,
.cookiebar .c-tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.cookiebar .switch-parent {
  padding: 3px 0;
  display: flex;
  align-items: center;
}

.cookiebar .close{
  border: 0px;
  border-radius: 2rem;
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: .8rem;
  background-color: #ddd;
}

.cookiebar .buttons{
  margin-top: 10px;
  text-align: right;
}
.cookiebar .buttons button{
  border-radius: 2rem;
  font-size: 14px;
  background-color: #fff;
  padding: .5rem .8rem;
}

.cookiebar .buttons button:hover{
  cursor: pointer;
}

.cookiebar .buttons .agree{
  background-color: #9ACD32;
  color: #fff;
  border: 2px solid #9ACD32;
}
.cookiebar .buttons .disagree{
  border: 2px solid #ddd;
}
