html,
body {
    height: 100%;
    background-color: #f8f9fc;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

main {
    margin: 30px 0;
}

.footer {
    background-color: #f5f5f5;
}

.kartik-sheet-style:not(.kv-expand-detail-loading) {
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f5f5f5));
    background: -webkit-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
    background: linear-gradient(to bottom,
    #ffffff 0%,
    #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
}

button.badge {
    border: none;
}

.popover-title {
    padding: 10px;
}

.table {
    color: #5a6268;
    font-size: .8rem;
}

.table-bordered thead th, .table-bordered thead td {
    border-bottom-width: thin;
}
.table-bordered thead th, .table-bordered thead td,
.table-bordered thead th a, .table-bordered thead td a {
    font-weight: normal;
    color: #4c4c4c;
    font-size: .7rem;
}

.kv-panel-after,
.kv-panel-before {
    border: none;
}

.kv-expanded-row {
    display: flex;
    justify-content: space-between;
}
.lease-detail-actions {
    margin: 35px auto;
}
.kv-container-to.form-control.highlight-addon.row.field-leases-return_date,
.kv-container-from.form-control.highlight-addon.row.field-leases-lease_date.required {
    margin: 0;
}

.popover {display: none}

.form-control-sm {
    font-size: 0.675rem;
}

.kv-expand-header-cell, .kv-expand-icon-cell {
    font-size: .8rem;
}

.table-bordered th:first-child,
.table-bordered td:first-child {
    border-left: unset;
}
.table-bordered th:last-child,
.table-bordered td:last-child {
    border-right: unset;
}

.bg-warning--2 {
    background: rgba(255, 193, 7, .3);
}