body {
  margin: 0;
  color: var(--ds-text, #172B4D);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.42857;
  text-decoration-skip-ink: auto;
  height: 100%;
}

html {
  height: 100%;
}

:root {
  --navigation-height: 56px;
  --navigation-padding: 18px;
  --scrollbar-width: 6px;
  --max-site-width: 1240px;
  --sidepanel-width: 200px;
  --index-width: 200px;
  --max-page-width: 840px;
  --page-padding: 60px;
  --page-padding-top: 32px;
  --header-height: 180px;
  -webkit-tap-highlight-color: transparent;

}

::-webkit-scrollbar {
  width: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
  background: rgba(0,0,0,0);
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #888;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


@font-face {
  font-family: "Charlie Display";
  font-weight: 400;
  src: url('/src/font/CharlieDisplay-Regular.woff2');
}

@font-face {
  font-family: "Charlie Display";
  font-weight: 600;
  src: url('/src/font/CharlieDisplay-Semibold.woff2');
}

.main-container {
  display: flex;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
  padding-top: var(--navigation-height);
}

.top-container {
  display: flex;
  width: 100%;
  height: var(--navigation-height);
  box-sizing: border-box;
  justify-content: center;
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
}

.top-container::before {
  content: '';
  display: flex;
  position: fixed;
  top: var(--navigation-height);
  left: 0;
  box-sizing: border-box;
  width: 100vw;
  height: 4px;
  background: linear-gradient(rgba(9, 30, 66, 0.13) 0px, rgba(9, 30, 66, 0.13) 1px, rgba(9, 30, 66, 0.08) 1px, rgba(9, 30, 66, 0) 4px);
}

.bottom-container {
  position: fixed;
  top: var(--navigation-height);
  width: 100%;
  max-height: calc(100vh - var(--navigation-height));
  justify-content: center;
  display: flex;
  height: 100%;
}

.sidepanel-container {
  display: flex;
  width: 100%;
  min-width: var(--sidepanel-width);
  max-width: calc(((100vw - var(--max-site-width)) / 2) + var(--sidepanel-width));
  justify-content: flex-end;
  padding: 12px;
  padding-right: 24px;
  max-height: calc(100vh - var(--navigation-height));
  overflow-y: auto;
}

.sidepanel-container.home {
    width: 0;
    min-width: unset;
    max-width: unset;
    display: none; 
}

.welcome {
  width: 100%;

  box-sizing: border-box;
  padding-left: var(--navigation-padding);
  padding-right: var(--navigation-padding);
  max-width: var(--max-site-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: calc(var(--navigation-height) + 40px);
}

.sidepanel-container.editor-mode {
  max-width: unset;
}

.sidepanel-grid {
  display: grid;
  grid-template-columns: 80px auto;
  gap: 6px;
}

.sidepanel-grid .button {
  width: 100%;
}


.content-container {
  display: flex;
  flex-grow: 1;
  height: 100%;
  max-height: calc(100vh - var(--navigation-height));
  overflow-y: auto;
  overflow-x: hidden;
}

#content {
  padding: 48px;
  max-width: 800px;
}

canvas {
  margin-top: 24px;
  margin-bottom: 24px;
}

.rows {
  display: flex;
  flex-direction: column;
}

.fill {
  display: flex;
  flex-grow: 1;
  width: 100%;
  height: 100%;
}

.hc {
  justify-content: center;
}

.hfill {
  display: flex;
  width: 100% !important;
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

.menu-button {
  display: none !important;
}

/* Table */

.table-container {
  display: flex;
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1.2px #ebecf0;
  border-radius: 4px;
}

table td, table td {
    vertical-align: top;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0px;
  color: #172B4D;
  font-size: 15px;
}

thead {
  background-color: #F4F5F7;
}

th {
  padding: 8px 12px;
  box-sizing: border-box;
  position: relative;
  border-top: none;
  border-right: none;
  border-left: none;
  border-image: initial;
  border-bottom: 2px solid #ebecf0;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
  color: #626f86;
}

td {
  padding: 8px 12px;
  border: none;
}

.navigation {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max-site-width);
  min-height: var(--navigation-height);
  position: relative;
  padding-left: var(--navigation-padding);
  padding-right: var(--navigation-padding);
  gap: 12px;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -ms-box-sizing:border-box;
}

/*
.navigation::after {
  height: 4px;
  position: absolute;
  top: 100%;
  right: 0px;
  left: 0px;
  background: linear-gradient(rgba(9, 30, 66, 0.13) 0px, rgba(9, 30, 66, 0.13) 1px, rgba(9, 30, 66, 0.08) 1px, rgba(9, 30, 66, 0) 4px);
  content: "";
  z-index: 3;
}
*/

.navigation-overflow {
  display: flex;
  position: absolute;
  top: 38px;
  right: -44px;
  flex-direction: column;
  background-color: #FFF;
  z-index: 2;
  border-radius: 3px;
  box-shadow: 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
  padding: 0px;
}

.navigation-overflow .navigation-button {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  margin: 0px;
  padding: 8px 20px;
  -webkit-box-align: center;
  align-items: center;
  border: 0px;
  font-size: 15px;
  outline: 0px;
  text-decoration: none;
  user-select: none;
}

.navigation-overflow .navigation-button.selected:after {
  height: 100%;
  width: 3px;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #0052CC;
  border-top-left-radius: 1px;
  border-top-right-radius: 1px;
  content: "";
}

.navigation-overflow .navigation-button.selected:first-of-type:after {
  border-top-left-radius: 3px;
}
.navigation-overflow .navigation-button.selected:last-of-type:after {
  border-bottom-left-radius: 3px;
}

.site-icon {
  min-width: 25px;
}

.site-icon img {
  height: 24px;
  margin-bottom: 4px;
  cursor: pointer;
}

.site-title img {
  height: 14px;
  cursor: pointer;
}

.navigation-buttons-wrap {
  display: flex;
  width: 100%;
}

.navigation-search {
  width: 200px;
  max-width: 456px;
  transition: 0.2s width;
}

.navigation-search.active {
  width: 100%;
  max-width: 456px;
  transition: 0.2s width;
}

.navigation-search:before {
  position: absolute;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%236B778C' d='M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z' /%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
  margin: 7px;
  margin-left: 9px;
}

.label {
  line-height: 32px;
  margin-right: 6px;
}

.info-icon {
  min-width: 18px;
  min-height: 18px;
  width: 18px;
  height: 18px;
  margin-left: 3px;
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.info-icon:before {
  position: absolute;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%236B778C' d='M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z' /%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.info-icon:hover:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23172B4D' d='M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z' /%3E%3C/svg%3E");
}

#ci_alert {
  display: none;
}

#ci_alert.changed {
  display: inline-flex;
}

.alert-icon {
  min-width: 18px;
  min-height: 18px;
  width: 18px;
  height: 18px;
  margin-left: 3px;
  display: inline-block;
  cursor: pointer;
  position: relative;
}
 
.alert-icon:before {
  position: absolute;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23DE350B' d='M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.alert-icon:hover:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23ae2a19' d='M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E");
}


 input {
  height: 32px;
  width: 100%;
  padding: 0px 6px 0px 6px;
  box-sizing: border-box;
  outline: none;
  border-radius: 5px;
  font-size: 14px;
  line-height: 20px;
  border: 2px solid rgba(223, 225, 230,1);
  box-shadow: none;
  background-color: #FFFFFF;
  color: #6B778C;
}

input[type=radio] {
  height: 14px;
  width: 14px;
  box-sizing: border-box;
  outline: none;
  border-radius: 5px;
  font-size: 14px;
  line-height: 20px;
  border: 2px solid rgba(223, 225, 230,1);
  box-shadow: none;
  background-color: #FFFFFF;
  color: #6B778C;
}

input[type=radio]+label {
  font-size: 14px;
  line-height: 20px;
  color: #6B778C;
}

input[type=checkbox] {
  height: 14px;
  width: 14px;
  box-sizing: border-box;
  outline: none;
  border-radius: 5px;
  font-size: 14px;
  line-height: 20px;
  border: 2px solid rgba(223, 225, 230,1);
  box-shadow: none;
  background-color: #FFFFFF;
  color: #6B778C;
}

input[type=checkbox]+label {
  font-size: 14px;
  line-height: 20px;
  color: #6B778C;
}

.search-result {
  display: none;
  position: absolute;
  z-index: 1;
  top: calc(var(--navigation-height) + 12px);
  right: var(--navigation-padding);
  width: 100%;
  height: 300px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #FFF;
  max-width: 456px;
  border-radius: 3px;
  border-radius: 3px;
  box-shadow: 0px 4px 8px rgba(9, 30, 66, 0.25), 0px 0px 1px rgba(9, 30, 66, 0.31);
  flex-direction: column;
  padding-top: 12px;
  padding-bottom: 12px;
}

.search-folder {
  display: flex;
  padding: 12px;
  white-space: normal;
  background-color: #091e420f;
  font-size: 12px;
  color: #172B4D;
  align-items: center;
  text-transform: uppercase;
  font-family: "Charlie Display";
}

.search-document {
  padding: 8px 16px;
}

.search-document:hover {
  cursor: pointer;
  background-color: #091e420f;
}

.search-document h4 {
  font-size: 15px;
  color: #172B4D;
  margin: 0px;
  margin-bottom: 4px;
  letter-spacing: -0.096px;
}

.search-document p {
  font-size: 14px;
  color: #5E6C84;
  margin: 0px;
}

.bar {
  height: 20px;
  width: 100%;
  background: rgba(9,30,66,0.04);
  border-radius: 3;
  margin-top: 3px;
}

.progress {
  background: rgba(9,30,66,0.2);
  height: 20px;
  width: 0%;
  border-radius: 3px;
}


.navigation-buttons {
  display: flex;
  gap: 12px;
  margin-left: 12px;
  white-space: nowrap;
  position: relative;
}

.navigation-button {
  color: #344563;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  padding-left: 6px;
  padding-right: 6px;
  margin-left: 2px;
  margin-right: 2px;
  cursor: pointer;
  height: 32px;
  line-height: 32px;
  transition: 0.2s background;
  position: relative;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 6px;
}

.navigation-button.no-click {
  padding-left: 0px;
  padding-right: 0px;
}

.navigation-button.no-click:hover {
  background-color: transparent !important;
}

.navigation-button.selected {
  color: #0052CC;
}

.navigation-button.selected:after {
  height: 3px;
  position: absolute;
  right: 4px;
  bottom: -12px;
  left: 4px;
  background-color: #0052CC;
  border-top-left-radius: 1px;
  border-top-right-radius: 1px;
  content: "";
}

.navigation-button:hover {
  color: #0052CC;
  background-color: rgba(222,235,255,0.9);
  border-radius: 3px;
}

.navigation-add-button {
  color: #344563;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  padding-left: 6px;
  padding-right: 6px;
  margin-left: 2px;
  margin-right: 2px;
  cursor: pointer;
  height: 32px;
  line-height: 32px;
  transition: 0.2s background;
  position: relative;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 6px;
}

.navigation-add-button:hover {
  color: #0052CC;
  background-color: rgba(222,235,255,0.9);
  border-radius: 3px;
}

.navigation-add-button.selected {
  color: #0052CC;
}

.navigation-overflow-button {
  color: #344563;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  padding-left: 6px;
  padding-right: 6px;
  margin-left: 2px;
  margin-right: 2px;
  cursor: pointer;
  height: 32px;
  line-height: 32px;
  transition: 0.2s all;
  position: relative;
  align-items: center;
  display: flex;
  margin-left: 14px;
  width: fit-content;
}

.navigation-overflow-button:hover {
  color: #0052CC;
  background-color: rgba(222,235,255,0.9);
  border-radius: 3px;
}

.navigation-button a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.navigation-button-placeholder {
  border-radius: 3px;
  border: 3px solid rgba(222,235,255,0.9);
}

.navigation-edit-button {
  color: #344563;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  padding-left: 6px;
  padding-right: 6px;
  margin-left: 2px;
  margin-right: 2px;
  cursor: pointer;
  height: 32px;
  line-height: 32px;
  transition: 0.2s background;
  position: relative;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 6px;
  border-radius: 3px;
}

.navigation-edit-button.selected {
  color: #0052CC;
  background-color: rgba(222,235,255,0.9);
}

.navigation-edit-button:hover {
  color: #FFF;
  background-color: #0052CC;
  border-radius: 3px;
}


.navigation-authenticated-button {
  color: #5E6C84;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  padding-left: 6px;
  padding-right: 6px;
  cursor: pointer;
  height: 32px;
  line-height: 32px;
  transition: background 0.1s ease-out,box-shadow 0.15s cubic-bezier(0.47,0.03,0.49,1.38), opacity 0.3s;
  position: relative;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border-radius: 3px;
}

.navigation-authenticated-button.selected {
  color: #0052CC;
  background-color: rgba(222,235,255,0.9);
}

.navigation-authenticated-button:hover {
  color: #FFF;
  background-color: #0052CC;
  border-radius: 3px;
}

.navigation-authenticated-button:active {
  background: #0747A6;
  transition-duration: 0s, 0s;
  color: #FFFFFF !important;
  border-radius: 3px;
}

.contextmenu {
  display: flex;
  position: absolute;
  flex-direction: column;
  background-color: #FFF;
  z-index: 5;
  border-radius: 3px;
  box-shadow: 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
  padding: 0px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.contextmenu-item {
  padding: 8px 20px;
  transition: 0.2s background-color;
}

.contextmenu-item:hover{
  cursor: pointer;
  background-color: #F4F5F7;
}

.contextmenu-item:active{
  background-color: #EBECF0;
}

.sidepanel {
  display: flex;
  width: var(--sidepanel-width);
  min-width: var(--sidepanel-width);
  color: #172B4D;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.42857;
  text-decoration-skip-ink: auto;
  overflow-x: hidden;
  background-color: #FFFFFF;
  opacity: 1;
  transition: width 0.2s , min-width 0.2s , opacity 0.2s;
  height: fit-content;
}


.splitter {
  width: 1px;
  min-width: 1px;
  background-color: #EBECF0;
  position: relative;
}

.splitter::after {
  content: '';
  min-width: 5px;
  min-height: 100%;
  position: absolute;
  left: -2px;
}

.splitter.home{
  display: none;
}

.sidepanel.home {
  display: flex;
  opacity: 0;
  width: 0px;
  min-width: 0px;
}

.sidepanel-item-placeholder {
  border-radius: 3px;
  border: 3px solid rgba(222,235,255,0.9);
  height:29px;
  margin-left: 12px;
  margin-right: 12px;
}

.sidepanel-item-placeholder.level-2 {
  margin-left: 36px;
}

/*
.sidepanel.slide-open > .sidepanel-container {
  width: 100%;
  max-width: 100%;
}
*/


.ui-sortable-helper {
  width: fit-content !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  background-color: rgba(222,235,255,1) !important;
  border-radius: 3px !important;
  cursor: dragging !important;
  opacity: 1 !important;
}

.ui-sortable-helper svg {
  opacity: 0;
}

.ui-sortable-helper:after {
  display: none !important;
}

.sidepanel.slide-open {
  top: 0;
  left: 0;
  background-color: #FFF;
}

.sidepanel-title {
  margin-top: 32px;
  margin-bottom: 12px;
  margin-left: 32px;
  font-family: 'Charlie Display',-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto','Oxygen','Ubuntu','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #172B4D;
  line-height: 1.16667;
  white-space: nowrap;
}

.sidepanel-item {
  display: flex;
  box-sizing: border-box;
  padding: 8px 20px;
  padding-left: 32px;
  transition: 0.2s background-color, 0.2s box-shadow, 0.2s color;
  position: relative;
  align-items: center;
}

.sidepanel-item svg {
  margin-right: 4px;
}

.sidepanel-item.empty {
  opacity: 0.8;
}

.sidepanel-children {
  flex-direction: column;
  display: none;
}

.sidepanel-children.root {
  display: flex;
}

.sidepanel-item.level-2 {
  padding-left: 48px;
}

.sidepanel-item:hover {
  background-color: #F4F5F7;
  cursor: pointer;
}

.sidepanel-item.selected {
  color: #0052CC;
  background-color: rgba(222,235,255,0.9);
  box-shadow: inset 4px 0px 0px #0c66e4;
}

.sidepanel-item .chevron {
  display: inline-flex;
  margin-block: -2px;
  margin-left: -24px;
  color: #344563;
  transform: rotate(0deg);
  transition: 0.2s all;
  align-self: center;
}

.sidepanel-item .chevron.rotated {
  transform: rotate(90deg);
}

.sidepanel .buttons {
  margin-top: auto;
  margin-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;
  gap: 10px;
  flex-wrap: nowrap !important;
  box-sizing: border-box;
  display: flex;
}

.obscure {
  display: none;
  background-color: rgba(9,30,66,0.54);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.modal-container {
  width: 100%;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  z-index: 10;
  position: absolute;
  top: 0;
}

.modal-container::before {
  content: '';
  background-color: rgba(9,30,66,0.54);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.modal {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(9, 30, 66, 0.08), 0 2px 1px rgba(9, 30, 66, 0.08), 0 0 20px -6px rgba(9, 30, 66, 0.31);
  background-color: #FFF;
  width: 700px;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
  max-height: 80vh;
  transition: 0.3s margin-top;
  z-index: 6;
  position: relative;
}

.modal:has(.modal-images-container)  {
  width: 600px;
}

.modal.visible {
  margin-top: 60px;
}

.modal.hiding {
  margin-top: 40px;
}

.modal-header {
  display: flex;
  padding: 24px 24px 22px;
  position: relative;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  color: #172B4D;
  min-width: 0px;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  font-size: 22px;
  font-style: inherit;
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1;
}

.modal-header svg {
  margin-right: 6px;
  width: 21px;
  height: 21px;
}

.modal-text {
  flex: 1 1 auto;
  padding: 2px 24px;
}

.modal-text .buttons {
  margin-top: 12px;
}

.modal-buttons {
  display: flex;
  padding: 22px 24px 24px;
  position: relative;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: end;
  justify-content: flex-end;
  gap: 8px;
}

.modal-images-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 400px;
}

.modal-images-container .thumb {
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid #FFF;
  width: 150px;
  height: 150px;
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
  position: relative;
}

.modal-images-container .thumb:hover {
  border: 2px solid #4C9AFF;
}

.modal-files-container {
  display: flex;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 400px;
}

.modal-files-container .thumb {
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid #FFF;
  width: 100%;
  height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  align-items: center;
  /* justify-content: center; */
  justify-items: center;
  align-content: center;
  display: flex;
  flex-direction: row;
}

.modal-files-container .thumb:hover {
  border: 2px solid #4C9AFF;
}


.modal-files-container .file-open {
  bottom: 3px;
}

.modal-files-container .file-delete {
  bottom: 3px;
}

.modal-files-container .file-toggle_private {
  bottom: 3px;
}

.zoom-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  z-index: 3;
  display: none;
}

.zoom-close {
  position: fixed !important;
  top: 10;
  right: 10;
  z-index: 4;  
}

input[type="file"] {
  margin-top: 12px;
  margin-bottom: 12px;
}

a.attachment {
  text-decoration: none;
  align-items: baseline;
  border-width: 0;
  border-radius: 3px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: inherit;
  font-style: normal;
  font-family: inherit;
  font-weight: 500;
  max-width: 100%;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background 0.1s ease-out,box-shadow 0.15s cubic-bezier(0.47,0.03,0.49,1.38), opacity 0.3s;
  white-space: nowrap;
  background: rgba(9,30,66,0.04);
  color: #42526E !important;
  cursor: pointer;
  height: 2.2857142857142856em;
  line-height: 2.2;
  padding: 0 10px;
  vertical-align: middle;
  width: fit-content;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 1;
  -webkit-box-flex: 1;
  padding-left: 32;
}

a.attachment:hover {
  background: rgba(9,30,66,0.08);
  color: #42526E !important;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
  -webkit-transition-duration: 0s,0.15s;
  transition-duration: 0s,0.15s;
}

a.attachment:active {
  background: rgba(179,212,255,0.6);
  color: #0052CC !important;
  text-decoration: inherit;
  -webkit-transition-duration: 0s,0s;
  transition-duration: 0s,0s;
}

a.attachment:hover:before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%2342526E' d='M7.5,18A5.5,5.5 0 0,1 2,12.5A5.5,5.5 0 0,1 7.5,7H18A4,4 0 0,1 22,11A4,4 0 0,1 18,15H9.5A2.5,2.5 0 0,1 7,12.5A2.5,2.5 0 0,1 9.5,10H17V11.5H9.5A1,1 0 0,0 8.5,12.5A1,1 0 0,0 9.5,13.5H18A2.5,2.5 0 0,0 20.5,11A2.5,2.5 0 0,0 18,8.5H7.5A4,4 0 0,0 3.5,12.5A4,4 0 0,0 7.5,16.5H17V18H7.5Z' /%3E%3C/svg%3E");
}

a.attachment:active:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%230052CC' d='M7.5,18A5.5,5.5 0 0,1 2,12.5A5.5,5.5 0 0,1 7.5,7H18A4,4 0 0,1 22,11A4,4 0 0,1 18,15H9.5A2.5,2.5 0 0,1 7,12.5A2.5,2.5 0 0,1 9.5,10H17V11.5H9.5A1,1 0 0,0 8.5,12.5A1,1 0 0,0 9.5,13.5H18A2.5,2.5 0 0,0 20.5,11A2.5,2.5 0 0,0 18,8.5H7.5A4,4 0 0,0 3.5,12.5A4,4 0 0,0 7.5,16.5H17V18H7.5Z' /%3E%3C/svg%3E");
}

