/*
Fade content bs-carousel with hero headers
Code snippet by maridlcrmn (Follow me on Twitter @maridlcrmn) for Bootsnipp.com
Image credits: unsplash.com
*/
/********************************/
/*       Fade Bs-carousel       */
/********************************/

.fade-carousel {
  position: relative;
  height: 60vh;
  background-color: #fff;
}

.fade-carousel .carousel-inner .item {
  height: 60vh;
}

.fade-carousel .carousel-indicators>li {
  margin: 0 2px;
  background-color: #9c9c9c;
  border-color: #9c9c9c;
}

.fade-carousel .carousel-indicators>li.active {
  width: 10px;
  height: 10px;
  background-color: #D5007F;
  border-color: #D5007F;
}


/********************************/
/*          Hero Headers        */
/********************************/

.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  color: #000;
  text-align: left;
  -webkit-transform: translate3d(-50%, -50%, 0);
  -moz-transform: translate3d(-50%, -50%, 0);
  -ms-transform: translate3d(-50%, -50%, 0);
  -o-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}

.hero h1 {
  font-size: 2em;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.hero h3{
  font-weight: normal;
  font-size: 18px;
  width: 60%;
}

.hero h3 a{
  color: #d3148c
}

.hero h3 a:hover{
  color: #d3148c
}

.fade-carousel .carousel-inner .item .hero {
  opacity: 0;
  -webkit-transition: 2s all ease-in-out .1s;
  -moz-transition: 2s all ease-in-out .1s;
  -ms-transition: 2s all ease-in-out .1s;
  -o-transition: 2s all ease-in-out .1s;
  transition: 2s all ease-in-out .1s;
}

.fade-carousel .carousel-inner .item.active .hero {
  opacity: 1;
  -webkit-transition: 2s all ease-in-out .1s;
  -moz-transition: 2s all ease-in-out .1s;
  -ms-transition: 2s all ease-in-out .1s;
  -o-transition: 2s all ease-in-out .1s;
  transition: 2s all ease-in-out .1s;
}


/********************************/


/*            Overlay           */


/********************************/


/* .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #080d15;
    opacity: .7;
} */


/********************************/


/*          Custom Buttons      */


/********************************/

.btn.btn-lg {
  padding: 10px 40px;
}

.btn.btn-hero, .btn.btn-hero:hover, .btn.btn-hero:focus {
  visibility: hidden;
  color: #f5f5f5;
  background-color: #1abc9c;
  border-color: #1abc9c;
  outline: none;
  margin: 20px auto;
}


/********************************/


/*       Slides backgrounds     */


/********************************/

.fade-carousel .slides .slide-1, .fade-carousel .slides .slide-2, .fade-carousel .slides .slide-3 {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.fade-carousel .slides .slide-1 {
  background-image: url(../images/norma/portal/slider1.svg);
  background-position: right -100px;
  background-repeat: no-repeat;
  -webkit-background-size: 100% 100%;
     -moz-background-size: 100% 100%;
       -o-background-size: 100% 100%;
          background-size: 100% 100%;
}

.fade-carousel .slides .slide-2 {
  background-image: url(../images/norma/portal/slider2.svg);
  background-position: right -100px;
  background-repeat: no-repeat;
  -webkit-background-size: 85% 90%;
     -moz-background-size: 85% 90%;
       -o-background-size: 85% 90%;
          background-size: 85% 90%;
}

.fade-carousel .slides .slide-3 {
  background-image: url(../images/norma/portal/slider3.svg);
  background-position: right -190px;
  background-repeat: no-repeat;
  -webkit-background-size: 120% 120%;
     -moz-background-size: 120% 120%;
       -o-background-size: 120% 120%;
          background-size: 120% 120%;
}


/********************************/


/*          Media Queries       */


/********************************/

@media screen and (min-width: 980px) {
  .hero {
    width: 980px;
  }
}

@media screen and (max-width: 640px) {
  .hero h1 {
    font-size: 4em;
  }
}
