body,
.btn {
    font-size: 16px;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: 0;
}

.nav-sidebar .nav-header:not(:first-of-type) {
    padding: 1rem 1rem .5rem;
    font-weight: bold;
}

input.form-control[type="color"] {
    width: auto;
    min-width: 150px;
}

/*
.btn-secondary {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    background-color: #138496;
    border-color: #117a8b;
}
*/

.invalid-feedback {
    display: block;
}

.table thead th a {
    padding-right: 20px;
    background: center right no-repeat;
    background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
}

.table thead th a.asc {
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}

.table thead th a.desc {
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}

.table td,
.table th {
    vertical-align: middle;
}

.required label:after {
    content: "*";
}

.required .form-check-label::after {
    content: unset;
}

.sortable {
    cursor: move;
}

.main-header .logo .logo-lg {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.multicheckbox > fieldset {
    column-count: 4;
}

.multicheckbox > fieldset .checkbox {
    margin-top: -5px;
}

.page-title h1 {
    display: inline-block;
    vertical-align: top;
}

/** has many widget **/
.hasMany fieldset, .editable-list fieldset {
    position: relative;
    background: #f8f9fa;
    border-radius: 4px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.hasMany fieldset legend, .editable-list fieldset legend {
    float: left;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    overflow-wrap: break-word;
    padding: 5px 0px;
}

.hasmany-action-btns {
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 14px;
}

.hasmany-sort-btn {
    margin-right: 10px;
    font-size: 20px;
    color: #495057;
    /* cursor: move; */
}

.hasMany fieldset legend.sort,
.hasMany fieldset legend.sort .hasmany-sort-btn {
    cursor: move;
}

/** gallery media **/

.dropzone {
    margin-left: auto;
    margin-right: auto;
    border: 2px dashed #0087F7;
    border-radius: 5px;
}

/** ajax modal **/
#modal-box .modal-btn {
    position: absolute;
    right: 1rem;
    top: 10px;
    z-index: 1;
}

#modal-box .content-header {
    padding: 15px 0px;
}

.login-box {
    margin-top: -200px;
}

.preview-types {
    margin-top: 5px;
}
