@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css2?family=Phudu:wght@500&display=swap');

html, body
{
    overflow-x: hidden;
    padding: 0 !important;
    font-family: 'Roboto', sans-serif;
}

body::-webkit-scrollbar,
div::-webkit-scrollbar,
ul::-webkit-scrollbar,
tbody::-webkit-scrollbar
{
    width: 0.5em;
    height: 0.5em;
    z-index: 1010;
    background: #999;
}

body::-webkit-scrollbar-thumb,
div::-webkit-scrollbar-thumb,
ul::-webkit-scrollbar-thumb,
tbody::-webkit-scrollbar-thumb
{
    background-color: #03a9f4;
    outline: 1px solid #3c3c3c;
    position: relative;
    right: 0.5em;
}

table tr.receivable td:nth-child(1)
{
    border-left: 5px solid #4CAF50;
}

table tr.payable td:nth-child(1)
{
    border-left: 5px solid #FF5722;
}

table td rb
{
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px;
}

table td div.cover
{
    width: 32px;
    height: 32px;
    margin: 0 auto;
    border-radius: 50%;
    background-size: cover;
    transition: all .3s ease;
    background-color: #e5e5e5;
    background-position: center;
    background-repeat: no-repeat;
}

.table-actions th:last-child,
.table-actions td:last-child
{
    width: 12px;
}

.text-left{text-align: left}
.text-right{text-align: right}
.text-center{text-align: center}

.main-container
{
    right: 0;
    left: 50px;
    top: 114px;
    bottom: 60px;
    position: fixed;
    overflow-y: auto;
}

.main-container.home
{
    top: 62px;
}

.main-container .panel,
.main-container .panel-group
{
    margin-bottom: 0;
}

.main-container.container-modal
{
    padding: 0 0 60px;
}

.main-container.container-modal footer
{
    left: 0;
}

.main-container .page
{
    right: 0;
    top: 62px;
    left: 50px;
    z-index: 1001;
    font-size: 18px;
    position: fixed;
    background-color: #fff;
    transition: all .3s ease;
}

.main-container .page i.fa,
.main-container .page i.fas
{
    color: #fff;
    width: 52px;
    height: 52px;
    padding: 12px;
    font-size: 24px;
    text-align: center;
    margin-right: 10px;
}

.main-container .page-bill i.fa,
.main-container .page-bill i.fas
{
    background-color: #f44336;
}

.main-container .page .btn-bill{
    right: 0;
    width: 52px;
    height: 52px;
    display: none;
    position: absolute;
    color: #fff !important;
    transition: .3s all ease;
    background-color: #f44336;
    border-color: #ea392c;
}

.main-container .page .btn-bill:focus,
.main-container .page .btn-bill:hover,
.main-container .page .btn-bill:active
{
    background-color: #e02f22;
    border-color: #d62518;
}
.main-container .page-company i.fa,
.main-container .page-company i.fas
{
    background-color: #009688;
}

.main-container .page .btn-company{
    right: 0;
    width: 52px;
    height: 52px;
    display: none;
    position: absolute;
    color: #fff !important;
    transition: .3s all ease;
    background-color: #009688;
    border-color: #008c7e;
}

.main-container .page .btn-company:focus,
.main-container .page .btn-company:hover,
.main-container .page .btn-company:active
{
    background-color: #008274;
    border-color: #00786a;
}
.main-container .page-general i.fa,
.main-container .page-general i.fas
{
    background-color: #607d8b;
}

.main-container .page .btn-general{
    right: 0;
    width: 52px;
    height: 52px;
    display: none;
    position: absolute;
    color: #fff !important;
    transition: .3s all ease;
    background-color: #607d8b;
    border-color: #567381;
}

.main-container .page .btn-general:focus,
.main-container .page .btn-general:hover,
.main-container .page .btn-general:active
{
    background-color: #4c6977;
    border-color: #425f6d;
}
.main-container .page-financial i.fa,
.main-container .page-financial i.fas
{
    background-color: #ff9800;
}

.main-container .page .btn-financial{
    right: 0;
    width: 52px;
    height: 52px;
    display: none;
    position: absolute;
    color: #fff !important;
    transition: .3s all ease;
    background-color: #ff9800;
    border-color: #f58e00;
}

.main-container .page .btn-financial:focus,
.main-container .page .btn-financial:hover,
.main-container .page .btn-financial:active
{
    background-color: #eb8400;
    border-color: #e17a00;
}
.main-container .page-person i.fa,
.main-container .page-person i.fas
{
    background-color: #795548;
}

.main-container .page .btn-person{
    right: 0;
    width: 52px;
    height: 52px;
    display: none;
    position: absolute;
    color: #fff !important;
    transition: .3s all ease;
    background-color: #795548;
    border-color: #6f4b3e;
}

.main-container .page .btn-person:focus,
.main-container .page .btn-person:hover,
.main-container .page .btn-person:active
{
    background-color: #654134;
    border-color: #5b372a;
}
.main-container .page-report i.fa,
.main-container .page-report i.fas
{
    background-color: #e91e63;
}

.main-container .page .btn-report{
    right: 0;
    width: 52px;
    height: 52px;
    display: none;
    position: absolute;
    color: #fff !important;
    transition: .3s all ease;
    background-color: #e91e63;
    border-color: #df1459;
}

.main-container .page .btn-report:focus,
.main-container .page .btn-report:hover,
.main-container .page .btn-report:active
{
    background-color: #d50a4f;
    border-color: #cb0045;
}
.main-container .page-stock i.fa,
.main-container .page-stock i.fas
{
    background-color: #2196f3;
}

