.roadmap {
  .show-released {
    display: inline-block;
    margin-bottom: 30px;
    color: darken($text-color, 10%);
    font-weight: bold;
    cursor: pointer;
  }

  .release-progress {
    margin-bottom: 20px !important;
  }

  .release {
    position: relative;
    margin-bottom: 30px;

    h2 {
      margin-bottom: 20px;

      &.toggleable {
        cursor: pointer;
      }

      i {
        position: absolute;
        top: 0;
        right: 20px;
        transition: all 0.5s ease;
      }

      .released-label {
        color: darken($text-color, 20%);
        text-transform: uppercase;
      }

      &.open {
        i {
          transform: rotate(90deg);
        }
      }
    }
  }

  .progress {
    position: relative;
    height: 1.5rem;
    margin: 0;

    .progress-label {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      height: 1.5rem;
      color: #fff;
      font-size: 1rem;
      line-height: 1.5rem;
      text-align: center;
    }

    .progress-bar {
      background-color: $primary;

      &.completed {
        background-color: $success;
      }

      &.active {
        background-color: $warning;
      }
    }
  }

  .release > .collapse > .progress {
    margin-bottom: 20px;
  }

  .roadmap-item {
    width: 100%;

    .panel-inner {
      display: flex;
    }

    .item-body {
      position: relative;
      flex: 0.8;
      padding: 15px;
    }

    .item-image {
      position: relative;
      flex: 0.2;
      width: 120px;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      border-top-left-radius: $panelContentBorderRadius;
      border-bottom-left-radius: $panelContentBorderRadius;
      cursor: pointer;
      opacity: 0.8;

      .roadmap-item-updated {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 15px;
        height: 15px;
        background-color: $success;
        border-radius: 50%;
        box-shadow: 0 0 3px $gray-darker;
      }
    }

    a {
      color: $text-color;
    }

    h3 {
      position: relative;
      font-weight: 400;
      font-size: 20px;
      font-family: "Orbitron", tahoma, sans-serif;
      cursor: pointer;

      small {
        display: block;
      }
    }

    .roadmap-item-committed {
      color: $success;
      box-shadow: 0 0 3px $gray-darker;
    }

    p {
      position: relative;
      z-index: 20;
      margin-bottom: 10px;
    }

    &.compact {
      h3 {
        display: flex;
        justify-content: space-between;

        small {
          span {
            display: none;
          }
        }
      }
    }

    &.inactive {
      opacity: 0.5;
    }
  }
}

.roadmap-modal {
  .roadmap-modal-subheadline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .roadmap-item-committed {
    color: $success;
    box-shadow: 0 0 3px $gray-darker;
  }

  .roadmap-modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;

    img {
      max-width: 100%;
      border-radius: $border-radius-base;
    }
  }
}
