html {
    height: 100%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
    position: relative;
    margin: 0;
    padding-bottom: 5rem;
    min-height: 100%;
    background-image: url("bg.png");
    background-repeat: repeat;

}

.bg-white {
    background-color: white;
}

.representantes {
    background-color: white;
    width: 100%;
    height: 40%;
    bottom: 0;
    padding-bottom: 20px;
    display: inline-block;
    position: relative;
}

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    background-color: black;
}

footer .container-fluid{
    width: 95%;
    padding-bottom: 0;
}

.footer-cont {
    text-align:center !important;

}

.redes-soc {
    padding-top:20px;
    text-align: left;
}

.copy {
    text-align:right;
}

.container {
    max-width: 1300px;
}

main {
    margin-top: 30px;
    padding-top: 30px;
}


footer a{
    color: #ED1C24 !important;
}

.carousel {
    margin-bottom: 4rem;
  }

.carousel .item {
    height: 300px !important;
}

.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
  }
.marketing h2 {
    font-weight: 400;
  }
  
  .item img {
      position: absolute;
      object-fit:cover;
      top: 0;
      left: 0;
      min-height: 300px !important;

  }

span.navbar-toggler-icon {
    width: 1.3em !important;
    height: 1.3em !important;
    padding-bottom: 2px !important;
}

.nav-w {
    min-height: 90px;
}

.fix-pos {
    margin-top: 7px;
}

.space {
    padding-left: 30px;   
}

.top-space {
    padding-top: 20px;
}

.nav-link, .nav-link.nav-item {
    font-family: 'Roboto Black', sans-serif;
    font-size: 22px;
    padding-left: 20px;
}

.logo {
    position: absolute;
    z-index: 1;
    left: 70px;
    top: -68px;
}

.logo img {
    height: 222px;
    width: 288px;
}



.categorias {
    margin: 0 auto !important;
    padding-top: 0;
    padding-bottom: 20px;
    text-align: center;
}

.row.categorias .col {
    padding: 0 !important;
}

.row.categorias .hovereffect img {
    width:100%;
    height: 230px;
    object-fit: cover;
}


.fit-image{
    width: 100%;
    object-fit: contain;
    height: 200px; /* only if you want fixed height */
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #ED1C24 !important;
}

a {
    color:#ED1C24;
}

a:hover {
    color:#b71016;
}

.btn-danger {
    background-color: #ED1C24 !important;
}


@media (min-width: 992px) { 
    .top-pad {
        padding-top: 20px !important;
    }
 }



@media (max-width: 992px) { 
    .nav-link {
        font-family: 'Roboto Black', sans-serif;
        font-size: 18px;
    }

    .logo {
        position: absolute;
        z-index: 1;
        left: 20px;
        top: -41px;
    }
    .logo img {
        height: 172px;
        width: 224px;
    }


    .fix-pos {
        margin-top: 0px;
    }

 

    .hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
        left: 0% !important;
        right: 0% !important;
    }
    
    .nav-item.active a:before {
        content: "";
        position: absolute;
        z-index: -1;
        left: 0% !important;
        right: 0%!important;
        bottom: 0;
        background: #ED1C24;
        height: 4px;
    }

  

    
.redes-soc {
    text-align: center;
}

.copy {
    text-align:center;
}

#carouselExampleIndicators {
    margin-top: 30px;
}

}

@media (max-width: 768px) {
    .footer-margin {
        margin-top: 100% !important;
    } 

    .img-reps {
        width: 40% !important;
    }

    .img-reps3M {
        width: 20% !important;
        margin-top: 20px;
    }

    .representantes {
        bottom: 40px;   
    }

    


}

@media (min-width: 992px) {
.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 2.5rem !important;
padding-right: 2.5rem !important;
}

}

h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 27px;
    color: white !important;
    background-color: #ED1C24;
    display: inline-block;
    padding-top: 10.5px;
    padding-right: 10.5px;
    padding-bottom: 10.5px;
    padding-left: 63px;
    margin-left: -63px;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 42px;
    margin-top: 42px;
}

