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

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

/* 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;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-caption {
    top: 0.5rem;
    bottom: auto;
}

.carousel-inner{
  width:100%;
/*  max-height: 400px !important;*/

}

.carousel-item {
  height: 15rem;
}

.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 80%;
}

.carousel-caption h1 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
}

.carousel-caption p {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
}


/* 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;
}
/* back to top ----------------------*/
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: grey; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 12px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 14px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

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

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  .carousel-caption h1 {
    margin-bottom: 1rem;
/*    color: black;*/
    font-size: 1.25rem;
    line-height: 1.15;
  }

   .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: .75rem;
  }
 
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .carousel-caption h1 {
    margin-bottom: 1rem;
/*    color: red;*/
    font-size: 1rem;
    line-height: 1.15;
  }

.carousel-item {
  height: 12rem;
}

.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 80%;
}

   .carousel-caption p {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    line-height: 1;
  }

}

.btn-group-xs > .btn, .btn-xs {
  padding: .25rem .4rem;
  font-size: .75rem;
  line-height: .5;
  border-radius: .2rem;
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
 .carousel-caption h1 {
    margin-bottom: 0.5rem;
/*    color: yellow;*/
    font-size: 0.75rem;
    line-height: 1;
  }

   .carousel-caption p {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    line-height: 0.75rem;
  }

.carousel-item {
  height: 7rem;
}

}

}