@import "../../../assets/scss/variables";

#riview-stats {
  height: 100%;
  display: flex;
  flex-direction: column;

  .riview-stats-head {

    border-bottom: 1px solid $text-color;
    padding-bottom: 10px;
    align-items: flex-end;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
  }

  section {
    margin-bottom: 65px;


    & h2 {
      font-size: 1.8rem;
      font-weight: $bold;
      margin-bottom: 19px;

    }
  }

  .personnel-per-type {
    display: flex;

    flex-wrap: wrap;
    justify-content: space-between;
    margin: -15px;

    & > div {
      padding: 15px;

      flex: 0 0 50%;
      height: 250px;

      & .inner {
        height: 100%;
        width: 100%;
        background-color: $form-background;
        padding: 0 20px;
      }

      &:first-child .inner {
        border-top-left-radius: 10px;
      }

      &:nth-child(2) .inner {

        border-top-right-radius: 10px;
      }

      &:nth-child(3) .inner {
        border-bottom-left-radius: 10px;
      }

      &:nth-child(4) .inner {
        border-bottom-right-radius: 10px;
      }

    }
  }

  .financial-boxes {
    height: 100%;
    display: flex;
    gap: 30px 0;
    flex-direction: column;
    justify-content: space-between;
  }
}


