/** WHILE REVAMPING UI: HIDE ELEMENTS */

#ContainerFeedback,
#controlButtonsOld,
#ContainerFooter {
  display: none !important;
}


:root {
  --active: #0352a6;
}


@font-face {
  font-family: Inter;
  src: url('./assets/Inter-VariableFont.ttf');
}

@font-face {
  font-family: MomentumFontIcon;
  src: url('./assets/MomentumFontIcon.woff2');
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #F0F2F3;

}

body {
  font-family: Inter;
  padding-top: 30px;
  /* overflow: hidden; */
}

body:has(dialog[open]) {
  overflow: hidden;
}

/* find icons on https://kyberheimen.com/iconbrowser/ */
.icon {
  background-size: contain;
  color: inherit;
  display: inline-block;
  font-family: MomentumFontIcon;
  font-style: normal;
  overflow: hidden;
  padding: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 16px;
}

.icon.wd {
  background-image: url('./assets/images/wd.svg');
}

h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 12px 0;
}

h3 {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 13px;
  margin-bottom: 10px;
}

a {
  color: var(--active);
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}


#ContainerRoomSvg {
  float: left;
  /* width: 60%; */
  width: 100%;
  padding: 20px;
  padding-bottom: 0px;
  transition: all 0.3s;
}

#ContainerForContainerRoom {
  float: none;
  overflow: hidden;
}

#sidebar {
  float: left;
  width: 40%;
  max-width: 400px;
  padding: 15px;
  max-height: 100%;
  margin-top: 1.3rem;
}

.sidebarNone {
  width: 12px;
}

#openSideBar {
  float: left;
  padding-right: 2px;
  margin-top: 2.3rem;
  padding-left: 0px;
  margin-left: 0px;
  width: 30px;
  height: 200px;
  margin-right: 10px;
  border-radius: 0px 10px 10px 0px;
}

#openSideBarBtn {
  position: absolute;
  left: 7px;
  top: 80px;
  padding-left: 0px;
}


#Container2 {
  display: inline-block;
  padding: 1rem 1rem;
  width: 30%;
}

#large-container {
  width: 3000px;
  height: 3000px;
  overflow: hidden;
  border-radius: 10px;
}

#scroll-container {
  /* width: calc(100% - 1px);
  height: calc(100vh + 15px); */
  overflow: auto;
  margin: 0px;
  border-radius: 10px;

}

img {
  -webkit-touch-callout: none;
}


.micButtons {
  padding: 5px;
  margin: 5px;
}

.classDegree {
  font-size: x-large;
}

.ContainerInputsFeedback {
  padding: 1rem;
  width: 100%;
  background-color: white;
  border-radius: 10px;
  min-height: 520px;
}

.ContainerHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: black;
  color: white;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0 20px;
  font-size: 20px;
  gap: 16px;
}

.beta {
  color: #64bffa;
  font-size: 14px;
}

dialog .subtle {
  color: #ccc;
  font-size: 14px;
}

button {
  touch-action: manipulation;
  outline: none;
}

button:not(:disabled) {
  cursor: pointer;
}



.ContainerHeader button {
  border: 0;
  background-color: transparent;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 10px;
}

.ContainerHeader button.primary {
  background-color: white;
  color: black;
  border-radius: 30px;
  padding: 7px 15px;
  gap: 10px;
}

.ContainerHeader button:hover:not(:disabled) {
  background-color: #222;
}

.ContainerHeader button.primary:hover {
  background-color: #ddd;
}

.ContainerHeader button:disabled {
  opacity: 0.6;
}

#ContainerFooter {
  display: inline-block;
  border: 1px solid rgb(12, 6, 30);
  padding: 1rem 1rem;
  background-color: black;
  color: white;
  outline: #000000 solid 10px;
  width: 100%;
}

#lblHeaderTitle {
  font-size: 1.2rem;
  display: block;
}

#lblSubtitle {
  font-size: 16px;
  color: #64bffa;
  margin: 0 9px;
}

.inputWrap {
  display: inline;
  margin: 10px;
}

.inputRow {
  display: flex;
  gap: 20px;
  align-items: center;
}

.inputField {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 20px;
}

.inputFieldRow {
  flex-direction: row;
  max-width: 280px;
}


.inputFieldMaxWdith {
  max-width: 380px;
}

