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

:root {
  --defaultfont: 'Open Sans';
  --light: #ffffff;
  --dark: #111111;
  --basemeasure: 1;
  --buttonblue: #0078e7; /* 0078e7 */
  --workflowblue: #024c90; /* 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: var(--workflowblue);
}

pre {
  white-space: pre-wrap;
}
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(--workflowblue);
  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, header nav ul li a:visited {
  font-family: var(--defaultfont), sans-serif;
  text-decoration: none;
  color: var(--light);
  padding: 0 2rem;
}

header nav ul li a:hover {
  color: var(--light);
  opacity: 0.85;
}

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(--dark);
  border: 0.2vw solid var(--dark);
  display: inline-block;
}
.button-white {
  color: var(--light);
  border: 2px solid var(--light);
}



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

section.top-news > div > h1 {
  color: var(--light);
}
.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(--workflowblue);
  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(--workflowblue);
  color: var(--light);
}

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(--light);
  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(--light);
  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(--workflowblue);
}


.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(--workflowblue);
  text-align: left;
  color: #ffffff;
}

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

.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(--workflowblue);
}

.regular-list-table.sortable th span::after {
  background-image: url('../images/icon-sort.svg');
  background-size: 1em 0.8em;
  background-position: bottom right;
  background-repeat: no-repeat;
  display: inline-block;
  width: 1em;
  height: 1em;
  content:"";
}

.regular-list-table.sortable th {
  cursor: pointer;
}

.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(--workflowblue);
}

.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(--workflowblue);
}



.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;
}

.form-element-error {
  color: #cc0000;
}
.form-element-inline {
  display: inline-block;
  padding-right: 1rem;
}
/* used for printing */
.timesheet-signature, .timesheet-footer {
  display: none;
}

.timekeeper-overtime {
  color: #cc0000;
}
.print-only {
  display: none;
}
.display-only {
  display: block;
}
.timesheet-print {
  border-collapse: collapse;
  margin: 1.5em 0;
}
.timesheet-print td.initials {
  text-align: right;
  padding-top: 0.5em;
}
.timesheet-print thead tr {
  background-color: #000000;
}
.timesheet-print th {
  text-align: left;
  color: white;
  white-space: nowrap;
}
.timesheet-print tbody tr {
  border-bottom: 1px solid #dddddd;
}

.timesheet-print tbody tr:nth-of-type(even) {
  background-color: #f2f2f2;
}
.timesheet-print td.total-time {
  text-align: center;
  margin: 0 5px;
}
@page {
  size: letter;
  margin: 0.75in;
}

@media print {
  html, body {
    width:100%;
    height:100%;
    font-size: 11pt;
  }
  .display-only, .function-navigation {
    display: none;
  }
  .print-only {
    display: block;
  }
  .timesheet-signature {
    page-break-inside: avoid;
  }
  footer, header, #menu, #menuLink, .function-navigation {
    display: none;
  }
  #layout {
    padding-left: 0;
  }
}

.mark-as-completed {
  vertical-align: middle;
}

#menu-proposed-project {
  position: relative;
  display: inline-block;
}

/* Filter Selection */
#filter-selection {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 300px;
}

#filter-selection .selection-title {
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  border-radius: 8px 8px 0 0;
  transition: background-color 0.2s;
}

#filter-selection .selection-title:hover {
  background-color: #f7f9fb;
}

#filter-selection .selection-title h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #024c90;
}

#filter-selection .selection-area {
  display: none;
  padding: 16px;
  border-top: 1px solid #dddddd;
  max-height: 400px;
  overflow-y: auto;
}

#filter-selection .selection-area.active {
  display: block;
}

#filter-selection .selection-area h3 {
  font-size: 1rem;
  margin: 12px 0 8px 0;
  color: #024c90;
}

#filter-selection .selection-area h3:first-child {
  margin-top: 0;
}

#filter-selection .selection-area input[type="checkbox"] {
  margin-right: 6px;
  margin-bottom: 8px;
}

#knowledge-new--workflow-knowledge-title, #knowledge-edit--workflow-knowledge-title {
  width: 100%;
}
.background-task {
  margin-top: 0.33rem;
  display: block;
}

.select-all-toggle {
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  color: #0078e7;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 8px;
}

.select-all-toggle:hover {
  color: #024c90;
}

.filter-submit-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dddddd;
  text-align: center;
}

.filter-submit-button {
  background-color: #024c90;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: 'Open Sans', sans-serif;
}

.filter-submit-button:hover {
  background-color: #0078e7;
}

.filter-submit-button:active {
  background-color: #013a6b;
}
