*, .inter-metal {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
}
:root {
    --color-nodo: #fff;
}

.cabecera {
    background: #22519f; /*#393938;*/
    /* cursor: default; */
    height: 100vh;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    text-align: right;
    top: 0;
    width: 200px;
    z-index: 9999;
    padding: 0;
    padding-top: 70px;
}
.cabecera .logo {
    /*
    font-size: 30px;
    text-transform: lowercase;
    font-family: "Sansation";
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    color: #fff;
    background-color: #222;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 5px;
    */
    text-align: center;
}
.cabecera .logo img{
    width: 180px;
}
.cabecera .frase {
    font-size: 12px;
    text-transform: lowercase;
    font-family: "Sansation";
    text-align: center;
    font-style: italic;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    color:#fff;
}
.menu {
    padding: 2.5em 0.5em 0.5em 2.5em;
    background: #21519f21; /*#f3f1ee;*/
    /* cursor: default; */
    height: 100vh;
    left: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 19em;
    z-index: 10000;
    padding-top: 70px;
}
.menu .opcion {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 5px;
    cursor: pointer;
    height: 20px;
}
.menu .opcion:hover {
    cursor: pointer;
}
.menu .opcion a {
    text-decoration: none;
    color: #000;
    font-size: 11px;
    text-transform: uppercase;
    padding:5px;
    border-radius: 5px;
}
.menu .opcion a:hover {
    background-color: #22519f;
    color: #fff;
}
.contenido {
    margin-left: 36em;
    position: relative;
    padding-top: 80px;
    padding-left: 50px;
    padding-bottom: 50px;
    margin-right:50px;
}

.tab-content {
    max-width: 100%;

    margin-bottom: 40px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;

    border-style: dashed;
}
.nav-tabs {
    margin-top: 0px;
    margin-bottom: 0px;
    background-color: #21519fba;
    padding: 1px;
    color: #fff;
    border-radius: 10px 10px 0px 0px;
    padding-left: 10px;
}
.nav-tabs-blanco {
    background-color: var(--color-fondo) !important; /*#9e9d9a;*/
    height: 10px;
}
.nav-tabs li {
    list-style: none;
} 
.nav-tabs a {
    color: #fff;
    text-decoration: none;
    pointer-events: none;
}
.mtr-table {
    /*border: 1px solid #ccc;*/
    border-spacing: 1px;
    line-height: 20px;
    /*margin-bottom: 20px;*/
}
.mtr-table .cabecera {
    background-color: #9e9d9a;
    color: #fff;
}
.mtr-table .mtr-cell-content {
    text-align: center;
}
th .mtr-table .mtr-cell-content {
    color:#222;
}
.table-1 .subtitulo {
    padding-left: 10px;
    background-color: #fff !important;
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 800;
    padding-top: 10px;
    padding-bottom: 10px;
}
.mtr-table .icon-table {
    width: 10px;
    margin-right: 4px;
}
.mtr-table .icon-table-2 {
    width: 18px;
}
.mtr-table .icon-table-3 {
    width: 28px;
    padding-top:2px;
    padding-bottom:2px;
}
.mtr-table thead tr{
    height:30px;
}
.mtr-thead-th thead {
    background-color: var(--color-fondo) !important; /*#9e9d9a;*/
    height: 30px;
    color: #fff;
    display: none;
}
.mtr-thead-th .negro {
    background-color: #21519fba; /*9e9d9a;*/
}
.mtr-thead-th .negro {
    background-color: #21519fba; /*#393938;*/
}
.mtr-thead-th .gris0 {
    background-color: #f0f5fc !important; /* #f3f1ee */
}
.mtr-thead-th .gris1 {
    background-color: #b7c5dc !important; /*BFBDBA*/
        color: #222;
}
.mtr-thead-th .gris2 {
    background-color: #cdd8ea !important; /*CFCCC8*/
        color: #222;
}
.mtr-thead-th .gris3 {
    background-color: #e1e9f6 !important; /*D9D7D2*/
        color: #222;
}
.mtr-thead-th .gris4 {
    background-color: #f0f5fc !important; /*e8e7e2*/
        color: #222;
}
.table-1:first-child thead {
    display: table-header-group;
}
.mtr-thead-th tbody tr{
    height: 30px;
}
/*
.mtr-table:not(.tabla_simple) td:nth-child(1)  {
    background-color: #BFBDBA;
    width: 60px;
}
.mtr-table:not(.tabla_simple) td:nth-child(2)  {
    background-color: #CFCCC8;
    width: 60px;
}
.mtr-table:not(.tabla_simple) td:nth-child(3)  {
    background-color: #D9D7D2;
    width: 60px;
}
*/
.mtr-table tbody tr:nth-child(even) {
  background-color: #f9fbff; /*#f4f2ee;*/
}

.nav {
    display: none;
}
.nav:nth-child(1) {
    display: block;
}

