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

html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  border-top: 1px solid #f5f5f5;
}


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

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

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


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

.text-muted {
  font-style: italic;
  font-size: 0.5em;
}

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


/* PROJECT CSS
-------------------------------------------------- */

.theme-dropdown .dropdown-menu {
  position: static;
  display: block;
  margin-bottom: 20px;
}

.theme-showcase > p > .btn {
  margin: 5px 0;
}

.theme-showcase .navbar .container {
  width: auto;
}

body > .container {
  padding: 60px 15px 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}

/* Search bar with icon buttons (matches minimalist rounded style) */
.searchbar {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #6e6b64; /* subtle neutral */
  border-radius: 9999px;
  padding-left: 1rem;
  background: #0f1010; /* dark background to match screenshot */
}
.searchbar input[type="text"],
.searchbar input[type="search"],
.searchbar .form-control {
  border: none;
  background: transparent;
  color: #e6e6e6;
  padding-right: 4.5rem; /* leave room for icons */
  width: 100%;
}
.searchbar .form-control:focus {
  outline: none;
  box-shadow: none;
}
.searchbar .search-icon,
.searchbar .search-clear {
  position: absolute;
  right: .5rem;
  height: 2rem;
  width: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #6e6b64;
  border-radius: 9999px;
  background: transparent;
  color: #e6e6e6;
  cursor: pointer;
}
.searchbar .search-clear {
  right: 3rem; /* X sits before magnifier */
}
.searchbar .search-icon:hover,
.searchbar .search-clear:hover {
  background: rgba(255,255,255,0.06);
}
.searchbar svg { pointer-events: none; }
