/* *** Styles for EM and Num report *** */
@import url("https://fonts.googleapis.com/css?family=Roboto:300,300i,400,500");

.editable:hover {
  text-decoration: underline;
  cursor: pointer;
}

.changed::after {
  content: "*";
  color: #cc5353;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #dfe7ff;
  color: #4f45e4;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

table.dataframe.mytable {
  border-collapse: unset;
  width: 100%;
}

table.dataframe.mytable > thead > tr {
  display: none;
}

table.dataframe.mytable th {
  text-align: left;
  padding-left: 24px !important;
  width: 50%;
}

table.dataframe.mytable td {
  text-align: left;
  width: 50%;
  padding-left: 0px !important;
}

div.frame {
  border: 2px solid black;
}

div.subframe {
  border: 2px solid black;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
}

/* top header menu */
.fixed-header {
  top: -65px;
  transition: top 0.3s;
  background-color: #1e293b;
  /*box-shadow:0px 0px 12px 1px rgba(87, 87, 87, 0.2);*/
  height: 65px;
  width: 100%;
  overflow: hidden;
  position: fixed;
  left: 0;
  z-index: 1;
}

.fixed-header-container {
  height: 100%;
  max-width: 1110px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 54px;
  padding-left: 54px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  align-content: center;
}

.fixed-header-container-left h2 {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 300;
  float: left;
  line-height: 40px;
}

.fixed-header-container-left h2:first-child {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #e9e9e9;
  height: 40px;
}

.fixed-header h2,
.fixed-header h2 b {
  color: white !important;
}

.fixed-header-container-right-em {
  width: 70px;
}

.fixed-header-container-right-num {
  width: 160px;
}

.fixed-header-logo {
  width: inherit;
}

/* for map */
iframe {
  border: 0;
}

/* all font roboto */
h1,
h2,
h3,
h4,
h5,
h6,
p,
i,
th,
tr,
b,
.caption {
  font-family: "Roboto", sans-serif;
  color: #2d2d2d;
}

h1 {
  font-size: 1.8em;
  font-weight: 400;
}

h4,
h5 {
  font-size: 14px;
  font-weight: 300;
  padding-left: 12px;
  padding-right: 12px;
}

body {
  background-color: #eee;
  padding-top: 150px;
  padding-bottom: 100px;
}

.report {
  background-color: white;
  box-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2);
  width: 1110px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 54px;
  padding-right: 54px;
}

.section_title:first-child {
  width: calc(1100px - 12px);
}

/* EMB rendering */
#header-machine {
  height: 218px;
  width: auto;
  position: relative;
  top: -80px;
  left: 49%;
  transform: translateX(-50%);
  margin-bottom: -80px;
}

/* logo */
#header-logo {
  width: auto;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.header-logo-em {
  height: 84px;
}

.header-logo-num {
  height: 280px;
  padding-top: 60px;
}

/* report title */
#header-report {
  margin-top: 24px;
  text-align: center;
  font-weight: 300;
  color: #2d2d2d;
  font-size: 1.5em;
}

/* header container */
.header {
  background-color: #fbfbfb;
  padding-left: 80px;
  padding-right: 80px;
  margin-left: -54px; /* same as report padding */
  margin-right: -54px;
  padding-top: 30px;
  padding-bottom: 45px;
  margin-top: 200px;
  margin-bottom: 35vh;
}

#header-title,
#header-system,
#header-subtitle,
#header-sign {
  text-align: center;
  color: #2d2d2d;
}

#header-title {
  font-weight: 400;
  font-size: 2em;
}

#header-system {
  font-size: 1.1em;
  font-weight: 500;
  margin-top: 25px !important;
}

#header-subtitle {
  font-weight: 300;
  margin-top: 8px;
}

#header-sign {
  font-weight: 300;
  font-style: italic;
}

/* table */
table {
  border-collapse: collapse;
  margin-right: 12px;
  margin-left: 12px;
  margin-bottom: 20px;
  margin-top: 40px;
  border: 0 !important;
  display: table;
  width: calc(100% - 24px);
}

th,
td {
  border: none;
  padding-left: 40px;
  height: 30px;
}

thead,
tr {
  border-bottom: 1px solid #e9e9e9;
}

th:nth-child(1) {
  text-align: left;
  padding-left: 0 !important;
  padding-right: 60px;
}

th {
  font-weight: 500;
  font-size: 14px;
}

td {
  font-weight: 300;
  font-size: 14px;
  text-align: right;
}

tr:hover {
  background-color: #f8f8f8;
}

ul {
  list-style-type: none;
}

/* section title */
.section_title {
  margin-top: 100px;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid #1e293b;
}

.section_title b {
  font-weight: 500;
}

/* figure */
.figure_div {
  border: 1px solid #e9e9e9;
  margin-top: 50px;
}

/* caption */
.caption-section {
  margin-top: 14px;
}

.caption,
.note {
  padding-left: 12px;
  padding-right: 12px;
}

.caption {
  margin-top: 10px;
}

.caption b,
.caption {
  font-weight: 500;
  font-size: 14px !important;
}

.note {
  margin-top: 2px;
}

.note i {
  font-size: 14px !important;
  font-weight: 300;
}

/* COP graphics */
.cop-actual-container:last-child {
  margin-bottom: 80px;
}

/* svg vis */
/* small quickfix to svg (basically making the top graphic section taler). This should eventually be done in the svg. */
#container {
  border-top: 23px solid #f8f8f8;
  margin-top: 50px;
}

/* disclaimer */
.disclaimer {
  background-color: #f8f8f8;
  padding: 55px 54px 60px 54px;
  margin-top: 100px;
  margin-left: -54px;
  margin-right: -54px;
  opacity: 0.8;
}

.disclaimer h2 {
  font-size: 18px;
  margin-left: 12px;
  margin-bottom: 0px !important;
}

.disclaimer h5 {
  margin-top: 8px;
}

/* specific headlines custom styling */
.site_location {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: stretch;
}

.site_location table {
  width: initial;
}

.site_location_map {
  flex-grow: 1;
  margin-left: 12px;
  margin-bottom: 80px;
  margin-top: 30px;
}
