/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    line-height: 160%;
    color: #666666;
    background-color: #eee;
}
p{
    font-weight: 300;
}
li, h1, h2{
    font-weight: 100;
}
h1,h2,h3,h4,h5,h6{
        margin: 0;
        line-height: 100%;
}
h1{
    color: #fcb640;
    font-size: 3.5em;
    padding:1.3em 0 0.5em 0;
}
h2{
    color: #000;
    font-size: 2em;
    padding:1.3em 0 0.5em 0;
}
h3{
    color: #fcb640;
    font-size: 3.5em;
    font-weight: 100;
    padding:1.3em 0 0.5em 0;
    text-align: center;
    width: 100%;
    float: left;
}
a{
    text-decoration: none;
    font-weight: 700;  
    color: #42290c;
    transition:all 0.3s ease;
}
a.btn:link, a.btn:visited  {
    text-decoration: none;
    font-weight: 700;
    padding: 1.5em;
    border: 1px solid #42290c;
    color: #42290c;
    margin: 20px 0;
}

a.btn:hover{
    border: 1px solid #fcb640;
    color: #fcb640;
}
li{
    list-style: none;
}
header{
    background-color: #fcb640;
    width: 100%;
    height: 65px;
    position: fixed;
    top: 0;
    z-index: 10;
}
.content-header{
    max-width: 1200px;
    min-width: 940px;
    margin: 0 auto;
}
.logo{
    margin: 0 auto;
    width: 102px;
    padding: 5px;
}
header nav{
    z-index: 9999;
}
header nav ul{
    margin: 0;
    padding: 0;
    text-align: center;
}
header nav li{
    display: inline-block;
    padding: 0 1em;
}
header nav li a:link, header nav li a:visited {
    color:#000;
    font-weight: 100;
}
header nav li a:hover{
 color:#fff;
}
.padding-right{
    padding-right:7em;
}
.padding-left{
    padding-left:7em;
}
.main-content{
    max-width: 1200px;
    min-width: 940px;
    margin: 0 auto;   
    padding: 65px 0 0 0;
    background-color: #fff;
    overflow: hidden;
}
.slider{
    float: left;
}
.bg-product, .bg-cortar, .bg-abrasivos, .bg-uniformes, .bg-soldaduras, .bg-industrial, .bg-tigmig, .bg-maquina-soldar, .bg-servicios, .bg-nosotros, .bg-marcas, .bg-contacto, .bg-aire, .bg-cotizacion, .bg-abrasivos, .bg-cintas, .bg-conductores, .bg-inspeccion, .bg-escaleras, .bg-electrica, .bg-ferreteria, .bg-manual-industrial, .bg-airstar, .bg-mundial, .bg-protex, .bg-covid{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right;
    float: left;
}
.bg-covid{
     background-image: url(../img/bg-covid.jpg);
}
.bg-abrasivos{
         background-image: url(../img/bg-abrasivos.jpg);       
}
.bg-protex{
         background-image: url(../img/bg-protex.jpg);       
}
.bg-cotizacion{
         background-image: url(../img/bg-cotizacion.jpg);       
}
.bg-industrial{
     background-image: url(../img/bg-industrial.jpg);       
}
.bg-uniformes{
     background-image: url(../img/bg-uniformes.jpg);       
}
.bg-tigmig{
     background-image: url(../img/bg-tigmig.jpg);       
}
.bg-cortar{
     background-image: url(../img/bg-soldar.jpg);       
}
.bg-soldaduras{
     background-image: url(../img/bg-maquina-soldaduras.jpg);       
}
.bg-maquina-soldar{
     background-image: url(../img/bg-maquina-soldar.jpg);       
}
.bg-mundial{
     background-image: url(../img/bg-mundial.jpg);       
}
.bg-electrica{
     background-image: url(../img/bg-electrica.jpg);       
}
.bg-escaleras{
     background-image: url(../img/bg-escaleras.jpg);       
}
.bg-inspeccion{
     background-image: url(../img/bg-inspeccion.jpg);    
}
.bg-conductores{
     background-image: url(../img/bg-conductores.jpg);     
}
.bg-ferreteria{
     background-image: url(../img/bg-ferreteria.jpg);     
}
.bg-manual-industrial{
     background-image: url(../img/bg-manual-industrial.jpg);     
}
.bg-airstar{
     background-image: url(../img/bg-airstar.jpg);     
}
.bg-cintas{
     background-image: url(../img/bg-cintas.jpg);     
}
.bg-servicios{
    background-image: url(../img/bg-servicios.jpg);   
    background-position: bottom;
}
.bg-abrasivos{
    background-image: url(../img/bg-abrasivos.jpg);   
}
.bg-aire{
    background-image: url(../img/bg-aire.jpg);   
}
.bg-contacto{
    background-image: url(../img/bg-contacto.jpg);   
}
.bg-nosotros{
    background-image: url(../img/bg-nosotros.jpg);   
    background-position: bottom;
}
.bg-product{
    background-image: url(../img/bg-product.jpg);
}
.bg-marcas{
    background-image: url(../img/bg-marcas.jpg);
    background-position: bottom;
}
.bg-product p, .bg-marcas p {
    color: #fff;
}
.productos-home{
    background-color: #fcb640;
    width: 100%;
    float: left;
}
.productos-home a:link, .productos-home a:visited{
    color: #fff;
    font-weight: 100;
}
.productos-home a:hover{
    color:#42290c;
}
.productos-home h1{
    color:#fff;
    font-size: 5em;
    text-align: center;
    padding: 1em 0 0 0;
    width: 100%;
}
.productos-home h2{
    color:#42290c;
    font-size: 1.5em;
    font-weight: 100;
    text-align: center;
    float: left;
    width: 100%;
}
.productos-home ul{
    width: 25%;
    padding: 3em 4em 1em;
    box-sizing: border-box;
    float: left;
}
.productos-home li{
    padding: 0.5em 0;
}
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: inline-block;
}
.info-home{
    width: 100%;
    float: left;   
    background-color: #fdcd7a; 
}
.tree-box{
    width: 33%;
    padding: 35px 3em;
    box-sizing: border-box;
    float: left;   
    color: #30220e; 
    overflow: hidden;
}
.info-home a{
    margin: 30% 0;
}
.info-home a.btn:hover{
    border: 1px solid #fff;
    color: #fff;    
}
.yellow-light{
    background-color: #fddba0;
}
.yellow{
    background-color: #fdcd7a;
}
.text-center{
    text-align: center;
}
.clear-padding{
    padding: 0;
}
.right{
    float: right;
}
.marcas-home{
    width: 100%;
    padding: 80px 0;
    float: left;
}
.marcas-home ul{
    margin: 0;
    padding: 10px 0;
}
.marcas-home li{
    width: 19%;
    float: left;
    height: 85px;
    text-align: center;
    border-left:1px solid #e6e6e6;
    border-bottom:1px solid #e6e6e6;
    padding: 10px 0;
}
li.no-border-bottom{
    border-bottom: none;
}
li.no-border-left{
    border-left: none;
}
footer{
    background-color: #333333;
    width:100%;
    min-width: 940px;
    display: inline-block;
    padding: 0 0 50px 0;
}
.bg-footer{
     background-color: #4d4d4d;  
     width: 100%;
     display: inline-block; 
}
.products-footer{
    max-width: 1200px;
    min-width: 940px;
    margin: 0 auto;
}
.products-footer ul{
    width: 25%;
    padding: 3em 4em 4em;
    box-sizing: border-box;
    float: left;
}
.products-footer li{
    padding: 10px 0;
    line-height: 120%;
}

