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

body {
  /* padding-top: 3rem; 
  padding-bottom: 3rem;*/
  color: #515b5e;
}


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

/* Carousel base class */
/* .carousel {
  margin-bottom: 4rem;
} */
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: auto;
  z-index: 10;
  left: 15px;
  right: 15px;
  color: #515b5e;
  font-size: 1.3rem;
  padding-top: 0;
  padding-bottom: 0;
  top: 1.5rem;
}
@media (min-width: 40em){
  .carousel-caption p{
    font-size: 1.3rem  !important;
  }
}
/* Declare heights because of positioning of img element */
.carousel-item {
  height: 16rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 16rem;
}

#newsCarousel .carousel-item, #expertsCarousel .carousel-item{
  height: 32rem;
}
#projectsCarousel .carousel-item{
  height: 38rem;
}

/* 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;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* 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;
  letter-spacing: -.05rem;
}


/* 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) {
  .featurette-heading {
    margin-top: 7rem;
  }
}


.carousel-caption h2{
  color: #ff671d;
  font-size: 3rem;
}
.carousel-control-prev-icon, .carousel-control-next-icon{
  background-image: none;
  color: #ff671d;
  font-size: 4rem;
  font-family:"Prelo Slab W01 Medium" !important;  
  line-height: 1;
  text-align: left;
}
.carousel-control-next-icon, .carousel-control-prev-icon{
  height: 50px;
  width: 50px;
}
.carousel-control-next, .carousel-control-prev{
  opacity: 1;
  width: 9%;
}

@media(max-width: 768px){
  #newsCarousel .carousel-item, #expertsCarousel .carousel-item, #projectsCarousel .carousel-item, #popularlinksCarousel .carousel-item{
    height: auto !important;
    float: none;
    display: block;
  }
  #newsCarousel .carousel-caption, #expertsCarousel .carousel-caption, #projectsCarousel .carousel-caption, #popularlinksCarousel .carousel-caption{
    position: static;
  }
  #newsCarousel .card, #projectsCarousel .card, #expertsCarousel .card, #popularlinksCarousel .card{
    margin-bottom: 15px;
  }
  #newsCarousel .carousel-control-prev, #newsCarousel .carousel-control-next, #expertsCarousel .carousel-control-prev, #expertsCarousel .carousel-control-next, #latestUpdateCarousel .carousel-control-prev, #latestUpdateCarousel .carousel-control-next,  #projectsCarousel .carousel-control-prev, #projectsCarousel .carousel-control-next,  #popularlinksCarousel .carousel-control-prev, #popularlinksCarousel .carousel-control-next{
    display: none;
  }
  #newsCarousel .card .card-body h3, #projectsCarousel .card .card-body h3, #projectsCarousel .card .card-body p, #projectsCarousel .card, #expertsCarousel .card .card-body .content,#popularlinksCarousel .card .card-body h3{
    min-height: auto !important;
  }
  #projectsCarousel .card .thumb{
    position: static !important;
  }
}