/* -------------------------------- Bootstrap Fix ------------------------------- */

.hidden {
  display: none !important;
}

/* -------------------------------- Modal Fix ------------------------------- */

#myModal .modal-dialog {
  z-index: 999999;
}
#myModal .modal-dialog .col-md-12 {
  float: none;
}

/* ------------------------------ Cookie Style ------------------------------ */

:root {
  --cookie-main-color: #008cff;
  --cookie-sub-color: #009fff;
  --cookie-grey-color: #545454;
}

#myCookie {
  display: none;
  z-index: 100;
  position: fixed;
  left: 15px;
  bottom: 15px;
  color: var(--cookie-grey-color);
  background-color: #fdfdfd;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  width: 400px;
}
#myCookie .myCookie_hint {
  font-size: 13px;
  padding: 15px 15px 0;
}
#myCookie .myCookie_privacy {
  font-size: 14px;
  padding: 10px 15px;
}
#myCookie .myCookie_privacy a {
  position: relative;
  padding-left: 12px;
  transition: 0.5s;
  color: var(--vision-color-primary);
}
#myCookie .myCookie_privacy a:before {
  content: "\203A";
  font-weight: 400;
  color: var(--cookie-grey-color);
  font-size: 26px;
  line-height: 1em;
  position: absolute;
  top: -7px;
  left: 0;
}
#myCookie .myCookie_privacy a:hover {
  color: var(--vision-color-primary);
  outline: none;
  text-decoration: none;
  transition: 0.5s;
  padding-left: 17px;
}
#myCookie .myCookie_select {
  background-color: #ededed;
  padding: 10px;
}
#myCookie .myCookie_select ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#myCookie .myCookie_select ul li {
  position: relative;
}
#myCookie .myCookie_select ul li label {
  margin: 0;
  padding: 0;
  cursor: pointer;
}
#myCookie .myCookie_select ul li label object {
  width: 18px;
  position: absolute;
  right: 0;
  top: 5px;
  cursor: pointer;
}
#myCookie .myCookie_select .switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  top: 4px;
}
#myCookie .myCookie_select .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
#myCookie .myCookie_select .switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
#myCookie .myCookie_select .switch-slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
#myCookie .myCookie_select input:checked + .switch-slider {
  background-color: var(--vision-color-primary);
}
#myCookie .myCookie_select input:disabled + .switch-slider {
  opacity: 0.5;
  cursor: not-allowed;
}
#myCookie .myCookie_select input:focus + .switch-slider {
  box-shadow: 0 0 1px var(--vision-color-primary);
}
#myCookie .myCookie_select input:checked + .switch-slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}
#myCookie .myCookie_select .switch-slider {
  border-radius: 34px;
}
#myCookie .myCookie_select .switch-slider:before {
  border-radius: 50%;
}
#myCookie .myCookie_select .cookies_select_save_btn {
  padding-top: 15px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#myCookie .myCookie_buttons {
  display: flex;
  margin-top: 20px;
  height: 40px;
  transition: 0.35s;
}
#myCookie .myCookie_buttons .btn {
  width: 100%;
  flex-basis: 50%;
  max-width: 50%;
  margin: 0 5px;
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 0;
  padding: 10px;
  font-size: 14px;
  line-height: 1.2em;
  border-radius: 0;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
#myCookie .myCookie_buttons .btn:hover {
  opacity: 0.8;
  transition: 0.5s;
}
#myCookie .btn.button-grey {
  background-color: var(--cookie-grey-color);
  transition: 0.5s;
  margin-left: 0;
}
#myCookie .myCookie_buttons .btn.button-color {
  background-color: var(--cookie-main-color);
  transition: 0.5s;
}
#myCookie .myCookie_buttons .btn.button-color[name="decline_all"] {
  background-color: var(--cookie-sub-color);
  transition: 0.5s;
}
#myCookie .myCookie_buttons .btn:first-child {
  margin: 0;
  margin-right: 1px;
}
#myCookie .myCookie_buttons .btn:last-child {
  margin: 0;
  margin-left: 1px;
}
#myCookie .cookies_config_button {
  padding: 5px 15px 0;
}
#myCookie .cookies_config_button .btn.config_button {
  background-color: #686868;
  font-size: 13px;
  border-radius: 0;
  color: #fff;
  box-shadow: none !important;
}
#myCookie #cookieConfig .btn.button-grey {
  color: #fff;
  border-radius: 0;
  padding: 5px 40px;
  margin-top: 15px;
}
#myCookie #cookieConfig .btn.button-grey:hover {
  opacity: 0.8;
}
#myCookie .myCookie_buttons.remove {
  transition: 0.35s;
  height: 0;
  overflow: hidden;
  margin: 0;
}
#myCookie.flyaway {
  transition: 0.35s;
  transform: translateX(-415px);
}

