@font-face {
  font-family: 'Inter UI';
  font-style:  normal;
  font-weight: 400;
  src: url("/fonts/Inter-UI-Regular.woff2") format("woff2"),
       url("/fonts/Inter-UI-Regular.woff") format("woff");
}

@font-face {
  font-family: 'Inter UI';
  font-style:  normal;
  font-weight: 700;
  src: url("/fonts/Inter-UI-Bold.woff2") format("woff2"),
       url("/fonts/Inter-UI-Bold.woff") format("woff");
}


body {
	font-family: 'Inter UI', 'SF Compact Display', -apple-system, 'Segoe UI', sans-serif;
	font-weight: 400;
	font-size: 16px;
	margin: 0;
	color: #1E1E21;
	background: #F3F4F6;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
}

main {
	display: flex;
}

main section, section.content {
	width: 100%;
}

section.content {
	margin-top: 2rem;
}

[v-cloak] {
  display: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	margin: 0;
	margin-top: 1em;
}

h1 {
	font-size: 3em;
	margin-top: 0;
}

h2, h3, h4, h5, h6, th {
	font-weight: 400;
	color: #82858D;
}

h2 {
	font-size: 2em;
	margin-top: 0;
}

h3 {
	font-size: 1em;
}

table {
	font-size: 1.25em;
	padding-right: 2em;
}

table input {
	font-size: 1rem;
}

table.list {
	width: 100%;
	max-width: 700px;
	border-collapse: collapse;
}

table.list th:last-child {
	text-align: right;
}
table.list td:last-child {
	text-align: right;
}
table.list tr:not(:first-child) {
  border: 2px solid #F3F4F6;
}
table.list td {
	background: #FBFCFE;
}
table.list td, table.list th {
	padding: 0.5rem 0.8rem;
}
.field-label {
	font-size: 1.25rem;
	display: inline-block;
	min-width: 80px;
}

th:first-child {
	text-align: left;
}

td:not(:first-child) {
	text-align: center;
}

td div {
  text-align: left;
}

td, th, div.field {
	padding: 0.25rem 0.4rem;
}

td input {
	width: 80%;
}

td a {
	color: #1E1E21;
	text-decoration: none;
	padding: 0.4em 1em;
	margin: -0.4em -1em;
}

nav {
	min-width: 172px;
	margin-left: 1.25em;
	margin-right: 10vw;
	font-size: 1.25em;
}

nav ul {
	margin: 0;
	margin-bottom: 4em;
	padding: 0;
}

nav ul li {
	margin-top: 0.5rem;
	list-style: none;
	font-weight: 700;
	height: 100%;
	position: relative;
}

nav ul a {
	color: #1E1E21;
	text-decoration: none;
}

nav li.current-link::before {
	content: "";
	display: inline-block;
	background: #1E1E21;
	width: 0.8em;
	position: absolute;
	top: -4px;
	bottom: -4px;
	left: -1.25em;
}

form ul {
	margin: 0;
	padding: 0;
}

form ul li {
	list-style: none;
	padding-bottom: 10px;
}

form {
	margin-top: 2em;
}

input {
	font-size: 1em;
	height: 2em;
	border-radius: 8px;
	box-shadow: none;
	background: #FBFCFE;
	border: 1px solid #82858D;
	padding: 0 0.6em;
	padding-bottom: 0.08em;
	min-width: 60px;
}

button {
	outline: none;
}

input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, textarea:focus {
	outline: none;
	border-color: #FBFCFE;
	box-shadow: 0 0 0 2px #89A0FF;
}

li.name input {
	width: auto;
}

.placeholder {
	opacity: 0.2;
}

label {
	display: inline-block;
	min-width: 140px;
	font-weight: 700;
	font-size: 1.25em;
}

div.row {
	display: flex;
	flex-direction: row;
	align-items: center;
}

main.login {
	margin-top: 15vh;
	flex-direction: column;
}

main.login h2 {
	margin-top: 1em;
	text-align: center;
}

#register {
	align-self: center;
}
form.login {
	font-size: 1.25em;
	display: flex;
	flex-direction: row;
	align-items: center;
	align-self: center;
	margin: 0 auto;
}
main.login form.login {
	margin: 6vh auto;
}
section.content div.login {
	margin-left: -3.6em;
}
div.login {
	display: flex;
	flex-direction: column;
}
div.login input {
	margin: 0.6em;
	width: 280px;
}
button.login {
	background-image: url("/images/sign-in.svg");
	width: 48px;
	height: 48px;
}
img.login-icon {
	display: inline-block;
	width: 34px;
	height: 26px;
	pointer-events: none;
	margin-left: 1em;
	margin-right: 0.4em;
}

label {
	cursor: pointer;
}
input[type="checkbox"] {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}
input[type="checkbox"] + span {
	display: inline-block;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #82858D;
	background: #FBFCFE;
	margin: 0 auto;
	padding: 0;
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
	text-align: center;
}
input[type="checkbox"].placeholder + span {
	opacity: 0.2;
}
input[type="checkbox"] + span:before {
	content: "";
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url("/images/check.svg") center no-repeat;
	background-size: cover;
	margin: 2px auto;
	padding: 0;
	opacity: 0;
	-webkit-user-select: none;
	user-select: none;
	transform: scale(0.8);
	transition: opacity .2s, transform .2s cubic-bezier(0.175, 0.9, 0.32, 1.6);
}
input[type="checkbox"]:checked + span:before {
	opacity: 1;
	transform: scale(1);
}

button {
	color: white;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	outline: none;
	border: 0;
	border-radius: 12px;
	padding: 0.6rem 1rem;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #82858D;
}
button.action {
	background-color: #4453D6;
}
button.destructive {
	background-color: #D54949;
}
button.add {
	text-indent: -999px;
	background-image: url("/images/add.svg");
	width: 28px;
	height: 28px;
	background-size: 28px 28px;
	margin: 0 1rem;
	padding: 0.4rem;
	background-color: transparent;
}
button.remove {
	text-indent: -999px;
	background-image: url("/images/remove.svg");
	width: 28px;
	height: 28px;
	background-size: 28px 28px;
	background-color: transparent;
}
.editor-toolbar button {
	color: #1E1E21;
}
.author button.remove {
	margin-left: 0.5rem;
	margin-right: 2rem;
}
td.author {
	text-align: left;
}
span.author {
	display: inline-flex;
	align-items: center;
}
span.author span {
	font-size: 1rem;
	background: #FBFCFE;
	padding: 0.4rem 0.6rem;
	border-radius: 8px;
}

.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  display: table;
  transition: opacity .3s ease;
}

.modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.modal-container {
  width: auto;
  max-width: min(60vw, 300px);
  margin: 0px auto;
  padding: 2em;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
  transition: all .3s ease;
}
.modal-container h3 {
	font-size: 1.25em;
	margin: 0;
}
.modal-footer {
	display: flex;
}
.modal-footer div {
	display: flex;
	flex-grow: 1;
	justify-content: space-between;
}
.modal-default-button { float: right; }
.modal-enter { opacity: 0; }
.modal-leave-active { opacity: 0 }
.modal-enter .modal-container,
.modal-leave-active .modal-container {
  -webkit-transform: scale(0.94);
  transform: scale(0.94);
}
