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

body {
  font-size:16px;
  padding-bottom: 40px;
  color: #5a5a5a;
  background: transparent;
}


/* 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;
}
.navbar-brand, .navbar-brand a {
    font-weight:800;
    text-transform:uppercase;
}

#logo #enname { font-size:72px; line-height:1.41em; color:#ffffff; }
#logo #lcname { font-size:48px; line-height:1.41em; color:#ffffff; }
#logo img { width:100%; }
#logo a { text-decoration:none; }

.panel-featured-pages{
    margin-right:0px;
    margin-left:0px;
}
.panel-featured-pages .col-xs-6{ padding:1px; }
.panel-featured-pages .img{ margin-top:0; width:100%; height:auto;}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
  height: 540px;    /* 680px */
  width: 100%;
  margin-bottom: 20px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}
#logo {
    display:inline-block;
    position:absolute;
    top: 0px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 540px;
  background: #000;
}
.carousel-inner > .item > img {
  margin: 0 auto;
  /*min-width: 100%;*/
  max-width: 960px;
  height: auto;
}
.carousel-indicators {
  /*top: 60px;*/
  bottom:20px;
}

/* Bump up size of carousel content */
.carousel-caption {
    margin: 0 auto;
    top: 20px;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    /*text-align: left;
    text-align: center;*/
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.carousel-caption .btn {
  text-shadow: none;
}
.carousel-caption p {
    margin-top: 30px;
    font-size: 21px;
    line-height: 1.4;
    text-align:left;
}

.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
    top: 20%;
}

#whats_next {
    zoom: 1;
    float: left;
    width: 49.33333333333333%;
    margin-left: 1%;
    margin-right: 1%;
    position:absolute;
    bottom:60px;
}
#whats_next:before,
#whats_next:after {
  content: "";
  display: table;
}
#whats_next:after {
  clear: both;
}
#whats_next h2 {
  background-color: #cfff0a;
  padding: 2px 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 26px;
  font-family: helvetica,arial,calibri, sans-serif;
  color: #000;
}
#whats_next h2 a {
  color: #000;
}
#whats_next .next_item {
  display: block;
  margin-bottom: 8px;
  padding: 12px;
  background-color: #fff;
}
#whats_next .next_item p,
#whats_next .next_item div {
  font-size: 16px;
  font-family: sans-serif;
  text-transform: uppercase;
  color: #000;
  margin: 0 !important;
}
#whats_next .next_item p.header,
#whats_next .next_item span.header {
  font-size:20px;
  font-weight:bold;
}
#whats_next .next_item p.location,
#whats_next .next_item span.location {
  font-size: 20px;
}
#whats_next .next_item a {
  color: #000;
}
#whats_next .next_item .more-link {
  color: #00a0c6;
}
/*#whats_next .vevent{margin-bottom:13px;}*/

/* MARKETING CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


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

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

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width:769px) and (max-width:1023px) {
    /* 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;
    }
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
    .panel-featured-pages .col-md-3 img{
        border-top-left-radius:4px;
        border-bottom-left-radius:4px;
    }
    .panel-featured-pages .col-md-3 img{
        border-top-right-radius:4px;
        border-bottom-right-radius:4px;
    }
}
@media (min-width: 641px) and (max-width: 768px) {
    .carousel {
        height: 432px;
    }
    .carousel .item {
        height: 432px;
    }
      #whats_next {
        bottom:0px;
    }
}

@media (min-width: 481px) and (max-width: 640px) {
    .carousel {
        height: 360px;
        margin-bottom: 20px;
    }
    .carousel .item {
        height: 360px;
        background-color: #777;
    }
    .carousel-inner > .item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: auto;
    }
    .carousel-caption {
        top: 20px;
    }
    #logo #enname { font-size:48px; }
    #logo #lcname { font-size:30px; }
    #logo img { width:60%; }
    #whats_next { display:none; }
}
@media  (min-width: 361px) and (max-width: 480px) {
    .carousel {
        height: 270px;
        margin-bottom: 20px;
    }
    .carousel .item {
        height: 270px;
        background-color: #777;
    }
}

@media (min-width: 0) and (max-width: 360px) {
    .carousel {
        height: 210px;
        margin-bottom: 20px;
    }
    .carousel .item {
        height: 210px;
        background-color: #777;
    }
    .carousel-caption p {
        display: none;
    }
    #logo #enname { font-size:36px; }
    #logo #lcname { font-size:30px; }
}



/* Mobilehead */
/* Displays in  (min-width: 0) and (max-width: 639px), otherwise displays none.
body #mobilehead {
    display: none;
}
@media (min-width: 0) and (max-width: 539px) {
    body #mobilehead {
            display: block;
            height: 50px;
            width: 90%;
            margin: auto;
    }
    body #mobilehead a.start {
              width: 150px;
              background: URL("/res/img/logo_small.png") no-repeat;
              text-indent: -9999px;
              display: block;
              float: left;
              height: 30px;
              margin-top: 13px;
    }

    body #mobilehead a.open {
              height: 30px;
              width: 150px;
              font-family: FontAwesome;
              font-size: 13px;
              position: absolute;
              right: 20px;
              top: 10px;
    }

    body #mobilehead a.open:before {
                position: absolute;
                font-family: FontAwesome;
                font-size: 21px;
                top: 14px;
                right: 15px;
                content: "\f0c9";
                color: #58585a;
    }
    body #mobilehead a.open:before {
                top: 10px;
    }
}
*/