#header {
  background-color: var(--white);
  height: auto;
  min-height: 10px;
  grid-area: header;
  display: flex;
  align-items: center;
  z-index: 20;
  position: relative;
  border-bottom: var(--drag-handle-height) solid var(--grey);
  box-sizing: border-box;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 24px;
  padding-right: 24px;
}

.version-text-container {
  height: 24px;
  width: auto;
  padding: 2.5px 12px 2.5px 12px;
  color: var(--dark-color);
  background-color: var(--grey);

  justify-self: center;
  align-items: center;
  z-index: 100;

  border-radius: 100px;
  line-height: 160%;
  box-sizing: border-box;
}

.version-text {
  height: 19px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  line-height: 160%;
  color: var(--text-black);
}

.button-container-header {
  height: 36px;
  width: auto;
  background: var(--white);
  display: flex;

  align-items: center;
  position: relative;
  margin-left: auto;
}

.header-button {
  height: 100%;
  width: auto;
  padding: 7px 12px 7px 12px;
  background-color: var(--white);
  margin-left: 8px;

  display: flex;
  align-items: center;
  border: var(--drag-handle-height) solid #d2d2d5;
  border-radius: 8px;
  box-sizing: border-box;

  font-family: var(--font);
}

.header-button-symbol {
  height: auto;
}

.header-button-text {
  margin-left: 5px;
  width: auto;
  font-size: 14px;
  line-height: 160%;
  font-weight: 400;
}

.header-button:hover {
  cursor: pointer;
}

.header-button-selected {
  color: #3b82f6;
  border-color: #3b82f6;
}

.title {
  height: 24px;
  width: 229px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  padding-right: 16px;
  line-height: 120%;
  color: var(--text-black);
}

.display-threat-list-svg {
  stroke: #07080b;
}

.display-threat-list-svg-selected {
  stroke: #3b82f6;
}

* {
  margin: 0px;
}

body {
  height: 100vh;
}
.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent background */
  backdrop-filter: blur(1px); /* Blur effect */
  z-index: 1000; /* Ensure it is on top of other elements */
  display: none; /* Initially hidden */
}

.confirm-clear-box {
  position: fixed;
  top: 40%;
  left: 50%;
  height: 100px;
  width: 250px;
  transform: translate(-50%, -50%);
  background-color: #3b82f6;

  border-radius: 12px;
  padding: 20px;
  z-index: 1001;
}

.confirm-clear-box-container {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  height: 50px;
  background-color: #3b82f6;

  padding-left: 5px;
  padding-right: 5px;
}

.confirm-clear-box-text {
  color: var(--light-color);
  font-size: 20px;
  font-family: var(--font);
  text-align: center;
}

.confirm-clear-box-button {
  height: 30px;
  width: 80px;
  margin-top: 20px;
  background-color: white;
  border-radius: 4px;
  border-color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #1d1f2c;
}

.space-between {
  display: flex;
  justify-content: space-between;
}
.left-margin-auto {
  margin-left: auto;
}

.right-margin {
  margin-right: 0px;
}

#grid-container {
  display: grid;
  width: 100%;
  height: 100vh;
  grid-template-areas:
    "header                     header                        header"
    "elem-menu                  konva-holder                  attribute-list"
    "threat-list                threat-list                   threat-list";
  grid-template-columns: 272px calc(100% - 272px - 15%) 15%;
  grid-template-rows:
    var(--header-height) calc(100vh - var(--header-height) - 15vh)
    15vh;
}

#konva-holder {
  background-color: white;
  grid-row: 2 / 4;
  grid-column: 2 / 4;
  max-width: 100%;
  width: 100%;
  height: 100%;
  z-index: 10;
  padding: 24px;
  box-sizing: border-box;
  overflow: auto;
}

.konva-holder-canvas {
  height: 100%;
  width: 100%;
  background: var(--canvas-grey);
}

.security-report-canvas {
  display: none;
  height: calc(100%);
  width: 100%;
  background: #f1f5f9;
  overflow: auto;
  /* max-height: calc(100vh - 40px - 15vh - 51px); */
  overflow: overlay;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #d2d2d5;
}

