/* =========================================================================================== */
/* #                                                                                         # */
/* #   BASF AR 2014 ChartGenerator                                                           # */
/* #                                                                                         # */
/* =========================================================================================== */
@font-face {
  font-family: "Helvetica Neue LT W06 55 Roman";
  src:url("../font/e0f8f15a-c0f6-4ddb-a86e-d0b3dd600c25.eot?#iefix"); /* fucking old IE */
  src:url("../font/e0f8f15a-c0f6-4ddb-a86e-d0b3dd600c25.eot?#iefix") format("embedded-opentype"),
      url("../font/990dea59-fcdd-461d-863d-3517e48e8ed0.woff") format("woff"),
      url("../font/faf94d73-68f4-48a2-970f-f57530c211c9.ttf") format("truetype"),
      url("../font/e4bb531b-d9fc-405e-88c3-1b34c22a8c50.svg#e4bb531b-d9fc-405e-88c3-1b34c22a8c50") format("svg");
  font-weight: normal;
  font-style: normal;
}
/* Helvetica Neue Bold */
@font-face {
  font-family: "Helvetica Neue LT W06 75 Bold";
  src: url("../font/57deecaf-8d98-4879-a2c3-fd4e39763792.eot?#iefix"); /* fucking old IE */
  src: url("../font/57deecaf-8d98-4879-a2c3-fd4e39763792.eot?#iefix") format("embedded-opentype"),
       url("../font/cb4a0bc9-8ebf-49d0-8141-f678590cdd7a.woff") format("woff"),
       url("../font/dc5e824b-32f0-4eaf-96da-edc62194996b.ttf") format("truetype"),
       url("../font/b171a7aa-9403-4e4c-aef3-f4ad65c836ba.svg#b171a7aa-9403-4e4c-aef3-f4ad65c836ba") format("svg");
  font-weight: bold;
  font-style: normal;
}
#chartGenerator,
.cg-html-tooltip {
  font-family: "Helvetica Neue LT W06 55 Roman", sans-serif;
}
/* ======== main containers ======== */
#chartGenerator {
  position: relative;
  width: 1140px;
  height: 750px;
}
#cgControls {
  position: absolute;
  top: 0;
  left: 0;
  width: 1140px;
  height: 785px;
  background-color: #FFFFFF;
}
#cgPlotArea {
  position: absolute;
  top: 51px;
  left: 0;
  width: 750px;
  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;
}

