*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
:focus{
    outline: none;
}
a {
	text-decoration: none;
}
body{
    font-family: 'Open Sans', sans-serif;
}

@font-face {
    font-family:'theboldfont';
    src: url("/fonts/theboldfont.ttf");
}

header{
    transition: all .5s ease;
    width:100%;
    z-index:9999;
    position: fixed;
    top:0;
    
    
}
.headerbg{
    transition: all .5s ease;
    background: rgba(0, 0, 0, 0.9);
}
.cajamenu{
    width:100%;
    margin: auto;
    max-width: 1400px;
    
}
nav{
    height:70px;
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cajalogo{
    display:inline-block;
    margin-top: 0.6em;
    margin-left: 10%;
    width:200px;
    height:auto;
}
.cajalogo img{
    max-width:100%;
    object-fit: contain;
}

nav #icon{
    color:white;
    font-size: 40px;
    float:right;
    margin-right: 40px;
    display: none;
}


.cajaicono{
    width: 40px;
    height:40px;
    float:right;
    margin-right: 40px;
    display: none;
    margin-top:1em;
    
}
.try{
    
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;

}
.hamburguesa{
    height: 15%;
    width: 100%;
    
    
}
.hamburguesa:after, .hamburguesa:before, .hamburguesa{
    position:absolute;
    width: 100%;
    content:'';
    background-color: #fff;
    transition: .5s;

}
.hamburguesa:after{
    height:100%;
    top:10px;
    
}
.hamburguesa:before{
    height:100%;
    top:-10px;
    
}
.cruz{
    transition: .5s;
    transform: rotateZ(45deg);
}
.cruz:before{
    transition: .5s;
    top:0px;
    transform:rotateZ(90deg)
}
.cruz:after{
    transition: .5s;
    top:0px;
    transform:rotateZ(0deg)
}
nav .ulmenu{
    float: right;
    margin-right: 5%;
    
}
nav .ulmenu .limenu{
    display: inline-block;
    margin-top: 30px;
    margin-right: 8px;
    margin-left: 8px;
    
}
nav .ulmenu ul{
    display:none;
}
nav .ulmenu .limenu:hover ul{
    display:block;
    position:absolute;
    margin-top: 20px;
 
}
nav .ulmenu .limenu ul a{
    display:block;
    padding: 15px 20px;
    color:#fff;
    text-decoration: none;
    background: #222222;
}
.down{
    display:none;
    color:#148e17;
    text-decoration: none;
    font-size:25px;   
}

nav .ulmenu .limenu ul a:hover{
    background:#148e17;
}
.limenu .amenu{
    color:#fff;
    font-size: 1em;
    padding: 25px 10px;
    
}
.amenu.active,.amenu:hover{
    background: #148e17;
    transition:  .5s, ease-in-out;
}

.bx-red{
    display:none;
}
/*
<label id="icon">
                    <i class="fas fa-bars"></i>
                </label>
                */

