﻿
@font-face {
    font-family: 'cargomon';
    src: url('/cip/dev/css/fonts/cargomon.eot'); /* IE9 Compat Modes */
    src: url('/cip/dev/css/fonts/cargomon.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/cip/dev/css/fonts/cargomon.woff') format('woff'), /* Modern Browsers */
    url('/cip/dev/css/fonts/cargomon.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/cip/dev/css/fonts/cargomon.svg#svgFontName') format('svg'); /* Legacy iOS */
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'cargomon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.icon.cgmon-rssi:before {
    font-family: cargomon;
    content: "\f0897";
}

i.icon.cgmon-icon:before {
    font-family: cargomon;
    content: '\e900';
}



i.icon.cgmon-trackxxl:before {
    font-family: cargomon;
    content: '\f0818';
}


i.icon.cgmon-trackxxl-group:before {
    font-family: cargomon;
    content: '\f0812';
}

i.icon.cgmon-trackxxl-nfc:before {
    font-family: cargomon;
    content: '\f0820';
}

i.icon.cgmon-trackxxl-connect:before {
    font-family: cargomon;
    content: '\f0813';
}

i.icon.cgmon-trackxxl-settings:before {
    font-family: cargomon;
    content: '\f0814';
}

i.icon.cgmon-trackxlsolar-nfc:before {
    font-family: cargomon;
    content: '\f0819';
}


i.icon.cgmon-trackxlsolar:before {
    font-family: cargomon;
    content: '\f0817';
}


i.icon.cgmon-sensor:before {
    font-family: cargomon;
    content: '\f0816';
}

i.icon.cgmon-sensor-settings:before {
    font-family: cargomon;
    content: '\f0815';
}



.cgmon.hidden {
    display: none;
}
/*
.ui.grid.dashboard {
    height: 80vh;
}*/

.cgmon.asset-dashboard-map {
    height: 60vh;
}

.cgmon.asset-dashboard-events {
    height: 15vh;
    overflow: auto;
}

.cgmon.asset-dashboard-charts {
    height: 80vh;
    overflow: auto;
}
/*
    .ui.grid.dashboard .events {
        height: 10vh;
    }*/
/*
    .ui.grid.dashboard .full-map {
        height: 90vh;
    }

    .ui.grid.dashboard .events {
        height: 30vh;
    }
*/
.content {
    padding-top: 1.1rem;
}



div.fileinputs {
    position: relative;
}

div.fakefile {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    width: 100%;
}

input.file {
    position: absolute;
    text-align: right;
    -moz-opacity: 0;
    filter: alpha(opacity: 0);
    opacity: 0;
    z-index: 2;
}

.toc {
    position: fixed;
    z-index: 1;
    background-color: #1b1c1d;
    width: 250px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.article {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0px;
    margin-left: 250px;
}

.scrollable {
    min-height: 10vh; /**100vh;**/
    max-height: 50vh;
    overflow: auto;
}

.scrollable-x {
    min-height: 10vh; /**100vh;**/
    max-height: 50vh;
    overflow-x: auto;
    overflow-y: hidden;
    /** white-space: nowrap;**/
}

.scrollable-y {
    min-height: 10vh; /**100vh;**/
    max-height: 50vh;
    overflow-x: hidden;
    overflow-y: auto;
    /** white-space: nowrap;**/
}


.scrollable-full {
    min-height: 25vh; /**100vh;**/
    max-height: 60vh;
    overflow: auto;
}

    .scrollable-full.operations {
        max-height: 80vh !important;
    }


/* Mobile-only display */
@media (max-width: 767px) {

    .tablet-only, .computer-only {
        display: none !important;
    }

    .mobile-only {
        display: -webkit-inline-box !important;
    }
}

/* Tablet-only display */
@media (min-width: 768px) and (max-width: 1024px) {

    .mobile-only, .computer-only {
        display: none !important;
    }

    .tablet-only {
        display: -webkit-inline-box !important;
    }

        .tablet-only.mobile-only {
            display: -webkit-inline-box !important;
        }

        .tablet-only.computer-only {
            display: -webkit-inline-box !important;
        }
}

/* Computer-only display */
@media (min-width: 1025px) {

    .mobile-only, .tablet-only {
        display: none !important;
    }

  /*  .computer-only {
        display: block !important;
    }*/

    .computer-only.mobile-only {
        display: -webkit-inline-box !important;
    }

    .computer-only.tablet-only {
        display: -webkit-inline-box !important;
    }
}


.resizable {
    resize: both;
    overflow: auto;
    position: absolute;
    z-index: 5;
}

.ui.message.raised {
    position: fixed;
    top: 50px;
    z-index: 9998;
}

.inverted.icon.header {
    position: fixed;
    top: 50px;
    z-index: 9999;
}

/* Analysis Dashboard Chart Segment */
.analysis-dashboard.row {
    min-height: 250px;
}

    .analysis-dashboard.row .scrollable {
        height: 200px;
    }

    .analysis-dashboard.row .chart {
        height: 200px;
    }

    .analysis-dashboard.row .segment {
        min-height: 200px;
    }

/* OPERATION STATUS BAR */
ul.cgmon.operation-status {
    width: 100%;
    display: table;
    table-layout: fixed;
    background-color: white;
    border-collapse: collapse;
    margin: 2px;
    color: white;
    box-shadow: 2px 2px 4px grey;
    text-shadow: 2px 2px 4px grey;
}

    ul.cgmon.operation-status li {
        display: table-cell;
        text-align: left;
        /*border: 1px solid black;*/
        vertical-align: middle;
        word-wrap: break-word;
        border-color: lightgray;
        padding-top: 2px;
        padding-bottom: 2px;
    }

        ul.cgmon.operation-status li.executing {
            background-color: #fbbd08;
        }

        ul.cgmon.operation-status li.failed {
            background-color: #db2828;
        }

        ul.cgmon.operation-status li.successful {
            background-color: #21ba45;
        }

        ul.cgmon.operation-status li.pending {
            background-color: #f2711c;
        }


/* TABLES */

.ui.table td {
    padding: 1px;
}

table td.nowrap {
    white-space: nowrap;
}


table tr.orange {
    background-color: orange;
}

table tr.green {
    background-color: green;
}


.ui.table.tiny td {
    padding: 2px !important;
}






/* Columns  */

.column.compact {
    padding: 5px !important;
}



.ui.accordion .title:not(.ui) {
    padding: 0px;
}

.ui.accordion:not(.styled) .accordion .title ~ .content:not(.ui), .ui.accordion:not(.styled) .title ~ .content:not(.ui) {
    padding: 0px 0px 0px 5px;
}

.ui.list .list, ol.ui.list ol, ul.ui.list ul {
    padding: 0px;
}

    .ui.list .list > .item, ol.ui.list ol li, ul.ui.list ul li {
        padding: 0px;
    }


#tooltip:empty {
    display: none;
}




