@charset "UTF-8";

:root {
	color: #000000;
	background-color: #ffffff;
	line-height: 1.8;
	font-size: 15px;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;

	--color-light: #f8f8f8;
	--color-dark: #333333;
	--color-primary: #1e87f0;
	--color-success: #28bd14;
	--color-danger: #f0506e;
	--color-disabled: #eaeded;
	--color-border: #d4d4d4;
	--color-muted: #999999;
	--color-link: #1e87f0;
	--svg-nav: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='white' d='M416 224H31.1C14.33 224 0 238.3 0 256s14.33 32 31.1 32h384C433.7 288 448 273.7 448 256S433.7 224 416 224zM416 384H31.1C14.33 384 0 398.3 0 415.1S14.33 448 31.1 448h384C433.7 448 448 433.7 448 416S433.7 384 416 384zM416 64H31.1C14.33 64 0 78.33 0 95.1S14.33 128 31.1 128h384C433.7 128 448 113.7 448 96S433.7 64 416 64z'/></svg>");
	--svg-menu: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 512'><path fill='white' d='M128 64c0-35.39-28.62-64-64-64S0 28.61 0 64s28.62 64 64 64S128 99.39 128 64zM128 256c0-35.39-28.62-64-64-64S0 220.6 0 256s28.62 64 64 64S128 291.4 128 256zM128 448c0-35.39-28.62-64-64-64s-64 28.61-64 64s28.62 64 64 64S128 483.4 128 448z'/></svg>");
	--svg-down: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='40' fill='%23555'><polygon points='0,0 60,0 30,40'/></svg>");
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border-style: none;
	border-width: 0;
	border-color: transparent;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	background-color: transparent;
	outline: none;
	font: inherit;
	text-decoration: none;
}
img {
	display: block;
	width: 100%;
}
a {cursor: pointer;}
[x-cloak] {display: none !important;}

/* style */
.border {border: 1px solid var(--color-border) !important;}
.radius {border-radius: 4px !important;}
.scroll {overflow: auto !important;}
.sticky {position: sticky !important;}
.shadow {box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.2) !important;}
.invert {filter: invert(100%) !important;}
.full {width: 100% !important;}
.no-border {border: none !important;}
.no-padding {padding: 0 !important;}
.no-margin {margin: 0 !important;}

/* theme */
.light {
	color: #000000;
	background-color: var(--color-light);
	border-color: var(--color-light);
}

.dark {
	color: #ffffff;
	background-color: var(--color-dark);
	border-color: var(--color-dark);
}

.primary {
	color: #ffffff;
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}

.success {
	color: #ffffff;
	background-color: var(--color-success);
	border-color: var(--color-success);
}

.danger {
	color: #ffffff;
	background-color: var(--color-danger);
	border-color: var(--color-danger);
}

/* margin */
.m-a-xs {margin: 0.2em;}
.m-x-xs {margin: 0 0.2em;}
.m-y-xs {margin: 0.2em 0;}
.m-t-xs {margin-top: 0.2em;}
.m-b-xs {margin-bottom: 0.2em;}
.m-l-xs {margin-left: 0.2em;}
.m-r-xs {margin-right: 0.2em;}

.m-a-sm {margin: 0.4em;}
.m-x-sm {margin: 0 0.4em;}
.m-y-sm {margin: 0.4em 0;}
.m-t-sm {margin-top: 0.4em;}
.m-b-sm {margin-bottom: 0.4em;}
.m-l-sm {margin-left: 0.4em;}
.m-r-sm {margin-right: 0.4em;}

.m-a-md {margin: 0.8em;}
.m-x-md {margin: 0 0.8em;}
.m-y-md {margin: 0.8em 0;}
.m-t-md {margin-top: 0.8em;}
.m-b-md {margin-bottom: 0.8em;}
.m-l-md {margin-left: 0.8em;}
.m-r-md {margin-right: 0.8em;}

.m-a-lg {margin: 1.6em;}
.m-x-lg {margin: 0 1.6em;}
.m-y-lg {margin: 1.6em 0;}
.m-t-lg {margin-top: 1.6em;}
.m-b-lg {margin-bottom: 1.6em;}
.m-l-lg {margin-left: 1.6em;}
.m-r-lg {margin-right: 1.6em;}

