html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.std-text {
  font-family: "Inter", sans-serif;
  /* color: #1a1e24; */
  color: #3a3e44;
  font-size: 14px;
  font-weight: 400;
}

.std-btn {
  border: none;
  outline: none;
  cursor: pointer;
  background-color: transparent;
  font-size: 14px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  height: 200px;
  color: #1a1e24;
}

.std-text-input {
  background-color: transparent;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #1a1e24;
  outline: none;
}

.screen-overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(245, 245, 247, 0.5);
  z-index: 10;
}

.rotate-180 {
  transform: rotate(180deg);
}

.space_10_y {
  height: 10px;
}

.space_12_y {
  height: 12px;
}

.space_14_y {
  height: 14px;
}

.space_15_y {
  height: 15px;
}

.err_page_container {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: #f6fafc;
  z-index: 6;
}

.err_page_center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.err_page_top_bar {
  width: 100%;
  height: 44px;
  padding: 0px 10px;
  display: flex;
  align-items: center;

  margin-bottom: 40px;
}

.err_page_bang_container {
  font-weight: 800;
  font-size: 30px;
  height: 50px;
  width: 50px;
  border-radius: 200px;
  background-color: #271d1d;
  color: #e0cece;
  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 10px;
}

.std-text.err_page_label {
  font-weight: 500;
  margin-bottom: 30px;
}

.std-btn.err_page_reload_btn {
  height: 34px;
  width: 225px;
  border-radius: 5px;
  background-color: #e7ecef;
  /* background-color: orange; */
  font-weight: 500;
  transition: 200ms;
}

.err_page_reload_btn:hover {
  background-color: #deebf1;
}

.load_page_container {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: #f6fafc;
  z-index: 10;
  padding-top: 50px;

  display: flex;
  flex-direction: column;
  align-items: center;

  transition: opacity 2ms ease-in-out 1ms;
}

.load_page_icon_slot {
  margin-bottom: 20px;
}

@keyframes spinner_rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.spinner {
  border: 5px solid transparent;
  border-radius: 50%;
  border-top: 5px solid #062f99;
  border-left: 5px solid #062f99;
  border-bottom: 5px solid #062f99;
  width: 30px;
  height: 30px;
  -webkit-animation: spinner_rotate 1.7s linear infinite; /* Safari */
  animation: spinner_rotate 1.7s linear infinite;
}

.std-text.bottom-explanation-container {
  position: absolute;
  top: calc(100% + 4px);
  right: 0px;
  padding: 7px;
  font-weight: 400;
  font-size: 12px;
  background-color: #252829;
  color: white;
  white-space: nowrap;
  z-index: 6;
}

.foreign-client-area-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  /* justify-content: space-between;  */
}

.std-text.foreign-client-area-circle {
  position: relative;
  width: 28px;
  height: 28px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: default;
}

.top-bar-container {
  position: relative;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 100%;
  padding: 0px 12px;
  background-color: #f5f8fe;
  /* background-color: #f6fafc; */
  border-bottom: 1px solid #e3e8f1;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-separator {
  width: 1px;
  height: 22px;
  background-color: #d3d8e1;
}

