.display,
.display-row,
.display-center {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 5px 5px 5px;
    box-sizing: border-box;
    background-color: #FFF;
}

.display-row {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
}

.display-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-info,
.flex-row {
    display: flex;
    flex-direction: row;
    height: auto;
    gap: 15px;
    align-items: center;
    box-sizing: border-box;
    justify-content: space-between;
    flex: 1;
}

.flex-row:has(> .flex-iten:only-child) {
    justify-content: flex-end;
}

.flex-table {
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
}

.display>.flex-row,
.flex-column>.flex-row {
    flex: none;
    width: 100%;
    height: auto;
}

.flex-row:has(.flex-column) {
    align-items: flex-start;
}

.flex-row:has(.flex-iten:has(input)) {
    max-height: 60px;
}

.flex-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    flex: 1;
}

.display>.flex-column {
    flex: 0;
}

.flex-column>.flex-row:has(input, select, a) {
    max-height: 60px;
}

.flex-iten {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    min-height: 60px;
    box-sizing: border-box;
}

.flex-iten:has(a) {
    justify-items: center;
    justify-content: flex-end;
    align-items: center;
    max-height: 60px;
    max-width: fit-content;
}

.flex-iten:has(input, select, img, label) {
    max-width: 100%;
}

.flex-iten:has(label) {
    justify-items: center;
}

.flex-column>.flex-iten:has(a) {
    flex: 1;
    max-width: 100%;
}

.flex-column>.flex-iten>a {
    max-height: 40px;
    max-width: 100%;
    width: 100%;
}

.footer-buttons {
    justify-content: flex-end;
}

.footer-buttons .flex-iten:has(a) {
    justify-items: center;
    justify-content: center !important;
}

.flex-row>.flex-iten:has(a) {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.flex-iten a {
    display: flex;
    width: 140px;
    max-width: 140px;
    height: 35px;
    align-items: center;
    justify-items: center;
    justify-content: center;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 15px;
    line-height: 1.42857143;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
}

.flex-iten a:has(i) {
    width: 30px;
    max-width: 30px;
    height: 30px;
    max-height: 30px;
}

.flex-iten a>i {
    color: #fff !important;
}

.flex-iten a:focus,
.flex-iten a:active:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.flex-iten a:hover,
.flex-iten a:focus {
    font-weight: bold;
    text-decoration: none;
}

.flex-iten a:active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.flex-iten:has(img) {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
    justify-items: center;
    box-sizing: border-box;
}

.flex-iten img {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1%;
    cursor: pointer;
}

.flex-info-sm,
.flex-info {
    text-align: center;
    justify-content: center;
    background-color: #f0f0f0;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
}

.flex-info:has(spam),
.flex-info-sm {
    justify-content: flex-start;
    height: 35px;
    min-height: 35px;
    max-height: 35px;
}

.flex-info legend {
    color: #ff7f50;
    font-weight: 650;
    padding: 0;
    margin: 0;
    width: fit-content;
    border: unset;
}

.flex-info-sm legend {
    font-weight: 575;
}

.flex-info-lg:has(spam) {
    justify-content: center;
}

.flex-info-lg spam,
.flex-info spam {
    font-weight: 450;
    width: fit-content;
}

.flex-info-lg spam {
    font-weight: 550;
    font-size: 1.1em;
}

.flex-start-jc {
    justify-content: flex-start;
}

.flex-center-jc {
    justify-content: center;
}

.flex-start-ji {
    align-items: flex-start;
}

.flex-center-ji {
    align-items: center;
}

.flex-start-ai {
    align-items: flex-start;
}

.flex-center-ai {
    align-items: center;
}

.flex-row:has(small) {
    align-items: flex-start;
    justify-content: flex-start;
}

.flex-row small {
    font-size: 0.8em;
    font-weight: 500;
}

.flex-0,
.flex-1,
.flex-2,
.flex-3,
.flex-4,
.flex-5,
.flex-6,
.flex-7,
.flex-8,
.flex-9 {
    flex: 0;
    width: unset !important;
    height: unset !important;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.flex-4 {
    flex: 4;
}

.flex-5 {
    flex: 5;
}

.flex-6 {
    flex: 6;
}

.flex-7 {
    flex: 7;
}

.flex-8 {
    flex: 8;
}

.flex-9 {
    flex: 9;
}