
.height-restriction {
  height: 640px;
  margin-bottom: 2.2em;
}

.twisting-slideshow {
  height: 100%;
  padding: 0;
  margin: 0;
}

.js-transitions-disabled * {
  transition: none !important;
}

.twisting-carousel {
  position: relative;
  height: 100%;
  overflow: hidden;
  /*perspective: 50vw;
  perspective-origin: 50% 49%;*/
}

.carousel__control {
  position: absolute;
  height: 160px;
  width: 40px;
  background: #fff;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 1;
}
.carousel__control a {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 75%;
  box-sizing: border-box;
}
.carousel__control a:hover:before {
  background-color: rgba(0,0,0,0.4);
}
.carousel__control a.active:before,
.carousel__control a.active:hover:before {
  background-color: rgba(0,0,0,0.6);
}
.carousel__control a:first-child {
  margin-top: 15px;
}
.carousel__control a:before {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 50%;
  padding-top: 25%;
  width: 25%;
  background: rgba(0,0,0,0.2);
  content: '';
  display: block;
  margin-top: -12.5%;
}
.carousel__stage {
  position: absolute;
  top: 4%;
  bottom: 4%;
  left: 20px;
  right: 20px;
  margin: auto;
  transform-style: preserve-3d;
  /*transform: translateZ(calc(-40vh + 16px));*/
  transform: translateZ(-224px);
}

.spinner {
  position: absolute;
  width: calc(94vw - 20px);
  /* height: calc(80vh - 32px); */
  height: 448px;
  top: 0;
  left: 0;
  right: auto;
  bottom: 0;
  margin: auto;
  transform-style: preserve-3d;
  transition: transform 1s;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  transform: rotateX(0);
}

.js-spin-fwd .spinner {
  transform: rotateX(-89deg);
}
.js-spin-bwd .spinner {
  transform: rotateX(90deg);
}
.js-spin-fwd .spinner--right {
  transform: rotateX(90deg);
}
.js-spin-bwd .spinner--right {
  transform: rotateX(-89deg);
}

.spinner--right {
    display: none;
}
.spinner__face {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.spinner__face.js-next {
  display: block;
  transform: rotateX(90deg) translateZ(223px);
}
.spinner--right .spinner__face.js-next {
  transform: rotateX(270deg) translateZ(223px);
}
.js-spin-bwd .spinner__face.js-next {
  transform: rotateX(-90deg) translateZ(223px);
}
.js-spin-bwd .spinner--right .spinner__face.js-next {
  transform: rotateX(-270deg) translateZ(223px);
}
.js-active {
  display: block;
  transform: translateZ(223px);
}
.content {
  position: absolute;
  width: 200%;
  height: 100%;
  left: 0;
}
.spinner--right .content {
  left: -100%;
}
.content__left,
.content__right {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
}
.content__right {
  right: 0;
  left: auto;
}
.content__left {
  background-repeat: no-repeat;
  background-size: cover;
}
.content__left:after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  /* background-color: rgba(0,0,0,0.1); */
}

.content__left_txt {
  display: flex;
  align-items: center;
  position: relative;
  background-color: rgba(0,0,0,0.5);
  top: 42%;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 7vw;
  height: 3em;
  color: #fff;
  width: 100%;
  letter-spacing: 0.15em;
  line-height: 1;
}

.content__left h1 {
  position: absolute;
  margin-top: 2vw;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 7vw;
  opacity: 1;
  color: #fff;
  width: 100%;
  letter-spacing: 0.15em;
  line-height: 1;
  margin: 0;
}
.content__left span {
  font-size: 7vw;
  font-weight: 300;
  letter-spacing: 0.2em;
  opacity: 0.9;
  font-family: 'Montserrat', sans-serif;
}
.content__right {
  display: flex;
  align-items: center;
  /* justify-content: center; */
}
.content__right .content__main {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  /*text-align: center;*/
  text-align: left;
  color: #fff;
  /*font-size: 3vw;*/
  /*padding: 0 8vw;
  line-height: 1.65;*/
  font-weight: 500;
  margin: 0;
  opacity: 0.8;
  margin-left: 1.75em;
}
/*.content__right .content__main p:last-child {
  text-transform: uppercase;*/
  /* letter-spacing: 0.15em; */
  /*letter-spacing: 0.1em;*/
  /* font-size: 0.85em; */
  /*font-size: 1.3em;*/

/*}*/


.content__right .content__main p {
  /* letter-spacing: 1.5px; */
  letter-spacing: 1.3px;
  /* font-size: 1.2em; */
  font-size: 1em;
  /* margin-block-start: .5em;
  margin-block-end: .5em; */
  font-weight: 500;
  text-transform: uppercase;
}


