.swop18-tiles {
  padding-top: 24px;
  margin-bottom: -24px;
  overflow: hidden;
}

.swop18-tiles-inner {
  margin-left: -24px;
}

.swop18-tile {
  float: left;
  padding: 0 0 24px 24px;
  box-sizing: border-box;
}

.swop18-tile-width-1-3 {
  width: 33.3333%;
}

.swop18-tile-width-1-2 {
  width: 50%;
}

.swop18-tile-width-2-3 {
  width: 66.6666%;
}

.swop18-tile-height-small {
  height: calc(300px + 24px);
}

.swop18-tile-height-medium {
  height: calc(438px + 24px);
}

.swop18-tile-height-large {
  height: calc(576px + 24px);
}

.swop18-tile-height-huge {
  height: calc(900px + 24px);
}

.swop18-tile-inner {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  overflow: hidden;
}

.swop18-tiles-column-size {
  width: 16.6666%;
}

/* Each tile type top wrapper div uses these styles. */
.swop18-tile-photo,
.swop18-tile-video,
.swop18-tile-title,
.swop18-tile-text,
.swop18-tile-facts {
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

.swop18-tile .swop18-credit {
  right: 10px;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  text-align: right;
}

/* --- Photo Tile --- */

.swop18-tile-photo-img {
  width: 100%;
  height: 100%;
  background: center center no-repeat;
  background-size: cover;
  transition: transform 1s ease-out;
  position: relative;
  z-index: 1;
}

.swop18-tile-photo-img:hover {
  transform: scale(1.02);
}

/* --- Video Tile --- */

.swop18-tile-video-thumb,
.swop18-tile-video-player {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.swop18-tile-video-thumb {
  cursor: pointer;
}

.swop18-tile-video-player {
  display: none;
}

.swop18-tile-video video {
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: cover;
}

.swop18-tile-video-player video {
  object-fit: scale-down;
  width: 100%;
}

.swop18-tile-video-play,
.swop18-tile-video-close,
.swop18-tile-video-mute {
  display: block;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  position: absolute;
  z-index: 2;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  padding: 0;
}

.swop18-tile-video-play {
  width: 75px;
  height: 75px;
  left: 50%;
  top: 50%;
  margin: -37px 0 0 -37px;
}

.swop18 .swop18-tile-video-close,
.swop18 .swop18-tile-video-mute {
  background: rgba(0, 0, 0, 0.2);
}

.swop18-tile-video-close {
  width: 36px;
  height: 36px;
  right: 12px;
  top: 12px;
  opacity: 0;
}

.swop18-tile-video-mute {
  width: 36px;
  height: 36px;
  right: 60px;
  top: 12px;
  opacity: 0;
}

.swop18-tile-video-player:hover .swop18-tile-video-close,
.swop18-tile-video-player:hover .swop18-tile-video-mute {
  opacity: 1;
}

.swop18-tile-video-play span {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  /* 14x18 (width x height) */
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -5px;
}

.swop18-tile-video-close span {
  display: block;
  width: 20px;
  height: 4px;
  background: #fff;
  position: absolute;
  left: 8px;
  top: 16px;
  transform: rotateZ(45deg);
}

.swop18-tile-video-mute span {
  display: block;
  width: 24px;
  height: 24px;
  background: url(images/sound-on.svg) center center no-repeat;
  background-size: 100% auto;
  position: absolute;
  left: 6px;
  top: 6px;
}

.swop18-tile-video-mute-muted span {
  background-image: url(images/sound-off.svg);
}

.swop18-tile-video-close span:first-child {
  transform: rotateZ(-45deg);
}

.swop18-tile-video-thumb:hover .swop18-tile-video-play,
.swop18-tile-video-close:hover {
  transform: scale(1.1);
}

.swop18-tile-video .swop18-share {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
}

.swop18-tile-video-title {
  display: block;
  width: 100%;
  padding: 0 10px;
  margin-top: 48px;
  color: #fff;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* --- Title Tile --- */

.swop18-tile-title-photo {
  width: 100%;
  height: 100%;
  background: center center no-repeat;
  background-size: cover;
  transition: transform 1s ease-out;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.swop18-tile-title:hover .swop18-tile-title-photo {
  transform: scale(1.02);
}

.swop18-tile-title p {
  margin: 0;
  padding: 31px 24px 31px 24px;
  color: #fff;
  font-size: 34px;
  line-height: 42px;
  position: absolute;
  left: 0;
  z-index: 3;
}

p.swop18-tile-title-pos-top {
  top: 0;
}

p.swop18-tile-title-pos-bottom {
  bottom: 0;
}

.swop18-tile-title p span {
  display: block;
  float: left;
  clear: left;
  padding: 0 14px 2px 18px;
  margin-bottom: 2px;
}

/* --- Text tile --- */

.swop18-tile-text {
  padding: 6px;
}

.swop18-tile-text p {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 42px 48px;
  background: #fff;
  color: #07081b;
  font-size: 26px;
  line-height: 38px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* --- Facts tile --- */

.swop18-tile-facts {
  background: #f3f3f3;
  background: #fff linear-gradient(
    45deg, rgba(0, 0, 0, 0.06) 9%,
    rgba(255, 255, 255, 0.00001) 9%, rgba(255, 255, 255, 0.00001) 50%,
    rgba(0, 0, 0, 0.06) 50%, rgba(0, 0, 0, 0.06) 59%,
    rgba(255, 255, 255, 0.00001) 59%, rgba(255, 255, 255, 0.00001) 100%
  );
  background-size: 11px 11px;
  overflow: hidden;
}

.swop18-tile-facts-inner {
  display: table;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.swop18-tile-facts-inner-2 {
  display: table-cell;
  padding: 18px 24px 24px;
  vertical-align: middle;
}

p.swop18-tile-facts-txt-top {
  margin: 0 0 22px 0;
  color: #002534;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
}

.swop18-tile-facts-graphic {
  display: block;
  font-size: 0;
  line-height: 0;
  text-align: center;
}

.swop18-tile-facts-graphic img {
  display: inline-block;
  max-height: 220px;
}

p.swop18-tile-facts-txt-bottom {
  margin: 15px 0 0 0;
  color: #002534;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

/* --- Responsive --- */

@media all and (max-width: 800px) {
  .swop18-tile {
    width: 100%;
  }

  .swop18-tile-type-video,
  .swop18-tile-type-text {
    height: auto;
  }

  .swop18-tile-type-video .swop18-tile-inner {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
  }
  
  .swop18-tile-video {
    position: absolute;
  }

  .swop18-tile-type-photo.swop18-tile-height-huge {
    height: 700px;
  }
  
  .swop18-tile-type-photo.swop18-tile-height-huge .swop18-tile-photo-img {
    background-position: center top;
  }
}

@media all and (max-width: 700px) {
  .swop18-tile-type-photo.swop18-tile-height-huge {
    height: 600px;
  }
}

@media all and (max-width: 440px) {
  .swop18-tile-video-play {
    width: 55px;
    height: 55px;
    margin: -27px 0 0 -27px;
  }

  .swop18-tile-video-title {
    margin-top: 34px;
    font-size: 22px;
    line-height: 26px;
  }
}

@media all and (max-width: 400px) {
  .swop18-tile-video-play {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
  }

  .swop18-tile-video-title {
    margin-top: 25px;
    font-size: 20px;
    line-height: 25px;
  }
}

@media all and (min-width: 801px) {
  .swop18-tile-text p {
    padding: 21px 24px;
    font-size: 18px;
    line-height: 27px;
  }
}

@media all and (min-width: 1200px) {
  .swop18-tile-text p {
    font-size: 22px;
    line-height: 33px;
  }
  p.swop18-tile-facts-txt-bottom {
    padding: 0 90px;
  }
}

@media all and (min-width: 1400px) {
  .swop18-tile-text p {
    padding: 42px 48px;
    font-size: 24px;
    line-height: 36px;
  }
}