html {
  scroll-behavior: smooth;
}

.mobile-content {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.home-body {
  overflow: hidden;
  background: black;
}

.slide {
  width: 100vw;
  height: 100vh;
  position: relative;
}
.wrapper {
  display: flex;
  flex-direction: row;
  transform: rotate(90deg) translateY(-100vh);
  transform-origin: top left;
}

.trans-wrapper {
  width: 500vw;
}

.team-wrapper {
  width: 500vw;
}

.exp-wrapper {
  width: 300vw;
}
.about-wrapper {
  width: 400vw;
}

.outer-wrapper {
  width: 100vh;
  height: 100vw;
  transform: rotate(-90deg) translateX(-100vh);
  transform-origin: top left;
  overflow-y: scroll;
  overflow-x: hidden;
  position: absolute;
}

.slide-big .slide-content {
  width: 1200px;
  left: 5%;

}

.slide-big-content--left {
  width: 44%;
  float: left;
}
.slide-big-content--right {
  width: 44%;
  float: left;
  margin-left: 8%;
}

.slide-lb {
  background: url(../images/triangles-1.png), url(../images/triangles-2.png), #3382CE;
  background-attachment: local, local;
  background-position: 104px 30px, 30px 10px;
  background-repeat: repeat;
}
.slide-red {
  background: url(../images/triangles-1.png), url(../images/triangles-2.png), #FE2A49;
  background-attachment: local, local;
  background-position: 104px 30px, 30px 10px;
  background-repeat: repeat;
}
.slide-dark-red {
  background: url(../images/triangles-1.png), url(../images/triangles-2.png), #C20002;
  background-attachment: local, local;
  background-position: 104px 30px, 30px 10px;
  background-repeat: repeat;
}
.slide-blue {
  background: url(../images/triangles-1.png), url(../images/triangles-2.png), #6BC2D1;
  background-attachment: local, local;
  background-position: 104px 30px, 30px 10px;
  background-repeat: repeat;
}
.slide-purple {
  background: url(../images/triangles-1.png), url(../images/triangles-2.png), #cb459b;
  background-attachment: local, local;
  background-position: 104px 30px, 30px 10px;
  background-repeat: repeat;
}

.slide--video {
  background: black;
  overflow: hidden;
}
.slide-content--medium {
  width: 900px;
}
.transparency-nav {
  position: absolute;
  bottom: 20px;
  left: 5%;
  width: 90%;
  margin: 0 auto;
}

.transparency-nav a {
  color: white;
  display: inline-block;
  width: 19%;
  margin: 0;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  transition: all .2s ease-in-out;
}

.transparency-nav a:hover,
.transparency-nav a:focus {
  color: white !important;
}

.transparency-nav a:hover {
  opacity: .7;
}

.transparency-nav  span.progressBar {
    width: 100%;
    height: 2px;
    margin-bottom: 8px;
    background-color: rgba(255,255,255,0.4);
    display: block;
}

.transparency-nav  span.progressBar .inProgress {
    background-color: #fff;
    width: 0%;
    height: 4px;
}

.care-exp-nav a {
  width: 32% !important;
}
.about-nav a {
  width: 24% !important;
}

.intro-slide  h1 {
    color: white;
    font-size: 96px;
    line-height: 72px;
    letter-spacing: -1.5px;
    text-align: center;
  }

.slide-content {
  background: white;
  position: absolute;
  padding: 60px;
  width:  892px;
  left: 6%;
  top: 17%;
  z-index: 1;
  transition: all .4s ease-in-out;
}

.triangle--right {
  position: absolute;
  opacity: .3;
  width: 0;
  height: 0;
  border-left: 536px solid transparent;
  border-right: 536px solid transparent;
  border-bottom: 705px solid white;
  transform: rotate(25deg);
  right: -390px;
}

.triangle--left {
    position: absolute;
    opacity: .3;
    width: 0;
    height: 0;
    border-left: 536px solid transparent;
    border-right: 536px solid transparent;
    border-bottom: 705px solid white;
    transform: rotate(-32deg);
    left: -230px;
    top: -240px;
}

.triangle--center {
    position: absolute;
    opacity: .3;
    width: 0;
    height: 0;
    border-left: 606px solid transparent;
    border-right: 626px solid transparent;
    border-bottom: 865px solid white;
    transform: rotate(-78deg);
    left: -133px;
    top: -240px;
}


.slide-content .button:hover,
.slide-content .button:focus {
  color: white;
}

.slide-content span,
.m-slide span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 14px;
}

.slide-content span:after,
.m-slide span:after {
  display: block;
  content: '';
  height: 6px;
  width: 24px;
  margin: 24px 0;
  background: red;
}

.care-experience-page .slide-content span:after,
.care-experience-page .slide-content .button {
  background: #FE2A49 !important;
}

.transparency-page .slide-content span:after,
.transparency-page .slide-content .button {
  background: #3382CE !important;
}

.customized-support-page .slide-content span:after,
.customized-support-page .slide-content .button {
  background: #cb459b;
}

.about-landing-page .slide-content span:after,
.about-landing-page .slide-content .button {
  background: #C20002;
}

