
.ajs-content {
    font-size: 14px;
}

.vertical-center {
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.pull-right {
    float: right;
}

body {
    background: #e0e0e0;
    color: #0b0f1e;
    overflow-x: hidden;
}

.img-14 {
    max-width: 14px;
    height: 14px;
}

.img-18 {
    max-width: 18px;
    height: 18px;
}

.img-20 {
    max-width: 20px;
    height: 20px;
}

.img-24 {
    max-width: 24px;
    height: 24px;
}

.img-28 {
    max-width: 28px;
    height: 28px;
}

.img-32 {
    max-width: 32px;
    height: 32px;
}

.img-38 {
    max-width: 38px;
    height: 38px;
}

.v-top {
    vertical-align: top;
}

.img-btn {
    cursor: pointer;
}


.img-btn-inline {
    margin-left: 5px;
    margin-top: -8px;
}

.device-summary img {
    width: 22px;
    height: 22px;
    margin: 3px 0;
}

.pointer {
    cursor: pointer;
}

.map-link {
    width: 20px;
    height: 20px;
    background-image: url("../image/map_64.png");
    background-size: contain;
    display: inline-block;
    vertical-align: bottom;
}

#splash-xt-logo {
    display: none;
}

#splash-hive-logo {
    display: inline !important
}

/* drawing */
#segment-repeating-wrapper,
#device-repeating-wrapper,
#dwg-main,
#dashboard-iframe {
    min-height: inherit;
    max-height: inherit;
    display: none;
    background: #44484A;
}

#dashboard-iframe {
    width: 100%;
    border: none;
    padding: 0px;
    padding-top: 25px;
    display: block;
    background: transparent;
}

#drawing-search-container {
    position: fixed;
    margin: 15px;
    border: 1px solid black;
    background: white;
    filter: drop-shadow(0 0 10px #336CA6);
}

#drawing-search-input {
    display: inline-block;
    padding: 5px;
    font-size: 14px;
    color: black;
    outline: none;
    border: none;
    width: 220px;    
    border-right: 1px solid black;
}

#drawing-search-next {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    vertical-align: middle;
    padding: 0 8px;
    color: black;    
}

#drawing-search-next:hover {
    color: #336CA6;
}

#drawing-search-next i {
    font-size: 20px;
    line-height: 20px;
}

#drawing-search-result {
    position: fixed;
    margin: 44px 0 0 20px;
    font-size: 14px;
    color: #ff1010;
}
    
.checkable, .context-menu-icon {
    color: black;
    cursor: pointer;
    text-decoration: none !important;
}

.context-menu-icon img {
    width: 22px;
    height: 22px;
}

/* header */
.header {
    background: #dadada;
    top: 0;
    width: 100%;
    position: fixed;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    z-index: 10;
    transition: all 0.5s ease;
}

.header .sidebar-trigger {
    margin: 10px 5px;    
    font-size: 24px;
    line-height: 24px;
    color: black;
    cursor: pointer;
}

.header > #logoutForm > img {    
    margin-right: 15px;
}


.sidebar-trigger:hover,
.header > #logoutForm > span:hover {
    color: #336ca6;
}

.header > #logoutForm {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Sidebar */
.sidebar {
    z-index: 98;
    position: fixed;    
    top: 0px;
    width: 300px;
    height: 100%;
    margin-left: -300px;
    overflow-y: auto;
    background: #336ca6;
    padding-bottom: 10px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.sidebar .logo {        
    padding: 0 0 5px 5px;
    background: #231F20;
}

.sidebar .logo > img {
    width: 295px;
    margin-top: 20px;
    margin-left: -5px;
}

.sidebar .logo > h2 {
    position: absolute;
    margin: 0;
    left: -5px;
    right: 0px;
    top: 58px;
    font-size:28px;
    line-height: 28px;
    background: #eeab1f;
    color: #000;
    text-align: center;
}

.sidebar #tps-banner {
    cursor: pointer;
}

#sidebar-menu-container ul {
    list-style: none;
    padding: 0;
}

