
@keyframes cookie_animation {
	0% {bottom: -50%;}
	75% {bottom: 15%;}
	100% {bottom: 5%;}
}
@keyframes cookie_animation {
        0% {bottom: -50%;}
        75% {bottom: 15%;}
        100% {bottom: 5%;}
}
#cookie_warning {
    align-items: center;
    animation: 5s linear 0s normal forwards 1 running cookie_animation;
    background: #444 none repeat scroll 0 0;
    border-radius: 2px;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2);
    color: white;
    justify-content: space-between;
    left: 50%;
    line-height: 30px;
    max-width: 80%;
    padding: 1rem;
    position: fixed;
    transform: translate(-50%, 0px);
    width: 500px;
    z-index: 10000;
    display:block;
    text-align: justify;
}
.warning-text {
    color: #ffa726;
    cursor: pointer;
    font-weight: bold;
}

.cookie_checker{
    border-top: 1px dotted;
    padding-top: 10px;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px aliceblue;
    border-block-style: dotted;
    margin: 10px auto;
    border-bottom: none;
}

.hide_cookie_warning:hover, .hide_cookie_warning:focus {
  color: #ffa726;
  text-decoration: none;
  cursor: pointer;
}

.hide_cookie_warning {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: -15px;
  right: -5px;
  position: relative;
}

/*toogle checkbox*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

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

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

input:checked + .slider {
  background-color: var(--aColor);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--aColor);
}

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

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

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