#body-container {
  box-sizing: border-box;
  padding: 10px 0;
  width: 100%;
  min-height: calc(100vh - 50px);
  height: auto;
  margin-top: 50px;
  padding: 0 25px;
  display: flex;
  flex-direction: column;
}

#main-container {
  max-width: 1200px;
}

section {
  box-sizing: border-box;
  width: 100%;
  margin: 20px auto;
  display: flex;
  flex-wrap: nowrap;
	align-items: flex-start;
}

section.centered {
  margin: auto;
}

section.login-container {
  max-width: 720px;
}

section.popup {
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 400px;
  max-height: 80vh;
  z-index: 3;
  background-color: var(--light);
  position: fixed;
  left: 0;
  right: 0;
  padding: 25px;
  border-radius: 20px;
  top: 50%;
  transform:translateY(-50%);
}

blurred {
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: var(--dark);
  opacity: 75%;
  position: fixed;
  margin: 0;
  left: 0;
  right: 0;
}

card {
  box-sizing: border-box;
  margin-bottom: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
	align-items: center;
}

item-container {
  box-sizing: border-box;
	display: flex;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

item {
  width: 100%;
  box-sizing: border-box;
	display: flex;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

item.expanded {
  visibility: visible;
  max-height: 500px;
  opacity: 1;
  transition: max-height 1s, opacity 0.5s linear;
}

item.reduced {
  margin: 0;
  visibility: hidden;
  max-height: 0;
  opacity: 0;
}

.outlined {
  border: 1px solid;
}

.shadowed {
  box-shadow: 0px 0px 12px var(--shadow);
}

.active {
  background-color: var(--light-d);
}

card.centered {
  margin: auto;
}

row, column {
  box-sizing: border-box;
  padding: 0px;
	margin: 5px 0px 5px 0px;
	display: flex;
  flex-wrap: wrap;
}

.nowrap {
  flex-wrap: nowrap;
}

column {
  flex-direction: column;
	align-items: flex-start;
}

item.centered-row {
  flex-direction: column;
	align-items: center;
}

row.centered-row {
  flex-direction: row;
	align-items: center;
  justify-content: center;
}

item.centered-col {
  flex-direction: column;
	justify-content: center;
}

.end {
  justify-content: flex-end;
}

item p:empty {
  display: none;
}

list-item {
  box-sizing: border-box;
  border-radius: 20px;
  width: 100%;
  padding: 10px;
	margin: 5px 5px 5px 5px;
	display: flex;
}

list-item:hover, list-item:active {
  cursor: pointer;
  background-color: var(--light-d);
}

row {
  width: 100%;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
  flex-wrap: wrap;
}

row.reverse {
	justify-content: flex-end;
}

row.fill {
	justify-content: space-between;
  flex-wrap: nowrap;
}

row.centered {
	justify-content: center;
}

.left {
  margin-right: auto;
}

.right {
  margin-left: auto;
}

.visible {
  visibility: visible;
}

.hidden {
  visibility: hidden;
}

nopaper {
  font-size: 9pt;
  font-weight: bold;
  margin: 25px;
  padding: 0px 15px;
	color: var(--gray-dd);
	cursor: pointer;
	outline: none;
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}

nopaper > p {
  width: 100%;
  padding: 5px 10px;
  background-color: var(--light);
  text-overflow: ellipsis;
  overflow: hidden;
  border-radius: 10px;
}

nopaper {
	background: var(--light);
  border-radius: 20px;
  box-shadow: 0px 0px 12px var(--shadow);
}

nopaper:hover {
	cursor: pointer;
  filter: brightness(85%);
}

nopaper:active {
	cursor: pointer;
  filter: brightness(70%);
}

.nopaper-container {
  padding: 40px 40px;
  border-radius: 20px;
}

.nopaper-editor {
  line-height: 2em;
  font-family: 'Open Sans', sans-serif;
	color: var(--gray-dd);
  width: 100%;
  height: auto;
  min-height: 700px;
  margin-top: 10px 0;
  border: none;
  outline: none;
  resize: none;
  padding: 0 10px;
}

color-preview {
  margin: 0;
  width: 10px;
  height: 10px;
  padding: 10px;
  border-radius: 20px;
}
