﻿/* ng-cloak */
[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng.ng-cloak {
    display: none !important;
}

[ng-click] {
    cursor: pointer;
}

/**/

/* Modern slick scrollbars */
body *::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

body *::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body *::-webkit-scrollbar-thumb {
    background-color: #505050;
    outline: 1px solid #202020;
}

body *::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.6) 0%, rgba(108, 117, 125, 0.8) 100%);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
}

body *::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.2);
}

/* For Firefox - modern scrollbars */
body * {
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 117, 125, 0.5) rgba(0, 0, 0, 0.04);
}

/**/

/*for Bootstrap 3*/
.nav,
.pagination,
.carousel,
.panel-title a {
    cursor: pointer;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* fixed geader*/
.bold {
    font-weight: 600;
}

.highlight {
    background-color: #fafad2;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.margin10 {
    margin: 10px;
}

._margin10 {
    margin: 14px;
    margin-bottom: 7px;
    /* padding-top: 12px; */
    padding-top: 7px;
}

.status-break-style {
    background-color: #F6AC28;
    border-color: #F6AC28;
}

    .status-break-style:hover,
    .status-break-style:focus,
    .status-break-style:active,
    .status-break-style.active {
        background-color: #E49401;
        border-color: #E49401;
    }

    .status-break-style:disabled {
        background-color: #e4ab42;
        border-color: #e4ab42;
    }

.status-meal-style {
    background-color: #FF851E;
    border-color: #FF851E;
}

    .status-meal-style:hover,
    .status-meal-style:focus,
    .status-meal-style:active,
    .status-meal-style.active {
        background-color: #E46A03;
        border-color: #E46A03;
    }

    .status-meal-style:disabled {
        background-color: #ff9e4c;
        border-color: #ff9e4c;
    }

/*Custom select tag style*/
select,
textarea {
    font-size: 21px;
}

/**/

textarea {
    /* will prevent resizing horizontally */
    resize: vertical;
    max-height: 250px;
}

    textarea.min-height {
        min-height: 80px;
    }

.hoverAlist:hover {
    cursor: pointer;
    background-color: #d2ecf5 !important;
}

.header-blue {
    background-color: #f8f8e6;
    color: #337ab7;
}

/*Other colors*/
.strong-red {
    color: rgb(220, 0, 0);
}

    .strong-red.active {
        color: #fff4ae;
    }

.bg-strong-blue {
    background: rgb(0, 0, 200);
}

.bg-strong-green {
    background: #0ec254;
}

.bg-strong-yellow {
    background: rgb(255, 220, 0);
}

.bg-light-gray {
    background: rgba(222, 235, 247, 0.63);
}

/**/

/* map */
.map-location-button {
    background-color: #fff;
    border: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 0 0.5em;
    font: 400 18px Roboto, Arial, sans-serif;
    overflow: hidden;
    cursor: pointer;
    height: 40px;
    width: 40px;
    user-select: none;
    text-transform: none;
    appearance: none;
}

    .map-location-button:hover {
        background: #ebebeb;
    }

    .map-location-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.map-theme-toggle-button {
    background-color: #fff;
    border: none;
    border-radius: 2px;
    width: 40px;
    height: 40px;
    margin: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    text-transform: none;
    appearance: none;
}

    .map-theme-toggle-button:hover {
        background: #ebebeb;
    }

    .map-theme-toggle-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

#panorama-street-view {
    height: 550px;
}

#googlemapforadminlocation {
    height: 350px;
    width: 100%;
}

#googlemapforlocation {
    height: 500px;
    width: 100%;
}

#googlemap {
    /* margin-top: 5px; */
    height: calc(100vh - 91px);
    width: 100%;
}

.smallmap {
    width: 100%;
    height: 600px;
}

.angular-google-map-container {
    height: 400px;
}

.angular-google-map-street-view-panorama {
    height: 550px;
}

.gmap-extra-btn {
    margin-top: 10px;
    margin-right: 20px;
    text-align: center;
    color: rgb(0, 0, 0);
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    padding: 8px;
    min-width: 21px;
    font-weight: 500;
    background-color: rgb(255, 255, 255);
    width: 90px;
    border: 1px solid;
    border-color: #2e6da4;
}

#trafficBtn {
    margin-right: 20px;
}

    #trafficBtn.changed {
        background-color: #f0ad4e;
        color: rgb(255, 255, 255);
    }

#nightDayBtn {
    margin-right: 20px;
}

    #nightDayBtn.changed {
        background-color: #52b9e9;
        color: rgb(255, 255, 255);
    }

/* map */

/*#region Splash */
#splash-page {
    z-index: 99999 !important;
}

    #splash-page .bar {
        width: 100%;
    }

.page-splash {
    z-index: 99999 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    opacity: .9;
    pointer-events: auto;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
}

.fa-asterisk.fa-asterisk-large {
    font-size: 180%;
    vertical-align: middle;
    color: #F58A00;
}

.fa-asterisk.fa-asterisk-alert {
    color: #F58A00;
}

.fa-asterisk-inline {
    padding: 0 4px 0 0;
}

.page-spinner {
    z-index: 99999 !important;
    position: fixed !important;
    top: 8em;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: .9;
    pointer-events: auto;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
}

.overlay-message {
    font-size: 200%;
}

.progress,
.page-progress-bar {
    margin: 30px 10% !important;
}

.spinner {
    margin: 20% auto 0 auto;
    left: auto;
    top: auto !important;
}

/*#endregion*/

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* overwrite Bootstrap panel-heading*/
tr.group-header {
    background-color: lightgoldenrodyellow;
    cursor: pointer;
    text-align: center;
}

tr hr {
    background-color: lightblue;
    border-color: #eee;
    color: lightblue;
    margin: 4px 20px;
}

/* Circle Buttons */
.btn-circle {
    width: 40px;
    height: 34px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

    .btn-circle.btn-lg {
        width: 50px;
        height: 50px;
        padding: 10px 16px;
        border-radius: 25px;
        font-size: 18px;
        line-height: 1.33;
    }

    .btn-circle.btn-xl {
        width: 70px;
        height: 70px;
        padding: 10px 16px;
        border-radius: 35px;
        font-size: 24px;
        line-height: 1.33;
    }

/**/

/**/
.navbar .brand-title {
    margin-left: 0.5em;
    color: #1f4182 !important;
    font-size: 32px !important;
}

.navbar-collapsed-bkg {
    color: #1f4182 !important;
}

/**/

/* Background colors */
.blightblue {
    background: #52b9e9 !important;
    color: #fff !important;
    border: 0 !important;
}

.bblue {
    background: #1171a3 !important;
    color: #fff !important;
    border: 0 !important;
}

.bgreen {
    background: #43c83c !important;
    color: #fff !important;
    border: 0 !important;
}

.blightgreen {
    position: relative;
    background: #cdefcb !important;
    color: #fff !important;
    border: 0 !important;
}

@media (min-width: 768px) {
    .blightgreen:after,
    .blightgreen:before {
        top: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }
}

@media (min-width: 768px) {
    .blightgreen:after {
        border-color: rgba(208, 213, 184, 0);
        border-top-color: #cdefcb;
        border-width: 10px 50px 0 50px;
        margin-left: -50px;
    }
}

.borange {
    background: #f88529 !important;
    color: #fff !important;
    border: 0 !important;
}

.blightorange {
    background: rgb(251, 177, 118) !important;
    color: #fff !important;
    border: 0 !important;
}

.byellow {
    background: #faf2c1 !important;
    color: #fff !important;
    border: 0 !important;
}

.bred {
    background: #fa3031 !important;
    color: #fff !important;
    border: 0 !important;
}

.bviolet {
    background: #932ab6 !important;
    color: #fff !important;
    border: 0 !important;
}

/**/

.activeDispatch,
.activeDispatch:hover {
    color: rgb(205, 0, 0);
}

.checkboxList {
    border: 1px #ddd;
    background-color: #fff;
    color: #000000;
    width: 300px;
    height: 300px;
    overflow-y: scroll;
}

/*map image fading*/
img.olTileImage {
    -webkit-filter: grayscale(0.5);
    /* Google Chrome, Safari 6+ & Opera 15+ */
}

/* top nav */
#app_fixed_nav.navbar-default .navbar-brand {
    color: black;
}

