label.inline {
    width: 48%;
    text-align: right
}

button.inline {
    width: auto;
}

select.inline, input.inline {
    width: 50%;
    display: inline-block;
}

table.nested-form-table {
    background-color: transparent !important;
    margin-bottom: 0 !important;
}

table.nested-form-table select.inline, table.nested-form-table input.inline {
    width: 100%;
    display: inline-block;
}


@media only screen and (max-width: 767px) {

    .navbar-top-links .dropdown-user {
        right: unset;
    }
}

.CodeMirror-fullscreen {
    z-index: 1001 !important;
}

.table-inside tbody tr:hover {
    background-color: transparent;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sidebar .sidebar-brand {
    padding: .5rem 1rem;
    margin: 0.1rem 0.5rem;
}

.sidebar-brand-icon {
    width: 100%;
}

.sidebar-brand-icon img {
    width: auto;
    height: auto;
    max-height: 80px;
    max-width: 80%;
    display: block;
    padding: 10px 0;
}

table.table-compact td {
    padding: .25rem;
}

option:disabled {
    background-color: lightgrey;
}

@media (max-width: 992px) {
    .d-lg-max-inline {
        display: inline !important;
    }
}

.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 9999;
}

.loader-container {
    background: rgba(0,0,0,0.2);
    width: 100%;
    height: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    position: fixed;
}

.custom-control-input:checked~.custom-control-label::before, .custom-switch .custom-control-input:checked~.custom-control-label::after,
.custom-switch .custom-control-label::before, .custom-switch .custom-control-label::after  {
    margin-top: -4px;
}

.custom-switch {
    padding-left: 2.75rem;
}

.overflow-wrap a {
    overflow-wrap: anywhere;
}

.text-underline {
    text-decoration: underline;
}

.w-7 {
    width: 7rem!important;
}

.w-10 {
    width: 10%;
}

div.rule:first-of-type {
    /*border-top: 1px solid #e3e6f0;*/
    /*padding-top: 0.5rem !important;*/
    margin-top: 0;
}

.rule i.remove-rule:not(:first-of-type) {
    display: none;
}

.rule {
    padding: 0.5rem;
    margin: 1rem 0;
}

.selected-box {
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-clip: padding-box;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.selected-box img {
    height: 150px;
    min-height: 150px;
}

.selected-box .label {
    text-overflow: ellipsis;
    width: 170px;
    overflow: hidden;
    white-space: nowrap;
}

.href-disabled a, .href-disabled button, a.href-disabled, button.href-disabled {
    opacity: .4;
    cursor: default !important;
    pointer-events: none;
}

.table-checkbox, .table-radio {
    margin-bottom: 0;
}

.table-checkbox td, .table-radio td {
    border: none;
}

.gap-10 {
    gap: 10px;
}

.wrap-all {
    word-break: break-all;
    white-space: normal;
}

.form-group table.form-control {
    height: auto;
}

.sidebar.toggled .nav-item .collapse {
    z-index: 5;
}

form .form-group.codemirror label {
    position: relative;
}

form.btn-form {
    display: inline-block;
}

.dropdown-item form.btn-form {
    display: flex;
}

.controller-endpoint-remove-btn {
    min-width: 1.5rem !important;
    padding: 0rem 1rem 0rem 0rem;
    box-sizing: content-box;
}

.controller-endpoint-remove-btn .nav-link {
    padding: 0;
    padding-left: .2rem;
    border: 0;
    text-align: center;
    background-color: white;
}

.qq-upload-button {
    display: unset!important;
    width: unset!important;
    padding: unset!important;
    float: unset!important;
    text-align: unset!important;
    background: unset!important;
    color: unset!important;
    border-radius: unset!important;
    border: unset!important;
    box-shadow: unset!important;
}

.qq-gallery.qq-uploader:before {
    font-size: inherit!important;
    opacity: 0.5!important;
}

.logo {
    width: 100%;
}

.home img.logo, .register img.logo, .forgot-password img.logo, .login img.logo {
    width: 200px;
}

.version-hash {
    font-family: Source Code Pro;
    font-weight: 500;
}

.crud-card {
    padding: 1.0rem;
    margin: 0.75rem !important;
}

.crud-card-wrapper {
    padding: 0;
}

@media (max-width: 576px) {
    .pagination {
        font-size: 0.75rem;
    }
    .pagination-wrapper {
        flex-direction: column;
        align-items: center;
    }
}

#content table:not(.table) {
    width: 100%;
}

#content table:not(.table), #content table:not(.table) th, #content table:not(.table) td {
    border: 1px solid #0A474F;
}

#content table:not(.table) th {
    background-color: #18b2c6;
    color: #fff;
    font-weight: normal;
}

#content table:not(.table) tr:nth-child(2n) {
    background-color: #f1f1f1;
}

button.files-btn {min-width: 0;}
div.file-card {height:fit-content; width:15rem; margin: 0 0.5% 4px; padding:0; overflow:hidden; text-align:center}