h5 {
    font-family: 'Roboto', sans-serif;
    color: black !important;
}

h4 {
    font-family: 'Roboto', sans-serif;
    color: black !important;
}

h3 {
    font-family: 'Roboto', sans-serif !important;
    color: black !important;

}

.h3-box {
    color: white !important;
    background-color: #ED1C24;
    display: inline-block;
    padding: 10.5px;
    padding-left: 8%;
    margin-top: 10px;
    margin-left: -5%;
    margin-bottom: 30px;
}

p {
    margin-top: 30px;
    font-family: 'Roboto Regular', sans-serif;
    font-weight: 400;
    font-size: 19px;
    color: black !important;
}


.card-product .img-wrap {
    overflow: hidden;
    position: relative;
    height: 230px;
    text-align: center;
}
.card-product .img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}
.card-product .info-wrap {
    overflow: hidden;
    padding: 15px;
    border-top: 1px solid #eee;
    height: 160px;
}

.card-product .bottom-wrap {
    padding: 15px;
    border-top: 1px solid #eee;
}


.img_prod_card {
    overflow: hidden;
    position: relative;
    height: 100%;
    text-align: center;
}

.img_prod_card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    text-align: center;

}

#map {
    width: 100%;
    height: 400px;
    background-color: grey;
  }

.footer-margin {
    margin-top: 6%;
}


/**nav**/
/* Underline From Center */
.hvr-underline-from-center {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
}
.hvr-underline-from-center:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    right: 50%;
    bottom: 0;
    background: #ED1C24;
    height: 4px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
    left: 20%;
    right: 20%;
}

.nav-item.active a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 20%;
    right: 20%;
    bottom: 0;
    background: #ED1C24;
    height: 4px;
}

/* Fix bootstrap */
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-menu > li > a:active {
    background: none;
    color: #ED1C24;
}
.navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open>a:focus, .navbar-default .navbar-nav > .open > a:active {
    background: none;
    color: #555;
}

.hovereffect {
    width:100%;
    height:100%;
    float:left;
    overflow:hidden;
    position:relative;
    text-align:center;
    cursor:pointer;
    }
    
    .hovereffect .overlay {
    width:100%;
    height:100%;
    position:absolute;
    overflow:hidden;
    top:0;
    left:0;
    opacity:0;
    background-color:rgba(237, 28, 36, 0);
    -webkit-transition:all .4s ease-in-out;
    transition:all .4s ease-in-out
    }
    
    .hovereffect img {
    display:block;
    position:relative;
    -webkit-transition:all .4s linear;
    transition:all .4s linear;
    }
    
    .hovereffect h2 {
    text-transform:uppercase;
    color:#fff !important;
    text-align:center;
    position:relative;
    font-size:17px;
    background:rgba(237, 28, 36, 1);
    padding:10px;
    }
    
    .hovereffect a.info {
    text-decoration:none;
    display:inline-block;
    text-transform:uppercase;
    color:#fff;
    border:1px solid #fff;
    background-color:transparent;
    opacity:0;
    filter:alpha(opacity=0);
    -webkit-transition:all .2s ease-in-out;
    transition:all .2s ease-in-out;
    margin:50px 0 0;
    padding:7px 14px;
    }
    
    .hovereffect a.info:hover {
    box-shadow:0 0 5px #fff;
    }
    
    .hovereffect:hover img {
    -ms-transform:scale(1.2);
    -webkit-transform:scale(1.2);
    transform:scale(1.2);
    }
    
    .hovereffect:hover .overlay {
    opacity:1;
    filter:alpha(opacity=100);
    }
    
    .hovereffect:hover h2,.hovereffect:hover a.info {
    opacity:1;
    filter:alpha(opacity=100);
    -ms-transform:translatey(0);
    -webkit-transform:translatey(0);
    transform:translatey(0);
    }
    
    .hovereffect:hover a.info {
    -webkit-transition-delay:.2s;
    transition-delay:.2s;
    }
