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/_faq.scss
.faq {
  padding: 27px 0 40px 0;
  background: $color-white;
  @media screen and (min-width: 768px) {
    padding: 75px 0 52px 0;
  }
  h1 {
    // margin: 0 0 40px 0;
    margin: 0;
    color: $color-blue-dark;
    @media screen and (min-width: 768px) {
      // margin: 0px 0 75px 0;
      margin: 0;
      text-align: left;
    }
  }
  .font-controls {
    margin-top: 20px;
    margin-bottom: 20px;
    position: sticky;
    top: 65px;
    z-index: 7;
    display: inline-flex;
    margin-left: calc(100% - 87px);
    @media screen and (min-width: 768px) {
      margin-top: 0;
      margin-bottom: 30px;
      top: 120px;
    }
    @media screen and (min-width: 992px) {
      display: inline-flex;
      margin-left: calc(100% - 115px);
    }
  }
}

.accordion {
  position: relative;
  background: $color-white;
  border-bottom: 1px solid $color-black;
  padding: 19px 13px 0 32px;
  transition: all 200ms ease-in-out;
  cursor: pointer;
  @media screen and (min-width: 768px) {
    padding: 19px 20px 0 63px;
  }
  &__header {
    position: relative;
    h2 {
      text-transform: none;
      text-align: left;
      font-weight: 700;
      font-size: rem(16);
      line-height: 1.5;
      color: $color-blue-dark;
      transition: all 200ms ease-in-out;
      margin: 0 0 16px 0;
      @media screen and (min-width: 768px) {
        font-size: rem(20);
        margin: 0 0 14px 0;
      }
    }
  }
  &__icon {
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 200ms ease-in-out;
    width: 9px;
    height: 12px;
    @media screen and (min-width: 768px) {
      width: 16px;
      height: 20px;
      left: -35px;
    }
  }
  &__content {
    display: none;
    padding-top: 0;
    padding-bottom: 13px;
    @media screen and (min-width: 768px) {
      padding-top: 21px;
      padding-bottom: 27px;
    }
    p {
      color: $color-text-dark;
      // &:last-of-type {
      //   margin-bottom: 0;
      // }
    }
    ul {
      margin-bottom: 20px;
      li {
        color: $color-text-dark;
        font-size: rem(14);
        @media screen and (min-width: 992px) {
          font-size: rem(19);
          &:before {
            top: 7px;
          }
        }
      }
    }
    a {
      font-weight: initial;
    }
  }
  &.active {
    background: #f5f5f5;
    .accordion {
      &__header {
        h2 {
          color: #2a5f9e;
        }
      }
      // &__content {
      // }
      &__icon {
        transform: translateY(-50%) rotate(90deg);
        fill: #2a5f9e;
        path {
          fill: #2a5f9e;
        }
      }
    }
  }
}