.products-footer a:link, .products-footer a:visited{
    color: #fff;
    font-weight: 100;
    font-size: 15px;
}
.nav-footer nav a{
    border-left: 1px solid #999;
}
.nav-footer nav a:link, .nav-footer nav a:visited{
    font-weight: 100;
    font-size: 15px;
    padding: 0 4em;
    color: #999999;
}
.products-footer a:hover, .nav-footer nav a:hover{
    color:#fcb640;
}
.nav-footer{
    max-width: 1200px;
    min-width: 940px;
    margin: 0 auto;   
    text-align: center;
    padding: 50px 0;
}
.nav-footer nav a.no-border{
    border: none;
}
.contact-footer li{
    width: 30%;
    height: auto;
    float: left;
    padding: 3em 2em;
    box-sizing: border-box;    
}
.contact-footer{
    width: 80%;
    margin: 0 auto;
}
.tel-footer a:link,.tel-footer a:visited , .mail-footer a:link,.mail-footer a:visited, .dir-footer a:link, .dir-footer a:visited{
    padding: 40px 0 0;
    float: left;
    color: #999;
    background-repeat: no-repeat;
    background-position: center 0;
    font-weight: 100;
    width: 100%;
}
.tel-footer a{
    background-image: url(../img/tel-bg-mersan.png);
}
.mail-footer a{
    background-image: url(../img/mail-bg-mersan.png);
}
.dir-footer a{
    background-image: url(../img/dir-bg-mersan.png);
}
.tel-footer a:hover, .mail-footer a:hover, .dir-footer a:hover{
    background-position:center -149px; 
    color:#fcb640;
}   
.breadcrumb{
    font-size: 0.8em;
    padding:20px 0 0 20px;
}
.breadcrumb a:link, .breadcrumb a:visited{
    color:#fcb640;
    font-weight: 100;
}
.breadcrumb a:hover{
    color:#000;
}
.principal-content{
    margin: 0 0 50px 0;
    float: left;
}
.principal-content article, .principal-content figure{
    width: 70%;
    float: left;
    padding: 20px 0 20px 80px;
    box-sizing: border-box;  
}
.principal-content p{
    width: 70%;
}
.principal-content figure{
    text-align: center;
}
.products-list{
    width: 100%;
    padding: 20px;
    box-sizing: border-box; 
    float: left;
}
.product{
    width: 30%;
    margin: 1.4%;
    float: left;
    overflow: hidden;
    background-color: #000;
}
.product a:link h3, .product a:visited h3{
    color: #fff;
    transition:all 0.3s ease;
}
.product a:hover h3{
    background-color: #fcb640;
}
.product a:link img, .product a:visited img{
    transition:all 0.3s ease;
}
.product a:hover img{
    opacity: .8;
}
.product h3{
    width: 100%;
    min-height: 111px;
    background-color: #000;
    color: #fff;
    text-align: center;
    box-sizing: border-box; 
    padding: 5% 1.4%;
    font-size: 1.5em;
    font-weight: 100;
}
.gallery-products, .info-products{
    float: left;
    width: 100%;
}
.gallery-products li{
    width: 14%;
    background-color: #fff;
    margin: 1.3%;
    float: left;
    text-align: center;
}
.gallery-protex li {
    width: 24%;
    box-sizing: border-box;
    margin:0.5%;
}
.gallery-protex li img {
    max-width: 100%;
}
.info-products{
    padding: 0 0 50px 0;
}
.info-products ul{
    width: 65%;
    margin: 0 auto;
    padding: 2em 2em 2em 18em;
}
.info-products li{
    list-style-image: url(../img/bullet.png);
    width: 50%;
    float: left;
    padding: 0 0 15px 0;
}
.contact{
    float: left;
    width: 100%;
    padding: 5em;
    box-sizing: border-box; 
}
.contact form{
    width: 80%;
    margin: 0 auto;
}
.contact form label{
    width: 40%;
    margin: 3% 0 0 10%;
    float: left;
    color: #000;
    font-size: 1.2em;
    height: 85px;
}
.contact form label input{
    width: 100%;
    height: 50px;
    border: none;
    background-color: #fdb741;
    margin: 5px 0 0 0;  
    padding: 0 10px;  
}
.contact form label.coment{
    width: 90%;
}
.contact form label textarea{
    width: 100%;
    height: 113px;
    border: none;
    background-color: #fdb741;   
    margin: 5px 0 0 0; 
    padding: 5px 10px;
}
.contact form label.boton{
    width: 90%;
}
.boton input.btn  {
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #42290c;
    color: #42290c;
    margin: 20px 0;
    background: none;
    height: 60px;
    width: 300px;
    float: right;
    font-size: 16px;
}
legend{
   color: #42290c;
    font-size: 2.5em;
    width: 100%;
    text-align: center;
    font-weight: 100;
    padding: 20px 0;
}
.servicios{
    width: 100%;
    float: left;
    background-color: #fcb640;
}
.servicios figure{
    width: 40%;
    float: left;
    overflow: hidden;
}
.servicios div{
    width: 60%;
    float: left;
}
.servicios h3{
    color: #fff;
    padding: 0.5em 0;    
    display: block;
}
.servicios ul{
    width: 80%;
    float: left;
}
.servicios ul li{
    color:#fff;
    list-style: disc;
    padding: 5px 0;
    width: 70%;
    margin: 0 auto;
}
.acerca{
    text-align: center;
    float: left;
    color: #666;
}
.acerca h2{
    width: 100%;
    font-weight: 100;
    color:#666;
    padding: 0 0 10px 0;
    font-size: 2.2em
}
.acerca p{
    color: #666;
}
.white h2, .white p{
    color: #fff;
}
.font-white{
    color: #fff;
}
.marcas {
    overflow: hidden;
    width: 100%;
}
.marcas ul li{
    width: 25%;
    float:left;
    padding: 2% 4%;
    box-sizing: border-box;
}
.success{
    text-align: center;
    padding: 30px 0;
    color: #000;
    font-size: 2em;
    font-weight: 100;
}
label label.error{
    font-size: 0.7em;
    width: 100%;
    margin: 0;
    padding: 5px;
    text-align: center;
}
.coment{
    height: 150px !important;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
