/* Headlight v2 Platform Styles
//
//  A collection of styles applied globally to all projects built with using
//  the Headlight v2 Platform.
//
//  * Styles global to the ALL Burly-Apps should not be here; they should
//    be placed in app-style.css.
//
//  * Rather than changing these style rules directly, the best practice method is
//    to override them in later stylesheet by increasing the selector specificity.
//
//  * The Web Publisher `web_pub_body_class` config provides a standard method
//    to set a special BODY tag `class` attribute, so project styles may be
//    isolated from elsewhere in the framework, or from third-party tools.
*/

/*
// Modal Window
*/
.bapp .modal-window {
    display: none;
    background: #deddde;
    position: fixed;
    top: 20%;
    left: 50%;
    width: 700px;
    padding: 50px;
    margin-left: -375px;
    z-index: 110000;
    text-align: center;
    font-family: "sans-serif";
}

.bapp .modal-background {
    z-index: 100000;
    background: rgba(0,0,0,0.85);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.ie7 .modal-background,
.ie8 .modal-background {
    background: #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

/*
// Browser Suport Notification
*/
.bapp #browser-notification {
  padding: 2rem;
  background: #fff;
  color: #444;
  font-family: sans-serif;
}
.bapp #browser-notification h1 {
    text-transform: uppercase;
}
.bapp #browser-notification p {
    text-align: left;
}
.bapp #browser-notification .button {
    text-transform: uppercase;
    color: black;
    background-color: #fff;
    font-size: 20px;
    margin-top: 20px;
    display: inline-block;
    width: auto;
    text-decoration: none;
    border: black 2px solid;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* CMS Resource: Web Chart */
.chart-page {
    font-family: "Helvetica Neue",Arial,Helvetica,"Nimbus Sans L",sans-serif;
    margin: 0 1.33em;
}
#chart-instance {
    width: 100%;
}
.chart-page #occ-link {
    text-align: left;
}
.chart-page #occ-link .vidlink {
    margin-left: 1em;
}

/* Chart Tags */
#chart-tags .chart-tag-tooltip.mode-collapsed-view {
    display: none;
}
#chart-tags .chart-tag-tooltip.mode-expanded-view {
    display: block;
}

/* Chart Form */
.chart-page.has-chart-form {
    padding-top: 3.33em;
}
.chart-page.no-chart-form {
    padding-top: 0.66em;
}
#chart-form {
    clear: both;
    box-shadow: 3px 2px 5px #999;
}
#chart-form.mode-edit-view,
#chart-form.mode-summary-view {
    width: 100%;
    overflow: hidden;
    background-color: white;
    text-align: center;
    position: fixed;
    top: 45px;
    left: 0;
    z-index: 999;
}
#chart-form.mode-transition-collapse {
    text-align: center;
    width: 100%;
    height: 5px;
    position: fixed;
    top: 45px;
    left: 0;
    z-index: 999;
}
#chart-form.mode-edit-view {
    padding-bottom: 15px;
}
#chart-form.mode-summary-view #chart-summary {
    padding-bottom: 0.33em;
    cursor: pointer;
}
#chart-form #ajax-indicator {
    float: left;
    margin: 0.66em;
}
#chart-form #summary-list {
    display: inline-block;
    list-style: none;
    color: #666;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    /*width: 95%;*/
}
#chart-form #summary-list li {
    vertical-align: top;
    padding-top: 5px;
    display: inline-block;
    margin-right: 15px;
    padding-right: 15px;
}
#chart-form #summary-list li.icon {
    border-right: 0px;
    padding: 0px;
    margin: 0;
}
#chart-form #summary-list li div {
    display: inline-block;
    vertical-align: top;
}
#chart-form #summary-list li div.summary-title {
    font-weight: bold;
    margin-right: 5px;
}
#chart-form #summary-list li div.summary-value {
    max-width: 300px;
    text-align: left;
}

