body {
    font-family: "SF UI Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

div#marquee_header {
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: fixed;
    bottom: 0px;
    width: 100vw;
    background-color: rgba(0, 0, 0, .8);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    z-index: 9999;
}

div#marquee_header > div {
    width: auto;
    animation: marquee 15s linear infinite;
    pointer-events: none;
    white-space: nowrap;
}

div#marquee_header:hover {
    opacity: 0;
    pointer-events: none;
}

@keyframes marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }

div.ui-dialog {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    max-height: 95vh;
    align-items: stretch;
}

div.ui-dialog > div.ui-dialog-titlebar {
    flex-grow: 0;
    flex-shrink: 0;
}

div.ui-dialog > div.ui-dialog-content {
    flex-grow: 1;
    flex-shrink: 1;
    min-height: 10px;
    overflow-y: auto;
    width: 100% !important;
}

div#clock_container {
    position: fixed;
    padding: 3px 5px;
    border: 1px solid black;
    left: 10;
    bottom: 10;
    border-radius: 10px;
}

div#clock_container:hover {
    opacity: 0.3;
}

div#ajax_progress_bar {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background-color: #f0ad4e;
    z-index: 99999;
}

div#ajax_loading_dialog {
    position: fixed;
    top: -50;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
}

div#flash_notice_dialog {
    position: fixed;
    z-index: 999999;
}

img#brand_logo {
    max-height: 100%;
    width: 'auto';
}

/** Template **/
div#body_container {
    padding-right:0;
    padding-left:0;
    margin-right:auto;
    margin-left:auto
}

div#body_row {
    /*background-color: #e8e8e8;*/
    margin-top: 50px;
    margin-left: 0px;
}

nav#navigation_bar {
    z-index: 99 !important;
}

div#main_body {
    overflow-x: visible;
    margin-top: 50px;
    width: 100%;
    height: auto;
}

footer {
    height: 35px;
}

div#trademark, div#support {
    color: white;
    font-size: 9px;
}

/****** ******/

div.dialog-container {
    display: none;
}

div.dialog-container > div:only-child {
    width: 99%;
}

textarea.no-resize-x {
    resize: vertical;
}

textarea.no-resize-y {
    resize: horizontal;
}

textarea.no-resize {
    resize: none !important;
}

*.flexbox {
    display: flex !important;
    margin: 0;
}

*.flexbox-inline {
    display: inline-flex;
    margin: 0;
}

*.flexbox.column {
    flex-direction: column;
}

*.flexbox.row {
    flex-direction: row;
}

*.flexbox.wrap {
    flex-wrap: wrap;
}

*.flexbox.flex-start {
    justify-content: flex-start;
}

*.flexbox.even-space {
    justify-content: space-evenly;
}

*.flexbox.around-space {
    justify-content: space-aroundspace-around;
}

*.flexbox.between-space {
    justify-content: space-between;
}

*.flexbox.center {
    justify-content: center;
}

*.flexbox.align-even-space {
    align-items: space-evenly;
}

*.flexbox.align-around-space {
    align-items: space-around;
}

*.flexbox.align-between-space {
    align-items: space-between;
}

*.flexbox.align-center {
    align-items: center;
}

*.flexbox *.shrinkable {
    min-width: 1px;
    flex-shrink: 1;
}

*.flexbox *.expandable {
    flex-grow: 1;
}

*.flexbox *.fixed {
    flex-grow: 0;
    flex-shrink: 0;
}

*.fit {
    width: 100%;
}

*.fit textarea {
    resize: vertical;
}

*.no-wrap {
    white-space: nowrap;
}

*.wrap {
    white-space: initial;
    word-break: break-all;
}

*.fit.form-control {
    box-sizing: border-box;
}

*.align-text-right {
    text-align: right;
}

*.align-text-left {
    text-align: left;
}

*.align-text-center {
    text-align: center;
}

*.margin-less {
    margin: 0;
}

*.vertical-center {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

*.border-right {
    border-right: 1px solid #eee;
}

*.border-left {
    border-left: 1px solid #eee;
}

*.visible {
    visibility: visible;
}

*.invisible {
    visibility: hidden;
}

*.hidden {
    display: none;
}

i.icon-link {
    cursor: pointer;
}

*.clickable {
    cursor: pointer;
}

*.float-right {
    float: right;
}

div#print_area {
    display: none;
}

div.clear {
    height: 12px;
}

div.clear-2x {
    height: 24;
}

div.ui-dialog div.ui-helper-clearfix {
    border: 0;
}

div.dataTables_scrollBody table.dataTable.no-footer {
    border-bottom: 1px solid #111 !important;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table.table button {
    font-size: 14px;
}

table.table tr.empty-table-notice:only-child td {
    display: initial;
}

table.table tr.empty-table-notice:not(:only-child) td {
    display: none;
}

table.table tbody tr.bg-success > td {
    background-color: #dff0d8 !important;
}

table.table tbody tr.bg-danger > td {
    background-color: #f2dede !important;
}

table.table tbody tr.bg-warning > td {
    background-color: #fcf8e3 !important;
}

table.table tbody tr.bg-info > td {
    background-color: #d9edf7 !important;
}

