/*
 * Forms
 */
.input-error {
    margin-left: 0;
    margin-bottom: 0;
    padding: 2px 2px 2px 12px;
    border-radius: 0;
    border-top: none;
}

label {
    cursor: pointer;
}
.checkbox label {
    padding-left: 0;
}
.no-label {
    padding-top: 30px;
}
.checkbox-label {
    font-weight: normal;
}


/*
 * Partial blocks
 */
.partial-block {
    position: relative;
}
.partial-block .loading-img {
    background: url(../img/ajax-loader.gif) center center no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1002;
}
.partial-block .overlay {
    background-color: #ffffff;
    opacity: 0.5;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1001;
}


/*
 * Boostrap
 */
.label.label-lg {
    font-size: 100%;
    padding: 8px;
}
.label.label-block {
    display: inline-block;
}

/* a bit larger dl>dt 160px => 220px */
@media (min-width: 768px) {
    .dl-horizontal dt {
        width: 220px;
    }
    .dl-horizontal dd {
        margin-left: 240px;
    }
}

.pagination + .pagination {
    padding-left: 10px;
}


/*
 * AdminLTE
 */
.skin-black .main-header > .logo {
    background-color: #222d32;
    color: #fde300;
    border-right: none;
}
.skin-black .main-header .logo:hover {
    background-color: #222d32;
}
.skin-black.sidebar-collapse .main-header .logo {
    color: #000;
    background-color: #fff;
}
.skin-black.sidebar-collapse .main-header .logo:hover {
    background-color: #fff;
}

@media (max-width: 767px) {
    .fixed .content-wrapper, .fixed .right-side, .fixed .main-sidebar {
        padding-top: 50px;
    }
}

.box-header > .far, .box-header > .fas {
    margin-right: 5px;
}

.main-header .sidebar-toggle::before {
    content: none;
}

.nav-tabs-custom > .nav-tabs > li.header {
    line-height: 42px;
    padding: 0 10px 0 15px;
}

.nav-tabs-custom > .nav-tabs > li > a > .badge {
    margin-left: 10px;
}
.nav-tabs-custom > .nav-tabs > li > .badge {
    margin-top: 10px;
}

/* Title in navbar for small and extra small devices */
@media (max-width: 991px) {
    .navbar-text {
        overflow: hidden;
        text-overflow: ellipsis;
        width: calc(100% - 200px);
        white-space: nowrap;
        margin-bottom: 0px;
    }
}
@media (max-width: 767px) {
    .navbar-text {
        padding-left: 8px;
        width: calc(100% - 100px);
    }
}

/*
 * Debug Toolbar
 */
#pDebug #pDebugToolbarHandle {
    top: auto !important;
    bottom: 10%;
    right: auto !important;
    left: 0;
}


/*
 * Select2
 * overwritten box-shadow, border-color and border-radius to fit with Admin LTE theme
 * static/lib/select2-x.y.z/select2-bootstrap3.css
 */
.select2-drop {
    box-shadow: 0 !important;
    border-radius: 0 !important;
}
.select2-drop-active {
    border-color: #3C8DBC !important;
}
.select2-drop-auto-width,
.select2-drop.select2-drop-above.select2-drop-active {
    border-top-color: #3C8DBC !important;
}

.select2-container .select2-choices .select2-search-field input,
.select2-container .select2-choice,
.select2-container .select2-choices {
    border-radius: 0px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.select2-container-active .select2-choice,
.select2-container-multi.select2-container-active .select2-choices {
    border-color: #3C8DBC !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.select2-highlighted .text-muted {
    color: #eeeeee;
}

.select2-search input {
    border-radius: 0px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.no-search .select2-search {
    display: none;
}

.select2-result-selectable {
    font-weight: normal;
}
.select2-result-unselectable {
    font-weight: bold;
}

.load-icon .fa-spinner {
    position: absolute;
    top: 50%;
    right: 50%;
    color: #3f729b;
}

.search-buttons {
    margin-top: 4%;
}
