@import url('https://fonts.googleapis.com/css?family=Arvo|Montserrat|Roboto&display=swap');

/* Common */
.sm-story {
  width: 360px;
  min-height: 640px;
  border: 1px solid #eee;
  max-width: 100%;
  height: auto;
  display: flex;
  flex: 1;
/*  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;*/
}

.sm-slide {
/*  width: 360px;
  min-height: 640px;
  border: 1px solid #eee;
  max-width: 100%;
  height: auto;*/
  width: 360px;
  min-height: 640px;
  align-items: stretch;
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position : relative;
  background-repeat: no-repeat;
}

.sm-slide.vatop {
  justify-content: flex-start;
}

.sm-slide.vamiddle {
  justify-content: center;
}

.sm-slide.vabottom
 {
  justify-content: flex-end;
}

.sm-slide.haleft {
  text-align: left;
}

.sm-slide.hacenter {
  text-align: center;
}

.sm-slide.haright {
  text-align: right;
}

.sm-slide.sm-image.bgcontain {
  background-size: contain;
}
/* Specific */

.sm-slide.sm-html .smhtml {
  padding: 15px;
}

.sm-slide.sm-image {
  background-size: cover;
  background-position: center center;
}

.smcontent {
  margin: 10px;
  padding: 10px;
  z-index: 3;
}

/* Video */

.sm-slide.sm-video .video-background {
  background: #000;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
}

.sm-slide.sm-video .video-foreground,
.sm-slide.sm-video .video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sm-slide.sm-video .smcontent {
  z-index: 5;
}

/* CTA */

.sm-slide .slidecta {
  /*display: flex;*/
  text-align: center;
  width: 100%;
  z-index: 3;
}

.sm-slide .slidecta.ctadisabled {
  display: none !important;
}

.sm-slide .slidectabtn {
  background-color: #222;
  border: 0;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 1em 2em;
  text-shadow: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-decoration: none !important;
  margin: 8px;
}

.sm-slide .vactop {
align-self: flex-start;
/*align-self: stretch;*/
}
.sm-slide .vacbottom {
align-self: flex-end;
/*align-self: stretch;*/
}

/* Gradient */

.smgradient {
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  /*background: rgba(0, 0, 0, 0.4);
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.05)), to(rgba(0, 0, 0, 0.3)));
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
  background-image: -moz- oldlinear-gradient(bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
  background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.05) 100%);*/
  top: 60%;
  bottom: 0;
  right: 0;
  left: 0;
  position: absolute;
  z-index: 0;
}

.smgradient.smdeactivated {
  display: none!important;
}

#story-content {
  overflow: hidden;
}

.sm-end-story-wrapper {
  background-color: black;
}


/* Buttons */

.wpsmbtn {
  box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent !important;
  border: 2px solid transparent;
  /*border: 2px solid #e74c3c;*/
  /*color: #e74c3c;*/
  border-radius: 0.6em;
  cursor: pointer;
  /*display: flex;*/
  /*align-self: center;*/
  /*font-size: 1rem;*/
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  /*margin: 20px;*/
  padding: 1em 1.5em;
  text-decoration: none;
  text-align: center;
  /*text-transform: uppercase;*/
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: none;
}

.wpsmbtn:hover, .wpsmbtn:focus {
  color: #fff;
  outline: 0;
  text-decoration: none;
}

.wpsmbtn.style1 {
  transition: box-shadow 300ms ease-in-out, color 300ms ease-in-out;
  border: 2px solid #e74c3c;
  color: #e74c3c;
}
.wpsmbtn.style1:hover {
  box-shadow: 0 0 40px 40px #e74c3c inset;
  color: white;
}

.wpsmbtn.style2 {
  border-radius: 3em;
  border-color: #1abc9c;
  color: #fff;
  background-image: linear-gradient(to right, rgba(26, 188, 156, 0.6), rgba(26, 188, 156, 0.6) 5%, #1abc9c 5%, #1abc9c 10%, rgba(26, 188, 156, 0.6) 10%, rgba(26, 188, 156, 0.6) 15%, #1abc9c 15%, #1abc9c 20%, rgba(26, 188, 156, 0.6) 20%, rgba(26, 188, 156, 0.6) 25%, #1abc9c 25%, #1abc9c 30%, rgba(26, 188, 156, 0.6) 30%, rgba(26, 188, 156, 0.6) 35%, #1abc9c 35%, #1abc9c 40%, rgba(26, 188, 156, 0.6) 40%, rgba(26, 188, 156, 0.6) 45%, #1abc9c 45%, #1abc9c 50%, rgba(26, 188, 156, 0.6) 50%, rgba(26, 188, 156, 0.6) 55%, #1abc9c 55%, #1abc9c 60%, rgba(26, 188, 156, 0.6) 60%, rgba(26, 188, 156, 0.6) 65%, #1abc9c 65%, #1abc9c 70%, rgba(26, 188, 156, 0.6) 70%, rgba(26, 188, 156, 0.6) 75%, #1abc9c 75%, #1abc9c 80%, rgba(26, 188, 156, 0.6) 80%, rgba(26, 188, 156, 0.6) 85%, #1abc9c 85%, #1abc9c 90%, rgba(26, 188, 156, 0.6) 90%, rgba(26, 188, 156, 0.6) 95%, #1abc9c 95%, #1abc9c 100%);
  background-position: 0 0;
  background-size: 100%;
  transition: background 300ms ease-in-out;
}
.wpsmbtn.style2:hover {
  background-position: 100px;
}

.wpsmbtn.style3 {
  border-color: #3498db;
  color: #fff;
  box-shadow: 0 0 40px 40px #3498db inset, 0 0 0 0 #3498db;
  transition: all 150ms ease-in-out;
}
.wpsmbtn.style3:hover {
  box-shadow: 0 0 10px 0 #3498db inset, 0 0 10px 4px #3498db;
}

.wpsmbtn.style4 {
  border-color: #f1c40f;
  color: #fff;
  background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%);
  background-position: 100%;
  background-size: 400%;
  transition: background 300ms ease-in-out;
}
.wpsmbtn.style4:hover {
  background-position: 0;
}

