/* latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Open Sans Light'), local('OpenSans-Light'), url(/static/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Open Sans Regular'), local('OpenSans-Regular'), url(/static/mem8YaGs126MiZpBA-UFVZ0b.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url(/static/mem5YaGs126MiZpBA-UNirkOUuhp.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Open Sans Bold'), local('OpenSans-Bold'), url(/static/mem5YaGs126MiZpBA-UN7rgOUuhp.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

::placeholder { 
    opacity: 0.4;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Helvetica Neue, Arial, sans-serif, Microsoft YaHei;
    font-size: 11px;
    color: rgb(97, 100, 102);
    background: rgb(247, 250, 252);
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px 0;
    font-weight: 300;
}

.main-content {
    background-color: rgb(247, 250, 252);
}

small {
    font-size: 0.8em;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    line-height: 110%;
}

*:focus {
    outline: none;
}

input, select, textarea,.textarea {
    font-size: inherit;
    color: inherit;
    border: 1px solid rgb(236, 239, 241);
}

input, select {
    height: 14px;
}

button {
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid #e7e7e7;
    padding: 0 10px;
    color: inherit;
    font-size: inherit;
}

th, strong, b, .strong {
    font-weight: 700;
}

th, td {
    padding: 0;
    white-space: nowrap;
    text-align: center;
}

table.table-striped tr:nth-child(even) {
    background: #f4f4f4;
}

tr:hover {
    background: rgba(226, 252, 229, 0.6) !important;
}

.deleting {
    background: #ffe2a8 !important;
}

.gap-div {
    width: 50px;
    display: inline-block;
}

.warning {
    background: rgb(255, 248, 235) !important;
}

.danger {
    background: rgb(255, 240, 240) !important;
}

.red {
    background: #ff5252 !important;
}

.orange {
    background: #ff9c38 !important;
}

.green {
    background: #00af4c !important;
}

.text-red {
    color: #ff5252 !important;
}

.text-orange {
    color: #ff9c38 !important;
}

a, .text-green {
    color: #00af4c !important;
}

.text-gray {
    color: #bbb;
}

.items-checkbox {
    position: relative;
    top: 3px;
    cursor: pointer;
}

/*loading*/
.lds-dual-ring {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    margin-left: -18px;
    margin-top: -18px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 36px;
    height: 36px;
    margin: 1px;
    border-radius: 50%;
    border-width: 4px;
    border-style: solid;
    border-color: #ff9c38 transparent #ff9c38 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

button:disabled {
    text-decoration-line: line-through;
    opacity: 0.3;
}

/* Dark mode */
html[class~=dark] .sun {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: rgb(247, 250, 252);
}

html:not(.dark) .moon {
    position: relative;
    top: -0px;
    left: -7px;
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    box-shadow: 4px 1px 0 #181818;
}

html[class~=dark] body {
    color: #ccc;
    background-color: #181818;
}

html[class~=dark] .main-content {
    background-color: #181818;
}

html[class~=dark] table.table-striped tr:nth-child(even) {
    background: #181818;
}

html[class~=dark] table.table-striped tr:nth-child(odd) {
    background: #363636;
}

html[class~=dark] th, html[class~=dark] td {
    border-left: none;
    border-right: none;
}

html[class~=dark] tr:hover {
    background: #3b3b3b !important;
}

html[class~=dark] input, html[class~=dark] select, html[class~=dark] textarea {
    color: #ccc;
    background: #363636;
    border: 1px solid #181818;
}

html[class~=dark] button {
    border: none;
    background: rgb(44, 44, 44);
}

html[class~=dark] .warning {
    background: rgb(57, 35, 13) !important;
}

html[class~=dark] .danger {
    background: rgb(49, 16, 16) !important;
}

html[class~=dark] .red {
    background: #ca4040 !important;
}

html[class~=dark] .orange {
    background: #d2822f !important;
}

html[class~=dark] .green {
    background: #009842 !important;
}

html[class~=dark] .text-red {
    color: #ca4040 !important;
}

html[class~=dark] .text-orange {
    color: #d2822f !important;
}

html[class~=dark] a, html[class~=dark] .text-green {
    color: #009842 !important;
}

html[class~=dark] .text-gray {
    color: #888 !important;
}
