html,
body {
    font-size: .9rem;
    font-family: "Arial", serif;
}

label {
    white-space: nowrap;
}

div, span, input, select, option {
    outline: none !important;
}

.filter-btn{
    font-size: 11px;
    padding: 0.2rem 0.3rem;
}

.no-animate {
    -webkit-transition: none !important;
    transition: none !important;
}

.filter-item {
    margin-right: .25rem !important;
}

.in {
    opacity: 1 !important;
}

.width-10 {
    width: 10px!important;
}

.width-25 {
    width: 25px!important;
}

.width-50 {
    width: 50px!important;
}

.width-70 {
    width: 70px!important;
}

.width-75 {
    width: 75px!important;
}

.width-100 {
    width: 100px!important;
}

.width-200 {
    width: 200px!important;
}

.width-300 {
    width: 300px!important;
}

.width-400 {
    width: 400px!important;
}

.width-110 {
    width: 110px!important;
}
.width-115 {
    width: 115px!important;
}
.width-120 {
    width: 120px!important;
}

.width-125 {
    width: 125px!important;
}

.w-10 {
    width: 10%!important;
}

.w-15 {
    width: 15%!important;
}

.w-20 {
    width: 20%!important;
}

.height-50 {
    height: 50px!important;
}

.height-70 {
    height: 70px!important;
}

.height-75 {
    height: 75px!important;
}

.height-100 {
    height: 100px!important;
}

.height-200 {
    height: 200px!important;
}

.height-300 {
    height: 300px!important;
}

.height-400 {
    height: 400px!important;
}

#toast-container {
    text-align: left;
}

.table {
    margin-bottom: auto;
}

/*
 * Login
 */

.login-body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #e8e8e8;
}

.login-body .card {
    background-color: #f7f7f7;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.login-body .lang-select {
    /*word-spacing: 165px;*/
}

.login-body .lang-select option {
    /*word-spacing: 50px;*/
}


/*
 * Sidebar
 */

.sidebar {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

/*
 * Navbar
 */

.navbar {
    height: 80px;
    min-width: 1300px;
}

#sidebar-wrapper {
    min-height: calc(100vh - 80px);
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
}

#sidebar-wrapper.toggled {
    margin-left: 0 !important;
}

.list-group-item {
    cursor: pointer;
}

.table tr {
    height: 35px;
}

.account-operations-chart .table.table-sm tr {
    height: 23px;
}

.account-operations-chart .table-sm td, .account-operations-chart .table-sm th {
    padding: 0.1rem;
}

.modal-backdrop {
    opacity: 0.3;
}
.card-body .table.table-borderless.account-operations-table{
    white-space: pre-line;
}

.account-operations-table tr {
    white-space: nowrap;
    font-size: 11px;
    height: auto !important;
    cursor: pointer;
}

.account-operations-table td, .account-operations-table th {
    padding: 0.2rem 0.3rem;
}

.main-table-wrapper {
    max-height: 88.9vh;
}

.object-rfid-balance-table-wrapper {
    max-height: 84vh;
    overflow-y: auto;
    overflow-x: auto;
}