#sidebar-drawing-items-container > ul,
#sidebar-subitems-container > ul {
    list-style: none;
    padding: 0;
    cursor: pointer;
}

#sidebar-drawing-items-container,
#sidebar-menu-container {
    overflow-x: hidden;
    overflow-y: hidden;
    width: 300px;
}

#sidebar-menu-container.section-selected {
    top: 100px;
}

#sidebar-drawing-items-container {
    top: 200px;
    overflow-y: auto;
    position: fixed;
    bottom: 0px;
}
    
#sidebar-menu-container.minimised {
    max-width: 64px;
}

#sidebar-menu-container .sidebar-back {
    padding: 2px 10px;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
}

#sidebar-menu-container .sidebar-back span {
    margin: 0px 2px;
}

#sidebar-menu-container .sidebar-back span:not(.glyphicon) {
    text-decoration: underline;
}


.sidebar-menu div {
    padding: 5px;
}

.sidebar-menu.minimised div {
    padding: 5px 0px;
}

.sidebar-header,
.sidebar-item {
    font-size: 24px;    
    position: relative;
}

.sidebar-menu.minimised {
    max-width: 64px;
}

.sidebar-menu.minimised .sidebar-header {
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}


div.sidebar-menu > span {
    font-size: 16px;
}

.sidebar-item .sidebar-menu.ui-selected > span {
    cursor: default;
    font-weight: bold;
    font-size: 16px;
}

.sidebar-menu .section-header {
    background: #231F20;
    padding-bottom: 10px;
}

#sidebar-menu-container:not(.section-selected) .sidebar-menu .section-header {
    background: none;
    cursor: pointer;
}

.sidebar-menu.ui-selected {
    display: inline-block;
    padding: 0px;
}

.sidebar-menu.ui-selected img {
    width: 38px;
    height: 38px;
    margin: 0px;
}


#sidebar-subitems-container {
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 142px;
    bottom: 0px;
    left: 71px;
    width: 229px;
    max-width: 229px;
}

.sidebar-item ul
{
    padding-left: 10px;
    padding-bottom: 10px;
    list-style: none;
}

.sidebar-item {
    font-size: 14px;
}

.sidebar-item-filter {
    font-size: 12px;
}

.sidebar-expander i.bi {
    font-size: 20px;
    line-height: 20px;
}

.sidebar-header img {
    margin-left: 5px;
}

.sidebar-item img {
    width: 38px;
    height: 38px;
    margin-right: 5px;
}

.sidebar-item .status-icon-3 {
    height: 12px;
    width: 12px;
    position: absolute;
    left: 0px;
    top: 34px;
}

.sidebar-item .status-icon-4 {
    height: 12px;
    width: 12px;
    position: absolute;
    left: 40px;
    top: 34px;
}

.sidebar-item .status-icon-2 {
    height: 12px;
    width: 12px;
    position: absolute;
    left: 40px;
    top: 0px;
}

.sidebar-item-filter img {
    width: 24px;
    height: 24px;
}

.sidebar-expander {
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -12px;
}

#sidebar-drawing {
    padding-top: 0px;
    padding-right: 0px;
}

.sidebar-context-header {
    font-size: 18px;
    padding-top: 10px;
}

.sidebar-context-header img {
    width: 38px;
    height: 38px;
    margin-right: 5px;
}

.sidebar-context-controls {    
    font-size: 14px;
}

.sidebar-context-controls > div {
    margin: 10px 5px;
}

.sidebar-context-controls span {
    display: inline-block;
    width: 100px;
}

.sidebar-context-controls select,
.sidebar-context-controls input {
    color: black;
    width: 170px;
}

/* main content */
#content {
    background: #e0e0e0;
    padding-left: 0px;
    margin-top: 40px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    outline: none;
}

    #content.lighting-control {
        background: #000;
        background-image: url('../image/hive_plus_cover.png');
        background-origin: content-box;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

#content-overlay {
    position: fixed;
    top: 0;
    left: 300px;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: none;
    background-color: #5C5C5C;
    opacity: 0.8;
}

