:root {
    --is-mobile: true;
}

*, ::after, ::before {
    backface-visibility: hidden;
}

.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.btn-group .btn:first-child {
    border-bottom-left-radius: 100%;
    border-top-left-radius: 100%;
}

.btn-group .btn:not(.btn-block):last-of-type {
    border-bottom-right-radius: 100%;
    border-top-right-radius: 100%;
}

.c-body, .c-main, .container-fluid {
    margin: 0;
    padding: 0;
}

.notifications-menu .dropdown-menu .dropdown-item a {
    display: block;
    white-space: initial !important;
    overflow-wrap: anywhere !important;
}

.notifications-menu .dropdown-menu .dropdown-item {
    width: 300px;
}

footer.c-footer {
    transition: height 250ms;
    height: 15vh;
}

i.fas.fa-crane {
    width: 1rem;
    height: .5rem;
    background-image: url("/crane-dark.png");
    background-position: top center;
    background-size: .5rem;
    background-repeat: no-repeat;
    vertical-align: top;
}

.btn > i.fas.fa-crane {
    height: .8rem;
    background-size: .8rem;
    vertical-align: bottom;
}

[class*='success'] > i.fas.fa-crane, [class*='danger'] > i.fas.fa-crane {
    background-image: url("/crane-light.png");
}

.bg-purple, .btn-purple, .btn-purple:hover {
    background: #ab69ff;
    color: var(--light);
}

.border-purple {
    border: 1px solid #ab69ff !important;
}

.bg-green, .btn-green {
    background: #25d754;
    color: var(--dark);
}

.border-green {
    border: 1px solid #25d754 !important;
}

.bg-yellow, .btn-yellow, .btn-yellow:hover {
    background: #efef00;
    color: var(--dark);
}

.border-yellow {
    border: 1px solid #efef00 !important;
}

@media only screen and (max-width: 768px) {
    html.correct-size {
        width: 94vw;
    }
}
