.accordian {
  max-width: 100%;
  width: 100%;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin: 0 auto;
  ul > li {
    margin-bottom: 8px;
    &:first-child h4 {
      border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
  }
  h4 {
    cursor: pointer;
    background-color: #f7f7f7;
    padding: 1.2rem 1rem 1rem 1.2rem;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    display: block;
    color: #f90;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
    &:hover, &.closed {
      background-color: #fff;
    }
    &:hover .arrow {
      border-top: 2px solid var(--dark-gray);
      border-right: 2px solid var(--dark-gray);
    }
    &.open {
      background-color: #f7f7f7 !important;
    }
    &:hover .open {
      background-color: #f7f7f7 !important;
    }
  }
  ul ul {
    display: none;
    height: 100%;
    margin-bottom: -7px;
    li {
      background-color: #fff;
      padding: 1rem 1.1rem;
      box-shadow: none;
      border-left: 1px solid #dfdfdf;
      border-right: 1px solid #dfdfdf;
      border-bottom: 1px solid #dfdfdf;
      p {
        opacity: 0;
        transition: all 0.5s;
        transform: translatey(-20px);
        margin: 0 !important;
        font-weight: 400 !important;
      }
    }
    &.open p {
      opacity: 1;
      transform: translatey(0px);
    }
  }
  .arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--light-gray);
    border-right: 2px solid var(--light-gray);
    transform: rotate(135deg);
    transform-origin: center;
    float: right;
    margin-right: 8px;
    transition: transform 600ms cubic-bezier(0.175, 0.885, 0.32, 1);
    &.closed {
      margin-top: 4px;
      transform: rotate(-45deg);
      border-top: 2px solid var(--dark-gray);
      border-right: 2px solid var(--dark-gray);
    }
  }
} /* CSS Document */