require('../../utils/styles/colors.js');
@import 'src/utils/styles/common.scss';

.contentWrapper {
  display: flex;
  flex-direction: column;
  margin: 20px 5px 0 5px;

  .itemDetails {
    display: flex;
    flex-direction: row;
    margin-left: 80px;

    .itemIndicator {
      margin-bottom: 30px
    }

    h1 {
      background-color: transparent;
      font-size: 30px;
      font-weight: lighter;
      color: $grey_500;
      padding-left: 20px;
      padding-right: 10px;
      padding-top: 10px;
      margin-bottom: 5px;
      text-transform: uppercase;
    }

    .received {
      display: inline-block;
      background-color: $purple_400;
      color: white;
      padding: 3px;
      padding-right: 8px;
      padding-left: 8px;
      border-radius: 10px;
      font-size: 12px;
      font-weight: normal;
      margin: 5px 20px;
    }
  }

  .organizationBox {
    padding-left: 80px;
    margin-bottom: 20px;

    .organizationBorder {
      border-left: 5px solid $ambar_400;
      padding-left: 10px;

      .organization {
        background-color: transparent;
        font-size: 26px;
        font-weight: lighter;
        color: $grey_500;
        padding-top: 15px;
        padding-left: 10px;
        margin: 0;
      }

      .description {
        background-color: transparent;
        font-size: 20px;
        font-weight: lighter;
        color: $blue_900;
        text-align: left;
        padding-top: 15px;
        padding-left: 10px;
        padding-right: 90px;
        padding-bottom: 10px;
        margin: 0;
      }
    }
  }

  .arrowWrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;

    .carouselWrapper {
      width: 80%;
      padding: 20px 0;

      img {
        width: 100%;
        padding: 10px;
      }
    }
  }

  .updatedAt {
    font-size: 12px;
    font-weight: normal;
    color: $textDark;
    padding: 3px;
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 10px;
    margin-left: 20px;
    margin-top: 10px;
  }

  .buttonWrapper {
    display: flex;
    justify-content: center;
  }

  .helpButton {
    background-color: $pink_400;

    &:hover,
    &:focus {
      background-color: $pink_800;
    }
  }
}

.modalImage {
  margin-top: 30px;
}

.shareWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  .shareButtons {
    display: flex;
    flex-direction: row;

    .shareButton {
      cursor: pointer;
      padding: 5px;

      &:focus {
        outline: none;
      }
    }
  }
}

@media (max-width: 696px) {
  .itemDetails {
    display: inline !important;
    margin: 0 !important;
    text-align: center;
  }

  .itemIndicator {
    display: flex;
    justify-content: center;
    margin-bottom: 0 !important;
  }

  .organizationBox {
    padding-left: 20px !important;
    width: 100%;

    .description {
      padding-right: 40px !important;
    }
  }

  .carouselWrapper img {
    margin-top: 30px;
    padding: 0;
  }
}

@media (max-width: 348px) {
  .itemDetails {
    h1 {
      padding-left: 5px !important;
      padding-right: 5px !important;
    }

    .updatedAt {
      margin-left: 5px !important;
    }
  }
  .organizationBox {
    padding-left: 5px !important;
  }
}