#app_fixed_nav.navbar-default {
    font-size: 14px;
    background-color: #f5f5f7;
    border-bottom-width: 2px;
    border-color: rgba(50, 85, 124, 0.98);
    border-color: rgba(13, 71, 161, 0.98);
}

    #app_fixed_nav.navbar-default .navbar-nav > li > a {
        font-size: 16px;
        color: rgba(50, 85, 124, 0.98);
        color: rgba(13, 71, 161, 0.98);
        background-color: rgba(248, 248, 248, 0);
    }

        #app_fixed_nav.navbar-default .navbar-nav > li > a:hover,
        #app_fixed_nav.navbar-default .navbar-nav > li > a:focus {
            color: rgba(50, 85, 124, 1);
            color: rgba(13, 71, 161, 1);
            background-color: rgb(223, 233, 255) !important;
        }

    #app_fixed_nav.navbar-default .navbar-nav > .active > a {
        color: white;
        background-color: rgba(50, 85, 124, 1);
        background-color: rgba(13, 71, 161, 1);
    }

        #app_fixed_nav.navbar-default .navbar-nav > .active > a:hover,
        #app_fixed_nav.navbar-default .navbar-nav > .active > a:focus {
            color: #932ab6;
        }

    #app_fixed_nav.navbar-default .navbar-toggle:hover,
    #app_fixed_nav.navbar-default .navbar-toggle:focus {
        background-color: rgb(100, 135, 174) !important;
    }

    #app_fixed_nav.navbar-default .navbar-toggle {
        background-color: rgba(50, 85, 124, 1);
        background-color: rgba(50, 85, 124, 0.98);
        border: 1px solid;
        border-color: rgba(50, 85, 124, 1);
        border-color: rgba(50, 85, 124, 0.98);
        margin-top: 16px;
    }

        #app_fixed_nav.navbar-default .navbar-toggle .icon-bar {
            background-color: #eef5d9;
        }

/* top nav */

.container {
    width: auto;
    padding-left: 0;
    padding-right: 0;
}

.navbar-brand {
    float: none;
}

.hide {
    display: none !important;
}

/*admin spinner*/
.spin-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #eff7fd;
    color: #fcb957;
    font-size: 3em;
}

.color-spinner {
    color: #fcb957;
}

.big-spinner {
    font-size: 74px;
}

/**/

.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a {
    background-image: none;
    background-color: rgba(223, 233, 255, 0.9) !important;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #ffffff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

/**/

/*vertical center align for Table content*/
.table > tbody > tr > td {
    vertical-align: middle;
}

/**/

.vertical-align-top {
    vertical-align: top !important;
}

/*for fixed size panel with scroll*/
.tableBox {
    display: block;
    height: calc(100vh - 190px);
    overflow-y: auto;
    font-size: 12px;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(223, 233, 255);
    margin-bottom: -14px;
}

.reportParameters {
    display: block;
    height: calc(100vh - 285px);
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: -14px;
}

.height300 {
    height: 300px;
}

/**/

/**/
.nav-pills > li > a:hover {
    background-color: #f7ecda;
}

/**/

.list-group > a:hover {
    background-color: #b0c187;
}

.list-group > a:active {
    background-color: #b0c187;
}

.listActive {
    border-color: #b0c187;
    background-color: #b0c187;
}

/**/
.form-group-condensed {
    margin-top: 0;
    margin-bottom: 0;
}

/**/

/* new checkbox style support*/
.checkbox {
    height: 20px;
    width: 20px;
}

.checkbox-label {
    margin-top: 5px !important;
    padding-top: 0px !important;
    font-weight: normal !important;
}

.groupbox {
    background-color: #f1f1ff;
    padding-bottom: 1px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.check-box {
    height: 20px;
    width: 20px;
}

.checkbox-ro {
    /* only for read-only checkbox*/
    margin-top: -3px;
}

.checkbox-div {
    margin-top: 4px;
}

.checkbox-form-group-div {
    margin-bottom: 18px;
}

/* new checkbox style support*/

/* new smaller checkbox style support*/
.checkbox-in-list {
    height: 20px;
    width: 20px;
    margin-right: 10px !important;
    margin-left: 15px !important;
}

.checkbox-label-in-list {
    vertical-align: top !important;
    margin-top: -3px !important;
}

.checkbox-list-panel-body {
    padding-bottom: 0 !important;
    display: block;
    height: 144px;
    overflow-y: scroll;
}

    .checkbox-list-panel-body.longer-panel {
        height: 276px;
    }

/**/

.width35 {
    width: 35px !important;
}

.width45 {
    width: 45px !important;
}

.width60 {
    width: 60px !important;
}

.width80 {
    width: 80px !important;
}

.width100 {
    width: 100px !important;
}

.width110 {
    width: 110px !important;
}

.width140 {
    width: 140px !important;
}

.width160 {
    width: 160px !important;
}

.width180 {
    width: 180px !important;
}

.width210 {
    width: 210px !important;
}

.width300 {
    width: 300px !important;
}

.width380 {
    width: 380px !important;
}

.width400 {
    width: 400px !important;
}

.width100percent {
    width: 100%;
}

.padding5 {
    padding: 5px;
}

.padding10 {
    padding: 10px;
}

.padding_top {
    padding-top: 10px;
}

.padding_bottom {
    padding-bottom: 10px;
}

.padding_left {
    padding-left: 10px;
}

.zero_padding_top {
    padding-top: 0 !important;
}

.padding_right {
    padding-right: 10px;
}

.overflowAuto {
    overflow: auto;
}

.middle_vertical_align {
    vertical-align: middle !important;
}

.add-button-align {
    text-align: right;
}

.margin_top_negative {
    margin-top: -10px;
}

.margin_bottom_negative_small {
    margin-bottom: -5px;
}

.margin_top {
    margin-top: 10px;
}

.margin_action {
    margin-top: 7px;
}

.margin_top_small {
    margin-top: 5px;
}

.margin_top_negative_big {
    margin-top: -30px;
}

.margin_top_big {
    margin-top: 30px;
}

.margin_bottom {
    margin-bottom: 10px;
}

.margin_bottom_negative {
    margin-bottom: -10px;
}

.margin_bottom_big {
    margin-bottom: 30px;
}

.margin_bottom_negative_big {
    margin-bottom: -30px;
}

.zero_margin_bottom {
    margin-bottom: 0 !important;
}

.margin_left {
    margin-left: 10px;
}

.margin_left_small {
    margin-left: 5px;
}

.margin_left_big {
    margin-left: 30px;
}

.margin_right {
    margin-right: 10px;
}

/**/

/* new table-hovercolor */
.table-hover > tbody > tr:hover {
    background-color: rgb(223, 233, 255) !important;
}

/* */

/* UI Bootstrap Datepicker */
.datepickerDiv {
    display: inline-block;
    min-height: 290px;
}

/* */

/*custom modal dialog width */
.wide-modal-window .modal-dialog {
    width: 86% !important;
}

.xwide-modal-window .modal-dialog {
    width: 95% !important;
}

.big-modal-window .modal-dialog {
    width: 65% !important;
    /*margin: 30px auto;*/
}

/*.big-modal-window .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.big-modal-window .modal-body {
    flex: 1;
    overflow: hidden;
}*/

.xl-modal-window .modal-dialog {
    width: 75% !important;
}

.modal-header {
    background-color: #f1f1ff;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

/**/
/* 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;
}

/*top nav*/
#logoText {
    display: inline-block;
    vertical-align: middle;
    font-size: 42px;
    margin: 0 10px 0 -10px;
    font-size: 32px;
    font-weight: bold;
    /*color: white;*/
}

#logoTextSmall {
    display: inline-block;
    vertical-align: middle;
    font-size: 36px;
    font-size: 32px;
    font-weight: bolder;
    /*color: white;*/
}

@media (min-width: 540px) {
    .show-logoText {
        display: none !important;
    }
}

@media (max-width: 540px) {
    .hidden-logoText {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #logoText {
        margin-left: 0;
    }
}

@media (max-width: 1020px) {
    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

        .navbar-collapse.collapse {
            display: none !important;
        }

    .navbar-nav {
        float: none !important;
    }

        .navbar-nav > li {
            float: none;
        }

    .navbar-text {
        float: none;
    }

    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .collapsing {
        overflow: hidden !important;
    }
}

/**/

.navbar-inner {
    min-height: 10px;
    padding-top: 1px;
    padding-right: 10px;
    padding-left: 10px;
    background-color: #2e2a7e;
    background-repeat: repeat-x;
    border: -2px solid #2e2a7e;
    zoom: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    background-image: linear-gradient(to bottom, rgb(250, 250, 255), rgb(240, 240, 255));
}

.nav-header {
    font-size: 18pt;
    font-weight: bold;
    color: #24415a;
}

/*angular-bootstrap-calendar*/
.cal-slide-content {
    background-color: rgb(65, 65, 65);
}

#dashboardCalendar .cal-day-panel {
    max-height: 380px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

#dashboardCalendar .cal-week-box {
    overflow-x: hidden;
}

