/* =========================================================================================== */
/* #                                                                                         # */
/* #   Helsana ChartGenerator                                                                # */
/* #                                                                                         # */
/* =========================================================================================== */
@font-face{
  font-family:"akk";
  src: url("../font/akklg.woff") format("woff");
  font-weight: 300;
}

@font-face{
  font-family:"akk";
  src: url("../font/akkrg.woff") format("woff");
  font-weight: 400;
}

@font-face{
  font-family:"akk";
  src: url("../font/akkbd.woff") format("woff");
  font-weight: 700;
}

#chartGenerator,
.cg-html-tooltip {
  font-family: "akk";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ======== main containers ======== */

body {
  /* margin: 0; */
}


#chartGenerator {
  position: relative;
  top: 0;
  left: 0;
  width: 820px;
  height: 800px;
}
#chartGenerator:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 235px;
  width: 20px;
  height: 1px;
  z-index: 999;
  background: #F5F5F5;
}

#cgControls {
  position: absolute;
  top: 0;
  left: 0;
  width: 820px;
  height: 100%;
  background-color: #F5F5F5;
}
#cgPlotArea {
  position: absolute;
  top: 101px;
  left: 0;
  width: 573px;
  line-height: 20px;
}
#cgControls sub,
#cgControls sup {
  font-size: 0.7em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
#cgControls sup {
  top: -0.5em;
}
#cgControls sub {
  bottom: -0.25em;
}
#cgPlotArea sup {
  position: static;
  vertical-align: super;
}
#cgPlotArea sub {
  position: static;
  vertical-align: sub;
}
div#cgNoData {
  padding-top: 85px;
}

.highcharts-title {
  display: none!important;
}

/* ======= accordion general ======= */
h2.cg-selection-title {
  padding: 0;
  margin: 0;
  border: none;
  text-decoration: none;
  background-color: transparent;
  text-shadow: none;
  font-size: 13px;
  width: 100%;
}
h2.cg-selection-title a {
  color: #565a5b;
  background-color: #F5F5F5;
  text-decoration: none;
  display: block;
  font-size: 18px;
  font-weight: normal !important;
  height: 32px;
  padding: 17px 16px 0;
}
#cgFlyout1, #cgFlyout2 {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 123;
  width: 100%;
  background-color: #F5F5F5;
  /*border: 1px solid #E5E5E5;*/
}
#cgFlyout1 {
  border-top: none;
}
#cgFlyout2.closed {
  /*height: 0;*/
}
ul.cg-selection,
ul.cg-sub-selection,
ul.cg-export-buttons {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.cg-selection a {
  text-decoration: none;
  color: #9A0841;
  padding: 9px 21px 10px 0;
  border-top: 1px solid #ddd;
  display: block;
  font-size: 12px;
  letter-spacing: 0.4px;
  line-height: 18px;
  font-weight: normal;
}
ul.cg-selection li.first a {
  /* border-top: 1px solid transparent; */
}
ul.cg-selection li.group.last {
  border-bottom: 1px solid #ddd;
}
ul.cg-selection li.last .cg-sub-selection li.last {
  border-bottom: 1px solid transparent;
}
#cgFlyout2 ul.cg-selection a {
  border: none;
}
ul.cg-sub-selection {
  margin-bottom: 24px;
}
ul.cg-sub-selection a {
  text-decoration: none;
  color: #C5C6C6; /* inactive */
  padding: 3px 2px 6px 26px;
  display: block;
  border: none;
  font-size: 12px;
  font-weight: 700;
}
ul.cg-selection a:hover,
ul.cg-selection li.selected a {
  color: #9A0841;
}

