@require './Layout.styl';

.CatalogList {
  height: 20vh;
  bottom: 0;
}



.CatalogItem {
  position: relative;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  cursor: pointer;

  &:after {
    content: '';
    position: absolute;
    width: 1px;
    height: 30%;
    background: #777;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  &Img {
    width: 100%;
    padding-bottom: 16vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;

  }
}

.GallerySlide {
  width: 100%;
  height: 60vh;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.CatalogBody {
  height: 60vh;
  margin-top: -10vh;
}

.CatalogItemCaption {
  padding-left: 20%;
  padding-bottom: 15px;

  &Title {
    font-style: italic;
    padding-bottom: 5px;
  }

  &Desc {
    font-size: 12px;
    text-transform: uppercase;
    color: rgb(75,75,75);
    line-height: 22px;
    letter-spacing: 2px;
  }
}

.MarginTop {
  margin-top: 10vh;
}

@media only screen  and (min-device-width : 320px)  and (max-device-width : 568px) and (orientation:portrait){

  .Half, .Quarter, .ThreeQuarter {
    position: static;
    width: 100%;
    float: none;
  }

  .CatalogItemCaption {
    font-size: 4vw;
  }

  .CatalogItemCaptionDesc {
    font-size: 4vw;
    line-height: 8vw;
  }

  .Nav {
    width: 55vw;
    margin: 2vh auto;
    padding: 38px 0 20px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;

    &Wrap {
      position: relative;
      z-index: 20;
    }

    &ActiveItem {
      border-bottom: none;
      font-size: 5vw;
      margin-bottom: 25px;
    }

    &Item {
      height: 0;
      font-size: 4.5vw;
      visibility: hidden;
      padding: 0;

      &Show {
        height: auto;
        margin-top: 3vh
        visibility: visible;

      }
    }

    &Part {
      width: 50%;
      text-align: center;
      position: relative;

      &:first-child {
        width: auto;
      }
    }
  }

  .Dummy {
    position: absolute;
    width: 100vw;
    height: 0;
    z-index: 1;
    background: #fff;
    top: 25vh;
    left: 0;

    &Show {
      height: 75vh;
    }
  }

  .CatalogItemCaptionTitle {
    font-style: italic;
    color: #878787;
    padding-top: 12px;
  }

  .GallerySlide {
    width: 100%;
    height: 60vh;
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center top;
  }

}