#dashboardCalendar .cal-row-fluid {
    white-space: normal;
}

.event {
    width: 14px;
    height: 14px;
}

/*angular-bootstrap-calendar*/

.vertical-center-control {
    display: block;
    width: 100%;
    height: 34px;
    padding-top: 8px;
}

/*new buttons*/
.pdf-color {
    color: #a20607 !important;
}

.excel-color {
    color: darkgreen !important;
}

/*pdf*/
.btn-pdf-color {
    background-color: #a20607;
    border-color: #a20607;
    color: white !important;
}

    .btn-pdf-color:hover,
    .btn-pdf-color:focus,
    .btn-pdf-color:active,
    .btn-pdf-color.active {
        background-color: #890506;
        border-color: #710405;
        color: white !important;
    }

    .btn-pdf-color.disabled:hover,
    .btn-pdf-color.disabled:focus,
    .btn-pdf-color.disabled:active,
    .btn-pdf-color.disabled.active,
    .btn-pdf-color[disabled]:hover,
    .btn-pdf-color[disabled]:focus,
    .btn-pdf-color[disabled]:active,
    .btn-pdf-color[disabled].active,
    fieldset[disabled] .btn-pdf-color:hover,
    fieldset[disabled] .btn-pdf-color:focus,
    fieldset[disabled] .btn-pdf-color:active,
    fieldset[disabled] .btn-pdf-color.active {
        background-color: #a20607;
        border-color: #a20607;
        color: white !important;
    }

/*excel*/
.btn-excel-color {
    background-color: #1d8546;
    border-color: #1d8546;
    color: white !important;
}

    .btn-excel-color:hover,
    .btn-excel-color:focus,
    .btn-excel-color:active,
    .btn-excel-color.active {
        background-color: #18703b;
        border-color: #145b30;
        color: white !important;
    }

    .btn-excel-color.disabled:hover,
    .btn-excel-color.disabled:focus,
    .btn-excel-color.disabled:active,
    .btn-excel-color.disabled.active,
    .btn-excel-color[disabled]:hover,
    .btn-excel-color[disabled]:focus,
    .btn-excel-color[disabled]:active,
    .btn-excel-color[disabled].active,
    fieldset[disabled] .btn-pdf-color:hover,
    fieldset[disabled] .btn-pdf-color:focus,
    fieldset[disabled] .btn-pdf-color:active,
    fieldset[disabled] .btn-pdf-color.active {
        background-color: #1d8546;
        border-color: #1d8546;
        color: white !important;
    }

/*word*/
.btn-word-color {
    background-color: #0054a5;
    border-color: #0054a5;
    color: white !important;
}

    .btn-word-color:hover,
    .btn-word-color:focus,
    .btn-word-color:active,
    .btn-word-color.active {
        background-color: #00478c;
        border-color: #003a72;
        color: white !important;
    }

    .btn-word-color.disabled:hover,
    .btn-word-color.disabled:focus,
    .btn-word-color.disabled:active,
    .btn-word-color.disabled.active,
    .btn-word-color[disabled]:hover,
    .btn-word-color[disabled]:focus,
    .btn-word-color[disabled]:active,
    .btn-word-color[disabled].active,
    fieldset[disabled] .btn-pdf-color:hover,
    fieldset[disabled] .btn-pdf-color:focus,
    fieldset[disabled] .btn-pdf-color:active,
    fieldset[disabled] .btn-pdf-color.active {
        background-color: #0054a5;
        border-color: #0054a5;
        color: white !important;
    }

/**/

/* other colors */
.color-warning {
    color: #ec971f;
}

.color-violet {
    color: rgb(90, 65, 128);
}

.color-yellow {
    color: yellow;
}

.color-orange {
    color: rgb(230, 100, 0);
}

.color-blue {
    color: rgb(0, 0, 255);
}

.strong-green {
    color: rgb(0, 140, 0);
}

