﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

.container-fluid {
    margin-left: 20px;
    margin-right: 20px;
}

.tableWithPadding tr td {
    padding: 0 10px 0 0;
    vertical-align: middle;
}

.element-center {
    margin-left: auto;
    margin-right: auto;
}

.table-center td {
    padding: 5px;
}

.tailStyle img {
    display: none;
}

footer {
    width: 100%;
    text-align: center;
    bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

#heatmapContent {
    position: relative;
    height: 376px;
    width: 500px;
}

#heatmapArea {
    position: relative;
    /*width:100%;
	height:100%;*/
}


.dragscroll {
    overflow: auto;
    width: 100%;
    cursor: move; /* fallback: no `url()` support or images disabled */
    cursor: url(images/grab.cur); /* fallback: Internet Explorer */
    cursor: -webkit-grab; /* Chrome 1-21, Safari 4+ */
    cursor: -moz-grab; /* Firefox 1.5-26 */
    cursor: grab; /* W3C standards syntax, should come least */
}

    .dragscroll:active {
        cursor: url(images/grabbing.cur);
        cursor: -webkit-grabbing;
        cursor: -moz-grabbing;
        cursor: grabbing;
    }

#heatmapArea {
    position: absolute;
}

#heatmapContainerWrapper {
    position: absolute;
}

.dashboardChartContainer {
    width: 100%;
}

.shadowBox {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 10px;
    padding: 10px;
    position: relative;
}

.a-icon {
    padding: 10px !important;
}

.dashTabContent {
    overflow: auto;
    height: 570px;
}

.red {
    color: red;
}

.green {
    color: green;
}

.navbar {
    color: #51534A;
    background-color: white !important;
    border-color: #51534A !important;
}

.navbar-brand {
    color: #51534A !important;
}

    .navbar-brand:visited {
        color: #51534A !important;
    }

.navbar-default-color {
    color: #51534A !important;
}

.dxgvFocusedRow_Metropolis {
    background: orange !important;
}

.fleetGridContainer {
    height: 580px;
}

.modalWithLowestZIndex > div {
    z-index: 10 !important;
}

.modalWithLowestZIndex {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 10;
    background: rgba(0,0,0,0.9);
}

.tableWithPadding{
    z-index: 15;
}

.sectorLayout {
    /*background: url(../Images/whirlpool_gray.png);*/
    background-size: 100% 100%;
}

.wrapCenter {
    display: block;
    text-align: center;
    min-height: 100%;
}

html, body {
    width: 100%;
}

/*.dx-button .dx-icon.*/
.bigButton {
    font-size: 200%;
}

    .bigButton .dx-icon {
        /*float: top;*/
        height: 50px;
        width: 50px;
    }

.contentLoadingPanel {
    position: absolute;
    display: none;
    z-index: 8;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    float: left;
    background: rgba(255,255,255,0.85);
}

.setRelative {
    position: relative;
} 


.loadingSpinnerGrid {
    position: absolute;
    display: table;
    border: 16px solid #f3f3f3; 
    border-top: 16px solid orange;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    z-index: 1;
    animation: spin 1s linear infinite;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
}

.loadingSpinnerChart {
    position: absolute;
    display: table;
    border: 16px solid #f3f3f3; 
    border-top: 16px solid orange;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    z-index: 1;
    animation: spin 1s linear infinite;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.chartPopupDetail{
    background:white;
    position:absolute;
    /*width:100%;*/
    left: 0px;
    right: 0px;
}


#zoomArea{
    transform:scale(1);
    margin: 0 auto;
    display: table;
}

#zoomContainer{
    overflow: hidden;
    cursor: grab;
    height: 100%;
}

#heatmapContainer{
    cursor:grab;
    height: 100%;
}


#popupWindow{
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.9);
}

#popupImage{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 100;
    background: rgba(0,0,255,1);
}

.grabStyle{
    cursor: move;
    cursor: url(images/grab.cur); 
    cursor: -webkit-grab; 
    cursor: -moz-grab; 
    cursor: grab; 
}

.grabbingStyle{
    cursor: url(images/grabbing.cur);
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

.displayContent {
    padding-top: 20px;
    display: table;
    position: relative;
    margin: 0 auto;
    z-index: 10;
}

#positionCanvas{
    position: absolute;
    display: block;
    overflow: visible;
    z-index: 15;
}

#barrierCanvas{
    z-index: 14;
}

#infoMarkCanvas{
    z-index: 1;
}

#areaCanvas{
    visibility: hidden;
}

.spaghettiCanvas{
    position: absolute;
}

#routeInfo{
    display: inline-block;
    position: relative;
    float: right;
    width: 20%;
    padding-right: 30px;
    padding-top: 20px;
    padding-left: 15px;
    border: solid #000;
    border-width: 0 0 0 1px;
}

#beaconInfo {
    display: inline-block;
    position: relative;   
    padding-right: 30px;
    padding-top: 20px;
    padding-left: 15px;
    border: solid #000;
    border-width: 0 0 0 1px;
}

#container{
   position: relative;
   padding-top: 10px;
   overflow: hidden;
}

