/* Ancho de las columnas*/
.publicationsTable.flex-table > .flex-row:nth-child(1) {/* Nombre */
    width: 10%;
    text-align: center;
}
.publicationsTable.flex-table > .flex-row:nth-child(2) {/* Variacion */
    width: 10%;
    text-align: center;
}
.publicationsTable.flex-table > .flex-row:nth-child(3) {/* Estado */
    width: 45%;
    justify-content: left;
    text-align: center;
}
.publicationsTable.flex-table > .flex-row:nth-child(4) {/* Ultima Sincronizacion */
    width: 15%;
    text-align: center;
}
.publicationsTable.flex-table > .flex-row:nth-child(5) {/* Precio */
    width: 7%;
    text-align: center;
}
.publicationsTable.flex-table > .flex-row:nth-child(6) {/* Stock */
    width: 8%;
    text-align: center;
}
.publicationsTable.flex-table > .flex-row:nth-child(7) {/* Link */
    width: 5%;
    text-align: center;
}
.publicationsTable.flex-table > .flex-row:nth-child(8) {/* Forzar */
    width: 0%;
    text-align: center;
}
.statusColumn {/* Estado */
    width: 55% !important;
}


/* Estilos para las filas pares*/
.publicationsTable.flex-table.row:nth-child(2n) .flex-row {
    background-color: white;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* Estilos para las filas impares*/
.publicationsTable.flex-table.row:nth-child(2n+1) .flex-row {
    background-color: #dadada;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#flexTableEmptyRow>.flex-row {
    width: 100%;
    justify-content: center;
}

@media all and (max-width: 944px) {

}


@media all and (max-width: 804px) {

    .search-field-group{
        width: 70%;
    }
    .table-container {
        font-size: x-small;
    }
}

@media all and (max-width: 767px) {

    .search-field-group{
        width: 75%;
    }

    /* Se modifica la cantidad de columnas que no tengan la clase .top a 6
    en resoluciones por debajo de 767px  */
    .flex-row {
        width: calc(100% / 7);
    }

    .material-switch{
        padding-right: 3rem;
    }

    /* La clase top se utiliza como identificador de las columnas principales
    que estan fuera de las simples flex-row, en este caso son 2 [sku, producto] por eso 50% */
    .flex-row.top {
        width: 50%;
        border-bottom: solid 1px #d9d9d9;
    }
}

@media all and (max-width: 614px) {
}


@media all and (max-width: 490px) {


    .search-field-group{
        width: 100%;
    }

    .flex-table > .flex-row.last {
        display: unset;
    }

    /* En resoluciones móviles se aplica el 100% para cada columna */
    .flex-row {
        width: 100%;
    }

    /* En resoluciones móviles se ocultan las columnas sobrantes*/
    .publicationsTable.flex-row.variation-adder {
        display: none;
    }

    .flex-row.top {
        width: 50%;
        border-bottom: solid 1px #d9d9d9;
    }

    /* Ancho de las columnas*/
    .publicationsTable.flex-table > .flex-row:nth-child(n) {/* Todos los encabezados de la tabla */
        width: 100% !important;
        text-align: center;
        justify-content: center !important;
    }


    .column .flex-row {
        border-bottom: none;
        display: table-cell;
        width: 50%;
    }
}

@media all and (max-width: 340px) {

    .search-field-group{
        width: 100%;
    }

    .statusColumn {/* Estado */
        width: 100%;
        justify-content: center;
    }

    /* En resoluciones móviles se aplica el 100% para cada columna */
    .flex-row {
        width: 100%;
    }

    /* En resoluciones móviles se ocultan las columnas sobrantes*/
    .flex-row.variation-adder {
        display: none;
    }

    /* Ancho de las columnas*/
    .publicationsTable.flex-table > .flex-row:nth-child(n) {/* Todos los encabezados de la tabla */
        width: 100%;
        text-align: center;
    }
    .publicationsTable.flex-table > .flex-row.new-cell:nth-child(n) {/* Variacion | Valor */
        width: 100%;
    }
}
