/* some adjustments to the INNOQ Bootstrap styles. */
body {
  background-color: #c8c8d2;
}

h4 {
  font-size: 1.2rem;
}

main.aotc-main-content {
  position: relative;
  top: 0;
  left: 0;
  background-color: #fff;
  padding: 3rem;
  min-height: 100vh;
}

@media screen and (min-width: 1000px) {
  main.aotc-main-content {
    padding-left: 7rem;
    padding-right: 7rem;
    margin-left: 0;
    margin-right: 0;
  }
}
.hidden {
  display: none;
  visibility: hidden;
}

table.table tr:first-of-type th {
  border-top: 0;
}

.card {
  border: 0;
  border-bottom: 3px solid #d8d8d8;
}

.alert.alert-danger {
  color: #fff;
}

.inline {
  display: inline;
}

.table td {
  vertical-align: middle;
}

.inline-form {
  display: inline-block;
}

.table a.btn + a.btn {
  margin-left: 0.5rem;
}

.table .actions {
  white-space: nowrap;
}

.action-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.action-list.text-right {
  justify-content: flex-end;
}

.aotc .navbar-light .nav-item.active > a {
  color: #004153;
  text-decoration: underline;
}

.aotc .navbar-light .nav-item:hover > a {
  color: #004153;
  text-decoration: underline;
}

.aotc .navbar-light .navbar-brand:hover {
  color: #004153;
}

.sub-navbar-standalone {
  display: none;
}

.sub-navbar-embedded {
  display: block;
  margin-left: 1rem;
  border-left: 3px solid #004153;
  padding-left: 1rem;
}

@media screen and (min-width: 992px) {
  .sub-navbar-standalone {
    display: block;
  }
  .sub-navbar-embedded {
    display: none;
  }
}
.complementary {
  display: block;
  font-size: 0.8125em;
}