a.attachment::before{
  content: '';
  display: inline-flex;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%2342526E' d='M7.5,18A5.5,5.5 0 0,1 2,12.5A5.5,5.5 0 0,1 7.5,7H18A4,4 0 0,1 22,11A4,4 0 0,1 18,15H9.5A2.5,2.5 0 0,1 7,12.5A2.5,2.5 0 0,1 9.5,10H17V11.5H9.5A1,1 0 0,0 8.5,12.5A1,1 0 0,0 9.5,13.5H18A2.5,2.5 0 0,0 20.5,11A2.5,2.5 0 0,0 18,8.5H7.5A4,4 0 0,0 3.5,12.5A4,4 0 0,0 7.5,16.5H17V18H7.5Z' /%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
  left: 9;
  top: 7;
}

.custom-file-upload {
  align-items: baseline;
  border-width: 0;
  border-radius: 3px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: inherit;
  font-style: normal;
  font-family: inherit;
  font-weight: 500;
  max-width: 100%;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background 0.1s ease-out,box-shadow 0.15s cubic-bezier(0.47,0.03,0.49,1.38), opacity 0.3s;
  white-space: nowrap;
  background: rgba(9,30,66,0.04);
  color: #42526E !important;
  cursor: pointer;
  height: 2.2857142857142856em;
  line-height: 2.2857142857142856em;
  padding: 0 10px;
  vertical-align: middle;
  width: fit-content;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 1;
  -webkit-box-flex: 1;
  align-items: center;
}