@media (max-width:1069px){
    nav #icon{
        display:block;
     }
     header{
        background: rgba(0, 0, 0, 0.9);
     }
     nav .ulmenu{
         position:fixed;
         width: 100%;
         height: 100vh;
         top:70px;
         left:-100%;
         text-align: center;
         transition: all .5s;
          /* fallback for old browsers */
          background: -webkit-linear-gradient(to right, #3fea50, #45f48e);
          /* Chrome 10-25, Safari 5.1-6 */
          background: linear-gradient(to right, #3fea50, #45f48e);
          /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
         
     }
     .ulmenu .limenu{
         display: flex;
         flex-direction: column;
         line-height: 0px;
         width:100%;
         margin:auto!important;
         border-style: solid;
        border-width: 0 0 1px ;
        border-color: #fff;

     }
     .limenu .amenu{
         display: block;
         padding: 1.5em 0;
         text-align: left;
         padding-left: 30px;
     }
     nav .ulmenu.show{
         left:0%;

     }
     .cajalogo{
         width:180px;
     }
     .cajaicono{
         display: flex;
         flex-direction: row;
         align-items: center;
         justify-content: center;
     }
     nav .ulmenu .limenu:hover ul{
        display:none;
        position: static;
        margin-top: 0;
    }
    nav .ulmenu .limenu ul a{
        margin:auto!important;
        border-style: solid;
       border-width: 0 0 1px ;
       border-color: #fff;
       padding:1.2em 0;
       text-align: left;
         padding-left:60px;
       
    }
    .cajadown{
        display:flex;
        width:40%;
        text-align: center;
        box-sizing: border-box;
        padding:15px;
        cursor: pointer;
        
    } 
    .down{
        display:block;
        color: #fff;
        text-align: center;
        width:100%;
    }
    .servmenu{
        display:flex;
        flex-direction: row;
    }
    .servmenu a{
        display:flex;
        width:60%;
    }
    .bx-red{
        display:flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    .bx-red h2{
        width:100%;
        margin:20px auto;
        color:#fff;
        font-family: 'Raleway', sans-serif;
        
    }
    .redbx{
        
        color: white;
	text-decoration: none;
	padding: 1rem;
	display: flex;
    transition: all .5s;
    text-align: center;
    display:flex;
    justify-content: center;
    font-size:2em;
    border-radius: 25px;
    background:none !important;
    
    }
}
/*-----------------ESTILO SOCIAL BAR-----------------*/

.social-bar {
	position: fixed;
	right: 0;
	top: 60%;
	font-size: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	z-index: 100;
}

.icon {
	color: white;
	text-decoration: none;
	padding: .7rem;
	display: flex;
	transition: all .5s;
}

.icon-facebook {
	background: #2E406E;
}

.icon-whatsapp {
	background: #3FEA50;
}

.icon-youtube {
	background: #E83028;
}

.icon-instagram {
	background: #3F60A5;
}

.icon:first-child {
	border-radius: 1rem 0 0 0;
}

.icon:last-child {
	border-radius: 0 0 0 1rem;
}

.icon:hover {
	padding-right: 3rem;
	border-radius: 1rem 0 0 1rem;
	box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.42);
}

@media (max-width:1024px){
.social-bar{
    display:none;
}
}



/*============= CONTENEDOR ==============*/
.container{
    width:100%;
    height:45vh;
    background-image: url("/imagenes/fondoservicios.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.columnas{
    width:90%;
    max-width: 1600px;
    height:100%;
    display:flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    align-content: center;
}

.column1{
    width:50%;
    display:flex;
    flex-wrap:wrap;
    align-content: center;
    
}
.column1 img{
    width:100%;
}
.column2{
    width:50%;
    display:flex;
    justify-content: center;
    align-items: flex-end;
}
.text-column2{
    width:90%;
    height:60%;
    display:flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    

}
.text-column2 h1{
    font-family: sans-serif;
    display:block;
    width: 100%;
    text-align: center;
    color:#FFF;
    margin-bottom: 35px;
}
.text-column2 a{
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-family: sans-serif;
    padding: 15px 25px;
    background:#148e17;
    display:block;
    border-radius: 25px;
    width:40%;
    font-family: 'theboldfont', sans-serif;
}

/*==============MEDIA CONTENEDOR ============*/
@media screen and (max-width: 1024px) {
    .container{
        display:none;
    }
    .columnas{
        width:100%;
    }
    .column1{
        width:100%;   
        height:60%;
    }
    .column1 img{
        margin-top:70px;
    }
    .column2{
        width:100%;
        height:40%;
        
    }
    .text-column2{
    margin-top:150px;
    }

}

/*=================== CONTENEDOR SERVICIOS======================*/
.services-container{
    width:100%;
    height:auto;
}
.cont-title{
    width:90%;
    margin:50px auto 50px auto;
}
.cont-title h1{
    color:#148e17;
    font-family: 'theboldfont', sans-serif;
    text-align: center;
    font-size:4em;
}
.services-grid{
    width:90%;
    max-width: 1800px;
    height:auto;
    margin: 40px auto;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    
}
.servicio{
    width:65%;
    height:300px;
    margin:20px 0px 0px 0;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    
}
.serviciouno{
    width:30%;
    height:300px;
    margin:20px 0px 0px 0px;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    
}
.servtecnico{
    background-image: url("/imagenes/servtec.jpg") !important;
    background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.rectificada{
   /*background-image: url("/imagenes/rectificadadecilindros.jpg") !important;*/
    background-image: url("/imagenes/rectificadonew.jpg") !important;
    background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.encamisada{
    /*background-image: url("/imagenes/encamisadadecilindros.jpg") !important;*/
    background-image: url("/imagenes/bnencami.jpg") !important;
    background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.cambiobielas{
    background-image: url("/imagenes/servbielas.jpg") !important;
    background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.balanceoci{
    background-image: url("/imagenes/servbalanceo.jpg") !important;
    background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.recticulatas{
    background-image: url("/imagenes/rectificadadeculatas.jpg") !important;
    background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.torno{
    background-image: url("/imagenes/servtorno.jpg") !important;
    background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.prensa{
    background-image: url("/imagenes/servprensa.jpg") !important;
    background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.serviciosperro img{
    width:100%;
    height:auto;

}
.servdescripcion{
    width:0;
    height:100%;
    background: rgba(0, 0, 0, 0.9);
    position:absolute;
    top:0;
    left:0;
    display:flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.4s ease;
}
.servdescripcion h2{
    text-align: center;
    color:#fff;
    font-family: 'theboldfont', sans-serif;
    margin-bottom:10px;
    margin-top:10px;
}
.servdescripcion p{
    text-align:center;
    color:#fff;
    font-family: 'Raleway', sans-serif;
    padding-bottom: 20px;
    box-sizing: border-box;
}
.bx{
    border:2px solid #148e17;
    width:90%;
    display:block;
}
.servicio h1{
    text-align: center;
    color:#fff;
    font-family: 'theboldfont', sans-serif;
    text-shadow: 2px 2px 2px  rgb(0, 0, 0);
    
}
.serviciouno h1{
    text-align: center;
    color:#fff;
    font-family: 'theboldfont', sans-serif;
    text-shadow: 2px 2px 2px  rgb(0, 0, 0);

}
.servicio:hover{
    box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.8);
    
}
.servicio:hover .servdescripcion{
    width:100%;
}
.serviciouno:hover{
    box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.8);
    
}
.serviciouno:hover .servdescripcion{
    width:100%;
}


/*=================== MEDIA SERVICIOS======================*/

@media screen and (max-width: 1024px) {
    .services-container{
        /*background-image: url("/imagenes/motobg.jpg");*/
        margin-top:0;
        padding-top: 70px;
    }
    .services-grid{
        width:90%;
        max-width: 1600px;
        height: auto;
        margin: 40px auto;
    }
    .servicio{
        width:48%;
        height:300px;
        
    }
    .serviciouno{
        width:48%;
        height:300px;
        
    }
    
    .services-grid:last-child{
        margin-bottom: 30px;
    }
    .servdescripcion p{
        padding: 0 10px 20px 10px
    }
    
}
@media screen and (max-width: 700px) {

    .services-grid{
        width:100%;
        height: auto;
        margin: 40px auto;
    }
    .servicio{
        width:100%;
        height:300px;
        
    }
    .serviciouno{
        width:100%;
        height:300px;
        
    }
    
    .services-grid:last-child{
        margin-bottom: 30px;
    }
    .servdescripcion{
        display:none;
    }

}


/*===================== FOOTER =============================================*/
footer{
    width:100%;
    background:#000;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
}
.cont-footer{
    width:90%;
    display:flex;
    flex-wrap: wrap;
    padding: 40px 0;
}
.cont-iz-footer{
    width:50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    
    
}
.cont-der-footer{
    width:50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}
.bxredes{
    width:90%;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    
}

.ibx{
    background:none !important;
    border: 1px solid #fff;
    border-radius: 5px !important;
    font-size: 25px;
    padding: 10px 10px;
    height:50px;
}
.ibx:hover{
    padding-right: 10px !important;
	border-radius: 5px !important;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.42);
    background:#fff !important;
    color:#000;
}
.lgbx{
    width:40%;
    object-fit: contain;
    
    
}
.lgbx img{
    width:100%;
    
}
.menubx{
    width:40%;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    
}
.menubx a{
    text-decoration: none;
    color:#fff;
    margin:10px 0;
    font-family: 'Raleway', sans-serif;
    width:50%;
    
}
.menubx a:hover{
    color:#148e17;
}
.tit-bx-redes{
    color:#fff;
    font-size: 25px;
    
}
.bxcotizacion{
    display: flex;
    flex-wrap: wrap;
    width:100%;
    
}
.bx-btn-cotizacion{
    
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}
.bx-btn-cotizacion a{
    background:#148e17;
    width:40%;
    text-decoration: none;
    color:#fff;
    padding: 15px 25px;
    border-radius: 25px;
    text-align: center;
    font-family: 'theboldfont', sans-serif;

}
.copy{
    width:100%;
    display:flex;
    flex-wrap: wrap;
    background: #148e17;
}
.copy h1{
    text-align: center;
    font-family: 'Raleway', sans-serif;
    color:#fff;
    font-size: 20px;
    margin:0 auto;
    padding: 10px 0;
    font-weight: 400;
    width:100%;
}


@media screen and (max-width:800px){

    .cont-iz-footer{
        width:100%;
        margin: 0 auto 60px auto;
    }
    .cont-der-footer{
        width:100%;
    }
    .tit-bx-redes{
        margin: 10px auto 40px auto;
    }
    .bxredes{
        margin: 0 auto 40px auto;
    }
}