.inputField label {
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

input,
textarea,
select {
  background-color: white;
  border: 2px solid #888;
  border-radius: 6px;
  padding: 6px;
}

input:disabled,
textarea:disabled {
  color: #999999;
  border-color: #e5e5e5;
  opacity: 1;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus {
  border-color: #64bffa;
  outline: 1px solid #64bffa;
}

.unitFeetMeters,
.unitInches,
.classDegree {
  position: absolute;
  top: 2.5em;
  right: 1em;
}

.inputCellLeft1 {
  display: inline-block;
  width: 11rem;
}

.inputCellLeft2 {
  display: inline-block;
  width: 14.5rem;
}

.inputCellLeftShort {
  display: inline-block;
  width: 5rem;
}

.inputCellRight {
  display: inline-block;
}


.inputCellRightWide {
  display: inline-block;
  width: 15rem;
}

.divUpdateButton {
  display: inline-block;
}

input:placeholder-shown {
  font-style: italic;
}

.classCustomSettings {
  background-color: lightgrey;
  padding: 5px;
  margin-top: -10px;
  margin-bottom: 10px;
}

.selectRole {
  width: 100%
}

.button {
  border: 0;
  border-radius: 12px;
  font-size: 0.8rem;
  padding: 8px 24px;
  background-color: black;
  color: white;
  width: fit-content;
  touch-action: manipulation;
  cursor: pointer;
  align-self: center;
}

.button:hover {
  background-color: #222;
}

.button:active {
  box-shadow: 0 1px #777;
}

.button:disabled {
  opacity: 0.6;
  cursor: auto;
}

.button:hover:disabled {
  background-color: black;
}

.buttonWidth {
  width: 250px;
  margin: 5px;
  margin-top: 10px;
  margin-bottom: 10px;

}

.wallButton {
  border: 0px;
  border-radius: 12px;
  font-size: 0.7rem;
  padding: 4px 12px;
  background-color: rgb(199, 199, 199);
  color: black;
  width: max-content;
  touch-action: manipulation;
  cursor: pointer;
  align-self: center;
  position: absolute;
}

.wallButton:hover {
  background-color: #575757;
  color: rgb(199, 199, 199);
}

.wallButton:active {
  box-shadow: 0 1px #777;
  color: white;
}

.wallButton:disabled {
  opacity: 0.6;
  cursor: auto;
}

.wallButton:hover:disabled {
  background-color: black;
}

.wallButtonSelected {
  background-color: #000000;
  color: white;
}

.wallButtonSelected:hover {
  color: white;
  background-color: black;
}


.wallSelection {
  width: 50px;
  height: 50px;
  background-image: url('./assets/images/wallsAll.png');
  position: absolute;
}

.doorSelection {
  width: 150px;
  height: 150px;
  background-image: url('./assets/images/roomBackgroundDoors.png');
  position: absolute;
  /* transform: rotate(90deg) translate(10px, 10px); */
}

.doorSelectionOuter {
  position: absolute;
}

.doors {
  position: absolute;
  width: 45px;
  opacity: 1;
  padding: 8px;
  border-radius: 4px;
}

.doorButton {
  border: 3px solid white;
  border-radius: 12px;
  font-size: 0.7rem;
  padding: 4px 12px;
  background-color: rgb(199, 199, 199);
  color: black;
  width: max-content;
  touch-action: manipulation;
  cursor: pointer;
  align-self: center;
  position: absolute;
}

.doors:hover {
  background-color: lightgray;
  opacity: 1;
}

.doorSelected {
  opacity: 1;
  border: 3px solid rgb(69, 85, 230);
  border-radius: 4px;
  padding: 5px;
}

.noDoorSelected {
  border: 3px solid white;
  outline:  3px solid rgb(69, 85, 230);
  background-color: black;
  color: white;
}

.parentWallSelection {
  display: flex;
  justify-content: center; /* Centers horizontally */
  height: 100px; /* height for the parent */
}


/* .holdIndicator {
  font-size: 5px;
  position: relative;
  bottom: -6px;
  left: 3px;
  background-color: transparent;
} */

.underlineHeader {
  font-weight: bold;
  text-decoration: underline;
}

.dynamicText {
  font-weight: bold;
}

.infoText {
  font-size: small;
  color: #2196F3;
  text-align: center;
}

.keyFOVitem {
  padding-top: 7px;
}

.highlightRed {
  background-color: rgb(232, 197, 197);
  border-style: solid;
  border-color: #000000;
  border-width: 1px;

}

.tip {
  font-size: 12px;
  background-color: #eee;
  border-radius: 1.5em;
  padding: 0.6em 1.5em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  text-align: center;
  margin: 0 auto;
}

.tab {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
  color: #545454;
  margin-bottom: 1em;
  position: relative;
}

.tablinks,
.subtablinks,
.subtablinks2 {
  border: 0;
  background: transparent;
  color: inherit;
  padding-bottom: 10px;
}

.tablinks.active,
.subtablinks.active,
.subtablinks2.active {
  border-bottom: 3px solid black;
}

.subtablinks,
.subtablinks2 {
  font-size: 0.8em;
}

/* Style the tab content */
.tabcontent,
.tabcontent2 {
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.subtabcontent,
.subtabcontent2 {
  display: none;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 210px);
  position: relative;
  min-height: 400px;
}

.subtabcontent, .subtabcontent2, .button-group, .menuReach-item, .menuReach, .menuReachClearButton {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}


.selectableMenuItems {
  display: inline-flex;
  -webkit-user-select: initial;
  /* Safari */
  -ms-user-select: initial;
  /* IE 10 and IE 11 */
  user-select: initial;
  /* Standard syntax */
}

.selectableMenuItemDiv {
  display: inline-flex;
}

.selectableHover:hover {
  background-color: #ADD8E6;
  opacity: 0.9;
}

#Insert,
#Item {
  padding: 0px 0px;
}

.static {
  cursor: not-allowed;
}

#svgDiv {
  position: absolute;
  visibility: hidden;
  display: none;
  /* hiddern or visible */
}

