* {margin: 0;padding: 0;border: 0;box-sizing: border-box;}
*:focus {outline: none;}
html {background-color: #fff;}
body {font-family: 'Open Sans', sans-serif;font-size: 12px;color: #000;}
html, body {height: 100%;overflow: hidden;}
a {color: #1e88e5;text-decoration: underline;}
a:hover {color: #000;}
#container {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr auto;
	gap: 0;
	grid-auto-flow: row;
	grid-template-areas: 'header' 'content' 'footer';
	height: 100%;
}
#header {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr;
	gap: 0;
	grid-auto-flow: row;
	grid-template-areas: 'header-left header-center header-right';
	grid-area: header;
	border-bottom: 1px #eee solid;
}
#header-left {
	grid-area: header-left;
}
#header-left p {
	display: block;
	line-height: 1.5;
	text-align: left;
	padding: 38px 20px;
}
#header-center {
	grid-area: header-center;
}
#header-center h1 {
	display: none;
}
#header-center p {
	font-size: 36px;
	line-height: 1.5;
	text-align: center;
	display: block;
	padding: 20px;
}
#header-center p a {
	color: #000;
	text-decoration: none;
}
#header-right {
	grid-area: header-right;
}
#header-right ul {
	display: block;
	list-style: none outside none;
	text-align: right;
	padding: 38px 20px;
	font-size: 0;
	letter-spacing: 0;
	word-spacing: 0;
}
#header-right ul li {
	display: inline-block;
	line-height: 1.5;
	padding-left: 10px;
	text-align: center;
}
#header-right ul li a {
	font-size: 12px;
}
#content {
	grid-area: content;
	background-color: #fafafa;
	overflow-y: auto;
	position: relative;
}
#wrap {
	float: none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 800px;
	height: auto;
	transform: translate(-50%, -50%);
	background-color: #f5f5f5;
}
#center-container {
	padding: 20px;
	border: 1px #eee solid;
}
#center-container form {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto auto auto auto;
	gap: 0;
	grid-auto-flow: row;
	grid-template-areas: 'ccr1' 'ccr2' 'ccr3' 'ccr4' 'ccr5' 'ccr6';
}
#ccr1 {
	display: grid;
	grid-template-columns: 1fr 76px 76px;
	grid-template-rows: 1fr;
	gap: 0;
	grid-auto-flow: row;
	grid-template-areas: 'ccr1l1 ccr1l2 ccr1l3';
	grid-area: ccr1;
	list-style: none outside none;
}
#ccr1l1 {
	grid-area: ccr1l1;
}
#ccr1l1 input {
	font-family: 'Courier New', Courier, monospace;
	font-size: 24px;
	font-weight: bold;
	color: #1e88e5;
	line-height: 36px;
	width: 100%;
	text-align: left;
	padding: 20px;
	margin: 0;
	appearance: none;
	touch-action: none;
	outline: 0;
	box-shadow: none;
	background-color: #fff;
	border: 1px #eee solid;
	border-radius: 0;
	overflow: hidden;
}
#ccr1l2 {
	grid-area: ccr1l2;
}
#ccr1l2 a {
	display: block;
	font-size: 24px;
	color: #fff;
	line-height: 1.5;
	padding: 20px;
	text-align: center;
	background-color: #43a047;
	border: 1px #43a047 solid;
}
#ccr1l3 {
	grid-area: ccr1l3;
}
#ccr1l3 a {
	display: block;
	font-size: 24px;
	color: #fff;
	line-height: 1.5;
	padding: 20px;
	text-align: center;
	background-color: #ffb300;
	border: 1px #ffb300 solid;
}
#ccr1l2 a:hover, #ccr1l3 a:hover {
	background-color: #000;
	border-color: #000;
}
#ccr2 {
	grid-area: ccr2;
	padding: 20px 0;
	position: relative;
}
#range-length {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: 36px;
	background: transparent;
	cursor: pointer;
	margin: 0;
	padding: 0;
	display: block;
}
#range-length::-webkit-slider-runnable-track {
	height: 2px;
	background: linear-gradient(to right, #1e88e5 0, #1e88e5 var(--progress, 0%), #eee var(--progress, 0%), #eee 100%);
	border: 0;
}
#range-length::-moz-range-track {
	height: 2px;
	background: #eee;
	border: 0;
}
#range-length::-moz-range-progress {
	height: 2px;
	background: #1e88e5;
}
#range-length::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	margin-top: -17px;
	cursor: grab;
}
#range-length::-moz-range-thumb {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: grab;
}
#range-length:active::-webkit-slider-thumb {
	cursor: grabbing;
}
#range-length:active::-moz-range-thumb {
	cursor: grabbing;
}
#range-output {
	position: absolute;
	top: 20px;
	left: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #1e88e5;
	color: #fff;
	text-align: center;
	line-height: 36px;
	font-size: 18px;
	pointer-events: none;
	z-index: 2;
}
#ccr3 {
	color: #e53935;
	font-weight: bold;
	grid-area: ccr3;
}
#ccr4 {
	display: grid;
	grid-template-columns: 15.8333% 25% 27.5% 15.8333% 15.8333%;
	grid-template-rows: 1fr;
	gap: 0;
	grid-auto-flow: row;
	grid-area: ccr4;
	list-style: none outside none;
	padding: 20px;
}
#ccr4 li {
	display: flex;
	align-items: center;
	gap: 10px;
}
#ccr4 input[type=checkbox], #ccr6 input[type=checkbox] {
	appearance: none;
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 1px solid #e53935;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	cursor: pointer;
	flex-shrink: 0;
}
#ccr4 input[type=checkbox]:checked, #ccr6 input[type=checkbox]:checked {
	background-color: #e53935;
	border-color: #e53935;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10 L8 14 L16 6' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
