.so-widget-jwa-home-slider {
  width:100vw;
  margin-left:50%;
  transform:translateX(-50%) ;
}

/* {{{ Frames */
.home-slider-frames {
  position:relative;
  overflow:hidden;
  height:50vh;
  max-height:400px;
}
.home-slider-frame {
  position:absolute;
  width:100%;
  height:50vh;
  max-height:400px;
  overflow: hidden;
}

.home-slider-frame .img-bg {
  position:absolute;
  right:0;
  width:50%;
  top:0;
  bottom:0;
  height:100%;
  background-size:cover;
  z-index:2;
}
.home-slider-frame .overlay {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-slider-frame .overlay img {
  max-width:300px;
  max-height:300px;
  width:60%;
  height:60%;
  object-fit: contain;
}

.home-slider-frame .img-bg:after {content: '';
  background-size: auto 100%;
  background-position: top left;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 480px;
  left: 0px;
  border-bottom: 180px solid var(--colour-1);
  transform: rotate(65deg) translate(25px,257px);
  transform-origin: center;
  border-top: 20px solid rgba(255,255,255, 0.8);
  height: 0;
  z-index: 5;
}

.home-slider-frame:first-child { position:relative; }
.home-slider-content {
  color:white;
  background-color: var(--colour-1);
  display: flex;
  justify-content: flex-end;
  width:50%;
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  z-index:6;
}


@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 821px) {
  .home-slider-frame { }
  .home-slider-frame .img-bg { width:100%; height: 200px;position:static;}
  .home-slider-frame .home-slider-content { height: 230px; position:static;}
  .home-slider-frame .img-bg:after {
    transform: none;
    width: 100%;
    top: initial;
    border-bottom: 0;
  }
  .home-slider-content { width:100%; top: 200px; overflow:scroll;}
  .home-slider-content .banner-link {top: 200px;}

  .home-slider-frames, .home-slider-frame  {height:initial;max-height:initial;}
}


.home-slider-content .banner-link {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 600px;
}

/* }}} Frames */


/* {{{ Text */
.frame-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width:100%;
  max-width: 600px;
  padding:20px 50px;
  box-sizing:border-box;
  pointer-events: none;
}
.frame-text-content a { text-decoration:none; }
@media screen and (max-width: 821px) {
  .frame-text-content {
    width:100%;
    max-width: initial;
  }
}

.frame-text-content h2 {
  font-size: 42px;
  line-height:52px;
  margin: .5em auto;
  font-weight:700;
  color:var(--blue);
  width: calc(100% + 20px);
}
.frame-text-content p {
  font-size: 19px;
  margin: 0;
  color:var(--blue);
  font-weight:400;
  width: calc(100% + 20px);
}
@media screen and (max-width: 821px) {
  .home-slider-frame.active { bottom: 0!important; }
  .frame-text-content {
    display:block;
    padding:0 30px;
    height:initial;
  }
  .frame-text-content h2 { width: 100%; font-size: 26px; line-height: 30px; }
  .frame-text-content p { width: 100%;  }
}

@media screen and (max-width: 600px) {
  .frame-text-content { padding:0 10px; }
}
/* }}} Text */


/* Slider Controls */
#home-slider-nav {
    position: absolute;
    bottom: 0;
    z-index:9;
    left: calc(50% - 560px);
}
#home-slider-nav ul { list-style:none; margin:0; padding:0; text-align:center;}
#home-slider-nav li { display:inline-block; cursor: pointer; min-width:30px; font-size:60px; color:#fff; opacity:.8;  -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black;}
#home-slider-nav li.active {color: black; }


@media screen and (max-width: 1080px) {
  #home-slider-nav { left: 20px;}
}

@media screen and (max-width: 821px) {
  #home-slider-nav { left: 20px; bottom:initial; top:165px; }
}