.object-rfid-balance-table-wrapper .ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*.object-rfid-balance-table span {*/
/*    display: block;*/
/*}*/

.object-rfid-balance-table td, .object-rfid-balance-table th {
    font-size: 11px !important;
    padding: 3px;
}

.object-rfid-balance-table tr {
    height: auto !important;
    cursor: pointer;
}

table .tablesort-sortable:after {
    content: "";
    float: unset !important;
    margin-top: 7px;
    visibility: hidden;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: none;
    border-bottom: 4px solid #666 !important;
    margin-left: 10px;
}

table .tablesort-desc:after {
    border-top: 4px solid #666 !important;
    border-bottom: none !important;
}

table .tablesort-sortable:hover:after, table .tablesort-asc:after, table .tablesort-desc:after {
    display: inline-block !important;
}

.object-rfid-balance-table .tablesort-asc, .object-rfid-balance-table .tablesort-desc {
    background-color: transparent !important;
}

html, body {
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

.split-pane-divider {
    background: #aaa;
}

.split-pane-component {
    background: #fff;
}

.sidebar-menu {
    /*width: 20em;*/
}

table.object-rfid-balance-table {
    border-collapse: collapse;
}

table.object-rfid-balance-table th {
    min-width: 10px;
    background-color: #f8f8f8;
}

table.object-rfid-balance-table th, table.object-rfid-balance-table td {
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rz-handle {
    background: repeating-linear-gradient(
            45deg, gray, transparent 2px, rgba(250, 249, 249, 0.05) 2px, rgba(0, 0, 0, 0.05) 4px) !important;
}

.left-panel-wrapper {
    background-color: rgba(0, 0, 0, .05) !important;
}

.dark .form-control-sm, .dark .form-control, .dark .form-control-lg, .dark .input-group-append .input-group-text {
    background-color: #242f3d !important;
    color: #508cb7 !important;
}

.dark .form-control-sm:not(.is-invalid), .dark .form-control:not(.is-invalid), .dark .form-control-lg:not(.is-invalid),
.dark .input-group-append .input-group-text:not(.is-invalid){
    border-color: #242f3d !important;
}

.dark .dropdown-item{
    color: #508cb7 !important;
}

.dark .modal-footer {
    border-top-color: #508cb7 !important;
}

/*.dark .btn-secondary {*/
/*    background-color: #242f3d;*/
/*    color: #508cb7;*/
/*    border-color: #242f3d;*/
/*}*/

.dark .table-hover tbody tr:hover {
    color: lightgray !important;
    background-color: rgba(0, 0, 0, .075) !important;
}

.dark.bg-light, .dark .bg-light, .dark .modal-content {
    background-color: #0e1621 !important;
    color: #508cb7;
}

.rz-hide .rz-handle {
    display: none;
}

.dark .table {
    background-color: #0e1621 !important;
    color: #508cb7 !important;
    border-color: #0e1621 !important;
}

.dark .table td, .dark .table th {
    border: none !important;
}

.dark .bi-moon {
    color: #508cb7 !important;
}

.dark .thead-dark th, .dark .navbar-dark {
    background-color: #17212b !important;
}

.dark .sidebar-menu a {
    background-color: #1e2c3a !important;
    color: #508cb7 !important;
}

.dark .sidebar-menu.border-bottom, .dark .left-panel-wrapper.border-bottom {
    border-bottom: none !important;
}

.dark .sidebar-menu.border-right, .dark .left-panel-wrapper.border-right {
    border-right: none !important;
}

.dark .split-pane-divider {
    background-color: #17212b !important;
}

.dark a.bg-light:focus, .dark a.bg-light:hover, .dark button.bg-light:focus, .dark button.bg-light:hover {
    background-color: #2c4155 !important;
}

.dark .table .thead-dark th {
    color: #508cb7 !important;
}

.badge-dark {
    color: #fff !important;
    background-color: #343a40 !important;
}

.dark .navbar-nav .dropdown-menu {
    background-color: #1e2c3a !important;
    color: #508cb7 !important;
}

.dark .uib-day button, .dark .uib-month button, .dark .uib-year button {
    color: #508cb7 !important;
}

.badge-secondary {
    color: #fff !important;
    background-color: #6c757d !important;
}

.dark .border-bottom {
    border-bottom: 1px solid #1e2c3a !important;
}

.table-fixed-head {
    overflow: auto;
    height: 250px;
}

.table-fixed-head thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.upload-btn-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 50px;
}

.calibration-table .form-control-sm {
    height: 20px !important;
}

.dark .card, .dark .table {
    background-color: #17212b !important;
}

/*.tank-circle {*/
/*    width: 100px;*/
/*    height: 100px;*/
/*    background: #acacac;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    overflow: hidden;*/
/*}*/

.tank-circle {
    width: 100px;
    height: 100px;
    background: #cfcfcf;
    border-radius: 50%;
    overflow: hidden;
}

.tank-circle > .volume {
    border-radius: 0;
    height: 50%;
    border: 0;
}

.tank-circle > .volume:nth-child(n+3) {
    background: #508cb7;
}

.tank-pct {
    position: absolute;
    top: 40%;
    color: #0e1621;
    font-weight: bold;
}

.fuel-storage .tank-pct {
    left: 30%;
}

.operator-menu .tank-pct {
    left: 39%;
}

.card-wrapper {
    min-width: 23vw;
}

.fuel-storage .row-cols-md-3 > .fixed-card {
    min-width: 350px;
    max-width: 23vw;
}

.fuel-storage .row-cols-md-1 > .fixed-card {
    min-width: 66vw;
    max-width: 66vw;
}

.operator-menu  .row-cols-md-5 > .fixed-card {
    min-width: 13vw;
    max-width: 13vw;
}

.uib-time .form-control {
    height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.report-wrapper {
    width: 800px;
}
.dropdown-menu {
    z-index:10000!important
}
.A4 {
    background: white;
    width: 21cm;
    /*height: 29.7cm;*/
    display: block;
    padding: 10px 25px;
    margin: 0 auto 0.5cm;
    /*box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5);*/
    /*overflow-y: scroll;*/
    box-sizing: border-box;
    font-size: 11pt;
}

.A4 .table tbody td.days-totals-td{
    text-align: right;
    border: aliceblue!important;
}

.A4.album {
    width: 29.7cm!important;
    /*height: 21cm!important;*/
}

.dark .A4 .table, .A4 .table tbody td, .A4 .table thead th, .A4 .table tbody {
    background: white !important;
    color: black !important;
    border: 1px solid #dee2e6 !important;
}

.A4.album {
    font-size: 9pt;
    padding: 0.5rem;
}

table.table-fit {
    white-space: nowrap !important;
    table-layout: auto !important;
}

table.table-fit thead th, table.table-fit tfoot th {
    white-space: nowrap !important;
    width: 1% !important;
}

table.table-fit tbody td, table.table-fit tfoot td {
    white-space: nowrap !important;
    width: 1% !important;
}

.checkbox-sm {
    height: 15px !important;
    vertical-align: middle !important;
}

.slider {
    position: absolute;
    width: 100%;
    bottom: 0;
    /*height: 25vh;*/
    transition: all 0.5s;
    background-color: #fff;
}

.slider.close {
    top: 100%;
    height: 0;
}

.chart-container {
    position: relative;
    margin: auto;
}

[class^="raphael-group-"]{
    display: none;
}

[class^="raphael-group-1"]{
    display: block !important;
}
[class^="raphael-group-2"]{
    display: block !important;
}
[class^="raphael-group-3"]{
    display: block !important;
}
[class^="raphael-group-4"]{
    display: block !important;
}
[class^="raphael-group-5"]{
    display: block !important;
}
[class^="raphael-group-6"]{
    display: block !important;
}
[class^="raphael-group-7"]{
    display: block !important;
}
[class^="raphael-group-8"]{
    display: block !important;
}
[class^="raphael-group-9"]{
    display: block !important;
}

.chartdiv > div > div:nth-child(1) > div > canvas:nth-child(2){
    /*display: none;*/
}

.card-body.charts-preview{
    padding: 0
}

.td-hover:hover {
    background-color: #e5e5e5;
    box-shadow: 0 0 0.5cm rgb(0 0 0 / 50%);
    border-radius: 3px;
    color: #4c4c4c;
}

.photo-preview-container {
    overflow-y: auto;
    max-height: 55vh;
}

.resize-disabled{
    min-width: 0!important;
}

.account-operations-table thead, .object-rfid-balance-table thead  {
    position: sticky !important;
    top: 0;!important; /* Don't forget this, required for the stickiness */
    z-index: 9999;
}

@media (min-width: 992px){
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.2rem;
        padding-left: 0.2rem;
    }
}

.uib-time input {
    width: 35px;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.hours .dropdown-menu{
    min-width: 4rem;
}

.hours .dropdown-item{
    padding: 0 .75rem;
}

.ui-select-choices.ui-select-choices-content.ui-select-dropdown.dropdown-menu{
    display: block;
}

.input-group>.ui-select-bootstrap>input.ui-select-search.form-control {
    border-radius: 4px!important;
}

.selectize-control.single .selectize-input:after{
    display: none!important;
}

.select2 > .select2-choice.ui-select-match {
    /* Because of the inclusion of Bootstrap */
    height: 29px;
}

.selectize-control > .selectize-dropdown {
    top: 36px;
}

/*.btn.btn-default.form-control.ui-select-toggle{*/
/*    height: 22px;*/
/*    padding: 0;*/
/*    font-size: 12px;*/
/*    vertical-align: inherit;*/
/*    line-height: 1;*/
/*}*/

/*.form-control.ui-select-search {*/
/*    padding: .25rem .5rem;*/
/*    font-size: .875rem;*/
/*    line-height: 1.5;*/
/*    border-radius: 0;*/
/*    height: 22px;*/
/*    margin-top: -3px;*/
/*}*/

/*.ui-select-container.ui-select-bootstrap.dropdown{*/
/*    background-color: white;*/
/*    height: 22px;*/
/*}*/

/*.ui-select-placeholder.text-muted{*/
/*    color: black!important;*/
/*}*/

/*.ui-select-placeholder{*/
/*    background-color: white;*/
/*}*/

.datetimepicker .table td, .datetimepicker .table tr{
    height: auto;
}

.datetimepicker .table td, .datetimepicker .table th{
    padding: 0.15rem;
}

.datetimepicker .hour, .datetimepicker .minute {
    height: 26px!important;
    line-height: 24px!important;
}

.ng-hide {
    display: none;
}

h4.income-log-modal {
    margin-bottom: 10px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}


.chat-window {
    bottom: 0;
    /*position:fixed;*/
    /*float:right;*/
    /*margin-left: 10px;*/
}

.chat-window > div > .panel {
    border-radius: 5px 5px 0 0;
}

.icon_minim {
    padding: 2px 10px;
}

.msg_container_base {
    background: #e5e5e5;
    margin: 0;
    padding: 0 10px 10px;
    max-height: 300px;
    overflow-x: hidden;
}

.top-bar {
    background: #666;
    color: white;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.msg_receive {
    padding-left: 0;
    margin-left: 0;
    background-color: rgba(0, 0, 0, .075) !important;
}

.msg_sent {
    padding-bottom: 20px !important;
    margin-right: 0;
}

.messages {
    background: white;
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

.messages > p {
    font-size: 11px;
    margin: 0 0 0.1rem 0;
}

.messages > time {
    font-size: 10px;
    color: #ccc;
}

.msg_container {
    padding: 10px;
    overflow: hidden;
    display: flex;
}

img {
    display: block;
    width: 100%;
}

.avatar {
    position: relative;
}

.base_receive > .avatar:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border: 5px solid #FFF;
    border-left-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
}

.base_sent {
    justify-content: flex-end;
    align-items: flex-end;
}

.base_sent > .avatar:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 5px solid white;
    border-right-color: transparent;
    border-top-color: transparent;
    box-shadow: 1px 1px 2px rgba(black, 0.2);
}

.msg_sent > time {
    float: right;
}

.msg_container_base::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
    /*background-color: #F5F5F5;*/
}

.msg_container_base::-webkit-scrollbar {
    /*width: 12px;*/
    /*background-color: #F5F5F5;*/
}

.msg_container_base::-webkit-scrollbar-thumb {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);*/
    /*background-color: #555;*/
}

.btn-group.dropup {
    position: fixed;
    left: 0;
    bottom: 0;
}