.change_table_row {  
    background-color:#f0f5fc !important;  /* #ffef5f !important; */
}
.change_table_row2 {  
    background-color:#cdd8ea !important;  /* #f9f1ac !important; */
}
.leyenda {
    padding:10px;
}
.leyenda_titulo {
    /*
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    */
    background-color: #f6f7f9;
}
.leyenda_titulo td {
    /*border-bottom: 1px solid #222;*/
    padding-bottom: 5px;
    padding-top: 10px;

    padding-left: 10px;
}
.leyenda img {
    width:32px;
}
/* COLOR PLUS #96abbb */
.tab-titulo {
    font-size: 32px;
    margin-bottom: 20px;

    background-color: #21519fba;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
}
.tab-titulo-icono {
    width: 32px;
    display: block;
    float: left;
    margin-right: 10px;
    padding-top: 2px;
}
.tab-subtitulo {
    margin-top: 60px;
    font-size: 20px;
    /* margin-bottom: 20px;*/

        border-left: 10px solid #6080b9;
    width: 100%;
    float: left;
    padding-left: 5px;
    margin-bottom: 10px;
    margin-top: 20px;
}
.tab-descripcion {
    margin-bottom: 20px;
    font-size: 14px;
    width: 100%;

    line-height: 25px;
}
.tab-descripcion b {
    font-size: 14px;
    font-weight: 800;
}
.tab-3-columnas, .tab-4-columnas {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}
.tab-3-columnas .tab-columna {
    width:28%;
}
.tab-4-columnas .tab-columna {
    width:21%;
}
.tab-columna {
    float:left;
    font-size: 14px;
    padding:20px;
    padding-left:0px;
    padding-right: 30px;
    line-height: 20px;

    background-color: #f6f7f9; /* #efefef; */
    border-radius: 10px;
    padding-left: 10px !important;
    width: 28%;
    margin-right: 10px;
    min-height: 90px;

        margin-bottom: 5px;
}
.tab-columna:first-child {
    padding-left: 0px;
}
.tab-columna .tab-columna-titulo {
    font-size: 12px;
    padding: 5px;
    background-color: #cfd4da;
    color: #fff;
    line-height: 40px;
    border-radius: 5px;
    color:#222;
}
.tab-italic {
    font-style: italic;
    color: #444;
    font-size: 13px;;
}

body {
    margin:0px;
}


.titulo {
    font-size: 35px;
    font-weight: 600;
    margin-top:-5px;
    margin-bottom:15px;
}
.linea {
    width:80px;
    height:6px;
    background-color: #21519f;
    margin-bottom: 15px;
}
.texto {
    margin-bottom: 20px;
    font-size: 14px;
    width: 100%;
    line-height: 25px;
}
.texto b {
    font-size:15px;
    font-weight: 800;
}
.gallery-wrap {
      display: flex;
      flex-direction: row;
  width: 100%;
  height: 70vh;
}

.item {
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: flex 0.8s ease;

  
    margin-left: 5px;
    margin-right: 5px;
  
  &:hover{
    flex: 7;
  }
  &:hover .texto_inicio_menu{
    display: block;
  }
}

.gallery-wrap .item {
    cursor: pointer;
}

.item-1 { 
  background-image: url('https://metalcrom.es/_img/01.jpeg');
}
.item-2 { 
  background-image: url('https://metalcrom.es/_img/02.jpeg');
}
.item-3 { 
  background-image: url('https://metalcrom.es/_img/aguj-cuadrados.jpg');
}
.item-4 { 
  background-image: url('https://metalcrom.es/_img/agujeros largos.jpg');
}
.item-5 { 
  background-image: url('https://metalcrom.es/_img/agujeros decorativos.jpeg');
}
.item-6 { 
  background-image: url('https://metalcrom.es/_img/chapa repujada2.png');
}
.item-7 { 
  background-image: url('https://metalcrom.es/_img/04.jpeg');
}
.item-8 { 
  background-image: url('https://metalcrom.es/_img/pisos metalicos.png');
}
.item-9 { 
  background-image: url('https://metalcrom.es/_img/tramex (entramados maetalicos).png');
}
.texto_inicio_menu{
    vertical-align: middle;
    position: relative;
    top: 50%;
    text-align: center;
    /* background-color: #fff; */
    font-size: 30px;
    height: 50px;
    padding-top: 10px;
    display: none;
    font-weight: 800;
    color: #fff;
    background-color: #21519f;
    transition: flex 2s ease;
}

.contacto_transformamos {
    float: left;
    width: 100%;
    margin-bottom: 15px;
}
.contacto_col50 {
    width: 30%;
    float: left;
}
.contacto_texto {
    font-size: 14px;
    padding-top: 2px;
    font-weight: 600;
}
.contacto_texto input {
        width: 80%;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}