.custom-file-upload:hover {
  background: rgba(9,30,66,0.08);
  color: #42526E !important;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
  -webkit-transition-duration: 0s,0.15s;
  transition-duration: 0s,0.15s;
}

.custom-file-upload:active {
  background: rgba(179,212,255,0.6);
  color: #0052CC !important;
  text-decoration: inherit;
  -webkit-transition-duration: 0s,0s;
  transition-duration: 0s,0s;
}

.file-button-container {
  display: flex;
  width: 100%;
  height: 24px;
  position: absolute;
  bottom: 8px;
  padding: 4px;
  gap: 6px;
  box-sizing: border-box;
}

.file-button-container.files {
  width: 100px;
  bottom: 3;
  right: 3;
  padding: 0;
}

.file-toggle-private {
  display: flex;
  width: 100%;
  height: 24px;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.2s background-color, 0.2s color, 0.2s opacity;
}

.thumb:hover .file-toggle-private:not(.private) {
  display: flex;
  background-color: #dddfe4;
  opacity: 1;
  transition: 0.2s background-color, 0.2s color, 0.2s opacity;
}

.file-toggle-private:not(.private):hover {
  color: #FFF;
  background-color: #0c66e4 !important;
}

.file-toggle-private.private {
  display: flex;
  background-color: #e9f2ff;
  color: #0c66e4;
  opacity: 1 !important;
  transition: 0.2s background-color, 0.2s color, 0.2s opacity;
}

