﻿body {
    /*padding-bottom: 20px;*/
    --ff-sans: -apple-system,BlinkMacSystemFont,"Segoe UI","Liberation Sans",sans-serif;
    --ff-serif: Georgia,Cambria,"Times New Roman",Times,serif;
    --ff-mono: ui-monospace,"Cascadia Mono","Segoe UI Mono","Liberation Mono",Menlo,Monaco,Consolas,monospace;
    --theme-body-font-family: var(--ff-sans);
}

a {
    text-decoration: none;
    cursor: pointer;
}

.k-grid td a:hover {
    /*color: #007bff;*/ /* Change to the color you want */
    text-decoration: underline; /* Optional: add an underline */
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;    
    margin-top: 15px;
    height: calc(100vh - 108px); /* body's padding bottom 20px, body-content's margin-top 15px, navbar 60px, extra pixel because it was fucking up*/
}

.container {
    max-width: 100vw;
}

.container .body-content{
    max-width: 100vw;    
}

.dl-horizontal dt {
    white-space: normal;
}

.top-bar * {
    box-sizing: border-box;
    font-family: var(--ff-sans);
}

.top-bar {
    background-color: hsl(210,8%,97.5%);
    box-sizing: border-box;
    box-shadow: 0 4px 2px -2px gray;
    border-top: #a7a12c;
    padding-bottom: 0px;
    padding-top: 0px;
}

.top-bar .nav-bar {
    padding: 5px;
}

#navbar > ul > li > a {
    display: inline-block;
    border-radius: 1000px;
    color: hsl(210,8%,35%);
    white-space: nowrap;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0px 5px;
    color: #484F40;
}

nav navbar-nav {
    margin: 5px;
}

.k-card {
    border-radius: 0px;
}

.top-bar li {
    padding: 10px;    
}

.k-pager-wrap {
    padding: .333em .25em;
}

.k-icon-star-nds {
    font-size: 1em;
    color: #a7a12c;
}

.k-widget.k-tooltip {
    background-color: #ffffe1 !important;
    font-size: 13px !important;
    color: black !important;
    padding:5px;
}

/***
    Grid
        ***/

.k-grid {
    height: 100%;
    font-size: 12.5px !important;
    cursor: default;
}

.k-grid tr td {
    border-width: 0 0 1px 1px;
    border-style: solid;
}

.k-grid .k-picker {
    font-size: inherit;
}

.k-grid .k-grid-search  {
    display: flex;
    margin-left: 0;
    margin-right: auto;
}

.k-grid .k-toolbar .k-input {
    width: 20rem;
}

.k-grid td.k-selected, .k-grid td.k-state-selected, .k-grid th.k-selected,
.k-grid th.k-state-selected, .k-grid tr.k-selected > td, .k-grid tr.k-state-selected > td {
    background-color: #dbd9aa !important;
    border-color: #dee2e6 !important;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 1em;
    width: 1em;
    border-radius: 50em;
    background: url(https://pro.fontawesome.com/releases/v5.10.0/svgs/solid/times-circle.svg) no-repeat 50% 50%;
    background-size: contain;
    opacity: 0;
    pointer-events: none;
}

input[type="search"]:focus::-webkit-search-cancel-button {
    opacity: .3;
    pointer-events: all;
}

.k-grid-header th.k-header > .k-link {
    line-height: inherit;
}

div.k-popup .k-item {
    font-size: 12px;
}

.k-grid .k-input {
    font-size: 13px !important;
}

.k-grid td {
    line-height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.k-grid tbody tr {
    line-height: 14px;
}

.k-grid tbody td {
    padding: 5px;
}

.text-box, .single-line {
    width: 100%;
}

.k-grid tr .checkbox-align {
    text-align:center;
    vertical-align: middle;
}

.k-grid-header .k-header-column-menu {
    margin-top: 0;
}

.k-grid td > .k-checkbox {
    vertical-align: middle !important;
}