/* Table */
table {
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: teleneo, TeleNeoOffice-ExtraBold, Trebuchet MS, Lucida Grande,
    Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif;
}

/* Table - Headline */
table thead tr th {
	position: sticky;
	position: -webkit-sticky;
	top: 0px;
	z-index: 2;
  /* position: relative; */
  padding-bottom: 1.1875rem;
  padding-right: 20px;
  color: #bfbfbf;
  background-color: #fff;
  font-size: 1.25rem;
  line-height: 1.5rem;
  text-align: right;
  /* text-transform: uppercase; */
}
table thead tr th:first-child {
  padding-left: 1.1875rem;
  text-align: left;
}
table thead tr th:last-child {
  padding-right: 1.1875rem;
}
table thead tr:hover,
table thead tr:hover td:after {
  border-bottom: 0 !important;
}
table tbody tr.last:hover {
  background-color: transparent !important;
}

/* Table - Content */
table tbody tr td {
  position: relative;
  padding-top: 1rem;
  padding-right: 20px;
  padding-bottom: 12px;
  color: #000;
  font-size: 1.25rem;
  line-height: 1.25rem;
  text-align: right;
  border-bottom: 0.0625rem solid #dcdcdc;
}
/* table tbody tr td .value-inner {
  padding-right: 20px;
} */
table tbody tr td.row-marked {
  color: #e82c29;
  font-weight: 700;
}
/* table tbody tr td:after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  padding-top: 1rem;
  border-bottom: 0.0625rem solid #dcdcdc;
  content: "";
} */
table tbody tr td:first-child {
  padding-left: 1.1875rem;
  /* border-bottom: none; */
  font-size: 1.25rem;
  line-height: 1.25rem;
  text-align: left;
}
table tbody tr td:last-child {
  padding-right: 1.1875rem;
}
table tbody tr:hover {
  background-color: #f2f2f2;
}
table tbody tr:hover td:after {
  border-bottom: 0.0625rem solid #e6e6e6;
}

table tbody tr.segment td {
  font-weight: bold;
}
table tbody tr.segment td:first-child {
  font-size: 1.4rem;
}
table tbody .segment ~ tr:not(.segment) td:first-child,
table tbody tr td.level-1 {
  padding-left: 2rem;
}

table tbody tr td.level-2 {
  padding-left: 3rem !important;
}

table tbody tr td.level-3 {
  padding-left: 4rem !important;
}

table tbody tr td.value {
  white-space: nowrap;
}

/* Table - Comment */
table td.comment .value-inner {
  cursor: pointer;
}
table td .comment-icon {
  position: absolute;
  top: 4px;
  right: 0;
  width: 19px;
  height: 19px;
  background: url("../images/comment.png") no-repeat;
}
table td .comment-shown .comment-icon {
  background: url("../images/comment_invert.png") no-repeat;
}
table .comment-hover-active {
  color: #e30076 !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
}

/* Table - Audit */
table td .audit-show {
  cursor: pointer;
  background: url("../images/pwc_check.png") 5px 0 no-repeat;
}
table td .audit-show.audit-shown {
  background: url("../images/pwc_check_active.png") 5px 0 no-repeat;
}

/* Table - Chart Toggles */
form.chartToggle {
  display: flex;
  height: 40px;
  padding: 0;
  margin: 0;
  border-radius: 20px;
  border: 1px solid #cccccc;
}
form.chartToggle label {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  border-right: 1px solid #cccccc;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
}
form.chartToggle label:last-child {
  border-right: 0;
}
form.chartToggle label.switch-table:after {
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
  margin: 0 auto;
  display: block;
  width: 100%;
  height: 18px;
  background: url("../images/switch_table.png") center center no-repeat;
  content: '';
}
form.chartToggle #view-switch-table:checked ~ label.switch-table:after {
  background: url("../images/switch_table_active.png") center center no-repeat;
}
form.chartToggle label.switch-chart:after {
  position: absolute;
  top: 10px;
  right: 0;
  left: 0;
  margin: 0 auto;
  display: block;
  width: 15px;
  height: 18px;
  background: url("../images/switch_chart.png") center center no-repeat;
  content: '';
}
form.chartToggle #view-switch-chart:checked ~ label.switch-chart:after {
  background: url("../images/switch_chart_active.png") center center no-repeat;
}

/* Table - Unit Toggles */
form.unitToggle {
  display: flex;
  height: 40px;
  padding: 0;
  margin: 0;
  margin-right: 10px;
  border-radius: 20px;
  border: 1px solid #cccccc;
}
form.unitToggle label {
  position: relative;
  display: inline-block;
  width: 85px;
  height: 33px;
  padding-top: 7px;
  border-right: 1px solid #cccccc;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}

form.unitToggle input:checked +label {
  color: #e82c29;
  font-weight: bold;
}

form.unitToggle label:last-child {
  border-right: 0;
}
form.unitToggle #subsidiary-unit-switch-mwh:checked ~ label.switch-mwh {
  color: #e30076;
  font-weight: 700;
}
form.unitToggle #subsidiary-unit-switch-joule:checked ~ label.switch-joule {
  color: #e30076;
  font-weight: 700;
}
form.unitToggle #comparision-unit-switch-mwh:checked ~ label.switch-mwh {
  color: #e30076;
  font-weight: 700;
}
form.unitToggle #comparision-unit-switch-joule:checked ~ label.switch-joule {
  color: #e30076;
  font-weight: 700;
}

/* Table Standard */
.standard {
  background: #f5f5f5;
  padding: 11px 17px;
  margin: 10px 0;
  color: #000;
  font-size: 14px;
}
.standard p {
  padding: 0;
  margin: 0;
}
.standard p a {
  color: #e82c29;
  text-decoration: underline;
}
.standard p a:hover {
  text-decoration: none;
}

/* Table Comments */
.table-comments {
  padding: 5px 7px;
  margin: 0 0 10px 0;
  color: #000;
  font-size: 14px;
}
.table-comments .comment-entry {
  padding: 2px 0 2px 0;
}
.table-comments .comment-headline,
.table-comments .comment-headline b {
  font-weight: bold;
}
.table-comments .comment-text {
  padding: 0 0 0 28px;
  margin: 0;
  background: url("../images/comment.png") 0 2px no-repeat;
}
.table-comments .comment-text .comment-info {
  display: table;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dotted #ccc;
}

/* Table Audit */
.table-audit {
  display: flex;
  flex-flow: column;
  padding: 5px 7px;
  margin: 0 0 10px 0;
  color: #000;
  font-size: 14px;
}
.table-audit .audit-entry {
  padding: 2px 0 2px 0;
}
.audit-entry {
  padding: 0;
  margin: 0;
}
.audit-entry b {
  font-weight: bold;
}
.audit-entry .audit-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.audit-entry .audit-list li:first-child {
  padding: 0 0 0 28px;
  background: url("../images/pwc_check.png") 0 2px no-repeat !important;
}
.audit-entry .audit-list li {
  float: left;
  padding: 0 5px 0 0;
  margin-right: 5px;
}

