@import {% static "css_local/overwrite.css" %}

input[type=radio] {
    -ms-transform: scale(1); /* IE 9 */
    -webkit-transform: scale(1); /* Chrome, Safari, Opera */
    transform: scale(1);
}

/***********************************/
/*         Charts  overall         */
/***********************************/
.error-div-container
{
    width: 600px;
    height: 300px;
}

.error-div-container .logo
{
    width: 100px;
    height: 100px;
    float: left;
    margin-left: 10px;
}

.error-div-container span
{
    width: 460px;
    height: 100px;
    margin-top: 25px;
    float: right;
    font-size: 12px;
}

.charts-div-container {
    width: 100%vw;
    height: 100%vh;
}

.charts-div,
.chrono-charts-div
{
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0.5px;
}

.chrono-charts-div
{
    width: calc(100% - var(--chrono-sidenav-width));
    left: var(--chrono-sidenav-width);
}

.charts-div-top {
    width: 100%;
    height: 30%;
    max-height: 30%;
    border-bottom: 4px solid var(--color-gray-light);
}

.charts-div-bottom
{
    width: 100%;
    height: calc(100% - var(--topNavbarHeight));
}

.charts-div-bottom-tab-content
{
    width: 100%;
    height: 100%;
    display: inline-block;
    padding:0;
}

.charts-div-top-left {
    height: 100%;
    float: left;
    border-right: 4px solid var(--color-gray-light);
    width: 85%;
}

.charts-div-top-right {
    width: 15%;
    margin:0px;
    height: 100%;
    float: right;
    display: inline-block;
}

.charts-div-top-right-left {
    height: 100%;
    float: left;
    border-right: 4px solid var(--color-gray-light);
}

.charts-div-top-right-right {
    width: 60%;
    height: 100%;
    float: right;
}


.charts-div-status {
    width: 20%;
    float: left;
    height: 100%;
    overflow: hidden;
}

.charts-div-right {
    width: 80%;
    float: right;
    height: 100%;
    border-left: 4px solid lightgray;
}

.charts-div-kpi {
    width: 35%;
    float: left;
    height: 100%;
}

.charts-canvas-kpi {
    width: 100%;
    height: 100%;
}

.charts-canvas-kpi-detail-left,
.charts-canvas-kpi-detail-right {
    width: 50%;
    height: 95%;
    position: relative;
    float: right;
    border: inset;
    border-right: none;
}

.charts-canvas-kpi-detail-left
{
    float: left;
    border-left: none;
}

.charts-div-right-right {
    width: 65%;
    float: right;
    height: 100%;
    border-left: 4px solid lightgray;
}

.charts-div-trend {
    width: 100%;
    height: 50%;
    border-bottom: 4px solid lightgray;
}

.charts-div-trend-half-left,
.charts-div-trend-half {
    width: 50%;
    height: 100%;
}

.charts-div-trend-half-left
{
    float: left;
    border-right: 4px solid lightgray;
}

/***********************************/
/*         Charts  Gantt         */
/***********************************/
.charts-button-bar{
  position:relative;
  z-index: 2;
  border-bottom: 1px solid var(--color-gray);
  background-color: var(--portfolioTreeBackColor);
  height: var(--toolbarButtonSize);
  vertical-align: middle;
}

.ganttButtonSeparator {
    vertical-align: middle;
    margin-left: 2px;
    padding-right: 6px;
    font-size: 100%;
    color: red;
    border-left:1px solid var(--color-gray-light);
    margin:0 5px;
    font-size: 130%;
    vertical-align: middle;
}

.charts-toolbar-button {
  background-color: transparent;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  padding-left: 10px;
  text-align: center;
  border: none;
  color: var(--color-white);
  opacity: var(--overallOpacity);
  font-size: 20px;
  vertical-align: middle;
  height: 100%;
}

.charts-button-bar .glyphicon-log-out
{
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}

.charts-toolbar-button span
{
    vertical-align: middle;
    opacity: 1;
    font-size: 20px;
}

.charts-toolbar-button:hover{
    opacity: 1;
}


.toolbar-checkbox {
    top: 0;
    width: 14px;
    height: 14px;
    background: lightgray;
    position: relative;
    margin-bottom: 0;
    opacity: var(--overallOpacity);
    white-space:nowrap;
}

