html,body{
    width: 100%;
    height: 100%;
    background: #f5f5fa;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}


#app{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 50px;
}


/*============================================================ BUTTONS ============================================================*/

.btn{

}


/*============================================================ SIDBAR NAV ============================================================*/


nav#sidebar{
    width: 200px;
    height: 100%;
    position: fixed;
    background: #1e242b;
    /* box-shadow: 0 0 0px 4px rgba(0,0,0,0.1); */
    z-index:1000;
    border-right: 1px solid #eee;
    top: 0;
    left: 0;
}

header .brand {
    background: #fff;
    height: 49px;
    padding: 0.5em 1.8em 0.3em 0;
}

header .brand img {
    height: 100%;
    width: auto;
    display: block;
    margin: auto;
}

nav#sidebar h1 {
    color: #657282;
    font-size: 0.8em;
    font-weight: 100;
    padding: 1em 2em 0.5em;
    margin: 0;
}

nav#sidebar .btn {
    color: #AEB7C2;
    text-align: left;
    padding: 0.8em 1.6em 0.8em 1em;
    border: none;
    border-left: 5px solid transparent;
    outline: none;
    box-shadow: none;
    background: #2B333E;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    font-size: 1em;
}

nav#sidebar .btn-clear {
    background: transparent;
}



nav#sidebar .btn.collapsable {
    background: #252c35;
    color: #fff;
    border-left-color: #00AAFF;
}

nav#sidebar .btn.collapsable:after {
    display: block;
    content: "\f107";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 1.5em;
    line-height: 1.7em;
    transition: transform 400ms cubic-bezier(0.72, -0.41, 0.36, 1.35);
    transform: rotate(180deg);
}

nav#sidebar .btn.collapsable.collapsed:after {
    transform: rotate(0deg);
}

nav#sidebar .btn.collapsable.collapsed {
    background: #2B333E;
    border-left-color: transparent;
    color: #AEB7C2;
}

nav#sidebar .collapse, nav#sidebar .collapsing {
    background: #252c35;
    color: #fff;
}

nav#sidebar .collapse .btn, nav#sidebar .collapsing .btn {
    background: transparent;
    padding-left: 2em;
    color: #616a75;
}

nav#sidebar .btn:hover, nav#sidebar .btn.collapsable.collapsed:hover {
    color: #fff;
}

nav#sidebar .btn:hover i {
    color: #00AAFF;
}


nav#sidebar .btn.active {
    background: #252c35;
    border-left-color: #00AAFF;
    color: #fff;
}

nav#sidebar .btn.active i {
    color: #00AAFF;
}

nav#sidebar .btn i {
    margin: 0 0.5em;
    width: 20px;
    text-align: center;
}


nav#sidebar .bottomNav{position: absolute;width: 100%;bottom: 0em;}

.bottomNav{/* position: absolute; *//* width: 100%; *//* bottom: 0em; */}

.bottomNav .btn {
    color: #9e9e9e;
}

/*============================================================ HEADER ============================================================*/


header{
        width: 100%;
        height: 50px;
        background: #ffffff;
        /* box-shadow: 0 4px 0px 0px rgba(0,0,0,0.1); */
        top: 0;
        left: 0;
        position: fixed;
        border-bottom: 1px solid #eee;
        z-index: 1100;
        margin: 0 -1px;
        padding: 8px 1em;
        display: flex;
        align-items: center;
}

header h1 {
    font-size: 2em;
}

header h1.status-successful:before {
    content: "";
    background: #00c700;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    line-height: 2em;
    display: inline-block;
    margin: 0 0.5em;
}

header h1.status-failed:before {
    content: "";
    background: #C00;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    line-height: 2em;
    display: inline-block;
    margin: 0 0.5em;
}

header h1 {}

header h2 {
    color: #666;
    text-transform: uppercase;
    margin-left: 5px;
    font-size: 1.5em;
    display: flex;
    margin-bottom: 0;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    text-align: left;
}

header h2 .btn {
    margin-right: 0.5em;
    color: #a5a5a5;
}

header .filterSearch {
    outline: none;
    height: 34px;
    border: none;
    position: relative;
    right: 0;
    padding: 0 1em;
    font-size: 1.4em;
    color: #333;
    background: #f5f5f5;
    text-align: left;
    border-radius: 20px;
    margin: 0 1em;
    font-weight: bold;
    width: 50%;
}

header form {
    width: 80%;
    display: flex;
}

header form .btn {
    border-radius: 20px;
    padding: 0.7em 1em;
    margin-left: 1em;
}

header .input-daterange {
    border-radius: 20px;
    overflow: hidden;
}

