﻿/* Base structure*/
/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
}

/*
             * Top navigation
             * Hide default border to remove 1px line.
             */
.navbar-fixed-top {
    border: 0;
}

/* Sidebar*/

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 55px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding-top: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -18px;
}

    .nav-sidebar > li > a {
        padding-right: 20px;
        padding-left: 20px;
    }

/*.nav-sidebar > .active > a,
                .nav-sidebar > .active > a:hover,
                .nav-sidebar > .active > a:focus {
                    color: #fff;
                    background-color: Red;
                }*/

/* Main content */

.main {
    padding: 10px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 10px;
    }
}

.main .page-header {
    margin-top: 0;
}

.nav-sidebar li a:focus, .nav-sidebar li a:hover {
    text-decoration: none;
}

.nav-sidebar-selected {
    background-color: #c9dde1 !important;
}

a:focus {
    outline: none;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

div.row-hover:hover {
    background-color: #f5f5f5;
}

.row-selected {
    background-color: #f5f5f5;
}

.row-pointer:hover {
    cursor: pointer;
}

select {
    padding: 0px !important;
}

.row-striped:nth-of-type(even) {
    background-color: #efefef;
}

.row-striped:nth-of-type(odd) {
    background-color: #ffffff;
}

.panel-container {
    margin-bottom: 15px !important;
}

.panel-row {
    padding-top: 7px;
    padding-bottom: 7px;
    border-bottom: 1px solid #ddd;
}

.panel-row-cell-relative {
    position: relative;
}

    .panel-row-cell-relative i {
        position: absolute;
        margin-top: -9px;
    }

.glyphicon-dot:before {
    content: "\25cf";
    font-size: 2.3em;
}

.grid-cell-template {
    padding-top: 6px !important;
    padding-left: 6px !important;
}

.grid-cell-wrapword {
    /* Mozilla, since 1999 */
    white-space: -moz-pre-wrap !important;
    /*Chrome & Safari */
    white-space: -webkit-pre-wrap;
    /* Opera 4-6 */
    white-space: -pre-wrap;
     /* Opera 7 */
    white-space: -o-pre-wrap;
    /* css-3 */
    white-space: pre-wrap;
    /* Internet Explorer 5.5+ */
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.panel-no_bottom_padding {
    padding-bottom: 0px !important;
}

.panel-bottom_margin {
    margin-bottom: 15px !important;
}

.panel-inner-header {
    padding-bottom: 3px;
    padding-top: 3px;
    padding-left: 5px;
    background-color: #F5F5F5;
    border: 1px solid #E3E3E3;
    margin-bottom: 5px;
}

.ui-grid-cell:hover {
    cursor: pointer !important;
}

div.chart-container {
    font: 10px sans-serif;
}

div.chart-container svg {
    overflow: visible
}

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.grid path,
.grid line {
    fill: none;
    stroke: rgba(0, 0, 0, 0.25);
    shape-rendering: crispEdges;
}

.grid-control {
    padding: 15px 0px 15px 15px;
}

.x.axis path {
    display: none;
}

.line {
    fill: none;
    stroke-width: 1.5px;
}

 .collapse-container {
        height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
        margin-bottom: -15px;
        margin-top: -15px;
        margin-left: 15px;
    }
 .userRole{
     color:darkgrey;
 }
 .userRole:hover{
     cursor: pointer;
     color:lightgrey;
 }

#controlContainer
{
    display:inline-block;
    position:relative;
    margin-left: auto ;
    margin-right: auto ;
    width:auto;
}

.alert-box {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    display: none;
}

.jumbotron {
    padding: 15px;
}

.content-area {
    margin-top: 10px;
    padding: 10px;
}

.dropdown-show-hide {
    transition: all linear 0.5s;
}

.dropdown-show-hide.ng-hide {
    opacity: 0;
}

/*
    Device Graphs
*/

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.x.axis path {
    display: none;
}

.line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
}

.tooltip {
    line-height: 1;
    font-weight: bold;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 2px;
}

.tooltip:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    content: "\25BC";
    position: absolute;
    text-align: center;
}

.tooltip.n:after {
    margin: -1px 0 0 0;
    top: 100%;
    left: 0;
}

.activeDeviceStatus {
    color: #08ff08;
    font-weight: bold;
}

.inactiveDeviceStatus {
    color: #ff0000;
    font-weight: bold;
}

.marginalGPS {
    color: #ffff00;
    font-weight: bold;
}
.ui-grid-header-cell .ui-grid-cell-contents {
     height: auto;
     white-space: normal;
     -ms-text-overflow: clip;
     -o-text-overflow: clip;
     text-overflow: clip;
     overflow: visible;
     text-align:center;
}
 .device-property-change-warning{
     color:red;
     font-weight:bold;
 }

 .multi-lined-text-with-ellipsis {
   overflow: hidden;
   text-decoration: none;
   word-wrap: break-word;
   text-overflow: ellipsis;
   display: -webkit-box;
   line-height: 16px;
   max-height: 32px;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
}

.ngdialog.ngdialog-theme-default.custom-ngdialog-position {
    padding: 60px 0 60px 0;
}

.ngdialog.ngdialog-theme-default.custom-ngdialog-position div.ngdialog-content {
    padding-top: 35px;
}
/*===========Side Bottom Bar===============*/
.side-bar-footer {
    bottom:0;
    position:absolute;
    padding-top:20px;
    padding-bottom:20px;
    background-color:#eee;
    margin-left: -10px;
    width: 100%;
}
/*============== ui-grid-custom-tooltip ================================================*/
.ui-grid-custom-tooltip {
    cursor:help;
    text-decoration: none;
    position: relative;
    text-align: left !important;
    font-weight: normal;
}
.ui-grid-custom-tooltip .panel {
    width: 400px;
    display:none;
    z-index: 10000
}
.ui-grid-custom-tooltip:hover .panel {
    top:30px;
    display: block;
    position: fixed;
    overflow: hidden;
}
.no-gsm-icon {
    background: #FFF url('../Common/Styles/Images/NoGsm.gif') no-repeat;
    background-position: top right;
    width: 100%;
    height: 30px;
}

.no-gprs-icon {
    background: #FFF url('../Common/Styles/Images/NoGprs.gif') no-repeat;
    background-position: bottom right;
    width: 100%;
    height: 30px;
}
.no-icon {
    background: inherit;
}

.btn-top-margin {
    margin: 31px 0 0 0;
}

.hardware-type-warning-text {
    font-size: 1.1em;
    text-align: center;
    font-weight: bold;
}

.translate-cloak {
    display: none !important;
}

.all-selected {
    color: #07c407;
}

.partial-selected {
    color:#515050;
}

.none-selected {
    color: #c2c1c1;
}

.grid-header-tick-style {
    padding: 18px 0 0 5px;
}

.inline-control {
    display: inline-block;
    width: 100px;
}

.inline-label {
    margin: 8px 25px;
}

.btn-right {
    float: right !important;
}

.float-left {
    float: left;
}

#toast-container {
  white-space: pre-wrap;
}

.custom-context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    z-index: 1000;
    min-width: 150px;
}

.custom-context-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-context-menu ul li {
    padding: 8px 12px;
    cursor: pointer;
}

.custom-context-menu ul li:hover {
    background: #f2f2f2;
}