::-webkit-scrollbar-thumb {
  background: #a5a5ab;
  border-radius: 100px;
}

.button:hover {
  cursor: pointer;
}

:root {
  --header-button-color: rgb(212, 212, 212);
  --header-button-hover-color: var(--secondary-color);
  --canvas-background-color: aliceblue;
  --drag-handle-height: 1px;
  --drag-handle-width: 1px;

  --white: rgb(255, 255, 255);

  --primary-color: #ffe171;
  --secondary-color: #00cbff;
  --light-color: aliceblue;
  --dark-color: #362b48;
  --dark-color-shade: rgba(54, 43, 72, 0.5);
  --blue: #0000ff;
  --grey: #e9e9ea;
  --text-black: #07080b;
  --box-border-grey: #d2d2d5;
  --canvas-grey: #f1f5f9;
  --box-fill-grey: #f4f4f5;
  --model-name-black: #1d1f2c;
  --model-name-input-black: #4a4c56;
  --threat-security-selected-black: #07080b;
  --threat-security-unselected-black: #777980;
  --button-select-blue: #3b82f6;

  /* --font: Arial; */
  --font: "NunitoSans";

  --header-height: 68px;
}

.attribute-list {
  display: none;
  flex-direction: row;
  width: 100%;
  max-width: 90vw;
  min-width: 145px;
  background-color: var(--white);
  grid-column: 3;
  grid-row: 2 / 4;
  z-index: 30;
  justify-self: right;
}

.attribute-drag-handle {
  height: 100%;
  width: 5px;
  background-color: white;
  border-left: 1px solid var(--grey);
  cursor: col-resize;
}

.attribute-menu-container {
  width: calc(100% - 5px);
  background: var(--white);
  z-index: inherit;
  height: 100%;
  justify-content: right;
  padding: 32px 16px 32px 11px;
  box-sizing: border-box;
  overflow: hidden;
  /* border-top: 1px solid var(--dark-color); */
}

.properties-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  line-height: 160%;
  position: relative;
  margin-bottom: 20px;
}

.attribute-list-name-container {
  height: 72px;
  width: 100%;
  background-color: var(--white);
  box-sizing: border-box;
  align-items: center;
  z-index: inherit;
  justify-content: left;
  box-sizing: border-box;
}

.element-name {
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  color: var(--model-name-input-black);
  margin-bottom: 5px;
}

.attribute-close-button-container {
  display: flex;
  justify-content: right;

  height: auto;
  overflow: hidden;
  padding-right: 5px;
}

.attribute-title {
  margin-top: 12px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 160%;
  font-weight: 500;
}

.attribute-list-element {
  height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  justify-content: space-between;
}

.button-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  width: auto;
}

.close-attributes-button {
  height: 11.67px;
  width: 11.67px;

  border-color: black;
}

.close-attributes-button:hover {
  cursor: pointer;
}

.element-name-input-field {
  height: 32px;
  width: calc(100% - 30px);
  border-radius: 4px;
  border: 1px solid var(--grey);
  box-sizing: border-box;

  padding: 12.5px 12px 12.5px 12px;
  outline: none;
  font-size: 12px;
  color: var(--model-name-input-black);
}

.ICSfunction-name-input-field {
  height: 20px;
  width: calc(100% - 25px - 5px - 5px - 5px);
  border: none;
  border-bottom: 2px solid rgb(198, 195, 195);
  outline: none;
  display: none;
}

.ICSfunction-name-input-field:focus {
  border: none;
  border-bottom: 2px solid rgb(198, 195, 195);
}

.element-attribute-field {
  height: 32px;
  width: calc(100% - 25px - 5px - 5px - 5px);
  width: calc(100% - 30px);
  border-radius: 4px;
  box-sizing: border-box;
  border: 1px solid var(--grey);
  padding: 12.5px 12px 12.5px 12px;

  outline: none;
}

.ICSfunction-attribute-field {
  height: 20px;
  width: calc(100% - 25px - 5px - 5px - 5px);
  margin-left: 5px;
  outline: none;
}

.attribute-inputs-section {
  margin-bottom: 10px;
}