.header-red {
    background-color: #f8f8e6;
    color: rgb(220, 0, 0);
}

.header-black {
    background-color: #f8f8e6;
    color: #000000;
}

.bg-strong-red {
    background: rgb(220, 0, 0);
}

.bg-light-geen {
    background: rgb(212, 242, 188);
}

/* other colors */

.errortext,
.help-inline.errortext {
    color: Red;
}

.notices_panel {
    max-height: 680px;
    overflow-y: scroll;
    top: -10px;
    margin-right: -16px;
}

.flat_list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.list-group {
    margin-bottom: 2px;
}

/* Widget */
.page-title {
    color: #2e2a7e;
    margin-right: 12px;
}

.page-title-subtle {
    color: white;
}

/* centered columns styles */
.row-centered {
    text-align: center;
}

/**/

.list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/*text violet*/
.text-violet {
    color: rgb(90, 65, 128);
}

/**/

/*new panel - violet colored (bootstrap site main color)*/
.panel-violet {
    border-color: rgb(90, 65, 128);
}

    .panel-violet > .panel-heading {
        color: #fff;
        background-color: rgb(90, 65, 128);
        border-color: rgb(90, 65, 128);
    }

        .panel-violet > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: rgb(90, 65, 128);
        }

        .panel-violet > .panel-heading .badge {
            color: rgb(90, 65, 128);
            background-color: #fff;
        }

    .panel-violet > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: rgb(90, 65, 128);
    }

/**/