.our-care-team .slide-content span:after,
.our-care-team .slide-content .button {
  background: #6BC2D1;
}

.slide--video video {
  min-width: 100%;
  min-height: 100%;
}

.slide-content h2 {
  font-size: 22px;
  line-height: 26px;
}

.slide-content p {
  margin-top: 12px;
  font-size: 16px;
}

.slide-title {
    position: absolute;
    top: 90px;
    color: white;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 21px;
    font-weight: 900;
    text-align: left;
    left: 6%;
    width: 430px;
    display: block;
    font-family: proxima-nova, sans-serif;
}

.video-side-slide .slide-content {
  width: 1200px;
  left: 6%;
  padding: 0;
  top: 17%;
}

.video-side-slide video {
  position: absolute;
  top: 0;
  right: -1px;
  height: 502px;
}

.video-slide-video {
    overflow: hidden;
    position: relative;
    right: 0;
    top: 0;
    height: 502px;
}

.slide-content-flipped .video-slide-video {
  left: 0;
}

.slide-content-flipped .video-slide-content {
  right: 0;
  position: absolute;
  background: white;
}

.video-slide-photo {
    width: 680px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    height: 502px;
    background-size: cover;
}

.video-slide-content {
  width: 520px;
  padding: 40px 40px 0 40px;
  height: 502px;
}

.container--intro {
  position: relative;
  top: 30%;
  transition: all .5s ease-in-out;
}

.prev-slide {
    opacity: 0;
    transition: all .2s ease-in-out;
    position: absolute;
    top: 48%;
    left: 0;
    background: rgba(255,255,255,.5);
    border-radius: 0px 70px 70px 0px;
    height: 70px;
    width: 35px;
    z-index: 1;
    display: inline-block;
    padding: 31px 0px 0 10px;
}

.prev-slide p {
  opacity: 0;
  color: white;
  width: 120px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 9px;
  font-weight: 700;
  position: absolute;
  left: 52px;
  text-shadow: 1px 1px black;
  top: 28px;
  transition: all .2s ease-in-out;
}

.prev-slide:hover {
  width: 45px;
  padding: 31px 0px 0 16px;
    background: rgba(255,255,255,1);
}

.prev-slide:hover p {
  opacity: 1;
}

.next-slide {
    transition: all .2s ease-in-out;
    position: absolute;
    top: 48%;
    right: 0;
    background: rgba(255,255,255,.5);
    border-radius: 70px 0 0 70px;
    height: 70px;
    width: 35px;
    z-index: 1;
    display: inline-block;
    padding: 31px 0px 0 16px;
}

.next-slide p {
  opacity: 0;
  color: white;
  width: 90px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 9px;
  font-weight: 700;
  position: absolute;
  left: -78px;
  text-shadow: 1px 1px black;
  top: 28px;
  transition: all .2s ease-in-out;
}

.next-slide:hover {
  width: 45px;
  padding: 31px 0px 0 14px;
    background: rgba(255,255,255,1);
}

.next-slide:hover p {
  opacity: 1;
}


.next-slide {
  position: absolute;
}

.arrow {
  border: solid #373737;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.button--white {
  color: #3382CE !important;
  background: white !important;
  margin: 40px auto !important;
  display: block !important;
}

.js-quant-but {
  transition: background .2s ease-in-out;
  position: absolute;
  bottom: 20px;
  color: white;
  font-size: 20px;
  border: 2px solid white;
  border-radius: 40px;
  width: 75px;
  height: 75px;
  padding: 20px;
}

.js-quant-but img {
  max-width: 30px;
  height: auto;
}

.js-quant-but-1 {
  /*left: 10px;*/
}
.js-quant-but-2 {
  left: 20px;
  
}
.js-quant-but-3 {
  left: 120px;
}
.js-quant-but-4 {
  left: 220px;
}

.js-quant-but-2:hover {
  background: #E28930;  
}
.js-quant-but-3:hover {
  background: rgb(255,181,245);
  background: linear-gradient(0deg, rgba(255,181,245,1) 0%, rgba(58,110,255,1) 50%, rgba(255,181,245,1) 100%);
}
.js-quant-but-4:hover {
  background: #00B65D;
}

.js-quant-icon {
  position: absolute;
  height: 30px;
  width: 30px;
}

.js-quant-icon p {
  display: none;
  position: absolute;
  left: 40px;
  top: 0;
  background: white;
  padding: 4px;
}

.js-quant-icon:hover p {
  display: block;
  width: 200px;
  font-size: 14px;
}


.js-quant-icon-ipad {
  background-image: url('http://www.smshealthcare.com/wp-content/themes/smshealthcare/images/ops-icon.png');
  background-size: cover;
}

.js-quant-icon-ipad--1 {
  left: 430px;
  top: 260px;
}

.js-quant-icon-ipad--2 {
  left: 200px;
  top: 180px;
}

.js-quant-icon-ipad--3 {
  left: 310px;
  top: 300px;
}

.js-quant-icon-hand {
  background-image: url('http://www.smshealthcare.com/wp-content/themes/smshealthcare/images/hand-icon.png');
  background-size: cover;
}