#controlButtons {
  position: relative;
  display: flex;
  gap: 10px;
  margin: 1em 0;
  /* max-width: 850px; */
  max-width: 650px;
  overflow-x: auto;
}

.button-group {
  display: flex;
  background-color: white;
  border-radius: 30px;
  align-items: center;
  font-size: 12px;
  padding: 2px 6px;
  column-gap: 4px;
}

.spacer {
  flex-grow: 1;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: 0;
  touch-action: manipulation;
}

.btn.active {
  background-color: #d6eaff;
  border-radius: 20px;
  color: #000;

}

.roleSelectButton {
  outline: none;
  box-shadow: none;
  border: 1px solid black;
  display: flex;
  align-items: center;
  background-color: white;
  color: black;
  border-radius: 30px;
  padding: 7px 15px;
  width: 250px;
  margin: 20px;
  margin-left: auto;
  margin-right: auto;
  gap: 10px;
  text-align: center;
}

.roleSelectButton:hover {
  background-color: #ddd;
}

.roleSelectButton:disabled {
  opacity: 0.6;
}


.dialogWhiteBox {
  border-radius: 20px;
  padding: 19px 70px;
  background-color: white;
  min-width: 400px;
  max-width: 700px;
  /* consider removing this  */
  /* max-height: 700px;  */
  outline: none;
  border: 0.1px solid rgb(161, 161, 161);
  /* overflow-y: hidden; */
  box-shadow: 4.0px 8.0px 8.0px hsl(0deg 0% 0% / 0.38);
}

.dialogWhiteBoxHeader {
  background-color: white;
  color: black;
  padding: 0.5em;
  text-align: center;
  font-weight: 500;

}


.holdIndicator {
  width: 5.5px;
  /*width of your image*/
  content: url('./assets/images/expandImageTriangle.png');
  margin: 0;
  /* If you want no margin */
  padding: 0;
  /*if your want to padding */
  font-size: 5px;
  position: relative;
  bottom: -6px;
  left: -4px;
  background-color: transparent;

}

#controlButtons button {
  width: 30px;
  height: 30px;
}

#controlButtons button label {
  display: none;
}

.material-symbols-outlined {
  font-size: x-large;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 20
}

.downloadButtons {
  text-align: center;
}

/* Following items control the Flex box */
.containerItems {
  margin-left: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px 8px;
  cursor: move;
}