/* ======= 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: #FFFFFF;
  text-decoration: none;
  display: block;
  font-family: "Helvetica Neue LT W06 55 Roman";
  font-size: 18px;
  font-weight: normal;
  height: 32px;
  padding: 17px 16px 0;
}
#cgFlyout1, #cgFlyout2 {
  position: absolute;
  top: 50px;
  left: -1px;
  overflow: hidden;
  z-index: 123;
  width: 100%;
  background-color: #FFFFFF;
  /*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: #7C7C7C;
  padding: 8px 20px 7px 0;
  border-top: 1px solid #E5E5E5;
  display: block;
  font-size: 16px;
}
ul.cg-selection li.first a {
  /* border-top: 1px solid transparent; */
}
ul.cg-selection li.group.last {
  border-bottom: 1px solid #E5E5E5;
}
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 a {
  text-decoration: none;
  color: #B5B5B5; /* inactive */
  padding: 3px 2px 8px 30px;
  display: block;
  border: none;
  font-size: 14px;
}
ul.cg-selection li.selected a {
  color: #7C7C7C;
}
ul.cg-selection a:hover {
  color: #333333;
}
ul.cg-selection-controls {
  display: none;
}
/* ======= accordion figures ======= */
#cgSelectFigures {
  position: absolute;
  top: 91px;
  left: 780px;
  width: 360px;
  height: 50px;
}
#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.png") no-repeat scroll 0 2px #FFFFFF;
}
#cgSelectFigures li.opened ul.cg-sub-selection li.selected a {
  background: url("../cg/img/box_checkbox-active.png") no-repeat scroll 0 2px #FFFFFF;
}
#cgSelectFigures li a.cg-group-title {
  background: url("../cg/img/box_keyfigure_group.png") no-repeat scroll 100% 11px #FFFFFF;
}
#cgSelectFigures li.opened a.cg-group-title {
  background: url("../cg/img/box_keyfigure_group-active.png") no-repeat scroll 100% 11px #FFFFFF;
}
#cgSelectFigures li.opened a.cg-group-title {
  color: #000000;
}
#cgSelectFigures li.opened ul.cg-sub-selection li a {
  color: #B5B5B5;
}
#cgSelectFigures li.opened ul.cg-sub-selection li.selected a {
  color: #333333;
}
#cgSelectFigures li.opened ul.cg-sub-selection li a:hover {
  color: #7C7C7C;
}
/* ======== accordion years ======== */
#cgSelectYears {
  position: absolute;
  top: 675px;
  left: 0;
  width: 750px;
  height: 30px;
  z-index: 123;
  /*border-top: solid 2px #878787; */
  /*border-bottom: solid 2px #878787; */
}
#cgSelectYears h2.cg-selection-title a {
  font-size: 16px;
  color: #333333;
  padding: 6px 0 4px 15px;
  height: 18px;
  background-color: #F0F0F0;
  /* display: none; hide selection title (always open, no header) */
}
#cgSelectYears h2.cg-selection-title a:hover {
  /* color: #333333; */
  cursor: default;
}
#cgFlyout2 {
  background-color: #F0F0F0;
  position: absolute;
  top: 28px;
  left: 0;
  height: 35px;
}
#cgFlyout2 ul.cg-selection li {
  float: left;
  width: 73px;
}
#cgFlyout2 ul.cg-selection li.first {
  padding-left: 15px;
}
#cgFlyout2 ul.cg-selection a {
  font-size: 13px;
  padding: 8px 0 5px 23px;
  color: #7C7C7C;
}
#cgFlyout2 ul.cg-selection a:hover {
  color: #333333;
}
#cgFlyout2 ul.cg-selection li a {
  background: url("../cg/img/box_checkbox_small.png") no-repeat scroll 0 8px #F0F0F0;
}
#cgFlyout2 ul.cg-selection li.selected a {
  background: url("../cg/img/box_checkbox_small-active.png") no-repeat scroll 0 8px #F0F0F0;
}
#cgSelectYears ul.cg-selection li { /* unused years */
  display: none;
}
#cgSelectYears ul.cg-selection li.available {
  display: block;
}

/* ====== index/swap general ======= */
#cgIndexToggle a.cg-control,
#cgAxisSwap a.cg-control {
  color: #7C7C7C;
  font-size: 12px;
  text-decoration: none;
  padding: 3px 5px;
  background-color: #E9E9E9;
  display: inline-block;
}
#cgIndexToggle a.cg-control:hover,
#cgAxisSwap a.cg-control:hover {
  color: #333333;
}
/* ======== indexing button ======== */
#cgIndexToggle {
  position: absolute;
  top: 751px;
  left: 0;
  width: 110px;
}
#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: 751px;
  left: 110px;
  width: 180px;
}