#cgFlyout1 ul.cg-selection-controls {
  display: none;
}
/* ======= accordion figures ======= */
#cgSelectFigures {
  position: absolute;
  top: 0px;
  right: 0;
  width: 235px;
  height: 0;
}
#cgSelectFigures h2.cg-selection-title {
  display: none; /* hide selection title (always open, no header) */
}
#cgSelectFigures li.closed ul {
  display: none;
}
#cgSelectFigures li.opened ul.cg-sub-selection li a {
  background: url("../cg/img/box_checkbox.svg") no-repeat scroll 0 2px;
}
#cgSelectFigures li.opened ul.cg-sub-selection li.selected a {
  background: url("../cg/img/box_checkbox-active.svg") no-repeat scroll 0 4px;
}
#cgSelectFigures li a.cg-group-title {
  background: url("../cg/img/box_keyfigure_group.svg") no-repeat scroll 100% 48%;
}
#cgSelectFigures li.opened a.cg-group-title {
  background-image: url("../cg/img/box_keyfigure_group-active.svg");
}
#cgSelectFigures li.opened a.cg-group-title {
  color: #9A0841;
}
#cgSelectFigures li.opened ul.cg-sub-selection li a {
  color: #C5C6C6;
}
#cgSelectFigures li.opened ul.cg-sub-selection li.selected a {
  color: #9A0841;
  font-weight: 700;
}
#cgSelectFigures li.opened ul.cg-sub-selection li a:hover {
  color: #9A0841;
}
/* ======== accordion years ======== */
#cgSelectYears {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 573px;
  height: 65px;
  z-index: 123;
  border-top: solid 1px #ddd;
  border-bottom: solid 1px #ddd;
  padding: 7px 0 0;
  box-sizing: border-box;
}
#cgSelectYears h2.cg-selection-title a {
  font-size: 12px;
  padding: 0;
  height: 18px;
  color: #C5C6C6;
  line-height: 18px;
}
#cgSelectYears h2.cg-selection-title a:hover {
  /* color: #333333; */
  cursor: default;
}
#cgFlyout2 {
  position: absolute;
  top: 24px;
  left: 0;
  height: 30px;
  overflow: visible;
}
#cgFlyout2 ul.cg-selection li {
  float: left;
  width: 70px;
}

#cgFlyout2 ul.cg-selection a {
  font-size: 13px;
  padding: 8px 0 5px 23px;
  font-size: 14px;
  color: #C5C6C6;
  letter-spacing: 0.35px;
  line-height: 18px;
}
#cgFlyout2 ul.cg-selection a:hover {
  color: #9A0841;
}
#cgFlyout2 ul.cg-selection li a {
  background: url("../cg/img/box_checkbox.svg") no-repeat scroll 0 8px;
  background-size: 16px 16px;
}
#cgFlyout2 ul.cg-selection li.selected a {
  background: url("../cg/img/box_checkbox-active.svg") no-repeat scroll 0 8px;
  background-size: 16px 16px;
  color: #9A0841;
  font-weight: bold;
}
#cgSelectYears ul.cg-selection li { /* unused years */
  display: none;
}
#cgSelectYears ul.cg-selection li.available {
  display: block;
}



#cgFlyout2 ul.cg-selection-controls {
  position: absolute;
  top: -20px;
  right: 0;
  margin: 0;
  list-style: none;
}

#cgFlyout2 ul.cg-selection-controls li {
  display: inline-block;
}

ul.cg-selection-controls li a {
  padding: 0 10px;
  color: #C5C6C6;
  text-decoration: none;
  font-size: 12px;
}
ul.cg-selection-controls li a:hover {
  color: #9A0841;
}

/* ====== index/swap general ======= */
#cgIndexToggle a.cg-control,
#cgAxisSwap a.cg-control {
  position: relative;
  text-decoration: none;
  padding: 8px 13px 8px 13px;
  display: inline-block;
  font-size: 12px;
  color: #C5C6C6;
  letter-spacing: 0.35px;
  line-height: 14px;
  border: 1px solid #C5C6C6;
  border-radius: 3px;
}
#cgIndexToggle a.cg-control:after,
#cgAxisSwap a.cg-control:after {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  right: 13px;
  width: 6px;
  height: 10px;
  background-size: 100% auto;
}

#cgIndexToggle a.cg-control:hover,
#cgAxisSwap a.cg-control:hover {
  color: #9A0841;
  border-color: #9A0841;
}
#cgIndexToggle a.cg-control:hover:after,
#cgAxisSwap a.cg-control:hover:after {
}

/* ======== indexing button ======== */
#cgIndexToggle {
  position: absolute;
  top: 63px;
  left: 0;
}
#cgIndexToggle.cg-view-normal #cgIndexedView,
#cgIndexToggle.cg-view-indexed #cgNormalView {
  display: inline-block;
}
#cgIndexToggle.cg-view-indexed #cgIndexedView,
#cgIndexToggle.cg-view-normal #cgNormalView {
  display: none;
}
/* ========== swap button ========== */
#cgAxisSwap {
  position: absolute;
  top: 63px;
  left: 145px;
  width: 205px;
}