/* Chart Form - UI elements */
#chart-form #summary-list li.param-ui {
    padding-right: 0px;
    margin-right: 10px;
}
#chart-form #summary-list li.param-ui div.chart-form-text {
    text-transform: uppercase;
}
#chart-form #summary-list li.action-text {
    padding-top: 0;
}
#chart-form #summary-list li.action-text div.chart-form-text {
    background-image: url('/images-app/gear.png');
    background-size: 0.9em;
    font-size: 0.9em;
    background-position: 5px;
    background-repeat: no-repeat;
    padding: 5px 10px 5px 20px;
    border: 1px solid #666;
    border-radius: 3px;
    background-color: #F5F5F5;
}

/* Chart Form - Responsive */
@media (max-width:1350px) {
    #chart-form #summary-list li {
        margin-right: 5px;
        padding-right: 5px;
    }
}
@media (max-width:1250px) {
    #chart-form #summary-list li.action-text div.chart-form-text {
        width: 65px;
        font-size: 0.66em;
        background-size: 1.3em;
        padding: 2px 4px 2px 10px;
    }
}
@media (max-width:1190px) {
    #chart-form #summary-list li.action-text div.chart-form-text {
        width: auto;
        padding: 5px 10px 5px 20px;
        background-position-x: 5px;
        margin-top: 0.66em;
    }
    #chart-form #summary-list li.action-text {
        display: block;
        margin-right: 0;
        padding-right: 0;
    }
}

/* Keyword Inputs */
#chart-form .keyword-param {
	display: inline-block;
	margin: 0.3em;
	text-align: center;
}
#chart-form .keyword-param select {
	max-width: 160px;
}
#chart-form .keyword-param.advfilter {
	display: none;
}
#chart-form .keyword-param .ui-control {
	font-family: FontAwesome;
    position: relative;
    display: inline-block;
    margin: 18px 4px 0;
    cursor: pointer;
    font-size: 12px;
    color: #666;
}
.platform-msie #chart-form .keyword-param .ui-control {
    zoom: 1;
    *display: inline;
}
#chart-form .keyword-param .ui-control .title {
 	font-family:  "Helvetica Neue",Arial,Helvetica,"Nimbus Sans L",sans-serif;
 	font-size: 12px;
 	color: #888888;
 	display: inline-block;
 	margin-left: 3px;
}
.platform-msie #chart-form .keyword-param .ui-control .title {
    zoom: 1;
    *display: inline;
}
#chart-form .keyword-param .ui-control:before {    
    content: "\f152";
}
#chart-form .keyword-param .ui-control.isVisible:before {
	content: "\f150";
}
#chart-form .keyword-param label.checkboxWrap {
	font-size: 12px;
	margin-top: 14px;
	color: #333;
}
#chart-form #summary-list {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
}
#chart-form .keyword-param label {
    color: #888888;
    font-size: 12px;
    display: inline-block;
}
.platform-msie #chart-form .keyword-param label {
	zoom: 1;
	*display: inline;
}
#chart-form .keyword-param {
	text-align: center;
}
#chart-form .keyword-param select {
	max-width: 160px;
}
#chart-form .keyword-param.advfilter {
	display: none;
}

#chart-instance #control-submit {
    background-color: #404040;
    border-radius: 0;
    padding: 10px;
    margin-top: 15px;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
}
#chart-form input[type="submit"] {
	top: 40px;
    margin: 0 auto;
}

#chart-form #control-cancel {
    margin-top: 0.33em;
    font-size: smaller;
    text-decoration: underline;
    cursor: pointer;
}

/* Chart Form - Share Dashboard URL */
#chart-form #share-icon {
    position: absolute;
    top: 5px;
    right: 1%;
    height: 24px;
    width: 24px;
}

#chl-interns-map-page #share-icon {
    position: absolute;
    top: 50px;
    right: 1%;
    height: 24px;
    width: 24px;
}

#chart-share-overlay {
    position: fixed;
    top: 75px;
    right: 1%;
    width: 350px;
    padding: 0.33em;
    background-color: white;
    border: 1px solid gray;
    display: none;
    z-index: 9999;
}