.add-attribute-input-field-button-container {
  width: 100%;
  max-width: 124px;
  height: 36px;
  padding: 7px 8px 7px 8px;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: var(--light-color);
  font-family: var(--font);
  position: absolute;
  display: flex;
  background-color: #3b82f6;
  justify-content: space-around;
  align-items: center;
}

.add-attribute-input-field-button-container:hover {
  cursor: pointer;
}

.add-attribute-input-field-button-symbol {
  width: 11px;
  height: 11px;
  --b: 1.25px;
  --c: #3b82f6 90deg, #ffffff 0;
  aspect-ratio: 1;
  background: conic-gradient(from 90deg at var(--b) var(--b), var(--c))
    calc(100% + var(--b) / 2) calc(100% + var(--b) / 2) / calc(50% + var(--b))
    calc(50% + var(--b));
  line-height: 160%;
}

.remove-attribute-input-field-button {
  width: 20px;
  height: 20px;

  cursor: pointer;
}

.add-attribute-input-field-button-text {
  color: #ffffff;
  font-size: 14px;
  line-height: 160%;
}

.remove-attribute-input-field-button-symbol {
  width: 100%;
  height: 100%;
}

.attribute-list-drag-handle {
  width: 5px;

  background-color: #ffffff;
  cursor: col-resize;
  box-shadow: -5px 0px 10px rgba(213, 210, 210, 0.1);
  overflow: hidden;
}

.threat-list {
  height: 0%;
  max-height: 60vh;
  min-height: 0vh;
  width: 100%;

  grid-area: threat-list;
  background-color: white;
  overflow: auto;
  z-index: 30;
  align-self: end;
  display: none;
  position: relative;

  box-sizing: border-box;
}

.threat-list-header {
  position: sticky;
  top: 0;
  height: auto;
}

.close-threat-list-button-container {
  height: 15px;
  width: 15px;
  cursor: pointer;
}

.inline-threat-list-drag-handle {
  height: 5px;
  border-top: var(--drag-handle-height) solid #e9e9ea;
  background: var(--white);
  z-index: 40;
  cursor: row-resize;
  box-sizing: border-box;
}

.threat-list-close-box-container {
  height: 20px;
  display: flex;
  justify-content: flex-end;
  margin-right: 24px;
}

.scroll-container {
  overflow: auto;
  max-height: calc(60vh - 5px - 20px);
  height: calc(100% - 5px - 20px);
}

.threat-list-element-container {
  overflow: auto;
  height: 100%;
}

.threat-list-element {
  height: auto;
  width: calc(100% - 24px - 24px);
  max-width: 100%;
  /* border-top: 2px solid rgb(198, 195, 195); */
  background-color: #3b82f6;
  margin-left: 24px;
  margin-bottom: 5px;
  margin-right: 24px;
  border-radius: 5px;
  box-sizing: border-box;
}

.threat-list-element.function-selected {
  background-color: #3b82f6;
  padding-bottom: 7px;
}

.threat-list-element:hover .threat-list-function-header.in-scope-color {
  background-color: #3b82f6;

  cursor: pointer;
}

.threat-list-element:hover .threat-list-drop-down.in-scope-color {
  background-color: #3b82f6;
  border-radius: 5px;

  cursor: pointer;
}

.threat-list-element.in-scope-color:hover {
  background-color: #3b82f6;

  cursor: pointer;
}