.file-open {
  display: flex;
  width: 100%;
  height: 24px;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.2s background-color, 0.2s color, 0.2s opacity;
}

.thumb:hover .file-open {
  display: flex;
  background-color: #dddfe4;
  opacity: 1;
  transition: 0.2s background-color, 0.2s color, 0.2s opacity;
}

.file-open:hover {
  display: flex;
  background: #42526E !important;
  color: #FFFFFF !important;
  opacity: 1;
  transition: 0.2s background-color, 0.2s color, 0.2s opacity;
}

.file-delete {
  display: flex;
  width: 100%;
  height: 24px;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.2s background-color, 0.2s color, 0.2s opacity;
}

.thumb:hover .file-delete {
  display: flex;
  background-color: #dddfe4;
  opacity: 1;
  transition: 0.2s background-color, 0.2s color, 0.2s opacity;
}

.file-delete:hover {
  background-color: #BF2600 !important;
  color: #FFFFFF;
  transition: 0.2s background-color, 0.2s color;
}


.radio-buttons {
  margin-top: 12px;
  display: flex;
  gap: 4px;
}

.radio-buttons input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.radio-buttons label {
  align-items: baseline;
  border-width: 0;
  border-radius: 3px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: inherit;
  font-style: normal;
  font-family: inherit;
  font-weight: 500;
  max-width: 100%;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background 0.1s ease-out,box-shadow 0.15s cubic-bezier(0.47,0.03,0.49,1.38), opacity 0.3s;
  white-space: nowrap;
  background: rgba(9,30,66,0.04);
  color: #42526E !important;
  cursor: pointer;
  height: 2.2857142857142856em;
  line-height: 2.2857142857142856em;
  padding: 0 10px;
  vertical-align: middle;
  width: fit-content;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 1;
  -webkit-box-flex: 1;
  align-items: center;
}

