﻿/* Customer specific CSS */
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

:root {
    --font-primary: "Roboto Slab", sans-serif;
    --color-primary: #0A5640;
    --color-primary-dark: #8bba34;
    --color-primary-medium: #1B355D;
    --color-primary-light: #F8F6F4;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Libre Franklin", san-serif;
}

.page-xs .logo {
    height: 100%;
}

/* -- Döljer filter nät/handel under Mina Avtal -- */
.page-contracts li.dropdown:nth-child(3), .page-contracts #selectSubtypeHeading,
.page-contracts li.dropdown:nth-child(2), .page-contracts #selectSubtypeHeading {
    display: none;
}


/* 1) Dölj första och tredje kolumnen i body */
.page-contracts table.dataTable tbody td:nth-child(1),
.page-contracts table.dataTable tbody td:nth-child(3),
.page-mysites table.dataTable tbody td:nth-child(5) {
  display: none !important;
}

/* 2) Dölj header-kolumnen (vanlig header-tabell) */
.page-contracts table.dataTable thead th:nth-child(1),
.page-contracts table.dataTable thead th:nth-child(1) *,
.page-contracts table.dataTable thead th:nth-child(3),
.page-contracts table.dataTable thead th:nth-child(3) *,
.page-mysites table.dataTable thead th:nth-child(5),
.page-mysites table.dataTable thead th:nth-child(5) * {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* 3) Dölj header-kolumnen i SCROLL-head (separerad head-tabell) */
.page-contracts .dataTables_scrollHead table thead th:nth-child(1),
.page-contracts .dataTables_scrollHead table thead th:nth-child(1) *,
.page-contracts .dataTables_scrollHead table thead th:nth-child(3),
.page-contracts .dataTables_scrollHead table thead th:nth-child(3) *,
.page-mysites .dataTables_scrollHead table thead th:nth-child(5),
.page-mysites .dataTables_scrollHead table thead th:nth-child(5) * {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* 4) Dölj header-kolumnen i FixedHeader-klonen (flytande header) */
.page-contracts table.fixedHeader-floating thead th:nth-child(1),
.page-contracts table.fixedHeader-floating thead th:nth-child(1) *,
.page-contracts table.fixedHeader-floating thead th:nth-child(3),
.page-contracts table.fixedHeader-floating thead th:nth-child(3) *,
.page-mysites table.fixedHeader-floating thead th:nth-child(5),
.page-mysites table.fixedHeader-floating thead th:nth-child(5) * {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* 5) Om <colgroup> styr bredden */
.page-contracts table.dataTable colgroup col:nth-child(1),
.page-contracts table.dataTable colgroup col:nth-child(3),
.page-mysites table.dataTable colgroup col:nth-child(5) {
  display: none !important;
  width: 0 !important;
}


/* 5) Om <colgroup> styr bredden */
.page-contracts table.dataTable colgroup col:nth-child(1) {
  display: none !important;
  width: 0 !important;
}

/* -- Döljer filter nyttighet under Mina Fakturor -- */
.page-invoicelist li.dropdown:nth-child(2), .page-contracts #selectSubtypeHeading,
.page-invoicelist li.dropdown:nth-child(2), .page-contracts #selectSubtypeHeading {
    display: none;
}

/* -- Döljer filter nyttighet under Mina anläggningar -- */
.page-mysites li.dropdown:nth-child(1), .page-contracts #selectSubtypeHeading,
.page-mysites li.dropdown:nth-child(1), .page-contracts #selectSubtypeHeading {
    display: none;
}

/* -- Döljer filter nyttighet under Historlsia mätaravläsningar -- */
.page-historicalmeterreadings li.dropdown:nth-child(2), .page-contracts #selectSubtypeHeading,
.page-historicalmeterreadings li.dropdown:nth-child(2), .page-contracts #selectSubtypeHeading {
    display: none;
}

/* -- Döljer filter nyttighet under Förbrukningsrapport -- */
.page-consumptionreport li.dropdown:nth-child(1), .page-contracts #selectSubtypeHeading,
.page-consumptionreport li.dropdown:nth-child(1), .page-contracts #selectSubtypeHeading {
    display: none;
}