.datepicker table tr td.active.active {
    background: #eb0003;
}

header .input-daterange .input-group-addon {
    line-height: 1.4em;
    padding: 0.5em 1em;
    background: #eee;
}

header .input-daterange .form-control {
    border: none;
    background: #f5f5f5;
    font-size: 1.1em;
    font-weight: bold;
}

header .filterSearch::placeholder {
    color: #ccc;
    font-weight: normal;
    font-size: 1em;
}

/*============================================================ MAIN ============================================================*/

main{
    /* padding-left: 200px; */
    position: relative;
    height: 100%;
}

main #contentWrapper {
    padding: 15px 30px 0 30px;
    z-index: 900;
    height: 100%;
    position: relative;
}

main #contentWrapper h1 {
    width: 100%;
    margin-bottom: 15px;
}

main #contentWrapper .panel {
    background: #fff;
    border-radius: 2px;
    border: 1px solid #eee;
}

main #contentWrapper .panel.withContent {
    padding: 5px 20px;
}

main #contentWrapper .panel.withContent h2 {
    margin: -5px -20px 20px;
}

main #contentWrapper .panel {}

main #contentWrapper .panel h2 {
    padding: 10px 10px;
    background: #dcdfe2;
    font-size: 1em;
    color: #333;
    font-weight: normal;
    margin-bottom: 0;
    border-top: 1px solid #dee2e6;
    margin-top: -1px;
}

main #contentWrapper .panel.tableContent {
    padding: 0;
}

main #contentWrapper .panel.tableContent .dataTables_info {
    display: none;
}

/*============================================================ TABLE DATA ============================================================*/

table.dataTable{
    margin: 0px !important;
}

.table thead th {
    background: #2a333e;
    border-color: #414d5a;
    color: #fff;
    position: relative;
}

.table thead th[class^="sorting"] {cursor: ns-resize;padding-right: 10px !important;border: none;outline: none;}

.table thead th[class^="sorting"]:before {
    display: block;
    content: "\f107";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1 !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0.8em;
    line-height: 1.7em;
    transition: transform 400ms cubic-bezier(0.72, -0.41, 0.36, 1.35);
    transform: rotate(0deg);
    opacity: 0.3;
}
.table thead th[class^="sorting"]:after{
    display:none;
}

.table thead th.sorting_asc, .table thead th.sorting_desc {
    background: #3f4c5a;
}

.table thead th.sorting_asc:before {
    opacity: 1;
}

.table thead th.sorting_desc:before {
    transform: rotate(180deg);
    opacity: 1;
}

.table tbody td {
    vertical-align: top;
    text-align: left;
    font-weight: bold;
    line-height: 1.3em;
}

.table tbody th {
    width: 30%;
    color: #666;
    font-weight: normal;
}

.table-bordered, .table-bordered td, .table-bordered th {
    border: 1px solid #dee2e6;
    border-right: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
}

.table tbody tr.odd{
    background-color: rgba(0,0,0,.02);
}

.table tbody tr.status-disabled td {
    color: #ccc;
    font-weight: normal;
}

.table tbody td a {
    color: inherit;
}

.table tbody td a.btn {
    color: #fff;
}

.table tbody tr td:first-child {
    border-left: 10px solid transparent;
}

.table tbody tr.status-failed td:first-child {
    border-left-color: #c00;
}

.table tbody tr.status-pending td:first-child {
    border-left-color: #ccc;
}

.table tbody tr.status-warning td:first-child {
    border-left-color: #ffc107;
}

.table tbody tr.status-successful td:first-child {
    border-left-color: #00c700;
}

.table tbody td small {
    display: block;
    color: #aaa;
    line-height: 1;
}

.uploadedDocument{
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    height: 100px;
}

/*============================================================ LOGIN PAGE ============================================================*/

#loginPage{}

#loginPage h1{
    text-align: left;
    color: #019779;
    font-size: 3em;
    line-height: 1em;
    border-bottom: 1px solid #EEE;
    padding: 0 0 0.2em;
}

#loginPage .logo img {
    height: 3em;
}

#loginPage .logo {
    text-align: left;
    width: 100%;
    display: block;
    float: left;
    position: absolute;
    bottom: 0;
    padding: 0.6em 1em;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

#loginPage .logo small {
    display: block;
    margin-right: 1em;
    color: #CCC;
}

#loginPage .row {
    height: 100%;
}

#loginPage .loginPanel {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 2em;
}

#loginPage .loginPanel form {
    width: 90%;
}

#loginPage .loginPanel .brand {
    margin: 2em 0;
    text-align: right;
    color: #ccc;
    display: block;
    overflow: hidden;
}

