/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
  padding-bottom: 40px;
  color: #5a5a5a;
  margin-top: 50px; /* Required margin for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}
h1{
    margin-bottom: 1em;
}
.img-circle {
  /*posar ombra a les imatges*/
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  display: inline-block;
  /*max-width: 100%;
  height: auto;*/
}
/*.subcategories-container{
    margin:0;
    padding:0;
}
.subcategories-container .row{
    margin:0;
    padding:0;
}*/
.subcategories-container .subcategories-item  {
    padding:1em;
    margin:0;
    height:auto;
    /*border:1px solid blue;*/  
}
.subcategories-container .subcategories-item .subcategories-caption{
    position:relative;
    background: #eeeeee;
    /*background: rgba(239, 118, 34, 0.6);*/
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    padding:1em;
    margin:auto;        
}
/* 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{
    border-radius: 0px !important;
}
.navbar-brand{
      padding:0.4em;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
#novedades .controlsBlock {
    position: relative;
    bottom: 0;
    left: 0;
    top: 10px;
    display: block;
    width: 177px;
    margin: 0 auto;
    z-index: 1;
    height: 24px;
    text-align: center;
    /*border: 1px solid red;*/
}
#novedades .controls {
    position: relative;
    display: block;
}
#novedades .carousel-control{
    position: absolute;
    top: 25.5px;
    bottom: 0;
    background: #444;
    font-size: 5px;
    background: none !important;
    color: #444 !important;
    text-align: center;
}
#novedades .carousel-control i {
    font-size: 20px;
}
#novedades .carousel-control.left {
    left: 0;
}
#novedades .carousel-control.right {
    right: 0;  	
}
#novedades .carousel-control:hover,
#novedades .carousel-control:focus {
    color: #444;
}
#novedades .carousel-control .glyphicon-chevron-left,
#novedades .carousel-control .glyphicon-chevron-right {
    position: absolute;
    z-index: 5;
    display: inline-block;
    font-size: 15px;
}
#novedades .carousel-control .glyphicon-chevron-left {
    left: 0;
}
#novedades .carousel-control .glyphicon-chevron-right {
    right: 0;
}
#novedades .carousel-indicators {
    position: relative;
    bottom: 0;
    left: 50%;
    z-index: 15;
    width: 60%;
    top: 10px;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
}
#novedades .carousel-indicators li {
    display: inline-block;
    zoom: 1;
    width: 10px;
    height: 10px;
    margin: 0 2px;
    background: transparent;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 3px solid transparent;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0 0 2px;
    -moz-box-shadow: rgba(0,0,0,0.5) 0 0 2px;
    box-shadow: rgba(0,0,0,0.5) 0 0 2px;
    cursor: pointer;
}
#novedades .carousel-indicators .active {
    width: 10px;
    height: 10px;
    margin: 0;
    background-color: #444;
}
#novedades .container {
    position: relative;
    background-color:#eee;
    top:0;
    left:0;
    z-index: 10;    
    width: 100%;    
}
#novedades .container .btn {
    text-shadow: none;
}
/* MARKETING CONTENT
------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-3 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-3 p {
  margin-right: 10px;
  margin-left: 10px;
}
/* Featurettes
------------------------- */
.featurette-divider {
  margin: 3em 0; /* Space out the Bootstrap <hr> more */
  border-color:#84B4C9;
}
/* Thin out the marketing headings */
/*.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}*/

.header-image {
    display: block;
    width: 100%;
    text-align: center;
    background: url('../images/IMG_3097_1920px.jpg') no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    padding: 270px 0;    	
}

.headline {
    padding: 120px 0;
}

/* CUSTOMIZE JUMBOTRON
-------------------------------------------------- */
.jumbotron{
    width:100%;
}
.jumbotron h1{
    margin-bottom: 0.5em;
}
.jumbotron blockquote{
    border-left:5px solid gray;
}
#jumb_empresa{
    height: auto;
    display:block;
    width:100%;
    background: url("../images/empresa.png") no-repeat center center scroll, #fff;
    background-size: cover;
    /*overflow-y: hidden;*/
    
}
#jumb_soplado{
    height: 350px;
    min-height: auto;
    overflow-y: hidden;
    background: url("../images/IMG_3161_1920px.jpg"), #fff;
}

.vidrios .col-lg-4 img{
    width: 300px; 
    height: 300px;
}

.vidrios .col-lg-4 {
    margin-bottom:4em;
}

.medioambiental i{
    margin:1em;    
}

/* 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;
  }
  
/*  .subcategories-container .subcategories-item .carousel-caption{
    position:absolute;
    opacity: 0;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    margin:0;
    top:0;
    left:0;
    border:15px solid white;
    }
    */
    .subcategories-container .subcategories-caption:hover {
        background: rgba(239, 118, 34, 0.6);
        /*opacity: 1;*/
    } 
    #navbar .languages{
        margin-left:2em;    
    }  
    #ambilab .alert{
        margin-top:2em;
    }
    
    /******carousel*******/
    #novedades .carousel-control .glyphicon-chevron-left,
    #novedades .carousel-control .glyphicon-chevron-right,
    #novedades .carousel-control .icon-prev,
    #novedades .carousel-control .icon-next {
        font-size: 15px;
    }
    #novedades .container {
        position:relative;
        padding:0.5em 1.5em;
    }
    #novedades .carousel-indicators {
        bottom: 0;
    }
    #novedades .container h2{
        margin:1em 0 0.5em 0em;           
    }
    #jumb_empresa{
    height: 350px;
    min-height: auto;
    overflow-y: hidden;
}
}

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