.modal-wrapper {
  font-family: 'Open Sans';
  line-height: 21px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  flex-direction: column;

  .header {
    .close-icon {
      position: absolute;
      top: 25px;
      right: 25px;
    }

    .close-icon:hover {
      cursor: pointer;
    }
  }

  .title {
    margin-top: 25px;
    margin-bottom: 40px;
    span {
      font-size: 20px;
      font-weight: bold;
    }
  }

  .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    margin-top: 15px;

    .body-heading {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      width: 100%;
      margin-bottom: 8px;

      .img {
        margin-right: 13px;
        margin-top: 8px;
        margin-left: 25px;
      }
    }
  }

  .line {
    background-color: #eff6fd;
  }

  .body-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-direction: column;
    text-align: left;
    overflow-y: scroll;
    max-height: 600px;

    .item {
      display: flex;
      flex-direction: row;
      width: 100%;
      padding-bottom: 20px;
      padding-top: 20px;
    }

    img {
      &.thumbnail {
        position: relative;
        height: 65px;
        width: 40px;
        margin-left: 15px;
        box-shadow: 0 0 18px 0 #b8b3b7;
        border-radius: 6px;
      }
    }

    .book-title {
      font-size: 16px;
      font-weight: 600;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 112px;
      white-space: nowrap;
    }

    .order-details {
      margin-left: 15px;
      flex: 1 1 100%;
      display: grid;
      grid-template-rows: 1fr;
      grid-template-columns: 140px 1fr;

      .title {
        margin: 0;
        font-size: 16px;
        font-weight: bold;
        margin-right: 20px;
        grid-column: 1 / span 2;
      }

      .labels,
      .data {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;

        span {
          color: #000000;
          padding-bottom: 10px;
          text-align: left;
          line-height: 25px;
          padding-bottom: 0px;
        }
      }

      .labels span {
        font-size: 16px;
        font-weight: bold;
        margin-right: 20px;
        line-height: 25px;
        padding-bottom: 0px;
      }

      .data span {
        font-size: 16px;
      }
    }

    .price {
      font-weight: 600;
      font-size: 16px;
      line-height: 25px;
      width: 130px;
      flex-shrink: 0;
    }
  }

  @media (min-height: 624px) and (max-height: 800px) {
    .body-content {
      max-height: 450px;
    }
  }

  @media (min-height: 531px) and (max-height: 624px) {
    .body-content {
      max-height: 250px;
    }
  }

  @media (min-height: 432px) and (max-height: 531px) {
    .body-content {
      max-height: 200px;
    }
  }

  @media (min-height: 400px) and (max-height: 432px) {
    .body-content {
      max-height: 100px;
    }
  }

  .bottom-line {
    margin: 20px 0;
  }

  .overview-price-container {
    display: flex;
    width: 93%;
    justify-content: flex-end;
    justify-items: center;
    flex-direction: row;
    margin-top: 30px;

    .overview-price {
      font-size: 18px;
      font-weight: bold;
      text-align: right;
    }
  }

  .modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 93%;
    margin: 30px 0;
  }
}

.dropdown {
  margin-top: -5px;
  margin-right: 12px;
}

.error {
  font-family: 'Open Sans';
  font-size: 14px;
  font-weight: bold;
  color: #f70400;
  margin-right: 15px;
}
