/*BEGIN MEC - Test 2 Treatment Alterations*/

section.module.mec-swiper {
  height: auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  padding: 60px 0;
}

section.module.mec-swiper h1 {
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
}

#mec_resources h1 {
  text-shadow: none;
  color: #434344;
    font-size: 4em;
}

section.module.mec-swiper h3 {
  margin: 58px;
}

#swiper-container {
  position: relative;
}

#swiper-container .mec-controls {
  display: block;
  position: absolute;
  background-image: url("../mainimg/resources/arrows.png");
  width: 17px;
  height: 33px;
}

#swiper-container .arrowleft {
  top: 0px;
}

#swiper-container .arrowright {
  background-position: 0 33px;
  right: 0px;
}

.mec-button {
  text-transform: uppercase;
}

.mec-text-section {
  margin-left: 42px;
  width: 35%;
  display: none;
  overflow: hidden;
}

.mec-text-section h4 {
  font-size: 26px;
}

.mec-text-section .mec-button {
  width: 100%;
  height: 42px;
}

.mec-descrip {
  line-height: 24px;
  font-size: 14px;
  margin: 20px 0;
}

.mec-content .swiper-active {
  display: inline-block;
}

.swiper-img-window {
  width: 56%;
  /*position: relative;*/
  /*position: absolute;*/
  /*top: 1em;*/
  float: right;
  margin-right: 32px;
  display: block;
  overflow-x: hidden;
}

.swiper-img-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.swiper-img-container li {
  display: inline-block;
  margin: 0 22px;
  height: 167px;
}

.mec-selector-container {
  width: 55px;
  margin: 20px auto;

}

.mec-selector-container a {
  display: inline-block;
  height: 10px;
  width: 10px;
  background-image: url("../mainimg/resources/carousel-dots.png");
  background-position: 0 10px;
}

.mec-selector-container a.mec-sel-active {
  background-position: 0 0;
}

.swiper-img-window.mobile-med-reduce {
  /*to correct 4th image addition*/
  width: 49%;
  margin-right: 100px;
}

/* --- Smaller Desktop Reponsive --- */
@media (max-width: 1200px) {

  .swiper-img-window {
    width: 49%;
  }

  .swiper-img-window.mobile-slight-reduce {
    /*This class will be applied by js if the first ebook is active (index 0)*/
    width: 40%;
    margin-right: 100px;
  }
}

@media (max-width: 980px) {

  .mec-text-section {
    margin-left: 25px;
    width: 36%;
  }

  .swiper-img-window {
    width: 54%;
    margin-left: 10px;
  }

  .swiper-img-window.mobile-slight-reduce {
    /*This class will be applied by js if the first ebook is active (index 0)*/
    width: 44%;
    margin-left: 0px;
    margin-right: 45px;
  }

  .swiper-img-container li {
    margin: 0 10px;
  }
}

@media (max-width:760px) {

  .swiper-img-window {
    float: none;
    width: 240px !important;
    margin: 0 auto !important;
  }

  .swiper-img-window.mobile-slight-reduce {
    /*This class will be applied by js if the first ebook is active (index 0)*/
    float: none;
    width: 160px !important;
    margin: 0 auto !important;
  }

  .mec-text-section {
    width: auto;
    margin: 1em 1em;
  }

  #swiper-container .arrowleft {
    top: 5em;
  }

  #swiper-container .arrowright {
    top: 5em;
  }

}

/*END MEC - Test 2 Treatment Alterations*/