.radio-buttons label svg {
  margin-right: 4px;
}

.radio-buttons label:hover {
  background: rgba(9,30,66,0.08);
  color: #42526E !important;
  transition-duration: 0s,0.15s;
}


.radio-buttons input[type="radio"]:checked + label {
  background: #0052CC;
  color: #FFFFFF !important;
}

.contentpanel {
  width: 100%;
  display: flex;
  flex-grow: 1;
}

.page-header {
  height: var(--header-height);
  min-height: var(--header-height);
  background-color: #FAFBFC;
  display: flex;
  flex-direction: column;
  padding-left: var(--page-padding);
  padding-right: var(--index-width);
}

.page-title {
  font-family: "Charlie Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 45px;
  font-weight: 400;
  padding-top: 48px;
  line-height: 1.10345;
  color: #172B4D;
  letter-spacing: -0.01em;
  position: relative;
  cursor: default;
}

.page-title .placeholder,
.page-description .placeholder {
  display: flex;
  position: absolute;
  left: 0;
  bottom: 8;
  opacity: 0;
  height: fit-content;
  padding-right: 12px;
  background-color: transparent !important;
  transition: 0.2s left, 0.2s opacity;
}

.page-title:hover .placeholder {
  display: flex;
  opacity: 1;
  left: -30;
  transition: 0.2s left, 0.2s opacity;
}

.page-description:hover .placeholder {
  display: flex;
  opacity: 1;
  left: -30;
  transition: 0.2s left, 0.2s opacity;
}

.page-title .button,
.page-description .button {
  height: fit-content;
  padding: 4px;
}

.page-description {
  font-size: 18px;
  color: #505F79;
  margin: 12px 0px 0px;
  max-width: 640px;
  min-height: 35px;
  position: relative;
  cursor: default;
}


.page-tabs {
  min-height: 20px;
  position: relative;
  bottom: 0;
  margin-left: -8px;
  margin-top: auto;
  width: calc(100% + 16px);
  display: flex;
  max-width: calc(var(--max-page-width) + 16px);
}

.page-tabs:before {
  content: "";
  border-radius: 2px;
  bottom: 0px;
  margin: 0px;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background-color: #EBECF0;
    max-width: calc(var(--max-page-width) - var(--page-padding) - var(--page-padding));
    box-sizing: border-box;
}

