/* ng-cloak, ng-click */
[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng.ng-cloak {
    display: none !important;
}

[ng-click] {
    cursor: pointer;
}
/**/

/* 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);
}

body {
    /* padding: 60px 5px 5px 5px; */
    padding: 0;
}

/*for Bootstrap 3*/
.nav,
.pagination,
.panel-title a {
    cursor: pointer;
}

#app_fixed_nav.navbar-default {
    font-size: 14px;
    background-color: #f2fef2;
    border-color: rgba(13, 71, 161, 0.98);
}

#app_fixed_nav {
    border-bottom: 2px solid;
    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);
}

.nav-header {
    font-size: 18pt;
    font-weight: bold;
    color: #24415a;
}

#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;
}

#logoText {
    color: black;
    display: inline-block;
    vertical-align: middle;
    font-size: 42px;
    margin: 0 10px 0 -10px;
    font-size: 32px;
    font-weight: bold;
}
/* top nav */

.panel-title {
    font-size: 20px;
}

.panel {
    margin-bottom: 0;
    border-radius: 0;
}

.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: 6px 6px 3px 8px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    min-height: 10px;
    font-size: 1.12em;
}

@media print {
    .no-print,
    .no-print * {
        display: none !important;
    }

    div {
        page-break-inside: avoid;
    }

    body {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* new checkbox style support*/
.checkbox {
    height: 30px;
    width: 30px;
}
/* new checkbox style support*/

/* customs css */

/*custom modal dialog width */
.wide-modal-window .modal-dialog {
    width: 90% !important;
}

.big-modal-window .modal-dialog {
    width: 75% !important;
}

.large-modal-window .modal-dialog {
    width: 65% !important;
}

.padding5 {
    padding: 5px;
}

.padding10 {
    padding: 10px;
}
/**/

/* card */
.card {
    border: 1px solid #888;
    /*box-shadow: 1px 1px 3px #888;*/
    min-height: 100px;
    padding: 10px;
    margin-right: 5px;
}

.card-panel {
    border-top: 1px solid #32557c;
}

.card-header {
    padding: 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 */

/* ///////////////////////////////////////////////// */
.navbar-fixed-top {
    border: 0;
}

.red {
    background: red !important;
}

.color-red {
    color: rgb(200, 35, 35) !important;
}

.blue {
    background: blue !important;
}

.lane {
    background: #dddddd !important;
    border-bottom: 1px solid black;
}

/*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%;
}

.grid-select {
    /*border: 1px solid rgb(40, 140, 240);*/
    width: 100%;
    height: 650px;
}

.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: 25px;
}

.grid-lane-2 {
    /*border: 1px solid rgb(40, 140, 240);*/
    width: 100%;
    height: 106px;
}

.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: 30px !important;
    padding: 5px !important;
    line-height: 15px !important;
    white-space: normal;
    -ms-text-overflow: clip;
    -o-text-overflow: clip;
    text-overflow: clip;
    overflow: visible;
}

.header-blue {
    background-color: #f8f8e6;
    color: #337ab7;
}

.grid-intersections {
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    height: calc(100vh - 270px);
}

.grid-asset-categories {
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    height: calc(100vh - 122px);
}

.grid-admin {
    width: 100%;
    /*border: 1px solid rgb(40, 140, 240);*/
    height: calc(100vh - 155px);
}

.form-group {
    margin-bottom: 10px;
}

.control-label {
    padding-right: 0px;
}

sub,
sup {
    font-size: 120%;
    color: #d9534f;
}

.ui-grid-menu {
    position: absolute;
    padding: 0 0 20px 10px;
}

.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-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: 30px;
    text-align: center;
    line-height: 24px;
    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: 61px;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.ui-grid-details-no-rows {
    position: absolute;
    top: 30px;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.ui-grid-details-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-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*/

/* compass */
.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 */

.text-align-center {
    text-align: center;
}

.text-align-right {
    text-align: right !important;
}

.checkbox {
    height: 20px;
    width: 20px;
    margin-top: 2px;
    padding-top: 3px !important;
}

.checkbox-label {
    padding-top: 4px !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;
}

/*.form-control {
    height: 33px !important;
}
*/
.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: #e9f1e8;
    text-decoration: none;
    border-color: #ddd;
}

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;
    max-height: 765px;
    box-shadow: 0 2px 2px -1px #888;
}