/* padding */
.p-a-xs {padding: 0.2em;}
.p-x-xs {padding: 0 0.2em;}
.p-y-xs {padding: 0.2em 0;}
.p-t-xs {padding-top: 0.2em;}
.p-b-xs {padding-bottom: 0.2em;}
.p-l-xs {padding-left: 0.2em;}
.p-r-xs {padding-right: 0.2em;}

.p-a-sm {padding: 0.4em;}
.p-x-sm {padding: 0 0.4em;}
.p-y-sm {padding: 0.4em 0;}
.p-t-sm {padding-top: 0.4em;}
.p-b-sm {padding-bottom: 0.4em;}
.p-l-sm {padding-left: 0.4em;}
.p-r-sm {padding-right: 0.4em;}

.p-a-md {padding: 0.8em;}
.p-x-md {padding: 0 0.8em;}
.p-y-md {padding: 0.8em 0;}
.p-t-md {padding-top: 0.8em;}
.p-b-md {padding-bottom: 0.8em;}
.p-l-md {padding-left: 0.8em;}
.p-r-md {padding-right: 0.8em;}

.p-a-lg {padding: 1.6em;}
.p-x-lg {padding: 0 1.6em;}
.p-y-lg {padding: 1.6em 0;}
.p-t-lg {padding-top: 1.6em;}
.p-b-lg {padding-bottom: 1.6em;}
.p-l-lg {padding-left: 1.6em;}
.p-r-lg {padding-right: 1.6em;}

/* text */
.text-bold {font-weight: bold;}

.text-left {text-align: left;}
.text-center {text-align: center;}
.text-right {text-align: right;}
.text-justify {text-align: justify;}

.text-top {vertical-align: top;}
.text-middle {vertical-align: middle;}
.text-bottom {vertical-align: bottom;}
.text-baseline {vertical-align: baseline;}

.text-muted {color: var(--color-muted);}
.text-link {cursor: pointer; color: var(--color-link);}
.text-link:hover {text-decoration: underline;}

.text-line-1,
.text-line-2,
.text-line-3 {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
}

.text-line-1 {-webkit-line-clamp: 1;}
.text-line-2 {-webkit-line-clamp: 2;}
.text-line-3 {-webkit-line-clamp: 3;}

/* flex */
.flex {display: flex;}
.wrap {flex-wrap: wrap;}
.column {flex-direction: column;}

.justify-start {justify-content: flex-start;}
.justify-end {justify-content: flex-end;}
.justify-center {justify-content: center;}
.justify-between {justify-content: space-between;}
.justify-around {justify-content: space-around;}

.align-start {align-items: flex-start;}
.align-end {align-items: flex-end;}
.align-center {align-items: center;}
.align-baseline {align-items: baseline;}
.align-stretch {align-items: stretch;}

.grow-0 {flex-grow: 0;}
.grow-1 {flex-grow: 1;}
.grow-2 {flex-grow: 2;}
.grow-3 {flex-grow: 3;}
.grow-4 {flex-grow: 4;}
.grow-5 {flex-grow: 5;}
.grow-6 {flex-grow: 6;}
.grow-7 {flex-grow: 7;}
.grow-8 {flex-grow: 8;}
.grow-9 {flex-grow: 9;}
.grow-10 {flex-grow: 10;}
.grow-11 {flex-grow: 11;}
.grow-12 {flex-grow: 12;}

.shrink-0 {flex-shrink: 0;}
.shrink-1 {flex-shrink: 1;}
.shrink-2 {flex-shrink: 2;}
.shrink-3 {flex-shrink: 3;}
.shrink-4 {flex-shrink: 4;}
.shrink-5 {flex-shrink: 5;}
.shrink-6 {flex-shrink: 6;}
.shrink-7 {flex-shrink: 7;}
.shrink-8 {flex-shrink: 8;}
.shrink-9 {flex-shrink: 9;}
.shrink-10 {flex-shrink: 10;}
.shrink-11 {flex-shrink: 11;}
.shrink-12 {flex-shrink: 12;}

