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

body {
  padding-bottom: 40px;
  color: #070707;
}

.lower {
  text-align: center;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute; /* Change to from Fixed to lock in screen */
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 5px;
  padding-left: 5px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


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

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 20px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

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

lead1 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  overflow: auto;
  height: 250px;
  }

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

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 .col-xl-4 .col-md-12 .col-sm-12 {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 .col-xl-4 .col-md-12 .col-sm-12 p {
  margin-right: 15px;
  margin-left: 15px;
}

/* Jumbotron
------------------------- */

.jumbotron-divider {
  margin: 20px; /* Space out the Bootstrap <hr> more */
}
.jumbotron {
  padding-left: -200px;
  padding-right: -200px;
  margin-left: -50px;
}

.terms {
  text-align: left;
}

h5 {
  font-size: 26px;
}

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

.featurette-divider {
  margin: 20px; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  text-align: center;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

.lead1 {
  overflow: auto;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  max-height: 500px;
  }  

/* Featurettes for About
------------------------- */


/* Thin out the marketing headings */
.featurette-about-heading {
  text-align: center;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

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

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 1px;
    padding-left: 8px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 2px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    margin-left: 13%;
    margin-right: 13%;
    font-size: 21px;
    line-height: 1.4;
  }
  .carousel-control .left{
  text-align: right;
  }

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


@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

@media (min-width: 992px) {
  .featurette-about-heading {
    margin-top: 50px;
  }
}

@media (min-width: 576px) {
.marketing .col-sm-12 p {
  margin-left: 25%;
  margin-right: 25%;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
  .marketing .col-md-12 p {
    margin-left: 20%;
    margin-right: 20%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .marketing .col-lg-4 p {
    margin-left: 10%;
    margin-right: 10%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .marketing .col-xl-4 p {
    margin-left: 10%;
    margin-right: 10%;
  }
}