/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

.sg-header-banner {
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   position: relative;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: center;
   -ms-flex-align: center;
   align-items: center;
   -webkit-box-pack: center;
   -ms-flex-pack: center;
   justify-content: center;
  overflow:hidden;
}

.sg-header-banner h1,
.sg-header-banner h2,
.sg-header-banner h3,
.sg-header-banner h4,
.sg-header-banner h5,
.sg-header-banner h6,
.sg-header-banner p,
.sg-header-banner span {
   margin: 10px 0;
}

.sg-header-banner .banner__overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 3;
}
.sg-header-banner .arrow-container {
   position: absolute;
   width: 100%;
   text-align: center;
}

.sg-header-banner .arrow-down {
   position: relative;
   z-index: 100;
   display: inline-block;
   cursor: pointer;
}

@media (max-width: 375px) {
   .container-fluid .row-fluid .sg-header-banner .page-center {
      padding: 0;
   }

   .header-banner-copy {
      padding: 0 5.375%;
   }
}

.sg-header-banner .content {
   position: relative;
   height: 100%;
   z-index: 10;
}


/** Background Overlay **/
.sg-header-banner.overlay::before {
   content: "";
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.35);
}

/** Parallax Background **/
.sg-header-banner.parallax {
   background-attachment: fixed;
}

/*Video functionality*/
.sg-header-banner .video-overlay,
.sg-header-banner .video {
   width: 100%;
   transform: none;
   -ms-transform: none;
   -webkit-transform: none;
   left: 0;
   top: 0;
   height: 100%;
   -o-object-fit: cover;
   object-fit: cover;
   position: absolute;
   /*    z-index: -1; */
   z-index: 1;
   min-width: 100%;
   min-height: 100%;
   max-width: none;
}

.sg-header-banner video::-webkit-media-controls-start-playback-button {
   display: none;
   -webkit-appearance: none;
}

/** Particles **/
.particles-js-canvas-el {
   position: absolute;
}

/** Entrance Animations **/
.sg-header-banner.fade-up .header-banner-copy {
   -webkit-transform: translateY(100px);
   -ms-transform: translateY(100px);
   transform: translateY(100px);
   -webkit-transition: opacity 0.65s ease-in-out, -webkit-transform 0.65s ease-in-out;
   transition: opacity 0.65s ease-in-out, -webkit-transform 0.65s ease-in-out;
   -o-transition: transform 0.65s ease-in-out, opacity 0.65s ease-in-out;
   transition: transform 0.65s ease-in-out, opacity 0.65s ease-in-out;
   transition: transform 0.65s ease-in-out, opacity 0.65s ease-in-out, -webkit-transform 0.65s ease-in-out;
   opacity: 0;
}

.sg-header-banner.fade-up .header-banner-image {
   -webkit-transition: opacity 0.65s ease-in-out, -webkit-transform 0.65s ease-in-out;
   transition: opacity 0.65s ease-in-out, -webkit-transform 0.65s ease-in-out;
   -o-transition: transform 0.65s ease-in-out, opacity 0.65s ease-in-out;
   transition: transform 0.65s ease-in-out, opacity 0.65s ease-in-out;
   transition: transform 0.65s ease-in-out, opacity 0.65s ease-in-out, -webkit-transform 0.65s ease-in-out;
   opacity: 0;
}
.sg-header-banner .content-wrapper {
  width: 100%;
  position: relative;
  padding: 50px 15px 50px;
  z-index: 5;
}

/* Home Banner */
.sg-header-banner.home .content-container {
  max-width: 55%;
  position: relative;
  z-index: 10;
  font-size: 20px;
}
.sg-header-banner.home .content-container .h1,
.sg-header-banner.home .content-container h1 {
  font-size: 60px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.sg-header-banner.home .btn-container {
  margin-bottom: 100px;
}
.sg-header-banner.home .testimonial-container {
  max-width: 600px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}
.sg-header-banner.home .testimonial-container .logo {
  margin-right: 30px;
}
.sg-header-banner.home .testimonial-content-container {
  color: white;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 12px;
}
.sg-header-banner.home .testimonial-content-container .role {
  font-weight: 700;
  font-family: "Proxima Nova", sans-serif;
}
.sg-header-banner.internal .slice-image-container,
.sg-header-banner.home .slice-image-container {
  width: 40%;
  height: calc(100% + 30px);
  background-color: white;
  transform: skewX(-10deg);
  position: absolute;
  right: calc(-5% - 50px);
  -webkit-backface-visibility: hidden;
  top: 0;
  z-index: 5;
  background-image: var(--gradient);
}
.sg-header-banner.internal .slice-image-container {
  height: 100%;
  right: -20%;
}
.sg-header-banner.home .slice-image-container img {
  transform: skewX(10deg) translate(-30px, 30px);
  max-height: 100%;

}
.sg-header-banner.small {
  background-color: var(--color-blue);
  height: 100px;
  position: relative;
  overflow: hidden;
}
.sg-header-banner.small .cutaway {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 65%;
  top: 0;
  transform: skewX(-20deg);
  background-color: var(--color-blue-hover);
}
.slice-image-container.has-text {
    transform: none !important;
    right: 0 !important;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.slice-image-container.has-text::before {
    width: 150px;
    height: 100%;
    position: absolute;
    left: -145px;
    top: 0;
    content: "";
    background-image: var(--gradient);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}
.slice-text {
    max-width: 375px;
}

@media(max-width:990px){
  .sg-header-banner.home .content-container {
    max-width: 100%;
  }
  .sg-header-banner.home .content-container .h1,
  .sg-header-banner.home .content-container h1 {
    font-size: 40px;
  }
  .sg-header-banner.home .slice-image-container {
    display: none;
  }
}


@media(max-width:768px){
  .sg-header-banner.home .content-container .h1,
  .sg-header-banner.home .content-container h1 {
    font-size: 35px;
  }
  .sg-header-banner.home .testimonial-container {
    flex-direction: column;
  }
  .sg-header-banner.home .testimonial-container .logo {
    margin-bottom: 30px;
  }
  .sg-header-banner.small {
    height: 50px;
  }
  .sg-header-banner.has-slice-text{
    flex-direction:column;
  }
  .sg-header-banner .slice-image-container.has-text{
    display:block!important;
    width:100%;
    position:relative;
  }
  .sg-header-banner .slice-image-container.has-text:before{
    display:none;
  }
  .slice-text {
    max-width: none;
  }
}

/* Internal */
.sg-header-banner.internal .content-wrapper {
  padding-top: 100px;
  padding-bottom: 100px;
}
.sg-header-banner.internal .content-container {
  max-width: 700px;
}
.sg-header-banner.internal .content-container .h1 {
  display: block;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.sg-header-banner.internal .sub-heading {
    font-size: 20px;
    color: white;
  }

@media(max-width: 768px){
  .sg-header-banner.internal .slice-image-container {
    display: none;
}