.main-container .page .btn-stock{
    right: 0;
    width: 52px;
    height: 52px;
    display: none;
    position: absolute;
    color: #fff !important;
    transition: .3s all ease;
    background-color: #2196f3;
    border-color: #178ce9;
}

.main-container .page .btn-stock:focus,
.main-container .page .btn-stock:hover,
.main-container .page .btn-stock:active
{
    background-color: #0d82df;
    border-color: #0378d5;
}
.main-container .page-user i.fa,
.main-container .page-user i.fas
{
    background-color: #9c27b0;
}

.main-container .page .btn-user{
    right: 0;
    width: 52px;
    height: 52px;
    display: none;
    position: absolute;
    color: #fff !important;
    transition: .3s all ease;
    background-color: #9c27b0;
    border-color: #921da6;
}

.main-container .page .btn-user:focus,
.main-container .page .btn-user:hover,
.main-container .page .btn-user:active
{
    background-color: #88139c;
    border-color: #7e0992;
}

.dataTables_filter
{
    display: none;
}

.main-container .dataTables_info
{
    left: 20px;
    bottom: 15px;
    position: absolute;
}

.main-container .dataTables_paginate
{
    right: 20px;
    bottom: 15px;
    position: absolute;
}

.overlay
{
    width: 100%;
    z-index: -1;
    height: 100%;
    position: fixed;
}

#filter
{
    top: 62px;
    bottom: 0;
    width: 420px;
    right: -420px;
    z-index: 1002;
    position: fixed;
    background-color: #fff;
    padding: 74px 20px 72px;
    transition: all .3s ease;
}

#filter.visible
{
    right: 0;
}

#filter .header
{
    top: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    text-transform: uppercase;
    background-color: #FF9800;
}

#filter .header button
{
    top: 0;
    right: 0;
    position: absolute;
    padding: 14px;
    font-size: 24px;
}

#filter .body
{
    left: 0;
    right: 0;
    top: 53px;
    bottom: 52px;
    padding: 20px;
    overflow-y: auto;
    position: absolute;
}

#filter #button-clear,
#filter #button-refresh-2
{
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
    font-weight: bold;
    position: absolute;
    text-transform: uppercase;
}

footer
{
    right: 0;
    bottom: 0;
    left: 50px;
    height: 60px;
    z-index: 1001;
    position: fixed;
    text-align: right;
    padding: 12px !important;
    background-color: #ffffff;
    transition: left .3s ease;
    box-shadow: 0 4px 20px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
}

footer .pull-right
{
    margin-left: 10px;
}

.dataTables_scrollHeadInner
{
    background-color: gray;
}

.dataTables_scrollBody
{
    min-height: 178px;
    background-color: lightgray;
}

.dataTables_scrollBody tr
{
    background-color: #fff;
}

.dataTables_scrollBody tr td.dataTables_empty
{
    border: none;
    height: 160px;
    background-color: lightgray;
}

.dataTables_scrollHeadInner,
.dataTables_scrollHeadInner table
{
    width: 100%;
}

.box-shadow
{
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
}

.panel
{
    background-color: transparent;
}

ul.typeahead
{
    overflow-y: auto;
    max-height: 220px;
}

.panel-group .panel .panel-heading
{
    cursor: pointer;
    position: relative;
}

.panel-group .panel .note-editor .panel-heading
{
    background-color: #eee;
}

.panel-group .panel .panel-heading .fa-chevron-up,
.panel-group .panel .panel-heading .fa-chevron-down
{
    top: 10px;
    right: 10px;
    position: absolute;
}

.panel-group .panel .panel-heading .fa-chevron-down
{
    display: none;
}

.panel-group .panel .panel-heading.collapsed .fa-chevron-up
{
    display: none;
}

.panel-group .panel .panel-heading.collapsed .fa-chevron-down
{
    display: block;
}

.panel-group .panel .panel-body
{
    border: 1px solid #ddd;
}

#cover-file,
.cover-file,
#modal-cover-file,
.modal-cover-file
{
    width: 100%;
    position: relative;
    border: 1px solid #ddd;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../images/empty.png');
}

.cover-file-cover
{
    background-size: cover;
}

.cover-file-contain
{
    background-size: contain;
}

#cover-file input,
.cover-file input,
#modal-cover-file input,
.modal-cover-file input
{
    display: none;
}

.cover-file button,
#cover-file button,
.modal-cover-file button,
#modal-cover-file button
{
    right: 0;
    width: 50%;
    bottom: -35px;
    position: absolute;
}

#cover-file .bootstrap-filestyle,
.cover-file .bootstrap-filestyle
{
    left: 0;
    width: 50%;
    height: 34px;
    bottom: -35px;
    position: absolute;
}

#cover-file .bootstrap-filestyle .badge,
.cover-file .bootstrap-filestyle .badge,
.modal-cover-file .bootstrap-filestyle .badge,
#modal-cover-file .bootstrap-filestyle .badge
{
    display: none;
}

.cover-file button,
.modal-cover-file button
{
    bottom: -35px;
    position: absolute;
}

.bootstrap-select .dropdown-menu span.fa
{
    width: 26px;
    text-align: center;
}

.highcharts-credits,
.highcharts-exporting-group
{
    display: none;
}

@media(max-width:767px)
{
    .main-container
    {
        padding: 114px 0 60px;
    }

    .main-container .page
    {
        left: 0;
        overflow: hidden;
        white-space: nowrap;
        padding-right: 62px;
        text-overflow: ellipsis;
    }

    .main-container .page .btn
    {
        display: block;
    }

    footer
    {
        left: 0;
    }
}