* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
            font-family: 'Lora', serif;
            font-family: 'DM Sans', sans-serif;
        }


.row {
    padding: 0 !important;
}

.container-fluid {
    padding: 0 !important;
    margin: 0 !important;
}

body {
    overflow-x: hidden;
}


/* DESKTOP */
@media (min-width: 992px) {

.header {
    height: 7em;
    padding-top: 2em;
    padding-bottom: 1em;
    background-color: white;
    position: fixed;
    width: 100%;
    z-index: 2;
    border-bottom: solid 0.4px #dadada;
}

.header-pg {
    margin-bottom: 5em !important;
    padding-top: 2em;
    padding-bottom: 1em;
    background-color: white;
    border-bottom: solid 0.4px #dadada;
    height: 7em;

}

.img-domissi {
    margin-left: 5em;
    padding-top: 2em;
}

.img-mobile {
    display: none;
}

h2 {
    text-align: center;
    font-size: 20px;
    color:#808080 !important;
    font-family: 'lora';
    font-weight: 800 !important;
}

.nav {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-top: 2em;
    margin-left: 5.1em;
}

.nav a {
    margin-left: 1em;
    width: 8em;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

nav {
    display: none !important;
}

.slide-inicio {
    padding-top: 7em !important;
    position: relative;
}

.slider-principal {
    background-image:url(./assets/slide1.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 100%;
    height: 40em;
    padding-top: 0;
}

h1 {
    text-align: right;
    font-family: 'Lora';
    font-size: 35px !important;
    font-weight: 700 !important;
    letter-spacing: -1px;
    align-items: end;
    padding-left: 0.3em;
    padding-right: 0.3em;
}

.text-hero p {
    text-align: right;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    letter-spacing: -0.5px;
    font-size: 18px;
    padding-right: 1em;
}

.text-hero {
    text-align: right;
    color: #0957d0;
    background-color: white;
    opacity: 90%;
    width: 23% !important;
    height: 38%;
    padding: 2em;
    position: absolute;
    margin-left: 70%;
    margin-top: 12em !important;
    border-radius: 2%;

}

.btn-group .active {
    z-index: 0 !important;
}

.cards-img-text {
    display: flex;
}
.productos-cards-mb {
    display: none;
}

.productos-cards {
    margin: 5em 4em 5em 5em;
}

.texto-cards {
    display: block;
    padding-left: 0.5em;
}

.cards-img-text img {
    width: 45%;
    height: fit-content;
    padding-right: 0.5em;
}

.texto-cards h3 span {
    font-family: 'Lora', serif;
    letter-spacing: -1px;
    font-weight: 500;
    font-size: 1em;
}

.texto-cards h3 {
    line-height: 1em;
}

.texto-cards p {
    font-family: 'DM Sans';
    color: #0957d0;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.botones-cards {
    margin-top: 1em;
    width: 90%;   
}

.botones-cards button {
    margin-top: 0.4em;
    width: max-content;
    padding: 0.5em 1em 0.5em 1em;
    font-size: 18px;
    font-weight: 500;
    border: solid 1px #2770FF !important;
}

.cards-img-text-mayoristas h3 span {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1em;
}

.productos-cards .mayoristas-row {
    background-color: #d6d6d6;
    padding: 2em !important;
    width: 100%;
}

.mayoristas-row {
margin-top: 3em !important;
}

.mayoristas-row .text-may {
    margin-left: 2.5em;
    margin-top: 2em;
}

.text-may p {
    font-family: 'DM Sans';
    color: #0957d0;
    font-size: 1.1em;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.text-may .btn-group button {
    background-color: #009200 !important;
    border: none;
    width: max-content;
    font-size: 20px;
    padding-right: 1.1em;
    padding-left: 1.1em;
}

.text-may .btn-group button a{
    color: white;
    text-decoration: none;
}

.text-may .btn-group .active {
    background-color: #006b00 !important;
    border: none;
}

.text-may .btn-group button:hover {
    background-color: #006b00 !important;
}

.text-may h3 span {
    line-height: 1em;
    font-family: 'Lora', serif;
    font-weight: 700;
}


.tables p {
    margin-left: 1.3em;
}


.tablas-productos {
    margin-left: 5em;
    margin-bottom: 10em;
}

.menu-lateral-productos .btn {
    width: 10em;
    margin-bottom: 1em;
    text-align: left;
}

.sidebar {
    height: 10em; 
    text-align: left;
    margin-top: 10em !important;
}

.sidebar .btn {
    background-color: #d9e8ff;
    border: none;
    width: 12em;
    color:#2770FF;
    font-weight: 500;
    text-align: left;
    margin-bottom: 0.5em;
    margin-left: 1em;
    font-size: 18px;
}

#mensajeNoEncontrado {
    text-align: center;
    margin-top: -5em;
    margin-bottom: 5em;
    font-size: 18px;
}

.sidebar .btn:hover {
    background-color: #2770FF;
    color: white;
}

.sidebar .active {
    background-color: #2770FF !important;
}

.menu-lateral-productos {
    margin-top: 12em !important;
    border-right: solid 1px #999999;
    padding-right: 1em;
    float: right;
}

.menu-lateral-productos button {
    font-size: 18px;
}

.tables h3 {
    background-color: #cccccc;
    color: #4d4d4d;
    font-weight: 500;
    padding-top: 0.5em;
    padding-bottom: 0.3em;
    padding-left: 1em;
    border-top: solid 1px #999999;
    text-align: left;
}

.tables img {
    margin-top: 0.7em;
}

.tables .perfilc {
    margin-left: 0.7em;
}

.tables .tablaAlambres {
    margin-left: 0.7em;
}   


.tables .tablaaisl {
    margin-left: 0.7em !important;
}

.tables .tablaCaños {
    margin-left: 0.7em;
}

.tables .hierros-mallas {
    margin-left: 0.7em;
}

.tables .chapasptecho {
    margin-left: 0.7em;
}

.tables .ChapasC {
    margin-left: 0.7em;
}


.tables .tablaChapasL {
    margin-left: 0.7em;
}

.tables {
    padding-left: 0 !important;
    position: relative;
    z-index: 0;
    font-size: 18px;
    margin-top: 0em;
}

.tables td {
    color: #2770ff !important;
    font-weight: 600;
}

.tables th {
    color: #666666 !important;
    font-weight: 500;
}

.car-somos {
    position: relative;
    z-index: 1;
    margin-top: 4em;
}

.car-somos .trama {
    position: absolute;
    z-index: -1;
    padding-top: 25em;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.equipo {
    display: flex;
    z-index: 2;
    margin-top: 4em !important;
    margin: auto;
}

.equipo img:hover {
    opacity: 90%;
}

.text-carrusel {
    color: #0957d0;
    font-size: 20px;
    padding-top: 0em;
    padding-left: 2em !important;
}

.car-somos .row {
    display: flex;
    justify-content: center;
}

.valores {
    margin-top: 6em;
}

.accordion {
    display: none;
}

.valores h3 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: #0957d0;
    text-align: center;
    font-size: 30px;
}

.valoresRow {
    display: flex;
    padding-top: 4em;
    text-align: center;
    color: #0957d0;
    margin: auto;
    justify-content: space-around;
    align-content: baseline;
    padding-bottom: 5em;
}

.valoresRow img {
    height: 6em;
    padding-bottom: 1em;
}

.valoresRow img:hover {
    filter: brightness(80%)
}

.valoresRow p {
    width: 14em;
    font-size: 18px;
}

.footerSup {
    background-color: #e6e6e6;
}

.footerSup .cards-productos-botones {
    display: flex;
    align-content: center;
    justify-content: center;
}

.cards-productos-botones .construir {
    display: flex;
    margin-left: 5em;
    text-align: center;
}

.cards-productos-botones .text-btn {
    padding: 2em 1em 2em 1em;
}

.cards-productos-botones img {
    width: 50%;
    margin-top: 2em;
    margin-bottom: 2em;
}

.cards-productos-botones .btn-group {
    margin-top: 0.5em;
}

.cards-productos-botones .btn-group .btn-success {
    background-color:#00a100;
    margin-bottom: 0.5em;
    border: none;
    width: 10em;
    font-size: 20px;
}

.cards-productos-botones .text-btn .btn-group a {
    text-decoration: none;
    color: white;
}

.cards-productos-botones .btn-group .active {
    background-color: #006b00 !important;
    border: none;
    margin-bottom: 0.5em;
    width: 3em !important;
    font-size: 20px;
}

.cards-productos-botones h3 span {
    font-family: 'Lora', serif;
    color: #808080;
    font-weight: 600;
    font-size: 26px;
}

.cards-productos-botones h3 {
    font-family: 'Lora', serif;
    color:#0957d0;
    font-weight: 600;
    font-size: 24px;
}

.cards-productos-botones .producir {
    display: flex;
    margin-right: 6em;
    text-align: center;
}

.cards-productos-botones span {
    color: #2770ff;
    font-size: 18px;
    font-weight: 500;
}

.footerSup hr {
    rotate: 90deg;
    width: 20em;
    rotate: 90deg;
    margin: auto -3em auto -3em;
}

.bottom-menu {
    background-color: #0957d0;
    color: white;
    padding-top: 1.2em;
    padding-bottom: 1em;
    display: flex;
    justify-content: center;
    align-content: center;
}

.bottom-menu h5 {
    font-weight: 300;
    padding-right: 1em;
    padding-top: 0.7em;
}

.FooterInf {
    background-color: #2770ff;
    color: white;
    height: 18em;
    text-align: center;
    padding-left: 3em;
    padding-right: 3em;
}

.FooterInf .colum {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5em;
}

.FooterInf button {
    background-color: #0957d0;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: white;
    text-decoration: none; 
    border: none;
    padding: 0.5em 2em 0.5em 2em;
    border-radius: 0.3em;
    margin-bottom: 0.5em;
    width: 18em;
}

.FooterInf button a {
    color: white;
    text-decoration: none;
}

.FooterInf button i {
    padding-right: 1em;
    font-size: 22px;
    float: left;
}

.FooterInf button:hover {
    background-color: #0b44b5;

}

.FooterInf .boton-footer button {
    width: max-content;
}

#searchForm {
    height: 12em;
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 10em;
}

.search-container #searchInput {
    width: 30em;
    margin-right: 0.3em;
    font-size: 20px;
}

#searchForm button {
    font-size: 20px;
    width: 12em;
    margin-top: -0.2em;
    height: 2.4em;
}

