:root {
  --cookie-black: #000;
  --cookie-blue: #0046ad;
  --cookie-lightblue: #5e98df;
  --cookie-green: #3cbd67;
  --cookie-yellow: #ffda24;
  --cookie-red: #e54626;
  --cookie-white: #fff;
  --cookie-lightgrey: #f3f3f3;
  --cookie-grey: #d9d9d9;
  --cookie-darkgrey: #878787;
}

/* admin page */
.webone-cookie-admin-page-wrapper input.regular-text {
  width: auto;
  min-width: 30em;
}

/* COOKIE BANNER */
#cookie-banner-wrapper {
  /* width: 100%;
	height: 100%;
	min-height: 100vh;
	min-height: 100vh;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.25);
	display: flex;
	justify-content: flex-end;
	flex-direction: column;
	z-index: 99990; */

  width: 100%;
  height: 100vh;
  position: fixed;
  bottom: 0px;
  background-color: rgba(0, 0, 0, 30%);
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  z-index: 99990;
}

#cookie-banner-wrapper.blur::after {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 999;
  position: absolute;
  content: "";
}

#cookie-banner {
  width: 100%;
  height: auto;
  background-color: #fff;
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.05), 0 5px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  bottom: -100%;
  transition: all 0.7s ease;
}

#cookie-banner.show {
  bottom: 0;
}
body.sticky-body #cookie-banner.show {
  /* bottom: 6rem; */
}

#cookie-banner-content {
  max-width: 950px;
  padding: 50px 25px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#cookie-banner-content img {
  max-width: 150px;
  height: auto;
}

#cookie-banner-text {
  padding: 0 50px;
  max-width: 700px;
}

#cookie-buttons-wrapper {
  display: flex;
  padding: 25px 0;
}

#cookie-buttons-wrapper a:last-of-type {
  margin-left: 25px;
}

/* End of COOKIE BANNER */

/* COOKIE SIDEBAR */
#cookie-sidebar {
  height: 100%;
  min-height: 100vh;
  width: 500px;
  /* margin-left: -500px; */
  margin-left: -550px;
  background-color: var(--cookie-white);
  z-index: 99999;
  /* position: absolute; */
  position: fixed;
  transition: all 0.4s ease;
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#cookie-sidebar::-webkit-scrollbar {
  display: none;
}

#cookie-sidebar.show {
  margin-left: 0;
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.05), 0 5px 5px rgba(0, 0, 0, 0.05);
  position: fixed;
}

#cookie-sidebar-content {
  padding: 50px;
}

#cookie-sidebar-info {
  padding-bottom: 25px;
}

#cookie-sidebar-settings h2 {
  padding-bottom: 1rem;
  margin-bottom: 0;
}

.cookie-toggler {
  width: 100%;
  border-top: 1px solid #ccc;
  margin: 0;
  padding: 15px 0;
}

.cookie-toggler .toggler-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggler-top-left {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.toggler-top-left i {
  color: #004679;
  margin-right: 15px;
  font-size: 30px;
  transition: all 0.4s ease;
}

.toggler-top-left i.open {
  transform: rotate(180deg);
}

.toggler-top-left p {
  padding: 0;
}

.toggler-top-right {
  display: flex;
}

.toggle-checkbox {
  opacity: 0;
}

.toggler-area {
  width: 50px;
  height: 20px;
  border-radius: 10px;
  /* background-color: var(--cookie-lightgrey); */
  position: relative;
  cursor: pointer;
}

.toggler-button {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  background-color: var(--cookie-blue);
  position: absolute;
  top: -2.5px;
  left: 0rem;
  transition: all 0.4s ease;
}

.toggler-button::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 8px;
  width: 5.4px;
  height: 12.6px;
  border: solid var(--cookie-white);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.4s ease;
}

.toggler-button.checked {
  background-color: var(--cookie-green);
}

.toggler-button.checked::after {
  opacity: 1;
}

.toggler-button::after {
  opacity: 0;
  content: "";
  position: absolute;
  top: 3px;
  left: 8px;
  width: 5.4px;
  height: 12.6px;
  border: solid var(--cookie-white);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.toggler-button.checked {
  left: 30px;
}

#necessary-checkmark {
  font-size: 2.5rem;
  color: var(--cookie-green);
}

.toggler-bottom {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.toggler-bottom > div {
  padding: 0 15px;
}

.toggler-bottom.active > div {
  padding: 15px;
}

.toggler-bottom > div {
  height: 0;
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  width: 100%;
}

.toggler-bottom.active > div {
  height: auto;
}

#cookie-sidebar-save-settings-wrapper {
  padding-top: 50px;
  border-top: 1px solid #ccc;
}

@media all and (max-width: 550px) {
	.toggler-button {
  left: -4rem;
}
  .toggler-button.checked {
    left: -2rem;
  }

  #cookie-banner-text {
    padding: 0px 0px;
  }

  #cookie-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 25px 0;
  }

  #cookie-buttons-wrapper a:last-of-type {
    margin-left: unset;
  }

  .cookie-modal-btn-accept {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }

  #cookie-sidebar {
    width: 100%;
  }

  #cookie-sidebar-content {
    padding: 25px;
  }
}

/* End of COOKIE SIDEBAR */

/* COOKIE STYLE END */