.std-text.top-bar-writer-label {
  background-color: #e0e7f2;
  border-radius: 30px;
  font-weight: 500;
  margin-left: 10px;
  height: 30px;
  padding: 0px 12px;
  font-weight: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.std-text.top-bar-status-label {
  font-weight: 13px;
  font-weight: 500;
  color: #6b768b;
  padding: 0px 12px;
}

.top-bar-row {
  display: flex;
  align-items: center;
}

.style-bar-item {
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: 80ms;
}

.style-bar-item.emphasized {
  /* background-color: #fafbfd; */
  /* background-color: #f3f5fb; */
  background-color: orange;
}

.style-bar-item.selected {
  /* background-color: #eaf2ff; */
  /* background-color: #f3f5fb; */
  background-color: orange;
}

.bold-selector-icon {
  width: 100%;
  height: 100%;
  font-family: "Times New Roman";
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.style-bar-dropdown-container {
  position: absolute;
  top: 100%;
  z-index: 5;
  width: 100%;
}

.style-bar-dropdown-sheet {
  position: relative;
  width: 100%;
  min-height: 20px;
  padding: 6px 0px;
  background-color: white;
  border: 1px solid #dadada;
  box-shadow: 0px 2px 10px 0px rgba(150, 150, 150, 0.25);
}

.std-text.style-bar-dropdown-row {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
}

.style-bar-dropdown-row:hover {
  background-color: #e0e8f8;
}

.style-bar-dropdown-row.selected {
  background-color: #e0e8f8;
}

.style-bar-dropdown-row.center {
  justify-content: center;
}

.style-bar-dropdown-row.left {
  justify-content: left;
  padding: 5px 10px;
}

.font-selector-container {
  position: relative;
  width: 115px;
  height: 100%;
}

.std-text-input.font-selector {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 3px 12px;
  cursor: pointer;
}

.italic-selector-icon {
  width: 100%;
  height: 100%;
  font-family: "Times New Roman";
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: #1a1e24;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-height-selector-container {
  position: relative;
  width: 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-height-selector-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-selector-container {
  position: relative;
  width: 48px;
  height: 100%;
}

.std-text-input.size-selector {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px 10px;
  cursor: pointer;
  text-align: center;
}

.style-bar-container {
  position: absolute;
  display: flex;
  top: calc(100% + 1px);
  left: 50%;
  height: 42px;
  transform: translateX(-50%);
  background-color: #fbfcff;
  /* background-color: #f5f8fe; */
  /* background-color: white; */
  border-bottom: 1px solid #e3e8f1;
  border-left: 1px solid #e3e8f1;
  border-right: 1px solid #e3e8f1;
  align-items: center;
  z-index: 5;
}

.top-bar-header-container {
  position: relative;
  display: flex;
  align-items: center;
}

.std-text.edit-top-bar-title {
  font-weight: 500;
  font-size: 13px;
  padding: 0px 8px;

  /* we want to truncate if it's too long */
  display: inline-block;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.std-btn.edit-top-bar-submit-btn {
  height: 32px;
  padding: 0px 8px;
  font-weight: 400;
  margin: 0px 4px;

  transition: 80ms;
}

.std-btn.edit-top-bar-submit-btn:hover {
  background-color: #062f99;
  color: white;
}

.edit-top-bar-right-container {
  display: flex;
  align-items: center;
}

.checkbox-container {
  width: 18px;
  height: 18px;
  border: 1px solid #3a3e44;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1e24;
  cursor: pointer;
}

.checkbox-container:hover {
  background-color: #dce1f0;
}

.admin-submit-pop-container {
  position: absolute;
  top: calc(100% + 10px);
  right: 0px;
  width: 370px;
  background-color: white;
  border: 1px solid #4d5356;
  padding: 10px;
  z-index: 7;
}

.std-text.admin-submit-pop-header {
  width: 100%;
  display: flex;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  padding-top: 15px;
}

.admin-submit-pop-separator {
  margin-top: 20px;
  width: 100%;
  height: 1px;
  background-color: #dddddd;
}

.std-text.admin-submit-pop-body {
  margin-top: 10px;
  font-weight: 400;
  font-size: 13px;
}

.admin-submit-pop-checkbox-container {
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.std-text.admin-submit-pop-checkbox-label {
  margin-left: 5px;
  font-size: 13px;
}

.std-btn.admin-submit-pop-btn {
  margin-top: 15px;
  width: 100%;
  height: 44px;
  background-color: #e6e7fe;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  opacity: 0.5;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-submit-pop-btn.active {
  opacity: 1;
  cursor: pointer;
}

.admin-submit-pop-btn.active:hover {
  border: 1px solid #38384b;
}

.admin-submit-status-container {
  position: relative;
}

/* color is set dynamically */
.std-text.admin-submit-status-label {
  padding: 0px 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.admin-submit-status-label:hover {
  text-decoration: underline;
}

.admin-mode-dropdown-container {
  position: absolute;
  right: 0px;
  top: calc(100% + 5px);
  width: 190px;
  background-color: #252829;
  padding: 10px 0px;
}

.std-text.admin-mode-dropdown-row {
  width: 100%;
  height: 26px;
  color: white;
  font-weight: 500;
  font-size: 13px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0px 10px;
  text-decoration: none;
}

.admin-mode-dropdown-row.selected {
  cursor: default;
}

.admin-mode-dropdown-checkbox-container {
  color: white;
  margin-right: 8px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  width: 20px;
  justify-content: left;
}

.admin-mode-dropdown-row-text {
  color: white;
  margin-right: 8px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  width: 20px;
  justify-content: left;
}

.admin-mode-dropdown-row:hover {
  text-decoration: underline;
}

.admin-mode-selector-container {
  position: relative;
  background-color: #cce4fe;
  color: #494f56;
  border-radius: 30px;
  font-weight: 500;
  margin-left: 10px;
  height: 30px;
  padding: 0px 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.std-text.admin-mode-selector-text {
  margin-right: 5px;
  font-weight: 600;
  font-size: 13px;
  color: #494f56;
}

.briefing-container {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.briefing-sheet {
  width: 440px;
  height: fit-content;
  padding: 20px;
  border: 1px solid #4d4d4d;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.briefing-bang-icon {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  color: #39392c;
  background-color: #efe563;
  font-weight: 800;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.std-text.briefing-text-container {
  width: 100%;
  border-top: 1px solid #dddee8;
  border-bottom: 1px solid #dddee8;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.std-btn.briefing-ok-button {
  background-color: #e1e5ef;
  padding: 12px 16px;
  font-weight: 500;
  border: 1px solid transparent;
  height: fit-content;
}

.briefing-ok-button:hover {
  border: 1px solid #2b4fa9;
}

.briefing-list {
  padding-left: 20px;
}

.briefing-list-item {
  list-style-type: disc;
}

.ptm-container {
  position: absolute;
  width: 480px;
  min-height: 70px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;

  background-color: white;
  border: 1px solid #4d4d4d;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 6;
}

.ptm-button-area {
  padding-left: 10px;
}

.ptm-text-area {
  margin-left: 10px;
  width: 100%; /* does this makes sense? */
}

.std-text.ptm-title {
  font-weight: 500;
  font-size: 14px;
}

.std-text.ptm-description {
  margin-top: 4px;
  font-weight: 400;
  font-size: 14px;
  color: #7d848f;
}

.std-btn.ptm-btn {
  height: fit-content;
  background-color: #d4e4fc;
  padding: 12px;
  border: 1px solid transparent;
}

.std-btn.ptm-btn:hover {
  border: 1px solid #1552ad;
}

.submit-container {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.submit-sheet {
  width: 440px;
  height: fit-content;
  padding: 20px 12px;
  border: 1px solid #4d4d4d;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.std-text.submit-title {
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.std-text.submit-description {
  margin-top: 20px;
  font-weight: 14px;
  margin-top: 20px;
  text-align: center;
  line-height: 1.5;
}

.submit-check-container {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.std-text.submit-check-text {
  margin-left: 6px;
  font-size: 14px;
}

.std-btn.submit-btn {
  margin-top: 20px;
  width: 100%;
  height: 42px;
  background-color: #3b5bc5;
  color: white;
  opacity: 0.3;
  cursor: default;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  transition: 100ms;
  display: flex;
  align-items: center;
  justify-content: center;
}

.std-btn.submit-btn.active {
  opacity: 1;
  cursor: pointer;
}

.std-btn.submit-btn.active:hover {
  background-color: #173598;
}

.std-btn.submit-cancel-btn {
  margin-top: 8px;
  width: 100%;
  height: 42px;
  font-weight: 600;
  font-size: 13px;
}

.std-btn.submit-cancel-btn:hover {
  background-color: #ecedf1;
}

@keyframes submit-spinner-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.submit-spinner {
  border: 2px solid transparent;
  border-radius: 50%;
  border-top: 2px solid white;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  width: 20px;
  height: 20px;
  -webkit-animation: submit-spinner-rotate 1.7s linear infinite; /* Safari */
  animation: submit-spinner-rotate 1.7s linear infinite;
}

.fixed-screen-container {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
}

.editor-page-top-bar-container {
  position: relative;
  width: 100%;
  height: 42px;
}

.editor-page-editor-container {
  position: relative;
  width: 100%;
  height: calc(100% - 42px);
}

.ed_container {
  position: relative;
  width: 100%;
  height: 100%;
}

.ed_canvas_outer {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
  background-color: #f6fafc;
  /* background-color: #f8fbff; */
}

.ed_canvas_inner {
  width: 0px; /* will be set by javascript */
  height: 100%;
  flex-shrink: 0;
  cursor: text;
}

.ed_canvas {
  height: 100%;
  width: 100%;
}

.ed_scroll_outer {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: auto;
  display: flex;
  justify-content: center;

  /* because of tab index */
  outline: none;
  border: none;
  /* cursor: text; */
}

.ed_scroll_inner {
  width: 0px; /* will be set by javascript */
  height: 0px; /* will be set by javascript */
  cursor: text;
}

.submitted-top-bar-label {
  font-weight: 13px;
  font-weight: 500;
  color: #00910c;
  padding: 0px 12px;
}

.admin-page-menu-container {
  display: flex;
  align-items: center;
}

.admin-page-menu-item {
  position: relative;
  margin-left: 10px;
  width: fit-content;
  text-decoration: none;
}

.admin-page-menu-underline-selected {
  width: 100%;
  background-color: #1a1e24;
  height: 2px;
}

.admin-page-menu-underline-unselected {
  width: 100%;
  background-color: transparent;
  height: 2px;
}

.std-text.admin-page-menu-item-text {
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 2px;
}

.admin-inspect-body-container {
  position: relative;
  width: 100%;
  height: calc(100% - 42px);
  display: flex;
}

.admin-inspect-editor-container {
  position: relative;
  width: calc(100% - 480px);
  height: 100%;
  left: 0px;
  top: 0px;
  background-color: yellow;
}

.admin-inspect-stats-container {
  position: relative;
  height: 100%;
  width: 480px;
}

.inspect-controller-container {
  position: absolute;
  width: 740px;
  padding: 20px 0px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  background-color: white;
  border-top: 1px solid #4d5356;
  border-left: 1px solid #4d5356;
  border-right: 1px solid #4d5356;
  z-index: 3;
}

.inspect-controller-top-container {
  padding: 0px 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.inspect-controller-top-right-container {
  display: flex;
  align-items: center;
}

.std-text.inspect-text {
  font-size: 14px;
  font-weight: 500;
}

.inspect-timeline-container {
  width: 100%;
  padding: 0px 20px;
}

.inspect-timeline-line {
  position: relative;
  width: 100%;
  background-color: #dfe6f6;
  height: 15px;
  cursor: pointer;
}

.indicator-timeline-indicator {
  position: absolute;
  width: 4px;
  height: 100%;
  right: 0px;
  background-color: #343944;
}

.inspect-move-btns-container {
  display: flex;
  align-items: center;
  background-color: #eff0f7;
  margin-left: 20px;
}

.inspect-move-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.inspect-move-btn:hover {
  background-color: #e3e4ee;
}

.inspect-move-separator {
  height: 20px;
  width: 1px;
  background-color: #aebbd1;
}

.std-text.inspect-controller-bottom-text {
  font-size: 12px;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  height: 25px;
}

.std-btn.inspect-details-btn {
  position: absolute;
  height: 36px;
  font-weight: 500;
  padding: 0px 15px;
  border-radius: 50px;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 20px);
  background-color: #245be5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 100ms;
}

.inspect-details-btn:hover {
  background-color: #4c7cf4;
}

.toggle-container {
  width: 38px;
  height: 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: #d5d6d8;
  padding: 2px;
}

.toggle-disk {
  width: 17px;
  height: 17px;
  background-color: white;
  box-shadow: 0px 0px 3px 0px rgba(107, 107, 107, 0.25);
  border-radius: 20px;
}
/* alla */

.inspect-table-container {
  width: 100%;
  background-color: white;
  border: 1px solid #eff6f9;
  margin-bottom: 12px;
}

.inspect-table-container.closed {
  margin-bottom: 7px;
}

.inspect-table-container.closed:hover {
  border: 1px solid #dfe4f1;
}

.inspect-table-title-row {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 15px;
  /* cursor: pointer; */
}

.inspect-table-title-row.active {
  cursor: pointer;
}

.std-text.inspect-table-title-text {
  font-weight: 500;
  font-size: 14px;
}

.inspect-table-body {
  padding: 0px 15px;
}

.inspect-table-row {
  width: 100%;
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f2f3;
}

.inspect-table-row.last {
  border-bottom: 1px solid transparent;
}

.std-text.inspect-table-row-text {
  font-weight: 400;
  font-size: 14px;
}

.inspect-column-container {
  width: 100%;
  height: 100%;
  background-color: #eff6f9;
  border-left: 1px solid #dfe7ea;
  overflow: auto;
}

.inspect-column-content {
  width: 100%;
  padding: 20px;
}

.std-text.inspect-section-title {
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 14px;
}

/* do I even need this? */
.inspect-section {
  width: 100%;
}

.inspect-column-header-container {
  width: 100%;
  padding: 20px;
  background-color: #e1eef4;
}

.std-text.inspect-column-header-title {
  font-weight: 500;
  font-size: 16px;
}

.std-btn.inspect-column-header-back-btn {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  height: fit-content;
  padding: 0px;
}

.inspect-column-header-back-btn:hover {
  text-decoration: underline;
}

.std-text.inspect-column-header-back-btn-label {
  font-size: 13px;
  margin-left: 7px;
}

.admin-none-inspect-page-body-outer {
  width: 100%;
  height: 100%;
  padding-top: 50px;
  display: flex;
  justify-content: center;
  background-color: #f6fafc;
}

.std-text.admin-none-inspect-page-body-inner {
  font-size: 14px;
  font-weight: 500;
  line-height: 200%;
}

