/* Ancho de las columnas*/
.ordersTable.flex-table > .flex-row:nth-child(1) {/* Marketplace */
    width: 7%;
}
.ordersTable.flex-table > .flex-row:nth-child(2) {/* Forma de pago */
    width: 7%;
}
.ordersTable.flex-table > .flex-row:nth-child(3) {/* ID Orden */
    width: 11%;
}
.ordersTable.flex-table > .flex-row:nth-child(4) {/* Fecha */
    width: 7%;
}
.ordersTable.flex-table > .flex-row:nth-child(5) {/* Cliente */
    width: 30%;
    justify-content: left;
}
.ordersTable.flex-table > .flex-row:nth-child(6) {/* Envio */
    width: 5%;
}
.ordersTable.flex-table > .flex-row:nth-child(7) {/* Total Orden */
    width: 7%;
}
.ordersTable.flex-table > .flex-row:nth-child(8) {/* Transportista */
    width: 11%;
}
.ordersTable.flex-table > .flex-row:nth-child(9) {/* Estado */
    width: 9%;
}
.ordersTable.flex-table > .flex-row:nth-child(10) {/* Sincro. */
    width: 4%;
}
.ordersTable.flex-table > .flex-row:nth-child(11) {/* Boton editar. */
    width: 2%;
    justify-content: left;
}
/* Estilos para las filas pares*/
.ordersTable.flex-table.row:nth-child(2n) .flex-row {
    background-color: white;
    align-content: center;
    align-items: center;
}

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

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

@media all and (max-width: 944px) {
    .ordersTable.flex-table > .flex-row:nth-child(2) {/* Forma de pago */
        width: 9%;
    }
    .ordersTable.flex-table > .flex-row:nth-child(4) {/* Fecha */
        width: 10%;
    }
    .ordersTable.flex-table > .flex-row:nth-child(5) {/* Cliente */
        width: 25%;
    }
}

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

    .ordersTable.flex-table > .flex-row:nth-child(2) {/* Forma de pago */
        width: 9%;
    }
    .ordersTable.flex-table > .flex-row:nth-child(4) {/* Fecha */
        width: 10%;
    }
    .ordersTable.flex-table > .flex-row:nth-child(5) {/* Cliente */
        width: 25%;
    }
    .search-field-group{
        width: 70%;
    }
    .table-container {
        font-size: x-small;
    }
}

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

    .ordersTable.flex-table > .flex-row:nth-child(2) {/* Forma de pago */
        width: 9%;
    }
    .ordersTable.flex-table > .flex-row:nth-child(4) {/* Fecha */
        width: 10%;
    }
    .ordersTable.flex-table > .flex-row:nth-child(5) {/* Cliente */
        width: 25%;
    }

    .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% / 11);
    }

    .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) {

    .ordersTable.flex-table > .flex-row:nth-child(5) {/* Cliente */
        justify-content: center;
    }
    .ordersTable.flex-table > .flex-row:nth-child(11) {/* Boton Edit */
        justify-content: center;
    }
    .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*/
    .flex-row.variation-adder {
        display: none;
    }

    /* Se mantiene el esquema  [sku, producto] al 50% cada una y el resto debajo c/u al 100%*/
    .flex-row.top {
        width: 50%;
        border-bottom: solid 1px #d9d9d9;
    }

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


    .ordersTable.flex-table:first-of-type .flex-row {
        background: white;
        border-bottom: 1px solid black;
        font-weight: bold;
        color: black;
    }

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

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

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

    /* 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*/
    .ordersTable.flex-table > .flex-row:nth-child(n) {/* Todos los encabezados de la tabla */
        width: 100%;
        text-align: center;
    }
}