@font-face{
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-VariableFont_wdth-wght.ttf') format('ttf');
}

:root {
  --defaultfont: 'Open Sans';
  --equipeblue: #0078e7; /* 4897d2 */
  --equipepurple: #732b8d;
  --equipelight: #ffffff;
  --equipedark: #111111;
  --basemeasure: 1;
  --headerbg: #ff9933; 
  --portalblue: #024c90;
}



body {
  padding: 0;
  margin: 0;
  position: relative;
  font-family: var(--defaultfont), sans-serif;
  font-size: 16px;
  color: #999999;
}

h1, h2, h3, h4, h5, h6, p, li, ol {
  font-family: var(--defaultfont), sans-serif;
  font-size: 1.5rem;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.50rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.75rem;
}

p, li {
  font-size: 1.125rem;
}

a, a:visited {
  color: #336666;
}

header, footer, section {
  clear: both;
  margin: 0 auto;
  box-sizing: border-box;
}

section {
  margin-bottom: 2rem;
  min-height: calc(100vh - 7vw);
  position: relative;
}
section > div {
  padding: 1.5vw;
}

article {
  padding: 0 1.5vw 1.5vw 1.5vw;
}
body#home article {
  padding: 0;
}

header {
  background-color: var(--buttonblue);
  width: 100%;  position: relative;
  height: 80px;
}

#logo {
  position: absolute;
  top: 0;
  left: 12px;
  height: 80px;
  width: auto;
}

#logo img {
  width: auto;
  height: 64px;
}

/* nav element */

header nav ul.pure-menu-list {
  position: absolute;
  top: 12px;
  box-sizing: border-box;
  height: 64px;
  display: table;
  margin: 0;
}

header nav ul {
  right: 0;
}

header nav ul > li > ul {
  display: none;
}

header nav ul li {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

header nav ul li a {
  font-family: var(--defaultfont), sans-serif;
  text-decoration: none;
  color: var(--equipedark);
  padding: 0 2rem;
}

header nav ul li a:hover {
  color: #ffffff;
}

a.button {
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  margin: 1vw 0;
}

.button {
  box-sizing: border-box;
  border-radius: 1.5vw;
  line-height: 1.5vw;
  font-size: 1.5vw;
  padding: 0.75vw 3vw;
  color: var(--equipedark);
  border: 0.2vw solid var(--equipedark);
  display: inline-block;
}
.button-white {
  color: var(--equipelight);
  border: 2px solid var(--equipelight);
}



section.top-news > div {
  height: 40vw;
}

section.top-news > div > h1 {
  color: var(--equipelight);
}
.split-50-50 {
  display: table-cell;
  width: 50%;
  box-sizing: border-box;
  vertical-align: middle;
}

.rounded-left {
  background-color: #ffffff;
  border-radius: 1.5vw 0 0 1.5vw;
  padding: 1.5vw;
}

section.solution > div.solution-elements {
  display: table;
  table-layout: fixed;
  box-sizing: border-box;
  width: 100%;
  border-collapse: separate;
  border-spacing: 1.5vw 0;
  margin-left: -1.5vw;
}

.solution-elements > div {
  display: table-cell;
  width: 25%;
  box-sizing: border-box;
  border: 2px solid var(--equipeblue);
  border-radius: 1.5vw;
  padding: 3vw;
  position: relative;
}

.solution-elements > div h3 {
  padding-bottom: 12vw;
  font-size: 1.75vw;
  text-align: center;
}
.solution-elements > div > img {
  width: 10vw;
  height: auto;
  box-sizing: border-box;
  position: absolute;
  bottom: 2.5vw;
  left: 50%;
  transform: translate(-50%, 0);
}

.approach .split-50-50 img {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 0 15%;
}



section.case-studies > div.case-studies-elements {
  display: table;
  table-layout: fixed;
  box-sizing: border-box;
  width: 100%;
  border-collapse: separate;
  border-spacing: 1.5vw 0;
  margin-left: -1.5vw;
}

.case-studies-elements > .case-studies-row {
  display: table-row;
}
.case-studies-elements > .case-studies-row > div {
  display: table-cell;
  box-sizing: border-box;
  border: 1px solid #bbbbbb;
  border-radius: 1.5vw;
  padding: 1vw;
  position: relative;
}

.case-studies-elements > .case-studies-row-4 > div {
  width: 25%;
}
.case-studies-elements > .case-studies-row-5 > div {
  width: 20%;
}
.case-studies-elements > .case-studies-row-3 > div {
  width: 33%;
}

.case-studies-elements > .case-studies-row > div h3 {
  padding-top: 11vw;
}
.case-studies-elements > .case-studies-row > div > div.case-study-image {
  border-radius: 1.5vw 1.5vw 0 0;
  width:: 100%;
  height: 10vw;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

footer {
  padding: 2vw;
  background-color: var(--equipeblue);
  color: var(--equipelight);
}

footer .top img {
  max-width: 300px;
  padding-bottom: 1vw;
}

footer .info {
  display: inline-block;
  width: 33%;
  font-size: 1.1vw;
  vertical-align: top;
}
footer .footer-menu {
  display: inline-block;
  width: 66%;
}

ul#menu-footer-menu  {
  display: table-row;
}
ul#menu-footer-menu > li {
  display: table-cell;
  font-weight: bold;
}
ul#menu-footer-menu  li a {
  color: var(--equipelight);
  text-decoration: none;
  font-size: 1.1vw;
  line-height: 1.4vw;
}
ul#menu-footer-menu  li li {
  font-weight: normal;
}