.selection-box {
    border: 1px dotted #BBB;
    background: rgba(0, 0, 0, 0.04);
}

/* Content controls */
#content-controls,
#content-controls-right {
    padding: 10px 5px 10px 10px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;    
    margin-right: 0px;
}

#content-controls > button,
#content-controls-right > button { 
    margin-right: 15px;
}

#content-controls select {
    min-width: 140px;
}

#content-controls input,
#content-controls-right input,
.listview-controls input,
#content-controls select,
#content-controls-right select,
.listview-controls select{
    padding: 3px;
}

#content-controls .btn-primary,
#content-controls-right .btn-primary,
.listview-controls .btn-primary {
    padding: 3px 9px;
}

#listview-content,
#listview-right-content {
    padding: 0px;
    display: inline-block;
}

#right-content-expander {
    float: right;
    padding: 10px;
    font-size: 24px;
    color: black;
    cursor: pointer;
}

#listview-right-content {
    padding-right: 5px;
    /*margin-right: 5px;
    
        */
}

.group-config-img-button {
    cursor: pointer;
    margin: 5px 5px 0 0;
    border: 2px solid transparent;    
}

.group-config-img-button:hover {
    background: #ccc;
    border: 0px solid #ccc;
}

.group-config-img-button:active {
    background: #CFD8E9;
    border: 0px solid #CFD8E9;
}

#right-content-border {
    border: 1px solid #909090;
    position: absolute;
    bottom: 44px;
    top: 50px;
    margin-right: 5px;
    right: 8px;
}

.right-content-head {
    position: relative;
    width: 100%;    
}

.right-content-head .glyphbutton {
    font-size: inherit;
}

.right-content-head .row-bar-icon {
    height: 12px;
}

.right-content-head .row-bar-icon-title {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.right-content-head .img-btn {
    vertical-align: top;
}

.right-content-head input[type=text] {
    width: 180px;
    font-size: 16px;
    font-weight: normal;
}

.content-header.folder-content-header input[type=text] {
    margin-left: 20px;
}


.right-content-head input[type=color] {
    width: 30px;
    height: 26px;
    vertical-align: bottom;
}


.right-content {
    top: 200px;
    overflow-y: scroll;
    position: fixed;
    bottom: 60px;
    margin-right: 15px;
}

.right-content.folder-right-content {
    top: 150px;
    width: 395px;
}

.content-row {
    padding: 5px 0px 0px 4px;
    font-size: 14px;
}

.content-header {
    font-weight: bold;
    font-size: 20px;
    padding: 2px 5px;
    display: inline-block;
    max-width: 310px;
    overflow: hidden;
}
.content-header .right-title {
    max-width: 240px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    vertical-align: bottom;
}
.content-header.folder-content-header .right-title {
    margin-left: 10px;
    max-width: 280px;
}

.content-sub-header {
    font-weight: bold;
    font-size: 18px;
}

.content-label {
    min-width: 140px;
    max-width: 140px;
    display: inline-block;
}

.content-label-2 {
    min-width: 100px;
    max-width: 100px;
    display: inline-block;
}

.sensor-overlay-btn {
    position: relative;
}

.sensor-overlay-btn.sensor-max-preview {
    left: 48px;
    top: 12px;
    cursor: pointer;
}

.sensor-overlay-btn.sensor-med-preview {
    left: 158px;
    top: 48px;
    cursor: pointer;
}

.sensor-overlay-btn.sensor-min-preview {
    left: 265px;
    top: 82px;
    cursor: pointer;
}

.accordion-panel .banner.sensor-diagram {
    margin-top: -15px;
}

.accordion-panel .accordion-panel-title {
    margin-top: 15px;
    font-weight: bold;
    
}

.accordion-panel-label {
    display: inline-block;
    width: 160px;
}

.accordion-panel-value {
    display: inline-block;
}

input.accordion-panel-value[type=number] {
    width: 80px;
}

input.accordion-panel-value[type=checkbox] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.space-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


/* List View Controls */
#content-controls {
    display: inline-block;
}