input {
    flex: 1; 
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
}


.input {
    background-color: #2770FF;
    color: white;
    border: none;
    cursor: pointer;
    width: 20%;
}

button:hover {
    background-color: #0b44b5;
}

#accordionExample {
    display: none;
}
}

/* MOBILE */
@media (max-width: 992px) {
.header {
    display: none;
}

body {
    overflow-x: hidden; 
}

.fixed-top {
    position: fixed;
}

.navbar {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    padding-top: 4em;
    padding-bottom: 4em;
    margin-right: 1em;
    background-color: white;
    width: 100%;
}

.navbar-brand {
    width: 10em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 1em;
}

.navbar-toggler {
    margin-right: 1em;
}


.navbar-nav .nav-item {
    padding-left: 1em;
    padding-top: 0.8em;
    font-weight: 500;
    font-size: 20px;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #0957d0;
    font-weight: 600;
}

.img-mobile-deslizante {
    position: absolute;
    top: 85%;
    margin-left: 100vw; 
    transform: translate(-40%, -40%);
    transition: left 1s;
    width: 35em;
}

.slide-inicio img {
    padding-top: 5em !important;
    width: 100vw; 
    height: 100vh; 
    object-fit: cover; 
    object-position:center;    
}


h1 {
    text-align: right;
    font-family: 'Lora';
    font-size: 30px !important;
    font-weight: 700 !important;
    padding-top: 0.5em;
    letter-spacing: -1px;
    align-items: end;
    margin: auto;
    margin-right: 0.3em;
}

.text-hero p {
    text-align: right;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    letter-spacing: -0.5px;
    font-size: 20px;
    margin-right: 1em;
}

.text-hero {
    text-align: right;
    color: #0957d0;
    background-color: white;
    padding: 1em !important;
    opacity: 90%;
    width: 80% !important;
    height: auto;
    position: absolute;
    margin-top: 50% !important;
    margin-left: 3em;
    margin-right: 3em;
    border-radius: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-group .active {
    z-index: 0 !important;
}

.productos-cards-mb {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.productos-cards {
    display: none;
}

.cards-img-text {
    text-align: center;
}

.cards-img-text img {
    width: 70%;
    margin-top: 3em;
}

.texto-cards h3 span {
    font-family: 'Lora', serif;
    letter-spacing: -1px;
    font-weight: 700;
    font-size: 30px;
}

.texto-cards h3 {
    margin-top: 1em;
    font-size: 30px;
}

.texto-cards p {
    font-family: 'DM Sans';
    color: #0957d0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.botones-cards {
    margin-top: 0.5em;
    text-align: center;
}

.productos-cards-mb .row {
    justify-content: space-around !important;
}

.botones-cards button {
    margin-top: 0.4em;
    width:max-content;
    height: max-content;
    font-size: 18px;
}

.mayoristas-row  {
    background-color: #e1e1e1;
    text-align: center;
    margin-top: 4em !important;
    padding-top: 2em;
    padding-bottom: 2em;
}

.cards-img-text-mayoristas img {
    width: 95%;
    margin-top: 2em;
    margin-bottom: 1em;
}

.text-may h3 span {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 35px;
}


.text-may p {
    font-family: 'DM Sans';
    color: #0957d0;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    letter-spacing: -0.3px;
    margin-top: 1em;
    padding-left: 1em;
    padding-right: 1em;
    line-height: 1.3;
}

.equipo {
    width: 85% !important;
    margin-top: 5em !important;
    margin: auto;
}

.equipo img {
    padding-top: 1em;
}
.text-may .btn {
    width: 16em;
    margin-top: 1em;
    margin-bottom: 2em;
    height: 2.5em;
}
.text-may .btn {
    background-color: #00a100 !important;
    border: none;
    width: max-content;
    font-size: 23px;
    padding-right: 1em;
    padding-left: 1em;
}

.text-may .btn:hover {
    background-color: #006b00 !important;
}

#accordionExample {
    margin-top: 8em;
}

.text-may .btn-group .active {
    background-color: #006b00 !important;
    border: none;
}

.tablas-productos {
    margin-top: 8em;
    width: 90%;
    display: none;
}

.tablas-productos .menu-lateral-productos button {
    width: 90%;
    margin-top: 0.5em;
    text-align: center;
    font-size: 19px;
}

.tables-mb h3 {
    background-color: #cccccc;
    color: #4d4d4d;
    font-weight: 500;
    padding-top: 0.5em;
    padding-bottom: 0.3em;
    padding-left: 0em;
    border-top: solid 1px #999999;
    text-align: center;
    margin-top: 2em;
} 

.tables td {
    color: #2770ff !important;
    font-weight: 600;
    font-size: 18px;
    display: block;
    text-align: center;
}

.tables th {
    color: #666666 !important;
    font-size: 18px;
    background-color: #cccccc !important;
    display: block;
    text-align: center;
    border-bottom: solid 1px #b9b9b9;
    border-top: solid 1px #9c9c9c;
}

.accordion {
    margin-top: 8em;
}
.car-somos #carouselExampleSlidesOnly {
    width: 90%;
    margin: auto;
    padding-top: 2em;
}

.text-carrusel p {
    width: 90%;
    margin: auto;
    padding-top: 1.5em;
    text-align: center;
    color: #0957d0;
    margin-top: 1em;
} 


.car-somos {
    position: relative;
    font-size: 18px;
}

.car-somos .trama {
    position: absolute;
    z-index: -1;
    padding-top: 45em;
    padding-left: 0;
    padding-right: 0;
    width: 500%;
}

.valores {
    margin-top: 10em;
}

.valores h3 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: #0957d0;
    text-align: center;
    font-size: 30px;
}

