:root{
  --colorPrinci: #222;
  --colorSecu: #333;
  --colorTer: #999;
  --fontTitulo: 'Baloo 2', cursive;
  --width-linea-h3: 60px;
  --margen-linea-h3: -30px;
}
article.galeria #static-thumbnails a{
  display: inline-block;
  margin: 5px;
}

::-webkit-scrollbar-track {
  background-color: #ccc; /*color de la barra de fondo*/
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
::-webkit-scrollbar-track:hover{
  background-color: #FFF;
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
::-webkit-scrollbar-thumb {
  background-color: var(--colorSecu); /*color del manejador*/
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--colorTer); /*color del manejador*/ 
  opacity: .3;
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
::-webkit-scrollbar {
  width: 8px; /*ancho del scroll vertical*/
  height: 8px; /*alto del scroll horizontal*/
  position: fixed;
  left: 50px;
}
*{
  box-sizing: border-box;
}
*:hover{
  box-sizing: border-box;
}
@keyframes animaflecha {
  0% { opacity: 1; }
  60% { opacity: 1; }
  65% { opacity: 0; }
  70% { opacity: 1; }
  75% { opacity: 0; }
  80% { opacity: 1; }
}
#flecha-banner{
  animation-name: animaflecha;
  animation-duration: 10s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}
a{
  text-decoration: none;
  transition: 1s ease;
  -o-transition: 1s ease;
  -webkit-transition: 1s ease;
}
a:hover{
  transition: 1s ease;
  -o-transition: 1s ease;
  -webkit-transition: 1s ease;
}
body{
  background-color: #fff;
  font-family: 'Nunito Sans', sans-serif;
}
header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 20px;
  z-index: 10;
  transition: .2s;
  -o-transition: .2s;
  -webkit-transition: .2s;
  text-align: center;
  overflow: hidden;
}
header::before{
  content: "";
  position: absolute;
  top: -100px;
  left: -20px;
  right: -20px;
  height: 250px;
  background-image: url(../img/fondo-header.png);
  z-index: 999;
  transform: rotate(4deg);
  background-position: center;
  background-size: cover;
}
header #logo{
  position: relative;
  z-index: 9999;
}
header img.logo{
  max-width: 450px;
}
article.banner{
  text-align: center;
  justify-content: center;
  position: relative;
  height: 100vh;
  overflow: hidden;
}
article.banner:after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(0,0,0);
  background: -moz-linear-gradient(0deg, rgba(0,0,0,0.8) 19%, rgba(0,0,0,0.5) 100%);
  background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.8) 19%, rgba(0,0,0,0.5) 100%);
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 19%, rgba(0,0,0,0.5) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
  z-index: 1;
}
article.banner .texto-bv{
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 2;
  justify-content: center;
  flex-direction: column;
  color: #FFF;
}
article.banner .texto-bv h2{
  font-size: 2.8rem;
  font-weight: 900;
  margin: 0;
  margin-bottom: 10px;
  margin-top: 150px;
  text-transform: uppercase;
}
article.banner .flecha{
  position: absolute;
  z-index: 3;
  bottom: 3em;
  color: #FFF;
  text-align: center;
  left: 0;
  right: 0;
}
article.banner .flecha svg{
  cursor: pointer;
  width: 40px;
  opacity: .3;
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
article.banner .flecha svg:hover{
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
  opacity: 8;
}
article.banner .texto-bv h3{
  color: #cccccc;
  font-size: 1.7rem;
  margin: 0;
  margin-bottom: 10px;
  letter-spacing: 4px;
}
article.banner .texto-bv p{
  width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.3em;
}
article.banner video{
  position: absolute;
  right: 0px;
  bottom: 0;
  width: 110%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
article.somos{
  padding: 100px 0px;
}
article.somos h3, article.calidad h3, article.servicios h3{
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 90px;
}
article.somos h3::after, article.calidad h3::after, article.servicios h3::after{
  content: "";
  width: var(--width-linea-h3);
  height: 7px;
  position: absolute;
  left: 50%;
  top: 60px;
  margin-left: var(--margen-linea-h3);
  border-radius: 10px;
  background: rgb(222,222,222);
  background: -moz-linear-gradient(90deg, rgba(222,222,222,1) 0%, rgba(158,158,158,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(222,222,222,1) 0%, rgba(158,158,158,1) 100%);
  background: linear-gradient(90deg, rgba(222,222,222,1) 0%, rgba(158,158,158,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#9e9e9e",GradientType=1);
}
article.somos .contiene-somos{
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 70px;
  width: 80%;
  margin: auto;
}
article.somos .contiene-somos div.imagen-somos{
  height: 390px;
  background-image: url(../img/img-somos.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 45px;
  background-position: center;
}
article.somos .contiene-somos .textos-somos{
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
article.somos .contiene-somos .textos-somos .doble-col{
  display: grid;
  grid-template-columns: 48% 48%;
  gap: 4%;
  margin-top: 40px;
}
article.somos .contiene-somos .textos-somos h4{
  font-weight: bold;
  font-size: 1.3rem;
}
article.somos .contiene-somos .textos-somos h4{
  margin-bottom: 20px;
}
article.calidad{
  background-color: #fafafa;
  padding: 100px 0px;
}
article.calidad .contiene-calidad{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  width: 80%;
  margin: auto;
  gap: 25px;
}
article.calidad .contiene-calidad img{
  width: 150px;
  opacity: .7;
  transition: .3s ease;
  -o-transition: .3s ease;
  -webkit-transition: .3s ease;
}
article.calidad .contiene-calidad .elitem{
  background-color: #FFF;
  padding: 35px 25px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  transition: .3s ease;
  -o-transition: .3s ease;
  -webkit-transition: .3s ease;
}
article.calidad .contiene-calidad .elitem:hover{
  box-shadow: 0px 5px 10px rgba(0, 0, 0, .1);
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
article.calidad .contiene-calidad .elitem:hover img{
  opacity: 1;
  transition: .3s ease;
  -o-transition: .3s ease;
  -webkit-transition: .3s ease;
}
article.calidad .contiene-calidad .elitem h5{
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 15px;
}
article.calidad .contiene-calidad .elitem p{
  margin: 0;
}
article.servicios{
  padding: 100px 0px;
  text-align: center;
}
article.servicios .item{
  display: flex;
  width: 80%;
  margin: auto;
  margin-bottom: 80px;
}
article.servicios .item:last-child{
  margin-bottom: 0;
}
article.servicios .item .texto{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  width: 50%;
}
.imagee{
  width: 300px;
}
.imagee.img-serv-01, .imagee.img-serv-03{
  margin-left: 15%;
}
.imagee.img-serv-02, .imagee.img-serv-04{
  margin-right: 15%;
}
article.servicios .item .texto h2, article.servicios .item .texto p{
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}
article.servicios .item .texto h2{
  font-size: 1.1em;
  font-weight: bolder;
  text-transform: uppercase;
}
article.servicios .item .texto p{
  font-size: 1.1em;
}
article.servicios .item .texto a{
  background: #383838;
  color: #FFF;
  padding: 6px 0px;
  width: 120px;
  text-align: center;
  display: inline-block;
  opacity: .5;
}
article.servicios .item .texto a:hover{
  opacity: 1;
}
article.servicios .item.inverso{
  flex-direction: row-reverse;
}
article.servicios .item.inverso .texto{
  padding-right: inherit;
  text-align: right;
}
article.servicios .item.inverso .texto a{
  margin-left: auto;
}
article.banner-prefooter{
  height: 50vh;
  background-color: #eaeaea;
  background-image: url(../img/banner-prefooter.png);
  background-size: cover;
  display: flex;
  color: #FFF;
  flex-direction: column;
  justify-content: center;
}
article.banner-prefooter .contiene{
  width: 600px;
  margin: auto;
  text-align: center;
}
article.banner-prefooter .contiene h3{
  font-size: 2em;
  font-weight: bolder;
}
article.banner-prefooter .contiene hr{
  width: 30%;
  margin: auto;
  margin-bottom: 15px;
  margin-top: 15px;
}
article.banner-prefooter .contiene p{
  width: 65%;
  margin: auto;
}
article.logos{
  background-color: #000;
  padding: 60px 0px;
  color: #FFF;
}
article.logos .container{
  display: flex;
}
article.logos .container .texto-logos{
  width: 60%;
}
article.logos .container .img-logos{
  width: 40%;
  padding-right: 10%;
}
article.logos .container .img-logos img{
  margin-right: 5px;
}
.contiene-logos{
  width: 70%;
  margin: auto;
  display: grid;
  grid-template-columns: 60% 40%;
}
footer{
  padding-top: 70px;
}
footer a{
  opacity: .7;
}
footer a:hover{
  color: #000;
  opacity: 1;
}
footer .contiene-footer{
  width: 70%;
  margin: auto;
  display: flex;
}
footer .contiene-footer .logo-footer{
  width: 30%;
}
footer .contiene-footer .secciones-footer{
  width: 20%;
}
footer .contiene-footer .servicios-footer{
  width: 20%;
}
footer .contiene-footer .datos-footer{
  width: 30%;
}
.derechos{
  text-align: center;
  padding-top: 50px;
  margin-bottom: 40px;
}
.dp{
  text-align: right;
  padding-right: 5%;
  padding-bottom: 13px;
  font-size: .9em;
}
.dp a{
  font-weight: bold;
  color: #000;
}
footer strong{
  margin-bottom: 50px;
  display: block;
}
footer ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
footer ul li{
  padding-left: 30px;
  margin-bottom: 25px;
}
footer .datos-footer{
  text-align: right;
}
footer .contiene-footer .redes-contacto{
  margin-top: -30px;
  margin-bottom: 40px;
}
footer ul li a{
  color: #000;
  font-size: .9rem;
}
footer .contiene-footer .redes-contacto a:nth-child(2){
  margin-left: 40px;
}
footer .logo-footer p{
  margin-top: 15px;
  color: #999999;
  font-size: .9rem;
}
footer .datos-footer ul li{
  position: relative;
}
footer .datos-footer ul li i{
  position: absolute;
  right: -30px;
  opacity: .4;
  font-size: 1.1rem;
}
.clase-hr{
  opacity: .1;
}
article.servicios{
  overflow: hidden;
}
article.servicios .item, article.servicios .item .imagee.img-serv-02, article.servicios .item.item-03, article.servicios .item.item-04{
  position: relative;
}
article.servicios .item #figura01{
  content: "";
  width: 69px;
  height: 73px;
  background-image: url(../img/forma-01.png);
  background-size: cover;
  position: absolute;
  top: 40px;
  right: -20px;
}
article.servicios .item #figura02{
  content: "";
  width: 48px;
  height: 45px;
  background-image: url(../img/forma-02.png);
  background-size: cover;
  position: absolute;
  top: 70px;
  left: -65px;
}
article.servicios .item #figura03{
  content: "";
  width: 52px;
  height: 50px;
  background-image: url(../img/forma-03.png);
  background-size: cover;
  position: absolute;
  top: 160px;
  left: 390px;
}
article.servicios .item.item-02{
  position: relative;
}
article.servicios .item #figura04{
  content: "";
  background-image: url(../img/forma-04.png);
  width: 204px;
  height: 203px;
  background-size: cover;
  position: absolute;
  top: 70px;
  right: -290px;
}
article.servicios .item #figura05{
  content: "";
  background-image: url(../img/forma-05.png);
  width: 146px;
  height: 154px;
  background-size: cover;
  position: absolute;
  top: 270px;
  left: -300px;
}
article.servicios .item #figura06{
  content: "";
  background-image: url(../img/forma-06.png);
  width: 146px;
  height: 148px;
  background-size: cover;
  position: absolute;
  top: 120px;
  right: 300px;
}
article.servicios .item #figura07{
  content: "";
  background-image: url(../img/forma-07.png);
  width: 41px;
  height: 43px;
  background-size: cover;
  position: absolute;
  top: 270px;
  right: -70px;
}
article.servicios .item #figura08{
  content: "";
  background-image: url(../img/forma-08.png);
  width: 30px;
  height: 30px;
  background-size: cover;
  position: absolute;
  top: 380px;
  left: 170px;
}
article.servicios .item #figura09{
  content: "";
  background-image: url(../img/forma-09.png);
  width: 143px;
  height: 142px;
  background-size: cover;
  position: absolute;
  top: 230px;
  right: -200px;
}
article.servicios{
  padding-bottom: 150px;
}
article.banner-prefooter .contiene a.btn{
  background-color: #FFF !important;
  margin-top: 15px;
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
article.banner-prefooter .contiene a.btn:hover{
  background-color: #333 !important;
  border-color: #000;
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
  color: #FFF;
}
.img-serv-01, .img-serv-03{
  position: relative;
}
.img-serv-01 img, .img-serv-03 img{
  position: absolute;
  width: 101%;
  left: -1px;
  top: -1px;
}
.img-serv-01 video, .img-serv-03 video{
  max-width: 100%;
}
.img-serv-02 img, .img-serv-04 img{
  max-width: 100%;
}
@media (max-width: 1270px) {
  article.banner video {
    position: absolute;
    right: 0px;
    bottom: 0;
    width: 140%;
    top: 55%;
    left: 45%;
    transform: translate(-50%,-50%);
  }
  article.somos .contiene-somos{
    width: 90%;
  }
  article.calidad .contiene-calidad{
    width: 90%;
  }
  article.servicios .item{
    width: 90%;
  }
  footer .contiene-footer{
    width: 90%;
  }
  footer{
    padding-right: 30px;
  }
}
@media (max-width: 1024px) {
  article.frase{
    display: block !important;
  }
  article.inteligentes{
    display: block !important;
    height: auto;
  }
  article.certificacion, article.destacados, footer{
    display: block !important;
  }
  article.inteligentes div:nth-child(1){
    height: 200px;
  }
  article.inteligentes div:nth-child(2){
    height: auto;
    padding: 6em 2em;
  }
  header{
    padding-left: 0px;
    text-align: center;
    padding-top: 0px;
  }
  header #abreMenu{
    right: 20px;
    top: 13px;
  }
  header img.logo {
    max-width: 300px;
  }
  nav#menu.activo{
    left: 0%;
  }
  nav#menu ul{
    width: 100%;
  }
  nav ul li a{
    font-size: 1.1em;
  }
  nav#menu ul li ul li a{
    font-size: .9em;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #cierraMenu {
    top: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: var(--colorSecu);
    left: auto;
    bottom: inherit;
    z-index: 100;
  }
  #main #cierraMenu{
    visibility: hidden;
    opacity: 0;
  }
  #cierraMenu i{
    color: #FFF;
    font-size: 2em;
    display: block;
  }
  article.banner .logos{
    left: 50%;
    margin-left: -145px;
  }
  article.certificacion .banner{
    grid-template-columns: 100%;
  }
  article.certificacion .banner h3{
    margin-left: 0;
    text-align: center;
  }
  article.certificacion .banner{
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    height: 220px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .nosotros article#nosotros{
    padding-top: 50px;
  }
  #fotSc, #fotTc{
    display: none;
  }
  footer{
    text-align: center;
  }
  footer p#derecho{
    padding-left: 50px;
    padding-right: 50px;
  }
  #main.inicio article.banner .logos{
    position: relative;
    left: 0;
    margin-left: 0;
    background: #FFF;
    bottom: 0;
  }
  #main.inicio article.banner .owl-one{
    width: 100%;
  }

  #main.inicio article.frase{
    padding-top: 20px;
    padding-bottom: 70px;
  }
  article.inteligentes div:nth-child(2){
    padding-top: 60px;
    padding-bottom: 60px;
  }
  article.certificacion{
    padding-top: 50px;
  }
  footer p.lead{
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
  }
  #main.producto article.destacados h3{
    margin-top: 40px;
  }
  article.destacados{
    padding-bottom: 60px;
  }
  #main.contacto article.frase{
    padding-left: 15px;
    padding-right: 15px;
  }
  #main.contacto form{
    width: 100%;
  }
  article.banner{
    height: 90vh;
  }
  article.banner video{
    width: 300%;
  }
  article.banner .texto-bv{
    left: 30px;
    right: 30px;
  }
  article.banner .texto-bv p{
    width: 90%;
  }
  article.banner .texto-bv h2{
    font-size: 2.25rem;
  }
  article.banner .texto-bv h3{
    font-size: 1.1rem;
  }
  article.banner .texto-bv p{
    font-size: 1em;
  }
  article.somos, article.calidad, article.servicios{
    display: block !important;
  }
  article.banner .texto-bv h2{
    margin-top: 100px;
  }
  article.somos .contiene-somos{
    grid-template-columns: 100%;
  }
  article.somos .contiene-somos .textos-somos{
    width: 100%;
  }
  article.somos .contiene-somos .textos-somos h4, article.somos .contiene-somos .textos-somos p{
    text-align: center;
  }
  article.somos .contiene-somos .textos-somos .doble-col{
    grid-template-columns: 100%;
  }
  article.calidad .contiene-calidad{
    grid-template-columns: 1fr;
  }
  article.servicios .item, article.servicios .item.inverso, article#clientes{
    flex-direction: column;
  }
  article.servicios .item .texto{
    padding-right: 0;
    text-align: center;
  }
  article.servicios .item.inverso .texto{
    padding-left: 0%;
    text-align: center;
  }
  .img-serv-01, .img-serv-02, .img-serv-03, .img-serv-04{
    margin-top: 50px;
  }
  article.servicios .item #figura01{
    top: 230px;
    right: 10px;
  }
  article.servicios .item .texto a{
    margin: 1em auto;
  }
  article.servicios .item #figura02{
    top: 180px;
    left: 5px;
  }
  .dp{
    text-align: center;
  }
  #main{
    padding-top: 75px;
  }
  body.nohome #main{
    padding-top: 0px !important;
  }
  body.nohome article.somos .contiene-somos{
    grid-template-columns: 100% !important;
  }
  article.banner-prefooter{
    display: flex !important;
  }
  article.banner-prefooter .contiene{
    width: 100%;
  }
  article.servicios .item .texto{
    width: 100%;
  }
  .imagee.img-serv-01, .imagee.img-serv-03{
    margin-left: auto;
    margin-right: auto;
  }
  .imagee{
    width: 90%;
  }
  .imagee.img-serv-02, .imagee.img-serv-04{
    margin-left: auto;
    margin-right: auto;
  }
  footer .contiene-footer{
    display: grid;
    grid-template-columns: 100%;
  }
  footer .contiene-footer .logo-footer, footer .contiene-footer .secciones-footer, footer .contiene-footer .servicios-footer, footer .contiene-footer .datos-footer{
    width: 100%;
  }
  footer ul li{
    padding-left: 0px;
  }
  footer strong{
    margin-bottom: 20px;
  }
  footer .contiene-footer .redes-contacto{
    margin-top: 0;
  }
  footer .datos-footer{
    text-align: center;
  }
  footer .datos-footer ul li i{
    left: 10px;
    right: inherit;
  }
  .derechos{
    padding-left: 20px;
    padding-right: 20px;
  }
  footer{
    padding-right: 0;
    padding-top: 40px;
  }
  .secciones-footer, .servicios-footer, .datos-footer{
    margin-top: 20px !important;
  }
  footer .logo-footer p{
    margin-left: 30px;
    margin-right: 30px;
  }
  article.servicios .item .texto{
    order: 1;
  }
  article.servicios .item .texto{
    order: 2;
  }
  .img-serv-01, .img-serv-02, .img-serv-03, .img-serv-04{
    margin-top: 0px;
    margin-bottom: 50px;
  }
  article.servicios .item{
    margin-bottom: 150px;
  }
  article.servicios .item .texto::after{
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    height: 1px;
    background-color: rgba(0, 0, 0, .2);
    bottom: -70px;
  }
  article.banner-prefooter .contiene p{
    width: 79%;
  }
  body.nohome article.form .contiene-form form{
    width: 100% !important;
  }
  body.nohome article.form p{
    width: 80% !important;
  }
  nav#menu ul li ul li a{
    font-size: 1em !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
  nav ul li a svg{
    top: 15px !important;
  }
  article.servicios .item #figura08{
    top: 280px;
    left: 235px;
  }
  article.galeria #static-thumbnails a img{
    max-width: 100% !important;
  }
}

#serviciouno article.banner:after, #contacto article.banner:after{
  display: none;
}

nav#menu ul li ul li a.activo{
  color: #999 !important;
}
.banner-instalacion{
  background-image: url(../img/fondo-servicio-montaje.gif) !important;
}
.banner-soldadura{
  background-image: url(../img/fondo-soldadura-tecnologia.gif) !important;
}
.banner-corte-plegado{
  background-image: url(../img/fondo-corte-plegado.gif) !important;
}
.banner-torneria{
  background-image: url(../img/fondo-torneria.gif) !important;
}

article.galeria{
  text-align: center;
}
article.galeria h3{
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 50px;
}
body#serviciouno article.galeria #static-thumbnails{
  justify-content: center;
}