.hide {display: none !important;}
.basis-1 {flex-basis: calc(100% / (12 / 1));}
.basis-2 {flex-basis: calc(100% / (12 / 2));}
.basis-3 {flex-basis: calc(100% / (12 / 3));}
.basis-4 {flex-basis: calc(100% / (12 / 4));}
.basis-5 {flex-basis: calc(100% / (12 / 5));}
.basis-6 {flex-basis: calc(100% / (12 / 6));}
.basis-7 {flex-basis: calc(100% / (12 / 7));}
.basis-8 {flex-basis: calc(100% / (12 / 8));}
.basis-9 {flex-basis: calc(100% / (12 / 9));}
.basis-10 {flex-basis: calc(100% / (12 / 10));}
.basis-11 {flex-basis: calc(100% / (12 / 11));}
.basis-12 {flex-basis: calc(100% / (12 / 12));}

/* button */
button,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.2em;
	padding: 0 2em;
	cursor: pointer;
	overflow: visible;
	border-radius: 2px;
	border: 1px solid transparent;
	transition: 0.1s ease-in-out;
	transition-property: color, background-color, border-color;
}

button:not(:disabled):active,
.button:not(:disabled):active {
	filter: brightness(80%);
}

button:disabled {
	color: var(--color-muted) !important;
	background-color: var(--color-disabled) !important;
	border-color: transparent !important;
}

/* table */
table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
	color: #000000;
	background-color: #ffffff;
}