.contacto_texto textarea {
    width: 80%;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 12px;
    color: #666;
    height:120px;
    margin-bottom: 10px;
}
.contacto_texto .boton {
    width: 200px;
    background-color: #595a5d;
    color: #fff;
    border: 0;
    margin-top: 10px;
}
.contacto_col50 img {
    width: 28px;
    margin-right: 10px;
    margin-top: 0px;
    float: left;
}

/* Icon */
.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

    .icon:before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        text-transform: none !important;
        font-family: 'Font Awesome 7 Free';
        font-weight: 400;
    }

    .icon > .label {
        display: none;
    }

    .icon:before {
        line-height: inherit;
    }

    .icon.solid:before {
        font-weight: 900;
    }

    .icon.brands:before {
        font-family: 'Font Awesome 7 Free';
    }

/* Contact */
ul.contact {
    list-style: none;
    padding: 0;
}

    ul.contact li {
        text-decoration: none;
        margin: 2.5em 0 0 0;
        padding: 0 0 0 3.25em;
        position: relative;
    }

        ul.contact li:before {
            -moz-osx-font-smoothing: grayscale;
            -webkit-font-smoothing: antialiased;
            display: inline-block;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            line-height: 1;
            text-transform: none !important;
            font-family: 'Font Awesome 5 Free';
            font-weight: 400;
        }

        ul.contact li:before {
            border-radius: 100%;
            border: solid 2px rgba(255, 255, 255, 0.125);
            display: inline-block;
            font-size: 0.8em;
            height: 2.5em;
            left: 0;
            line-height: 2.35em;
            position: absolute;
            text-align: center;
            top: 0;
            width: 2.5em;
        }

        ul.contact li:first-child {
            margin-top: 0;
        }

    @media screen and (max-width: 736px) {

        ul.contact li {
            margin: 1.5em 0 0 0;
        }

    }


@media screen and (max-width: 601px) {
    body {
        overflow-x: hidden;
    }
    *, .inter-metal {
        font-size:11px;
    }
    .portada .intro .titulo {
        font-size: 50px !important;
    }

    .cabecera {
        width: 100%;
        height: 160px;
        position: relative;
        padding-top: 5px;
        top: 0;
        padding-bottom: 5px;
    }
    .cabecera .logo {
        width: 200px;
        font-size: 20px;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .cabecera .logo img {
        width: 140px;
    }
    .cabecera .frase {
        font-size: 11px;
        padding-top: 0px;
    }
    .menu {
        position: relative;
        left: 0;
        width: auto;
        padding-top: 10px;
        height: auto;
        padding-left: 20px;
        padding-bottom:10px;
    }
    .menu .opcion {
        text-align: left;
        padding-top: 10px;
        padding-bottom: 0px;
        cursor: pointer;
        height: 20px;
        width: auto;
        float: left;
        /* background-color: #ff9900; */
        border-radius: 10px;
        margin-right: 5px;
    }
    .menu .opcion a {
        font-size: 10px;
        background-color: #acc0d9;
        color: #222;
    }
    .contenido {
        margin-left: 0px;
        width: auto;
        padding-left: 20px;
        padding-top: 20px;
        margin-right: 20px;
    }
    .contenido .tab-pane {
        overflow-x: auto;
    }
    .tab-3-columnas .tab-columna {
        width: 100%;
        padding-right: 0px;
        font-size: 12px;
        padding-bottom: 0px;
        padding-top: 10px;
    }
}




    .grid {
        width: 100%;
    }
    .grid-sizer, .grid-item { 
        width: 20%; 
        margin:10px;
    }
    /* 2 columns */
    .grid-item--width2 { width: 40%; }
    .grid-item img {
        max-width:100%;
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
        -webkit-transition: all .2s ease-in-out;
        opacity: 0.6;
    }
    .grid-item img:hover {
        filter: none;
        -webkit-filter: grayscale(0);
        -webkit-transform: scale(1.01);
        opacity: 1;
    }


ul.galeria {
  display: flex;
  flex-wrap: wrap;
    padding-left: 0px;
}

ul.galeria li {
  height: 30vh;
  flex-grow: 1;
  list-style: none;
  margin-bottom:10px;
    margin-right: 12px;
}

ul.galeria li::marker {
    display: none;
}
ul.galeria li:last-child {
  flex-grow: 10;
}

ul.galeria img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;

  -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all .2s ease-in-out;
    opacity: 0.6;
}
ul.galeria img:hover {
    filter: none;
    -webkit-filter: grayscale(0);
    -webkit-transform: scale(1.01);
    opacity: 1;

}

@media (max-aspect-ratio: 1/1) {
  ul.galeria li {
    height: 30vh;
  }
}

@media (max-height: 480px) {
  ul.galeria li {
    height: 80vh;
  }
}

@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  ul.galeria {
    flex-direction: row;
  }

  ul.galeria li {
    height: auto;
    width: 100%;
  }
  ul.galeria img {
    width: 100%;
    max-height: 75vh;
    min-width: 0;
  }
}
