/* 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 Narrative */
.chart-page #plot-narrative {
    margin-bottom: 1em;
    color: #555555;
    font-size: small;
    display: none;
}

/* 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%;
}

/* Tooltips */
.chart-page .chart-plot .plot-tooltip h3 {
    margin: 0.3em 0;
}
.chart-page .highcharts-tooltip {
    z-index: 1000;
}
.chart-page .hc-tooltip {
    white-space: nowrap;
    background: #FFF;
    padding: 5px;
    border: 1px solid #000;
    color: #444;
    font-size: 10px;
    z-index: 2000;
}
.chart-page .hc-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 MultiSelect Defaults */
.ui-multiselect { padding:2px 0 2px 4px; text-align:left }
.ui-multiselect span.ui-icon { float:right; }
.ui-multiselect-single .ui-multiselect-checkboxes input { position:absolute !important; top: auto !important; left:-9999px; }
.ui-multiselect-single .ui-multiselect-checkboxes label { padding:5px !important }

.ui-multiselect-header { margin-bottom:3px; padding:3px 0 3px 4px }
.ui-multiselect-header ul { font-size:0.9em }
.ui-multiselect-header ul li { float:left; padding:0 10px 0 0 }
.ui-multiselect-header a { text-decoration:none }
.ui-multiselect-header a:hover { text-decoration:underline }
.ui-multiselect-header span.ui-icon { float:left }
.ui-multiselect-header li.ui-multiselect-close { float:right; text-align:right; padding-right:0 }

.ui-multiselect-menu { display:none; padding:3px; position:absolute; z-index:10000; text-align: left }
.ui-multiselect-checkboxes { position:relative /* fixes bug in IE6/7 */; overflow-y:scroll }
.ui-multiselect-checkboxes label { cursor:default; display:block; border:1px solid transparent; padding:3px 1px }
.ui-multiselect-checkboxes label input { position:relative; top:1px }
.ui-multiselect-checkboxes li { clear:both; font-size:0.9em; padding-right:3px }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label { text-align:center; font-weight:bold; border-bottom:1px solid }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a { display:block; padding:3px; margin:1px 0; text-decoration:none }

/* remove label borders in IE6 because IE6 does not support transparency */
* html .ui-multiselect-checkboxes label { border:none }

/* jQuery UI MultiSelect Filter Defaults */
.ui-multiselect-hasfilter ul { position:relative; top:2px }
.ui-multiselect-filter { float:left; margin-right:10px; font-size:11px }
.ui-multiselect-filter input { width:100px; font-size:10px; margin-left:5px; height:15px; padding:2px; border:1px solid #292929; -webkit-appearance:textfield; -webkit-box-sizing:content-box; }

/* 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;
}
.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 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;
}

/* Add margin to bottom of table for ACS */
.app-h2 .chart-page div#chart-acs-dataprofile-table {
    margin-bottom: 40px;
}