@import "@angular/material/theming";
@import "../scss/sc-mixins/sc-breakpoints";
@import "../scss/sc-variables";

.drop-image-info {
  width: 100%;
  height: calc(100% - #{$content-padding});
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-lightbox {

  &__wrapper {
    width: 100vw;
    height: var(--app-height, 100vh);
    // padding: 72px 0 16px 0;
  }

  &__close {
    position: absolute;
    top: 16px;
    right: 16px;
  }

  &__meta-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: auto;
    padding-top: 64px;
  }

  &__meta-row {
    // width: 100%;
    display: flex;
    justify-content: space-between;
  }

  &__meta-col {
    flex: 0 0 180px;
    padding: 4px 8px 4px 24px;
    
    &.right {
      padding: 4px 24px 4px 8px;
      text-align: right;
    }

    .key, .value {
      margin-bottom: 0;
    }
  }

  &__images-wrapper {
    width: calc(100% - 360px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 8px 0;
  }

  &__image {
    display: block;
    margin: auto;
    max-width: 50%;
    height: 100%;
    object-fit: contain;

    &:nth-child(odd) {
      margin-left: auto;
      margin-right: 4px;
    }

    &:nth-child(even) {
      margin-left: 4px;
      margin-right: auto;
    }
  }
}
