﻿/***** Fix bootstrap form styles *****/
.autoHeight {
    height: auto !important;
}

.bsContentHeight {
    height: auto !important;
}

.bsControlLabel {
    margin-bottom: 0;
    white-space: nowrap;
}

.bsFilterSet {
    border: 1px solid #b8c9fc !important;
    -webkit-box-shadow: 0 0 0 0 #000;
    -moz-box-shadow: 0 0 0 0 #000;
    box-shadow: 0 0 0 0 #000;
    height: 100px;
    margin: 0.5em 0 1em 0 !important;
    min-height: 100px;
    padding: 0 0.7em 0.4em 0.7em !important;
    white-space: nowrap;
}

.bsFilterSetGreyBk {
    border: 1px solid #333 !important;
    -webkit-box-shadow: 0 0 0 0 #000;
    box-shadow: 0 0 0 0 #000;
    height: 100px;
    margin: 0.5em 0 1em 0 !important;
    min-height: 100px;
    padding: 0.4em 1.4em 0.8em 1.4em !important;
}

.bsFilterSubset {
    border: 1px solid #b8c9fc !important;
    -webkit-box-shadow: 0 0 0 0 #000;
    -moz-box-shadow: 0 0 0 0 #000;
    box-shadow: 0 0 0 0 #000;
    margin-right: 0.5em;
    padding: 0.4em 1.4em 0.8em 1.4em !important;
}

.bsFullHeight {
    min-height: 100%;
    height: 100%;
}

.bsHasError {
    color: #a94442;
}

.bsHasWarning .control-label {
    color: #cc7a00;
}

.bsHasWarning .control-text {
    color: #cc7a00;
}

.bsHasWarning .form-control {
    border-color: #cc7a00;
    -webkit-box-shadow: inset 0 1px 1px #ddd;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px #ddd;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.bsHasWarning .form-control:focus {
    border-color: #663d00;
    -webkit-box-shadow: inset 0 1px 1px #ddd, 0 0 6px #ffe0b3;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffe0b3;
    box-shadow: inset 0 1px 1px #ddd, 0 0 6px #ffe0b3;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ffe0b3;
}

.bsLegend {
    border-bottom: none;
    font-size: 1.2em !important;
    font-weight: bold !important;
    margin-bottom: 0;
    padding: 0 10px;
    text-align: left !important;
    width: auto;
}

.bsLegendDark {
    color: #000;
}

.bsLegendLight {
    color: #fff;
}

.bsLegendDump {
    color: #000;
}

.bsMargin10BottomMinus {
    margin-bottom: -10px !important;
}

.bsMargin15BottomMinus {
    margin-bottom: -15px !important;
}

.bsNavbarNoBottomMargin {
    border: 1px solid transparent;
    min-height: 50px;
    position: relative;
}

.bsNoBorderCollapse {
    border-collapse: separate;
}

.bsPanelNoTopPadding {
    padding-top: 0;
}

.bsRadioButton {
    margin: 4px 10px 0 0 !important;
}

.bsScrollbarBump {
    padding-right: 17px;
}

.bsVerticalMiddle {
    vertical-align: middle !important;
}

.bsVerticalTop {
    vertical-align: top !important;
}

/** Custom bootstrap support styles **/

