#index .bk{
  background-color: rgba(0, 0, 0, 0);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 3px;
  border:1px solid #ccc;
}

#index .xiufoto{
  height: 650px;
  background-image: url(../imatges/index/test1.jpg) ;
}
#index .pat{
  background-image: url(../imatges/index/7.jpg) ;
}
#index .pat1{
  background-image: url(../imatges/index/1.jpg) ;
}
#index .pat2{
  background-image: url(../imatges/index/2.jpg) ;
}
#index .pat3{
  background-image: url(../imatges/index/3.jpg) ;
}
#index .pat4{
  background-image: url(../imatges/index/4.jpg) ;
}
#index .pat5{
  background-image: url(../imatges/index/5.jpg) ;
}
#index .pat6{
  background-image: url(../imatges/index/6.jpg) ;
}

body#index{    
  position: absolute;
  width: 100%;
  height: 100%;
}
#index .h700px{height: 700px;}
#index .h100{height: 100%;}

.posabs{position: absolute;}


.left0{left: 0%;}
.left1{left: 1%;}
.left34{left: 34%;}
.left49{left: 49%;}
.left67{left: 67%;}

.right0{right: 0%;}
.right1{right: 1%;}

.h100{height: 100%;} 
.h49{height: 49%;}
.h32{height: 32%;}
.h33{height: 33%;}
.h99{height: 99%;}
.h300{height: 300px;}

.w48_5{width: 48.5%}
.w49{width: 49%;}
.w99{width: 99%;}

.pl0{padding-left: 0px;}
.pr0{padding-right: 0px;}
.prl7{padding: 0px 7px;}
.pr7{padding-right: 7px;}
.pl7{padding-left: 7px;}

.top0{top: 0%;}
.bottom0{bottom: 1%;}
.bottom33{bottom: 33%;}
.bottom34{bottom: 34%;}
.bottom34_5{bottom: 34.5%;}

#index .w100{width: 100%;}
#index .w32{width: 32%;}

#index .topt {
    height: 85%;
    width: 100%;
    position: relative;
}


.middle {
    transition: .5s ease;
    position: absolute;
    top: 0%;
    left: 0%;
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    text-align: center;
    color: white;
    border-radius:  3px;
}

.middle:hover{
  opacity: 1;
}

.middle h3{
  text-align: center;
  position: absolute;
  bottom: 0%;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  width: 100%;
}

.textimg {
    z-index: 10;
    height: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    cursor: pointer;
    border-radius: 0 0 3px 3px;
}

.textimg h3{
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  line-height: 24px;
  color: white;
  position: absolute;
  font-size: 19px;
  margin: 0px 8px;
  top: 15%;
  width: 95%;
}


#index .patents div img{
  width: 100%;
}

.mb30{
  margin-bottom: 30px;
}

#index .container.history{
  margin-top: 30px;
  margin-bottom: 30px;
}

/*IPAD*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .header-logo a, .header-logo .img-default{
      max-height: 50px;
  }
}

/*IPAD Landscape*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
  .textimg h3{
    top: 0%;
    margin: 0px;
    font-size: 15px;
    margin-top: 10px;
  }
  .middle h3{
    font-size: 16px;
  }
}
/*IPAD Portrait*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .textimg h3{
    font-size: 16px;
  }

  .top0{top: 1%;}
  .bottom34_5 {bottom: 34%;}
  .bottom0 {bottom: 1%;}

}


/*IPHONE*/
@media only screen and (max-width: 667px){
  .textimg h3{
    line-height: 15px;
    font-size: 11px;
    margin: 0px;
    margin-left: 3px;
  }
  .middle h3{
    font-size: 12px;
  }

  .top0{top: 1%;}
  .bottom34_5 {bottom: 34%;}
  .bottom0 {bottom: 1%;}

}
/*Iphone Portrait */
@media only screen and (min-width: 375px) and (max-width: 667px) and (orientation: portrait) {

}
/*Iphone Landscape */
@media only screen and (min-width: 375px) and (max-width: 667px) and (orientation: landscape) {
}