/* Layout Tweaks */
.fixed-content {
  margin: 0 auto;
  max-width: 1450px; /* 1400 + (2 * 25 padding) */
  padding: 0 25px;
}

.bgimage {
  background-size: cover;
  background-position: center;
  position: relative;
}

.bgimage:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 56.25%;
}

#recommendations-engine-home {
  padding-top: 20px;
}

#recommendations-engine-home h2 {
  display: none;
}

/* Header */
.header {
  color: #fff;
  margin-top: 3%;
  padding: 0 10px;
  position: absolute;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  z-index: 1;
}

.header h1 {
  margin-bottom: 0.25em;
}

.play-icon {
  font-size: 60px;
}

.vid-player {
  cursor: pointer;
  position: relative;
}

.vid-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.show-vid {
    opacity: 1;
}

.trade-h1 {
  font-size: 0.6em;
  position: relative;
  vertical-align: top;
  top: 0.2em;
}

@media (min-width: 900px) {
  .header {
    margin-top: 4%;
  }

  .header h1 {
    margin-bottom: 1.5em;
  }

  .play-icon {
    font-size: 5vw;
  }
}

.vid-player {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.vid-player video {
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 0;
}

/* ---- Images ---- */

/* Ratios */
#fw17-image3:before,
#fw17-image5:before,
#fw17-image7:before {
  padding-top: 43%;
}
@media (min-width: 1400px) {
  #fw17-image3:before,
  #fw17-image5:before,
  #fw17-image7:before {
    padding-top: 26%;
  }
}

/* fw17-hero */
#fw17-merinoloft-tech-video {
  background-image: url(../campaigns/FW17/fw17-merinoloft-tech-video-sm.jpg?$staticlink$);
  background-position: center 25%;
  max-height: 600px;
}

@media (min-width: 768px) {
  #fw17-merinoloft-tech-video {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech-video-lg.jpg?$staticlink$);
  }
}

@media (min-width: 1400px) {
  #fw17-merinoloft-tech-video {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech-video-xlg.jpg?$staticlink$);
  }
}

/* fw17-image2a
   fw17-image2b
   fw17-image2c */
#fw17-image2a:before,
#fw17-image2b:before,
#fw17-image2c:before {
  padding-top: 40%;
}

@media (min-width: 768px) {
  #fw17-image2a:before,
  #fw17-image2b:before,
  #fw17-image2c:before {
    padding-top: 82%;
  }
}

#fw17-image2a {
  background-image: url(../campaigns/FW17/fw17-merinoloft-tech2a-sm.jpg?$staticlink$);
}
#fw17-image2b {
  background-image: url(../campaigns/FW17/fw17-merinoloft-tech2b-sm.jpg?$staticlink$);
}
#fw17-image2c {
  background-image: url(../campaigns/FW17/fw17-merinoloft-tech2c-sm.jpg?$staticlink$);
}

@media (min-width: 768px) {
  #fw17-image2a {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech2a.jpg?$staticlink$);
  }
  #fw17-image2b {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech2b.jpg?$staticlink$);
  }
  #fw17-image2c {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech2c.jpg?$staticlink$);
  }
}

/* fw17-image3 */
#fw17-image3 {
  background-image: url(../campaigns/FW17/fw17-merinoloft-tech3-sm.jpg?$staticlink$);
}
@media (min-width: 768px) {
  #fw17-image3 {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech3-lg.jpg?$staticlink$);
  }
}
@media (min-width: 1400px) {
  #fw17-image3 {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech3-xlg.jpg?$staticlink$);
  }
}

/* fw17-image5 */
#fw17-image5 {
  background-image: url(../campaigns/FW17/fw17-merinoloft-tech5-sm.jpg?$staticlink$);
}
@media (min-width: 768px) {
  #fw17-image5 {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech5-lg.jpg?$staticlink$);
  }
}
@media (min-width: 1400px) {
  #fw17-image5 {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech5-xlg.jpg?$staticlink$);
  }
}

/* fw17-image7 */
#fw17-image7 {
  background-image: url(../campaigns/FW17/fw17-merinoloft-tech7-sm.jpg?$staticlink$);
}
@media (min-width: 768px) {
  #fw17-image7 {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech7-lg.jpg?$staticlink$);
  }
}
@media (min-width: 1400px) {
  #fw17-image7 {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech7-xlg.jpg?$staticlink$);
  }
}

