/* BMD layout fixes */
body {
    max-width: 100%;
    width: 100%;
}

.main-panel .navbar {
    z-index: 1001;
}

.main-panel > .content {
    padding-top: 1px !important;
    padding-bottom: 0 !important;
}

.not-set {
    color: red;
    font-style: italic;
    font-size: 0.8em;
}

.rounded-pill {
    border-radius: 50rem !important;
}

@media (min-width: 991px) {
    .sidebar-mini .main-panel,
    .sidebar-mini.visible-on-sidebar-regular .main-panel {
        width: 100%;
    }
}

.card.card-animated {
    transition: all .3s linear;
}

.card.card-show-on-load {
    opacity: 0;
    transform: translate3d(0, -60px, 0);
}

/* BMD layout fixes end*/

/* BMD form fixes */
.bmd-form-group [class*=" bmd-label"], .bmd-form-group [class^=bmd-label] {
    position: relative !important;
}

.form-group.has-danger .invalid-feedback {
    display: block;
}

/* BMD form fixes end */


/* Breadcrumb fixes */
.breadcrumb {
    margin-bottom: 0 !important;
}

/* Breadcrumb fixes end */


/* BMD Card fixes */
.card .card-actions {
    width: calc(100% - 35px) !important;
    z-index: 10;
}

/*.card .card-header,*/
/*.card .card-title {*/
/*    display: inline-block;*/
/*}*/

/* BMD Card fixes end */

/* GridView fixes */
.items-per-page-container .control-label {
    margin-right: 15px;
}

.items-per-page-container .form-control {
    text-align: right;
    display: inline-flex;
    width: auto;
    padding-left: 5px;
    padding-right: 5px;
}

.table-responsive > .table-bordered {
    border: 1px solid rgba(0, 0, 0, .06);
}

.table-bordered thead td {
    border-bottom: 2px solid rgba(0, 0, 0, .2) !important;
}


.grid-view .table > tbody > tr > td,
.grid-view .table > tbody > tr > th,
.grid-view .table > tfoot > tr > td,
.grid-view .table > tfoot > tr > th,
.grid-view .table > thead > tr > td,
.grid-view .table > thead > tr > th {
    padding: 1px 3px;
}

.grid-view .table thead tr th {
    padding: 12px 12px;
}

.grid-view .table thead a.asc,
.grid-view .table thead a.desc {
    text-decoration: underline;
    position: relative;
}

.grid-view .table thead a.asc:after,
.grid-view .table thead a.desc:after {
    position: absolute;
    display: block;
    top: -5px;
    right: -10px;
}

.grid-view .table thead a.asc:after {
    content: "\2191";
}

.grid-view .table thead a.desc:after {
    content: "\2193";
}

/* GridView fixes end */


/* Bootstrap Spinner */

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: 0.75s linear infinite spinner-border;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@keyframes spinner-grow {
    0% {
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: none;
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    animation: 0.75s linear infinite spinner-grow;
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

/* Bootstrap Spinner - end */

.kv-grid-container {
    overflow: initial;
}

.cursor-pointer {
    cursor: pointer;
}

@media (min-width: 992px) {
    .modal-lg {
        width: 900px;
    }
}

@media (min-width: 768px) {
    .modal-xl {
        width: 98%;
        max-width: 98%;
    }
}


.modal-full .modal-dialog {
    margin-top: 20px;
    width: 95% !important;
    height: 95% !important;
    min-width: 95% !important;
    min-height: 95% !important;
    max-width: 95% !important;
    max-height: 95% !important;
}

.modal-full .modal-content {
    height: auto !important;
    min-height: 95% !important;
}

div.required label:after {
    content: " *";
    color: red;
}

.navbar.bg-custom {
    color: #fff;
    background-color: #999898 !important;
}

.sidebar[data-color=green] li.active > a {
    background-color: #999898;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgb(106 106 106 / 40%);
}

.dropdown-menu {
    z-index: 1010;
}

.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover,
.dropdown-menu a:active,
.dropdown-menu a:focus,
.dropdown-menu a:hover {
    background-color: #999898;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgb(106 106 106 / 40%);
}

.kv-grid-table.table > tbody > tr > td,
.kv-grid-table.table > tbody > tr > th,
.kv-grid-table.table > tfoot > tr > td,
.kv-grid-table.table > tfoot > tr > th,
.kv-grid-table.table > thead > tr > td,
.kv-grid-table.table > thead > tr > th {
    padding: 2px 8px;
    vertical-align: middle;
    border-color: #ddd !important;
}

.main-panel > .content {
    margin-top: 0;
}