/* ========== type switch ========== */
#cgTypeSwitches {
  position: absolute;
  top: 0;
  left: 0;
}
#cgTypeSwitches ul {
  margin: 0;
  padding: 0;
  height: 33px;
  list-style: none;
}
#cgTypeSwitches ul li {
  float: left;
  margin: 0 30px 0 0;
}
#cgTypeSwitches ul li a {
  text-decoration: none;
  padding-top: 10px;
  display: inline-block;
  font-size: 12px;
  color: #C5C6C6;
  letter-spacing: 0.35px;
  line-height: 18px;
}
#cgTypeSwitches ul li a:hover {
  color: #9A0841;
}
#cgTypeSwitches ul li a.active,
#cgTypeSwitches ul li a.active:hover {
  color: #9A0841;
  font-weight: 700;
  text-decoration: none;
  /* border-color: #000; */
}
#cgSwitch2bar {
  background: url("../cg/img/navi_vertbar.svg") no-repeat scroll 0 13px;
  padding-left: 17px;
}
#cgSwitch2bar:hover {
  background-image: url("../cg/img/navi_vertbar-active.svg");
}
#cgSwitch2bar.active, #cgSwitch2bar.active:hover {
  background: url("../cg/img/navi_vertbar-active.svg") no-repeat scroll 0 13px;
}
#cgSwitch2line {
  background: url("../cg/img/navi_line.svg") no-repeat scroll 0 13px;
  padding-left: 22px;
}
#cgSwitch2line:hover {
  background-image: url("../cg/img/navi_line-active.svg");
}
#cgSwitch2line.active, #cgSwitch2line.active:hover {
  background: url("../cg/img/navi_line-active.svg") no-repeat scroll 0 13px;
}
#cgSwitch2table {
  background: url("../cg/img/navi_table.svg") no-repeat scroll 0 14px;
  padding-left:22px;
}
#cgSwitch2table:hover {
  background-image: url("../cg/img/navi_table-active.svg");
}
#cgSwitch2table.active, #cgSwitch2table.active:hover {
  background: url("../cg/img/navi_table-active.svg") no-repeat scroll 0 13px;
}

/* ============= export ============ */
#cgExportButtons {
  position: absolute;
  top: 0;
  right: 253px;
}

#cgExportButtons ul.cg-export-buttons:after {
  content: '';
  display: block;
  clear: both;
}

#cgExportButtons ul.cg-export-buttons li {
  float: left;
  margin: 0 0 0 25px;
}
#cgExportButtons a.cg-export-button {
  display: block;
  padding: 11px 0 12px 22px;
  color: #C5C6C6;
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.35px;

}
#cgExportButtons a.cg-export-button:hover {
  color: #9A0841;
}
#cgExport_print {
  background: url("../cg/img/output_print.svg") no-repeat scroll 0 50%;
}
#cgExport_print:hover {
  background: url("../cg/img/output_print-hover.svg") no-repeat scroll 0 50%;
}

#cgExport_png {
  background: url("../cg/img/output_png.svg") no-repeat scroll 2px 12px;
}
#cgExport_png:hover {
  background-image: url("../cg/img/output_png-hover.svg");
}

#cgExport_xls {
  background: url("../cg/img/output_xls.svg") no-repeat scroll 0 50%;
}
#cgExport_xls:hover {
  background-image: url("../cg/img/output_xls-hover.svg");
}

/* ============= table ============= */



#cgPlotArea .table-wrapper {
  max-width: 705px;
  max-height: 570px;
  overflow: auto;
  display: block;
}

#cgPlotArea table {
  border-collapse: collapse;
  border-spacing: 0;
  color: #000000;
  width: 100%;
  font-size: 14px;
  line-height: 15px;
  margin-top: 25px;
}

#cgPlotArea table thead,
#cgPlotArea table tbody td:not(.first) {
  color: #7587AF;
}

#cgPlotArea table thead .main-column {
  font-weight: bold;
  color: #000;
}

#cgPlotArea table tr td.main-column {
  color: #000;
}

#cgPlotArea h2 {
  margin: 0;
}

#cgPlotArea h2,
#cgPlotArea table span {
  cursor: default;
}


#cgPlotArea table thead td {
  border-left: 5px solid #F5F5F5;
  border-right: none;
  position: relative;
  padding: 7px 6px;
}

#cgPlotArea table thead td:first-of-type {
  border-left: none;
}

#cgPlotArea table thead td:after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #7587AF;
}

#cgPlotArea table tbody tr.first td {
  padding-top: 40px;


}

/* #cgPlotArea table tbody tr.first td:before {
  content: "";
  width: 100%;
  height: 40px;
  position: absolute;
  top: 90px;
  left: 0;
  background-color: #f00;
} */
#cgPlotArea table .cg-data {
  white-space: nowrap;
}

