﻿/* Tab */
.tab-content {
    display: none;
    height: -ms-calc(100% - 40px);
    height: -moz-calc(100% - 40px);
    height: -webkit-calc(100% - 40px);
    height: calc(100% - 40px);
}

.tab-content.active {
    position: relative;
    display: block;
}

.tab-controls.bottom {
    position: absolute;
    height: 26px;
    border-top: solid 1px #555;
    width: 100%;    
    overflow: visible;
    bottom: 7px;
}
.tab-controls .tab-control {
    background-color: #444;
    border-color: #555;
    float: left;
    padding: 0 6px;
    border-top: solid 1px #555;
    height: 25px;
    line-height: 23px;
    margin: -1px 0 0 2px;
    cursor: pointer;
    color: #CCC;
    font-size: 8pt;
    border-radius: 0 0 4px 4px;
}

.tab-controls .tab-control:hover {
    color: #0098C0;
}

.tab-controls .tab-control.active,
.tab-controls .tab-control.selected {
    background-color: #222;
    border-color: #555;
    border-style: solid;
    border-width: 1px;
    height: 25px;
    border-top-color: #222;
    color: #0098C0;
}
.tab-controls .tab-control.active:hover,
.tab-controls .tab-control.selected:hover {
    color: #0098C0;
}

.invisible {
	visibility: hidden;
}

#trackInfoBar {
	/*position: relative;*/
    position: absolute;
    top: 0;
    line-height: 1.3;
    width: calc(100% - 190px);
    left: 60px;
    font-weight: normal;
    text-transform: none;
}

#trackInfoBar .track-name, #selectedDeviceName, #trackInfoBar .track-info, #trackDistance {
    color: #FFF;
}

#selectedDeviceName {
	padding: 10px 0;
	text-align: center;
    margin-left: -55px;
}
#trackName {
	position: absolute;
	left: 45px;
	top: 10px;
}

#trackName span, .track-info span span {
	color: #BBB;
}

.track-info {
	position: absolute;
	right: 31px;
	top: 10px;
}

.empty-message {
	margin-top: 20px;
	text-align: center;
}

.time-slider {
	width: 100%;
}

.graph-container {
	float: left;
	box-sizing: border-box;
	padding-right: 10px;
    margin-top: 10px;
}
.graph-controls {
	width: 120px;
	float: left;
    margin-top: 10px;
}
.graph-controls p {
	padding-bottom: 4px;
}
.graph-controls select {
	width: 100%;
}
.graph-controls .fancybutton {
	width: 100%;
}

.graph-chart {
	height: 100px;
}

.graph-container .state {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: -5px;
	z-index: 999;
	text-align: center;
	padding: 5px 0;
	background-color: rgba(34, 34, 34, 0.72);
	font-size: 8pt;
	color: #CCC;
}

.time-frame {
	padding: 5px 2px 0 41px;
}
.time-line {
	position: absolute;
	top: -100px;
	height: 100px;
	width: 1px;
	font-size: 0;
	overflow: hidden;
	border-left: dotted 1px #0098C0;
	left: 50%;
}
.time-display{ 
	position: absolute;
	display: inline-block;
	/*top: -95px;*/
    top: calc(-50vh + 58px);
	color: #CCC;
	font-size: 8pt;
	background-color: rgba(68, 68, 68, .7);
	padding: 2px;
    left: -20px;
}
.user-block {
  position: absolute;
  border: 1px solid rgb(18, 96, 36);
  background-color: rgba(43, 209, 87, 0.18);
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  padding: 0px 5px;
  box-sizing: border-box;
  text-overflow: ellipsis;
  color: rgb(43, 209, 87);
}

.ContentHeader {
    height: 33px;
}

.ContentHeader .widget-close {
	display: block;
    float: right;
    color: #999;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    margin-top: 3px;
    margin-left: .5rem;
    margin-right: -5px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color .3s, color .3s;
    -webkit-transition: background-color .3s, color .3s;
    cursor: pointer;
}
.ContentHeader .date-select {
    position: absolute;
    left: 50%;
    margin-left: -133px;
    top: 0;
    vertical-align: middle;
}
.ContentHeader .date-select input[type=text],
.ContentHeader .date-select button {
    vertical-align: middle;
}
.ContentHeader .date-select button .fa {
    display: block;
}

.ContentHeader .filter {
    position: absolute;
    left: 120px;
    top: 0;
}

/************
 *  Schedule
 ************/
.ui-datepicker {
    z-index: 20 !important;
}
.table-schedule {
    width: 100%;
    /*table-layout: fixed;*/
}
.table-schedule thead th,
.incident-table thead th,
.sos-table thead th,
.hazard-table thead th {
    padding-top: 2px;
    padding-bottom: 2px;
    box-sizing: border-box;
}

.incident-table thead th,
.sos-table thead th,
.hazard-table thead th {
    padding-top: 10px;
    padding-bottom: 10px;
}

.table-schedule td,
.incident-table td,
.sos-table td,
.hazard-table td {
    box-sizing: border-box;
}

.incident-table tr:hover td,
.sos-table tr:hover td,
.hazard-table tr:hover td {
    background-color: #444;
}

.incident-table tr.disabled,
.table-schedule tr.disabled,
.hazard-table tr.disabled {
    opacity: 0.9;
}