.flexItemsTemp {
  padding: 0;
  margin: auto;
  margin-right: 4px;
  margin-left: 4px;
  margin-bottom: 5px;
  list-style: none;
  align-content: center;
  width: 100px;
  height: 140px;
}

.flexItems {
  list-style: none;
  width: 92px;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1em;
  /* border: 1px solid purple; */
}

.flexItems:hover {
  background-color: #ADD8E6;
  opacity: 0.9;
}

.flexSubItemImage {
  margin: auto;
  width: 100%;
  height: 60px;
  object-fit: contain;
  position: relative;
  pointer-events: none;
}

.flexSubItemLabel {
  width: 100%;
  font-size: 11px;
  margin-top: 0px;
  height: 3.55em;
  font-weight: 500;
  overflow-y: hidden;
  text-align: center;
}

.menuDivider {
  width: 100%;
  margin-top: 2em;
  font-size: 14px;
  color: #444;
}

#room-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.room-template {
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
}

.room-template img {
  height: 120px;
  max-width: 100%;
  border: 1px solid var(--active);
  object-fit: contain;
}

.templateLinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  gap: 10px;
  background-color: transparent;
}

.templateLinks:hover {
  text-decoration: underline;
}

.templatelinks:hover {
  background-color: #ADD8E6;
}

#singleShadingDiv button:hover {
  background-color: #eee;
}

.my-blurred-div {
  filter: blur(3px);
}



/* based on tool tip example from https://www.w3schools.com/css/css_tooltip.asp */
.tooltip {
  position: relative;
  display: inline-block;
  /* border-bottom: 1px dotted black; */
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 5px;
  position: absolute;
  bottom: 115%;
  left: 100px;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 1.4s 0.2s;
}

a.tooltip a.tooltiptext {
  color: lightblue;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transition-delay: 1s;
}

.tooltip:hover .tooltiptextLeft {
  left: 17px;
  width: 180px;
  transition-delay: 1s;
}

/* tool tips for icons */

.tooltipIcon {
  position: relative;
  display: inline-block;
}

.tooltipIcon .tooltiptextIcon {
  visibility: hidden;
  width: 200px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 5px;
  position: absolute;
  z-index: 1;
  bottom: 115%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 1.4s 0.2s;
}



.tooltipIcon .tooltiptextIcon::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

a.tooltipIcon a.tooltiptextIcon {
  color: lightblue;
}

.tooltipIcon:hover .tooltiptextIcon {
  visibility: visible;
  opacity: 1;
  transition-delay: 1s;
}

/* tooltip bottom */

.tooltipBottom {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.tooltipBottom .tooltiptextBottom {
  visibility: hidden;
  width: 200px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 100px;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 1.4s 0.2s;
}

.tooltipBottom .tooltiptextBottom::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltipBottom:hover .tooltiptextBottom {
  visibility: visible;
  opacity: 1;
  transition-delay: 1s;
}

.tooltipBottom:hover .tooltiptextLeft {
  left: 17px;
  width: 180px;
  transition-delay: 1s;
}

/* tooltipTitle mimics the title attribute feature */

.tooltipTitle {
  position: relative;
  display: inline-block;
  /* border-bottom: 1px dotted black; */
}

.tooltiptextTitle {
  display: none;
}


.tooltipTitle .tooltiptextTitle {

  font-size: x-small;
  min-width: max-content;
  background-color: rgb(207, 207, 207);
  color: #000000;
  text-align: center;
  border-radius: 2px;
  padding: 4px 8px;
  position: absolute;
  bottom: 120%;
  z-index: 100;
  left: -45px;
  margin-left: 0px;
  opacity: 1;
  border: black;
  transition: opacity 200ms 2s;
  height: 28px; /* Firefox ignoes the min-height, so putting in a minimum height */
  min-height: fit-content;
  /* transition: opacity 2s 1s ease-in, visibility 3s 1s ease-in 2ms; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}


.tooltipTitle:hover .tooltiptextTitle {
  /* visibility: visible;
  opacity: 1; */

}


.sliderB {
  appearance: none;
  width: 90%;
  height: 10px;
  background: #AAAAAA;
  border-radius: 12px;
  padding: 0px;
}

/* checkbox toggle CSS swith checkbox*/
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25.5px;
  touch-action: manipulation;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .5s;
  transition: .5s;
  touch-action: manipulation;
}