.valoresRow {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #0957d0;
    margin: auto;
    justify-content: center;
    align-content: center;
    padding-bottom: 5em;
    font-size: 18px;
}

.valoresRow img {
    height: 6em;
    padding-bottom: 1em;
    margin-top: 2em;
}

.valoresRow img:hover {
    filter: brightness(80%)
}

.valoresRow p {
    width: 14em;
    margin: auto;
}

.footerSup {
    padding-bottom: 4em;
    text-align: center;
    font-size: 18px;
}

.footerSup img {
    margin-top: 2em;
    margin-bottom: 2em;
}
.footerSup hr {
    width: 100%;
}

.bottom-menu {
    background-color: #0957d0;
    color: white;
    padding-top: 2em;
    display: block;
}

.FooterInf button a {
    color: white;
    text-decoration: none;
}

.bottom-menu h5 {
    font-weight: 300;
    padding-right: 1em;
    padding-top: 0.4em;
    font-size: 24px;
    margin: auto;
    text-align: center;
}

.bottom-menu img {
    width: 40%;
    margin: 27%;
    margin-top: 0.5em;
}

.FooterInf {
    background-color: #2770ff;
    color: white;
    height: 35em;
    text-align: center;
    padding-left: 3em;
    padding-right: 3em;
}

.FooterInf .colum {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3em;
}


