[data-flex] {
    display: flex
}

[data-flex]>* {
    display: block
}

[data-flex]>[data-flex] {
    display: flex
}

[data-flex~="dir:left"] {
    flex-direction: row
}

[data-flex~="dir:right"] {
    flex-direction: row-reverse;
    -webkit-box-pack: end
}

[data-flex~="dir:top"] {
    flex-direction: column
}

[data-flex~="dir:bottom"] {
    flex-direction: column-reverse;
    -webkit-box-pack: end
}

[data-flex~="main:left"] {
    justify-content: flex-start
}

[data-flex~="main:right"] {
    justify-content: flex-end
}

[data-flex~="main:justify"] {
    justify-content: space-between
}

[data-flex~="main:center"] {
    justify-content: center
}

[data-flex~="cross:top"] {
    align-items: flex-start
}

[data-flex~="cross:bottom"] {
    align-items: flex-end
}

[data-flex~="cross:center"] {
    align-items: center
}

[data-flex~="cross:baseline"] {
    align-items: baseline
}

[data-flex~="cross:stretch"] {
    align-items: stretch
}

[data-flex~="box:first"]>*,[data-flex~="box:justify"]>*,[data-flex~="box:last"]>*,[data-flex~="box:mean"]>* {
    width: 0;
    height: auto;
    flex-grow: 1;
    flex-shrink: 1
}

[data-flex~="box:first"]>:first-child,[data-flex~="box:justify"]>:first-child,[data-flex~="box:justify"]>:last-child,[data-flex~="box:last"]>:last-child {
    width: auto;
    flex-grow: 0;
    flex-shrink: 0
}

[data-flex~="dir:bottom"][data-flex~="box:first"]>*,[data-flex~="dir:bottom"][data-flex~="box:justify"]>*,[data-flex~="dir:bottom"][data-flex~="box:last"]>*,[data-flex~="dir:bottom"][data-flex~="box:mean"]>*,[data-flex~="dir:top"][data-flex~="box:first"]>*,[data-flex~="dir:top"][data-flex~="box:justify"]>*,[data-flex~="dir:top"][data-flex~="box:last"]>*,[data-flex~="dir:top"][data-flex~="box:mean"]>* {
    width: auto;
    height: 0;
    flex-grow: 1;
    flex-shrink: 1
}

[data-flex~="dir:bottom"][data-flex~="box:first"]>:first-child,[data-flex~="dir:bottom"][data-flex~="box:justify"]>:first-child,[data-flex~="dir:bottom"][data-flex~="box:justify"]>:last-child,[data-flex~="dir:bottom"][data-flex~="box:last"]>:last-child,[data-flex~="dir:top"][data-flex~="box:first"]>:first-child,[data-flex~="dir:top"][data-flex~="box:justify"]>:first-child,[data-flex~="dir:top"][data-flex~="box:justify"]>:last-child,[data-flex~="dir:top"][data-flex~="box:last"]>:last-child {
    height: auto;
    flex-grow: 0;
    flex-shrink: 0
}

[data-flex-box="0"] {
    flex-grow: 0;
    flex-shrink: 0
}

[data-flex-box="1"] {
    flex-grow: 1;
    flex-shrink: 1
}

[data-flex-box="2"] {
    flex-grow: 2;
    flex-shrink: 2
}

[data-flex-box="3"] {
    flex-grow: 3;
    flex-shrink: 3
}

[data-flex-box="4"] {
    flex-grow: 4;
    flex-shrink: 4
}

[data-flex-box="5"] {
    flex-grow: 5;
    flex-shrink: 5
}

[data-flex-box="6"] {
    flex-grow: 6;
    flex-shrink: 6
}

[data-flex-box="7"] {
    flex-grow: 7;
    flex-shrink: 7
}

[data-flex-box="8"] {
    flex-grow: 8;
    flex-shrink: 8
}

[data-flex-box="9"] {
    flex-grow: 9;
    flex-shrink: 9
}

[data-flex-box="10"] {
    flex-grow: 10;
    flex-shrink: 10
}