.toolbar-checkbox label {
    cursor: pointer;
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: white;
    font-size: 16px;
}

.toolbar-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--color-gray);
}

/* On mouse-over, add a grey background color */
.toolbar-checkbox:hover input ~ .checkmark {
    background-color: var(--color-red-light);
    opacity: 1;
}

/* When the checkbox is checked, add a blue background */
.toolbar-checkbox input:checked ~ .checkmark {
    background-color: var(--color-red);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.toolbar-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.toolbar-checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 10px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/***********************************/
/*    Project Charts  Tab View     */
/***********************************/
/* Fix for google chart tooltip flickering*/
svg > g:last-child > g:last-child { pointer-events: none }
div.google-visualization-tooltip { pointer-events: none }

.chart-distribution-milestone-diamond
{
    background-color: var(--color-red-dark) !important;
    position: absolute;
    z-index: 2;
}

.chart-distribution-milestone-vertical-line
{
    background-color: var(--color-green-dark) !important;
    position: absolute;
    z-index: 0;
}

.chart-distribution-milestone-horizontal-line
{
    background-color: blue !important;
    position: absolute;
    z-index: 0;
}

.chart-distribution-detail-div
{
    overflow: auto;
    width: 100%vw;
    height: 100%vh;
}

.chart-distribution-page-header
{
  border-bottom: 1px solid var(--color-gray);
  background-color: var(--color-blue);
  vertical-align: middle;
  color: var(--color-white);
  text-align: center;
  font-size: var(--font-size-small);
  font-weight: normal;
  height: var(--chrono-container-header-height);
  min-height: var(--chrono-container-header-height);
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  white-space:nowrap;
}

.chart-distribution-page-header p
{
    padding: 4px;
    vertical-align: middle;
    margin: 0;
    font-size: var(--font-size-small);
}

.chart-distribution-page-top
{
    width: 100%;
    height: 70%;
}

.chart-container
{
    width: 100%;
    height: calc(80% - var(--license-height) - var(--chrono-container-header-height));
    min-height: calc(80% - var(--license-height) - var(--chrono-container-header-height));
}

.google-visualization-table-tooltip-with-border
{
    border: 2px solid var(--color-gray-dark);
    font-weight: normal;
}

.chart-distribution-page-chart .overlap_annotation
{
    font-name: var(--font-family);
    border: 2px solid var(--color-red);
    position: absolute;
    z-index: 1;
    text-align: center;
    padding: 0  !important;
    margin: 0  !important;
    line-height: 1em !important;
    cursor: context-menu;
}
.chart-distribution-page-footer
{
    width: 25%;
    min-width: 25%;
    height: 100%;
    margin-top: 2%;
    margin-right: 2%;
    float: right;
    display: inline-block;
}

.chart-distribution-page-footer-right
{
    width: 40%;
    margin-left: 44%;
}

.chart-distribution-page-footer-right  .google-visualization-table-table
{
    border: 1px solid var(--color-black);
    font-weight: bold;
}

.chart-distribution-page-footer-right .google-visualization-table-table .chart-distribution-tooltip-cell ~ td
{
    font-weight: bold;
}

.chart-distribution-page-footer-right .google-visualization-table-table .google-visualization-table-tr-even ~ tr
{
    /* #outline: 0.5px solid; */
    border: 0.5px solid var(--color-black);
}

.chart-distribution-page-footer-left
{
    width: 100%;
    height: auto;
    font-weight: normal;
    margin-left: 0;
}

.chart-distribution-page-footer-left .google-visualization-table-table
{
    border: 2px solid var(--color-gray-dark);
}

.chart-distribution-page-footer-right-top
{
    width: 100%;
    height: 35%;
}

.chart-distribution-page-footer-tooltip
{
    max-width: 100%;
    width: 100%;
    height: 50%;
    margin-left: 44%;
    margin-top: 3%;
    margin-left: 0;
    font-weight: normal;
}


.chart-distribution-tooltip
{
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
}

.chart-distribution-page-footer-tooltip .google-visualization-table-table tr th:last-child,
.chart-distribution-page-footer-tooltip .google-visualization-table-table tr td:last-child,
.chart-distribution-tooltip .google-visualization-table-table tr th:last-child,
.chart-distribution-tooltip .google-visualization-table-table tr td:last-child,
.chart-distribution-page-footer-left .google-visualization-table-table tr th:last-child,
.chart-distribution-page-footer-left .google-visualization-table-table tr td:last-child
{
    width: 90%;
    text-align: center;
}

.chart-distribution-tooltip-title
{
    font-size: 12px;
    font-weight: bold;
}

.chart-status-header,
.chart-trend-tooltip-header,
.chart-distribution-tooltip-header
{
    font-weight: normal !important;
    background-color: lightgray;
    word-wrap: nowrap;
    overflow: hidden;
}

.chart-status-cell-blank,
.chart-distribution-tooltip-cell
{
    border: solid;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    font-size: var(--font-size-small);
}

.chart-status-table
{
    overflow: hidden;
    cursor: pointer;
}

.chart-status-table tr
{
    cursor: pointer;
}

.chart-status-cell-blank
{
    width: 100%;
    height: 15px !important;
}

.chart-status-div-detailed
{
    width: 100%;
    overflow: auto;
    margin-bottom: 25px;
    font-size: 14px;
    max-height: 100%;
    height: 25%;
    overflow: auto;
    border-bottom: 0.5px inset var(--color-gray);
}

.chart-status-div-detailed-risk
{
    height: auto !important;
}

.chart-status-div-detailed table
{
    width: 100%;
}

.chart-status-div-detailed tr:hover td:not(:last-child)
{
    background-color: var(--color-beige);
    cursor: pointer;
}

.chart-status-div-detailed tr:hover td:not(:last-child) *
{
    background-color: var(--color-beige);
}

.chart-status-div-detailed .google-visualization-table-table tr th:last-child,
.chart-status-div-detailed .google-visualization-table-table tr td:last-child
{
    color: var(--color-black);
    width: 20px;
    text-align: center;
    font-weight: bold;
}

.chart-status-div-detailed .google-visualization-table-table .table_edit_toolbar span
{
    width: 100%;
    height: inherit;
    float:left;
    /* margin-left: 2px; */
    text-align: center;
    border: 1px outset var(--color-black);
    padding: 2px;
    margin-left: 2px;
    background-color: var(--color-gray);
}

.chart-status-div-detailed .google-visualization-table-table th,
.chart-status-div-detailed .google-visualization-table-table td
{
    font-size: 15px;
    border: 0.5px solid var(--color-black);
    color: var(--color-black);
}

.chart-status-div-detailed .google-visualization-table-table td *
{
    width: 100%;
    border: none;
}

.chart-status-div-detailed .google-visualization-table-table tr
{
    height: 5px;
}

.google-visualization-table-table .chart-status-div-detailed-description
{
    font-size: 12px;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    table-layout:fixed;
    overflow: hidden;
    width: 20%;
    word-wrap:break-word;
}

.google-visualization-table-table  .chart-status-div-detailed-normal
{
    font-size: 12px;
    text-align: left;
    vertical-align: top;
    overflow: hidden;
    width: 3%;
    word-wrap:nowrap;
    table-layout:fixed;
}

.google-visualization-table-table  .chart-status-div-detailed-edit
{
    font-size: 12px;
    text-align: left;
    vertical-align: top;
    overflow: hidden;
    width: 1%;
    word-wrap:nowrap;
    table-layout:fixed;
}

.chart-status-div-detailed-edit *:hover
{
    font-size: 14px;
}

.google-visualization-table-table .chart-status-div-detailed-date
{
    font-size: 12px;
    text-align: left;
    vertical-align: top;
    table-layout:fixed;
    overflow: hidden;
    width: 5%;
    word-wrap:nowrap;
}

.google-visualization-table-table  .chart-status-div-detailed-small
{
    font-size: 12px;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    table-layout:fixed;
    overflow: hidden;
    width: 1%;
    word-wrap:break-word;
}

.chart-status-div-header
{
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    background-color: var(--color-gray);
    border: outset;
    border-color: var(--color-gray);
}

.chart-status-div-top
{
    width: 100%;
    height: 30%;
}

.chart-risk-chart-div-detailed
{
    width: 40%;
    border: none;
    position: fixed;
    bottom: 10px;
    height: 420px;
}
.chart-risk-chart-div-detailed table
{
    margin-left: 50px;
    table-layout: fixed;
    width: 400px;
    height: 100%;
    bottom: 0;
}


.chart-risk-chart-div-legends,
.chart-risk-chart-div-legends-bottom,
.chart-risk-chart-div-detailed-header-vertical,
.chart-risk-chart-div-detailed-header,
.chart-risk-matrix-cell
{
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    border: 1px solid black;
    vertical-align: middle;
    height: 60px;
    width: 60px;
    word-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chart-risk-chart-div-detailed-header
{
    font-size: 20px;
    border: none;
}

.chart-risk-chart-div-detailed-header-vertical
{
    margin-top: 2px;
    text-align: center;
    max-width: 30px;
    vertical-align: middle;
    width: 20px;
    font-weight: bold;
    table-layout: fixed;
    border: none;
}

.chart-risk-chart-div-detailed-header-vertical div
{
  position: relative;
  top: 90%;
  left: 10%;
   -webkit-transform: rotate(-90deg);
   -moz-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   -o-transform: rotate(-90deg);
   transform: rotate(-90deg);
}

.chart-risk-chart-div-legends,
.chart-risk-chart-div-legends-bottom
{
    max-width: 30px;
    height: 30px;
}

.chart-risk-chart-div-legends-bottom
{
    border: none;
}

.chart-risk-chart-orange
{
    background-color: var(--color-orange);
    color: var(--color-white-tinted) !important;
}

.chart-risk-chart-yellow
{
    background-color: var(--color-yellow);
    color: var(--color-black) !important;
}

.chart-risk-chart-red
{
    background-color: var(--color-red);
    color: var(--color-white-tinted) !important;
}

.chart-distribution-tooltip-beige-background {
    background-color: beige;
    width: 100%;
}

.chart-kpi-status-detail-div,
.chart-distribution-detail-div,
.chart-trend-detail-div
{
    width: 70%;
    float: left;
    position: relative;
    height: calc(100% - var(--toolbarButtonSize));
    font-size: 19px;
}

.chart-extra
{
    width: 30%;
    float: right;
    margin-top: 10px;
    height: calc(100% - var(--toolbarButtonSize));
}

.chart-trend-tooltip-header
{
    font-size: 13px;
}

.chart-trend-tooltip-row
{
    font-size: 13px;
    font-weight: bold;
    word-wrap: nowrap;
    background-color: beige;
}


.chart-extra div {
    margin-bottom: 10px;
}

.chart-timeline-annotation
{
    -webkit-transform: rotate(60deg); /* Safari & Chrome */
    -moz-transform: rotate(60deg); /* Firefox */
    -ms-transform: rotate(60deg); /* Internet Explorer */
    -o-transform: rotate(60deg); /* Opera */
    transform: rotate(60deg); /* W3C */
    z-index: 100;
}

/***********************************/
/*    Project  KPI Status          */
/***********************************/
.charts-div .chart-kpi-status-save-button
{
     background-color: var(--color-white);
     color: var(--color-blue-dark);
     margin-left: 10px;
     text-align: center;
     opacity: var(--overallOpacity);
     font-weight: bold;
     font-size: 13px;
     vertical-align: middle;
}

.chart-kpi-status-detail-div
{
    margin-left: 0px;
    width: 88%;
    font-size: 1.2em;
    float: left;
}


.chart-kpi-status-trend-Info-div
{
    position: relative;
    overflow: hidden;
    height: 100%;
}

.chart-kpi-status-trend-Info-div td
{
    background-color: var(--color-blue-light);
    font-size: 13px;
    font-weight: bold;
}

.chart-kpi-status-trend-Info-div-th
{
    background-color: var(--color-blue-dark);
    color: var(--color-white);
    text-align: center;
}

.chart-kpi-status-trend-Info-div .glyphicon
{
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    background-image: none;
    color: var(--color-white);
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font-size: 18px;
}

.chart-kpi-status-trend-Info-div .glyphicon-resize-horizontal
{
    font-size: 24px;
}

.chart-status-kpi-trend-table
{
    width: 100%;
    height: 100%;
    overflow: auto;
    border: 1px solid var(--color-black);
}

.chart-status-kpi-trend-table tr:hover td:first-child
{
    background-color: var(--color-gray-dark);
}

.chart-status-kpi-trend-table td:last-child
{
    width: 100%;
    font-weight: normal;
}

.chart-status-kpi-trend-table tr th:last-child
{
    font-size: 18px;
}

.chart-status-kpi-trend-table th:nth-child(1)
{
    /* background-color: transparent; */
}

.chart-status-kpi-header,
.chart-status-kpi-header-vertical
{
   background-color: var(--kpi-status-header-background);
   border: 1px solid var(--kpi-status-header-border-color);
   border-top: none;
   color: var(--kpi-status-header-color);
   text-align:center;
   padding-left: 3px;
   padding-right: 3px;
   min-width: 5%;
   width: 5%;
   max-width: 5%;
   /* white-space:nowrap; */
   font-size: 13px;
   font-weight: bold;
}

.chart-status-kpi-header-vertical
{
   text-align:center;
   white-space:nowrap;
   g-origin:50% 50%;
   -webkit-transform: rotate(-90deg);
   -moz-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   -o-transform: rotate(-90deg);
   transform: rotate(-90deg);
   border: none;
   position: relative;
   font-size: 12px;
   background-color: transparent;
   display:inline-block;
   padding-top: 5px;
   padding-bottom: 5px;
}


.chart-status-kpi-column,
.chart-status-kpi-column-highlight,
.chart-status-kpi-column-not-editable
{
    text-align:  left;
    font-size: 15px;
    font-weight: bold;
    color: var(--color-black);
    padding-left: 5px;
    padding-right: 5px;
    height: auto;
    white-space:nowrap;
    max-height: 77px;
    display:table-cell;
    border: 1px solid var(--color-black);
}

.chart-status-kpi-column-highlight
{
    font-size: 15px;
    font-weight: bold;
    color: var(--kpi-status-highlight-color);
    background-color: var(--kpi-status-highlight-background);
}

.chart-status-kpi-column-highlight-row
{
    border-bottom:3px solid var(--color-black);
}

.chart-status-kpi-column-not-editable
{
    background-color: var(--kpi-status-edit-disable-background);
    font-weight: bold;
}


.chart-status-kpi-column-trend,
.chart-status-kpi-column-trend-highlight,
.chart-status-kpi-column-trend-not-editable
{
   cursor: pointer;
   border: 0.5px solid var(--color-black);
   background-color: transparent;
   text-align: center;
   color: var(--kpi-status-header-color);
   font-weight: bold;
}

.chart-status-kpi-column-trend-highlight
{
    background-color: var(--kpi-status-highlight-background);
    text-align: center;
    font-weight: bold;
    font-size: 19px;
    border: 1px outset var(--color-black);
}

.chart-status-kpi-column-trend-not-editable
{
    background-color: var(--kpi-status-edit-disable-background);
    text-align: center;
    font-weight: bold;
}

.chart-status-kpi-column-not-editable *,
.chart-status-kpi-column-not-editable button:hover,
.chart-status-kpi-column-not-editable button:focus,
.chart-status-kpi-column-not-editable button:active,
.chart-status-kpi-column-trend-highlight *,
.chart-status-kpi-column-trend-highlight button:hover,
.chart-status-kpi-column-trend-highlight button:focus,
.chart-status-kpi-column-trend-highlight button:active
{
   color: var(--color-white) !important;
}

.chart-status-kpi-trend-div,
.chart-status-kpi-rate-div
{
    width: 100%;
    height: 100%;
    position: relative;
    display: inline-block;
    background-color: Transparent;
    font-weight: bold;
    cursor: pointer;
}

.chart-status-kpi-rate-button
{
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    width: 100%;
    color: var(--color-black);
    text-align: center;
    height: 100%;
    font-size: 15px;
    height: 100%;
}

.chart-status-kpi-rate-button:active, .chart-status-kpi-rate-button:focus, .chart-status-kpi-rate-button:hover
{
    border: none !important;
    outline: none !important;
    box-shadow: none;
}

.chart-status-kpi-green,
.chart-status-kpi-red,
.chart-status-kpi-yellow
{
    text-align: center;
    font-weight: bold;
    border: 0.5px solid var(--color-black);
    color: var(--color-black);
    background-color: transparent;
}

.chart-status-kpi-rate-div .chart-status-kpi-green,
.chart-status-kpi-rate-div .chart-status-kpi-red,
.chart-status-kpi-rate-div .chart-status-kpi-yellow,
.chart-status-kpi-rate-dropdown-div .chart-status-kpi-green,
.chart-status-kpi-rate-dropdown-div .chart-status-kpi-red,
.chart-status-kpi-rate-dropdown-div .chart-status-kpi-yellow
{
    border: none;
}

.chart-status-kpi-cell-changed
{
    border: 2px double var(--color-black);
}

.chart-status-kpi-green
{
    color: var(--color-white-tinted);
    background-color: var(--color-green);
}

.chart-status-kpi-yellow
{
    background-color: var(--color-yellow);
}

.chart-status-kpi-red
{
    color: var(--color-white-tinted);
    background-color: var(--color-red);
}

.chart-status-kpi-rate-dropdown-ul .chart-status-kpi-green,
.chart-status-kpi-rate-dropdown-ul .chart-status-kpi-red,
.chart-status-kpi-rate-dropdown-ul .chart-status-kpi-yellow
{
    background-repeat:no-repeat;
    cursor:pointer;
    background-image: none;
    cursor:pointer;
    color: var(--color-green);
    width: 20px;
    margin-left: 4px;
    margin-right: 4px;
    height: 20px;
}



.chart-status-kpi-trend
{

    background-color: transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    font-size: 15px;
    width: 100%;
    height: 100%;
    color: var(--color-white);
    text-shadow: -1px 0 black, 0 2px black, 1px 0 black, 0 -1px black;
    text-align: center;
}

.chart-status-kpi-trend-table .glyphicon-resize-horizontal
{
    font-size: 20px;
}

.chart-status-kpi-rate-dropdown-click:hover .chart-status-kpi-rate-dropdown-ul,
.chart-status-kpi-trend-dropdown-click:hover .chart-status-kpi-trend-dropdown
{
    top: 60% !important;
    left: 0;
    border: solid;
    display: block;
    -webkit-appearance: none;
}

.chart-status-kpi-trend:active, .chart-status-kpi-trend:focus, .chart-status-kpi-trend:hover
{
    color: var(--color-black) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none;
}

.chart-status-kpi-trend-specific
{
    font-size: 24px;
}

.chart-status-kpi-rate-dropdown-ul,
.chart-status-kpi-trend-dropdown
{
    display: none;
    position: absolute;
    min-width: 80px;
    overflow-x: auto;
    overflow-y: hidden;
}

.chart-status-kpi-trend-dropdown
{
    background-color: var(--color-blue-light);
}

.chart-status-kpi-rate-dropdown-ul li,
.chart-status-kpi-trend-dropdown li
{
  color: black;
  padding: 2px 0;
  text-decoration: none;
  display: inline-block;
}

.chart-status-kpi-trend-dropdown .glyphicon
{
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    background-image: none;
    color: var(--color-white);
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    width: 15px;
    margin-left: 4px;
    margin-right: 4px;
    font-size: 18px;
}

.chart-status-kpi-trend-dropdown .glyphicon-resize-horizontal
{
    font-size: 24px;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.chart-status-kpi-empty
{
}

.chart-status-kpi-trend-dropdown-click,
.chart-status-kpi-col-click,
.chart-status-kpi-rate-dropdown-click
{
    cursor: pointer;
}

.chart-status-kpi-item-edit *:hover
{
    font-size: 17px;
}


.chart-status-table-edit-input
{
    background-color: var(--color-white);
    border: 3px inset var(--color-blue);
    font-size: 14px;
}

.chart-distribution-page-chart,
.chart-tornado-page-chart,
.chart-merge-page-chart
{
    width: 70%;
    height: 100%;
    min-height: 100%;
    margin-left: 2%;
    float: left;
}

.chart-tornado-page-chart
{
    width: 70%;
    border-collapse: separate;
    border-spacing: 10px;
    margin-left: 4%;
}

.chart-distribution-page-chart
{
    width: 70%;
}

.chart-tornado-view-option
{
    max-width: 18%;
    height: 100%;
    margin-top: 2%;
    margin-right: 2%;
    display: inline-block;
    float: right;
}

.chart-es-view-option
{
    width: 18%;
    max-width: 18%;
    height: 70%;
    margin-top: 2%;
    margin-right: 2%;
    display: inline-block;
    float: right;
}

.chart-es-view-option > form,
.chart-tornado-view-option > form
{
    width: 100%;
    float: right;
}

.chart-es-view-option p,
.chart-tornado-view-option p
{
    border: 1px solid var(--color-gray-dark);
    background-color: var(--color-blue-dark);
    color: var(--color-white);
    font-weight: normal;
    width: 100%;
    margin-bottom: 0;
    padding: 2px;
    font-size: var(--font-size-small);
}

.chart-es-view-option li,
.chart-tornado-view-option  li
{
    border: 1px solid var(--color-gray-light);
    background-color: var(--color-blue-light);
    color: var(--color-black);
    padding: 8px;
    display: block;
}

.chart-es-view-option label,
.chart-es-view-option input,
.chart-tornado-view-option  label,
.chart-tornado-view-option  input
{
    font-weight: normal !important;
    padding-left: 2px;
}

.chart-tornado-view-option  input[type=radio]
{
}

.chart-es-view-option ul,
.chart-tornado-view-option ul
{
  list-style-type: none;
  padding: 0;
}

.chart-tornado-view-tooltip
{
    font-size: calc(var(--font-size-small) - 1px);
    min-width: 500px;
}

.chart-tornado-view-tooltip  th,
.chart-tornado-view-tooltip  td
{
    background-color: var(--color-gray-light);
    border: 0.5px solid var(--color-gray-dark);
    padding: 2px 4px 3px 4px;
}

.chart-tornado-view-tooltip  td
{
    background-color: var(--color-beige);
}

.chart-merge-page-chart
{
    width: 70%;
}

.chart-merge-page-chart-legend,
.chart-tornado-page-chart-legend
{
    position:absolute;
    width: 20%;
    height: 100%;
    margin-top: 1%;
    margin-right: 2%;
    left: 78%;
}

/* trick to remove bars border when clicked*/
.chart-merge-page-chart svg g g g g rect {
    stroke-width:0px;
}

/*ES Charts*/
.chart-es-page-chart
{
    width: 95%;
    height: 100%;
    border-collapse: separate;
    border-spacing: 10px;
    margin-left: 4%;
    table-layout: fixed;
}

.chart-es-page-chart  tr
{
    width: 100%;
}

.chart-es-page-chart-td-1,
.chart-es-page-chart-td-3
{
    width: 50%;
    height: 100%;
    margin: 0;
    background-color: transparent;
    border-right: 1px solid var(--color-gray);
}

.chart-es-page-chart-td-4,
.chart-es-page-chart-td-5,
.chart-es-page-chart-td-6
{
    width: 50%;
    height: 100%;
    margin: 0;
    background-color: transparent;
}

.chart-es-page-chart-td-5
{
    width: 75%;
    margin-left: 4%;
}

.chart-es-page-chart-td-6
{
    max-width: 35%;
    height: 100%;
    margin-top: 2%;
    display: inline-block;
}

.chart-es-page-chart-td-6 .chart-es-page-chart-legend
{
    width: 100%;
    height: 20%;
    margin-left: 4%;
    margin-top: 65%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 10px;
    white-space: nowrap;
}

.chart-es-page-chart-td-6 .chart-es-page-chart-legend th,
.chart-merge-page-chart-legend .chart-es-page-chart-legend th,
.chart-tornado-page-chart-legend .chart-es-page-chart-legend th
{
    font-weight: normal;
}

.chart-es-page-chart-td-6 .chart-es-page-chart-legend tr td:first-child,
.chart-merge-page-chart-legend .chart-es-page-chart-legend tr td:first-child
{
    width: 10%;
}

.chart-merge-page-chart-legend .chart-es-page-chart-legend,
.chart-tornado-page-chart-legend .chart-es-page-chart-legend
{
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 10px;
}

.chart-merge-page-chart-legend .chart-es-page-chart-legend tr,
.chart-tornado-page-chart-legend .chart-es-page-chart-legend tr
{
    height: 20px;
}

.chart-merge-page-chart-legend .chart-es-page-chart-legend tr:first-child td:first-child
{
    width: 10%;
    background-color: var(--color-green-dark);
}

.chart-merge-page-chart-legend .chart-es-page-chart-legend tr:nth-child(2) td:first-child
{
    width: 10%;
    background-color: var(--color-purple);
}

.chart-tornado-page-chart-legend .chart-es-page-chart-legend tr:first-child td:first-child
{
    width: 10%;
    background-color: var(--color-red);
}

.chart-tornado-page-chart-legend .chart-es-page-chart-legend tr:nth-child(2) td:first-child
{
    width: 10%;
    background-color: var(--color-yellow-dark);
}

.chart-tornado-page-chart-legend .chart-es-page-chart-legend tr:nth-child(3) td:first-child
{
    width: 10%;
    background-color: var(--color-green-dark);
}

.chart-es-page-chart-td-2
{
    width: 50%;
    height: 100%;
    margin: 0;
    background-color: transparent;
}


.chart-es-page-chart-area-error,
.chart-es-page-chart-area
{
    width: 100%;
    height: 50%;
    margin: 0;
    z-index: 100;
}

.chart-es-page-chart-td-1 .chart-es-page-chart-area,
.chart-es-page-chart-td-2 .chart-es-page-chart-area,
.chart-es-page-chart-td-3 .chart-es-page-chart-area,
.chart-es-page-chart-td-4 .chart-es-page-chart-area,
.chart-es-page-chart-td-5 .chart-es-page-chart-area
{
   height: 50%;
}

.chart-es-page-chart-area-full-height
{
    height: 60%;
    margin-top: 5%;
}

.chart-es-page-chart-area-full-width
{
    width: 100% !important;
}

.chart-es-page-chart-area-small
{
    height: 0;
    width: 0;
}

.chart-es-page-chart-area-no-error,
.chart-es-page-chart-area-error
{
    width: 100%;
    height: 100%;
}


.chart-es-page-chart-info
{
    width: 70%;
    height: 47%;
    background: transparent;
    display: block-inline;
    z-index: 1;
}
.chart-es-page-chart-info-table
{
    height: 100%;
    table-layout: fixed;
    white-space: wrap;
    display: table;
    text-align: center;
    background: transparent;
    padding:0;
    font-size: calc(var(--font-size-small) - 1px);
}

.chart-es-page-chart-info-table td:first-child
{
    width: 13%;
    font-size: calc(var(--font-size-small) - 2px);
}

.chart-es-page-chart-info-table tr:first-child td:first-child,
.chart-es-page-chart-info-table tr:last-child td:first-child,
.chart-es-page-chart-info-table tr:last-child td:last-child
{
    border: none;
}

.chart-es-page-chart-info-table tr:last-child td:last-child
{
    padding-top: 2%;
    font-size: var(--font-size-small);
    height: 3%;
}


.chart-es-page-chart-info-table td
{
    display:table-cell;
    vertical-align:middle;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1.5px solid var(--color-black);
    border-color: var(--color-black);
    border-style:solid;
    border-width:1.5px;

}

.chart-es-page-chart-info-table tr:first-child
{
    height: 2%;
    font-size: calc(var(--font-size-small) - 2px);
}

.chart-es-page-chart-info-table td > div
{
    width: 100%;
    height: 100%;
}

.chart-es-vs-view-tooltip
{
    font-size: var(--font-size-small);
    min-width: 300px;
}

.chart-vertical-tab
{
    position: absolute;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 52px;
    -webkit-transform-origin: 0 0;
       -moz-transform-origin: 0 0;
         -o-transform-origin: 0 0;
            transform-origin: 0 0;
    -webkit-transform: rotate(-90deg) translate(-488px, 0px);
       -moz-transform: rotate(-90deg) translate(-488px, 0px);
         -o-transform: rotate(-90deg) translate(-488px, 0px);
            transform: rotate(-90deg) translate(-488px, 0px);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
#tab li {
    float: left;
    width: 120px;
    height: 50px;
    border: 1px solid #000;
}
#tab li a {
    display: block;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    background-color: #ddd;
}
#tab li a:hover {
    background-color: #bbb;
}