/**/
.panel-green {
    border-color: #28a745;
}

    .panel-green .panel-heading {
        background: linear-gradient(135deg, #40d463 0%, #2fb750 100%);
        border-color: #28a745;
        color: #fff;
    }

    .panel-green a {
        color: #28a745;
    }

        .panel-green a:hover {
            color: #3d8b3d;
        }

.panel-red {
    border-color: #dc3545;
}

    .panel-red .panel-heading {
        background: linear-gradient(135deg, #e47983 0%, #ad42ad 100%);
        border-color: #870f8b;
        color: #fff;
    }

    .panel-red a {
        color: #9627b2;
    }

        .panel-red a:hover {
            color: #5d0b65;
        }

.panel-yellow {
    border-color: #f0ad4e;
}

    .panel-yellow .panel-heading {
        background: linear-gradient(135deg, #f4c37d 0%, #f0ad4e 100%);
        border-color: #f0ad4e;
        color: #fff;
    }

    .panel-yellow a {
        color: #f0ad4e;
    }

        .panel-yellow a:hover {
            color: #df8a13;
        }


.panel-ritis {
    border-color: #597ed9;
}

    .panel-ritis > .panel-heading {
        background-color: #597ed9;
        border-color: #597ed9;
        color: #fff;
    }

.panel-primary {
    border-color: #3880ff;
}

    .panel-primary > .panel-heading {
        background-color: #3880ff;
        border-color: #3880ff;
        color: #fff;
    }

        .panel-primary > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #3880ff;
        }

        .panel-primary > .panel-heading .badge {
            color: #3880ff;
            background-color: #fff;
        }

    .panel-primary > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #3880ff;
    }

.panel {
    margin-bottom: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    box-shadow: 0 6px 6px -4px rgba(0, 0, 0, 0.72);
}

.panel-section {
    -webkit-box-shadow: 0 0 0 rgb(255, 255, 255);
    box-shadow: 0 0 0 rgb(255, 255, 255);
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}

.panel-heading {
    padding: 2px 6px 2px 8px;
    -ms-border-top-left-radius: 0;
    border-top-left-radius: 0;
    -ms-border-top-right-radius: 0;
    border-top-right-radius: 0;
    min-height: 10px;
    font-size: 1.1em;
}

.panel-group .panel + .panel {
    margin-top: 10px;
}

.panel-title {
    font-size: 20px;
}

.panel-default > .panel-heading {
    color: #32557c;
    color: #0d47a1;
    background-color: #f4f5f8;
    border-color: #d7d8da;
}

/**/

.selected {
    background-color: rgb(207, 247, 199);
    color: #000000;
}

.minDeltaEdit {
    min-width: 80px;
}

.deltaEdit-width {
    width: 80px;
}

/**/

.ui-match {
    background: yellow;
}

.font_color_white {
    color: white;
}

[class*='-positive'] {
    background-color: rgb(40, 140, 240);
    color: #fff;
}

    [class*='-positive']:hover,
    [class*='-positive']:focus {
        background-color: rgb(56, 126, 245);
        color: #fff;
    }

/* customs css */

.note-mode-section {
    border-color: #eceff7;
    background-color: #eceff7;
    box-shadow: 4px 4px 8px #aaaaaa;
}

/*ui-grid*/
sub,
sup {
    font-size: 120%;
    color: #d9534f;
}

.grid-selectAssetAndActivities {
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    height: 280px;
}

.grid-taskHistoryTab {
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    height: 315px;
}


.grid-mims-details {
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    height: 530px;
}

.grid {
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    height: calc(100vh - 227px);
}

.grid-admin {
    height: calc(100vh - 227px);
}

.grid-troubleDevices {
    height: calc(100vh - 227px);
}

.grid-selectAsset {
    height: calc(100vh - 232px);
}

.grid-maintenanceTask {
    height: calc(100vh - 382px);
}

.grid-itemsForWorkOrders {
    height: calc(100vh - 772px);
}

.grid-itemsForDetails {
    height: 175px;
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    border-radius: 3px;
}

    .grid-itemsForDetails .gridField {
        display: block;
        padding: 0;
        margin: 0;
        border: 0;
        height: 100%;
        width: 100px;
    }

    .grid-itemsForDetails .ui-grid-header-cell,
    .grid-itemsForDetails .ui-grid-cell-contents {
        height: 25px !important;
        padding: 5px !important;
        line-height: 25px !important;
        white-space: normal;
        -ms-text-overflow: clip;
        -o-text-overflow: clip;
        text-overflow: clip;
        overflow: visible;
    }

.ui-grid-menu {
    position: absolute;
    padding: 0 0 20px 10px;
    overflow-y: scroll !important;
}

.ui-grid-menu-button {
    background: #b6ff00;
    border: 0;
    border-left: 1px solid rgb(40, 140, 240);
    border-bottom: 1px solid rgb(40, 140, 240);
    height: 24px;
    font-weight: lighter;
}

    .ui-grid-menu-button .ui-grid-icon-container {
        margin-top: 2px;
        margin-right: -5px;
        margin-left: -2px;
    }

    .ui-grid-menu-button .ui-grid-menu .ui-grid-menu-mid {
        overflow: visible;
        border: 1px solid #d4d4d4;
    }

.ui-grid-column-menu-button-last-col {
    margin-right: 0;
}

.grid-footer {
    height: 29px;
    padding-top: 7px;
    padding-left: 10px;
    background-color: #f1f1ff;
    color: #24415a;
}

.ui-grid-footer-background {
    background-color: yellow !important;
}

.ui-grid-header-cell .ui-grid-cell-contents {
    height: 48px;
    text-align: center;
    line-height: 40px;
    white-space: normal;
    -ms-text-overflow: clip;
    -o-text-overflow: clip;
    text-overflow: clip;
    overflow: visible;
}

.ui-grid-red {
    color: red;
    background-color: yellow !important;
}

.ui-grid-row:nth-child(odd) .ui-grid-cell {
    background-color: #fdfdfd;
}

.ui-grid-row:nth-child(even) .ui-grid-cell {
    background-color: #faf9f3;
}

.ui-grid-row:hover .ui-grid-cell {
    background-color: rgb(223, 233, 255);
}

.ui-grid-tree-header-row {
    font-weight: bold !important;
}

.ui-grid-row.ui-grid-row-selected > [ui-grid-row] > .ui-grid-cell {
    background-color: #bbeea7;
}

.ui-grid-no-rows {
    position: absolute;
    top: 79px;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.ui-grid-details-no-rows {
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

    .ui-grid-details-no-rows .msg {
        position: absolute;
        top: 14%;
        left: 20%;
        width: 60%;
        height: 40%;
        line-height: 200%;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        display: table;
    }

    .ui-grid-details-no-rows .msg-in-tab {
        position: absolute;
        top: 65px;
        left: 20%;
        width: 60%;
        line-height: 200%;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        display: table;
    }

.ui-grid-details-no-rows-siia {
    position: absolute;
    top: 35px;
    bottom: 0;
    width: 99.2%;
    background: rgba(0, 0, 0, 0.2);
}

    .ui-grid-details-no-rows-siia .msg {
        position: absolute;
        top: 14%;
        left: 20%;
        width: 60%;
        height: 40%;
        line-height: 200%;
        text-align: center;
        font-weight: bold;
        display: table;
    }

.ui-grid-small .msg {
    top: 10% !important;
}

.grid-subTotal {
    padding-top: 5px;
    padding-right: 5px;
    text-align: right;
}

.grid-emptyBox {
    height: 50px;
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
}

.spinner-table {
    position: absolute;
    width: 1390px;
    height: 280px;
    background: rgba(0, 0, 0, 0.2);
}

.ui-grid-no-rows .msg {
    opacity: 1;
    position: absolute;
    top: 25%;
    left: 20%;
    width: 60%;
    height: 40%;
    line-height: 200%;
    background-color: #eee;
    border-radius: 4px;
    border: 1px solid #555;
    text-align: center;
    font-size: 18px;
    display: table;
}

    .ui-grid-no-rows .msg span,
    .ui-grid-details-no-rows span {
        display: table-cell;
        vertical-align: middle;
    }

.ui-grid-no-rows .spinnerGrid {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 50%;
    line-height: 200%;
    font-size: 120px;
}

select.ui-grid-filter-select {
    padding: 1px;
    font-size: 14px;
}

/*ui-grid*/

.msg-text {
    padding-top: 3px;
}

/*new*/
.huge {
    font-size: 30px;
}

.notes {
    margin: 2px;
    padding: 2px;
    list-style: none;
}

    .notes li {
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1px dotted #30439c;
    }

        .notes li.left .notes-body {
            margin-left: 60px;
        }

        .notes li.right .notes-body {
            margin-right: 60px;
        }

        .notes li .notes-body p {
            margin: 0;
        }

    .panel .slidedown .glyphicon,
    .notes .glyphicon {
        margin-right: 5px;
    }

.notes-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.table-borderless tbody tr td,
.table-borderless tbody tr th,
.table-borderless thead tr th {
    border: none;
}

.table-condensed > tbody > tr > td {
    padding: 3px;
}

.text-align-center {
    text-align: center;
}

.text-align-right {
    text-align: right !important;
}

.header-filtered {
    color: #275d99;
}

select.btn {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    width: auto;
}

select.btn-mini {
    height: auto;
    line-height: 14px;
    padding-right: 16px;
    border: 1px solid rgb(180, 180, 180);
    text-align: left;
}

    select.btn-mini + .caret {
        margin-left: -20px;
        margin-top: 4px;
    }

/* new */

/* card */
.card-long {
    margin: auto;
    margin-bottom: 20px;
    padding-bottom: 2px;
    background-color: rgb(243, 251, 242);
    border: 1px solid #35871d;
    box-shadow: 1px 1px 3px #888;
    border-top: 4px solid #35871d;
    min-height: 100px;
    border-radius: 3px;
}

    .card-long h2 {
        font-weight: lighter;
        margin: 0 0 5px 5px;
    }

.card-ticket {
    background-color: rgb(225, 242, 255);
    border: 1px solid #288cf0;
    box-shadow: 1px 1px 3px #888;
    border-top: 4px solid #288cf0;
}

.card-auto {
    margin: auto;
    margin-bottom: 20px;
    padding: 10px;
    background-color: aliceblue;
    border: 1px solid #32557c;
    border: 1px solid #0d47a1;
    box-shadow: 1px 1px 3px #888;
    border-top: 4px solid #32557c;
    border-top: 4px solid #0d47a1;
}

.card-buttons {
    width: 230px;
    border: 1px solid #32557c;
    border: 1px solid #0d47a1;
    box-shadow: 1px 1px 3px #888;
    border-top: 4px solid #32557c;
    border-top: 4px solid #0d47a1;
    background-color: aliceblue;
    padding: 10px;
    margin-left: 5px;
    margin-right: 10px;
}

.card {
    width: 350px;
    border: 1px solid #32557c;
    border: 1px solid #0d47a1;
    box-shadow: 1px 1px 3px #888;
    border-top: 10px solid #32557c;
    border-top: 10px solid #0d47a1;
    min-height: 200px;
    padding: 10px;
    margin: 10px;
}

    .card h1 {
        font-weight: lighter;
        margin: 0 10px 10px 10px;
    }

    .card p {
        margin: 10px;
        font-family: segoe ui;
        line-height: 1.4em;
        font-size: 1.2em;
    }

.cardbox {
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

/* card */

.uib-tab.active {
    font-weight: bold;
}

.alert-extra-info {
    color: black;
    background-color: #f0f8ff;
    border-color: #888888;
    padding: 5px 2px 5px 5px;
    margin-top: 2px;
    margin-bottom: 0;
}

.alert-extra-map {
    padding-right: 5px;
}

.alert-extra-container {
    color: black;
    background-color: white;
    border-color: #888888;
    padding: 5px;
    margin-top: 2px;
    margin-bottom: 0;
    overflow-y: scroll;
}

.make-big {
    position: relative;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);
}

    .make-big:hover {
        z-index: 2;
        -webkit-transition: all 200ms ease-in;
        -webkit-transform: scale(1.2);
        -ms-transition: all 200ms ease-in;
        -ms-transform: scale(1.2);
        -moz-transition: all 200ms ease-in;
        -moz-transform: scale(1.2);
        transition: all 200ms ease-in;
        transform: scale(1.2);
    }

.make-bigger {
    position: relative;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);
    font-size: 14px !important;
    padding: 4px 2px;
}

    .make-bigger:hover {
        box-shadow: 1px 1px 2px #000000;
        z-index: 2;
        -webkit-transition: all 200ms ease-in;
        -webkit-transform: scale(1.1);
        -ms-transition: all 200ms ease-in;
        -ms-transform: scale(1.1);
        -moz-transition: all 200ms ease-in;
        -moz-transform: scale(1.1);
        transition: all 200ms ease-in;
        transform: scale(1.1);
    }

.make-bigger-no-shadow {
    position: relative;
    transition: all 100ms ease-in;
    transform: scale(1);
}

    .make-bigger-no-shadow:hover {
        transition: all 100ms ease-in;
        transform: scale(1.5);
    }

/*sidebar*/
.article-wrap {
    margin-right: 230px;
}

.article-content,
.sidebar {
    box-sizing: border-box;
    float: left;
    padding: 0;
}

    .sidebar:after,
    .article-content:after {
        content: "";
        display: block;
        height: auto;
        position: fixed;
        top: 0;
    }

.article-content {
    border-color: white;
    border-style: solid;
    border-width: 0 10px 0 0;
    width: 100%;
}

    .article-content:after {
        left: 10px;
        width: 100%;
        z-index: -1;
    }

.sidebar,
.sidebar:after {
    border-color: white;
    border-style: solid;
    border-width: 0 0 0 10px;
    box-sizing: border-box;
    width: 230px;
}

    .sidebar:after {
        right: 0;
    }

.map-asset-categories {
    max-height: calc(100vh - 480px);
    overflow-y: scroll;
}

.checkbox-control {
    width: 30px;
    height: 30px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
}

.panel-heading-selected {
    background-color: #bbeea7 !important;
    color: black !important;
}

/*sidebar*/

/*ticker*/
.marquee {
    height: 22px;
    color: white;
    background-color: #32557c;
    background-color: #0d47a1;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 3px 3px -1px rgba(0, 0, 0, .2), 0 6px 10px 0 rgba(0, 0, 0, .14), 0 1px 18px 0 rgba(0, 0, 0, .12);
}

div.marquee {
    height: 22px;
    color: white;
    background-color: #32557c;
    background-color: #0d47a1;
    white-space: nowrap;
    overflow: hidden;
}

    div.marquee > div.marquee-text {
        white-space: nowrap;
        display: inline;
        width: auto;
    }

.label-ticker {
    padding-top: 0.2em;
    padding-right: 0.6em;
    padding-bottom: 0.2em;
    padding-left: 0.6em;
    background-color: #d9534f;
}

/*ticker*/

.badge-danger {
    background-color: #d43f3a;
}

.badge-warning {
    background-color: #d58512;
}

.badge-success {
    background-color: #398439;
}

.badge-inverse {
    background-color: #333333;
}

.selected-user-panel {
    overflow-y: scroll;
    height: 500px;
    padding: 5px;
    background-color: #eef1d6;
    border: 2px solid #eef1d6;
}

.alert-popup {
    font-weight: bold;
    font-size: 14px;
    color: #32557c;
    color: #0d47a1;
    padding: 2px 0 2px 4px;
    margin-top: 4px;
    margin-bottom: 4px;
}

input[type=radio] {
    border: 0;
    width: 20px;
    height: 20px;
}

.radio-inline {
    margin-right: 30px !important;
    margin-bottom: 10px !important;
}

    .radio-inline input[type=radio] {
        margin-left: -36px;
        margin-top: 0;
    }

.asset-highlight {
    margin: 5px 5px 3px 0;
}

    .asset-highlight:hover {
        background-color: rgb(223, 233, 255);
    }

.asset-label {
    padding: 2px 0 1px 2px;
    margin-bottom: 0;
}

.color-disabled {
    color: rgb(140, 140, 140);
    cursor: not-allowed !important;
}

/* filter modal ////////////////////*/
.filter-modal-grid {
    width: 100%;
    height: auto;
}

/* SIIA */
.siia-card {
    border: 1px solid #888;
    /*box-shadow: 1px 1px 3px #888;*/
    min-height: 100px;
    padding: 10px;
}

.siia-card-panel {
    border-top: 1px solid #32557c;
}

.siia-grid {
    border: 0 solid;
    width: 90%;
    height: 80%;
}

.grid-intersections {
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    height: calc(100vh - 330px);
    border-radius: 3px;
}

.compass-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    height: 100px;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    width: 100px;
}

.margin-left {
    margin-left: 10px;
}

.compass-wrapper i {
    height: 50%;
    left: 50%;
    margin-left: -1px;
    position: absolute;
    top: 0;
    -webkit-transform-origin: bottom;
    transform-origin: bottom;
    width: 2px;
}

    .compass-wrapper i:before {
        background-color: rgba(0, 0, 0, 0.35);
        content: "";
        height: 5px;
        position: absolute;
        width: 100%;
    }

    .compass-wrapper i:first-of-type {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .compass-wrapper i:nth-of-type(2) {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

        .compass-wrapper i:nth-of-type(2):before {
            height: 20px;
        }

    .compass-wrapper i:nth-of-type(3) {
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .compass-wrapper i:nth-of-type(4) {
        -webkit-transform: rotate(225deg);
        transform: rotate(225deg);
    }

    .compass-wrapper i:nth-of-type(5) {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }

        .compass-wrapper i:nth-of-type(5):before {
            height: 20px;
        }

    .compass-wrapper i:nth-of-type(6) {
        -webkit-transform: rotate(315deg);
        transform: rotate(315deg);
    }

.compass {
    height: 100%;
    position: relative;
    width: 100%;
}

.compass-center {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    height: 10px;
    width: 10px;
    z-index: 1;
}

.compass:before,
.compass:after {
    content: "";
    position: absolute;
}

.compass:before {
    border-left: 10px solid transparent;
    border-bottom: 65px solid #EE0000;
    border-right: 10px solid transparent;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.north,
.south {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 12px;
    position: absolute;
}

.north {
    top: 0;
}

.south {
    bottom: 0;
}

/* compass */

/*ui-grid*/
.ui-grid-cell {
    border-right: 0 solid;
}

.ui-grid-cell-contents > .cell1-text {
    font-size: 42px;
    margin: .1em;
    line-height: 50px;
}

.ui-grid-cell-contents > .cell2-text {
    line-height: 50px;
    font-size: 24px;
    font-weight: bolder;
}

.ui-grid-cell-contents > .cell3-text {
    line-height: 50px;
    font-size: 24px;
    font-weight: bolder;
}

.ui-grid-cell-contents > .cell4-text {
    line-height: 50px;
    font-size: 24px;
    font-weight: bolder;
}

.cell5-text {
    font-weight: bolder;
}

.no-device {
    padding: 8px;
    text-align: right;
    border: 2px rgb(107, 147, 211) dashed;
    background-color: #efefef;
}

/*
.grid {
    border: 0 solid;
    width: 90%;
    height: 80%;
}*/

.nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

    .nav-tabs > li {
        float: none;
        display: inline-block;
    }

.tab-pane {
    padding: 5px;
}

li.active a.ng-binding {
    color: #337ab7 !important;
    background-color: #ffffff !important;
    text-decoration: none;
    border-top: solid 5px #428bca !important;
}

li a.ng-binding {
    margin-right: 0;
    color: #888;
    /*background-color: #f1f1ff;*/
    text-decoration: none;
}

    li a.ng-binding:hover {
        color: white;
        background-color: rgb(231, 100, 60);
    }

.tab-container {
    background-color: white;
    margin-top: -5px;
    margin-left: -5px;
    margin-right: -5px;
    border: solid;
    border-color: #ddd;
    border-top-color: transparent;
    border-width: 1px;
    overflow-y: auto;
    padding: 10px;
    height: auto;
    min-height: 450px;
    max-height: calc(100vh - 500px);
    box-shadow: 0 2px 2px -1px #888;
    resize: vertical;
}

.tab-container2 {
    background-color: white;
    margin-top: -5px;
    margin-left: -5px;
    margin-right: -5px;
    border: solid;
    border-color: #ddd;
    border-top-color: transparent;
    border-width: 1px;
    overflow-y: auto;
    padding: 10px;
    height: auto;
    min-height: 450px;
    max-height: calc(100vh - 280px);
    box-shadow: 0 2px 2px -1px #888;
}

.maintenance-tab {
    max-height: calc(100vh - 400px)
}

.tab-container-view {
    background-color: #f2f1fc;
    margin-top: -5px;
    margin-left: -5px;
    margin-right: -5px;
    border: solid;
    border-color: #ddd;
    border-top-color: transparent;
    border-width: 1px;
    overflow-y: auto;
    padding: 10px;
    height: auto;
    max-height: 830px;
    box-shadow: 0 2px 2px -1px #888;
    resize: vertical;
}

.tab-container-wo {
    background-color: #f2f1fc;
    margin-top: -5px;
    margin-left: -5px;
    margin-right: -5px;
    border: solid;
    border-color: #ddd;
    border-top-color: transparent;
    border-width: 1px;
    overflow-y: auto;
    padding: 10px;
    height: auto;
    max-height: 830px;
    box-shadow: 0 2px 2px -1px #888;
}

.grid-approach {
    /*border: 1px solid rgb(40, 140, 240);*/
    width: 100%;
    height: 220px;
}

.grid-lane {
    /*border: 1px solid rgb(40, 140, 240);*/
    width: 100%;
    height: 258px;
}

.grid-lane-2 {
    /*border: 1px solid rgb(40, 140, 240);*/
    width: 100%;
    height: 106px;
}

.grid-lane .ui-grid-header-cell,
.grid-lane .ui-grid-cell-contents {
    height: 25px !important;
    padding: 5px !important;
    line-height: 20px !important;
    white-space: normal;
    -ms-text-overflow: clip;
    -o-text-overflow: clip;
    text-overflow: clip;
    overflow: visible;
}

.grid-lane-2 .ui-grid-header-cell,
.grid-lane-2 .ui-grid-cell-contents {
    height: 25px !important;
    padding: 5px !important;
    line-height: 20px !important;
    white-space: normal;
    -ms-text-overflow: clip;
    -o-text-overflow: clip;
    text-overflow: clip;
    overflow: visible;
}

.grid-intersection-assets {
    width: 99.5%;
    height: 140px;
}

    .grid-intersection-assets .gridField {
        display: block;
        padding: 0;
        margin: 0;
        border: 0;
        height: 100%;
        width: 100px;
    }

    .grid-intersection-assets .ui-grid-header-cell,
    .grid-intersection-assets .ui-grid-cell-contents {
        height: 25px !important;
        padding: 5px !important;
        line-height: 20px !important;
        white-space: normal;
        -ms-text-overflow: clip;
        -o-text-overflow: clip;
        text-overflow: clip;
        overflow: visible;
    }

.popover-content {
    color: #337ab7;
    font-size: .8em;
    padding: 5px;
    min-width: 400px;
}

.popover-icon {
    color: rgb(40, 140, 249);
}

.ui-grid-siia-no-rows {
    position: absolute;
    top: 36px;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

    .ui-grid-siia-no-rows .msg {
        opacity: 1;
        position: absolute;
        top: 20%;
        left: 20%;
        width: 60%;
        height: 25%;
        line-height: 200%;
        background-color: #eee;
        border-radius: 4px;
        border: 1px solid #555;
        text-align: center;
        font-size: 18px;
        display: table;
    }

.tableClassName tbody {
    display: block;
    max-height: 200px;
    overflow-y: scroll;
}

    .tableClassName thead,
    .tableClassName tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

.tableClassName thead {
    width: calc(100% - 1.1em);
}

.angular-with-newlines {
    white-space: pre-wrap;
}

.labelColorActive {
    color: #3579c3;
}

.labelColor {
    color: black;
}

th {
    background: #eee;
}

tf {
    background: #eee;
}

.form-group {
    margin-bottom: 10px;
}

.transparent-text {
    color: #000; /* Fallback for older browsers */
    color: rgba(0, 0, 0, 0);
}

.popover-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

    .popover-success.right > .arrow {
        border-right-color: #d6e9c6;
    }

        .popover-success.right > .arrow:after {
            border-right-color: #dff0d8;
        }

    .popover-success.left > .arrow {
        border-left-color: #d6e9c6;
    }

        .popover-success.left > .arrow:after {
            border-left-color: #dff0d8;
        }

    .popover-success.bottom > .arrow {
        border-bottom-color: #d6e9c6;
    }

        .popover-success.bottom > .arrow:after {
            border-bottom-color: #dff0d8;
        }

    .popover-success.top > .arrow {
        border-top-color: #d6e9c6;
    }

        .popover-success.top > .arrow:after {
            border-top-color: #dff0d8;
        }

    .popover-success .popover-content {
        color: #3c763d;
        background-color: #dff0d8;
    }

/* Popover info styling */
.popover-info {
    background-color: #f8f9fa;
    border-color: #337ab7;
}

    .popover-info.right > .arrow {
        border-right-color: #337ab7;
    }

        .popover-info.right > .arrow:after {
            border-right-color: #f8f9fa;
        }

    .popover-info.left > .arrow {
        border-left-color: #337ab7;
    }

        .popover-info.left > .arrow:after {
            border-left-color: #f8f9fa;
        }

    .popover-info.bottom > .arrow {
        border-bottom-color: #337ab7;
    }

        .popover-info.bottom > .arrow:after {
            border-bottom-color: #f8f9fa;
        }

    .popover-info.top > .arrow {
        border-top-color: #337ab7;
    }

        .popover-info.top > .arrow:after {
            border-top-color: #f8f9fa;
        }

    .popover-info .popover-content {
        color: #337ab7;
        background-color: #f8f9fa;
    }
/* Add these CSS rules */
.maintenance-tab {
    overflow: visible !important; /* Removes the inner scroll */
    padding: 0 !important; /* Removes default padding that might cause scrolling */
}

.tab-container {
    overflow-x: hidden !important; /* Prevents horizontal scroll */
}

.login-container {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Multiselect styling */
select[multiple] {
    padding: 5px;
}

    select[multiple] option {
        padding: 5px;
        margin: 2px 0;
        border-radius: 3px;
        cursor: pointer;
    }

        select[multiple] option:checked {
            background: #337ab7 linear-gradient(0deg, #337ab7 0%, #337ab7 100%);
            color: white;
        }

        select[multiple] option:hover {
            background-color: #e8f1ff;
        }

/* Add these rules near other modal-related styles */
.select-inventory-modal {
    padding: 15px;
    overflow: hidden !important;
}

    .select-inventory-modal .grid {
        /*border: 1px solid rgb(40, 140, 240);*/
        width: 100%;
        height: 70vh !important;
        min-height: 400px;
        overflow: hidden;
    }

/* Stats card adjustments */
stats .panel {
    margin-bottom: 15px;
}

/* Adjust stats card sizes */
stats .panel-heading {
    padding: 6px 8px;
}

    stats .panel-heading i.fa {
        font-size: 20px;
    }

stats h3 {
    font-size: 20px;
    margin: 0;
    padding: 0;
}

stats .text-muted {
    font-size: 11px;
    line-height: 1.2;
    margin-top: 2px;
    white-space: normal;
}

stats .panel-footer {
    padding: 3px 8px;
    font-size: 12px;
}

/* Adjust spacing between cards */
.col-lg-1-5 {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

/* Restore dark orange panel styling */
.panel-dark-orange {
    border-color: #fd7e14;
}

    .panel-dark-orange .panel-heading {
        background: linear-gradient(135deg, #ffa76a 0%, #fd9442 100%);
        border-color: #fd7e14;
        color: #fff;
    }

    .panel-dark-orange a {
        color: #fd7e14;
    }

        .panel-dark-orange a:hover {
            color: #dc6502;
        }

/* Responsive text sizes for stats cards */
@media (max-width: 1400px) {
    stats .text-muted {
        font-size: 9px;
        line-height: 1.1;
    }

    stats .panel-heading i.fa {
        font-size: 16px;
    }

    stats h3 {
        font-size: 16px;
        margin-bottom: 2px;
    }
}

@media (max-width: 1200px) {
    stats .text-muted {
        font-size: 8px;
        line-height: 1;
        margin-top: 1px;
    }

    stats .panel-heading i.fa {
        font-size: 14px;
    }

    stats h3 {
        font-size: 14px;
        margin-bottom: 1px;
    }

    .col-lg-1-5 {
        padding-right: 3px !important;
        padding-left: 3px !important;
    }
}

/* Custom tooltip styling */
.tooltip-light.tooltip {
    opacity: 1 !important;
}

.tooltip-light .tooltip-inner {
    background-color: #f8f9fa;
    color: #3880ff;
    border: 1px solid #3880ff;
    font-size: 12px;
    padding: 6px 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tooltip-light.tooltip.bottom-right .tooltip-arrow {
    border-bottom-color: #3880ff;
}

.tooltip-light.tooltip.left .tooltip-arrow {
    border-left-color: #3880ff;
}

.cal-day-panel {
    max-height: 380px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Stats panel colors */
.panel-green .panel-heading {
    background: linear-gradient(135deg, #40d463 0%, #2fb750 100%);
    border-color: #28a745;
    color: #fff;
}

.panel-blue .panel-heading {
    background: linear-gradient(135deg, #3880ff 0%, #2b5cc5 100%);
    border-color: #3880ff;
    color: #fff;
}

.panel-red .panel-heading {
    background: linear-gradient(135deg, #e47983 0%, #ad42ad 100%);
    border-color: #870f8b;
    color: #fff;
}

.panel-dark-orange .panel-heading {
    background: linear-gradient(135deg, #ffa76a 0%, #fd9442 100%);
    border-color: #fd7e14;
    color: #fff;
}

.panel-yellow .panel-heading {
    background: linear-gradient(135deg, #f4c37d 0%, #f0ad4e 100%);
    border-color: #f0ad4e;
    color: #fff;
}

/* Panel blue styling */
.panel-blue {
    border-color: #3880ff;
}

    .panel-blue > .panel-heading {
        background: linear-gradient(120deg, #0052cc, #0747a6);
        border-color: #3880ff;
        color: #fff;
    }

.panel-blue > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #3880ff;
}

.panel-blue > .panel-heading .badge {
    color: #3880ff;
    background-color: #fff;
}

.panel-blue > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #3880ff;
}

.panel-blue a {
    color: #3880ff;
}

.panel-blue a:hover {
    color: #2b5cc5;
}

/* Maintenance Ticket Detail Enhancements */
.margin_bottom_small {
    margin-bottom: 5px;
}

.text-right {
    text-align: right;
}

.badge-success {
    background-color: #398439;
}

.badge-warning {
    background-color: #d58512;
}

.badge-danger {
    background-color: #d43f3a;
}

.badge-info {
    background-color: #269abc;
}

/* Add better styling for add trouble ticket form sections */
.asset-card-improved {
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: border-color 0.2s ease;
}

.asset-card-improved:hover {
    border-color: #3880ff;
    box-shadow: 0 2px 4px rgba(56, 128, 255, 0.1);
}

.warranty-highlight {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 6px 8px;
    margin-top: 6px;
    font-size: 12px;
}

.grouped-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    border: 1px solid #e9ecef;
    border-radius: 4px;
    position: relative;
}

.grouped-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3880ff, #5aa3ff);
    border-radius: 4px 0 0 4px;
}

.table-improved {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table-improved table {
    border-radius: 6px;
    overflow: hidden;
}

.table-improved th {
    border-bottom: 2px solid #dee2e6;
    font-size: 13px;
    padding: 8px;
}

.table-improved td {
    font-size: 13px;
    padding: 6px 8px;
    vertical-align: middle;
}

/* Enhanced button styling for add ticket modal */
.add-ticket-subtle .btn-success {
    border: none;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    transition: all 0.2s ease;
}

.add-ticket-subtle .btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
}

.add-ticket-subtle .btn-info {
    border: none;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.add-ticket-subtle .btn-primary {
    border: none;
    box-shadow: 0 2px 4px rgba(56, 128, 255, 0.3);
}

.add-ticket-subtle .btn-warning {
    border: none;
    color: #212529;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.add-ticket-subtle .btn-danger {
    border: none;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

/* Dynamic modal resizing for Add Trouble Ticket */
.add-trouble-ticket-modal .modal-dialog {
    width: 60%; /* Default size when no staff verification */
    transition: width 0.3s ease;
    margin: 30px auto;
}

.add-trouble-ticket-modal.with-staff-verification .modal-dialog {
    width: 75%; /* Larger size when staff verification is available */
}

/* Responsive breakpoints for dynamic modal */
@media (max-width: 1400px) {
    .add-trouble-ticket-modal .modal-dialog {
        width: 75%;
    }
    
    .add-trouble-ticket-modal.with-staff-verification .modal-dialog {
        width: 90%;
    }
}

@media (max-width: 1200px) {
    .add-trouble-ticket-modal .modal-dialog,
    .add-trouble-ticket-modal.with-staff-verification .modal-dialog {
        width: 95%;
    }
}