#chart-share-overlay #chart-share-title {
    font-size: 0.7em;
    padding-bottom: 5px;
    color: #555555;
}

#chart-share-overlay #copy-ui {
    cursor: pointer;
    display: inline-block;
    float: right;
}

#chart-share-overlay #url-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 330px;
    font-size: 0.9em;
    border: none;
    display: inline-block;
    color: #555555;
}

@media (max-width: 375px) {
    
    #chart-share-overlay {
        width: 275px;
    }
    #chart-share-overlay #url-text {
        width: 245px;
        font-size: 0.8em;
    }

}

/* Chart Presentation */
.chart-canvas {
    clear: both;
    text-align: center;
}
.chart-plot {
    float: left;
}
/* .plot-preload { } */
/* .plot-postload { } */

.client-demo .chart-plot {
    width: 100%;
}

/* Plot Groups */
.app-h2 .chart-page .chart-canvas .plot-group .group-plots .chart-plot {
    float: none;
}
.app-h2 .chart-page .chart-canvas .plot-group .group-plots {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
}

/* Tooltip Defaults (HighCharts) */
.app-h2 .chart-page .plot-tooltip {
    white-space: nowrap;
    background: #FFF;
    padding: 5px;
    border: 1px solid #000;
    color: #444;
    font-size: 10px;
    z-index: 2000;
}
.app-h2 .chart-page .plot-tooltip h3 {
    margin: 0.3em 0;
}

.chart-page h2 {
    text-align: center;
    font-size: 1.2em;
    color: #555555;
}

div#dashboard-narrative-bottom {
    clear: both;
    text-align: center;
    width: 90%;
    margin: 5px auto;
}

/* Plot Action Menu */
/*
.right-click-menu {
    z-index: 1000;
    position: absolute;
    background-color: #fff;
    border: 1px solid black;
}
.right-click-menu ul,
.right-click-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.right-click-menu a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    padding: 3px 5px;
}
.right-click-menu a:hover {
    background: #ddd;
}
*/

/* HighCharts Customizations */
.ie7 .highcharts-container {
    zoom: 1;
}

/* jQuery UI Adjustments */
.app-h2 #chart-form .ui-widget {
    font-family: "Helvetica Neue",Arial,Helvetica,"Nimbus Sans L",sans-serif;
    overflow: hidden;
}
.app-h2 #chart-form .ui-widget-content {
	background: #fff;
	background-image: none;
}
.app-h2 #chart-form .ui-widget.ui-state-default {
    border-color: #666;
    background-color: #fff;
    background: none;
}
.app-h2 #chart-form .ui-widget.ui-corner-all {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.app-h2 #chart-form button.ui-widget {
    padding: 10px 30px 10px 0;
    position: relative;
    margin: 10px;
}
.app-h2 #chart-form button.ui-widget span {
    margin-left: 20px;
}
.app-h2 #chart-form button.ui-widget span.ui-icon {
    background-image: url("/images-app/select_arrow.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 18px;
    height: 70%;
    background-color: #fff;
    position: absolute;
    padding-right: 5px;
    padding-left: 5px;
    right: 0px;
}
.app-h2 .ui-widget-header {
    border: 1px solid #555555;
    background: #cfcfcf;
}
.app-h2 .ui-widget-header .ui-state-default {
    color: #404040;
}
.app-h2 #chart-form button span {
    color: #555555;
    font-weight: normal;
    white-space: nowrap;
    font-size: 16px;
}
.app-h2 .ui-multiselect-menu {
    background-color: #fff;
    background-image: none;
    border: 2px solid #999;
    border-top: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -moz-box-shadow: 0 0 5px #999;
    -webkit-box-shadow: 0 0 5px #999;
    box-shadow: 0px 0px 5px #999;
    position: fixed;
}
.app-h2 .ui-widget li {
    font-size: 15px;
    font-family: sans-serif;
    color: #999;
    padding: 0;
}
.app-h2 .ui-multiselect-checkboxes {
    overflow-y: scroll;
}
.app-h2 .ui-multiselect-checkboxes label {
    cursor: default;
    display: block;
    border: 1px solid transparent;
    padding: 3px 1px;
}
.app-h2 ul.ui-multiselect-checkboxes {
    background-color: #eaeaea;
}
.app-h2 ul.ui-multiselect-checkboxes li .ui-state-hover {
    background-image: none;
    background-color: #fff;
    border-radius: 0;
    -moz-borer-radius: 0;
    -webkit-border-radius: 0;
    color: #404040;
}
.app-h2 ul.ui-multiselect-checkboxes li .ui-state-active {
    background-image: none;
    border-radius: 0;
    -moz-borer-radius: 0;
    -webkit-border-radius: 0;
    color: #404040;
    font-weight: bold;
    background-color: #eaeaea;
}

