/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 14px;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
}

@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: '';
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: ' ';
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: ' (' attr(href) ')';
  }

  abbr[title]:after {
    content: ' (' attr(title) ')';
  }

  /*
     * Don't show links for images, or javascript/internal links
     */

  .ir a:after,
  a[href^='javascript:']:after,
  a[href^='#']:after {
    content: '';
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.project-wrapper {
  width: 100vw;
  overflow: hidden;
}

.swiper {
  width: 100%;
  margin-bottom: 4%;
  height: 45vw !important;
}

.swiper-slide {
  display: flex;
  position: relative;
  height: 45vw !important;
  width: 73%;
}

.swiper-slide img {
  width: 98%;
  height: auto;
  margin: 0 1%;
}

.swiper-wrapper {
  transform: translate3d(
    13.5vw,
    0px,
    0px
  ); /* just to precenter -- overwritten by swiper */
}

.arrow-left,
.arrow-right {
  opacity: 0;
  pointer-events: none;
}
.swiper-initialized .arrow-left,
.swiper-initialized .arrow-right {
  opacity: 1;
  pointer-events: all;
}

.swiper-initialized .arrow-left.swiper-button-disabled,
.swiper-initialized .arrow-right.swiper-button-disabled {
  opacity: 0;
}

.swiper-slide.video img {
  width: 60%;
  height: auto;
  margin: 0 0 0 1%;
}

.swiper-slide.video .video-container {
  position: relative;
  /* padding-top: 177.77%; */
  width: 100%;
  margin: 0 1% 0 0;
  background: #eeebe4;
}

.swiper-slide.video .video-container iframe {
  position: absolute;
  top: 10%;
  left: 0;
  width: 75%;
  height: 80%;
}

.swiper .arrow-left {
  position: absolute;
  top: 0px;
  left: 0;
  width: 13%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
  transition: 0.2s;
}
.swiper .arrow-left img {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  right: 25%;
}

.swiper .arrow-right {
  position: absolute;
  top: 0px;
  right: 0;
  width: 13%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
  transition: 0.2s;
}
.swiper .arrow-right img {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  left: 25%;
}

.swiper-button-disabled {
  opacity: 0;
}

.swiper-slide .info-icon {
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 20px;
  height: 20px;
  font-weight: 800;
  font-style: italic;
  font-size: 1.3em;
  cursor: pointer;
  color: #666;
  opacity: 0.6;
}

.swiper-slide .info {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 50px;
  font-size: 1.1em;
  line-height: 2em;
  box-sizing: border-box;
  padding-left: 20px;
}

.swiper-lazy-preloader {
  border-left: 4px solid #666 !important;
  border-right: 4px solid #666 !important;
  border-bottom: 4px solid #666 !important;
}

.video-iframe {
  pointer-events: none;
}

@media (max-width: 991px) {
  .swiper {
    width: 100%;
    margin-left: 0px !important;
    margin-right: 0px !important;
    height: auto !important;
  }
  .swiper-slide {
    overflow: hidden;
    height: 92vw !important;
    width: 92vw !important;
  }

  .single {
    width: 100vw !important;
  }

  .swiper-slide img {
    width: 150%;
    margin-left: -24%;
    object-fit: cover;
  }

  .swiper-slide.video img {
    display: none;
  }

  .swiper-slide.video {
    height: auto !important;
  }

  .video-image-mobile {
    background: #eeebe4;
    display: flex;
    justify-content: flex-end;
    object-fit: contain;
  }

  .video-image-mobile img {
    width: 100%;
    margin-left: -20%;
  }

  .swiper-slide.video .video-container {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    bottom: unset;
    /* height: 92vh !important;
    width: calc(92vh / 1.77) !important; */
    /* height: calc(90vw * 1.77); */
    max-width: 85vw;
    max-height: 92vh;
    padding-top: calc(1.76 * 100%);
    margin: 0 1%;
    background: white;
  }

  .swiper-slide.video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .swiper .arrow-right {
    right: 0%;
  }
  .swiper .arrow-left {
    left: 0%;
  }
  .swiper .arrow-right img,
  .swiper .arrow-left img {
    width: 75%;
    max-width: 45px;
    margin-top: -22px;
  }
}