.slider:before {
  position: absolute;
  content: "";
  height: 19.5px;
  width: 19.5px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(19.5px);
  transform: translateX(19.5px);
}

.slider.round {
  border-radius: 25.5px;
}

.slider.round:before {
  border-radius: 50%;
}

.whiteUnderlinedLink {
  outline: none;
  color: white;
  text-decoration: underline;
}

#quickSetup {
  display: none;
}

.close-button {
  position: absolute;
  top: 1em;
  right: 1em;
  border: 0;
  background: transparent;
}

.closeOpenButton {
  display: inline;
  padding: 0px;
  padding-right: 0px;
  float: right;
  transform: translate(0px, 0px);

}


dialog {
  border-radius: 20px;
  padding: 0;
  background-color: white;
  min-width: 400px;
  max-width: 700px;
  /* consider removing this  */
  /* max-height: 700px;  */
  outline: none;
  /* overflow-y: hidden; */
  /* box-shadow: 4.0px 8.0px 8.0px hsl(0deg 0% 0% / 0.38); */
}

dialog::backdrop {
  background-color: #90909055;
  backdrop-filter: blur(1px);
}



dialog hr {
  margin: 2em 0;
}

dialog header {
  background-color: black;
  color: white;
  padding: 2em;
  text-align: center;
}

dialog header .buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2em;
}

dialog header button {
  background-color: #222;
  color: white;
  border-radius: 1em;
  padding: 1em 2em;
  border: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

dialog header button:hover {
  background-color: #444;
}

.buttonHighlight {
  /* border: 2px;
  border-color: #2196F3;
  border-style:solid; */
  border-color: #64bffa;
  outline: 2px solid #64bffa;
}

dialog main {
  padding: 2em;
  max-height: 70vh;
  overflow-y: auto;

}

#dialogQuestions main {
  font-size: 14px;
  font-family: Inter;
}


dialog #quick-setup {
  display: none;
  justify-content: center;
}

dialog.rightClickMenu::backdrop {
  background: none;
  backdrop-filter: unset;
}

body:has(dialog.rightClickMenu[open]) {
  overflow: unset;
}

.dialogLoadingTemplate {
  margin: 10px;
}

.hideScroll {
  overflow: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.hideScroll::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, and Opera */
}

.closeDialogX {
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  color: rgb(145, 137, 137);
}

.closeDialogX:hover {
  color: rgb(255, 255, 255);
}

#btnToggleUnit {
  position: absolute;
  right: 0px;
  bottom: 0px;
  background-color: white;
  border-radius: 20px;
  border-width: thin;
  border-style: solid;

}

.minimizeMaximize {
  position: absolute;
  top: 1px;
  right: 3px;
  cursor: pointer;
  color: rgb(0, 0, 0);
}

/* grey right-click menu */
/*
.rightClickMenu {
  background-color: #ececec;
  width: 200px;
  border-color: #7d7e7d;
  border-width: 1px;
  padding: 6px;
  cursor: default;
  border-radius: 5px;
  font-size:smaller;
  min-width: 250px;
  box-shadow: 4.0px 8.0px 8.0px hsl(0deg 0% 0% / 0.38);
} */

.rightClickMenu {
  width: 200px;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 5px;
  padding: 5px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-size: small;
  font-size: smaller;
  min-width: 250px;
  cursor: default;
  padding: 0px;
  box-shadow: 4.0px 8.0px 8.0px hsl(0deg 0% 0% / 0.38);
}

/* former dark .rightClickMenu */
.pleaseWaitDialog {
  background-color: #333;
  color: white;
  width: 200px;
  border-color: #7d7e7d;
  border-width: 1px;
  padding: 0px;
  cursor: default;
  border-radius: 5px;
  font-size: smaller;
  min-width: 250px;
  box-shadow: 4.0px 8.0px 8.0px hsl(0deg 0% 0% / 0.38);
}

dialog.pleaseWaitDialogNoBackdrop::backdrop {
  background: none;
  backdrop-filter: unset;
  width: 150px;
  min-width: 140px;
}




.rightClickMenuDiv {
  padding: 6px;
  border-radius: 5px;
  border-width: 1px;
}

.rightClickMenuItem,
.rightClickMenuItemDisable {
  padding-left: 5px;
}

