@import "_colors.css";
@import "_text.css";
@import "_layout.css";
@import "_layout_header.css";
@import "_layout_sidebar.css";
@import "_layout_content.css";
@import "_layout_env_assembly.css";
@import "_layout_env_details.css";
@import "_tables.css";
@import "_chart_body.css";
@import "_chart_per.css";
@import "_chart_phius_heat_cool.css";
@import "_chart_airtightness.css";
@import "_ph_certification_blocks.css";

/* -------------------------------------------------------------- */
/* -- Basics -- */
body {
  font-family: var(--base-font-family);
  color: var(--color-base-font);
  background-color: var(--color-background);
  font-size: var(--base-font-size);
  font-weight: var(--base-font-weight);
  line-height: var(--base-font-line-height);
}

h1 {
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-top: 0;
}

h2 {
  font-weight: 600;
  font-size: 28px;
  margin-top: 100px;
  border-bottom: 2px dashed var(--color-grey-dark);
  padding-bottom: 10px;
  scroll-margin-top: 100px;
}

h3 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 10px;
}

h4 {
  font-size: 18px;
  margin-top: 45px;
  margin-bottom: 0px;
}

strong{
  font-weight: 600;
}

/* Kind of a workaround to allow 'emphasis' blocks */
.content > h5 {
  font-size: var(--base-font-size);
  font-weight: 500;
  line-height: var(--base-font-line-height);
  color: var(--color-important-font);
  background-color: var(--color-important-background);
  font-style: normal;
}

/* -------------------------------------------------------------- */
/* -- Important / Highlight -- */
.important,
.important a,
.important a:visited {
  color: var(--color-important-font);
  background-color: var(--color-important-background);
}

.important {
  padding: 15px;
}

.important-li {
  color: var(--color-important-font);
}

/* -------------------------------------------------------------- */
/* -- Links -- */
a {
  color: var(--color-grey-dark);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: currentcolor;
  text-decoration-thickness: auto;
}

a:visited {
  color: var(--color-base-font);
  font-weight: var(--base-font-weight);
}

/* -------------------------------------------------------------- */
/* -- HEADER -- */
header {
  background-color: var(--color-background);
  border-bottom: 0.5px solid var(--color-grey-light);
}

.header-left  .title {
  color: var(--color-base-font);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.header-left > .site-logo-active {
  border-bottom: 3px solid var(--color-grey-dark);
}

.header-left .site-date {
  color: var(--color-important-font);
  font-size: var(--small-font-size);
  font-weight: 500;
}


@media only screen and (max-width: 1000px) {
  .header-left > .title {
    font-size: var(--small-font-size) * 0.85;
  }
}

@media only screen and (min-width: 1000px) {
  .header-left > .title {
    font-size: var(--small-font-size);
  }
}

.header-right > .page-link{
  line-height: 60px;
  color: var(--color-base-font);
  text-decoration: none;
  cursor: pointer;
  font-size: var(--nav-link-font-size);
  font-weight: var(--nav-link-font-weight);
}

.header-right > .page-link:hover {
  line-height: 60px;
  border-bottom: 3px solid var(--color-grey-light);
}

.header-right > .page-link-active {
  line-height: 60px;
  color: var(--color-base-font);
  text-decoration: none;
  cursor: pointer;
  font-size: var(--nav-link-font-size);
  font-weight: var(--nav-link-active-font-weight);
  border-bottom: 3px solid var(--color-grey-dark);
}


/* -------------------------------------------------------------- */
/* -- SIDEBAR -- */
.sidebar a {
  color: var(--color-grey-light);
  text-decoration: none;
  border-left: 1px solid transparent;
  font-size: var(--sidebar-font-size);
  font-weight: var(--sidebar-font-weight);
  line-height: 1;
}

.sidebar ul {
  list-style: none;
}

.sidebar a:hover {
  color: var(--color-base-font);
  border-left: 1px var(--color-base-font) solid;
  background: transparent;
}

.sidebar a.sidebar-section-head {
  color: var(--color-grey);
  font-size: calc(var(--sidebar-font-size) * 1.1);
  font-weight: 500;
  background: #f6f6f6;
  text-align: center;
}

.scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #e8e8e8 #f9f9f9;
}

/* -------------------------------------------------------------- */
/* -- FOOTER -- */
.footer {
  border-top: 0.5px solid var(--color-ph-tools-light);
  text-align: center;
  font-size: 13px;
  color: var(--color-grey);
}

/*  */
.button_download {
  background-color: var(--color-important-background);
  border: none;
  color: var(--color-important-font);
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  background-color: var(--color-important-background);
  border: var(--color-important-font) solid 1px;
  border-radius: 4pt;
  color: var(--color-important-font);
  padding: 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

/* -------------------------------------------------------------- */
/* -- Homepage -- */
.view-report-link > a {
  display: flex;
  justify-content: center;
  text-decoration: none;
  margin-top: 1em;
  margin-bottom: 3em;
}