project-entry {
  display: inline-block;
  background-color: #ececec;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

project-engagements-cell {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

body > footer {
  background-color: #c8c8d2;
  padding: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 3rem;
}

.tool-link {
  display: inline-block;
}

.tool-link img {
  max-width: 150px;
}

.fw-bold {
  font-weight: bold !important;
  font-family: FFMarkWebProBold, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.text-unit {
  white-space: nowrap;
}

.highlighted {
  color: #68DDC3;
}

.anchor {
  display: inline-block;
  position: relative;
  left: 0;
  top: -3rem;
}

combined-search-form {
  display: block;
  position: relative;
}

combined-search-form form {
  display: none;
}

@media screen and (max-width: 992px) {
  combined-search-form {
    margin-top: 1rem;
  }
}
combined-search-result-view {
  display: none;
  padding: 1rem;
  left: 0;
  right: 0;
  margin-top: 1rem;
  position: absolute;
  border: 1px solid #000;
  background-color: #fff;
  z-index: 1;
  width: 150%;
}

@media screen and (min-width: 992px) {
  combined-search-result-view {
    left: auto;
  }
}
combined-search-result-view.active {
  display: block;
}

async-search-form-results {
  display: block;
  margin-bottom: 1rem;
}

combined-search-form > label > input {
  margin-left: 0.5rem;
}

async-search-form-results .list-group-item {
  padding: 0;
}

async-search-form-results .list-group-item a {
  display: block;
  padding: 0.5rem 1rem;
}

.close-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.close-button:focus {
  outline: auto;
}

:root {
  /*
  --task-schedule-border-radius: 3px;
  --task-schedule-col-width: 1rem;
  --task-schedule-height: 2rem;
  --task-schedule-content-min-width: 30rem;

  --timeline-row-gap: 0.5em;
  --timeline-font-size: 0.75em; */
  --task-gap: 0em;
  --timeline-row-gap: 0em;
  --task-description-min-width: 25rem;
  --task-description-max-width: 35rem;
  --task-schedule-bg-col: #40707E; /* default (should usually not be seen, as everything has a state */
  --task-state-planned-bg: #FF9C66;
  --task-state-engaged-bg: #40707E;
  --task-state-engaged-ft: #F7F7F7;
  --task-state-optioned-bg: #68DDC3;
  --timeline-font-size: 1em;
}

.aotc [is=garganttua-timeline] > li {
  line-height: 1;
}

garganttua-gantt-chart > [is=garganttua-task-list] > [is=garganttua-task-group] {
  border-top: 1px solid #004153;
  /* padding-top: .5rem; */
}

garganttua-gantt-chart > [is=garganttua-task-list] > [is=garganttua-task-group]:first-of-type {
  border-top: none;
}

.is-group-task garganttua-task-schedule {
  height: 0.5rem;
  align-self: center;
}

multi-column-layout {
  display: block;
  column-count: 1;
  column-width: auto;
  column-gap: 3rem;
  column-fill: balance;
}

multi-column-layout h3 {
  margin-top: 5rem;
}

multi-column-layout h3:first-of-type {
  margin-top: 0;
}

@media screen and (min-width: 1024px) {
  multi-column-layout {
    column-count: 2;
  }
}
@media screen and (min-width: 2048px) {
  multi-column-layout {
    column-count: 3;
  }
}
multi-column-content {
  display: block;
  break-inside: avoid-column;
  margin-top: 7rem;
}

multi-column-content:first-of-type {
  margin-top: 0;
}

reactive-filter-search .hidden {
  visibility: hidden;
  display: none;
}

reactive-filter-search label {
  margin-right: 0.5em;
}
reactive-filter-search label:last-of-type {
  margin-right: 0;
}

fuzzy-combo-box {
  display: block;
  position: relative;
  top: 0;
  left: 0;
}

fuzzy-combo-result-item {
  display: block;
}

.fuzzy-combo-result-list {
  position: absolute;
  top: 5rem;
  left: 0;
  z-index: 999;
}

.fuzzy-combo-result-list li:hover {
  background-color: #d8d8d8;
}

fuzzy-combo-result-item button {
  display: inline-block;
  width: 100%;
  text-align-last: left;
}

fuzzy-combo-result-item button:focus {
  border: 1px solid grey;
}

.fuzzy-combo-clear-option {
  position: absolute;
  right: 0rem;
  bottom: 0;
  text-decoration: none;
  transform: translateY(0.1rem);
}

toast-message.toast {
  position: fixed;
  top: 1rem;
  left: 3rem;
  min-width: 50%;
  min-width: 50vw;
  max-width: 90%;
  max-width: 90vw;
  background-color: #fff;
  animation: toastFadeIn 0.5s;
  z-index: 9999;
}

toast-message.fade-now {
  animation: toastFadeOut 1s;
}

toast-message .btn-close {
  margin-right: 0.5rem !important;
  cursor: pointer;
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
}

@keyframes toastFadeIn {
  from {
    top: 0rem;
  }
  to {
    top: 1rem;
  }
}
@keyframes toastFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@media screen and (min-width: 1000px) {
  scroll-foam.squeeze main {
    transition: transform 0.5s;
  }
  scroll-foam.squeeze main {
    transform: scale(95%);
  }
  scroll-foam.squeeze.squeeze-out main {
    transform: scale(100%);
  }
}
connection-visualizer {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}
connection-visualizer connection-source, connection-visualizer connection-target {
  display: inline-block;
}
connection-visualizer .connection-visualizer-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

demand-item {
  display: grid;
  grid-template-columns: 2rem 80% 1fr;
}
demand-item demand-item-candidates {
  grid-column: 1/span 3;
}
demand-item demand-item-candidate-actions {
  justify-self: end;
}

demand-item-meta {
  font-size: 0.85rem;
  display: block;
}
demand-item-meta strong {
  display: block;
}

demand-list h5 small {
  display: block;
}

on-demand-actions {
  position: relative;
}
on-demand-actions .on-demand-state-checkbox, on-demand-actions .on-demand-backdrop-checkbox {
  display: none;
}
on-demand-actions .on-demand-open-label {
  font-size: 2rem;
  font-weight: 900;
  color: cornflowerblue;
}
on-demand-actions .on-demand-open-label:after {
  display: inline-block;
  content: "";
  vertical-align: -0.125em;
  background-image: url("data:image/svg+xml,<svg fill='%23333' viewBox='0 0 100 80' width='40' height='40'  xmlns='http://www.w3.org/2000/svg'><rect width='100' height='20' rx='8'></rect><rect y='30' width='100' height='20' rx='8'></rect><rect y='60' width='100' height='20' rx='8'></rect></svg>");
  background-repeat: no-repeat;
  background-size: 1.2rem 1.2rem;
  width: 1.5rem;
  height: 1.5rem;
}
on-demand-actions on-demand-additional-actions {
  display: none;
  position: absolute;
  top: 0;
  left: 1.5rem;
  z-index: 100;
  background-color: #fff;
  padding: 0.5rem;
  transform: translateY(-30%);
  border: 5px solid #ececec;
}
on-demand-actions .on-demand-backdrop-label {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
}
on-demand-actions .on-demand-state-checkbox:checked ~ on-demand-additional-actions {
  display: block;
}
on-demand-actions .on-demand-open-label:hover:after, on-demand-actions .on-demand-state-checkbox:checked ~ .on-demand-open-label:after {
  background-image: url("data:image/svg+xml,<svg fill='rgb(255, 156, 102)' viewBox='0 0 100 80' width='40' height='40'  xmlns='http://www.w3.org/2000/svg'><rect width='100' height='20' rx='8'></rect><rect y='30' width='100' height='20' rx='8'></rect><rect y='60' width='100' height='20' rx='8'></rect></svg>");
}
on-demand-actions .on-demand-state-checkbox:checked ~ .on-demand-backdrop-label {
  display: block;
  visibility: visible;
}
on-demand-actions .on-demand-state-checkbox:checked ~ .on-demand-open-label {
  color: #ff9c66;
}

ul.action-list * {
  width: 100%;
}

.with-hint {
  display: block;
  border: 3px solid #55cdaf;
  cursor: pointer;
}

connected-resource-progress-wrapper {
  display: block;
  width: 100%;
  height: 1rem;
}
connected-resource-progress-wrapper .custom-progress {
  width: 0;
  height: 5px;
  background-color: #55cdaf;
  transition: width 1s ease;
}
connected-resource-progress-wrapper .custom-progress.error {
  background-color: red;
}

comparable-lists {
  display: grid;
}

comparable-list {
  display: block;
}

@media screen and (min-width: 50rem) {
  comparable-lists {
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    min-height: 60rem;
  }
  comparable-list-scroll-container {
    display: block;
  }
  comparable-list[dynamic] {
    position: relative;
    align-self: stretch;
  }
  comparable-list[dynamic] comparable-list-scroll-container {
    overflow-y: scroll;
    position: absolute;
    top: 0;
    left: 0;
    transition: top 0.3s;
  }
}
body.aotc.nonprod .bg-secondary {
  background-color: #68ddc3 !important;
}
