
.nj-icon {
    padding-right:4px;
    padding-left:4px;
    width: 300px;
    height: 34px;
}
.nj-icon:before{
    display: inline;
    content:url("images/nj_logo.svg");
}

.avatar-icon { background-image: url('images/avatar_24px.png');}

.calendarWrapper {
    /*min-height: 68vh;*/
    min-height: 610px;
    max-height: 87vh;
}
.calendarWrapper:fullscreen, .calendarWrapper:-webkit-full-screen, .calendarWrapper:-moz-full-screen, .calendarWrapper:-ms-fullscreen {
    /*max-height: 100%;*/
    max-height: 100vh;
}

:fullscreen, :-webkit-full-screen, :-moz-full-screen {
    background: white;
}

#mainContent {
    min-height: 50vh;
    overflow-y: visible;
}

#logger {
    margin-top: 10px;
    height: 15vh;
    overflow-y: scroll;
}

body.fullscreen header, body.fullscreen #drawer, body.fullscreen #complementaryContent {
    display: none;
}
body.fullscreen .oj-web-applayout-content {
    padding:0;

}
body.fullscreen #mainContent {
    margin: 0;
    min-height: 100vh;
}
body.fullscreen #main {
    padding-left: 0 !important;
}

.popup .fc-time {
    font-weight: bold;
    margin-right: 8px;
}

.fc-h-event.fc-allow-mouse-resize .fc-resizer {
    top: 40%;
}

table.dataTable tbody td:first-child {
    white-space: nowrap;
}

table.dataTable {
}

table.dataTable tr.danger.odd td {
    background-color: rgba(220, 53, 69, 0.3);
}
table.dataTable tr.danger.even td {
    background-color: rgba(220, 53, 69, 0.2);
}
table.dataTable tr.warning.odd td {
    background-color: rgba(255, 193, 7, 0.3);
}
table.dataTable tr.warning.even td {
    background-color: rgba(255, 193, 7, 0.2);
}
table.dataTable tr.normal.odd td {
    background-color: rgba(75, 150, 210, 0.3);
}
table.dataTable tr.normal.even td {
    background-color: rgba(120, 150, 210, 0.2);
}

.fc-toolbar h2 {

}

.fc-event.selected {
    border: 2px solid #f9dd34 !important;
}

.text-center, html:not([dir="rtl"]) .oj-table-column-header-cell.text-center {
    text-align: center;
}
.text-right, html:not([dir="rtl"]) .oj-table-column-header-cell.text-right {
    text-align: right;
}
.text-left, html:not([dir="rtl"]) .oj-table-column-header-cell.text-left {
    text-align: left;
}

.form-quote {
    min-width: 1100px;
}

.oj-table-data-cell {
    white-space: normal;
}

.selectize-control.njselectize {

}

.selectize-control.njselectize .selectize-input {
    text-align: left;
    color: #333333;
    background-color: #fcfdfe;
    border-style: solid;
    border-color: #dfe4e7;
    border-width: 1px;
    border-radius: 2px;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-clip: padding-box;
    text-overflow: ellipsis;
    height: 2.286rem;
    box-shadow: none;
    background-image: none;
    font-size: 14px;
}

.selectize-control.njselectize .selectize-input input {
    font-size: 14px;
}

.selectize-dropdown {
    z-index: 2000;
}


.close-drawer #drawer {
    -webkit-transform: translateX(-260px);
    -moz-transform:    translateX(-260px);
    -ms-transform:     translateX(-260px);
    -o-transform:      translateX(-260px);
    transform: translateX(-260px);
    transition: transform 300ms linear;
    will-change: transform;
}
.close-drawer #main {
    padding-left: 0;
    transition: padding-left 300ms linear;
    will-change: padding-left;
}
.open-drawer #drawer {
    -webkit-transform: translateX(0px);
    -moz-transform:    translateX(0px);
    -ms-transform:     translateX(0px);
    -o-transform:      translateX(0px);
    transform: translateX(0px);
    transition: transform 300ms linear;
    will-change: transform;
}
.open-drawer #main {
    padding-left: 260px;
    transition: padding-left 300ms linear;
    will-change: padding-left;
}

#drawer {
    position: absolute;
    width: 260px;
    z-index: 1;
}
#main {
    position: relative;
    padding-left: 260px;
}

#websocketStatusIndicator {
    display: inline-block;
    border-radius: 50%;
    width: 1.8em;
    height: 1.8em;
    border: 1px solid #fafafa;
    background-color: #fff;
    text-align: center;
    /*color: red;*/
}
#websocketStatusIndicator i {
    color: #666;
    margin-top: 0.2em;
    font-size: 1.3em;
    text-shadow: 0px 0px 2px #ddd;
}

/*#dialogFormFamilyEquipmentSelector, #dialogFormNetworkSelector {
    min-width: 80vw;
}*/
.dialog-large {
    min-width: 96vw;
    min-height: 90vh;
}
.dialog-small {
    min-width: 40vw;
    min-height: 40vh;
}

.nj-form {
    padding-bottom: 40px;
    position: relative;
}
.nj-form-body {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: auto;
    padding: 15px 15px 0;
}
.dialog-large .nj-form-body {
    max-height: 80vh;
}
.nj-form-footer {
    padding: 15px 15px 0;
    position: absolute;
    bottom: 0;
    right: 0;
}

#map-container {
    position: relative;
    width: 100%;
    height: 100%;
}
body.fullscreen #map-container {
    min-height: 97vh;
}

#map-search-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-block;
    width: 40%;
}

#map-gpspreference-container {
    position: absolute;
    top: 10px;
    right: 50px;
    z-index: 2;
    display: inline-block;
    background-color: #fff;
    padding: 5px;
    /*width: 30%;*/
}

#map-gpspreference-container.open #full-gpspreference {
    display: block;
}
#map-gpspreference-container.open #small-gpspreference {
    display: none;
}
#map-gpspreference-container.close #full-gpspreference {
    display: none;
}
#map-gpspreference-container.close #small-gpspreference {
    display: block;
}
#map-gpspreference-container.open .fa-caret-down {
    transform: rotate(0deg);
}
#map-gpspreference-container.close .fa-caret-down {
    transform: rotate(90deg);
}

#gpspreference-control {
    /*background-color: #fff;*/
    /*padding: 5px;*/
}

#map-menu-button {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

#map-search {
    position: relative;
}
#map-search-container input {
    padding-left: 23px;
}

#map-search:focus {
    /*border-color: #4d90fe;*/
}

#map-canvas {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 85vh;
    /*min-height: 100%;*/
    overflow: visible;
    top: 0;
    left: 0;
    bottom: 0;
}
#tab-map #map-canvas {
    min-height: 74vh;
}
body.fullscreen #map-canvas {
    min-height: 97vh;
}

.context-menu {
    position: relative;
    z-index: 2147483647; //@note do not change this, needed for full screen
}

.fullscreen-visible {
    z-index: 2147483647;
}

.gridster .preview-holder {
    border: none !important;
    border-radius: 0 !important;
    background: red !important;
}

.gridster .gs-w {
    /*background: #61A9CF;*/
    /*cursor: pointer;*/
    /*-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);*/
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);*/
}
.gridster .player {
    -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    background: #BBB;
}

/*  Medium Desktop  */
@media (min-width:992px){

    #mainContent {
        min-height: 55vh;
    }

    #map-container {

    }

    /*#tab-map {
        min-height: 74vh;
    }*/
    #tab-map #map-canvas {
        min-height: 74vh;
    }
}

/*  Large Desktop  */
@media (min-width:1200px){

    #mainContent {
        min-height: 60vh;
    }

}