.control-text {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

/**** Kendo UI element adjustments ***/

.kListMinWidth126 {
    min-width: 126px;
    width: auto !important;
}

.kListMinWidth251 {
    min-width: 251px;
    width: auto !important;
}

.k-grid .k-state-selected {
    background: #ffcc66 !important;
    background: -webkit-linear-gradient(#ffeb99, #ffcc66, #ffeb99) !important;
    background: -o-linear-gradient(#ffeb99, #ffcc66, #ffeb99) !important;
    background: -moz-linear-gradient(#ffeb99, #ffcc66, #ffeb99) !important;
    background: linear-gradient(#ffeb99, #ffcc66, #ffeb99) !important;
    color: #000;
}

.k-grid .k-alt .k-state-selected {
    background: #ffcc66 !important;
    background: -webkit-linear-gradient(#ffeb99, #ffcc66, #ffeb99) !important;
    background: -o-linear-gradient(#ffeb99, #ffcc66, #ffeb99);
    background: -moz-linear-gradient(#ffeb99, #ffcc66, #ffeb99) !important;
    background: linear-gradient(#ffeb99, #ffcc66, #ffeb99) !important;
    color: #000;
}

.k-header {
    background-color: #245c81;
    font-weight: bold !important;
}

.k-i-folder {
    background-image: url("/images/folder_64.png") !important;
    height: 64px;
    width: 64px;
}

.k-i-file {
    background-image: url("/images/document_64.png") !important;
    height: 64px;
    width: 64px;
}

.k-window-title {
    color: #fff !important;
}

.k-textbox[disabled] {
    background-color: #bfbfbf;
    color: #fff;
    text-shadow: 1px 1px #333;
}

.k-upload-pct {
    visibility: hidden;
    display: none;
}

/**** Kendo UI button adjustments ****/

.bloodyChromeButtons {
    background-color: #fff;
    cursor: pointer;
}

.btn-focushover:focus:hover {
    background-color: #2e6da4
}

.btn-outline,
.btn-outline:focus:not(:hover) {
    background-color: transparent;
    color: inherit;
    /* ReSharper disable once CssBrowserCompatibility */
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #265a88;
}

.btn-primary.btn-outline:hover {
    color: #fff;
}

.kButtonWidth251 {
    max-width: 251px;
    width: 251px;
}

/***** Kendo UI grid adjustments *****/

#instOpen {
    height: 37px;
}

#dataItemGrid .k-grid-content,
#meterInvGrid .k-grid-content,
#meterRouteGrid .k-grid-content,
#meterSumGrid .k-grid-content,
#meterDataDumpGrid .k-grid-content {
    overflow-y: auto !important;
}

#dataItemGrid .k-grid-header,
#meterInvGrid .k-grid-header,
#meterRouteGrid .k-grid-header,
#meterSumGrid .k-grid-header,
#meterDataDumpGrid .k-grid-header {
    padding: 0 !important;
}

/*#meterDataDumpGrid .k-grid-content {
    overflow-y: auto !important;
}*/

.k-grid .k-alt {
    background-color: #cce6ff;
}

/*#meterDataDumpGrid .k-grid .k-alt {
    background-color: #fff !important;
}*/

.k-grid td {
    border-bottom-width: 1px;
}

.k-grid table {
   table-layout: fixed;
}

.k-grid tbody tr{
    height: 10px;
}

.k-grid-header, .k-grid-header .k-header, .k-grouping-header {
    background-image: none, linear-gradient(to bottom, rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, 0) 100%) !important;
}
 
.k-grid td{
    white-space: nowrap;
    text-overflow: ellipsis;
}

.k-grid-header th.k-header {
    vertical-align: middle;
    height: 10px;
}

.k-grid-header th.k-header > .k-link {
    color: #fff;
    display: inline-block;
    min-height: 5px;
}

.k-grid-header th.k-with-icon .k-link {
    margin-right: 0;
}

#meterDataDumpGrid .k-grid-header .k-header {
    height: 15px;
}

.demo-section {
    width: 150px;
}

/********* Margin adjustments ********/

.margin15Sides {
    margin: auto 15px;
}

.margin10Top {
    margin-top: 10px;
}

.margin5Top {
    margin-top: 5px;
}

.margin10Vertical {
    margin: 10px auto;
}

.margin20Left {
    margin-left: 20px;
}

.marginReset {
    margin: auto;
}

.padding10Bottom {
    padding-bottom: 10px;
}

.padding10Right {
    padding-right: 10px;
}

.padding30Left {
    padding-left: 30px;
}

.padding10Sides {
    padding: 0 10px;
}

.padding10Vertical {
    padding: 10px 0;
}

.padding5Top {
    padding-top: 5px;
}

.padding8Top {
    padding-top: 8px !important;
}

.padding16Top {
    padding-top: 16px !important;
}

.padding32Top {
    padding-top: 32px;
}

.k-multicheck-wrap {
    max-height:150px;

}