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

body {
    color: #5a5a5a;
    font-family: 'Atlanta Book', sans-serif;
    font-size: 15px;
    background-color: #D0D0D0;
}

/*@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}*/


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

/* Carousel base class */
.carousel {
  /*margin-bottom: 4rem;*/
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  top: 2rem;
  z-index: 10;
}
.carousel-caption .banner-title {
    max-width: 250px;
    left: 0;
}
.carousel-caption .qr-code {
    max-width: 50px;
    text-align: right;
}


.banner-content {
    position: relative;
    padding: 2rem;
}

.banner-content .banner-title {
    max-width: 250px;
    position: absolute;
    left: 0;
    top: 2rem;
}
.banner-content .qr-code {
    max-width: 50px;
    position: absolute;
    right: 0;
    top: 2rem;
}
.banner-content .referral-title {
    max-width: 250px;
    position: absolute;
    left: 0;
    top: 16rem;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

@media only screen and (max-width: 400px) {

  .banner-content .banner-title {
        max-width: 190px;
        top: 3em;
    }

    .banner-content .qr-code {
        max-width: 50px;
        top: 3em;
    }

    .banner-content .referral-title {
        max-width: 180px;
        top: 14em;
    }
}


/* Declare heights because of positioning of img element */
.carousel-item {
  height: 1000px;
  /*background-color: #777;*/
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  /*min-width: 100%;*/
  width: 100%;
  height: 100%;
}

@media only screen and (min-height: 2600px) {
    .carousel-item {
      height: 2600px !important;
    }
}

@media only screen and (max-height: 2400px) {
    .carousel-item {
      height: 2400px !important;
    }
}

@media only screen and (max-height: 2200px) {
    .carousel-item {
      height: 2200px !important;
    }
}

@media only screen and (max-height: 2000px) {
    .carousel-item {
      height: 2000px !important;
    }
}

@media only screen and (max-height: 1800px) {
    .carousel-item {
      height: 1800px !important;
    }
}

@media only screen and (max-height: 1600px) {
    .carousel-item {
      height: 1600px !important;
    }
}

@media only screen and (max-height: 1400px) {
    .carousel-item {
      height: 1400px !important;
    }
}

@media only screen and (max-height: 1200px) {
    .carousel-item {
      height: 1200px !important;
    }
}

@media only screen and (max-height: 1080px) {
    .carousel-item {
      height: 1080px !important;
    }
}

@media only screen and (max-height: 1024px) {
    .carousel-item {
      height: 1024px !important;
    }
}

@media only screen and (max-height: 1000px) {
    .carousel-item {
      height: 1000px !important;
    }
}

@media only screen and (max-height: 900px) {
    .carousel-item {
      height: 900px !important;
    }
}

@media only screen and (max-height: 800px) {
    .carousel-item {
      height: 800px !important;
    }
}

@media only screen and (max-height: 768px) {
    .carousel-item {
      height: 768px !important;
    }
}

@media only screen and (max-height: 640px) {
    .carousel-item {
      height: 640px !important;
    }
}

@media only screen and (max-height: 600px) {
    .carousel-item {
      height: 600px !important;
    }
}

@media only screen and (max-height: 568px) {
    .carousel-item {
      height: 568px !important;
    }
}

@media only screen and (max-height: 500px) {
    .carousel-item {
      height: 500px !important;
    }
}

@media only screen and (max-height: 480px) {
    .carousel-item {
      height: 480px !important;
    }
}

@media only screen and (max-height: 400px) {
    .carousel-item {
      height: 400px !important;
    }
}

@media only screen and (max-height: 300px) {
    .carousel-item {
      height: 300px !important;
    }
}



/* 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;
  }
}




img.fit {
    width: 100%;
    display: block;
    max-width: 100%;
    margin-bottom: 10px;
}

.img-responsive {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    font-family: 'object-fit: cover; object-position: center;';
    /*max-height: 400px;
    height: auto;*/
}