#tooltip {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 11px;
    position: absolute;
    padding: 4px;
    margin: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    max-width: 300px;
    font-size: 10px;
    z-index: 9;
    pointer-events: none;
}



.ui.dropdown .menu.tag > .item {
    display: inline-block;
    margin: 1px;
}


.ui.selection.dropdown .menu.tag > .item {
    padding: 5px !important;
}


.tag-label {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    color: white !important;
    margin: 2px !important;
}

.dropdown.tag .menu.tag.transition.visible {
    border-color: black;
    border-top-width: 1px !important;
}

/* MAIN PAGE MENU  */
.cgmon-menu.selected {
    background-color: #f2711c !important;
}

.cgmon-menu {
    background-color: transparent !important;
}

/* Field item  */
.cgmon .field .selected {
    background-color: #00b5ad !important;
}

.ui.form.cgmon-filter .fields .field {
    padding-bottom: 10px;
}

.ui.form.cgmon-filter .field {
    padding-bottom: 10px;
}



/*.item.active .cgmon-sub-menu.selected {
    background-color: orange !important;
}

.item .cgmon-sub-menu.selected {
    background-color: transparent !important;
}*/

.cgmon-sub-menu.selected {
    background-color: orange !important;
}



.cgmon.bottom-bordered {
    border-bottom: 2px solid #e0e1e2 !important;
    padding-bottom: 2px !important;
}

/* PROGRESS ELEMENT */


.ui.progress {
    border: 1px solid #ddd;
    background-color: #eee;
}

    .ui.progress .bar {
        height: 100%;
    }

    .ui.progress .label {
        white-space: nowrap;
    }


/* SEMANTIC - COLUMN */

.ui.column.cgmon-compact {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* FORM ELEMENT */

.ui.cgomon.form .field {
    margin-bottom: 1em !important;
}

.ui.form.cgomon-form-table .fields {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    border-bottom: 2px solid #e0e1e2 !important;
}

    .ui.form.cgomon-form-table .fields.cgomon-selected {
        background-color: #F2711C;
    }


.ui.form.cgomon-form-table.cgomon-clickable .fields {
    cursor: pointer;
}


.cgmon-container {
    display: flex;
    flex-wrap: wrap;
}

    .cgmon-container div {
        width: 50px; /* or any desired width */
        height: 50px; /* or any desired height */
        margin: 2px;
    }

.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node {
    width: 180px;
    height: 80px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

    .node .title {
        font-weight: bold;
    }

    .node .nested-nodes {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 10px;
    }

        .node .nested-nodes .node {
            width: auto;
            height: auto;
            background-color: #e0e0e0;
            border: 1px solid #999;
            border-radius: 4px;
            padding: 4px 8px;
            margin: 0 4px;
        }


/* CGMON */
.cgmon.full-width {
    width: 100% !important;
}


label .cgmon-preline {
    white-space: pre-line;
}






/*  SEMANTI UI CARD  */
.ui.card.cgmon > .content, .ui.cards.cgmon > .card > .content {
    padding: 8px !important;
    flex-grow: 0 !important;
}



.ui.grid.cgmon-list > .column:not(.row) {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}


.cgmon-full-width {
    width: 90% !important;
    height: 90% !important;
} 