.tab {
  text-decoration: none;
  padding: 4px 14px;
  height: 28px;
  color: var(--ds-text-subtle, #42526E);
  cursor: pointer;
  line-height: 1.8;
  margin: 0px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  transition: 0.2s color;
  align-items: center;
  display: flex;
  user-select: none; /* supported by Chrome and Opera */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}

.tab svg {
  margin-right: 4px;
}

.tab.selected {
  color: #0052CC !important;
  transition: 0.2s color;
}

.tab:hover {
  color: #42526E;
}

.tab:hover::after {
  content: "";
  border-radius: 2px;
  bottom: 0px;
  margin: 0px;
  position: absolute;
  width: inherit;
  left: 8px;
  right: 8px;
  border-bottom: 2px solid #42526E;
  height: 0px;
}

.tab.selected:after {
  content: "";
  border-radius: 2px;
  bottom: 0px;
  margin: 0px;
  position: absolute;
  width: inherit;
  left: 8px;
  right: 8px;
  border-bottom: 2px solid #0052CC;
  height: 0px;
}

.page-add-button {
  text-decoration: none;
  padding: 4px 14px;
  height: 28px;
  color: var(--ds-text-subtle, #42526E);
  cursor: pointer;
  line-height: 1.8;
  margin: 0px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  transition: 0.2s all;
  align-items: center;
  display: flex;
}

.page-add-button.selected {
  color: #0052CC;
  transition: 0.2s all;
}

.page-add-button:hover {
  color: #0052CC;
}

.page-toggle-button {
  text-decoration: none;
  padding: 4px 14px;
  height: 28px;
  color: var(--ds-text-subtle, #42526E);
  cursor: pointer;
  line-height: 1.8;
  margin: 0px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  transition: 0.2s all;
  align-items: center;
  display: flex;
}

.page-add-button.selected {
  color: #0052CC;
  transition: 0.2s all;
}

.page-add-button:hover {
  color: #0052CC;
}

.page-content-container {
  position: relative;;
}

.page-content,
.preview-content {
  width: 100%;
  max-width: var(--max-page-width);
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  padding-top: var(--page-padding-top);
  padding-bottom: var(--page-padding-top);
  box-sizing: border-box;
  position: relative;
}

.page-content a,
.preview-content a {
  text-decoration: none;
  color: inherit;
  position: relative;
}

.page-content a::after,
.preview-content a::after {
  content: '';
  display: inline-flex;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23626f86' d='M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z' /%3E%3C/svg%3E");
  width: 12px;
  height: 12px;
  margin-left: 4px;
  bottom: 2px;

}

.page-content a:hover,
.preview-content a:hover {
  text-decoration: underline;
  color: inherit;
}

.footer {
  display: flex;
  width: 100%;
  min-height: var(--navigation-height);
  background-color: #FAFBFC;
  margin-top: 48px;
  margin-left: 0px;
  color: #5E6C84;
  font-size: 14px;
  box-sizing: border-box;
  padding-left: var(--navigation-padding);
  padding-right: var(--navigation-padding);
  line-height: 54px;
  align-items: center;
  gap: 24px;
}

.footer.home {
  position: fixed;
  bottom: 0;
  align-self: center;
  padding-left: 0px;
}

.footer.editor-mode {
  margin-top: 0px;
}

.footer a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-decoration: none;
}

.footer .link:hover {
  text-decoration: underline;
}

.footer>div {
  position: relative;
}

.footer.home {
  max-width: var(--max-site-width);
  margin-left: auto;
  margin-right: auto;
}

.footer.home::before {
  content: '';
  background-color: #FAFBFC;
  height: var(--navigation-height);
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
}

.footer .buttons {
  display: flex;
  gap: 6px;
}

.to-top {
  display: flex;
  position: fixed !important;
  right: var(--navigation-padding);
  bottom: 12px;
  opacity: 0;
  transition: 0.2s opacity;
  background-color: #F0F2F5 !important;
}

.to-top.visible {
  opacity: 1;
  transition: 0.2s opacity;
}

#edit_page_button {
  position: absolute !important;
  top: calc(var(--page-padding-top) + 8px);
  right: var(--page-padding);
}

.page-content > :first-child,
.preview-content > :first-child {
  margin-top: 0px;
}

.page-index {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--ds-border, #EBECF0);
  margin-top: 32px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 12px;
  margin-bottom: 32px;
  min-width: var(--index-width);
  height: fit-content;
  box-sizing: border-box;
}

.page-index.fixed {
  position: fixed;
  top: var(--navigation-height);
}

.page-index.slide-open {
  top: 0;
  right: 0;
  background-color: #FFF;
}

.page-index .title {
  font-family: "Charlie Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0px;
  text-transform: uppercase;
  color: #6B778C;
}

.page-index.slide-open .title {
  color: #172B4D;
}

.page-index .item {
  margin-bottom: 0px;
  margin-top: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 13px;
  color: #6B778C;
  position: relative;
}

.page-index .item.H3 {
  padding-left: 15px;
}

.page-index .item a {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.page-index .item:hover {
  color: #0065FF;
  cursor: pointer;
}

.page-index .item.active {
  color: #0052CC;
}

.page-index .item.active:before {
  content: "";
  width: 1px;
  height: calc(100% + 8px);
  position: absolute;
  left: -13px;
  top: -5px;
  background-color: var(--ds-border-selected, #2684FF);
}

.page-content {
  padding-left: var(--page-padding);
}

h2.highlight,
h3.highlight,
h4.highlight {
  animation: highlight;
  animation-duration: 2s;
  animation-iteration-count: 2;
  border-radius: 3px;
}

@keyframes highlight {
  0% {    background-color: rgba(222,235,255,0);    }
  50% {  background-color: rgba(222,235,255,0.9);  }
  0% {    background-color: rgba(222,235,255,0);    }
}

h2 {
  margin: 0;
  margin-top: 32px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1666666666666667;
  color: #172B4D;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

h3 {
  margin: 0;
  margin-top: 24px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.2;
  color: #172B4D;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

h4 {
  margin: 0;
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.2;
  color: #172B4D;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

h5 {
  margin: 0;
  margin-top: 0px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.2;
  color: #172B4D;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

ul {
  margin-bottom: 0px;
}

p {
  margin: 12px 0px 0px;
}

p img {
  cursor: pointer;
}

/* BUTTON CSS */

s {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.button {
  align-items: baseline;
  border-width: 0;
  border-radius: 3px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: inherit;
  font-style: normal;
  font-family: inherit;
  font-weight: 500;
  max-width: 100%;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background 0.1s ease-out,box-shadow 0.15s cubic-bezier(0.47,0.03,0.49,1.38), opacity 0.3s;
  white-space: nowrap;
  background: rgba(9,30,66,0.04);
  color: #42526E !important;
  cursor: pointer;
  height: 2.2857142857142856em;
  line-height: 2.2857142857142856em;
  padding: 0 10px;
  vertical-align: middle;
  width: fit-content;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  user-select: none; /* supported by Chrome and Opera */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}

@media (hover: hover) {
  .button:hover {
    background: rgba(9,30,66,0.08);
    color: #42526E !important;
    -webkit-text-decoration: inherit;
    text-decoration: none !important;
    -webkit-transition-duration: 0s,0.15s;
    transition-duration: 0s,0.15s;
  }
}

.button:active {
  background: rgba(179,212,255,0.6);
  color: #0052CC !important;
  text-decoration: inherit;
  -webkit-transition-duration: 0s,0s;
  transition-duration: 0s,0s;
}

.button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.button.inactive {
  pointer-events: none;
}

.button.primary {
  background: #0052CC;
  color: #FFFFFF !important;
}

.button.primary:hover {
  background: #0065FF;
  transition-duration: 0s, 0.15s;
  color: #FFFFFF !important;
}

.button.primary:active {
  background: #0747A6;
  transition-duration: 0s, 0s;
  color: #FFFFFF !important;
}

.button.subtle {
  color: #42526E !important;
  background: #FFFFFF;
}

.button.subtle:hover {
  background: rgba(9,30,66,0.08);
  transition-duration: 0s, 0.15s;
  color: #42526E !important;
}

.button.subtle:active {
  background: rgba(179,212,255,0.6);
  transition-duration: 0s, 0s;
  color: #0052CC !important;
}

.button.warning {
  color: #172B4D !important;
  background: #FFAB00;
}

.button.warning:hover {
  background: #FFC400;
  transition-duration: 0s, 0.15s;
  color: #172B4D !important;
}

.button.warning:active {
  background: #FF991F;
  transition-duration: 0s, 0s;
  color: #172B4D !important;
}

.button.danger {
  color: #FFFFFF !important;
  background: #DE350B;
}

.button.danger:hover {
  background: #FF5630;
  transition-duration: 0s, 0.15s;
  color: #FFFFFF !important;
}

.button.danger:active {
  background: #BF2600;
  transition-duration: 0s, 0s;
  color: #FFFFFF !important;
}

.button svg {
  display: inline-block;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  line-height: 1;
  width: 18px;
  height: 18px;
  align-self: center;
}

.button.icon-left svg {
  padding-right: 6px;
}

.button.icon-right svg {
  padding-left: 6px;
}

.tooltip {
  cursor: default;
  box-sizing: border-box;
  max-width: 240px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  background-color: #172B4D;
  font-weight: 400;
  color: #FFFFFF;
  position: fixed;
  z-index: 5;
  display: flex;
  opacity: 0;
  text-decoration: none !important;
}

.tooltip:hover {
  text-decoration: none !important;
}

#simulation_container {
  position: relative;
}

#simulation_obscure {
  background-color: rgba(255,255,255,0.8);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.rename {
  background-color: #FFF;
  border-color: #DFE1E6;
  border-radius: 3px;
  border-width: 2px;
  border-style: solid;
  overflow-wrap: break-word;
  vertical-align: top;
  pointer-events: auto;
  font-family: inherit;
  padding: 8px 6px;
  height: 2.57em;
  transition: background-color 0.2s ease-in-out 0s, border-color 0.2s ease-in-out 0s;
  width: 100%;
  margin-top: 8px;
}

@keyframes shake {
  0% { margin-left: 0rem; }
  25% { margin-left: 0.5rem; }
  75% { margin-left: -0.5rem; }
  100% { margin-left: 0rem; }
}

.rename.danger {
  animation: shake 0.2s ease-in-out 0s 2;
  border-color: #DE350B !important;
}

.rename:hover {
  background-color: #EBECF0;
}

.rename:focus {
  outline: none !important;
  border-color: #4C9AFF;
  background-color: #FFF;
}

.sidepanel-item > .rename_cancel {
  top: 46px;
  right: 20px;
}

.sidepanel-item > .rename_confirm {
  top: 46px;
  right: 56px;
}

.flag {
  display: none;
  padding: 16px;
  position: fixed;
  bottom: 24px;
  box-shadow: 0 20px 32px -8px rgba(9, 30, 66, 0.25);
  z-index: 99999;
  border-radius: 3px;
}

.flag.show  {
  animation: show-flag .3s;
  animation-fill-mode: forwards;
}

@keyframes show-flag {
    from {
      left: -50%;
    }
    to {
      left: 24px;
    }
}

.flag div {
  padding: 2px 0px 6px 16px;
  padding-left: 38px;
  flex: 1 1 0%;
  font-weight: 600;
}

.flag.success div::before {
  content: '';
  display: inline-flex;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z' /%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  margin-left: -38px;
  margin-top: -1px;
}

.flag.success {
  background-color: #00875A;
  color: #FFF;
}

.flag.info {
  background-color: #44546f;
  color: #FFF;
}

.flag.info div::before {
  content: '';
  display: inline-flex;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  margin-left: -38px;
  margin-top: -1px;
}

.flag.error div::before {
  content: '';
  display: inline-flex;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M12 2C11.5 2 11 2.19 10.59 2.59L2.59 10.59C1.8 11.37 1.8 12.63 2.59 13.41L10.59 21.41C11.37 22.2 12.63 22.2 13.41 21.41L21.41 13.41C22.2 12.63 22.2 11.37 21.41 10.59L13.41 2.59C13 2.19 12.5 2 12 2M11 7H13V13H11V7M11 15H13V17H11V15Z' /%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  margin-left: -38px;
  margin-top: -1px;
}

.flag.error {
  background-color: #DE350B;
  color: #FFF;
}

@keyframes flag-fly-in {
  100% { left: 24; }
}

.graph_container {
  max-width: 80vw;
  overflow-x: auto;
}

/* NOTIFICATIONS */

.notification {
  box-sizing: border-box;
  appearance: none;
  border: none;
  display: flex;
  flex-direction: column;
  padding: 16px;
  position: relative;
  border-radius: 3px;
  max-width: 450px;
  width: 100%;
  height: fit-content;
}

.notification a {
  font-weight: 600;
  margin-top: 12px;
  color: #0c66e4;
  padding-left: 40px;
  text-decoration: none;
}

.notification a:hover {
  text-decoration: underline;
}

.notification.shadow {
  box-shadow: 0 20px 32px -8px rgba(9, 30, 66, 0.25);
}

.notification h2 {
  margin: 0px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.006em;
  line-height: 1.25;
  color: #172B4D;
  padding-left: 40px;
  display: flex;
}

.notification p {
  display: flex;
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Roboto','Oxygen','Ubuntu','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
  padding-left: 40px;
}

.notification h2+p {
  margin-top: 12px;
}

.notification.info {
  background-color: #DEEBFF !important;
}

.notification.info::before {
  content: '';
  color: #0747A6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%231d7afc' d='M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  position: absolute;
  top: 16px;
  left: 16px;
}

.notification.success {
  background-color: #E3FCEF !important;
}

.notification.success::before {
  content: '';
  color: #22a06b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%2322a06b' d='M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z' /%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  position: absolute;
  top: 16px;
  left: 16px;
}

.notification.warn {
  background-color: #fff7d6 !important;
}

.notification.warn a {
  color: #d97008 !important;
}

.notification.warn::before {
  content: '';
  color: #d97008;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23d97008' d='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z' /%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  position: absolute;
  top: 16px;
  left: 16px;
}

.notification.error {
  background-color: #ffedeb !important;
}

.notification.error a {
  color: #ae2a19 !important;

}

.notification.error::before {
  content: '';
  color: #e34935;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23e34935' d='M12 2C11.5 2 11 2.19 10.59 2.59L2.59 10.59C1.8 11.37 1.8 12.63 2.59 13.41L10.59 21.41C11.37 22.2 12.63 22.2 13.41 21.41L21.41 13.41C22.2 12.63 22.2 11.37 21.41 10.59L13.41 2.59C13 2.19 12.5 2 12 2M11 7H13V13H11V7M11 15H13V17H11V15Z' /%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  position: absolute;
  top: 16px;
  left: 16px;
}

/* START PAGE */
.startpage-section {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding: 24px;
  padding-left: 0px;
  padding-right: 0px;
  border-bottom: 1px solid #DFE1E6;
}

.startpage-section-folder {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  min-width: 220px;
  max-width: 32%;
  padding-top: 12px;
}

.startpage-section-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

}

.startpage-card {
  display: flex;
  border-radius: 3px;
  background: #FFFFFF;
  /*color: #5E6C84;*/
  box-shadow: 0 1px 1px rgba(9, 30, 66, 0.25), 0 0 1px 0 rgba(9, 30, 66, 0.31);
  padding: 12px;
  cursor: pointer;
  line-height: 17px;
  position: relative;
  transition: 0.2s all;
}

.startpage-card a{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.startpage-card.big {
  height: 200px;
  width: 125px;
}

.startpage-card svg {
  width: 18px;
  color: #5E6C84;
  margin-right: 6px;
}

.startpage-card a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.startpage-card:hover {
  box-shadow: 0 8px 16px -4px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
}

.startpage-card-bg {
  width: calc( 100% + 24px);
  min-height: 110px;
  border-radius: 3px 3px 0px 0px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -12px;
  margin-left: -12px;
  margin-right: -12px;
}

.startpage-card-description {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.startpage-card-description h4 {
  margin-bottom: 0px;
} 

.startpage-card-description p {
  font-size: 12px;
}

.startpage-title {
  line-height: 28px;
  letter-spacing: -0.01em;
  font-size: 24px;
  font-weight: 500;
  color: #172b4d;  
  font-family: 'Charlie Display',-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto','Oxygen','Ubuntu','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
}

.startpage-color-block {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background-color: #00875A;  
  color: #FFF;
  font-family: 'Charlie Display',-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto','Oxygen','Ubuntu','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
  font-weight: 600;
  margin-right: 12px;
  justify-content: center;
  align-content: center;
  align-items: center;
  display: flex;
  line-height: 1;
  font-size: 13px;
  vertical-align: middle;
  line-height: 24px;
}


.filter_container {
  max-height: 200px;
  overflow-y: auto;
  padding: 0px 6px 0px 6px;
  box-sizing: border-box;
  outline: none;
  border-radius: 5px;
  font-size: 14px;
  line-height: 20px;
  border: 2px solid rgba(223, 225, 230,1);
}

.mobile-message {
  display: none;
}

/* SCREEN SPECIFIC CSS */

@media (max-width: 1279px) {

}

@media (max-width: 1024px){
  :root {
    --page-padding: 40px;
  }

  .mobile-message {
    display: inline-block;
  }

  .menu-button.hidden {
    display: none !important;
  }

  .menu-button {
    display: flex !important;
  }

  .page-header {
    padding-right: var(--page-padding);
  }

  .sidepanel {
    padding: 12px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
  
  .sidepanel:last-child{
    margin-bottom: 40px;
  }

  .sidepanel {
    min-width: unset;
    width: -moz-fit-content;
    width: fit-content;
    min-width: fit-content;
  }

  .page-index {
    transition: 0.5s right;
    display: none;
    display: flex;
    position: fixed;
    min-width: 144px;
    top: 0;
    right: -100%;
    max-height: 100vh;
    min-height: 100vh;
    margin-top: 0px;
    padding-top: 32px;
    padding-left: 32px;
    background-color: #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    z-index: 5;
  }

}

@media (max-width: 768px){
  .zoom-close {
    top: unset;
    right: unset;
    bottom: 10;
    left: calc(50% - 12px);
  }

  #content {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 16px;
  }

  .sidepanel-container {
    width: 0px;
    min-width: 0px;
    max-width: 0px;
    padding: 0px;
  }

  .splitter {
    display: none;
  }

  .sidepanel {
    transition: 0.5s left;
    display: none;
    display: flex;
    position: fixed;
    min-width: 270px;
    max-width: 270px;;
    top: 0;
    left: -300px;
    height: 100%;
    max-height: 100%;
    background-color: #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    z-index: 5;
  }

  .navigation-search.active {
    position: absolute;
    right: 18;
    max-width: unset;
    width: calc(100% - var(--navigation-padding) - var(--navigation-padding));
    transition: width 0.2s;
  }

  .navigation-search:not(.active) {
    position: absolute;
    right: 18;
    width: 32px;
    min-width: 32px;
  }

  .navigation-search::before {
    margin-left: 7px;
  }

  .navigation-search:not(.active):hover {
    cursor: pointer;
    background-color: rgba(222,235,255,0.9);
    border-radius: 3px;
  }

  .navigation-search.active input {
    padding: 0px 0px 0px 30px;
  }

  .navigation-search:not(.active) input {
    padding: 0px;
    border: 2px solid rgba(223, 225, 230, 0);
    background-color: transparent;
    cursor: pointer;
    transition: border 0.2s, background-color 0.2s;
  }

  .navigation-search:not(.active) input::placeholder {
    color: transparent;
    transition: color 0.2s;
  }

  .search-result {
    max-width: calc(100vw - var(--navigation-padding) - var(--navigation-padding));
  }

  .footer .button span {
    display: none;
  }

  .footer .button.icon-left:not(.to-top) {
    padding: 0px 6px;
  }

  .footer .button.icon-left:not(.to-top) svg {
    padding-right: 0px;
  }

  .startpage-section {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 389px) {
  :root {
    --page-padding: 20px;
  }

  .sidepanel {
    border-right: 0px;
  }
  .page-index {
    margin-top: 0px;
    min-width: 75vw;
    right: calc(-100vw - 24px);
    border-left: 0px;
  }
  .page-header {
    padding-right: var(--page-padding);
  }
}
