.popup-banner-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  font-family: Arial, Helvetica, sans-serif;
  background: #7fba27;
  animation: bottom-appears 0.3s forwards 1 ease-in-out;
  transform: translateY(-100%);
  z-index: 10000;
}

.popup-banner-bottom a {
  color: #fff !important;
}

.popup-banner-bottom button:focus {
  outline: none;
}

.popup-banner-bottom.accepted {
  animation: bottom-disappears 0.3s forwards 1 ease-in-out;
}

@keyframes bottom-appears {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes bottom-disappears {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

#popup-banner.popup-banner-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Banner does not show once cookies are active */
#popup-banner.active {
  display: none;
}

/*  */
#popup-banner-small.active {
  display: block;
  animation: bottom-appears 0.3s forwards 1 ease-in-out;
}

#popup-banner-small {
  display: none;
  position: fixed;
  bottom: 0px;
  height: auto;
}

#popup-banner-small button {
  cursor: pointer;
  display: inline-block;
  font-size: 11px !important;
  padding: 8px 10px 8px;
  border-radius: 0 10px 0 0;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(0, 0, 0, 0.5);
  border: 1px rgba(0, 0, 0, 0.5) solid;
}

#popup-banner-small button:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
}

.popup-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin: auto;
}

.popup-text {
  flex-grow: 1;
  flex-shrink: 1;
  margin: 0 5rem 0 2rem;
  text-align: justify;
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
}
.popup-text.lang-ar,
.popup-text.lang-he {
  text-align: right;
}

@media screen and (max-width: 989px) {
  .popup-content {
    flex-direction: column;
    align-items: flex-end;
  }

  .popup-text {
    margin: 0;
  }
}

.popup-buttons {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  display: flex;
  justify-content: flex-end;
}

.popup-buttons .agree-button {
  background-color: white;
  color: #6F665B;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: 0.3s;
  margin-right: 16px;
  border: none;
}

.popup-buttons .agree-button:hover {
  background-color: #6F665B;
  color: white;
}

.config-cookies-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: white;
}

.gdpr-modal-container {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 10000;
  transform: translateX(-50%);
}

.gdpr-modal-container button:focus {
  outline: none;
}

.gdpr-modal-container.visible {
  opacity: 1;
  pointer-events: initial;
}

.gdpr-modal-container .gdpr-modal-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  max-width: 700px;
  width: 100%;
  height: 650px;
  max-height: 100%;
  background-color: #fff;
  border-radius: 8px;
  border: 2px #848484 solid;
  overflow-y: auto;
}

@media screen and (max-width: 700px) {
  .gdpr-modal-container .gdpr-modal-wrapper {
    border-radius: 0;
    border: none;
  }
}

.gdpr-modal-container .gdpr-modal-wrapper-absolute {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - 64px);
  overflow: auto;
  padding: 32px;
  transform: translateX(-50%);
}

@media screen and (max-width: 700px) {
  .gdpr-modal-container .gdpr-modal-wrapper {
    border-radius: 0;
    border: none;
  }
}

.gdpr-modal-container .main-title {
  margin: 0 0 32px 0;
  text-align: center;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: bold;
  color: #848484;
}

.gdpr-modal-container .title-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.gdpr-modal-container .title-wrapper:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #80ba27;
  transform: translateY(-100%);
}

.gdpr-modal-container .title {
  position: relative;
  margin: 16px 0;
  padding: 0 32px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #fff;
  color: #848484;
}

@media screen and (max-width: 700px) {
  .gdpr-modal-container .title-wrapper:before {
    display: none;
  }

  .gdpr-modal-container .title {
    padding: 0;
  }
}

.gdpr-modal-container .reg-text {
  font-size: 12px;
  color: #848484;
}

.gdpr-modal-container .reg-text a {
  color: #848484;
}

.gdpr-modal-container .reg-text.lang-ar,
.gdpr-modal-container .reg-text.lang-he {
  text-align: right;
}

.gdpr-modal-container .reg-text-checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gdpr-modal-container .reg-text-checkbox-wrapper .input-wrapper {
  position: relative;
  display: block;
  width: 100px;
  height: 50px;
  flex: 0 0 100px;
  flex-shrink: 0;
  flex-grow: 1;
  flex-basis: 100px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.gdpr-modal-container .reg-text-checkbox-wrapper .input-wrapper > input {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  opacity: 0;
  cursor: pointer;
}

.gdpr-modal-container .reg-text-checkbox-wrapper .input-wrapper > div {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 55px;
  height: 30px;
  background-color: #b3b3b3;
  border-radius: 15px;
}

.gdpr-modal-container .reg-text-checkbox-wrapper .input-wrapper > div:after {
  position: absolute;
  content: "";
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.gdpr-modal-container
.reg-text-checkbox-wrapper
.input-wrapper
> input:checked
~ div:after {
  left: 27px;
}

.gdpr-modal-container
.reg-text-checkbox-wrapper
.input-wrapper
> input:checked
~ div {
  background-color: #80ba27;
}

.gdpr-modal-container
.reg-text-checkbox-wrapper
.input-wrapper
> input:disabled
~ div {
  cursor: pointer;
  width: 30px;
}

.gdpr-modal-container
.reg-text-checkbox-wrapper
.input-wrapper
> input:disabled
~ div::after {
  display: none;
}

@media screen and (max-width: 1024px) {
  .gdpr-modal-container
  .reg-text-checkbox-wrapper
  .input-wrapper
  > input:disabled
  ~ div::before {
    opacity: 1;
  }
}

.gdpr-modal-container
.reg-text-checkbox-wrapper
.input-wrapper
> input:disabled
~ div:hover::before {
  opacity: 1;
}

.gdpr-modal-container .save-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gdpr-modal-container .save-button-wrapper button {
  width: 150px;
  height: 30px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  background-color: #80ba27;
  border: 2px #80ba27 solid;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.gdpr-modal-container .save-button-wrapper button:hover {
  background-color: white;
  color: #80ba27;
}