.files-upload-label {z-index: 100;}

div.qq-gallery.qq-uploader {
    padding: 30px 10px 10px;
}

form  input[type=date].form-control:not(.simple-control), form  input[type=datetime-local].form-control:not(.simple-control) {
    padding-left: 30px;
}

input[type=date]::-webkit-calendar-picker-indicator, input[type=datetime-local]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 10px;
}

/*#wrapper #content-wrapper {background-color: #f5f5f5;}*/
html.plain-view {background-color: #f5f5f5;}

@media (min-width: 768px) {
    .sidebar .nav-item .nav-link {
        margin: 0.1rem 0.5rem;
        width: 13rem;
    }
}

@media (min-width: 768px) {
    .sidebar .nav-item .collapse .collapse-inner .collapse-item,
    .sidebar .nav-item .collapsing .collapse-inner .collapse-item {
        padding: 0.4rem 1rem;
        margin-bottom: 0.1rem;
    }
}

.sidebar.toggled .nav-item .nav-link {
    text-align: center;
    padding: 0.5rem 0.5rem;
    margin: 0.1rem 0.1rem;
    width: 6.3rem;
}

.form-control::placeholder {
    color: #c0c7c7;
    opacity: 1;
}

.grid-stack>.grid-stack-item>.grid-stack-item-content {
    overflow-y: hidden;
}

ul.nav.dashboard-nav {
    width: 100%;
}

.dashboard-widget-x {
    float:right;
    display:none;
    padding: 0 2px;
    vertical-align: middle;
    position: absolute;
    cursor: pointer;
    right: 0;
    line-height: 1;
}

.grid-stack.preview .dashboard-widget-x {
    display: inline-block;
}

.dashboard-widget-x:hover {
    color: #dddfeb;
}

img.option-img {
    height: 100px;
}

table.table-checkbox-grouped, table.table-checkbox-grouped tbody{
    width: 100%;
    display: block;
}

table.table-checkbox-grouped label {
    position: relative;
    font-size: 1rem;
    margin-bottom: 0;
    text-overflow: unset;
    height: auto;
    overflow: unset;
}

table.table-checkbox-grouped .checkbox-table-cat, table.table-checkbox-grouped .checkbox-table-group {
    padding: 0.5rem 0.25rem;
}

.checkbox-table-cat {
    text-transform: uppercase;
    font-weight: 900;
    border-bottom: 1px solid #d1d3e2;
    margin: 10px 0;
}

.checkbox-table-group-name {
    font-weight: 900;
    font-size: 0.9rem;
}

.checkbox-table-group {
    margin-bottom: 20px;
}

.dropdown-item {
    white-space: normal;
}

a:hover > i, form button[type="button"]:hover > i {
    color: #07353B!important;
}
form button[type="button"][disabled] > i {
    color: #d1d3e2!important;
}

.bootstrap-select>.dropdown-toggle {
    border-color: #d1d3e2;
    background-color: #fff;
    padding: .25rem .8rem;
    font-size: .875rem;
    line-height: 1.5;
}

.nav-tabs {
    border-bottom-width: 0;
}

input[type=file] {
    padding: 0;
    height: 100%;
}

input[type=file]::file-selector-button:hover {
    cursor: pointer;
}

em.alert-danger::before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    margin-right: 4px;
}

input[type=checkbox] {
    margin: 3px 3px 3px 4px;
}

.form-control.auto input[type=checkbox] {
    margin: 0;
}

.form-control.auto {
    height: auto;
}

div.navbar.feature-request {
    padding: .5rem 1.5rem;
}

a.entity-link {
    width: 100px;
    height: 100px;
}

a.entity-link.large {
    width: 200px;
    height: 200px;
}

a.entity-link:hover {
    text-decoration: none;
}

a.entity-link:hover span {
    text-decoration: underline;
}

a.entity-link span {
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.entity-link span, a.entity-link div.icon-div {
    flex: 1;
    justify-content: flex-end;
    display: flex
}

a.entity-link i {
    margin: auto;
}

.card .card-header div form .input-group {
    padding: 0!important;
    margin: 0!important;
}

[data-toggle="collapse"][aria-expanded="true"] i {
    transform: rotate(180deg) ;
}

.embedded-preview {
    text-align: center;
}

.embedded-preview-title {
    font-size: 1.3em;
    margin-top: 6px;
}


.spinner-border {
    display: none;
}
.loading .spinner-border {
    display: inline-block;
}
.loading .btn-text {
    display: none;
}

form.genericForm {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
}

form.genericForm.formGrid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: 10px;
}

table tr.key-value:first-of-type td {
    border-top: 0;
}

ul.one-to-many {
    padding-inline-start: 0;
    list-style-position: inside;
}

.spinner-border {
    display: none;
}
.loading .spinner-border {
    display: inline-block;
}
.loading .btn-text {
    display: none;
}