.table-schedule .device-line {
    position: relative;
}

.table-schedule .device-line img {
    position: absolute;
    top: 8px;
}

.table-schedule .device-name, .incident-table .device-name {
    display: inline-block;
    width: 125px;
    overflow: hidden;
    text-overflow: '...';
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 16px;
    line-height: 16px;
    text-decoration: none;
}

.table-schedule .driver-name, .incident-table .driver-name {
    font-size: 7pt;
    color: #ccc;
    width: 125px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: '...';
    text-overflow: ellipsis;
}


.table-schedule .div-canvas {
    position: relative;
    height: 40px;
}
.table-schedule tr.drag-over {
    background-color: #FFF;
}

.table-schedule .job-canvas {
    /*z-index: 1;*/
    position: absolute;
}
.table-schedule .job-block {
    z-index: 10;
    position: absolute;
    height: 30px;
    box-sizing: border-box;
    cursor: pointer;
}

.table-schedule .docket-block {
	position: absolute;
	/*border-style: dashed;
	border-width: 1px;*/
	top: 30px;
	height: 15px;
	line-height: 14px;
	padding-left: 1px;
	z-index: 11;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	white-space: nowrap;
	box-sizing: border-box;
	font-size: 6pt;
	cursor: pointer;
}

.table-schedule .job-block span {
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: '...';
    text-overflow: ellipsis;
    line-height: 30px;
    padding-left: 5px;
    padding-right: 5px;
    height: 40px;
    display: block;
    width: 100%;
}

.table-schedule .job-route {
    text-decoration: none;
}

.table-schedule .job-block .wrapper {
    height: 30px;
}
.table-schedule .job-block.dragging {
    border-style: dotted;
    opacity: .5;
}

.table-schedule .job-block .tail {
    box-sizing: border-box;
    position: absolute;
    border-style: dotted none dotted none;
    border-width: 1px 0 1px 0;
    /*height: 30px;*/
    height: 16px;
    top: 8px;
}
body .k-button-icon {
    /*width: 28px;*/
    box-sizing: border-box;
    text-align: center;
    padding-left: 4px;
    padding-right: 4px;
}

.select-label, .k-list .k-item {
    font-size: 8pt;
    font-weight: 300;
    white-space: nowrap;
    height: 20px;
    line-height: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 2px;
}
.select-label {
    max-width: 70px;
    margin-bottom: 0;
}

.k-multiselect {
    display: inline-block;
    vertical-align: top;
    margin-top: 1px;
    box-sizing: border-box;
    height: 28px;
}
.k-multiselect input.k-input {
    width: 5px !important;
}
.k-multiselect div, .k-multiselect ul, .multiselect li {
    box-sizing: border-box;
}
.k-multiselect-wrap {
    height: 28px;
    overflow: hidden;
}
.k-multiselect-wrap li {
    padding: 0 18px 0 5px;
    line-height: 19px;
}

.hover-btn {
    box-sizing: border-box;
    width: 32px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    font-size: 14px;
    color: white;
    display: block;
}

.hover-btn:hover {
    background-color: #0098C0;
}
@media screen and (max-width: 560px) {
    .ContentHeader span.title {
        display: none;
    }
}
.tool_tip table td {
    line-height: 1.4;
    padding-top: 2px;
}

.tool_tip table td.text-label {
    color: #ccc;
}

ul.legend {
    position: absolute;
    bottom: 4px;
    right: 8px;
    width: 120px;
}

ul.legend li {
    font-size: 7pt;
    width: 60px;
    float: left;
    padding-left: 6pt;
    box-sizing: border-box;
    line-height: 1.5;
}

ul.legend li span i.fa {
    font-size: 8pt;
    margin-left: -6pt;
    vertical-align: middle;
}

.rp-hl {
	position: absolute;
	top: 45px;
	bottom: 37px;
	background-color: rgba(248, 232, 0, .3);
	box-sizing: border-box !important;
	border-color: #F8E800;
	border-left: dotted 1px;
	border-right: dotted 1px;
}

.timeframe-detail {
    position: absolute;
    width: 150px;
    max-height: 120px;
    right: 160px;
    top: 45px;
    text-align: right;
    background-color: rgba(56, 56, 56, .3);
    padding: 5px 0;
}

.timeframe-detail td {
    padding: 2px;
    font-size: 7pt;
}
.timeframe-detail td.text-label {
    color: #ccc;
}

.timeframe-detail sup {
    vertical-align: super;
    font-size: 5pt;
}

.btn-bottom {
	position: absolute;
	bottom: 49px;
	display: block;
	width: 120px !important;
}
/*
.tip-title {
    color: #0098C0;
    font-weight: bold;
    text-transform: uppercase;
}
.tip-faded {
    color: #ccc;
}
td.tip-faded {
    min-width: 50px;
}
.tip-title, .tip-faded {
    white-space: nowrap;
    line-height: 1;
}

.tip-table {
    line-height: 1.3;
}
.tip-table tr td:first-child {
    color: #ccc;
}
.tip-table tr td.tip-title:first-child {
    color: #0098C0;
}
.tip-table td {
    padding: 2px;
}
.tip-table .tip-title, .tip-table .tip-faded {
    vertical-align: top;
    padding-bottom: $gap / 2;
}

*/