/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
html, body{height: 100%;}
body {
  padding-bottom: 40px;
  color: #5a5a5a;
}

.float_right{float: right;}

.margin_top{margin-top: 50px;}

.margin_bottom{margin-bottom: 50px;}

.remove_max{max-width: none;max-height: none;width: 60%;margin: 10px auto;}

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

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  /*position: absolute;*/
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
  padding-left: 0;
  padding-right: 0;
}
.navbar-wrapper .navbar {
  padding-left: 15px;
  padding-right: 15px;
  opacity: 0.8;
}


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

/* Carousel base class */
.carousel {
  height: 350px;
  margin-bottom: 60px;
}
/* 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: 350px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
/*  min-width: 100%;*/
  min-height: 100%;
  margin-left: -30%;
min-width: 160%;
}




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

/* Pad the edges of the mobile views a bit */
.marketing {
  padding-left: 15px;
  padding-right: 15px;
}

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


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

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

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

.featurette-heading.small {
  margin-top: 40px;
}




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

@media (min-width: 768px) {

  /* Remove the edge padding needed for mobile */
  .marketing {
    padding-left: 0;
    padding-right: 0;
  }

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 15px;
  }
  .navbar-wrapper .container {
    padding-left:  15px;
    padding-right: 15px;
  }
  .navbar-wrapper .navbar {
    padding-left:  0;
    padding-right: 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;
  }

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

/*  Customizing the carousel*/
.carousel {
  height: 500px;
  margin-bottom: 60px;
}

.carousel .item {
  height: 500px;
  background-color: #777;
}

a.navbar-brand img{top: -7px !important; width: 200px !important;z-index: 1002;}


/*image gallery*/

.container.gallery .row img, .container.strip .row img{width: 23%;border: 1px solid #cecece;margin-left: 0;max-width:none;margin: 0 2.1% 2% 0;display: inherit;}

.container.gallery .row img.last, .container.strip .row img.last{margin-right: 0;}

.container.fill{height: 500px !important;margin-bottom: 50px;}

.col-md-7{text-align: left !important;}

.col-md-7 ul{font-size: 18px;}

.lead ul{font-size: 18px !important; margin-top: 10px;}

.navbar-nav .dropdown-menu > li > a.active {
  color: #262626 !important;
  text-decoration: none !important;
  background-color: #f5f5f5 !important ;
}

}

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


  .carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
/*  min-height: 100%;*/
  margin-left: 0;
}

}



/*NAVBAR BRANDING CUSTOMIZING*/
a.navbar-brand{width: 235px; position: relative;z-index: 1002;}


a.navbar-brand img{position: absolute;top: 7px;width: 65%}


/*PAGE HEADER*/

/*h1{padding-left: 5px}*/

.page-header {margin: 100px 0 20px;padding-bottom: 20px !important;}

.gallery .row img, .strip .row img{width: 85%;margin-left: 7%;margin-bottom: 6%;border: 1px solid #cecece;}

.navbar-collapse { max-height: 450px;}

.container.marketing .col-lg-4 img{width: 45%;max-width: 250px;}

.col-md-7{text-align: center;}

.col-md-7 ul{text-align: left;}

/*.lead{margin-bottom: 50px;}*/

html,body{height:100%;}
.carousel,.item,.active{height:100%;}
.carousel-inner{height:100%;}
.fill{width:100%;height:100%;background-position:center;background-size:cover;}

/* faster sliding speed */
.carousel-inner > .item {
    -webkit-transition: 0.3s ease-in-out left;
    -moz-transition: 0.3s ease-in-out left;
    -o-transition: 0.3s ease-in-out left;
    transition: 0.3s ease-in-out left;
}

/* keep full widget on smaller screens */
@media (max-width: 767px) { 
  body {
    padding-left: 0;
    padding-right: 0;
  }
}


.container.fill{height: 350px;margin-bottom: 50px; padding-right: 0px !important; padding-left: 0px !important;}

.lead ul{font-size: inherit;margin-top: 10px;}


/*images in gallery*/

.gallery .row, .container.strip .row{margin-left: 0px; margin-right: 0px;}

.gallery .row img, .strip .row img{max-width: 500px;margin: 35px auto;display: block; }

.span16{margin-bottom: 25px;}

  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a.active {
    color: #ffffff;
    background-color: transparent;
    cursor: default;
  }