 body {
        padding-top: 20px;
        padding-bottom: 0px;
        color: #5a5a5a;
      }
        
	#hover-cap-4col .thumbnail {
        position:relative;
        overflow:hidden;	
    }
    .caption {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0,0,0,0.4);
        width: 100%;
        height: 100%;
        color:#fff !important;
    }
    .caption p {
        padding: 6px;
    }

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


        
	
    /* 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: 0px;
      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;
    }



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

    /* Carousel base class */
    .carousel {
      margin-bottom: 20px; 
      margin-top: 40px;
    }

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

    .carousel-control {
      height: 80px;
      margin-top: 0;
      font-size: 120px;
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
      background-color: transparent;
      border: 0;
      z-index: 10;
    }

    .carousel .item {
      height: 300px;
    }

    .carousel img {
      position: absolute;
      top: 0;
      left: 0;
      min-width: 100%;
      height: 300px;
    }

    .carousel-caption {
      background-color: transparent;
      position: static;
      max-width: 800px;
      padding: 0 20px;
      margin-top: 190px;
    }
        
    .carousel-caption h1,
    .carousel-caption .lead {
      margin: 0;
      line-height: 1.25;
      color: #fff;
      text-shadow: 0px 1px 3px rgb(0, 0, 0);
        
    }
        
    .carousel-caption h1{
        font-size: 30px;
    }
        
    .carousel-caption .lead{
        font-size: 20px;
    }
           
    .carousel-caption .btn {
      margin-top: 7px;
    }

   /* slide inicial */
    .slideshow {
      margin-bottom: 0px; 
      margin-top: 0px;
    margin-left: 10px;
    margin-right: auto;
    }

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

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


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

    .featurette-divider {
      margin: 80px 0; /* Space out the Bootstrap <hr> more */
    }
    .featurette {
      padding-top: 120px; /* 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: -120px; /* 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 {
      font-size: 50px;
      font-weight: 300;
      line-height: 1;
      letter-spacing: -1px;
    }


/* por defeito*/
.logo {
  position: absolute;
  z-index: 1;
  left:125px;
  top: 10px;
  /*height: 120px;
  width: 144px;*/
}

.navbar .nav {
      position: relative;
      left: 100px;
      display: block;
      float: left;
      margin: 0 10px 0 0;
    }
    

/* reposiciona o meu quando existe scrool %*/
#leftSidebar.affix {
    position: fixed; 
    top: 150px; 
    z-index:1;
    width:22%;
	max-width:270px;
}
/* RESPONSIVE CSS
    -------------------------------------------------- */



/* 1440px */
@media (max-width: 1440px) {
  .navbar .nav {
      position: relative;
      left: 110px;
      display: block;
      float: left;
      margin: 0 10px 0 0;
    }
    
    .logo {
      position: absolute;
      z-index: 1;
      left: 125px;
      top: 10px;
    }
    #leftSidebar.affix {
        width:20%;
    }
}


/* 1366 */
@media (max-width: 1366px) {
  .navbar .nav {
      position: relative;
      left: 100px;
      display: block;
      float: left;
      margin: 0 10px 0 0;
    }
    
    .logo {
       position: absolute;
      z-index: 1;
      left: 50px;
      top: 10px;
    }
    
}

/* 1280 */
@media (max-width: 1280px) {
  .navbar .nav {
      position: relative;
      left: 150px;
      display: block;
      float: left;
      margin: 0 10px 0 0;
    }
    
    .logo {
      position: absolute;
      z-index: 1;
      left: 50px;
      top: 10px;
    }
    
}
    

/* 1024px */
@media (max-width: 1024px) {
  .navbar .nav {
      position: relative;
      left: 100px;
      display: block;
      float: left;
      margin: 0 10px 0 0;
    }
    
    .logo {
      position: absolute;
      z-index: 1;
      left: 0px;
      top: 10px;
    }
    
}





 @media (max-width: 767px) {

    .navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
        margin-left: 0;
        margin-right: 0;
    }
    
      .navbar-inner {
        margin: -20px;
      }

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

      }
      .carousel .item {
        height: 300px;
      }
      .carousel img {
        height: 300px;
      }
      .carousel-caption {
        width: 65%;
        padding: 0 70px;
        margin-top: 100px;
      }
      .carousel-caption h1 {
        font-size: 30px;
      }
      .carousel-caption .lead,
      .carousel-caption .btn {
        font-size: 18px;
      }

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

      .featurette-heading {
        font-size: 30px;
      }
      .featurette .lead {
        font-size: 18px;
        line-height: 1.5;
      }

    }