.rightClickMenuItem:hover {
  background-color: #c5c7c8;
}


.rightClickMenuItemDisable {
  color: rgb(163, 162, 162);
  cursor: default;
}

.rightClickMenuShortCutText {
  color: rgb(163, 162, 162);
  float: right;
  padding: 0px;
  padding-right: 6px;
}

hr.rightClickHorizontalLine {
  height: 1px;
  background-color: rgb(105, 104, 104);
  border: none;
  margin: 5px;
}

.menuReach {
  position: absolute;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 5px;
  padding: 5px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: small;
  min-width: 160px;
}

.menuReach-item {
  display: flex;
  align-items: center;
  padding-left: 8px;
  padding-right: 12px;
  padding-top: 4px;
  padding-bottom: 4px;
  cursor: pointer;
  user-select: none;
}

.menuReachItem-checkbox {
  margin-right: 8px;
}

.menuReachClearButton {
  padding: 8px 12px;
  cursor: pointer;
  background-color: rgb(255, 255, 255);
  color: #000;
  width: 130px;
  margin: 0px 5px;
}

.menuReachClearButton:hover {
  background-color: #d6eaff;
  border-radius: 25px;

}

.menuMore {
  position: absolute;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 5px;
  padding: 5px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: small;
}

.menuMoreInputField {
  position: relative;
  display: flex;
  /* flex-direction: column; */
  gap: 10px;
  flex-grow: 1;
  /* align-items: stretch; */
  justify-content: space-between;
  margin-bottom: 10px;
}

.menuMoreInputField label {
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}



.scrollButton {
  /* transform: translate(-50%, 100%); */
}

.hideScrollButton {
  background-color: rgb(255, 255, 255);
  height: 100px;
  z-index: 1000;
  position: relative;

}

.tablinksfake{
  display: none;
}

.pleaseWaitDialog {
  min-width: fit-content;
  min-height: fit-content;
  padding: 12px;
}

.scrollButtonContainer {
  position: absolute;
  bottom: 30px;
  /* left: 130px; */
  transform: translateX(-50%);
  /* background-color: #007BFF;
 color: rgba(255, 255, 255, 0.862);
 padding: 5px 10px;
 border: 3px;
 cursor: pointer;
 font-size: 10px;
 border-radius: 3px; */
}


/** keep in DOM but hide for users */
.debug-info {
  display: none;
}


#newRoomDialog {
  max-height: 95vh;
}


 .displayWhenLessThan900{
    display: none;
    background-color: red;
  }

/* specificaly for the iPhone SE */
@media screen and (max-width: 405px) {
  dialog header button{
    padding: 1em 1em;
  }


  .closeDialogX {
    right: unset;
    top: 15px;
    left: 10px;
  }
}

@media screen and (max-width: 650px) {
  .ContainerHeader {
    gap: 2px;
  }

  #lblHeaderTitle {
    display: none;
  }

  .ContainerHeader #lblSubtitle {
    display: none;
  }

  .ContainerHeader button span {
    display: none;
    /* only show icons in header buttons */
  }

  .ContainerHeader i {
    padding: 0;
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 24px;

  }

  .primary i {
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
  }

  dialog header button{
    font-size: 10px;
  }


}

.dropDownJSON, .dropDownPNG {
    position: relative;
    display: inline-flex;
    overflow: visible;

    gap: 2px;
}

.drpDownBtnMain {
    padding-left: 70px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    width: 300px;
    margin-bottom: 20px;
    border: 1px solid black;
    outline: none;
}

.dropDownBtnWhite {
    outline: none;
    box-shadow: none;
    border: 1px solid black;
    background-color: white;
    color: black;
}

.dropDownBtnWhite:hover {
  background-color: #ddd;
}
.drpDownBtnMainFull{
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  width: 338px;
  margin-bottom: 20px;
  outline: none;
}

.drpDownBtnArrow {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 8px 10px;
    border: 1px solid black;
    outline: none;
}

.dropDownBtnMenu {
    display: none;
    /* hide until toggled */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    color: #000000;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: left;
    padding: 0;
    margin-top: -20px;
    border-radius: 0.25rem;
    border:#000 solid 0.3px;
}


.dropDownMenuItem {
    display: block;
    white-space: nowrap;
    padding: 8px 12px;
    cursor: pointer;
    min-width: 338px;
    font-size: small;

}

