:root {
    --main-bg-color: #FFF;
    --main-txt-color: #444;
    --main-border-color: #cfcfcf;
    --primary-bg-color: #444;
    --primary-txt-color: #FFF;
    --secondary-bg-color: #666;
    --secondary-txt-color: #FFF;
    --shadow: 0 4px 20px 0 rgb(0 0 0 / 15%)
}

.flex-dark-mode {
    --main-bg-color: #333;
    --main-txt-color: #FFF;
    --primary-txt-color: #444;
    --secondary-txt-color: #444;
    --primary-bg-color: #FFF;
    --secondary-bg-color: #DDD
}

.flex-bg-gradient {
    background: linear-gradient(135deg, var(--primary-bg-color), var(--secondary-bg-color));
    color: var(--primary-txt-color)
}

body .flex-dark-mode,
body.flex-dark-mode {
    background-color: #222
}

body {
    background-color: #f5f5f5;
    color: var(--main-txt-color);
    font-size: 100%;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    scroll-behavior: smooth;
    font-weight: 400
}

.flex-style h1 {
    margin: 0;
    font-size: 250%;
    font-weight: 700;
    color: var(--primary-bg-color)
}

.flex-style a {
    cursor: pointer
}

.bold {
    font-weight: 700
}

.semibold {
    font-weight: 600
}

.flex-box,
.flex-box-round,
.flex-style [class^=flex-table],
.flex-style fieldset {
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow);
    background-color: var(--main-bg-color)
}

.flex-box-round {
    border-radius: 20px
}

.flex-style [class^=flex-table],
.flex-style fieldset {
    padding: 0
}

.flex-style fieldset legend {
    background-color: var(--secondary-bg-color);
    color: var(--secondary-txt-color);
    padding: 6px 18px;
    border-radius: 30px;
    line-height: 1;
    margin-left: 20px;
    font-size: 80%;
    font-weight: 700
}

.flex-style fieldset.text-center legend {
    margin: auto
}

.flex-style input,
.flex-style select,
.flex-style textarea {
    padding: 5px 15px;
    background-color: transparent;
    border: 1px solid var(--main-border-color);
    border-radius: 30px
}

.flex-style ::placeholder,
.flex-style input,
.flex-style select,
.flex-style textarea {
    color: var(--main-txt-color)
}

.flex-style ::placeholder {
    opacity: .5
}

.flex-style input[type=checkbox] {
    height: auto
}

.flex-style select option {
    background: var(--main-bg-color);
    color: var(--main-txt-color)
}

.flex-style input:focus,
.flex-style select:focus,
.flex-style textarea:focus {
    outline: 0;
    box-shadow: inset 0 0 0 1px var(--primary-bg-color);
    border-color: var(--primary-bg-color)
}

.flex-style .button,
.flex-style button,
.flex-style input,
.flex-style select {
    height: 35px
}

.border,
.children-border>* {
    border: 1px solid var(--main-border-color)
}

.flex-form .flex-row {
    padding: 30px;
    gap: 20px
}

.flex-form .flex-col {
    gap: 10px;
    justify-content: flex-end;
    flex: 0 1 calc(20% - 20px);
    min-width: 200px
}

.flex-form .flex-col>* {
    min-width: 0;
    width: 100%
}

.flex-form .label,
.flex-form label {
    font-size: 80%;
    font-weight: 700
}

.button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    border: 2px solid var(--primary-bg-color);
    border-radius: 30px;
    padding: 5px 20px;
    cursor: pointer;
    transition: .25s
}

a.button {
    text-decoration: none
}

.button.primary {
    background-color: var(--primary-bg-color);
    color: var(--primary-txt-color)
}

.button.secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-bg-color);
    color: var(--secondary-bg-color)
}

.button:hover {
    filter: brightness(1.25)
}

[class^=flex-table] {
    border-collapse: collapse
}

[class^=flex-table] th {
    font-weight: 700;
    font-size: 80%;
    text-transform: uppercase
}

[class^=flex-table] td,
[class^=flex-table] th {
    text-align: left;
    padding: 20px 30px;
    border-bottom: 1px solid var(--main-border-color)
}