@media (max-width: 979px) {

      .container.navbar-wrapper {
        margin-bottom: 0;
        width: auto;
      }
      .navbar-inner {
        border-radius: 0;
        margin: -20px 0;
      }
        .carousel {
      /*margin-bottom: 20px; */
      margin-top: 20px;
    }
      .carousel .item {
        height: 300px;
      }
      .carousel img {
        width: auto;
        height: 300px;
      }

      .featurette {
        height: auto;
        padding: 0;
      }
      .featurette-image.pull-left,
      .featurette-image.pull-right {
        display: block;
        float: none;
        max-width: 40%;
        margin: 0 auto 20px;
      }
    
        .navbar .nav {
          position: relative;
          left: 180px;
          display: block;
          float: left;
          margin: 0 10px 0 0;
        }
   
    }

@media (max-width: 320px) {
  .navbar .nav {
      position: relative;
      left: 90px;
      display: block;
      float: left;
      margin: 0 10px 0 0;
    }
    
    .logo {
      position: absolute;
      z-index: 1;
      left: 0px;
      top: 10px;
    }
    
}
    


   
      
        
        
    /* FOOTER */
        footer {
            color: #fff;
            background: #8B0000;
            /*padding: 17px 0 18px 0;*/
            border-top: 1px solid #8B0000;    
        }
        footer a {
            color: #999;
        }
        footer a:hover {
            color: #fff;
    text-decoration:none; /* efefef*/
            background-color:#000;
        }
        .wrapper {
            min-height: 100%;
            height: auto !important;
            height: 100%;
            margin: 0 auto -63px;
        }
        .push {
            height: 63px;
        }
        /* not required for sticky footer; just pushes hero down a bit */
        .wrapper > .container {
            padding-top: 60px;
        }
 
        /* responsive footer fix by Aalaap Ghag */
        @media (max-width: 767px) {
            body {
                padding-right: 0px;
                padding-left: 0px;
            }
    
            footer, .wrapper {
                padding-left: 20px;
                padding-right: 20px;
            }
        }
 
        
        /* end responsive footer fix */
        /* FOOTER */


/*social*/
    ul.social li {
        float: left;
        list-style: none;
        margin-right: 2px;
    }
    .social_f {
        float: left;
        margin-right: 3px;
        height: 48px;
        width: 48px;
        background: url('../img/social/facebook.png');
    }
    .social_f:hover {
        background: url('../img/social/facebookcor.png');
    }
    
    .social_g {
        float: left;
        margin-right: 3px;
        height: 32px;
        width: 32px;
        background: url('../img/social/google.png');
    }
    .social_t {
        float: left;
        margin-right: 3px;
        height: 48px;
        width: 48px;
        background: url('../img/social/twitter.png');
    }
    .social_t:hover {
        background: url('../img/social/twittercor.png');
    }
    .social_y {
        float: left;
        margin-right: 3px;
        height: 32px;
        width: 32px;
        background: url('../img/social/youtube.png');
    }
    /*.social:hover {
       opacity: 0.75;
    }*/
    /* fim social*/  



/* cor menu */
.navbar-inverse .navbar-inner {
  /*background-color: #1b1b1b;
  background-image: -moz-linear-gradient(top, #8B0000, #8B0000);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8B0000), to(#8B0000));
  background-image: -webkit-linear-gradient(top, #8B0000, #8B0000);
  background-image: -o-linear-gradient(top, #8B0000, #8B0000);
  /*background-image: linear-gradient(to bottom, #8B0000, #8B0000);*/
    background-image:none;
    background-color:#8B0000;
  background-repeat: repeat-x;
    filter: none;
    /*height: 45px;*/
  /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);
  border-color: #252525;*/
}


.navbar .nav .active > a,
.navbar .nav > li > a:hover {
    background-color:#000;
  text-decoration: none;
    
}

.navbar .nav > li > a{
    height:20px;
}

.bs-docs-sidenav .icon-chevron-right {
    float: right;
    margin-top: 5px;
    margin-right: -6px;
    opacity: .25;
}



/* menu vertical fixo*/
.nav-list > .active > a, .nav-list > .active > a:hover {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    background-color: #999;
}

.nav > li > a {
    display: block;
    color: #333333;
}

/* corrige problema do lightbox */
.lb-image{
    max-width: inherit;
}


.gallery .caption { margin: 5px 0 15px; padding: 0 15px; }
.gallery [class^="col-"] { padding: 0; }

@media (min-width: 768px) {
.gallery .row { margin: 0; }
.gallery .caption { display: none; }
}

/* cor de fundo da linha impar de tabela */

.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
  background-color: #e3e3e3;
}

/* cor de fundo do botao no slideshow*/

.btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  /*background-color: #2e7bcc;*/
    background-color: #000;
 
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff;
    background-color: #7b0101;   
}


ul, ol {
padding: 0;
margin: 0px;
}

.avanco {
    padding: 0;
    margin: 0 0 12.5px 25px;
}

.campanha{
   
    color: #ffffff;
    font-size:30px;
    font-weight:bold;
    text-shadow:2px 2px #000000;
}

.welladvanced{

  min-height: 20px;
  padding: 5px;
  margin-bottom: 20px;
  background-color: #2e8bcc;
  border: 1px solid #2e8bcc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);

}
