body {
    background-color: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-y: hidden;
}

#logo {
  display: block;
  margin: 4px;
}

h2 {
  margin: 0;
}

[type='text'],
[type='password'],
input[type='date'],
[type='datetime'],
[type='datetime-local'],
[type='month'],
[type='week'],
[type='email'],
[type='number'],
[type='search'],
[type='button'],
[type='submit'],
[type='tel'],
input[type='time'],
[type='url'],
[type='color'],
textarea,
select,
button {
  height: 30px;
}

label:empty:after {
  content: "\00a0";
}

.visibility-hidden {
  visibility: hidden;
}

#app {
    width: 100%;
    height: 100%;
}

/* Modals */
.modal-content {
    background-color: #f5f5f5;
    min-width: fit-content;
    min-width: -moz-fit-content;
}

.modal-header {
    /*padding: 0.75rem 20px;*/
    /*min-height: 47px;*/
    padding: 0.25rem 20px;
    min-height: 30px;
}

.modal-title {
    flex: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.dm-modal-form .modal-header > div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dm-modal-form .modal-header .close {
    margin-top: -45px;
}

.modal-body {
    padding: 0;
    min-width: fit-content;
    min-width: -moz-fit-content;
}

.modal-dialog {
    max-width: fit-content !important;
    max-width: -moz-fit-content !important;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.modal-open .modal {
    overflow-x: auto;
}

.modal-dialog {
    bottom: 0;
    transform: translateX(-50%) !important;
    left: 50%;
    margin: 0.75rem auto;
    position: absolute;
}

/* / Modals */

/* dm-table */
.dm-table {
    border: 1px solid #e2e5e8;
    border-top: none;
    height: 100%;
    background: #fff;
    position: relative;
    overflow-x: auto;
}

.dm-table > div:first-child {
    /*height: 50px;*/
    overflow: hidden;
    z-index: 4;
    /*background: #1258a0;*/
    position: absolute;
    display: inline-block;
    min-width: 100%;
}

.dm-table th {
    /*height: 50px;*/
    padding: .25rem .75rem;
    border-top: none !important;
    border-bottom: none !important
}

.dm-table th {
    /*height: 50px;*/
    padding: .25rem .75rem;
    border-top: none !important;
    border-bottom: none !important
}

.dm-table > div:first-child * {
    color: #FFF;
}

.table td {
    padding: .25rem .75rem;
}

.dm-table > div:nth-child(2) {
    position: absolute;
    display: inline-block;
    height: 100%;
    overflow-y: auto;
    z-index: 0;
    min-width: 100%;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    white-space: nowrap;
    text-overflow: ellipsis;
}

.white-space-wrap {
    white-space: initial !important;
    text-overflow: initial !important;
}

.white-space-nowrap {
    white-space: nowrap !important;
}

.column-width-100 {
    width: 100px
}

.column-width-70 {
    width: 70px
}

.column-width-65 {
    width: 65px
}

.column-width-60 {
    width: 60px
}

.column-width-55 {
    width: 55px
}

.column-width-50 {
    width: 50px
}

.column-width-45 {
    width: 45px
}

.column-width-40 {
    width: 40px
}

.column-width-35 {
    width: 35px
}

.column-width-30 {
    width: 30px
}

.column-width-25 {
    width: 25px
}

.column-width-20 {
    width: 20px
}

.column-width-15 {
    width: 14px
}

.horizontal-padding-2px {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.padding-2px {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.padding-0px {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.horizontal-padding-3px {
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.horizontal-padding-4px {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.b-table.table > thead > tr > th[aria-sort]::after, .b-table.table > tfoot > tr > th[aria-sort]::after {
    position: relative;
    display: inline;
    bottom: unset;
    right: unset;
    padding-left: inherit;
    line-height: inherit;
}

.pagination {
    flex: none;
    margin-top: 10px;
    margin-bottom: 0;
}

.font-size-15px {
    font-size: 14px;
}
/* / dm-table */

/* dm-spinner */
.dm-spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    color: #FFF;
    z-index:100000;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    display: none;
    top: 0;
}

.dm-spinner i {
    font-size: 60px;
}
/* / dm-spinner */

/* multiselect */
.multiselect {
    min-height: 30px;
    height: 100%;
    width: inherit;
}

.multiselect__content-wrapper {
    width: fit-content;
    width: -moz-fit-content;
    min-width: 100%;
    /*position: fixed;*/
}

.multiselect__select {
    height: 28px;
    width: 30px;
}

.multiselect__tags {
    padding: 3px 55px 3px 3px;
    min-height: 30px;
    border: 1px solid #cacaca;
    border-radius: 3px;
    height: 100%;
    overflow: auto;
}

.multiselect__tag {
    margin-bottom: 0;
}

.multiselect__placeholder {
    margin-bottom: 0px;
    padding-top: 0px;
    color: #6c757d;
}

.multiselect__input, .multiselect__single {
    margin-bottom: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.multiselect__input {
    line-height: 10px;
    height: 22px;
}

.dm-single-select {
    padding: 0;
    position: absolute;
}

.dm-multi-select {
    position: absolute;
    padding: 0px;
}

.multiselect__option {
    padding: 6px 12px;
    min-height: 28px;
    height: fit-content;
    height: -moz-fit-content;
}

.dm-button.multiselect-option-btn {
    padding: 3px 6px;
    position: relative;
}

.multiselect-option-btn-container {
    width: 100%;
    height: 36px;
    text-align: center;
    padding: 3px 0;
}

.multiselect__option:after {
    line-height: 30px;
}

.multiselect__clear {
    position: absolute;
    right: 38px;
    margin-top: 7px;
    height: 23px;
    width: 15px;
    display: block;
    cursor: pointer;
    z-index: 2;
    color: #999;
}

.multiselect__clear .x {
    background: #c8c8c8;
    border-radius: 50%;
    height: 15px;
    width: 15px;
    text-align: center;
    color: #FFF;
    line-height: 13px;
    font-size: 16px;
}
/* / multiselect */

/* Buttons */
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show>.btn-secondary.dropdown-toggle {
    border: none;
}

.dm-table .fa:hover {
    cursor: pointer;
}

.btn.focus, .btn:focus {
    box-shadow: none;
}

.dm-button {
    padding: 0px;
    position: absolute;
}

.dm-button:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.dm-button-tab {
    font-size: 18pt;
    font-family: "Arial";
    color: #808080;
    border-left:none;
    border-right:none;
    border-top:none;
    border-bottom: 5px solid white;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
}

.dm-button-tab-active {
    border-bottom: 5px solid #3F62AA;
}

.dm-button-tab:hover {
    color: black;
    border-bottom: 5px solid #5683e0;
}

.dm-button-tab:focus {
    outline: none;
}

input[type="button"]:not(.dm-button-tab), input[type="submit"]:not(.dm-button-tab) {
    border-radius: 3px !important;
    padding: 2px !important;
}
/* / Buttons */

/* Navbar */
.navbar {
    border-bottom: 1px solid #ddd;
    padding: 0;
}

.right-menu .dropdown-menu {
    right: 0;
    left: auto;
}

.nav-item {
    margin-right: 20px;
}
/* / Navbar */

.dm-label {
    font-size: 12pt;
    color: #5a5a5a;
    line-height: 1;
    position: absolute;
    padding: 0px;
    display: flex;
}

.truncate span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.custom-control-label {
    color: #5a5a5a;
}

.dm-checkbox {
    margin-left: 24px;
    position: absolute;
    padding: 0px;
}

.dm-link {
    font-size: 12pt;
    text-decoration: underline;
    color: #0066ff;
    outline: none;
    position: absolute;
    padding: 0px;
    cursor: pointer;
}

.dm-line {
    position: absolute;
    padding: 0px;
}

.dm-link:hover {
    color: #0099ff;
}

.dm-datepicker {
    position: absolute;
}

.dm-timepicker {
    position: absolute;
}

.margin-right {
    margin-right: 10px;
}

.dm-alert header .layout-row {
    width: 100%;
}

.dm-alert .modal-dialog {
    max-width: 500px !important;
}

.dm-confirm .modal-dialog {
    max-width: 500px !important;
}

.dm-alert .dm-button, .dm-confirm .dm-button {
    position: relative;
}


.dm-container {
    position: absolute;
    padding: 0px;
}

.dm-application-form {
    background-color: #ffffff;
    position: relative;
}

.dm-html-template {
    position: absolute;
    overflow-y: auto;
    overflow-x: hidden;
}

.dm-template-form {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dm-image {
    position: absolute;
    padding: 0px;
    overflow: hidden;
}

b-navbar {
    position: absolute;
    padding: 0px;
}

.dm-numeric-input {
    position: absolute;
}

.dm-textarea {
    position: absolute;
    resize: none;
}

.dm-textbox {
    position: absolute;
}

/* Dropzone */
.dropzone {
    overflow: auto;
    /*height: 160px !important;*/
    min-height: 0px  !important;
}

.hot-load td {
    color: red;
    font-weight: bold;
}

.dropzone .dz-preview.dz-image-preview {
    background-color: initial;
}

.dm-hamburger-menu {
    width: 40px !important;
    padding-right: 0 !important;
}

.dm-hamburger-menu button,
#dm-hamburger-menu-options button {
    display: block;
    border: none;
    background: none;
    padding: 0;
    height: auto;
    outline: none;
    text-align: left;
}

.dm-hamburger-menu-trigger > *,
#dm-hamburger-menu-options button > * {
    pointer-events: none;
}

#dm-hamburger-menu-options {
    position: fixed;
    z-index: 99999999;
    visibility: hidden;
    background: #f2f2f2;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    min-width: 150px;
}

#dm-hamburger-menu-options button {
    width: 100%;
    padding: 3px 5px;
}

#dm-hamburger-menu-options button:hover {
    background: #aaa;
}
/* / Dropzone */

body:before {
    display: flex;
    color: white;
    font-size: 20px;
    position: fixed;
    width: 100%;
    height: 69px;
    z-index: 10000;
    font-weight: bold;
    pointer-events: none;
    align-items: center;
    padding-left: 35px;
    text-shadow: 2px 2px #000;
}

body.env-local:before {
    content: "Local";
    background-color: rgba(76, 175, 80, 0.5);
}

body.env-dev:before {
    content: "Dev";
    background-color: rgba(76, 175, 80, 0.5);
}

body.env-staging:before {
    content: "Staging";
    background-color: rgba(244, 67, 54, 0.5);
}

body.env-staging-preview:before {
    content: "Staging Preview";
    background-color: rgba(232, 119, 39, 0.5);
}