/* TABLE-type Plot Defaults (DataTables) */
.app-h2 .chart-page .plot-type-TABLE table.dataTable {
    padding-top: 0.66em;
    width: auto;
}
.app-h2 .chart-page .plot-type-TABLE div.dataTables_length,
.app-h2 .chart-page .plot-type-TABLE div.dataTables_filter,
.app-h2 .chart-page .plot-type-TABLE div.dataTables_info,
.app-h2 .chart-page .plot-type-TABLE div.dataTables_paginate {
    padding-top: 0.33em;
    padding-bottom: 0.33em;
}
.app-h2 .chart-page .plot-type-TABLE table.dataTable thead .sorting {
    background: none;
}
.app-h2 .chart-page .plot-type-TABLE table.dataTable.stripe tr.odd {
    background-color: #efefef;
}
.app-h2 .chart-page .plot-type-TABLE table.dataTable.stripe tr.odd td.sorting_1,
.app-h2 .chart-page .plot-type-TABLE table.dataTable.stripe tr.odd td.sorting_2,
.app-h2 .chart-page .plot-type-TABLE table.dataTable.stripe tr.odd td.sorting_3 {
	background-color: #dedede;
}
.app-h2 .chart-page .plot-type-TABLE table.dataTable.stripe tr.even td.sorting_1,
.app-h2 .chart-page .plot-type-TABLE table.dataTable.stripe tr.even td.sorting_2,
.app-h2 .chart-page .plot-type-TABLE table.dataTable.stripe tr.even td.sorting_3 {
	background-color: #f0f0f2;
}

/* TABLE-type Plot Styling by Column Datatype (DataTables) */
.app-h2 .chart-page .plot-type-TABLE table.dataTable tr td {
    text-align: left;
    white-space: nowrap;
}
.app-h2 .chart-page .plot-type-TABLE table.dataTable tr td[data-type="text"],
.app-h2 .chart-page .plot-type-TABLE table.dataTable tr td[data-type="html"] {
    white-space: initial;
}
.app-h2 .chart-page .plot-type-TABLE table.dataTable tr td[data-type="number"],
.app-h2 .chart-page .plot-type-TABLE table.dataTable tr td[data-type="date"] {
    text-align: right;
    padding-right: 1.66em;
}

/* TABLE-type Plot Row Grouping (DataTables) */
.app-h2 .chart-page .plot-type-TABLE table.dataTable tr.dtrg-group th {
    height: 1.66em;
    background-color: #05357b45;
}

/* TABLE-type Plot Captions */
.app-h2 .chart-page .plot-type-TABLE table.dataTable caption {
    font-size: 17px;
    line-height: 18px;
    font-weight: bold;
    color: rgb(85, 85, 85);
}
.app-h2 .chart-page .plot-type-TABLE table.dataTable caption .plot-subcaption {
    display: block;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0.66em;
}

