@keyframes halu {
	from {
		filter: hue-rotate(0deg);
	}
	to {
		filter: hue-rotate(360deg)
	}
}
@font-face {
	font-family: lilitaone;
	src: url('/font/LilitaOne-Regular.ttf');
}
:root {
	color-scheme: dark;
	--bs-body-font-family: lilitaone;
}
body {
	background-color: #999999;
}
.highlighted_txt {
	text-stroke: .02em #fff;
	-webkit-text-stroke: .02em #fff;
}
a {
	text-decoration: none;
	color: inherit;
	text-stroke: inherit;
	-webkit-text-stroke: inherit;
}
#mep {
	cursor: grabbing;
	animation: halu 99s infinite linear;
}
#mep:hover {
	animation-duration: 3s;
}
#all {
	padding: 16px 16px 16px 256px;
	/*font-family: lilitaone;*/
}
polygon, line {
	fill: none;
	stroke-width: 8px;
	stroke-linecap: butt;
	stroke-linejoin: round;
}
footer {
	text-align: center;
}

#history_btns {
	width: 150px;
}

#navbar_left {
	width: 224px;
	position: fixed;
	overflow-y: scroll;
	padding-bottom: 100px;
	z-index: 999;
	/*max-height: calc(100vh - 105px);*/
}

#overall_zoom > label {
	width: 100px;
}
#schedule_wrapper {
	margin: 32px 4px;
	width: 960px;
	height: 540px;
}
#schedule {
	position: relative;
	margin: 8px 0;
	width: 1920px;
	height: 1080px;
	transform-origin: 0 0;
	transform: scale(.5);
	background-position: 100% 0;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: 0px 0px 16px rgba(0, 0, 0, 1);
}
.bottom {
	display: inline-block;
	margin: 8px;
	width: 192px;
	height: 108px;
	background-position: 100% 0;
	background-repeat: no-repeat;
	background-size: contain;
	outline: dashed 1px blue;
}
#bottom_bg {
}

.layerlist_item_wrapper {
	width: 200px;
	margin: 4px;
	position: relative;
	background: repeating-conic-gradient(rgba(0, 0, 0, .2) 0% 25%, rgba(255, 255, 255, .4) 0% 50%) 50% / 16px 16px;
	/*background: url('/img/transparent.png');*/
/*	height: 116px;
	overflow-y: hidden;*/
}

.layerlist_item {
	width: 192px;
	height: 108px;
	margin: 4px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	text-align: center;
	line-height: 108px;
	cursor: pointer;
	outline: dashed 1px blue;
	font-size: 24px;
	text-shadow: 1px 1px 2px #000;
}
.layerlist_item::selection {
	background: none;
}

.layerlist_controls {
	width: 200px;
	margin-top: 4px;
	padding: 4px;
	border-radius: 0 0 4px 4px;
	box-shadow: 0px 0px 4px rgba(69, 69, 69, .5) inset, 0px 0px 6px 9px rgb(69 69 69 / 50%);
	background: #f9f9f9;
}

.layerlist_controls input[type="range"] {
	margin-left: 4px;
	width: calc(100% - 20px);
	vertical-align: middle;
}

.layer {
	position: absolute;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	transform-origin: 0 0;
	white-space: pre-wrap;
	z-index: 1500;
	cursor: crosshair;
	display: flex;
	align-items: center;
	transition: width ease .5s, height ease .5s, font-size ease .5s, transform ease .5s, opacity ease .5s, border-radius ease .5s;
}

.layer a {
	cursor: inherit;
}
.layer:hover {
	outline: dashed 2px #996666;
}

.layer:active {
	animation: halu 1s 1 linear;
}

.badgie {
	line-height: 60px;
	padding: 10px 10px 10px 60px;
	letter-spacing: 1px;
}

#render_img {
	border: solid 1px #6c757d;
}

#history_spinner {
	margin-right: 8px;
}

.position_min, .position_max, .size_min, .size_max {
	opacity: .5;
}

.position_current, .size_current {
	padding: 0;
	margin: 0;
	text-align: right;
	width: 80px;
	border: none;
	outline: none;
	background: transparent;
	color: #000000;
}
.position_current:focus, .position_current:hover, .size_current:focus, .size_current:hover {
	outline: dashed 1px black;
}

input.control_width {
	cursor: ew-resize;
	width: 100%!important;
	margin-left: 0!important;
}

input.control_height {
	cursor: ns-resize;
	width: 100%!important;
	margin-left: 0!important;
}

#menu_schedule {
	width: 820px;
	padding: 9px;
}
#time_selectors > div {
	padding: 1px 0;
	border-top: dashed 1px rgba(99, 99, 99, .3);
}
#time_selectors > div > div > div {
	height: 84px;
	display: inline-block;
	vertical-align: top;
}
#time_selectors > div > div > div:first-child {
	width: 64px;
	line-height: 84px;
	text-align: center;
}
#time_selectors > div > div > div:nth-child(4) input {
	width: 128px;
}
#time_selectors input, #time_selectors textarea {
	margin: 1px;
	height: 40px;
	display: block;
}
#time_selectors textarea {
	width: 512px;
	resize: none;
}

.text_color, .bg_color {
	display: inline-block;
}

.l_text_color, .l_bg_color {
	line-height: 38px;
	vertical-align: top;
	margin-left: 4px;
}

.S_highlight {
	outline: dashed 1px red;
	box-shadow: 0 0 9px 9px rgba(0,0,0, 0.1), 0 0 99px 99px rgba(0,0,0, 0.1), 0 0 999px 999px rgba(0,0,0, 0.1);
	opacity: 1!important;
}
.S_hashighlight {
}
.S_hashighlight .layer:not(.S_highlight) {
}

.bubble {
	position: relative;
	text-align: center;
	font-weight: bold;
	background-color: #ffffff;
	border: 8px solid #00c5f7;
	border-radius: 50%;
	/*text-stroke: .05em #00c5f7;
	-webkit-text-stroke: .05em #00c5f7;*/
	box-shadow: 4px 4px 8px #6bedff inset;
	z-index: 3
}
.bubble:before {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	left: calc(50% - 81px);
	top: calc(100% - 33px);
	border: 16px solid;
	border-color: #00c5f7 transparent transparent #00c5f7;
	transform: rotate(38deg);
	transform-origin: 0 0;
	/*z-index: -20;*/
}
.bubble:after {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	left: calc(50% - 69px);
	top: calc(100% - 39px);
	border: 16px solid;
	border-color: #ffffff transparent transparent #ffffff;
	transform: rotate(38deg);
	transform-origin: 0 0;
	/*z-index: -10;*/
}
#layer_add_wrapper {
	width: 100%;
	text-align: center;
}
#helpPage .modal-body p,
#helpPage .modal-body ul {
	font-family: sans-serif;
}