.content__right .content__index {
  font-size: 30vh;
  position: absolute;
  right: -1vh;
  top: 35vh;
  opacity: 0.04;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

/*img/steel-cutting/AdobeStock_166826410_Preview_1000X1000.jpg  */

[data-type="lowRiseStructures"] .content__left {
  background-image: url("../img/02-light_gauge/02-00-carousel/02-00-c1a-light_gauge-low_rise_structures-1200x795.jpg");
}
.spinner--right [data-type="lowRiseStructures"] .content__left {
  background-image: none;
}
[data-type="mulitStoryStructures"] .content__left {
  background-image: url("../img/02-light_gauge/02-00-carousel/02-00-c2-light_gauge-multi_story_structures-1200x795.jpg");
}
.spinner--right [data-type="mulitStoryStructures"] .content__left {
  background-image: none;
}
[data-type="selfStorageSystems"] .content__left {
  background-image: url("../img/02-light_gauge/02-00-carousel/02-00-c3-light_gauge-self_storage_systems-1200x795.jpg");
}
.spinner--right [data-type="selfStorageSystems"] .content__left {
  background-image: none;
}
[data-type="framingAndComponents"] .content__left {
  background-image: url("../img/02-light_gauge/02-00-carousel/02-00-c4-light_gauge-framing_and_components-1200x795.jpg");
}
.spinner--right [data-type="framingAndComponents"] .content__left {
  background-image: none;
}

[data-type="designAndEngineering"] .content__left {
  background-image: url("../img/02-light_gauge/02-00-carousel/02-00-c5-light_gauge-design_and_engineering-1200x795.jpg");
}

.spinner--right [data-type="designAndEngineering"] .content__left {
  background-image: none;
}










[data-type="smallPortableBuildings"] .content__left {
  background-image: url("../img/04-specailty_items/04-00-carousel/04-00-c1-specailty_items-small_portable_buildings-1200x795.jpg");
}
.spinner--right [data-type="smallPortableBuildings"] .content__left {
  background-image: none;
}
[data-type="fluidContainmentFluidCollectionAndFiltration"] .content__left {
  background-image: url("../img/04-specailty_items/04-00-carousel/04-00-c2-specailty_items-fluid_containment_1200x795.jpg");
}
.spinner--right [data-type="fluidContainmentFluidCollectionAndFiltration"] .content__left {
  background-image: none;
}
[data-type="balconies"] .content__left {
  background-image: url("../img/04-specailty_items/04-00-carousel/04-00-c3-specailty_items-balconies-1200x795.jpg");
}
.spinner--right [data-type="balconies"] .content__left {
  background-image: none;
}
[data-type="workAndAccessPlatforms"] .content__left {
  background-image: url("../img/04-specailty_items/04-00-carousel/04-00-c4-specailty_items-work_and_access_platforms-1200x795.jpg");
}
.spinner--right [data-type="workAndAccessPlatforms"] .content__left {
  background-image: none;
}


/* ******************************************** */
/* ************* MIN WIDTH 540 *************** */
/* ******************************************** */
@media screen and (min-width:540px) {
  .spinner {
    width: calc(96vw - 20px);
  }

  .content__left_txt {
    font-size: 5vw;
  }

  .content__left h1 {
    font-size: 4vw;
  }

  .content__left span {
    font-size: 4vw;
  }

}




/* ******************************************** */
/* ************* MIN WIDTH 768 *************** */
/* ******************************************** */
@media screen and (min-width:768px) {
  .height-restriction {
    height: 700px;
  }

  .spinner {
    position: absolute;
    width: calc(50vw - 20px);
    /* height: calc(80vh - 32px); */
    height: 448px;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    margin: auto;
    transform-style: preserve-3d;
    transition: transform 1s;
    backface-visibility: hidden;
    transform-origin: 50% 50%;
    transform: rotateX(0);
  }

  .content__left h1 {
    display: none;
  }

  .spinner--right {
    display: block;
    right: 0;
    left: auto;
  }

  .content__left_txt {
    display: none;
  }

  .content__right .content__main p {
    font-size: .9em;
  }
}


/* ******************************************** */
/* ************* MIN WIDTH 1024 *************** */
/* ******************************************** */
@media screen and (min-width:1024px) {
.content__right .content__main {
  text-align: left;
  font-size: 1.4em;
  /* padding: 0 8vw; */
  font-weight: 600;
  line-height: 1.45;
  }
}

/* ******************************************** */
/* ************** MIN WIDTH 1366 ************** */
/* ******************************************** */
@media screen and (min-width: 1366px) {
  .spinner {
    width: 663px;
  }


}