.menu-2 ul#menu-footer-menu > li {
  width: 50%;
}
.menu-3 ul#menu-footer-menu > li {
  width: 33%;
}
.menu-4 ul#menu-footer-menu > li {
  width: 25%;
}
.menu-5 ul#menu-footer-menu > li {
  width: 20%;
}
.menu-6 ul#menu-footer-menu > li {
  width: 16%;
}

footer .bottom {
  padding-top: 2vw;
  display: table;
  width: 100%;
}

footer .bottom li {
  display: inline-block;
  padding-left: 1vw;
}
footer .bottom li a {
  color: var(--equipelight);
  font-size: 1.1vw;
  text-decoration: none;
}

footer .bottom > div {
  display: table-cell;
  box-sizing: border-box;
  width: 50%;
}

.menu-policies-menu-container {
  float: right;
}

.signup-form {
  display: inline-block;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 1.5vw;
  padding: 2vw;
  border: 1px solid #999999;  
}

table.post-table  th, td {
  vartical-align: top;
  text-align: left;
}

table.post-table  th {
  color: white;
  background-color: var(--portalblue);
}

table.post-table  th, td {
  vartical-align: top;
  text-align: left;
}

table.post-table  th {
  color: white;
  background-color: var(--portalblue);
}


.regular-list-table {
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 1em;
  box-shadow: 0 0 1.4em rgba(0, 0, 0, 0.14);
}

.regular-list-table thead tr {
  background-color: var(--portalblue);
  text-align: left;
  color: #ffffff;
}

.regular-list-table thead tr th {
  padding: 1em 1.25em;
  color: #ffffff;
}

.regular-list-table tbody th,
.regular-list-table tbody td {
  padding: 1em 1.25em;
  color: #333333;
}

.regular-list-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.regular-list-table tbody tr:nth-of-type(even) {
  background-color: #f2f2f2;
}

.regular-list-table tr:last-of-type {
  border-bottom: 2px solid 	var(--portalblue);
}

.side-by-side-table {
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 1em;
  box-shadow: 0 0 1.4em rgba(0, 0, 0, 0.14);
}

.side-by-side-table tr {
  text-align: left;
  color: #ffffff;
}
.side-by-side-table tr th {
  background-color: var(--portalblue);
}

.side-by-side-table th,
.side-by-side-table td {
  text-align: left;
  padding: 1em 1.25em;
  color: #333333;
}
.side-by-side-table th {
  color: #ffffff;
}

.side-by-side-table tr {
  border-bottom: 1px solid #dddddd;
}

.side-by-side-table tr:nth-of-type(even) td {
  background-color: #f2f2f2;
}

.side-by-side-table tr:last-of-type{
  border-bottom: 2px solid 	var(--portalblue);
}



.message {
  border: 1px solid #00cc33;
  color: #00cc33;
  background-color: #ccffcc;
  font-size: 0.9em;
}

.error {
  border: 1px solid #cc0000;
  color: #cc0000;
  background-color: #ffcccc;
  font-size: 0.9em;
}

body.section-portal-project article .project-section svg {
  width: 90%;
  max-width: 18em;
  height: auto; 
}

#project-filter ul > li > ul {
  max-height: 75vh;
  overflow-y: scroll;
}


/* List filter bar (reusable across list views) */
.list-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1em;
  margin: 0 0 1em 0;
  padding: 1em;
  background-color: #f7f9fb;
  border: 1px solid #dddddd;
  border-radius: 8px;
}

.list-filter .list-filter-field {
  display: flex;
  flex-direction: column;
}

.list-filter .list-filter-field label {
  font-weight: bold;
  margin-bottom: 0.25em;
}

.list-filter .list-filter-actions {
  margin-left: auto;
}

.list-result-count {
  color: #555555;
  font-size: 0.9rem;
  margin: 0 0 0.5em 0;
}


/* Pagination (reusable across list views) */
nav.pagination {
  margin: 1em 0;
}

nav.pagination .pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  align-items: center;
}

nav.pagination .pagination-list li a,
nav.pagination .pagination-list li span {
  display: block;
  padding: 0.4em 0.7em;
  border: 1px solid #dddddd;
  border-radius: 4px;
  text-decoration: none;
  color: #024c90;
  line-height: 1;
}

nav.pagination .pagination-list li a:hover {
  background-color: #f7f9fb;
}

nav.pagination .pagination-list li.current span {
  background-color: #024c90;
  border-color: #024c90;
  color: #ffffff;
  font-weight: bold;
}

nav.pagination .pagination-list li.disabled span,
nav.pagination .pagination-list li.pagination-ellipsis span {
  color: #aaaaaa;
  border-color: #eeeeee;
}