#loginPage .mainImage {
    background: url('/img/login/login-bg.jpg') no-repeat center;
    background-size: cover;
}


/*============================================================ UPLOAD PAGE ============================================================*/

#uploadPage{
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#uploadPage .uppy-DashboarAddFiles-info{
    bottom: 1em!important;
}

#uploadPage .DashboardContainer{
    /* margin: 0 0 2em; */
    width: 100%;
    height: 50vh;
    height: calc(100% - 240px);
    padding: 0 0 1em;
}

#uploadPage .uppy-Dashboard-inner{
    width:100%!important;
    height: 100%!important;
    border: 2px dashed #CCC!important;
}

#uploadPage .uppy-Root{
    height: 100%!important;
}

#uploadPage .uppy-Dashboard-browse, #uploadPage .uppy-DashboardContent-back{
    color: #599579!important;
}

#uploadPage .uppy-DashboardContent-addMore svg path{
    fill: #599579!important;
    stroke: #599579!important;
}

#uploadPage .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{
    color: #fff!important;
    background-color: #599579!important;
}

#uploadPage .uppy-Dashboard-dropFilesTitle:before{
    content: "Upload Invoices/Statement CSV";
    font-size: 0.8em;
    display: block;
    color: #CCC;
}

#uploadPage .uploadCustomers{

}

#uploadPage #csv_file{
    font-size: 1.2em;
    padding-left: 0;
}

/*============================================================ VERIFY ============================================================*/

#verifyPage{
    background: transparent;
    padding: 0 0 13em 0;
}

#verifyPage .statement{
    background: #FFF;
    border: 1px solid #CCC;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2em;
}

#verifyPage .vat{
    color: #CCC;
    font-size: 0.8em;
}

#verifyPage .clientDetails{
    font-size: 1.1em;
}

#verifyPage .table thead th {
    background: #2a333e;
    border-color: #414d5a;
    color: #fff;
    position: relative;
}

#verifyPage .table.clientDetails tbody td {
    background: #2d323e;
    color: #FFF;
    border-color: #24262d;
    border: 0;
}

#verifyPage .table.invoicesList thead th {
    background: #e4e4e4;
    border-color: #d4d4d4;
    font-size: 0.9em;
    color: #909090;
    border-bottom: 0;
}

#verifyPage .table.clientDetails tbody td:first-child {}

#verifyPage table.dataTable{
    border: 0;
}

#verifyPage .error{
    color: #b23615!important;
    pointer-events: none;
}

.ccEmail, .toEmail{
    color: #999
}

.ccEmail b, .toEmail b{
    color: #212529
}

#verifyPage .actions{
    position: fixed;
    width: 100%;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #FFF;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    justify-content: space-between;
}

#verifyPage .actions .missing {
    background: #eee;
    display: flex;
    padding: 0.3em 1em;
    text-transform: uppercase;
    color: #cc0001;
}

#verifyPage .actions .missing h2 {flex-grow: 1;text-align: right;margin: 0;text-transform: uppercase;color: #2e323e;font-size: 1.4em;}

#verifyPage .actions .missing h5 {
    margin: 0 1em 0 0;
    padding: 0.2em 0.5em;
    color: #FFF;
    border-radius: 2px;
    background: #cc0001;
}

#verifyPage .actions .buttons {
    padding: 1em;
    background: #059578;
    text-align: right;
}

#verifyPage .actions .buttons .backUploads {}

#verifyPage .actions .buttons .btn.btn-primary {
    background: #FFF!important;
    color: #2e323e;
    border: 0;
    font-size: 1.4em;
    margin-left: 0.5em;
}

#verifyPage .actions .buttons .btn.btn-light {
    opacity: 0.8;
    background-color: #06735d;
    color: #FFF;
}

#verifyPage .actions .buttons .btn.btn-light:hover {
    opacity: 1;
}

#verifyPage .actions .buttons .btn.btn-light.backUploads {
    margin-top: 0.5em;
}

#verifyPage .actions .buttons .btn {
    border: 0;
}

#verifyPage .actions .missing {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#verifyPage .actions .btn.btn-primary {
    /* font-size: 1.2em; */
    align-self: flex-end;
}

.alertify .ajs-header{
    background: #2d323e!important;
    color: #FFF!important;
}

.alertify .ajs-content{
    padding-left: 0!important;
    padding-right: 0!important;
}

.alertify .ajs-commands{
    filter: brightness(2);
    opacity: 0.6;
}

.alertify .ajs-button.ajs-ok{
    background: #059578!important;
    color: #FFF!important;
    border-radius: 4px;
}

