/* @import url("https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i");
@import url("https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i"); */

* {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
    flex-shrink: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #f3f3f4;
    font-family: "Roboto";
    font-size: 16px;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}

p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}
h1 {
  font-size: 1.875em;
}
h2 {
  font-size: 1.5em;
}
h3 {
  font-size: 1em;
}
h4 {
  font-size: 0.875em;
}
h5 {
  font-size: 0.75em;
}
h6 {
  font-size: 0.625em;
}
h3, h4, h5 {
  font-weight: 600;
}


p {
    font-size: 0.8125em;
}

a {
    color: rgb(85, 26, 139);
    text-decoration: none;
}

a:hover {
    opacity: 0.5;
}

.clickable, [clickable] {
    cursor: pointer;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

button, select {
    text-transform: none;
}

button {
    -webkit-appearance: button;
    cursor: pointer;

    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 0.875em;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 3px;
}

button.ok {
    background-color: #18a689;
    color: #FFFFFF;
}

button.error {
    background-color: red;
    color: white;
    border-radius: 1px;
}

button.warning {
    background-color: #ff8800;
    color: white;
    border-radius: 1px;
}

.upper {
    text-transform: uppercase;
}

input, select, textarea {
    background-color: #f5f5f5;
    color: #050406;
    border: 2px solid #ddd;
    border-radius: 2px;
    padding: 8px 6px;
}

input:focus {
    outline: 0;
    border-color: #1ab394;
}

input.error {
    border: 1px dotted #cc5965;
}

error {
    font-size: 0.8125em;
    display: block;
    text-align: left;
    color: red;
    margin-left: 4px;
}

p error {
    font-size: 1.09em;
    display: inline;
    text-align: inherit;
    margin: inherit;
    font-weight: 600;
}

ok {
    font-size: 1.2em;
    display: inline;
    text-align: inherit;
    margin: inherit;
    font-weight: 600;
    color: green;
}

expanse {
    display: block;
    position: relative;
    flex-shrink: 100;
    flex-grow: 100;
}

br2 {
    display: block;
    position: relative;
    height: 8px;
}
br4 {
    display: block;
    position: relative;
    height: 16px;
}
br8 {
    display: block;
    position: relative;
    height: 64px;
}

footer {
    padding: 10px 20px;
    border-top: 1px solid #e7eaec;
    background-color: white;
}

.logo-name {
  color: #e6e6e6;
  font-size: 11em;
  font-weight: 800;
  margin: 0;
  padding: 0 0 16px 0;
  line-height: 77%;
}


.all-space {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

centered-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: center;
    overflow: hidden auto;
}

centered-box2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

centered-box2 > * {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    flex-shrink: 1;
    width: 330px;
    margin: 4px;
}

/* menu-box */

menu-box {
    display: block;
    position: relative;
    width: 220px;
    font-size: 16px;
    transition: all 0.25s;
    overflow: hidden;
}

menu-box > div {
    display: block;
    position: relative;
    width: 220px;
}

menu-box span[second] {
    display: none;
}

menu-box > div > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #a7b1c2;
    font-weight: 600;
    font-size: 0.8125em;
    position: relative;
    display: block;
}

menu-box > div > ul > li {
    padding: 16px 20px 16px 27px;
    position: relative;
    display: block;
}

menu-box > div > ul > li.active {
    border-left: 4px solid #f39c10;
    background: #293850;
}

menu-box > div > ul > li[head] {
    padding: 33px 25px;
}

menu-box > div > ul > li > a {
    color: inherit;
    position: relative;
    display: block;
}

menu-box > div > ul > li > a > i {
    margin-right: 6px;
}

menu-box.mode2 {
    width: 70px;
}

menu-box.mode2 > div {
    width: 70px;
}

menu-box.mode2 > div > ul {
    font-size: inherit;
}

menu-box.mode2 > div > ul > li[head] {
    padding: 20px 0;
    background: #f39c10;
}