.wpsmbtn.style5 {
  border-color: #8e44ad;
  border-radius: 0;
  color: #8e44ad;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 150ms ease-in-out;
}
.wpsmbtn.style5:after {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 0;
  height: 100%;
  background: #8e44ad;
  z-index: -1;
  transition: width 150ms ease-in-out;
}
.wpsmbtn.style5:hover {
  color: #fff;
}
.wpsmbtn.style5:hover:after {
  width: 110%;
}

.wpsmbtn.style6 {
  /*background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);*/
/*background: #f09433; 
background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );*/
background: linear-gradient(90deg, #FF7A00 0%, #8000FF 100%);
    box-shadow: 0px 10px 30px rgba(128, 0, 255, 0.2);
    color: #fff;
    font-weight: 700;
border: none;
font-size: 18px;
    border-radius: 45px;
    line-height: 45px;
    text-align: center;
    text-decoration: none;
    margin: 1rem 0;
    padding: 0 2rem;
    transition: 200ms all ease-in;
/*color: white;*/
}

.wpsmbtn.style6:hover {
  box-shadow: 0px 5px 15px rgba(128, 0, 255, 0.4);
  background: linear-gradient(90deg, #8000FF 0%, #FF7A00 100%);
}

/* Custom */

.wpsmbtnc {
  background-color: black;
  /*border: 1px solid black;*/
  border: none;
  color: white;
  border-radius: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  padding: 15px 25px;
  text-decoration: none !important;
  text-align: center;
  font-family: 'Roboto', 'Montserrat', sans-serif;
  text-transform: none;
  font-weight: 700;
}
.wpsmbtnc:hover {
  text-decoration: none !important;
}

/* Logo */

.smachlogo {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  max-width: 40%;
}

.smachlogo.logopos1 {
  right: auto;
  left: 10px;
}

.smachlogo.logopos2 {
  bottom: auto;
  top: 10px;
}

.smachlogo.logopos3 {
  bottom: auto;
  top: 10px;
  left: 10px;
  right: auto;
}

.smachlogo img {
  max-width: 80px;
  max-height: 60px;
  height: auto;
  width: auto;
}

/* Optin */

.slideoh {
  font-family: Roboto;
  font-size: 18px;
}

.slideoe {
  width: 95%;
  margin: 0 auto;
}

.slideosb {
  background-color: #222;
  border: 0;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 1em 2em;
  text-shadow: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-decoration: none !important;
  margin: 8px;
}

.quizbtn {
  background-color: #222;
  border: 0;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 1em 2em;
  text-shadow: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-decoration: none !important;
  margin: 8px;
}

.quizbtn:hover {
  background-color: #ccc;
}

.quizbtn.yesa {
  background-color: green;
}

.quizbtn.noa {
  background-color: red;
}

/* News */

.sm-slide.sm-news {
  flex-direction: row;
}
.newswr {
  /*flex-wrap:wrap;*/
  display: flex;
  flex-direction: column;
  width: 100%;
}
.sm-news .slidet {
  /*display: flex-row;*/
  height: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-clip: border-box;
  background-position-x: 50%;
  background-position-y: 50%;
}

.sm-news .slideb {
 /*display: flex-row;*/
 height: 50%; 
 background-color: #f5f5f5;
 overflow: hidden;
}

.smcontentx {
  text-align: left;
  padding: 10px;
  height: 100%;
  padding-bottom:0;
}

.sm-news .slideh {
  /*color: black !important;*/
  /*font-size: 20px !important;*/
  /*text-align: left;*/
  margin-bottom: 15px !important;
  display: block;
  border-left: 5px solid red;
  padding-left: 8px;
  font-weight:bold;
  line-height: normal;
}

.sm-news .slidec {
  /*color: black !important;*/
  /*font-size: 16px !important;*/
  font-weight: 300 !important;
  /*line-height: 18px !important;*/
  text-align: left;
  display: block;
  line-height: normal;

}

.sm-image .slideh,
.sm-video .slideh {
  /*font-size: 20px !important;*/
  line-height: normal!important;
  font-weight: bold;
  text-shadow: 2px 2px 4px #000000;
  display: block;
}

.sm-image .slidec,
.sm-video .slidec {
  /*font-size: 16px !important;*/
  line-height: normal!important;
  padding-top: 8px !important;
  text-shadow: 2px 2px 4px #000000;
}
/* Slideup */

/* Mobile */

@media only screen and (max-width: 600px) {
  #storytime .story-window {
    height: 100vh;
    max-height: 0;
    top: 0;
    /*top: 10px;*/
    /*bottom: 10px;*/
  }

  .sm-story {
    min-height: 90vh;
  }
  #story-content .sm-end-story-wrapper.current, #story-content .sm-story-wrapper.current {
    /*bottom: 0;*/
  }

  .sm-slide {
    min-height: 90vh;
  }

  .sm-story {
    /*height: 300px;*/
/*    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    left: 0;
    height: 500px;*/
  }

  #sm-story-wrapper {
    /*position: relative;*/
  }
}

