st0rm-headline {
  display: block;
  box-sizing: border-box;
  background: var(--panel-headline);
  width: 100%;
  border-color: var(--color-background);
  border-style: solid;
  border-width: min(calc(0.1 * 20vi),13.75px) 0px 0 5px;
  border-left-width: 0px;
  /* border-top: 1;
  border-left: 0; */
}

st0rm-headline.main-h2 {
  margin: 0;
  padding: 10px;
}

.menu-top {
  width: 100%;
  height: var(--menu-top-height);
  background: var(--background);
  position: fixed;
}

.menu-left {
  position: fixed;
  top: var(--menu-top-height);
  height: calc(100% - var(--menu-top-height));
  background: var(--panel-menu-left);
  overflow-y: auto;
}

/* without space apply css only if both classes present*/
.st0rm-menu-vertical.menu-left {
  width: var(--menu-left-width);
}

.menu-themes, .menu-teams {
  /* position: fixed; */
  /* top: var(--menu-top-height); */
  /* height: calc(100% - var(--menu-top-height)); */
  
  /* left: var(--menu-left-width); */
  /* width: calc(100% - var(--menu-left-width)); */
  width: 100%;
  background: var(--background);
  overflow-y: auto;
  display: flex;
  flex-flow: row;
  overflow-x: auto;
}

.menu-themes {
  /* box-sizing: border-box; */
  background: rgb(0, 0, 0);
  /* padding: min(calc(0.1 * 20vi),13.75px); */
  padding-bottom: 0;
}

.menu-themes > st0rm-menu-tile {
  font-size: min(max(7vi, 32px),64px) !important;
}

.menu-themes > st0rm-menu-tile.selected {
  /* background: rgb(179, 255, 0); */
  outline-color: var(--color-active);
  outline-style: solid;
  outline-width: 3px;
}

st0rm-menu-tile {
  float: left;
  border-radius: 5px;
  /* background: rgb(179, 255, 0); */
  background: var(--color-primary);
  /* background: var(--color-active); */
  color: white;
  text-align: center;
  display: grid;
	align-items: center;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

body.nontouch st0rm-menu-tile:hover {
  background: var(--color-active-hover);
}

/* with > apply css to child with class but not to children of the child */
.st0rm-menu-vertical > st0rm-menu-tile {
  font-size: min(7vi, 50px);
  width: 80%;
  min-width: 32px;
  aspect-ratio: 1;
  /*height: 0;
  padding-bottom: 80%; /* alternative definition to aspect-ratio: the both height and padding-bottom set height equal width*/
  margin: 10% 10% 0 10%;
}
.st0rm-menu-horizontal > st0rm-menu-tile {
  font-size: max(7vmin, 50px);
  /* width: max(60px,min(110px, 30%)); */
  /* min-width: 60px; */
  min-width: max(60px,min(110px, 20%));
  max-height: 110px;
  aspect-ratio: 1;
  /* margin: 0 3px 6px 3px; */
  /* white-space: nowrap;
  overflow-y: hidden;
  float: none;
  display: inline-block; */
  /* margin: 0 min(calc(0.1 * 20vi),13.75px) min(calc(0.1 * 20vi),13.75px) 0; */
  margin: min(calc(0.1 * 20vi),13.75px);
  margin-right: 0;
}

st0rm-menu-tile.selected {
  /* background: rgb(179, 255, 0); */
  background: var(--color-active);
}

st0rm-pageview {
  position: fixed;
  top: var(--menu-top-height);
  left: var(--menu-left-width);
  width: calc(100% - var(--menu-left-width));
  height: calc(100% - var(--menu-top-height));
  overflow-y: auto;
}

st0rm-page {
  height: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbars::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbars {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.current-team-container {
  background: var(--background);
  padding: 5px;
}

.st0rm-tile-current-team {
  display: grid;
  align-items: center;
  font-size: max(7vmin, 50px);
  /* width: max(60px,min(110px, 30%)); */
  /* min-width: 60px; */
  min-width: max(60px,min(110px, 20%));
  max-height: 110px;
  aspect-ratio: 1;
  /* margin: 0 3px 6px 3px; */
  /* white-space: nowrap;
  overflow-y: hidden;
  float: none;
  display: inline-block; */
  margin: min(calc(0.1 * 20vi),13.75px);
  text-align: center;
}

.st0rm-tile-current-team:hover {
  outline: none;
}

st0rm-foldable-section > st0rm-headline {
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
}

st0rm-foldable-section > st0rm-headline.active {
  background-color: var(--color-primary);
  filter: brightness(1.2);
}

st0rm-foldable-section > st0rm-headline:hover {
  /* background-color: var(--color-foldable-section-active-hover); */
  filter: brightness(1.3);
}

st0rm-foldable-section > st0rm-headline:after {
  content: '▶';
  color: white;
  font-weight: bold;
  float: left;
  margin-left: 5px;
  margin-right: 10px;
  margin-top: 0;
}

st0rm-foldable-section > st0rm-headline.active:after {
  content: "▼";
  margin-right: 10px;
}

st0rm-foldable-section > .content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

st0rm-foldable-section input {
  color: white;
  border: 1px solid;
  border-radius: 8px;
  border-color: #07648C;
  outline-color: rgba(15, 109, 196, 0);
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 5px;
  font-size: 1rem;
  width: 100%;
  max-width: 330px;
  background: var(--color-primary);
  /* filter: brightness(.9); */
}

st0rm-foldable-section input::placeholder {
  color: var(--color-placeholder);
}

st0rm-foldable-section input:hover {
  border-color: #ad743a;
}

/* st0rm-foldable-section input:focus-within {
  outline-style: solid;
  outline-width: thick;
  outline-color: rgba(15, 109, 196, 0.24);
  transition: outline-color .15s ease-in-out,box-shadow .15s ease-in-out;
} */
st0rm-foldable-section input:focus-within {
  outline-style: solid;
  outline-color: rgba(15, 109, 196, 0);
  filter: brightness(1.1);
  transition: outline-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

st0rm-optionsfield {
  display: grid;
}

st0rm-optionsfield-option > label {
  color: white;
  /* display: block;
  margin-bottom: 5px; */
  float: left;
  margin-bottom: 5px;
  margin-right: 10px;
}

st0rm-optionsfield-option {
  margin: 5px;
  margin-bottom: 10px;
}