﻿@font-face {
  font-family: 'Symbola';
  src: url('/static/font/Symbola613.ttf')  format('truetype');
}

/* Menu */
.MarsMenu{
    font-size: 1.1em;
    text-align: center;
    white-space: nowrap;
}

.MarsMenu li{
    white-space: nowrap;
    list-style-type: none;
    display: inline-block;
    position: relative;
}

.MarsMenu li a{
    display: block;
    text-decoration: none;
    font-weight: bold;
    padding: .2em 1em;
    color: #1C94C4;
    border: #CCCCCC solid 1px;
    background: url("/static/css/images/ui-bg_glass_100_f6f6f6_1x400.png") repeat-x scroll 50% 50% #F6F6F6
}

.MarsMenu a[href="#"]{
    cursor: default;
}

.MarsMenu>li:not(:first-child)>a{
    border-left: 0;
}

.MarsMenu li a:hover{
    color: #c77405;
    border-color: fbcb09;
    background: url("/static/css/images/ui-bg_glass_100_fdf5ce_1x400.png") repeat-x scroll 50% 50% #fdf5ce;
}

.MarsMenu li:first-child a{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.MarsMenu li:last-child a{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.MarsMenu li ul{
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    margin-top: -1px;
    z-index: 9999;
    font-size: .9em;
}

.MarsMenu li:hover ul{
    display: block;
}

.MarsMenu li ul li{
    font-style: normal;
    display: block;
}

.MarsMenu li ul li a{
    border-top: 0;
    border-radius: 0px !important;
}

.MarsMenu li ul li:first-child>a{
    border-top: #CCCCCC solid 1px;
}

/* Part Widget */
.PartWidgetWrapper
{
    max-height: 100px;
    overflow-y: scroll;
}

.PartWidgetList
{
    display: block;
    list-style-type: none;
}

.PartWidgetListPart
{
    background: #fff;
    border-radius: 0px;
    border-bottom-width: 0px;
    cursor: pointer;
    display: block;
    font-size: .9em;
    font-weight: normal;
    margin: 0;
    padding-left: .5em;
    padding-right: 2em;
    white-space: nowrap;
}

.PartWidgetListPart:last-child
{
    border-bottom-width: 1px;
}

.PartWidgetListPart:hover
{
    background: #F7F4CD;
}

.PartWidgetListPartPartNumber
{
    font-weight: bold;
}

.PartWidgetListPart:hover .PartWidgetListPartPartNumber
{
    color: #C77405;
}

.PartWidgetListPartName
{
    color: #000;
}

/* Site Info */
.SiteNotes
{
    background: #fff;
    color: #000;
    font-weight: normal;
    padding: .5em;
    margin: 0 2em;
    margin-bottom: 1em;
    white-space: pre-wrap;
}

/* Locations */
.SiteListing{
    display: block;
    font-family: Verdana;
    font-size: 11px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    line-height: 22px;
}

.SiteListing:hover{
    color: #000;
}

.SiteListingName{
    padding: 0 1em;;
}

.SiteListing:not(:last-child){
    border-bottom: 0;
}

/* Customer */
.CustomerExceptions{
    page-break-inside: avoid;
    background: #fefefe;
}

/* Graphs */
.ObjectGraphsContainer
{
    margin-bottom: 2em;
}

.ObjectGraphHeader
{
    font-size: 1.5em;
    padding-left: 1em;
}

.ObjectGraphsContainerCopyData
{
    font-size: .7em;
}

.GraphChannelContainer
{
    margin-top: 1em;
    padding: 0 .5em;
}

.GraphChannelHeader
{
    padding: .2em 0;
    padding-left: 1em;
}

.GraphChannel
{
    display: block;
    border: solid 1px #ccc;
    border-top: 0;
}


/* Graphs */

.CustomerGraphScrollbar, .GraphScrollbar{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1em 3em;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: none;
}

.CustomerGraphScrollHandle, .GraphScrollHandle{
    width: 100%;
}

.GraphScrollHandle .ui-slider-handle, .CustomerGraphScrollHandle .ui-slider-handle{
    cursor: w-resize;
}

.CustomerObjectGraph{
    margin-top: 2em;
}

.ObjectGraph
{
    margin-bottom: 2em;
}

.CustomerObjectGraph>.ui-widget-header, .ObjectGraph>.ui-widget-header{
    font-size: 1.6em;
    font-weight: bold;
    padding-left: 1em;
}

.CustomerObjectGraph h4, .ObjectGraph h4{
    margin-top: .5em;
}

.CustomerGraphMeasure, .GraphChannel{
    page-break-inside: avoid;
}

.CustomerGraphMeasure>h4, .CustomerExceptions>h4{
    border-left: 0 !important;
    border-right: 0 !important;
}

.CustomerGraphMeasure>h4, .GraphChannel>h4, .GraphMeasure:hover>h4{ cursor: move; }
.CustomerGraphMeasure>h4:hover, .GraphChannel:hover>h4:hover, .GraphMeasure:hover>h4:hover{
    background: url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") repeat-x 50% top rgb(255, 228, 92); 
    border: 1px solid rgb(254, 210, 47); 
    color: rgb(54, 54, 54);
}

.CustomerGraph, .Graph{
    position: relative;
    background: #fff;
    border: solid 1px #ccc;
    margin: .5em;
    margin-top: .1em;
    height: 11em;
    cursor: default;
    font-weight: normal;
}
.HourlyGraph{
    margin-left: 1em;
    height: 8em;
}

.HourlyGraphDaySpacer{ width: 30px; }

.CustomerGraphContainer, .GraphContainer{
    height: 100%;
    overflow: hidden;
}

.CustomerGraphBarContainer, .GraphBarContainer{
    display: inline-block;
    text-align: center;
    position: relative;
    vertical-align: bottom;
    height: 100%;
}

.HourlyGraph{
    font-size: .8em;
}

.CustomerGraphScroller, .GraphScroller{
    height: 100%;
}

.CustomerGraphBar, .GraphBar{
    border-top: #000 solid 1px;
    border-left: #000 solid 1px;
    border-right: #000 solid 1px;
    margin-right: -1px;
    padding: 0 1px;
    color: #fff;
    background: #4169E1;
    white-space: nowrap;
}
.CustomerGraphBar{
    background: #1C79FC;
}
.HourlyGraph .GraphBar{
    padding: 0;
    width: 16px;
}

*:last-child>.CustomerGraphBar, *:last-child>.GraphBar{
    border-right: #000 solid 1px;
    margin-right: 0;
}

.CustomerGraphDate, .CustomerGraphMonth, .GraphDate, .HourlyGraphDay, .GraphMonth{
    position: absolute;
    bottom: 0;
    left: 0;
    color: #000;
    background: #EDE8CC;
    border-top: #000 solid 1px;
    border-left: #000 solid 1px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 0 1px;
    min-width: 100%;
}

:last-child>.CustomerGraphDate, :last-child>.GraphDate{
    border-right: #000 solid 1px;
}

.CustomerBarHighest{ background: #C90A0A; }
.BarHighest{ background: #C90A0A; }

.CustomerBarHigh{ background: #C9BD0C; color: #000; }
.BarHigh{ background: #C9BD0C; color: #000; }

.CustomerBarNormal, .BarNormal{ background: #669933; }

.CustomerBarNoValue, .BarNoValue{ background: #777; }

.BarOutOfRangeValue{ background: #333; }

.BarInvalidValue{ background: #888; }

.CustomerGraphRangeTop, .CustomerGraphRangeBottom,
.GraphRangeTop, .GraphRangeBottom{
    position: absolute;
    right: 100%;
    padding-right: 2px;
    border: 1px solid #000;
    text-align: right;
    border-color: inherit;
    background: #f6f6f6;
}

.CustomerGraphRangeTop, .GraphRangeTop{ top: -1px; }
.CustomerGraphRangeBottom, .GraphRangeBottom{ bottom: 0; }



.CommentAttribute{ 
    margin-right: 2em;
    display: inline-block; 
    vertical-align: top; 
    border: 1px solid #ccc; 
    padding: .2em; 
    margin: .1em;
    border-radius: .3em;
}
.CommentAttribute a:hover{ text-decoration: underline; }


/* Site Map */
.SiteMapNesting
{
    font-size: .9em;
    padding: .2em 0;
    padding-left: 2em;
    border-left: 1px dashed #666;
    font-weight: normal;
}

.SiteMapNesting:hover
{
    border-left: 1px solid #5C9C1C;
    font-weight: bold;
}

/* Locations */
.locations-table
{
}

.locations-row-primary td
{
    color: #2D4F70;
    font-size: 2em;
    font-weight: bold;
    padding-top: 1em;
}

.locations-row-state td
{
    color: #2D4F70;
    font-size: 1.3em;
    font-weight: bold;
    padding-top: 1em;
}

.locations-row-site td
{
    padding: 0 .5em;
}

.locations-row-site:hover
{
    background-color: #FCF7DE;
}

td.locations-customer
{
    color: #777;
    font-size: .8em;
    font-weight: bold;
    padding-left: 2em;
}

.locations-name
{
    font-size: .9em;
    font-weight: bold;
}

.locations-name a
{
    text-decoration: none;
}

.locations-icon-link
{
    border: 1px solid rgba(0, 0, 0, 0);
    color: #000;
    display: inline-block;
    text-decoration: none;
}

.locations-icon-link:hover
{
    border-color: #E3BE6F;
}

.locations-thumb-down-icon,
.locations-thumb-up-icon,
.locations-no-data-icon
{
    cursor: default;
}

.locations-open-exception-count-icon,
.locations-machine-reading-deadline-icon,
.locations-work-order-icon,
.locations-fsr-pending-icon,
.locations-fsr-rejected-icon,
.locations-no-data-icon,
.locations-thumb-up-icon,
.locations-thumb-down-icon
{
    color: #ccc;
    display: inline-block;
    font-size: 1.5em;
    font-family: Symbola, Segoe UI Symbol;
    margin: 0;
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1em;
    vertical-align: bottom;
}

.locations-thumb-up-icon,
.locations-thumb-down-icon
{
    font-family: Segoe UI Symbol, Symbola;
}

.locations-open-exception-count-icon-light-up,
.locations-machine-reading-deadline-icon-overdue,
.locations-fsr-pending-icon-glow,
.locations-fsr-rejected-icon-glow,
.locations-thumb-down-icon,
.locations-no-data-icon-glow
{
    color: #C91C30;
}

.locations-work-order-icon-has-work-orders
{
    color: #666;
}