/* Cookie Site */
.cookie_switch {
  position: absolute;
  right: 0;
  padding: 10px 5px;
  background-color: #eee;
  border-radius: 5px;
}
.cookie_switch .switch {
  position: relative;
  display: inline-block;
  width: 37px;
  height: 24px;
  top: 0;
  margin-bottom: 0;
}
.cookie_switch .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie_switch .switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.cookie_switch .switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.cookie_switch input:checked + .switch-slider {
  background-color: var(--vision-color-primary);
}
.cookie_switch input:disabled + .switch-slider {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie_switch input:focus + .switch-slider {
  box-shadow: 0 0 1px var(--vision-color-primary);
}
.cookie_switch input:checked + .switch-slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}
.cookie_switch .switch-slider {
  border-radius: 34px;
}
.cookie_switch .switch-slider:before {
  border-radius: 50%;
}
.cookie_switch .cookie-after,
.cookie_switch .cookie-before {
  font-size: 15px;
  height: 24px;
  display: inline-block;
  padding: 0 10px;
}

/* --------------------------- required reCAPTCHA --------------------------- */

#g-recaptcha-response {
  display: block !important;
  position: absolute;
  width: 302px !important;
  height: 76px !important;
  z-index: -999999;
  opacity: 0;
}

/* ----------------------------- normal CAPTCHA ----------------------------- */

#defaultRecaptcha #refreshCaptcha svg {
  cursor: pointer;
  width: 35px;
  margin-left: 10px;
  transition: all 1s;
}
#defaultRecaptcha #refreshCaptcha svg:hover {
  transform: rotate(180deg);
}
.form-data-check-invisible {
  opacity: 0;
  margin-left: -20000px;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
}

/* -------------------------- ClickUp Ticketsystem -------------------------- */

.clickup-button {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: auto;
  background-color: #fff;
  box-shadow: 0 0 19px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 8px 25px 8px 55px;
  color: #333;
  overflow: hidden;
}
.clickup-button:hover {
  text-decoration: none;
}
.clickup-button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: #00c6f0;
  z-index: 0;
  border-radius: 100px;
  transition: 0.4s;
}
.clickup-button:hover:after {
  transform: scale(14);
  transition: 0.4s;
}
.clickup-button .a77-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: #00c6f0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.clickup-button .ticket-txt {
  z-index: 1;
  position: relative;
  transition: 0.4s;
}
.clickup-button:hover .ticket-txt {
  color: #fff;
  transition: 0.4s;
}
.clickup-button .a77-logo svg {
  width: 40px;
  height: 40px;
  position: absolute;
  transform: scale(1.7);
  margin-top: 4px;
}
.clickup-button .a77-logo svg .st1 {
  fill: #fff;
}

/* -------------------------- ANCHOR Slider CAPTCHA ------------------------- */

#captchabox {
  width: 400px;
  padding: 30px;
  border-radius: 10px;
  border: 0;

  #close-captcha {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;

    &:focus {
      outline: none;
      box-shadow: none;
    }
  }

  .captcha-container {
    margin-bottom: 20px;
    text-align: center;

    #captcha-numbers {
      display: flex;
      justify-content: center;
      gap: 2px;
      margin-top: 10px;
    }
  }

  .sliders {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 20px;

    .slider-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 50px;

      input[type="range"] {
        transform: rotate(-90deg);
        margin-top: 0px;
        height: 60px;
        width: 100px;
        margin-block: 20px;

        &:focus-visible {
          outline: none;
        }

        &:not([disabled]) + span {
          background-color: #f7941d;
          color: #fff;
        }
      }

      .value-slider {
        margin-top: 15px;
        width: 2rem;
        text-align: center;
        background-color: #f2f2f2;
        border-radius: 8px;
      }
    }
  }
}

body:has(.slider-captcha-dialog[open]) {
  overflow: hidden;
}

.open-slider-captcha {
  [type="checkbox"] {
    pointer-events: none;
  }

  &:has([type="checkbox"]:checked) {
    pointer-events: none;
  }

  border-color: #f7941d;

  &:hover {
    border-color: #f7941d;
    background-color: #f7941d;
  }
}

.btn.btn-outline-primary {
  border-color: #f7941d;
  color: #f7941d;

  &:hover {
    background-color: #f7941d;
    color: #fff;
  }
}
