:root {
  --ireina-blue: #01467A;
  --ireina-yellow: #f1ca72;
  --ireina-secondary: #2980b9;
  --ireina-lightblue: #0d6efd;
  --ireina-lightgray: #f0f0f0;
  --ireina-lightgray-darker: #e3e3e3;
  --ireina-yellow-highlight: #f4f3847a;
  --nav-height: 90px;
  --ireina-validation-error-red: #dc3545;
  --ireina-validation-green: #198754;
  --collapsed-sidemenu-width: 4rem;
  --risk-high: var(--ireina-validation-error-red);
  --risk-medium: var(--ireina-yellow);
  --risk-low: var(--ireina-validation-green);
  --impact-significant: #b56396;
  --impact-severe: var(--ireina-validation-error-red);
  --impact-moderate: var(--ireina-yellow);
  --impact-minor: var(--ireina-validation-green);
  --banner-warning: #f9ecd0;
  --banner-warning-border: #f1ca72;
  --small-screen-width: 1000px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

*, body {
  font-family: Mulish, sans-serif;
}

textarea {
  resize: none;
}

.hidden {
  display: none !important;
}

/*.container {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;


}*/
.hint {
  font-style: italic;
  color: gray;
  font-size: 0.8rem;
}

[v-cloak] {
  display: none !important;
}

.fa-file-excel {
  color: green;
}

.fa-file-pdf {
  color: red;
}

.floating-drop-shadow {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.translate-up-on-hover {
  transition: transform 0.2s;
}
.translate-up-on-hover:hover {
  transform: translateY(-8px);
}

.text-center {
  text-align: center;
}

.font-bold {
  font-weight: bold;
}

.highlighted {
  animation-name: highlight-animation;
  animation-duration: 5s;
}

@keyframes highlight-animation {
  0% {
    background-color: var(--ireina-yellow-highlight);
  }
  75% {
    background-color: var(--ireina-yellow-highlight);
  }
  to {
    background-color: initial;
  }
}
.banner {
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}
.banner.warning {
  background-color: var(--banner-warning);
  border: 1px solid var(--banner-warning-border);
}
.banner i {
  margin-right: 1rem;
}

.mud-dialog {
  width: 100%;
}

#toast-container > div {
  opacity: 1;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  border-color: var(--ireina-blue);
  border-radius: 5px;
  box-sizing: border-box;
  border-width: 1px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: 0;
}

select.form-control {
  height: fit-content;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef !important;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
}
form .field-validation-error {
  text-align: right;
  display: block;
  font-style: italic;
  color: red;
  margin-bottom: 1rem;
}
form .validation-summary-errors ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  font-weight: 700;
  color: red;
}

h4 {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--ireina-blue);
}

.ir-button {
  background: var(--ireina-blue);
  font-size: 1rem;
  border-radius: 5px;
  color: white;
  transition: all 0.15s ease-in-out;
  padding: 0.5rem 1rem;
  border-width: 1px;
  border-color: var(--ireina-lightblue);
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  display: block;
  width: fit-content;
  height: fit-content;
}
.ir-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: 0;
}
.ir-button.red {
  background: var(--ireina-validation-error-red);
  border-color: var(--ireina-validation-error-red);
}
.ir-button.red:hover {
  border-color: var(--ireina-secondary) !important;
}
.ir-button:hover {
  background: var(--ireina-secondary) !important;
}
.ir-button.major {
  text-decoration: none;
  background-color: var(--ireina-blue);
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 19rem;
  text-align: center;
  border-radius: 5px;
}
.ir-button.secondary {
  background-color: var(--ireina-lightgray);
  color: black;
  border: 1px solid var(--ireina-lightgray-darker);
}
.ir-button.secondary:hover {
  color: white;
}
.ir-button.secondary-darker {
  background-color: var(--ireina-lightgray-darker);
}
.ir-button.disabled {
  cursor: not-allowed;
  color: var(--ireina-lightgray-darker);
  pointer-events: none;
  background: var(--ireina-lightgray);
  border: 0px;
}

table button.action-button {
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  border-color: var(--ireina-blue);
  border-radius: 5px;
  box-sizing: border-box;
  border-width: 1px;
  background: white;
  cursor: pointer;
  width: 100%;
  transition: all ease-in-out 0.2s;
}
table button.action-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: 0;
}
table button.action-button:hover {
  background-color: var(--ireina-lightgray);
}

.text-primary {
  color: var(--ireina-blue);
}