.dropDownMenuItem:hover,
.dropDownMenuItem:focus {
    background-color: #dddddd;
    color: #222222;

}

.iconLeftOfText{
  position:absolute;
  left: -23px;
  top: -4px;
}

.showJSONDropDown,
.showPNGDropDown {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    width: max-content;
}

#floatingWorkspace { display:flex; margin:0; padding:0; resize:both; overflow:hidden; flex-direction: column;}
#floatingWorkspace > #iFrameFloatingWorkspace { flex-grow:1; margin:0; padding:0; border:0 }

@media screen and (max-width: 783px) {

  #newRoomDialog {
    max-height: 0%;
  }

  .ContainerHeader {
    gap: 2px;
  }

  dialog {
    /* max-width: 100vw;
    max-height: 100vh; */
    min-width: 100%;
    min-height: 100%;
    border-radius: 0px;
    max-height: 0px;
  }

  .dialogWhiteBox {
    min-height: initial;
    min-width: initial;
    max-width: 95%;
    border-radius: 30px;
    max-height: 80%;
    padding: 20px;
  }

  h2 {
    margin: 6px 0;
  }


  #newRoomDialog header {
    padding: 0.5em;
    padding-bottom: 1em;
  }

  dialog header .buttons {
    margin-top: 1em;
  }



  .closeDialogX {
    color: white;
    top: 25px;

  }

  dialog::backdrop {
    background-color: #90909055;
    backdrop-filter: blur(3px);
  }


}

.quick-dialog {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  max-width: 90vw;
  height: 500px;
  background-color: #222;
  color: white;
  padding: 1.5em;
  flex-direction: column;
  gap: 1em;
  border-radius: 1em;
}

.quick-dialog input {
  background-color: #444;
  color: white;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  max-height: 60vh;
  overflow-y: auto;
  gap: 5px;
}

.gallery button {
  list-style: none;
  width: 9em;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.3em;
  color: #eee;
  background-color: #333;
  border: 2px solid transparent;
}

.gallery button:focus {
  border: 2px solid #52adc7;
  background-color: #296679;
}

.gallery button img {
  object-fit: contain;
  max-width: 100%;
  height: 70px;
}

.gallery button label {
  text-align: center;
}

.gallery button:hover {
  background-color: #444;
}

/* On screens that are 1180px wide or less, go from four columns to two columns */
@media screen and (max-width: 900px) {

  body {
    height: max-content;
    overflow: auto;
  }

  #ContainerRoomSvg {
    width: 97.5%;
    padding: 0px;
    border-color: #000000;
    display: inline-block;
    vertical-align: top;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;

  }

  .subtabcontent,
.subtabcontent2 {
  position: relative;
  height: 490px;
}

  .classOpenMenuClosed{
    transform: rotate(-90deg);
  }

  #ContainerForContainerRoom {
    float: unset;
    overflow: unset;
  }

  #sidebar {
    width: 100%;
    padding: 0px;
    max-width: unset;
  }

  #controlButtons {
    gap: 5px;
    overflow-x: auto;
  }

  #controlButtons .spacer {
    display: none;
  }

  #Container2 {
    width: 100%;
    padding: 0px;
    padding-bottom: 10px;
    margin: 0px;
  }

  .ContainerInputsFeedback {
    width: 97.5%;
  }

  #ContainerInputs {
    margin-top: 10px;
    margin-right: -30px;
    margin-bottom: 10px;
    margin-left: -5xpx;
  }



  .inputCellLeft2 {
    width: 14rem;
  }

  .inputCellLeft1 {
    width: 10.5rem;
  }

  .button:hover {
    box-shadow: 0 1px #777;
  }

  #openSideBar {
    height: 45px;
    width: 97%;
    margin-top: 30px;
    padding-top: 10px;

  }

  .tablinksfake{
    padding-bottom: 0px;
    color:#838282;
    display:inline;
  }

  #closeOpenIcon {
    transform: rotate(90deg);
  }

 #openSideBarBtn {

    display: inline;
    padding: 0px;
    padding-right: 0px;
    transform: rotate(90deg);
    position: absolute;
    right: 30px;
    top: 75px;
    left:unset;

}


  .displayWhenLessThan900{
    display:contents;
    color:#888;
  }

}