﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
* {
    font-family:'Open Sans'
}
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 12px;
}
@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.btn {
    padding-top: 5px !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
    font-size: 0.8em;
    background: white;
    text-align:center;
}
    .footer a {
        text-decoration: none;
        color: #6c757d !important;
    }


.navbar-light .navbar-nav .nav-link {
    color: #439fc9 !important;
    text-shadow: none;
    font-style: normal;
    transition: all .3s;
    padding-left: 15px;
    padding-right: 15px;
}

html, body {
    height: 100%;
    overflow:hidden;
}

.container-fluid {
    margin: 0 auto;
    height: 100%;
    padding: 20px 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.columns {
    height: 100%;
}

.k-input, .k-textbox > input {
    font-size:0.9em !important;
}
#parent,
#grid {
    margin: 0;
    padding: 0;
    border-width: 0;
    height: 96.5%;
    background-color: transparent;
}

#g-stations, #g-operators, #g-logging {
    margin: 0;
    padding: 0;
    border-width: 0;
    height: 100%;
    background-color: transparent;
}
.k-tabstrip-wrapper {
    margin: 0;
    padding: 0;
    border-width: 0;
    height: 94%;
}

/*
.k-content{
    padding-top:0px !important;
    padding-bottom:0px !important;
    padding-right:0px !important;
    padding-left:0px !important;
}
*/

.k-listview{
    border-width:0px;
}

.k-state-highlight {
    border-bottom: 2px solid #a2b9e0 !important;
    color: #3a7dc0 !important;
}

.k-list .k-item.k-state-focused, .k-list .k-item:focus, .k-list-optionlabel.k-state-focused, .k-list-optionlabel:focus{
    display:none !important;

}
span.k-autocomplete {
    width: 100%;
}
.card-view {
    display: inline-block;
    height: 265px;
    box-sizing: border-box;
    position: relative;
    padding: 10px;
    margin: 5px;
    margin-top: 15px;
    min-width: 290px;
    vertical-align: top;
}

    .card-view dl {
        margin: 10px 10px 0;
        padding: 0;
        overflow: hidden;
    }

    .card-view dt, dd {
        margin: 0;
        padding: 0;
        width: 100%;
        line-height: 24px;
        font-size: 18px;
    }

    .card-view dt {
        font-size: 11px;
        height: 16px;
        line-height: 16px;
        text-transform: uppercase;
        opacity: 0.5;
    }

    .card-view dd {
        height: 46px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 245px;
    }

        .card-view dd .k-widget,
        .card-view dd .k-textbox {
            font-size: 14px;
        }

.k-listview {
    border-width: 1px 0 0;
    padding: 0;
    overflow: hidden;
    min-height: 298px;
}

.edit-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: right;
    padding: 5px;
    background-color: rgba(0,0,0,0.1);
}

.k-pager-wrap {
    border-top: 0;
}

span.k-invalid-msg {
    position: absolute;
    margin-left: 6px;
}

.k-add-button {
    margin-bottom: 2em;
}

@@media only screen and (max-width : 620px) {

    .card-view {
        width: 100%;
    }

        .card-view:nth-child(even) {
            border-left-width: 1px;
        }
}


.kpi-view {
    display: inline-block;
    height: 100px;
    box-sizing: border-box;
    position: relative;
    padding: 15px;
    margin: 10px;
    margin-top: 25px;
    min-width: 135px;
    text-align: left;
    margin-left: 25px;
    margin-right: 25px;
}

    .kpi-view dl {
        margin: 10px 10px 0;
        padding: 0;
        overflow: hidden;
    }

    .kpi-view dt, dd {
        margin: 0;
        padding: 0;
        width: 100%;
        line-height: 24px;
        font-size: 18px;
    }

    .kpi-view dd {
        font-size: 11px;
        height: 16px;
        line-height: 16px;
        text-transform: uppercase;
        opacity: 0.5;
    }

    .kpi-view dt {
        height: 46px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.k-list .k-item, .k-list-optionlabel {
    font-size:0.8em !important;
}

.gc-disabled-discount{
    color: #ccc;
}

.k-input.k-textbox.k-state-focus, .k-input.k-textbox:focus, .k-textarea.k-state-focus, .k-textarea:focus, .k-textbox.k-state-focus, .k-textbox:focus {
    border-color: #3f51b5;
}

.k-textbox:not(:-webkit-autofill) {
    -webkit-animation-name: autoFillEnd;
    animation-name: autoFillEnd;
}

.k-edit-field .k-dropdown, .k-edit-field .k-dropdowntree, .k-edit-field .k-numerictextbox, .k-edit-field .k-textbox {
    width: auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.k-edit-field > .k-input.k-textbox, .k-edit-field > .k-textbox, .k-edit-field > .k-widget {
    width: 100%;
    box-sizing: border-box;
}

.k-input.k-textbox, .k-textarea, .k-textbox {
    border-color: rgba(0,0,0,.42);
    background-color: rgba(0,0,0,0);
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
}

.k-textbox {
    height: calc(1.125em + 18px);
}

.k-input.k-textbox, .k-textarea, .k-textbox {
    border-radius: 2px;
    padding: 8px 0;
    width: 200px;
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    outline: 0;
    font: inherit;
    font-size: 16px;
    line-height: 1.125;
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: middle;
    position: relative;
    -webkit-appearance: none;
}
#history, #discounts, #funding, #quotas {
    border-top: 0px;
    border-color: transparent;
}

.k-grid-content{
    overflow:hidden;
}

.k-grid-header{padding-right:0px !important;}
.k-grid-header-wrap { border-right:0px !important;}
.k-grid-footer{padding-right:0px !important;}

/* width */
::-webkit-scrollbar {    width: 7px;}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #3a7dc0;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: rgb(0, 101, 178);
    }

.fieldlist {
    margin: 0 0 -1em;
    padding: 0;
}

    .fieldlist li {
        list-style: none;
        padding-bottom: 1em;
    }

.gc-negative {    color: #ff6961;}
.gc-positive {    color:#77dd77 ;}

.green { color: #75abd5 !important; }
.red { color: #ff6961 !important;	}
.k-grid-search{ padding:10px !important; }
.k-grid td, .k-grid-header th{ padding-left:15px !important; padding-right:15px; !important; }