.js-quant-icon-hand--1 {
  left: 95px;
  top: 200px;
}

.js-quant-icon-hand--2 {
  left: 431px;
  top: 215px;
}

.js-quant-icon-hand--3 {
  left: 310px;
  top: 300px;
}

.js-quant-icon-germ {
  background-image: url('http://www.smshealthcare.com/wp-content/themes/smshealthcare/images/germ-icon.png');
  background-size: cover;
}

.js-quant-icon-germ--1 {
  left: 18px;
  top: 320px;
}

.js-quant-icon-germ--2 {
  left: 512px;
  top: 266px;
}

.js-quant-icon-germ--3 {
  left: 610px;
  top: 300px;
}

.js-quant-icon-germ--3 p,
.js-quant-icon-germ--2 p {
  left:  -200px !important;
}





@media screen and (max-width: 1200px) {
  .video-side-slide .slide-content,
  .slide-content {
    left: 2%;
  }

  .video-slide-content h2 { 
      font-size: 18px;
      line-height: 20px;
  }
  .slide-content span:after, .m-slide span:after {
    margin: 12px 0;
  }
}

@media screen and (max-width: 870px) {
  .outer-wrapper,
  .transparency-nav,
  .next-slide,
  .prev-slide {
    display: none;
  }
  .logo {
    top: 32px;
    left: 20px;
  }

  .mobile-content {
    display: block;
  }


  .home-body {
    overflow: scroll;
    background: black;
  }

  .m-page {
    padding: 20px;
  }

  .m-page-bg {
    background-size: cover;
  }

  .m-slide-first {
    margin-top: 116px;
  }

  .m-slide {
    background: white;
    padding: 40px;
  }

  .m-page-bg .m-slide {
    background: rgba(255, 255, 255, .87);
  }

  .slide-title {
    width: 100%;
    text-align: center;
    left: 0;
  }

  .m-slide h2 {
    font-size: 22px;
    line-height: 26px;
  }

  .m-slide p {
    margin-top: 12px;
    font-size: 16px;
  }


  .mobile-content--ce,
  .mobile-content--ce .m-slide span:after,
  .mobile-content--ce .m-slide .button {
    background: #FE2A49 !important;
  }

  .mobile-content--tt,
  .mobile-content--tt .m-slide span:after,
  .mobile-content--tt .m-slide .button {
    background: #3382CE !important;
  }

  .mobile-content--cs,
  .mobile-content--cs .m-slide span:after,
  .mobile-content--cs .m-slide .button {
    background: #cb459b;
  }

  .mobile-content--ab,
  .mobile-content--ab .m-slide span:after,
  .mobile-content--ab .m-slide .button {
    background: #C20002;
  }


  .mobile-content--oct,
  .mobile-content--oct .m-slide span:after,
  .mobile-content--oct .m-slide .button {
    background: #6BC2D1;
  }


}


@media screen and (max-width: 640px) {
  .slide-title {
    top: 97px;
    text-align: center;
  }

  .slide-content {
    background: white;
    position: absolute;
    padding: 30px;
    width: 95%;
    left: 2.5%;
    top: 17%;
    z-index: 1;
    transition: all .4s ease-in-out;
  }

  .video-side-slide .slide-content {
    top: 3%;
    left: 2.5%;
    width: 95%;
  }

  .video-slide-content {
    height: auto;
    padding: 20px;
    width: 100%;
  }

  .slide--video {
    overflow: unset;
  }

  .video-slide-photo {
    overflow: unset; 
    position: unset; 
    right: 0;
    top: 0;
    height: 262px;
    background-size: cover;
    width: 100%;
  }

  .outer-wrapper {
    width: inherit;
    height: inherit;
    transform: none;
    transform-origin: unset;
    overflow: unset;
    position: relative;
  }

  .wrapper {
    width: unset;
    display: block;
    transform: none;
    flex-direction: unset;
    transform-origin: unset;
  }

  .exp-wrapper {
    width: unset;
    display: block;
    transform: none;
    flex-direction: unset;
    transform-origin: unset;
  }

  .prev-slide,
  .next-slide,
  .transparency-nav {
    display: none;
  }

  .outer-wrapper {
    display: none;
  }
}


@media screen and (max-height: 726px) { 
    .slide-title {
      top: 76px;
    }
    .slide-content span:after, .m-slide span:after {
      margin: 18px 0;
    }
    .slide-content {
      padding: 36px;
      top: 18%;
    }
    .transparency-nav {
      bottom: 2px;
    }
}

@media screen and (max-height:  560px) {
    .slide-title {
      top: 80px;
    }
    .slide-content span:after, .m-slide span:after {
      margin: 12px 0;
    }
    .slide-content {
      padding: 26px;
      top: 24%;
      max-height: 310px;
      overflow: scroll;
    }

    /*.slide-content:after{
      content: '';
      position: absolute;
      left: 42%;
      top: 100%;
      width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-right: 20px solid transparent;
      border-top: 20px solid #373737;
      clear: both;
    }*/
    .video-side-slide .slide-content {
      top: 24%;
    }
    .transparency-nav {
      bottom: -2px;
    }
}
