/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  /* padding-top: 0rem;
  padding-bottom: 3rem; */
  color: #5a5a5a;
}

body, html {
  height: 100%;
  margin: 0;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  /* bottom: 3rem; */
  top: 0!important;
  /* z-index: 10; */
  position: relative!important;
  left: 0;
  right: 0;
  padding-top: 10%;
}

.carousel-caption h1{
  font-size: 50px;
}

.carousel-caption h5{
  font-size: 20px;
}

/* Declare heights because of positioning of img element */
/* .carousel-item {
  height: 23rem;
  background-size: cover;
  background-position: center;
} */

#myCarousel2 .carousel-item {
  height: 56vh!important;
}

#myCarousel2 .carousel-caption {
  top: 30%;
  /* left: -500px; */
}

#myCarousel2 .carousel-caption {
}

.carousel-item {
/* height: 80vh!important; */
/* min-height: 350px; */
background: no-repeat center center scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-blend-mode: overlay;
background: linear-gradient(to bottom right, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.76) 100%);
z-index: 1;
background-position: 50% 50%;
}

.carousel-item video{
  object-fit: cover;
  /* height: 100vh!important; */
  /* position: absolute; */
  min-width: 100%;

  position: fixed!important;
    /* top:0; */
    height: 500px!important;
    z-index: -999999!important;
}

.carousel-item img{
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}



.carousel-control-next{
  position: relative;
  display: inline-block;
  width: 0;
  top: -50px;
  margin-right: -7%;
  float: right;
  opacity: 1;
}

.carousel-control-prev{
  position: relative;
  display: inline-block;
  width: 0;
  top: -50px;
  margin-right: 50px;
  float: right;
  opacity: 1;
}

.carousel-control-next-icon, .carousel-control-prev-icon{
  background-color: #d4d4d4;
  border-radius: 50%;
  background-position: 50%;
  background-size: 60% 100%;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.carousel {
    margin-bottom: -30px!important;
}


/* Vertical carousel
---------------------------------------------------*/



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .carousel-caption{
      padding-top: 0!important;
  }
  .carousel-caption h1{
    font-size: 70px;
  }

  .carousel-caption h5{
    font-size: 30px;
  }

  .carousel {
    margin-bottom: -0px;
  }

  .carousel-item {
    /* height: 43rem!important; */
    /* height: 100vh!important; */
    height: 100vh!important;
    background-size: cover;
    z-index: -99999!important;
  }

  .carousel-item video{
    object-fit: cover;
    /* height: 100vh!important; */
    height: 100vh!important;
  }

  #myCarousel2 .carousel-caption {
    top: 30%;
    left: -500px;
  }

  #myCarousel2 .carousel-item {
    z-index: 1000!important;
  }

  .featurette-heading {
    margin-top: 7rem;
  }

  .carousel-control-next{
    /* position: relative;
    display: inline-block;
    width: 0;
    top: -50px; */
    margin-right: -3%;
    /* float: right;
    opacity: 1; */
  }

  .carousel-control-prev{
    /* position: relative;
    display: inline-block;
    width: 0;
    top: -50px; */
    margin-right: 30px;
    /* float: right;
    opacity: 1; */
  }

  .carousel-control-next-icon, .carousel-control-prev-icon {
    width: 2rem;
    height: 2rem;
  }
}