#content-controls .img-btn {
    width: 24px;
    height: 24px;
}

.listview-controls {
    display: inline-block;
    background: transparent; /*#e0e0e0;*/
    padding: 10px 5px 10px 10px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#listView-page-size {
    width: 70px;    
    display: inline-block;
}
/*
.listview-controls input,
.listview-controls select {
    margin-bottom: 10px;
}*/
.listview-controls .checkable {
    margin-top: 2px;
    margin-bottom: 2px;
}

.repeating-options {
    display: inline-block;
}

.repeating-options > div {
    display: inline-block;
}

.repeating-options > div > a {
    display: block;
    vertical-align: top;
    margin-right: 10px;
}

.repeating-options .checkbox {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* segment-repeating controls */
#repeating-segment-controls {
    display: inline-block;
}

/* list view */
.listview {
    margin: 0 5px;
    padding: 0 0 40px 0;
    display: inline-block;
}


.list-item-ghosted {
    position: absolute;
    background: url("../plugins/jquery/image/jq-images/ui-bg_flat_50_5c5c5c_40x100.png") repeat-x scroll 50% 50% #5c5c5c;
    opacity: 0.3;
    width: 120px;
    height: 120px;
    z-index: 2;
    margin-top: 0px;
}

.list-item {
    margin: 6px;
    padding: 0px;
    width: 120px;
    height: 120px;
    position: relative;
    font-size: 0.75em;
    text-align: center;
    overflow: hidden;
    display: inline-block;
    background: #F8F8F8;
    /*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);*/
}

.list-item.ui-selected, .list-item.ui-selecting {
    background: #CFD8E9;    
}

.list-item .li-item-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.list-item .img-container {
    position: relative;
}

.list-item .text-container {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;    
    padding: 0px 2px;
    word-wrap: break-word;
}

.list-item .lv-id {
    position: absolute;
    left: 5px;
    top: 5px;
    color: #336CA6;
}

.list-item.ui-selected .lv-id,
.list-item.ui-selecting .lv-id {
    color: lightgrey;
}

.list-item .lv-main-icon {
    height: 82px;
    width: 82px;
    position: absolute;
    left: 19px;
    top: 10px;
}

.list-item .status-icon-1 {
    height: 18px;
    width: 18px;
    position: absolute;
    left: 8px;
    top: 6px;
}

.list-item .status-icon-2 {
    height: 18px;
    width: 18px;
    position: absolute;
    right: 6px;
    top: 6px;
}

.list-item .status-icon-3 {
    height: 24px;
    width: 24px;
    position: absolute;
    left: 8px;
    top: 66px;
}

.list-item .status-icon-4 {
    height: 24px;
    width: 24px;
    position: absolute;
    left: 84px;
    top: 66px;
} 

#hive-fitting-dialog .lv-type-overlay {
    height: 24px;
    width: 24px;
    position: absolute;
    left: 8px;
    top: 6px;
}

.drag-list {
    z-index: 99;
    max-width: 50%;
    max-height: 50%;
    overflow: hidden;
    pointer-events: none;
}

.sb-drag {
    color: #336CA6;
    font-weight: bold;
    padding: 5px;
    z-index: 99;
    background: white;
}

.sb-drag .glyphicon {
    display: none;
}

.sb-drag-to-drawing {
    background: none;
}

/* Main DT */
#dt-main,
#dt-right {
    padding: 10px;    
}

#dt-right .dataTables_filter label {
    margin-bottom: 12px;
}

#dt-main .dataTables_filter label {
    font-size: 16px;
    font-weight: normal;
}

.dataTables_scrollBody .add-button,
.dataTables_scrollBody .add-neighbour-button,
.dataTables_scrollBody .add-corridor-hold-button {        
    max-width: 32px;
    max-height: 32px;
}

.col-addrem-button {
    max-width: 32px;
}
/*production test*/
#production-test-settings {
    position: fixed;
    bottom: 120px;
    right: 0px;
    z-index: 99;
}

