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

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 20px;
  margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
}
.navbar-wrapper .navbar {

}

/* Remove border and change up box shadow for more contrast */
.navbar .navbar-inner {
  border: 0;
  -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
     -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25);
          box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Downsize the brand/project name a bit */
.navbar .brand {
  padding: 14px 20px 16px; /* Increase vertical padding to match navbar links */
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}

/* Navbar links: increase padding for taller navbar */
.navbar .nav > li > a {
  padding: 15px 20px;
}

/* Offset the responsive button for proper vertical alignment */
.navbar .btn-navbar {
  margin-top: 10px;
}

.back_trasp {
background:url('/img/back_transp.png');
}

.social-logos {
  background:url('/img/social-logos-med.png');
  background-repeat: no-repeat;
  display: inline-block;
  width: 62px;
  height: 62px;
}

.logo-fb {
  background-position: 0 0;
}

a:hover.logo-fb  {
  background-position: 0 -256px;
}

.logo-twitter {
  background-position: -64px 0;
}

a:hover.logo-twitter  {
  background-position: -64px -256px;
}

.logo-gplus {
  background-position: -193px -194px;
}

a:hover.logo-gplus {
  background-position: -193px -450px;
}

.logo-pinterest {
  background-position: -193px -64px;
}

a:hover.logo-pinterest {
  background-position: -193px -320px;
}

.logo-youtube {
  background-position: 0 -129px;
}

a:hover.logo-youtube {
  background-position: 0 -385px;
}

.logo-rss {
  background-position: -128px 0;
}

a:hover.logo-rss {
  background-position: -128px -256px;
}

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

/* Carousel base class */
.carousel {
  margin-bottom: 30px;
}

.carousel .container {
  z-index: 9;
}

.carousel-control {
  height: 50px;
  margin-top: 0px;
  font-size: 120px;
  text-shadow: 0 1px 1px rgba(0,0,0,.4);
  #background-color: transparent;
  border: 0;
  z-index: 10;
}
.carousel-control.right {
  right: 15px;
}
.carousel-control.left {
  left: 15px;
}    
.carousel .item {
  height: 500px;
}
.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}

.carousel-caption {
  padding: 0px;
  margin-top: 0px;
  color: #999;
  background:url('/img/back_transp.png');
  padding-bottom:20px;
 }
.carousel-caption .lead {
  font-size: 150%;
  line-height: 1.25;
  color: #000;
}
.carousel-caption h1 {
  color: #000;
}
.carousel-caption h2 {
  font-weight:normal;
  color: #999;
}
.carousel-caption div {
font-size:120%;
}

.carousel-caption .step {
  height:180px;
  margin:0;
  #padding:10px;
}
.carousel-caption .btn {
  margin-top: 10px;
}
.carousel-background {
  width:100%;
  height: 100%;
  background-position: center center;
}

.carousel-slide-1 {
  background-image:url('/img/slider/slide1_l.jpg');
}
.carousel-slide-2 {
  background-image:url('/img/slider/slide2_l.jpg');
}
.carousel-slide-3 {
  background-image:url('/img/slider/slide3_l.jpg');
}

@media (max-width: 767px) {
.carousel-slide-1 {
  background-image:url('/img/slider/slide1.jpg');
}
.carousel-slide-2 {
  background-image:url('/img/slider/slide2.jpg');
}
.carousel-slide-3 {
  background-image:url('/img/slider/slide3.jpg');
}
}

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

.marketing .tile {
  height: 300px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

.marketing .user {
  width: 64px;
  float: left;
}

/* Center align the text within the three columns below the carousel */
.marketing .span3,
.marketing .span4,
.marketing .span6 {
  text-align: center;
}
.marketing-heading {
  font-size:24px;
}
.marketing-heading a {
  color:#000;
}
.marketing .span4 p {
  margin-left: 10px;
  margin-right: 10px;
}


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

.featurette-divider {
  margin: 40px 0; /* Space out the Bootstrap <hr> more */
}
.featurette {
  padding-top: 80px; /* Vertically center images part 1: add padding above and below text. */
  overflow: hidden; /* Vertically center images part 2: clear their floats. */
}
.featurette-image {
  margin-top: -80px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */
}

/* Give some space on the sides of the floated elements so text doesn't run right into it. */
.featurette-image.pull-left {
  margin-right: 40px;
}
.featurette-image.pull-right {
  margin-left: 40px;
}

/* Thin out the marketing headings */
.featurette-heading {
  margin-top: -40px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

/* Thin out the marketing sub-headings */
.featurette-sub-heading {
  font-size: 36px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -1px;
  color:#999;
}


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

@media (max-width: 979px) {

  .container.navbar-wrapper {
    margin-bottom: 0;
    width: auto;
  }
  .navbar-inner {
    border-radius: 0;
    margin: -20px 0;
  }

  .carousel .item {
    height: 370px;
  }
  .carousel img {
    width: auto;
    height: 500px;
  }

  .featurette {
    height: auto;
    padding: 0;
  }
  .featurette-image.pull-left,
  .featurette-image.pull-right {
    display: block;
    float: none;
    max-width: 40%;
    margin: 0 auto 20px;
  }
.marketing-heading {
    font-size:18px;
  }
}


@media (max-width: 767px) {

  .navbar-inner {
    margin: -20px;
  }

  .carousel {
    margin-left: -20px;
    margin-right: -20px;
  }
  .carousel .container {

  }
  .carousel .item {
    height: 270px;
  }
  .carousel img {
    height: 270px;
  }
  .carousel-caption {
    position: absolute;
    padding: 10px 10px;
  }
  .carousel-caption h1 {
    font-size: 24px;
  }
  .carousel-caption h2 {
    font-size: 20px;
  }
  .carousel-caption .lead,
  .carousel-caption .btn {
    font-size: 18px;
  }

  .marketing .span4 + .span4 {
    margin-top: 40px;
  }

  .marketing-heading {
    font-size:18px;
  }

  .featurette-heading {
    font-size: 30px;
  }
  .featurette .lead {
    font-size: 18px;
    line-height: 1.5;
  }
  
  .featurette-sub-heading {
    font-size: 24px;
    font-weight: 150;
  }
  .marketing .tile-user {
    height: auto;
  }  
  .carousel-control {
    top:60px;
  }
  .marketing-heading {
    font-size:24px;
  }
}