#cgPlotArea table tbody td {
  padding: 13px 6px;
  vertical-align: bottom;
  border-bottom: 1px solid #7587AF;
  border-right: 5px solid #F5F5F5;
}
#cgPlotArea table tbody td:last-of-type {
  border-right: none
}

#cgPlotArea table tbody tr:hover td{
  background-color: #7587b0;
  color: #fff;
}


#cgPlotArea table tbody td.first {
  min-width: 123px;
}
.align-right {
  text-align: right;
  min-width: 47px;
  padding: 0;
}

/* footnotes */
@media screen {
  #cgPlotArea h2 .screen,
  #cgPlotArea table .screen {
    display: inline-block;
  }
  #cgPlotArea h2 .print,
  #cgPlotArea table .print {
    display: none;
  }
  #cgPlotArea .footer {
    display: none;
  }
}
@media print {
  #cgPlotArea {
    border: none;
  }
  #cgPlotArea h2 .screen,
  #cgPlotArea table .screen {
    display: none;
  }
  #cgPlotArea h2 .print,
  #cgPlotArea table .print {
    display: inline-block;
    padding: 0 0 0.3em;
    font-size: 0.7em;
    line-height: 1.0em;
  }
  #cgPlotArea .footer {
    border-top: 1px solid #d7d7d7;
    display: block;
  }
  #cgPlotArea .footer dt {
    float: left;
    width: 25px;
  }
  #cgPlotArea .footer dd {
    margin-left: 30px;
  }
}

/* media query to detect touch devices (CG tests for element.offsetTop === 7) */
@media (touch-enabled),(-moz-touch-enabled),(-ms-touch-enabled),(-webkit-touch-enabled),(-o-touch-enabled){
  #cgTestTouch {
    position: absolute;
    top: 7px;
    width: 10px;
    height: 10px;
  }
}

/* ============= tooltip ============= */
.highcharts-html-tooltip {
  display: inline-block;
  background-color: #f7f7f7;  /* S.tooltip_background */
  border: solid 1px #d6d6d6;  /* S.tooltip_border_size  S.tooltip_border_color */
  font-size: 12px;            /* S.tooltip_font_size */
  font-weight: normal;        /* S.tooltip_font_bold (0=normal, 1=bold) */
  color: #000000;             /* S.tooltip_font_color */
  padding: 6px 6px;           /* S.tooltip_padding_vert S.tooltip_padding_hor */
  border-radius: 0;
  box-shadow: none;
  min-width: 166px;
  max-width: 265px;
  white-space: normal;
}
/*
  "tooltip_background": "#DDDDDD",
  "tooltip_border_color": "#dd7f7f",
  "tooltip_border_size": "1",
  "tooltip_font_bold": "0",
  "tooltip_font_color": "#000000",
  "tooltip_font_size": "11",
  "tooltip_maxwidth": "150",
  "tooltip_padding_hor": "2",
  "tooltip_padding_vert": "2",
  */

  #cgAdditionalLine-3 {
    display: none;
  }

  @media screen and (max-width:1024px){
    #chartGenerator {
      width: 100%;
      height: 1550px;
    }

    #cgControls {
      width: 100%;
      height: 1550px;
    }

    #cgSelectFigures {
      width: 100%;
      left: 0;
      top: 820px;
    }

    #cgPlotArea {
      width: 100% !important;
      overflow-x: scroll;
    }

    #cgSelectYears {
      width: 100%;
    }

    .cg-additional-line {
      width: 100%!important;
    }

    #cgExportButtons {
      right: 15px;
    }

  }

  @media screen and (max-width: 768px) {
   


    #cgAdditionalLine-3 {
      display: block;
    }

    /* #cgExportButtons {
      left: 0;
      top: 53px;
    } */

    #cgExportButtons ul.cg-export-buttons li:first-of-type {
      margin-left: 0;
    }

    /* #cgIndexToggle {
      top: 113px;
    } */

    #cgAxisSwap {
      top: 113px;
    }

    /* #cgPlotArea {
      top: 150px;
    } */

    #cgTypeSwitches ul li {
      margin-right: 15px;
    }

    #cgSelectYears {
      top: 725px;
    }

    #cgSelectFigures {
      top: 835px;
    }
  }

  @media screen and (max-width: 730px) {
    #cgSelectYears {
      height: 90px;
    }

    #cgSelectFigures {
      top: 870px;
    }
  }


  @media screen and (max-width: 500px) {
    #cgExportButtons {
      right: auto;
      left: 0;
      top: 27px;
    }

    #cgIndexToggle {
      top: 68px;
    }
  }

  .highcharts-grid + .highcharts-grid {
    display: none;
  }