table.table-hover tbody tr.bg-success:hover > td {
    background-color: #d0e9c6 !important;
}

table.table-hover tbody tr.bg-danger:hover > td {
    background-color: #ebcccc !important;
}

table.table-hover tbody tr.bg-warning:hover > td {
    background-color: #faf2cc !important;
}

table.table-hover tbody tr.bg-info:hover > td {
    background-color: #c4e3f3 !important;
}

table.table tbody tr.italicized td {
    font-style: italic;
}

table.table tbody tr.dashed-top td {
    border-top: 2px dashed #aaa !important;
}

table.table tbody tr.dashed-bottom td {
    border-bottom: 2px dashed #aaa !important;
}

table.table tbody tr.dashed-left td:first-child {
    border-left: 2px dashed #aaa !important;
}

table.table tbody tr.dashed-right td:last-child {
    border-right: 2px dashed #aaa !important;
}

table.tbody[tabindex] {
    outline: none;
}

div.amount-labels-container {
    min-height: 100px;
    height: 50%;
}

p.amount-container {
    display: flex;
    flex-direction: row;
}

p.amount-container .amount-label {
    flex-grow: 1;
    flex-shrink: 1;
    text-align: right;
    font-weight: normal;
    
}

div.amount-labels-container h1.display-4 {
    margin: 0;
}

div.amount-labels-container div.panel-body {
    padding: 5px 15px;
}

/** dataTables toolbar */

table.dataTable {
    margin-top: 0 !important;
}

div.dataTables_bar {
    display: flex;
    flex-direction: row;
    padding-top: 7px;
    padding-left: 10px;
    padding-right: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: black;
}

div.dataTables_bar:empty {
    display: none;
}

div.dataTables_bar div.dataTables_length {
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 0;
}

div.dataTables_bar div.dataTables_toolbar {
    display: inline-flex;
    align-items: baseline;
    width: auto;
    text-align: left;
    flex-grow: 0;
    flex-shrink: 1;
    white-space: nowrap;
    overflow-x: hidden;
}

div.dataTables_bar > div.dataTables_toolbar > span.button-container::-webkit-scrollbar { 
    display: none;
}

div.dataTables_bar > div.dataTables_toolbar > span.button-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

div.dataTables_bar > div.dataTables_toolbar > span.button-container.has-left-scroll {
    box-shadow: inset 10px 0 3px -7px #999;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

div.dataTables_bar > div.dataTables_toolbar > span.button-container.has-right-scroll {
    box-shadow: inset -10px 0 3px -7px #333;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

div.dataTables_bar div.dataTables_filter {
    display: inline-block;
    flex-grow: 1;
    flex-shrink: 1;
}

div.dataTables_bar div.dataTables_toolbar span.button-container {
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 1;
    min-width: 10px;
    padding: 0px 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

div.dataTables_bar div.dataTables_toolbar span.button-container input {
    height: 30px;
}

table.dataTable tbody th.dt-body-top, table.dataTable tbody td.dt-body-top {
    vertical-align: top;
}

table.dataTable tbody th.dt-body-middle, table.dataTable tbody td.dt-body-middle {
    vertical-align: middle;
}

table.dataTable tbody th.dt-body-bottom, table.dataTable tbody td.dt-body-bottom {
    vertical-align: bottom;
}

a.link {
    text-decoration: none;
}

img.document-image {
    max-width: 100%;
    height: auto;
}

/** Shortcut pane **/

div.shortcut-pane-container {
    display: fixed;
    width: 100%;
    height: 100%;
    background-color: #95a5a6;
    opacity: 0.75;
}

/** Notification **/
ul#notification_container {
    max-height: 400px;
    overflow-y: scroll;
}

ul#notification_container > li.notification-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    padding: 4px 5px;
}

ul#notification_container > li.notification-item:hover {
    background-color: #eee;
    cursor: pointer;
}

ul#notification_container > li.notification-item:not(:nth-child(2)) {
    border-bottom: 1px solid #ddd;
}

ul#notification_container > li.notification-item > span.icon {
    padding: 0px 4px;
    white-space: nowrap;
}

ul#notification_container > li.notification-item > span.icon i.unread-icon {
    position: absolute;
    top: 4px;
    left: 5px;
    font-size: 8px;
}

ul#notification_container > li.empty-notice:only-of-type {
    display: initial;
}

ul#notification_container > li.empty-notice:not(:only-of-type) {
    display: none;
}

ul#notification_container > div.loading {
    display: none;
}

ul#notification_container.loading > div.loading {
    display: initial;
}

div.form-sample {
    display: none;
}

*.stretch-height {
    height: 100%;
}

*.stretch-width {
    width: 100%;
}

*.scrollable-y {
    overflow-y: scroll;
}

*.scrollable-x {
    overflow-x: scroll;
}

*.overflow-auto-y {
    overflow-y: auto;
}

span.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

input.alt-field {
    display: none !important;
}

.selectize-dropdown .active {
    background-color: #a4b0be;
}

.blink {
    animation: blinker 1s linear infinite;
}
  
@keyframes blinker {
    50% {
        opacity: 0;
    }
}