/* fw17-image9 */
#fw17-image9 {
  background-image: url(../campaigns/FW17/fw17-merinoloft-tech9-sm.jpg?$staticlink$);
  background-size: cover;
  background-position: center;
  position: relative;
}
@media (min-width: 900px) {
  #fw17-image9 {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech9-lg.jpg?$staticlink$);
  }
}
@media (min-width: 1400px) {
  #fw17-image9 {
    background-image: url(../campaigns/FW17/fw17-merinoloft-tech9-xlg.jpg?$staticlink$);
  }
}

/* hr */
hr.primary {
  border: none;
  border-top: 1px solid #f60;
  margin: 60px 0;
}

/* ---- Type ---- */
blockquote p {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 0.75em;
  text-transform: uppercase;
  text-align: center;
}

.center {
  color: #fff;
  font-size: 14px;
  left: 0;
  letter-spacing: 0.14em;
  position: absolute;
  right: 0;
  text-align: center;
  text-transform: uppercase;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .center {
    font-size: 16px;
  }
}

@media (min-width: 1400px) {
  .center {
    font-size: 18px;
  }
}

.callout {
  margin-top: 50px;
  margin-bottom: 50px;
}
@media (min-width: 768px) {
  .callout {
    margin-top: 70px;
  }
}

.callout p {
  text-align: center;
}

@media (min-width: 768px) {
  blockquote p {
    text-align: left;
  }
}

@media (min-width: 900px) {
  blockquote p {
    font-size: 22px;
  }
}

@media (min-width: 1400px) {
  blockquote p {
    font-size: 28px;
  }
}

.product-intro {
  padding-top: 60px;
  text-align: center;
}

.product-intro p {
  font-size: 14px;
}

/* Quote */
blockquote.fixed-content {
  position: relative;
}

blockquote.fixed-content p {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.14em;
  line-height: 1.4em;
  padding: 30px 0 10px 0;
}

blockquote.fixed-content cite {
  color: #fff;
  display: block;
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.12em;
  margin-bottom: 1.5em;
  text-align: center;
  text-transform: uppercase;
}

blockquote.fixed-content a {
  color: #f60;
  display: block;
  font-size: 14px;
  letter-spacing: 0.12em;
  padding-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  blockquote.fixed-content {
    height: 600px;
  }

  blockquote.fixed-content p {
    font-size: 20px;
    line-height: 33px;
  }

  blockquote.fixed-content p::first-letter {
    margin-left: -0.5em;
  }

  blockquote.fixed-content cite {
    font-size: 18px;
    text-align: left;
  }

  blockquote.fixed-content a {
    font-size: 18px;
    padding-bottom: 0;
    text-align: left;
  }

  .vertical-center {
    display: block;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

@media (min-width: 1400px) {
  blockquote.fixed-content p {
    font-size: 24px;
  }
}

/* Buttons */
.btn {
  cursor: pointer;
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  min-width: 190px;
  padding: 9px 25px;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.btn-primary {
  background-color: #fff;
  bottom: 30px;
  color: #000;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 190px;
}

.btn-primary:hover {
  color: #f60;
}

@media (max-width: 767px) {
  .btn-primary {
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 190px;
  }
}


/* modal */

/* The Modal (background) */
.modal-cm {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9112; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content-cm {

    background-color: transparent;
    position: relative;
    top: 50%;
    margin: -22.5% auto 0 auto;
    padding: 0;
    border: none;
    width: 80%;

}

/* The Close Button */
.close-modal-cm {
    position: absolute;
    right:0;
    top: -60px;
    width: 60px;
    background-color: transparent;
    box-sizing: border-box;
    height: 60px;
    z-index: 9113;
    cursor: pointer;

}

.close-modal-cm img{
  margin:20px;
}

/* video stuff - when video is not filling the tile, scale to 1 */
.fluidvid-item-iframe {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
  }

.fluidvid-wrap {
    width: 100%;
    max-width: 100%;
    position: relative;
    padding-top: 56.1905%;
}