#production-test-settings > div {
    background-color: #A4A4E9;
    margin-right: 30px;
    padding: 20px;
    float: right;
}

#production-test-settings table,
#production-test-settings button {
        /*float: right;
    margin-right: 300px;
        */
    display: inline-block;
    margin-left: 30px;
}

/* confirm */
.confirm-row {
    margin-bottom: 5px;
}

.confirm-label {
    display: inline-block;
    min-width: 125px;
    max-width: 125px;    
}

.confirm-input-number {
    width: 50px;

}

.confirm-input-checkbox {
    cursor: pointer;
}

.confirm-summary {
    font-style: italic;
}

.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok:disabled {
    color: grey
}

/* footer */
.footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 2px;
    background: #dadada;
    padding-left: 0px;
    max-height: 50px;    
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;    
    position: relative;
    padding: 0 10px;
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    background: #dadada;
}

.footer-info {
    cursor: default;
    line-height: 33px;
}

.footer-logo {
    width: 120px;
}

table.fitting-summary tr:nth-child(odd) {
    background: #D4D4D4;
}

table.fitting-summary tr:hover {
    background: #336ca6;
    color: white;
}

table.fitting-summary tr:active {
    background: #8cbd3a;
    color: white;
}

table.fitting-summary img {
    width: 24px;
}

table.fitting-summary td {
    padding: 3px 3px 7px 3px;
}

table.fitting-summary td:first-child {
    padding: 3px;
}

table.fitting-summary td:last-child {
    min-width: 50px;
}

table.fitting-summary td:nth-child(2) {
    min-width: 200px;
}

.tooltipster-summary .tooltipster-content {
    height: 200px;
    overflow: hidden;
}

.tooltipster-version .tooltipster-content {
    height: 100px;
    overflow: hidden;
} 

.tooltipster-content .fitting-summary {
    padding: 5px;
    border: 5px solid #D8D8D8;
    cursor: pointer;
    margin: 0 auto;
}

#fitting-summary-refresh {
    margin: 0 0 0 4px;
    cursor: pointer;
}

#fitting-summary-refresh:active {
    background: #CFD8E9;
}

.footer span {
    margin-right: 10px;
}

.footer-info span:nth-child(even) {
    margin-right: 0px;
}

.footer #lv-pagination-wrapper,
.footer #details-pagination-wrapper {
    display: inline-block;
}

.footer #lv-pagination,
.footer #details-pagination {
    list-style: none;
    position: relative;
    margin: 5px 0px;
    padding: 0px;
}

.footer #lv-pagination li,
.footer #details-pagination li{
    display: inline-block;    
}

.footer #lv-pagination button,
.footer #details-pagination button{
    border: 0px !important;
    background-color: #222222;
    color: #eeeeee;
    padding: 2px 5px;
}

.footer #lv-pagination button:hover,
.footer #details-pagination button:hover{
    background: #0054A4;    
}

.footer #lv-pagination button:active,
.footer #details-pagination button:active{
    background: #8CBD3A
}

.footer #lv-pagination li:first-child button,
.footer #details-pagination li:first-child button{
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.footer #lv-pagination li:last-child button,
.footer #details-pagination li:last-child button{
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.footer #lv-pagination button[disabled],
.footer #details-pagination button[disabled] {
    opacity: 0.5;
    background: #222222
}

/*  tooltipster  */
.tooltip_templates {
    display: none;
}

#fitting_summary_tooltip {
    background: #e0e0e0;
    color: black;
    height: 140px;
}

#version_numbers_tooltip {
    background: #e0e0e0;
    color: black;
    height: 140px;
}


@media (min-width: 768px) {
    .sidebar,
    .listview-controls {
        left: 300px;
    }

    #content {
        padding-left: 300px;
    }

    .footer {
        padding-left: 300px;
    }

    .header {
        padding-left: 300px;
    }
}

.clickable {
    cursor: pointer;
}

.input-password {
    -webkit-text-security: disc;
}

.pre-wrap {
    white-space: pre-wrap;
}