[class^=flex-table] tr:last-child td {
    border-bottom: none
}

[class^=flex-table] tbody tr {
    transition: .25s
}

[class^=flex-table] tbody tr:hover {
    background-color: rgba(0, 0, 0, .03)
}

.flex-dark-mode [class^=flex-table] tbody tr:hover {
    background-color: rgba(255, 255, 255, .05)
}

[class^=flex-table] td:first-child,
[class^=flex-table] th:first-child {
    padding-left: 40px
}

[class^=flex-table] td:last-child,
[class^=flex-table] th:last-child {
    padding-right: 40px
}

.flex-paginator {
    display: flex;
    flex-direction: row;
    gap: 5px
}

.flex-paginator .page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1;
    padding: 5px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    width: 30px;
    height: 30px;
    font-size: 90%;
    color: var(--main-txt-color);
    cursor: pointer;
    transition: .25s
}

.flex-paginator .page.current {
    border: 1px solid var(--main-txt-color)
}

.flex-paginator .page:hover {
    border: 1px solid var(--main-txt-color)
}

.flex-droplist {
    position: relative;
    width: max-content
}

.flex-droplist .txt {
    display: block;
    padding: 10px;
    font-weight: 700;
    line-height: 1;
    font-size: 150%;
    cursor: pointer
}

.flex-droplist .menu {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background-color: var(--main-bg-color);
    box-shadow: var(--shadow);
    opacity: 0;
    z-index: -1;
    transition: .25s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.flex-droplist:hover .menu {
    opacity: 1;
    z-index: 1
}

.flex-droplist .menu .opt {
    padding: 10px 20px;
    text-decoration: none;
    transition: .25s;
    background-color: var(--main-bg-color);
    color: var(--main-txt-color);
    white-space: nowrap
}

.flex-droplist .menu .opt:first-child {
    padding-top: 20px;
    border-radius: 20px 20px 0 0
}

.flex-droplist .menu .opt:last-child {
    border-radius: 0 0 20px 20px;
    padding-bottom: 20px
}

.flex-droplist .menu .opt:hover {
    background-color: rgba(0, 0, 0, .05)
}

.flex-dark-mode [class~=".flex-flavor"] *,
.flex-dark-mode[class~=".flex-flavor"] * {
    --primary-txt-color: #444;
    --secondary-txt-color: #444
}

.flex-flavor-1 {
    --primary-bg-color: #E55D87;
    --primary-txt-color: #FFF;
    --secondary-bg-color: #5FC3E4
}

.flex-flavor-2 {
    --primary-bg-color: #16A085;
    --primary-txt-color: #FFF;
    --secondary-bg-color: #F4D03F
}

.flex-flavor-3 {
    --primary-bg-color: #FEAC5E;
    --secondary-bg-color: #4BC0C8
}

.flex-flavor-4 {
    --primary-bg-color: #D31027;
    --primary-txt-color: #FFF;
    --secondary-bg-color: #EA384D;
    --secondary-txt-color: #FFF
}

.flex-flavor-5 {
    --primary-bg-color: #ffa726;
    --secondary-bg-color: #ffc61b
}

.flex-flavor-6 {
    --primary-bg-color: #ffc107;
    --secondary-bg-color: #8bc34a
}

.flex-flavor-7 {
    --primary-bg-color: #4caf50;
    --primary-txt-color: #FFF;
    --secondary-bg-color: #8bc34a;
    --secondary-txt-color: #FFF
}

.flex-flavor-8 {
    --primary-bg-color: #00bcd4;
    --secondary-bg-color: #04e3ff
}

.flex-flavor-9 {
    --primary-bg-color: #ec77ab;
    --secondary-bg-color: #f8bad6
}

.flex-flavor-10 {
    --primary-bg-color: #C850C0;
    --primary-txt-color: #FFF;
    --secondary-bg-color: #c144d6;
    --secondary-txt-color: #FFF
}

@media only screen and (max-width:764px) {
    .flex-style h1 {
        text-align: center;
        font-size: 175%
    }

    .flex-style fieldset legend {
        margin: auto
    }

    .flex-form .flex-col {
        flex-grow: 1
    }
}