menu-box.mode2 span {
    display: none;
}
menu-box.mode2 span[second] {
    display: block;
    font-size: 1.125em;
    text-align: center;
    font-weight: 600;
    color: white;
}

@media (max-width: 900px) {
    menu-box {
        width: 0;
    }
}

div[page404] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    font-weight: 800;
    text-align: center;
}

table.main-list-table td[space] {
    width: 18px;
}

table.main-list-table tr td {
    margin: 0;
    padding: 6px;
}

table.main-list-table {
    font-size: 0.84em;
    margin: 8px 0 48px 2px;
}

[files] table.main-list-table {
    word-break: break-word;
}

table.main-list-table thead {
    word-break: normal;
}

table.main-list-table td.nobreak {
    word-break: normal;
}

table.main-list-table thead th {
    border: none;
    background-color: #A0A0A0;
    color: white;
    font-weight: 600;
    padding-top: 2px;
    padding-bottom: 2px;
}

table.main-list-table td {
    border: 1px solid #e7eaec;
    background-color: white;
}

div[files] tr[group_row] td {
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    font-weight: 600;
    font-size: 1.04em;
    background-color: #e2e2e2;
}

div[files] tr[file_row] td[space] {
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

div[files] tr[file_row] td[space2] {
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
}

table.main-list-table {
    border-collapse: collapse;
    border-spacing: 2px;
    width: 100%;
}
div[files] tr td[actions] {
    margin: 0;
    padding: 3px 0 0 3px;
    font-size: 18px;
    letter-spacing: 0.1em;
}

div[files] tr td[actions] * {
    margin: 0 0 3px 0;
}

div[files] tr td > i[clickable] {
    font-size: 18px;
}

div[files] tr td > i[clickable][remove] {
    float: right;
    color: red;
}

div[files] [actions] [download] {
    color: #00c2ff;
}

div[files] [actions] [preview] {
    color: #227098;
}

div[files] [actions] [upload] {
    color: #00a53d;
}

div[files] [actions] [cancel] {
    color: #ff5757;
}

div[files] audio {
    height: 28px;
    width: 100%;
    zoom: 0.8;
}

div[files] div[preview_area] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

div[files] div[preview_area] img {
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: ;
}

div[files] div[close1] {
    position: fixed;
    right: 41px;
    top: 68px;
    font-size: 26px;
    overflow: visible;
    color: white;
    z-index: 10;
    cursor: pointer;
    text-shadow: 0 0 8px black;
    font-weight: 600;
}

div[files] div[close2] {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

div[files] div[preview_area] object {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

div[files] span[total] {
    float: right;
}

div[files] tr.error td {
    background-color: #ffcaca;
}

div[files] tr[file_row] td[user] span.yourself {
    font-style: italic;
    opacity: 0.4;
}

div[files] tr[file_row].for_remove {
    text-decoration: line-through;
    opacity: 0.7;
}

div[files] tr[file_row].for_remove [clickable] {
    display: none;
}

[confirm_group] {
    position: relative;
    width: 100%;
    overflow: visible;
}

[confirm_group] [remove_confirm] {
    position: absolute;
    border: 1px solid #b6b9bb;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    background-color: #ffdcaf;
    z-index: 9999;
    right: 0;
    top: -5px;
    white-space: nowrap;
}
[confirm_group] [remove_confirm] button[yes] {
    float: left;
}
[confirm_group] [remove_confirm] button[no] {
    float: right;
    padding-left: 40px;
    padding-right: 40px;
    font-weight: 600;
}
[confirm_group] [remove_confirm] button {
    margin-top: 4px;
}

[confirm_group] [confirm_muar] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0.3;
    z-index: 9998;
}

[debt_timeline] div[account].dt-account span {
    font-size: 0.9em;
}
[debt_timeline] div[account].dt-transaction span {
    color: #907560;
}
[debt_timeline] div[account].dt-tags span {
    color: white;
    background: #35B45A;
    font-size: 0.85em;
}

[debt_timeline] div[account].dt-reason span {
    color: #8899AA;
    font-size: 0.85em;
    font-style: italic;
}

[debt_timeline] div[account].dt-speed span {
    color: #8899AA;
    font-size: 0.85em;
    font-style: italic;
}

[debt_timeline] div[account].dt-date span {
    /* color: #335599;
    font-weight: bold; */
    font-size: 0.95em;
}
[debt_timeline] div[account].dt-user span {
    color: #335566;
    font-size: 0.95em;
    font-style: italic;
}

[debt_timeline] div.debt-period-selector {
    margin: 8px;
    text-align: right;
    font-size: 0.8em;
}

[debt_timeline] div.debt-period-selector span {
    margin: 0 0 0 4px;
    padding: 4px 12px;
    border-radius: 2px;
    font-weight: bold;
    cursor: pointer;
    color: #445599;
}

[debt_timeline] div.debt-period-selector span.selected {
    background-color: #445599;
    color: #EEEFFF;
}

[debt_timeline] div[not_found] {
    margin: 60px 3px 3px 3px;
    font-size: 2em;
    font-weight: bold;
    color: #999999;
    text-align: center;
}

[debt_timeline] table tbody tr.dt-timeline-vioded {
    text-decoration: line-through;
    color: red;
}

[debt_timeline] table tbody td {
    color: black;
}

[debt_timeline] table.main-list-table {
    word-break: break-word;
}



/* fullapp-box */

app-box {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden auto;
}

app-box > div {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-height: 100%;
}

app-box > div > menu-box {
    flex-shrink: 0;
    flex-grow: 0;
    background-color: #091f3b;;
}

app-box > div > side-box {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100px;
    flex-shrink: 1;
    flex-grow: 1;
    background-color: #f3f3f4;
}

app-box > div > side-box > fasttop-bar {
    position: relative;
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: baseline;
    padding: 0 15px;
}

app-box > div > side-box > fasttop-bar > * {
    flex-grow: 0;
    flex-shrink: 0;
}

app-box > div > side-box > fasttop-bar > spacer {
    flex-grow: 10;
    flex-shrink: 10;
    width: 10px;
    display: block;
    position: relative;
}

app-box > div > side-box > fasttop-bar > a {
    font-size: 0.9em;
    font-weight: 600;
    color: #121314;
    margin: 0 10px;
}

app-box > div > side-box content-box {
    flex-grow: 1;
}

fasttop-bar a i {
    margin-right: 6px;
    font-size: 18px;
    vertical-align: -0.06em;
}

submenu-box {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 20px 26px;
    display: block;
    margin: 0 0 8px;
    background: white;
}

submenu-box h2 {
    text-transform: uppercase;
    font-weight: 500;
}

submenu-box > div {
    margin-top: 8px;
    color: rgba(5,4,6,0.5);
    font-size: 0.8125em;
}

submenu-box a {
    color: rgb(5,4,6);
}

@media (max-width: 900px) {
    body {
        font-size: 15px;
    }

    app-box > div > side-box > fasttop-bar {
        height: 38px;
        padding: 0 8px;
    }

    fasttop-bar a i {
        margin-right: 3px;
    }

    app-box > div > side-box > fasttop-bar > a {
        margin: 0 8px;
    }

    submenu-box {
        padding: 16px 20px;
        margin: 0 0 6px;
    }

    submenu-box > div {
        margin-top: 5px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    /*
    app-box > div > side-box > fasttop-bar {
        height: 30px;
        padding: 0 3px;
    }
    */

    fasttop-bar > a > span {
        display: none;
    }

    submenu-box {
        padding: 10px 13px;
        margin: 0 0 3px;
    }

    submenu-box > div {
        margin-top: 2px;
    }
}
