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


body {
  /* background: #fff url('../images/bg.png'); */
  background-color: #fff;
  color: #5a5a5a;
  font-size: 14px;
}

.wrapper {
  margin-top: 2em;
  border-top: #eb1c24 5px solid;
  background-color: #fff;
  padding-bottom: 30px;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Roboto', sans-serif;
}

h2.section-heading {
  font-size: 24px;
  text-transform: uppercase;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
  color: #5a5a5a;
}

a.section-view-more {
  display: inline-block;
  margin-top: 23px;
  margin-bottom: 11.5px;
  text-transform: uppercase;
}

.brand-logo {
  display: inline-block;
  padding: 0px 15px 0 0;
  margin-bottom: 4px;
}

.brand-name {
  display: inline-block;
}

.brand {
  color: #666;
  font-size: 16px;
  font-weight: 700;
}

.brand-logo img {
  height: 50px;
}

.navbar-top {
  background-color: #f2883a;
}

.brand-tagline {
  display: inline-block;
  color: #fff;
  font-style: italic;
  padding: 10px 0;
  margin-bottom: 0;
}

#menu-secondary {

}

#menu-primary {

}

.navbar-top .navbar-toggle {
  margin: 0;
  color: #fff;
}

.navbar-default .navbar-registered-user > li > a {
  color: #fff;
  padding: 10px 15px;
}

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

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  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: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


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

/* Carousel base class */
.carousel {
  height: 480px;
  margin-bottom: 1em;
}
/* 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: 480px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.carousel-caption {
  bottom: 80px;
  left: 15%;
}

.carousel .dark-on-light * {
  color: #666;
}

.carousel .dark-on-light .carousel-caption {
  text-shadow: none;
}

.carousel .item h1 {
  letter-spacing: -0.04em;
}

.carousel .item h1,
.carousel .item h2,
.carousel .item h3,
.carousel .item h4,
.carousel .item h5,
.carousel .item h6,
.carousel .item p {
  margin: 0;
  font-weight: 700;
}


/* Fade Carousel CSS */

.carousel.fade {
  opacity: 1;
  margin-bottom: 0;
}
.carousel.fade .item {
  transition: opacity ease-out .7s;
  left: 0;
  opacity: 0; /* hide all slides */
  top: 0;
  position: absolute;
  width: 100%;
  display: block;
}
.carousel.fade .item:first-child {
  top: auto;
  opacity: 1; /* show first slide */
  position: relative;
}
.carousel.fade .item.active {
  opacity: 1;
}


/* HOME FEATURED ARTICLES
-------------------------------------------------- */

.featured .container-image {
  overflow: hidden;
  /*margin-bottom: 15px;*/
}

.featured .container-image img {
  -webkit-transition: -webkit-transform 0.4s ease;
  -moz-transition: -moz-transform 0.4s ease;
  -o-transition: -o-transform 0.4s ease;
  transition: transform 0.4s ease;
}

.featured .container-image img:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}

.featured .container-text {
  width: 100%;
  padding: 1em 1em 0.1em 1em;
  color: #fff;
}

.featured .container-link {
  padding: 1em;
  line-height: 1em;
  text-align: right;
  color: #fff;
}

.featured .container-link a {
  color: #fff;
}

.featured:nth-child(1) .container-text {
    background-color: #f26c4f;
}
.featured:nth-child(1) .container-link {
    background-color: #c2563f;
}

.featured:nth-child(2) .container-text {
    background-color: #f2883a;
}
.featured:nth-child(2) .container-link {
    background-color: #c26d2e;
}

.featured:nth-child(3) .container-text {
    background-color: #b17d96;
}
.featured:nth-child(3) .container-link {
    background-color: #8e6478;
}

.featured:nth-child(4) .container-text {
    background-color: #249c9a;
}
.featured:nth-child(4) .container-link {
    background-color: #1d7d7b;
}


/* FACILITIES
-------------------------------------------------- */

.facility .container-image {
  overflow: hidden;
  /*margin-bottom: 15px;*/
}

.facility .container-image img {
  -webkit-transition: -webkit-transform 0.4s ease;
  -moz-transition: -moz-transform 0.4s ease;
  -o-transition: -o-transform 0.4s ease;
  transition: transform 0.4s ease;
}

.facility .container-image img:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}

.facility .container-text {
  width: 100%;
  padding: 1em 1em 0.1em 1em;
  color: #fff;
  line-height: 1.2em;
}

.facility .container-link a {
  color: #fff;
}

.facility:nth-child(1) .container-text {
    background-color: #666;
}

.facility:nth-child(2) .container-text {
    background-color: #249c9a;
}

.facility:nth-child(3) .container-text {
    background-color: #666;
}

.facility:nth-child(4) .container-text {
    background-color: #249c9a;
}

/* FOOTER
-------------------------------------------------- */

.container-fluid-cta-bottom {
  text-align: center;
  padding: 25px 0 15px 0;
  background-color: #f2883a;
  color: #fff;
}

.container-fluid-footer {
  background-color: #333;
  padding-top: 30px;
}

.container-fluid-footer hr, 
.container-fluid-cta-bottom hr {
  border-top: 1px solid #555;
}

.container-fluid-cta-bottom h4 {
  color: #fff;
}

.container-fluid-footer li,
.container-fluid-footer a,
.container-fluid-cta-bottom a {
  color: #fff;
  white-space: nowrap;
}

.container-fluid-cta-bottom p {
  color: #fff;
  font-size: 20px;
}

.container-fluid-footer p {
  color: #fff;
}


/* OTHER CUSTOMIZATION 
-------------------------------------------------- */

.container-first {
  margin: 2em 0;
}

.container-promotion {
  background-color: #464646;
  padding: 25px 0 25px 0;
}

.container-featured {
  padding: 30px 0 50px 0;
}


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

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .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: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }
}

@media (min-width: 992px) {

}

@media (max-width: 768px) {

  .brand-logo {
    margin-left: 15px;
  }

  .brand-logo img {
    height: 50px;
  }

  .carousel-inner > .item {
    overflow: hidden;
  }
  .carousel-inner > .item > img {
    max-width: none;
  }

}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}