.FooterInf button {
    background-color: #0957d0;
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    color: white;
    border: none;
    padding: 0.5em 2em 0.5em 2em;
    border-radius: 0.3em;
    margin-bottom: 0.5em;
    width: 18em;
}

.FooterInf button i {
    padding-right: 1em;
    font-size: 24px;
    float: left;
}

.FooterInf .boton-footer button {
    width: max-content;
}

.FooterInf button:hover {
    background-color: #0b44b5;
}

.cards-productos-botones .text-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cards-productos-botones h3 span {
    font-family: 'Lora', serif;
    color: #808080;
    font-weight: 600;
    font-size: 28px;
}

.cards-productos-botones h3 {
    font-family: 'Lora', serif;
    color:#0957d0;
    font-weight: 600;
    font-size: 28px;
    margin-top: 2em;
}


.cards-productos-botones .btn-group .btn-success {
    background-color:#00a100;
    color: white !important;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    border: none;
    width: 10em;
    height: 2.5em;
    font-size: 22px;
}

.cards-productos-botones .btn-group button a {
    color: white;
    text-decoration: none;
    font-size: 22px;
}

.cards-productos-botones .btn-group .btn-success:hover {
    background-color:#006b00;

}

.footerSup .cards-productos-botones .btn-group .active {
    background-color: #006b00 !important;
    border: none;
    margin-bottom: 0.5em;
    width: 40% !important;
}

.cards-productos-botones h3 span {
    font-family: 'Lora', serif;
    color: #808080;
    font-weight: 600;
    font-size: 28px;
}

.cards-productos-botones h3 {
    font-family: 'Lora', serif;
    color:#0957d0;
    font-weight: 600;
    font-size: 28px;
}

.cards-productos-botones span {
    color: #2770ff;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

#searchForm #searchInput {
margin-top: 4em;
text-align: center;
font-size: 20px;
width: 85%;
height: 2.5em;
border-radius: 0.5em;
justify-content: center;
margin-left: 1.3em;
}

#searchForm button {
    width:11em ;
    margin-top: 1em;
    height: 2.5em;
    font-size: 20px;
    margin-left: 4em;
}

body {
    overflow-x: hidden;
}

h2{
    margin-top: 2em !important;
    font-family: 'lora';
    font-weight: 900 !important;
    font-size: 35px !important;
    color: #666666;
    text-align: center;
    margin-left: 0.2em;
    margin-right: 0.2em;
}

}