/* TABLE-type Plot Column Indent */
.app-h2 .chart-page .plot-type-TABLE table tr td div.column-indent {
    display: inline-block;
}
.app-h2 .chart-page .plot-type-TABLE table tr td div.column-indent[data-tabs="1"] {
    text-indent: 1.5em;
}
.app-h2 .chart-page .plot-type-TABLE table tr td div.column-indent[data-tabs="2"] {
    text-indent: 3em;
}
.app-h2 .chart-page .plot-type-TABLE table tr td div.column-indent[data-tabs="3"] {
    text-indent: 4.5em;
}
.app-h2 .chart-page .plot-type-TABLE table tr td div.column-indent[data-tabs="4"] {
    text-indent: 6em;
}
.app-h2 .chart-page .plot-type-TABLE table tr td div.column-indent[data-tabs="5"] {
    text-indent: 7.5em;
}

/* ICON-type Plot Defaults */
.app-h2 .chart-page .plot-type-ICON {
    color: #404040;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
}
.app-h2 .chart-page .chart-plot.plot-type-ICON {
    width: auto;
    flex: 1 0 auto;
    padding: 0px 20px;
}
.app-h2 .chart-page .plot-type-ICON .icon-render {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Icon Indicators */
.app-h2 .chart-page .plot-type-ICON .icon-render.mode-indicator-none .icon-indicator,
.app-h2 .chart-page .plot-type-ICON .icon-render.mode-indicator-left .icon-indicator.indicator-second,
.app-h2 .chart-page .plot-type-ICON .icon-render.mode-indicator-right .icon-indicator.indicator-prime {
    visibility: hidden;
}
.app-h2 .chart-page .plot-type-ICON .icon-render .icon-indicator::before {
    display: inline-block; 
    width: 20px;
} 
.app-h2 .chart-page .plot-type-ICON .icon-render .icon-indicator[class~='UP-MORE']::before {
    content: url(/images-app/indicator-up-stretch.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-render .icon-indicator[class~='UP']::before {
    content: url(/images-app/indicator-up.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-render .icon-indicator[class~='DOWN']::before {
    content: url(/images-app/indicator-down.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-render .icon-indicator[class~='DOWN-MORE']::before {
    content: url(/images-app/indicator-down-stretch.svg);
}
.icon-indicator.indicator-second {
    margin-left: 10px;
}
.icon-indicator.indicator-prime {
    margin-right: 10px;
}


/* Icon Glyphs */
.app-h2 .chart-page .plot-type-ICON .icon-glyph {
    height: 64px;
    width: 64px;
}
.app-h2 .chart-page .plot-type-ICON > div {
    display: inline-block;
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='MONEY'] {
    background-image: url(/images-app/icon-money.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='CARGO'] {
    background-image: url(/images-app/cargo.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='CHART-LOSS'] {
    background-image: url(/images-app/graph-loss.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='CHART-GAIN'] {
    background-image: url(/images-app/graph-gain.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='COGS'] {
    background-image: url(/images-app/cogs.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='GROUP'] {
    background-image: url(/images-app/employees.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='HOUSING'] {
    background-image: url(/images-app/housing.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='INDUSTRY'] {
    background-image: url(/images-app/icon-industry.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='TRANSPORT'] {
    background-image: url(/images-app/icon-transportation.svg);
}
.app-h2 .chart-page .plot-type-ICON .icon-glyph[class~='ROLLER'] {
    background-image: url(/images-app/roller.svg);
}

/* Icon Points/Metrics */
.app-h2 .chart-page .plot-type-ICON .icon-metric .metric-value {
    font-weight: bold;
    font-size: 1.5em;
}

/* Icon Titles/Labels */
.app-h2 .chart-page .plot-type-ICON .icon-titles h3 {
    font-size: 1em;
    line-height: 1.2em;
    font-weight: normal;
    margin: 0;
}

/* "Highlights" Icon Plot Group */
.app-h2 .chart-page #chart-icon-plot #plot-group-highlights.plot-group {
    margin: 40px 15%;
    border: #46a2da 1px solid;
    border-radius: 3px;
}
.app-h2 .chart-page #chart-icon-plot #plot-group-highlights.plot-group header .group-titles h2 {
    text-align: center;
    padding: 5px;
    background-color: #46a2da;
    color: white;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}
.app-h2 .chart-page #chart-icon-plot #plot-group-highlights.plot-group header .group-controls {
    display: none;
}