thead, tfoot {border: 1px solid transparent;}
tbody {border: 1px solid var(--color-border);}
tbody > tr:nth-of-type(even) {background-color: #f6f4f0;}
tbody::after {content: "";}

th, td {
	height: 2.4em;
	padding: 0 0.8em;
	text-align: left;
	vertical-align: middle;
	font-weight: normal;
}

/* form */
label {
	display: flex;
	align-items: center;
	height: 2.2em;
	cursor: pointer;
}

textarea,
select,
input:not([type=radio]):not([type=checkbox]):not([type=range]) {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	padding: 0 0.4em;
	width: 100%;
	min-height: 2.2em;
	color: #666666;
	background-color: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 2px;
	transition: 0.1s ease-in-out;
	transition-property: color, background-color, border;
}

input[type=range] {
	display: block;
	width: 0;
	min-width: 100%;
	min-height: 2.2em;
}

textarea:focus,
select:focus,
input:focus {
	outline: none;
	border-color: var(--color-link);
}

textarea:disabled,
select:disabled,
input:disabled {
	color: var(--color-muted) !important;
	background-color: var(--color-disabled) !important;
	border-color: var(--color-border) !important;
}

textarea::placeholder,
input::placeholder {
	color: var(--color-muted);
}

select:not([multiple]):not([size]),
input:not([type=radio]):not([type=checkbox]) {
	height: 2.2em;
}

select:not([multiple]):not([size]),
.pick {
	padding-right: 3ex !important;
	background-repeat: no-repeat;
	background-position: calc(100% - 1ex);
	background-size: 1ex;
	background-origin: border-box;
	background-image: var(--svg-down);
}

.pick {cursor: pointer;}

.field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.field > *:first-child {
	display: block;
	width: 6em;
	margin-right: 0.4em;
	color: var(--color-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.field > *:last-child {
	flex-grow: 1 !important;
	width: 0 !important;
	min-width: 12em !important;
}

/* divider */
.divider-x {
	width: 100%;
	height: 1px;
	border-top: 1px solid var(--color-border);
}

.divider-y {
	width: 1px;
	height: 100%;
	border-left: 1px solid var(--color-border);
}

/* tag */
.tag {
	padding: 0.1em 0.4em;
	border-radius: 2px;
}

/* tabs */
.tabs {display: flex;}

.tabs > a {
	padding: 0 0.8em;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 3em;
	color: var(--color-muted);
	border-top: 1px solid transparent;
	border-bottom: 1px solid var(--color-border);
}

.tabs > a.active,
.tabs > a[href]:hover {
	color: #000000;
	border-top: 2px solid transparent;
	border-bottom: 2px solid var(--color-link);
}

/* card */
.card {
	display: flex;
	flex-direction: column;
	border: 1px solid transparent;
	border-radius: 2px;
}

.card > .head {
	font-weight: bold;
	flex-shrink: 0;
	padding: 0.8em;
	border-bottom: 1px solid var(--color-border);
}

.card > .body {
	flex-grow: 1;
	padding: 0.8em;
	overflow: auto;
}

.card > .foot {
	flex-shrink: 0;
	padding: 0.8em;
	border-top: 1px solid var(--color-border);
}

/* modal */
.modal {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 200000 !important;
	overflow: auto;
	background: rgba(0, 0, 0, 0.6);
}

.modal > .card {
	width: 600px;
	max-width: calc(100% - 2rem);
	max-height: calc(100% - 2rem);
	color: #000000;
	background-color: #ffffff;
}

/* tool-bar */
.tool-bar {
	border-bottom: 1px solid var(--color-border);
	background-color: var(--color-disabled);
}

/* notify */
body > .notify {
	display: block;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 4px;
	padding: 0.4rem 0.8rem;
	border-radius: 2px;
	z-index: 500000 !important;
	color: #ffffff;
	background-color: var(--color-dark);
}
body.has-nav:not(.nav-toggle) > .notify {left: 15rem;}

/* nav */
body.has-nav {transition: margin-left 0.1s;}
body.has-nav:not(.nav-toggle) {margin-left: 15rem;}

.appbar {
	display: flex;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	overflow-x: auto;
	white-space: nowrap;
	z-index: 100000 !important;
	color: #ffffff;
	background-color: var(--color-dark);
}

.appbar > .title {
	visibility: hidden;
	flex-grow: 1;
	flex-shrink: 1;
	font-weight: bold;
	height: 3rem;
	line-height: 3rem;
	padding: 0 0.8rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.appbar > .nav,
.appbar > .menu {
	flex-grow: 0;
	flex-shrink: 0;
	cursor: pointer;
}

.appbar > .nav > div {
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 0;
	bottom: 0;
	width: 15rem;
	z-index: 400001 !important;
	color: #000000;
	background-color: #f1f1f1;
	border-right: 1px solid var(--color-border);
	overflow-y: auto;
	transition: all 0.1s;
}
body.has-nav.nav-toggle .appbar > .nav > div {
	visibility: hidden;
	left: -15rem;
}
body.has-nav:not(.nav-toggle) .appbar > .nav > div {
	visibility: visible;
	left: 0;
}

.appbar > .nav > div > * {
	display: block;
	flex-shrink: 0;
	width: 100%;
	padding: 0.4em 0.8em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.appbar > .nav > div > a.brand {
	padding: 0;
	margin: 0 0 1rem 0;
}

.appbar > .nav > div > a.active {
	color: #ffffff;
	background-color: #4caf50;
}

.appbar > .nav > div > a:not(.brand):not(.active):hover {
	color: #ffffff;
	background-color: #555555;
}

.appbar > .menu > div {background-color: var(--color-dark);}

.appbar > .menu > div > a {
	display: inline-flex;
	align-items: center;
	height: 3rem;
	padding: 0 0.8rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.appbar > .menu > div > a:hover {background-color: #000000;}

.appbar > .nav,
.appbar > .menu::before {
	width: 3rem;
	height: 3rem;
	content: "";
	background-size: 1.2rem 1.2rem;
	background-position: center;
	background-repeat: no-repeat;
}

.appbar > .nav {
	display: block;
	background-image: var(--svg-nav);
}

.appbar > .menu::before {
	display: none;
	background-image: var(--svg-menu);
}

.appbar > .nav::after {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: "";
	z-index: 400000 !important;
	background: rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 999px) {
	body {margin-left: 0 !important;}
	body > .notify {left: 0 !important;}

	.appbar > .menu > div {
		display: none;
		position: fixed;
		right: 0;
		min-width: 12rem;
		flex-direction: column;
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	}

	.appbar > .menu > div > a {
		height: auto;
		padding: 0.4rem 0.8rem;
	}

	.appbar > .menu::before {display: block;}
	.appbar > .menu:hover > div {display: flex;}

	.appbar > .nav > div {
		max-width: 75%;
	}

	body.has-nav.nav-toggle .appbar > .nav::after {display: block;}
	body.has-nav:not(.nav-toggle) .appbar > .nav > div {
		visibility: hidden;
		left: -15rem;
	}
	body.has-nav.nav-toggle .appbar > .nav > div {
		visibility: visible;
		left: 0;
	}
}

@media screen and (max-width: 599px) {
	.hide-xs {display: none !important;}
	.basis-1-xs {flex-basis: calc(100% / (12 / 1));}
	.basis-2-xs {flex-basis: calc(100% / (12 / 2));}
	.basis-3-xs {flex-basis: calc(100% / (12 / 3));}
	.basis-4-xs {flex-basis: calc(100% / (12 / 4));}
	.basis-5-xs {flex-basis: calc(100% / (12 / 5));}
	.basis-6-xs {flex-basis: calc(100% / (12 / 6));}
	.basis-7-xs {flex-basis: calc(100% / (12 / 7));}
	.basis-8-xs {flex-basis: calc(100% / (12 / 8));}
	.basis-9-xs {flex-basis: calc(100% / (12 / 9));}
	.basis-10-xs {flex-basis: calc(100% / (12 / 10));}
	.basis-11-xs {flex-basis: calc(100% / (12 / 11));}
	.basis-12-xs {flex-basis: calc(100% / (12 / 12));}
}

@media screen and (min-width: 600px) {
	.hide-sm {display: none !important;}
	.basis-1-sm {flex-basis: calc(100% / (12 / 1));}
	.basis-2-sm {flex-basis: calc(100% / (12 / 2));}
	.basis-3-sm {flex-basis: calc(100% / (12 / 3));}
	.basis-4-sm {flex-basis: calc(100% / (12 / 4));}
	.basis-5-sm {flex-basis: calc(100% / (12 / 5));}
	.basis-6-sm {flex-basis: calc(100% / (12 / 6));}
	.basis-7-sm {flex-basis: calc(100% / (12 / 7));}
	.basis-8-sm {flex-basis: calc(100% / (12 / 8));}
	.basis-9-sm {flex-basis: calc(100% / (12 / 9));}
	.basis-10-sm {flex-basis: calc(100% / (12 / 10));}
	.basis-11-sm {flex-basis: calc(100% / (12 / 11));}
	.basis-12-sm {flex-basis: calc(100% / (12 / 12));}
}

@media screen and (min-width: 900px) {
	.hide-md {display: none !important;}
	.basis-1-md {flex-basis: calc(100% / (12 / 1));}
	.basis-2-md {flex-basis: calc(100% / (12 / 2));}
	.basis-3-md {flex-basis: calc(100% / (12 / 3));}
	.basis-4-md {flex-basis: calc(100% / (12 / 4));}
	.basis-5-md {flex-basis: calc(100% / (12 / 5));}
	.basis-6-md {flex-basis: calc(100% / (12 / 6));}
	.basis-7-md {flex-basis: calc(100% / (12 / 7));}
	.basis-8-md {flex-basis: calc(100% / (12 / 8));}
	.basis-9-md {flex-basis: calc(100% / (12 / 9));}
	.basis-10-md {flex-basis: calc(100% / (12 / 10));}
	.basis-11-md {flex-basis: calc(100% / (12 / 11));}
	.basis-12-md {flex-basis: calc(100% / (12 / 12));}

	.appbar > .title {visibility: visible;}
}

@media screen and (min-width: 1200px) {
	.hide-lg {display: none !important;}
	.basis-1-lg {flex-basis: calc(100% / (12 / 1));}
	.basis-2-lg {flex-basis: calc(100% / (12 / 2));}
	.basis-3-lg {flex-basis: calc(100% / (12 / 3));}
	.basis-4-lg {flex-basis: calc(100% / (12 / 4));}
	.basis-5-lg {flex-basis: calc(100% / (12 / 5));}
	.basis-6-lg {flex-basis: calc(100% / (12 / 6));}
	.basis-7-lg {flex-basis: calc(100% / (12 / 7));}
	.basis-8-lg {flex-basis: calc(100% / (12 / 8));}
	.basis-9-lg {flex-basis: calc(100% / (12 / 9));}
	.basis-10-lg {flex-basis: calc(100% / (12 / 10));}
	.basis-11-lg {flex-basis: calc(100% / (12 / 11));}
	.basis-12-lg {flex-basis: calc(100% / (12 / 12));}

	.appbar > .title {visibility: visible;}
}

/* picker */
#wa-picker {z-index: 300000 !important;}
#wa-picker tbody {cursor: pointer;}
#wa-picker td:last-child {
	width: 5em;
	text-align: right;
}