.flex-end {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.control-bar, .page-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

strong {
  font-weight: bold;
}

.text-danger {
  color: var(--ireina-validation-error-red);
}

.text-warning {
  color: var(--risk-medium);
}

.text-success {
  color: var(--ireina-validation-green);
}

.section-header {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  position: relative;
}
.section-header .pull-right {
  display: inline-block;
  position: absolute;
  right: 0;
}

.section-subheader {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.form-section-header {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.modules-row {
  display: flex;
  gap: 1.5rem;
  margin: 3rem 1rem;
  /*flex-wrap: wrap;*/
  justify-content: start;
}
.modules-row .module-box {
  /*width: 150px;
  min-width: 125px;*/
  height: 125px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  cursor: pointer;
  text-decoration: none;
  padding: 0.5rem;
  box-sizing: border-box;
  flex: 1;
  max-width: 200px;
}
.modules-row .module-box:hover {
  color: var(--ireina-secondary);
}
.modules-row .module-box.unavailable {
  color: gainsboro !important;
  background: white !important;
}
.modules-row .module-box i {
  font-size: 2.5rem;
}
.modules-row .module-box .module-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
}
.modules-row .module-box.dpo_portal_module {
  background: var(--ireina-blue);
  color: white;
}
.modules-row .module-box.learning_center_module {
  background: var(--ireina-blue);
  color: white;
}

div[data-dropdown-menu] {
  /*max-width: 200px;*/
  position: fixed;
  margin-top: 5px;
  z-index: 9999;
  transition: all 0.1s ease-in-out 0s;
}
div[data-dropdown-menu] ul {
  visibility: hidden;
}

div[data-dropdown-menu=open] {
  /*max-width: 15rem;*/
  transform-origin: center top;
  transform: scale(1);
  box-shadow: rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0) 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  /*border: 1px solid lightgray;*/
  border: none;
  border-radius: 10px;
  /*padding: 15px;*/
}
div[data-dropdown-menu=open] ul {
  visibility: visible;
  /*li {
      background: white;
      padding: 1rem 2rem;
      cursor: pointer;
      &:hover {
          background: var(--ireina-lightgray);
      }
  }*/
}
div[data-dropdown-menu=open] ul li.dropdown-seperator {
  background-color: rgba(211, 211, 211, 0.3803921569);
  height: 1px;
}
div[data-dropdown-menu=open] ul li a {
  background: white;
  padding: 1rem 2rem;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: black;
  transition: all ease-in-out 0.2s;
  /*&:first-child {
      background: green;
  }*/
}
div[data-dropdown-menu=open] ul li a:hover {
  background: var(--ireina-lightgray);
  transform: scale(1.05);
}
div[data-dropdown-menu=open] ul li:first-child a {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
div[data-dropdown-menu=open] ul li:last-child a {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

i {
  font-style: italic;
}

.menu-items .mud-button-label {
  color: white;
}

table.reports-table {
  width: 100%;
}
table.reports-table tr td, table.reports-table tr th {
  border: 1px solid black;
  padding: 0.7rem 1rem;
}
table.reports-table tr th {
  font-weight: bold;
  text-align: left;
}
table.reports-table a {
  color: black;
  display: flex;
  text-align: center;
  font-size: 0.9rem;
  justify-content: center;
  text-decoration: underline;
}
table tbody tr td .vertical-flex-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
table tbody tr td .vertical-flex-stack a {
  text-decoration: underline;
}

.autocomplete-suggestions {
  border: 1px solid #999;
  background: #FFF;
  overflow: auto;
}

.autocomplete-suggestion {
  padding: 0.5rem 1rem;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.autocomplete-selected {
  background: var(--ireina-lightgray);
}

.autocomplete-suggestions strong {
  font-weight: bold;
  color: var(---ireina-blue);
}

.autocomplete-group {
  padding: 2px 5px;
}

.autocomplete-group strong {
  display: block;
  border-bottom: 1px solid #000;
}

.flex-vert {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rounded-corners {
  border-radius: 5px;
}

.stack-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: start;
}

.loader {
  height: 4px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #ddd;
  margin-bottom: 20px;
}
.loader:before {
  display: block;
  position: absolute;
  content: "";
  left: -200px;
  width: 200px;
  height: 4px;
  background-color: var(--ireina-blue);
  animation: loading 2s linear infinite;
}

@keyframes loading {
  from {
    left: -200px;
    width: 30%;
  }
  50% {
    width: 30%;
  }
  70% {
    width: 70%;
  }
  80% {
    left: 50%;
  }
  95% {
    left: 120%;
  }
  to {
    left: 100%;
  }
}
/*
    Start loading spinner
*/
svg.spinner {
  width: 40px;
  height: 40px;
  x: 0px;
  y: 0px;
  viewBox: 0 0 40 40;
  position: fixed;
  top: 50%;
  left: 50%;
  display: none;
  z-index: 100;
}
svg.spinner circle {
  fill: transparent;
  stroke: #212121;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 125.6;
  -webkit-transform-origin: 20px 20px 0;
  -moz-transform-origin: 20px 20px 0;
  -ms-transform-origin: 20px 20px 0;
  -o-transform-origin: 20px 20px 0;
  transform-origin: 20px 20px 0;
  -webkit-animation: spinner 2s linear infinite;
  -moz-animation: spinner 2s linear infinite;
  -ms-animation: spinner 2s linear infinite;
  -o-animation: spinner 2s linear infinite;
  animation: spinner 2s linear infinite;
}

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    stroke-dashoffset: 26.4;
  }
  50% {
    -webkit-transform: rotate(720deg);
    stroke-dashoffset: 125.6;
  }
  100% {
    -webkit-transform: rotate(1080deg);
    stroke-dashoffset: 26.4;
  }
}
@-moz-keyframes spinner {
  0% {
    -moz-transform: rotate(0deg);
    stroke-dashoffset: 26.4;
  }
  50% {
    -moz-transform: rotate(720deg);
    stroke-dashoffset: 125.6;
  }
  100% {
    -moz-transform: rotate(1080deg);
    stroke-dashoffset: 26.4;
  }
}
@-ms-keyframes spinner {
  0% {
    -ms-transform: rotate(0deg);
    stroke-dashoffset: 26.4;
  }
  50% {
    -ms-transform: rotate(720deg);
    stroke-dashoffset: 125.6;
  }
  100% {
    -ms-transform: rotate(1080deg);
    stroke-dashoffset: 26.4;
  }
}
@-o-keyframes spinner {
  0% {
    -o-transform: rotate(0deg);
    stroke-dashoffset: 26.4;
  }
  50% {
    -o-transform: rotate(720deg);
    stroke-dashoffset: 125.6;
  }
  100% {
    -o-transform: rotate(1080deg);
    stroke-dashoffset: 26.4;
  }
}
@keyframes spinner {
  0% {
    transform: rotate(0deg);
    stroke-dashoffset: 26.4;
  }
  50% {
    transform: rotate(720deg);
    stroke-dashoffset: 125.6;
  }
  100% {
    transform: rotate(1080deg);
    stroke-dashoffset: 26.4;
  }
}
.simple-form {
  display: flex;
  flex-direction: column;
}
.simple-form label {
  display: flex;
  flex-direction: column;
  padding: 1rem 0rem;
  gap: 1rem;
  align-items: baseline;
}
.simple-form label .mud-input-control, .simple-form label .mud-select {
  width: 100%;
}

.flex-row {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}

.verticaltimeline {
  display: flex;
  flex-direction: column;
}
.verticaltimeline .verticaltimeline--entry {
  display: flex;
  gap: 2rem;
}
.verticaltimeline .verticaltimeline--entry .verticaltimeline--timestamp {
  width: 8rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
}
.verticaltimeline .verticaltimeline--entry .verticaltimeline--trail {
  width: 3rem;
  display: flex;
  justify-content: center;
  position: relative;
}
.verticaltimeline .verticaltimeline--entry .verticaltimeline--trail .verticaltimeline--circle {
  width: 1rem;
  height: 1rem;
  background: var(--ireina-blue);
  border: 5px solid var(--ireina-blue);
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 200;
}
.verticaltimeline .verticaltimeline--entry .verticaltimeline--trail .verticaltimeline--circle.internal {
  background: var(--ireina-lightgray-darker);
  border-color: var(--ireina-lightgray-darker);
}
.verticaltimeline .verticaltimeline--entry .verticaltimeline--trail .verticaltimeline--line {
  border: 2px solid var(--ireina-blue);
  width: 0px;
  height: 2rem;
}
.verticaltimeline .verticaltimeline--entry .verticaltimeline--trail .verticaltimeline--bgline {
  border: 2px solid var(--ireina-blue);
  width: 0px;
  height: 100%;
  position: absolute;
  z-index: 100;
}
.verticaltimeline .verticaltimeline--entry .verticaltimeline--details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding-bottom: 3rem;
}
.legend {
  margin-bottom: 2rem;
}
.legend thead {
  background: gray;
}
.legend thead th {
  text-align: center;
  color: white;
}
.legend tbody td:first-child {
  width: 10rem;
  text-align: center;
}

.matrix .header {
  text-align: center;
}
.matrix .vertical {
  transform: rotate(-90deg);
  text-align: center;
  width: 10%;
  vertical-align: middle;
}
.matrix td {
  padding: 0.7rem 1rem;
  border: none;
}
.matrix td.no-padding {
  padding: 0px;
}
.matrix .matrix-grid td {
  border: 1px solid black;
  text-align: center;
  color: white;
  padding: 1rem;
}
.matrix .matrix-grid td.gray {
  background: gray;
}
.matrix .matrix-grid td.green {
  background-color: #00B050;
}
.matrix .matrix-grid td.orange {
  background-color: #FFC000;
}
.matrix .matrix-grid td.red {
  background-color: #C00000;
}