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

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


/* 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: 680px;
  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: 680px;
  background: #000 url(../kyoto/bg-hydrangea-133x80.jpg) left bottom repeat-x;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: auto;
}
.carousel-indicators {
  top: 60px;
}

/* Bump up size of carousel content */
.carousel-caption {
  position: absolute;
  right: 15%;
  top: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: left;
  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: 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;
    }
    .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 (max-width: 767px) {
  .carousel {
    height: 500px;
  }
  .carousel .item {
    height: 500px;
  }
  #whats_next {
    bottom:0px;
  }
}

@media (max-width: 639px) {
  .carousel {
    height: 420px;
    margin-bottom: 20px;
  }
  .carousel .item {
    height: 420px;
    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 (max-width: 479px) {
  .carousel {
    height: 320px;
    margin-bottom: 20px;
  }
  .carousel .item {
    height: 320px;
    background-color: #777;
  }
}

@media (max-width: 359px) {
  .carousel {
    height: 240px;
    margin-bottom: 20px;
  }
  .carousel .item {
    height: 240px;
    background-color: #777;
  }
  #logo #enname { font-size:36px; }
  #logo #lcname { font-size:30px; }
}
