HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/zaklada/html/lib/scss/core/_forms.scss
form {
  .btn {
    position: relative;
    min-width: 140px;
  }
}

.error-box{
  padding-top: 15px;
  background: #ee352a;
  color: #fff;
  padding: 15px;
  margin-top: 25px;
  display:none;
}

// custom radio for donation amount
.amount {
  position: relative;
  display: flex;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  @media screen and (min-width: 480px) {
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  @media screen and (min-width: 768px) {
    margin-bottom: 18px;
  }
  &__input-wrap {
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    &:last-of-type {
      margin-right: 0 !important;
    }
    @media screen and (min-width: 480px) {
      margin-bottom: 0;
    }
    @media screen and (min-width: 992px) {
      margin-right: 10px;
    }
    // @media screen and (min-width: 1650px) {
    //   margin-right: 15px;
    // }
  }
  input[type="radio"] {
    display: none;
    & + label {
      font-size: rem(16);
      line-height: 1.5;
      font-weight: 400;
      padding: 15px 25px;
      color: #636363;
      background: transparent;
      border: 1px solid #e5e5e5;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 200ms ease-in-out;
      cursor: pointer;
      max-height: 55px;
      &:hover {
        border-color: $color-blue-dark;
        color: $color-blue-dark;
      }
    }
    &:checked {
      & + label {
        color: $color-blue-dark;
        border-color: $color-blue-dark;
      }
    }
  }
}


.checkbox-styled {
  position: relative;

  label {
    cursor: pointer;
    font-size: 16px;
    color: #313131;
    padding-left: 28px;
    position: relative;

    a{
      color:#aa874f;
    }

    @media screen and (max-width: 768px) {
      padding-left: 33px;
      position: relative;
      line-height: 22px;
    }
  }
  input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  .checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #00172b;
    border-radius: 3px;

    &:after {
      content: "";
      position: absolute;
      display: none;
      left: 5px;
      top: 1px;
      width: 5px;
      height: 10px;
      border: solid white;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
      display: block;
    }
  }

  input:disabled ~ .checkmark {
    opacity: 0.5;
  }
  input:checked ~ .checkmark {
    background-color: #00172b;
  }
}

.radio-styled{

  position:relative;
  margin-right: 15px;
  margin-top: 20px;
  display: inline-block;


  &.tooltip{

    .tooltip-content{
      left:0;
    }
  }

  label{
    cursor:pointer;
    font-size:16px;
    color: #313131;;
    padding-left:28px;
    position:relative;
    z-index:3;
  }
  input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;


  }


  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #000;



    &:after {
      content: "";
      position: absolute;
      display: none;
      top: 3px;
      left: 3px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: black;
      opacity:0;
      display:block;
    }

  }

  input:checked ~ .checkmark:after {
    opacity:1;


  }

}



.error-msg {
  display: none;
  color: $color-error;
  font-size: rem(13);
  line-height: 1.5;
  position: absolute;
  top: 100%;


}

.wpcf7-response-output {
  color: #000;
}

.form-group {
  width: 100%;
  position: relative;
  margin-bottom: 19px;
  label {
    display: block;
    color: #555;
    margin-bottom: 0;
    font-size: rem(14);
    font-weight: 400;
    text-align: left;
    @media screen and (min-width: 992px) {
      font-size: rem(16);
    }
  }
  input[type="text"],
  input[type="email"],
  input[type="number"] {
    font-family: $primary-font;
    background: #ffffff;
    border: 1px solid $color-blue-dark;
    padding: 5px;
    font-size: rem(16);
    line-height: 24px;
    color: $color-blue-dark;
    width: 100%;
    &.wpcf7-not-valid {
      border-color: $color-error;
    }
  }
  textarea {
    font-family: $primary-font;
    width: 100%;
    background: #ffffff;
    border: 1px solid $color-blue-dark;
    padding: 5px;
    font-size: rem(16);
    line-height: 24px;
    color: $color-blue-dark;
  }
  .input-wrap {
    position: relative;
  }
  &.form-error {
    .error-msg {
      display: block;
    }


    &.form-group.radio-container label{
      color: #ee352a;
    }

    .checkbox-styled label {
      color: #ee352a;
    }
    .checkbox-styled .checkmark{
      border: 2px solid #ee352a;
    }

    .input-wrap {
      &:after {
        content: "!";
        position: absolute;
        right: 19px;
        top: 50%;
        transform: translateY(-50%);
        font-family: $primary-font;
        font-size: rem(20);
        color: $color-error;
      }
    }
    input[type="text"],
    input[type="email"],
    input[type="number"] {
      border-color: $color-error;
    }
  }
}

::placeholder {
  color: #959595;
  font-size: rem(14);
  // font-size: 16px;
  font-weight: 400;
  font-family: $primary-font;
}