﻿body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1200px) {
  .container {
    width: 95%;
    max-width: 1900px;
  }
}

/* Set width on the form input elements since they're 100% wide by default */
/*
input,
select,
textarea {
    max-width: 280px;
}
*/

.mw-280 {
    max-width: 280px;
}

.popover-title,
.popover-header {
    font-size: 0.8em;
    background-color: royalblue;
    color: white;
}
.popover-content,
.popover-body {
    min-width: 180px;
    font-size: 0.7em;
}

.command-icon {
    margin-bottom: 0rem;
    padding-left: .5rem;
    padding-right: 0px;
    padding-top: .3rem;
    padding-bottom: .2rem;
    min-width: 16px;
}

.del-icon {
    color: red;
    cursor: pointer;
}

.edit-icon {
    color: blue;
    cursor: pointer;
}

.table-borderless > tbody > tr > td { 
    border: 0; 
}

.table-listbox table > tbody > tr > td { 
    border: 0; 
    padding-bottom: 2px;
    padding-top: 2px;
}

.table-listbox div.dataTables_scrollBody { 
    border: 1px solid lightgray;
    border-top: none; 
}

/*table.dataTable tbody tr.selected {
  background-color: #B0BED9;
}*/

.table > tbody > tr > td.selected,
.table > tbody > tr > th.selected,
.table > tbody > tr.selected > td,
.table > tbody > tr.selected > th {
  background-color: #B0BED9;
  /*background-color: #d9edf7;*/
}

.table-hover > tbody > tr > td.selected:hover,
.table-hover > tbody > tr > th.selected:hover,
.table-hover > tbody > tr.selected:hover > td,
.table-hover > tbody > tr:hover > .selected,
.table-hover > tbody > tr.selected:hover > th {
  background-color: #a9b7d1;
  /*background-color: #c4e3f3;*/
}

td.details-control {
    background: url('./DataTables/images/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('./DataTables/images/details_close.png') no-repeat center center;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

tr > td.led-cell {
    background: black;
    text-align:center;
}

.infobox {
    border:2px solid black;
    margin-top: 8px;
    background:#333;
    color:#FFF;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    padding: .5em 1em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-shadow:0 -1px #000000;
    -webkit-box-shadow: 0 0  8px #000;
    box-shadow: 0 0 8px #000;
}

.ib-div {
    border: 1px solid black;
    padding:0px;
    margin:0px;
    line-height:12px;
}

.ib-line {
    margin:0px;
    padding: 0px 1px;
    background: white;
    color: black;
    font-family: Arial, Arial, Helvetica, sans-serif;
    font-size:11px;
    text-align:center;
}

.ib-vehicle {
    margin:0px;
    padding: 0px 1px;
    background: green;
    color: white;
    font-family: Arial, Arial, Helvetica, sans-serif;
    font-size:11px;
    text-align:center;
}

.k-switch-container {
    padding: 1px;
    border-radius: 3em;
}
.k-switch-handle {
    width: 1.5em;
    height: 1.5em;
    border-radius: 3em;
}

.k-switch-on .k-switch-handle {
    left: calc(100% - 1.5em);
}

/*.k-grid.table-sm td {
    padding: .2em .3em;
    line-height: 1.5em;
}*/

.k-grid.small {
    font-size: 11px;
}

.k-grid.small td {
    line-height: 2em;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}

.k-grid-header .k-header {
    overflow: visible !important;
    white-space: normal !important;
}

.k-grid.table-white tr td {
    border-bottom: none;
}

.k-grid.table-white tr.k-alt {
    background-color: transparent;
}

.k-grid.table-white tr.k-alt:hover {
    background-color: rgba(33,37,41,.065)
}

.k-grid.table-white tr.k-alt.k-state-selected {
    background-color: #428bca;
}

.k-grid.table-white tr.k-alt.k-state-selected:hover {
    background-color: #a9b7d1;
}

.table > tbody > tr > td.selected,
.table > tbody > tr > th.selected,
.table > tbody > tr.selected > td,
.table > tbody > tr.selected > th {
    background-color: #B0BED9;
    /*background-color: #d9edf7;*/
}

.table-hover > tbody > tr > td.selected:hover,
.table-hover > tbody > tr > th.selected:hover,
.table-hover > tbody > tr.selected:hover > td,
.table-hover > tbody > tr:hover > .selected,
.table-hover > tbody > tr.selected:hover > th {
    background-color: #a9b7d1;
    /*background-color: #c4e3f3;*/
}