.threat-question-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.threat-question-input-container {
  height: auto;
  width: auto;

  background-color: rgb(255, 255, 255);

  margin-left: 4vh;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.threat-question-input-field {
  width: 400px;
  height: 15px;
  margin-bottom: 5px;
}

.threat-list-close-box-container {
  height: 20px;
}

.threat-list-function-header {
  height: 25px;
  width: 100%;
  background-color: #3b82f6;
  display: flex;
  align-items: center;
  color: var(--dark-color);
  font-size: 13px;
  font-style: bold;
  font-family: Arial;
  user-select: none;
}

.dropdown-symbol.dropdown-horizontal {
  width: 0;
  height: 0;
  border-top: 5.1px solid transparent;
  border-left: 8px solid white;
  border-bottom: 5.1px solid transparent;
  margin-left: 8px;
  margin-top: 8px;
  transform: rotate(0turn);
  cursor: pointer;
}

.dropdown-symbol {
  width: 0;
  height: 0;
  border-top: 5.1px solid transparent;
  border-left: 8px solid white;
  border-bottom: 5.1px solid transparent;
  margin-left: 8px;
  margin-top: 8px;
  transform: rotate(0.25turn);
  cursor: pointer;
}

.threat-list-function-header.in-scope-color {
  background-color: #3b82f6;
  border-radius: 4px;
}

.threat-list-function-header.in-scope-color.function-selected {
  background-color: #3b82f6;
}

.threat-list-function-name {
  color: white;
  font-size: 12px;
  font-family: var(--font);
  line-height: 160%;
  width: 230px;
  min-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.threat-list-function-name.function-selected {
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.threat-list-drop-down {
  height: 100%;
  width: 25px;
  background-color: #3b82f6;
  align-items: center;
  border-radius: 4px;
}

.threat-list-drop-down.in-scope-color {
  background-color: #3b82f6;
}

.threat-list-drop-down.in-scope-color.function-selected {
  background-color: #3b82f6;
}

.threat-list-drop-down-out-of-scope {
  height: 100%;
  width: 25px;
  background-color: grey;
  align-items: center;
}

.threat-list-out-of-scope-box {
  height: 70%;

  background-color: rgb(214, 21, 121);
  margin-left: 5%;
  cursor: pointer;
}

.threat-list-out-of-scope-box:checked {
  background-color: white;
  color: #3b82f6;
}

.threat-list-out-of-scope-text {
  margin-left: 5px;
  font-size: 12px;
  color: white;
  font-family: var(--font);
}

.threat-input-container {
  height: auto;
  background: #dee1e6;
  margin-left: 8px;
  margin-right: 8px;
  padding-bottom: 0px;
  border-radius: 0px 4px 0px 0px;

  cursor: default;
}

.threat-input-field-container {
  height: auto;
  background: inherit;
  display: flex;
  justify-content: space-between;
  background-color: white;
  padding: 4px 16px 4px 16px;
}

.threat-input-field-container-inter-spacing {
  margin-top: 6px;
}

.threat-numbering-container {
  height: auto;
  width: auto;
  background: inherit;
  padding-left: 3px;
  padding-right: 3px;
  font-family: Arial;
  font-size: 12px;
  color: var(--dark-color);
  align-content: center;
  user-select: none;
}

.threat-input-field {
  margin-left: 15px;
  margin-right: 5px;
  width: 60%;
  height: auto;
  background-color: #f1f3f4;
  border: none;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 12px;
  outline: none;
  text-overflow: wrap;
  overflow: hidden;
}

.criticality-text-container {
  height: auto;
  width: auto;
  margin-left: 15px;
  margin-right: 15px;
  margin-left: auto;
  background-color: inherit;
  font-family: Arial;
  font-size: 12px;
  color: var(--dark-color);
  align-content: center;
  user-select: none;
  font-family: var(--font);
  font-size: 12px;
}

.criticality-button-container {
  height: auto;
  width: auto;
  display: flex;
  background: inherit;
  margin-right: 50px;
}

.criticality-button-low,
.criticality-button-medium,
.criticality-button-high {
  height: 100%;
  width: auto;
  background: inherit;
  border-style: solid;
  border-width: 1px;
  border-color: #d9d9d9;
  cursor: pointer;
  font-family: Arial;
  font-size: 12px;
  color: var(--dark-color);
  align-content: center;
  padding-left: 3px;
  padding-right: 3px;
  justify-content: center;
  text-align: center;
  font-family: var(--font);
  font-size: 12px;
}

.low {
  width: 8ch;
  border-radius: 4px 0px 0px 4px;
}

.medium {
  width: 8ch;
}

.high {
  width: 8ch;
}

.criticality-button-low.criticality-button-low-selected {
  color: white;
  background-color: #3b82f6;
}

.criticality-button-medium.criticality-button-medium-selected {
  color: white;
  background-color: #3b82f6;
}

.criticality-button-high.criticality-button-high-selected {
  color: white;
  background-color: #3b82f6;
}

.add-input-field-button {
  width: 10px;
  height: 10px;
  margin-left: 5px;
  background-color: inherit;
  cursor: pointer;
}

.add-input-field-button:hover {
  background-color: rgb(225, 222, 222);
}

.add-input-field-button-symbol {
  --b: 2px;
  --c: #0000 90deg, var(--dark-color) 0;
  aspect-ratio: 1;
  background: conic-gradient(from 90deg at var(--b) var(--b), var(--c))
    calc(100% + var(--b) / 2) calc(100% + var(--b) / 2) / calc(50% + var(--b))
    calc(50% + var(--b));
}

.remove-input-field-button {
  width: 16px;
  height: 16px;
  background-color: inherit;
  display: flex;
  cursor: pointer;
}

.add-threat-button-space {
  height: auto;
  width: auto;
  display: flex;
  background: inherit;
  justify-content: right;
  margin-left: 8px;
  margin-right: 8px;
  background-color: #dee1e6;
  padding-right: 8px;
  padding-bottom: 8px;
  padding-top: 8px;
  border-radius: 0px 0px 4px 4px;
  cursor: default;
}

.add-threat-button-container {
  display: flex;
  background-color: #3b82f6;
  border-radius: 4px;
  padding: 4px 4px 4px 4px;
  cursor: pointer;
}

.add-threat-button-symbol {
  line-height: 160%;
  padding-right: 4px;
}

.add-threat-button {
  height: 14px;
  width: auto;
  color: white;
  font-family: var(--font);
  font-size: 14px;
  line-height: 160%;
}

.tab-container {
  height: auto;
  width: auto;
  display: flex;
  margin-left: 8px;
  margin-right: 8px;
  background: #dee1e6;
  border-radius: 4px 4px 0px 0px;
  align-items: center;
  position: relative;
}

.tab {
  width: 20px;
  background: #dee1e6;
  height: auto;
  padding-left: 5px;
  padding-right: 5px;
  overflow: hidden;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  font-family: Arial;
  font-size: 12px;
  color: var(--dark-color);
  align-content: center;
  user-select: none;
  padding-block: 2px;
  border-radius: 4px 4px 0px 0px;
  display: flex;
  justify-content: center;
  z-index: 30;
}

.tab.tab-selected {
  background: #ffffff;
  border-radius: 4px 4px 0px 0px;
  width: auto;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  border-bottom: 1px solid white;
  cursor: auto;
  font-family: var(--font);
  user-select: none;
}

.tab-separator {
  width: 1px;
  height: 12px;
  background: #b5b5b5;
  z-index: inherit;
  display: block;
}

.tab-separator-hidden {
  display: none;
}

.elem-menu {
  grid-column: 1;
  grid-row: 2 / 4;
  background: var(--white);
  height: 100%;
  width: auto;
  z-index: 20;
  border-right: var(--drag-handle-height) solid var(--grey);
  /* border-top: var(--drag-handle-height) solid black; */
  display: flex;
  flex-direction: column;
  padding: 24px 16px 32px 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.threat-model-security-report-container {
  height: 40px;
  width: auto;
  background-color: var(--grey);
  padding: 4px;
  border-radius: 5px;
  box-sizing: border-box;

  display: flex;
  justify-content: space-around;
  background-color: var(--box-fill-grey);
}

.threat-model-button {
  height: 100%;
  width: auto;
  background-color: var(--box-fill-grey);
  font-size: 10px;
  box-sizing: border-box;
  padding: 5px 12px 5px 12px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  border-radius: 4px;
  color: var(--threat-security-unselected-black);
}

.security-report-button {
  height: 100%;
  width: auto;
  background-color: var(--box-fill-grey);
  font-size: 10px;
  box-sizing: border-box;
  padding: 5px 12px 5px 12px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  border-radius: 4px;
  color: var(--threat-security-unselected-black);
}

.threat-model-security-report-container-selected {
  background-color: white;
  color: var(--threat-security-selected-black);
}

.model-name-container {
  margin: 24px 0px 0px 0px;
  width: auto;
}

.model-name-title {
  font-family: var(--font);
  font-size: 12px;
  line-height: 160%;
  padding-bottom: 3px;
  color: var(--model-name-black);
}

.model-name-input {
  height: 34px;
  width: 100%;

  background-color: var(--box-fill-grey);

  /* position: fixed; */
  /* top: 5px;
  left: 5px; */
  /* outline: none;*/
  border: none;
  font-family: var(--font);
  border-radius: 5px;
  box-sizing: border-box;
  padding: 6px 8px 6px 8px;
  line-height: 160%;
  font-weight: 500;
  color: var(--model-name-input-black);
  outline: none;

  /* border-bottom: 1.5px solid var(--dark-color); */
}

.stencil-title {
  height: 26px;
  width: auto;
  margin: 24px 0px 16px 0px;
  border-bottom: 1.5px solid var(--dark-color);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 160%;
  border-bottom: 1px solid var(--grey);
}

.stencil-section-container {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  width: auto;
  border-style: none;
  border-width: 2px;
  border-color: black;
  z-index: inherit;
  justify-content: space-between;

  /* position: fixed; */
  /* top: calc(50% - 100px); */
}

.stencil-container {
  display: flex;
  flex-direction: column;
  align-items: center;

  height: 62px;
  width: 74px;
  box-sizing: border-box;
  padding: 10px 10px 5px 10px;
  background-color: var(--box-fill-grey);
  border-radius: 4px;
  margin-bottom: 9px;
}

.individual-stencil-title {
  height: auto;
  width: 54px;
  max-width: 54px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: var(--threat-security-selected-black);
  line-height: 100%;
  margin-top: auto;
  text-align: center;
}

.elem-menu-button {
  height: 16px;
  width: 16px;
  background-color: var(--box-fill-grey);
  z-index: inherit;

  box-sizing: border-box;
}

.zone-text {
  padding-bottom: 11px;
}

.stencil-text-selected {
  color: var(--button-select-blue);
}

.zone-stencil-click-zone:hover,
.network-device-stencil-click-zone:hover,
.external-entity-stencil-click-zone:hover,
.host-device-stencil-click-zone:hover,
.embedded-device-stencil-click-zone:hover,
.ics-function-stencil-click-zone:hover,
.countermeasure-stencil-click-zone:hover {
  cursor: pointer;
}

.stencil-click-zone-selected {
  border: 1px solid var(--button-select-blue);
}

.zone {
  margin-top: 0px;
}

.countermeasure {
  margin-bottom: 0px;
}

/* .elem-menu-button:hover {
  cursor: pointer;
} */

.zone {
  border-style: dashed;
  border-width: 1.5px;
  border-color: red;
  box-sizing: border-box;
}

.zone-stencil-selected {
  border-color: blue;
}

.network-device {
  border-radius: 100%;
  border-style: solid;
  border-color: black;
  border-width: 1.5px;
}

.external-entity {
  border-style: solid;
  border-color: black;
  border-width: 1.5px;
}

.host-device {
  border-style: solid;
  border-color: black;
  border-width: 1.5px;
  border-radius: 5px;
}

.embedded-device {
  background: none;
}

.embedded-device-svg {
  fill: var(--box-fill-grey);
}

.ICS-process {
  border-color: black;
  border-width: 1.5px;
  background: none;
}

.ICS-process-circle {
  fill: #ffdf00;
  stroke-width: 0.5px;
  stroke: black;
}

.countermeasure {
  border-color: black;
  border-width: 1.5px;
  background: none;
}

.countermeasure-circle {
  fill: var(--threat-security-selected-black);
  stroke-width: 0.5px;
  stroke: var(--threat-security-selected-black);
}

.ICS-functions-list {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.ICS-functions-list-button {
  width: 100%;
  height: 30px;
  background-color: white;
  border: 1px solid #d2d2d5;
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 8px;
  text-align: center;
  line-height: 180%;
  padding: 0px 8px 0px 8px;
  box-sizing: border-box;
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.ICS-functions-list-button-selected {
  border: 1px solid var(--button-select-blue);
  color: var(--button-select-blue);
}

.background-coloring {
  background-color: var(--dark-color);
}

.background-coloring::-webkit-scrollbar-track {
  background-color: var(--dark-color);
  background-color: blue;
}

.background-coloring::-webkit-scrollbar-thumb {
  background-color: var(--grey);
}

.report-header {
  display: none;
  height: 50px;
  background-color: var(--white);
  align-items: center;

  font-family: var(--font);
  font-size: 20px;
  color: var(--dark-color);
}

.ICS-function-header {
  margin: 0px 10px 0px 10px;
  font-family: var(--font);
  font-size: 20px;
}

.ICS-function-separator {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  background-color: #d2d2d5;
}

.ICS-function-container {
  height: auto;
  margin: 10px 10px 10px 10px;
  margin-bottom: 30px;
  display: flex;
  align-items: stretch;
}

.ICS-function-model-sticky {
  height: auto;
  width: auto;
  position: sticky;
  top: 10px;
}

.ICS-function-model-container {
  height: auto;
  width: 50%;
  max-width: 50%;
  min-width: 50%;
  background-color: #f1f5f9;
  margin-right: 5px;
  flex: 1;
  position: relative;
}

.ICS-function-canvas-container {
  height: auto;
  width: auto;
  max-width: 100%;
  min-width: 200px;
  overflow: auto;
  background-color: white;
  scrollbar-gutter: auto;
  box-sizing: border-box;
}

.ICS-function-canvas-container::-webkit-scrollbar-track {
  background-color: var(--grey);
}

.ICS-function-canvas {
  height: auto;
  width: auto;
  min-width: 100%;
  background-color: white;
  position: sticky;
}

.ICS-function-threat-container {
  height: auto;
  max-width: 50%;
  background-color: #f1f5f9;
  padding: 0px 10px 0px 10px;
  padding-right: 0px;
  flex: 1;
}

.no-functions-present {
  height: 40px;
  background-color: #3b82f6;
}

.report-threat-question-container {
  height: auto;
  width: auto;
}

.report-no-function-container {
  height: auto;
  width: auto;
  background-color: var(--light-color);
  position: absolute;
  top: 20%;
  left: calc(50% - 12ch - 10px);
  padding: 0px;
}

.threat-question {
  height: auto;
  width: auto;
  background-color: #3b82f6;
  color: var(--light-color);
  margin-top: 10px;
  padding: 10px;
  font-family: var(--font);
  border-radius: 10px;
}

.threat-question-I1 {
  margin-top: 0px;
}

.report-threat-list-element-container {
  list-style-position: outside;
}

.ICS-function-model-and-header-sticky-container {
  height: auto;
  position: sticky;
  top: 10px;
}

.threat-entry {
  font-weight: normal;
  margin-top: 4px;
  margin-bottom: 4px;
  width: calc(100% - 7ch);
}

.threat-entry-container {
  display: flex;
  width: 100%;
}

.threat-entry-crtiticality {
  display: flex;
  width: 8ch;
  height: 20px;
  margin-top: 8px;
  margin-right: 6px;
  justify-content: center;
  align-items: center;
  font-size: 12px;

  border-radius: 100px;
}

.threat-entry-crtiticality-low {
  background-color: #ffffff;
  color: black;
}

.threat-entry-crtiticality-medium {
  background-color: #d2d2d5;
  color: black;
}

.threat-entry-crtiticality-high {
  background-color: #e02323;
  color: white;
}

.threat-entry-crtiticality-none {
  background-color: black;
  height: 5px;
}

.tip-window {
  display: none;
  position: fixed;
  top: auto;
  left: auto;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background-color: #3b82f6;
  height: 50px;
  width: 200px;
  padding: 10px;
  border-radius: 8px;
}

.tip-window-text-box {
  background-color: #3b82f6;
  color: #ffffff;
  font-family: var(--font);
  font-size: 13px;
}

@font-face {
  font-family: "NunitoSans";
  src: url(05a22edaabffa3531080.ttf)
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