.routeZoom{
    display: inline-block;
    width: 78%;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 0 auto;
}

.areaZoom{
    display: inline-block;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 0 auto;
}

#buttonContainer{
    margin-top: 5px;
}

.routeInfoButton{
    display:inline-block;
    width: 49%;
}



.routeManipButton{
    margin-top: 30px;
    width: 100%;
}

#dialogContainer{
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 15;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.9);
}

#dialogWindow{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 16;
    width: 40%;
    height: 40%;
    background: white;
    border-radius: 15px;
}

#btnContainer{
    position: relative;
     top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    text-align: center;
}

.savingSetupBtn{
    margin-top: 10%;
    margin-left: 5%;
    margin-right: 5%;
    width: 25%;
    display: inline-block;
}

#textBox{
    width: 100%; 
}

#msg{
    font-size: medium;
    text-align: center;
    padding-top: 15%;
}

.gridTitle{
    margin-top: 40px;
    margin-bottom: -5px;
}

#spaghettiButtons{
    display: inline-block;
    position: relative;
    margin: 0 auto;
    padding-bottom: 10px;
    /*width:100%;*/
}

#switchContainer {
    display: inline-block;
    position: relative;
    margin: 0 auto;
    padding-bottom: 10px;
    z-index: 1;
}

#buttonTable{
    margin: 0 auto;
}

#speedMultiplier{
    font-size: 1.4em;
    font-weight: bold;
    margin: 0 auto;
    position: center;
}

.dataGridCenter{
    vertical-align: middle!important;
    text-align: center!important;    
}

#mouseTooltip{
    position: absolute;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.65);
    color: #fff;
    opacity: 0;
    transition: opacity .5s ease-in-out;
    text-align: center;
    font-family: Arial;
    font-size: 14px;
    z-index: 15;
    padding: 6px 6px 0px 6px;
    border-radius: 15px;
}

.dx-datagrid-rowsview .dx-selection.dx-row > td, .dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    background-color: #cccccc;
    color: #333;
}

a:hover {
    color: #EAAA00 !important;
}

.dxm-content:hover{
    color:white !important;
}

.row {
    display: table;
}

[class*="col-"] {
    float: none;
    display: table-cell;
    vertical-align: top;
}

/*.dx-datagrid-rowsview .dx-data-row .dx-cell-modified .dx-highlight-outline::after {
    border-color: transparent;
}*/

.tooltip-header {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 1px solid #c5c5c5;
}

.tooltip-body {
    width: 120px;
}

.tooltip-body .series-name {
    font-weight: normal;
    opacity: 0.6;
    display: inline-block;
    line-height: 1.5;
    width: 65px;
}

.tooltip-body .value-text {
    display: inline-block;
    line-height: 1.5;
    width: 30px;
}

/*.setupZooming {
    transform-origin: 0, 0;
}*/

#printButton{
    margin-top: 5px;
    margin-left: 5px;
    z-index: 5;
}

#shiftButtonContainer{
    text-align: center;
    margin-top: 12px;
}

#confirmButton{
    display: inline-block;
}

#cancelButton{
    display: inline-block;
    margin-left: 20px;
}

/*--------------Shift Switch Form Content--------------*/
.formContainer{
    display: flex;
}

.formItem{
    flex: 1;
}

.dx-datagrid{
	color: black;
	font-weight: 500;
}

.dx-pivotgrid .dx-area-data-cell span {
	color: black;
	font-weight: 500;
}

.dx-area-row-cell span, .dx-area-column-cell span, .dx-datagrid-headers {
	color: grey;
	font-weight: 400;
}

/***********************Localization*******************/
#localizeSelectBox{
    margin-top: 5px;
}

.custom-item {
    position: relative;
    min-height: 30px;
}

.dx-dropdowneditor-input-wrapper .custom-item > img {
    margin-left: 8px;
}

.custom-item .product-name {
    display: inline-block;
    padding-left: 50px;
    text-indent: 0;
    line-height: 30px;
    font-size: 15px;
    width: 100%;
}

.custom-item > img {
    left: 1px;
    position: absolute;
    top: 50%;
    margin-top: -15px;
}

.custom-item .dx-texteditor-buttons-container {
    display: none;
}

.dx-theme-material .dx-selectbox-container .product-name {
    padding-left: 58px;
}

#overviewContainer {
    display: flex;
    flex-direction: row;
    width: 100%;
}

    #overviewContainer .dx-progressbar-status {
        text-indent: 0;
        line-height: 30px;
        font-size: 15px;
        font-weight: bold;
        width: 100%;
    }
/* CROPPIE POPUP */
button, a.btn {
    color: white;
    padding: 10px 15px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    text-shadow: none;
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
}

.rotate {
    padding-bottom: 10px;
    background-color: #686C6D;
}

input[type="file"] {
    cursor: pointer;
}

button:focus {
    outline: 0;
}

.file-btn {
    position: relative;
    margin-top: -3px;
}

    .file-btn input[type="file"] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
    }

.actions {
    padding: 5px 0;
}

    .actions button {
        margin-left: 5px;
    }

.actionUpload span {
    color: white;
}