.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-view-intersection {
    margin-top: -5px;
    margin-left: -5px;
    margin-right: -5px;
    border: solid;
    border-color: #ddd;
    border-top-color: transparent;
    border-width: 1px;
    overflow-y: auto;
    height: auto;
    max-height: 825px;
    box-shadow: 0 2px 2px -1px #888;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tab-container-view-approach {
    background-color: white;
    margin-top: -5px;
    margin-bottom: -5px;
    margin-left: -5px;
    margin-right: -5px;
    border: solid;
    border-color: #ddd;
    border-top-color: transparent;
    border-width: 1px;
    overflow-y: auto;
    height: auto;
    max-height: 825px;
    box-shadow: 0 2px 2px -1px #888;
    padding-top: 10px;
    padding-bottom: 10px;
}

.thumbnail-container {
    overflow-x: scroll;
    width: 100%;
    padding: 0 15px;
}

.thumbnail-list {
    white-space: nowrap;
    list-style: none;
}

.thumbnail-list li {
    display: inline-block;
}

.thumbnail-image {
    border-bottom: 2px solid #337ab7;
    background-color: lightgrey;
    display: block;
    padding: 2px;
    max-width: 300px;
    height: auto;
}

.popover-content {
    color: #337ab7;
    font-size: .8em;
    padding: 5px;
    min-width: 275px;
}

.popover-icon {
    color: rgb(40, 140, 249);
}



.map-theme-toggle-button {
    background: rgb(255, 255, 255);
    border: 0px;
    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: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    text-transform: none;
    appearance: none;
}

.map-theme-toggle-button:hover {
    background: #f0f0f0;
}

#selectLocationFromGoogleMap {
    height: 200px;
}

#panorama-street-view {
    height: 550px;
}

#googlemapforadminlocation {
    height: 350px;
    width: 100%;
}

#googlemapforlocation {
    height: 360px;
    width: 100%;
}

#googlemap {
    height: calc(100vh - 65px);
    width: 100%;
}

.smallmap {
    width: 100%;
    height: 600px;
}

.angular-google-map-container {
    height: 550px;
}

.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 */

.modal-header {
    background-color: #f1f1ff;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
}

.article-wrap {
    margin-right: 200px;
}

.map-right {
    margin-right: 280px;
}

.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: 200px;
    z-index: -1;
}

.sidebar:after {
    right: 0;
}

.margin_top {
    margin-top: 10px;
}

/* 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: 6px 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);
}

.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;
}


[class*='-positive'] {
    background-color: rgb(40, 140, 240);
    color: #fff;
}

[class*='-positive']:hover,
[class*='-positive']:focus {
    background-color: rgb(56, 126, 245);
    color: #fff;
}


.float-right {
    float: right;
}

.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;
}

/*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;
}

/**/
/**/
.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;
}

/**/
.flat_list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.list-group {
    margin-bottom: 2px;
}

/*Custom select tag style*/
select,
textarea {
    font-size: 21px;
}
/**/

/* Improve multi-select option spacing/appearance to match MIMS */
select[multiple] {
    padding: 5px;
}

select[multiple] option {
    padding: 5px;
    margin: 2px 0;
    border-radius: 3px;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}

select[multiple] option:checked {
    background: #337ab7 linear-gradient(0deg, #337ab7 0%, #337ab7 100%);
    color: #fff;
}

select[multiple] option:hover {
    background-color: #e8f1ff;
}

textarea {
    /* will prevent resizing horizontally */
    resize: vertical;
    max-height: 250px;
    min-height: 80px;
}

textarea.min-height {
    min-height: 80px;
}

.hoverAlist:hover {
    cursor: pointer;
    background-color: #d2ecf5 !important;
}

.header-blue {
    background-color: #f8f8e6;
    color: #337ab7;
}

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;
}

/* 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%;
    }
}