/* ========== 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;
}
#cgTypeSwitches ul li a {
  color: #7C7C7C;
  background-color: #F0F0F0;
  text-decoration: none;
  font-size: 15px;
  padding: 14px 0 12px 44px;
  width: 80px;
  height: 21px;
  display: inline-block;
}
#cgTypeSwitches ul li a:hover {
  color: #333333;
}
#cgTypeSwitches ul li a.active,
#cgTypeSwitches ul li a.active:hover {
  color: #004A96;
  text-decoration: none;
}
#cgSwitch2bar {
  background: url("../cg/img/navi_vertbar.png") no-repeat scroll 13px 13px #F0F0F0;
}
#cgSwitch2bar:hover {
  background: url("../cg/img/navi_vertbar-hover.png") no-repeat scroll 13px 13px #F0F0F0;
}
#cgSwitch2bar.active, #cgSwitch2bar.active:hover {
  background: url("../cg/img/navi_vertbar-active.png") no-repeat scroll 13px 13px #F0F0F0;
}
#cgSwitch2line {
  background: url("../cg/img/navi_line.png") no-repeat scroll 9px 13px #F0F0F0;
}
#cgSwitch2line:hover {
  background: url("../cg/img/navi_line-hover.png") no-repeat scroll 9px 13px #F0F0F0;
}
#cgSwitch2line.active, #cgSwitch2line.active:hover {
  background: url("../cg/img/navi_line-active.png") no-repeat scroll 9px 13px #F0F0F0;
}
#cgSwitch2table {
  background: url("../cg/img/navi_table.png") no-repeat scroll 13px 13px #F0F0F0;
}
#cgSwitch2table:hover {
  background: url("../cg/img/navi_table-hover.png") no-repeat scroll 13px 13px #F0F0F0;
}
#cgSwitch2table.active, #cgSwitch2table.active:hover {
  background: url("../cg/img/navi_table-active.png") no-repeat scroll 13px 13px #F0F0F0;
}

/* ============= export ============ */
#cgExportButtons {
  position: absolute;
  top: 85px;
  right: 0;
}
#cgExportButtons ul.cg-export-buttons li {
  float: left;
  margin: 0 0 0 20px;
}
#cgExportButtons a.cg-export-button {
  padding: 5px 0 2px 27px;
  margin: 0 1px 0 15px;
  color: #7C7C7C;
  font-size: 12px;
  text-decoration: none;
}
#cgExportButtons a.cg-export-button:hover {
  color: #333333;
}
#cgExport_print {
  background: url("../cg/img/output_print.png") no-repeat scroll 0 1px #FFFFFF;
}
#cgExport_print:hover {
  background: url("../cg/img/output_print-hover.png") no-repeat scroll 0 1px #FFFFFF;
}
/*
#cgExport_png {
  background: url("../cg/img/output_png.png") no-repeat scroll 0 0 #FFFFFF;
}
#cgExport_png:hover {
  background: url("../cg/img/output_png-hover.png") no-repeat scroll 0 0 #FFFFFF;
}
*/
#cgExport_xls {
  background: url("../cg/img/output_xls.png") no-repeat scroll 3px 0 #FFFFFF;
}
#cgExport_xls:hover {
  background: url("../cg/img/output_xls-hover.png") no-repeat scroll 3px 0 #FFFFFF;
}

/* ============= table ============= */
#cgPlotArea h2 {
  width: auto;
  display: inline-block;
  font-size: 24px;
  font-weight: normal;
  line-height: 30px;
  padding: 21px 0 38px 1px;
  margin: 0;
  color: #424242;
  background-color: transparent;
  text-shadow: none;
  cursor: auto;
}
#cgPlotArea table {
  border-collapse: collapse;
  border-spacing: 0;
  color: #333333;
  width: 100%;
  border: none;
  border-top: 0 solid #7C7C7C;
  border-right: 2px solid #DEDEDE;
  font-size: 14px;
  line-height: 25px;
}
#cgPlotArea table thead td {
  font-family: "Helvetica Neue LT W06 75 Bold";
}
#cgPlotArea table thead .main-column {
  font-weight: bold;
}
#cgPlotArea table tr td {
  -moz-transition: background-color 0.3s ease-in-out; /* Firefox */
  -webkit-transition: background-color 0.3s ease-in-out; /* Safari and Chrome */
  transition: background-color 0.3s ease-in-out;
}
#cgPlotArea table tr.odd td.main-column {
  background-color: #9BD4EB;
}
#cgPlotArea table tr.odd:hover td {
  background-color: #9BD4EB;
}
#cgPlotArea table tr.even td.main-column {
  background-color: #C5E3F5;
}
#cgPlotArea table tr.even:hover td {
  background-color: #C5E3F5;
}
#cgPlotArea h2,
#cgPlotArea table span {
  cursor: default;
}
#cgPlotArea table thead td {
  border-left: none;
  border-right: none;
  border-top: 2px solid #7C7C7C;
  border-bottom: 1px solid #7C7C7C;
  padding: 7px 4px;
  font-size: 13px;
  font-weight: bold;
}
#cgPlotArea table thead td.main-column {
  background-color: #C5E3F5;
}
#cgPlotArea table tbody td {
  padding: 13px 4px;
  vertical-align: bottom;
}
#cgPlotArea table tbody td.first {
  min-width: 123px;
  border-right: 12px solid #FFFFFF;
}
.align-right {
  text-align: right;
  min-width: 47px;
  padding: 0;
}
.even {
  background-color: #FFFFFF;
}
.odd {
  background-color: #F0F0F0;
}
/* 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",
*/