#ccr4 input[type=checkbox]:focus-visible, #ccr6 input[type=checkbox]:focus-visible {
	outline: 2px solid #1e88e5;
	outline-offset: 2px;
}
#ccr4 label {
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
	appearance: none;
	touch-action: none;
	outline: 0;
	box-shadow: none;
	border-radius: 0;
}
#ccr4 label em {
	font-size: 10px;
	font-style: normal;
	color: #9e9e9e;
}
#ccr5 {
	color: #e53935;
	font-weight: bold;
	grid-area: ccr5;
}
#ccr6 {
	display: grid;
	grid-template-columns: 15.8333% 25% 27.5% 15.8333% 15.8333%;
	grid-template-rows: 1fr;
	gap: 0;
	grid-auto-flow: row;
	grid-area: ccr6;
	list-style: none outside none;
	padding: 20px;
}
#ccr6 li {
	display: flex;
	align-items: center;
	gap: 10px;
}
#ccr6 label {
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
	appearance: none;
	touch-action: none;
	outline: 0;
	box-shadow: none;
	border-radius: 0;
}
#ccr6 label em {
	font-size: 10px;
	font-style: normal;
	color: #9e9e9e;
}
#footer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr;
	gap: 0;
	grid-auto-flow: row;
	grid-template-areas: 'footer-left footer-center footer-right';
	grid-area: footer;
	border-top: 1px #eee solid;
}
#footer-left {
	grid-area: footer-left;
}
#footer-left p {
	display: block;
	padding: 20px;
	text-align: left;
	line-height: 1.5;
}
#footer-center {
	grid-area: footer-center;
}
#footer-center ul {
	display: block;
	font-size: 0;
	letter-spacing: 0;
	word-spacing: 0;
	padding: 20px;
	text-align: center;
	list-style: none outside none;
}
#footer-center ul li {
	display: inline-block;
	font-size: 12px;
	margin: 0 2px;
}
#footer-center ul li a {
	text-decoration: none;
}
#footer-center ul li a span {
	font-size: inherit;
}
#footer-right {
	grid-area: footer-right;
}
#footer-right p {
	display: block;
	padding: 20px;
	text-align: right;
	line-height: 1.5;
}
@media screen and (max-width: 1200px) {
	#header {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		grid-template-areas: 'header-center';
	}
	#header-left {
		display: none;
	}
	#header-center p {
		font-size: 24px;
	}
	#header-right {
		display: none;
	}
	#footer {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		grid-template-areas: 'footer-left';
	}
	#footer-left p {
		text-align: center;
	}
	#footer-center {
		display: none;
	}
	#footer-right {
		display: none;
	}
}
@media screen and (max-width: 800px) {
	#wrap {
		position: static;
		transform: none;
		width: 100%;
		margin: 0;
		background-color: #fafafa;
	}
	#center-container {
		padding: 10px;
		border: none;
	}
	#center-container form {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto auto auto;
		grid-template-areas: 'ccr1 ccr1' 'ccr2 ccr2' 'ccr3 ccr5' 'ccr4 ccr6';
	}
	#ccr1 {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		grid-template-areas: 'ccr1l1 ccr1l1' 'ccr1l2 ccr1l3';
	}
	#ccr1 li a {
		padding: 10px;
	}
	#ccr2 {
		padding: 10px 0;
	}
	#ccr4 {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
		gap: 10px;
		padding: 10px;
	}
	#ccr4 label br {
		display: none;
	}
	#ccr4 label em {
		display: none;
	}
	#ccr6 {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
		gap: 10px;
		padding: 10px;
	}
	#ccr6 label br {
		display: none;
	}
	#ccr6 label em {
		display: none;
	}
}