:root { 
	--green-dark: #93c47d;
	--green-med: #b6d7a8;
	--green-light: #d9ead3;
	--red-dark: #c27ba0;
	--red-med: #d5a6bd;
	--red-light: #ead1dc;
	--purple-dark: #8e7cc3;
	--purple-med: #b4a7d6;
	--purple-light: #d9d2e9;
	--blue-dark: #6fa8dc;
	--blue-med: #9fc5e8;
	--blue-light: #cfe2f3;
	--orange-dark: #f6b26b;
	--orange-med: #f9cb9c;
	--orange-light: #fce5cd;
	--yellow-dark: #ffd966;
	--yellow-med: #ffe599;
	--yellow-light: #fff2cc;
	--grey-dark: #b7b7b7;
	--grey-med: #d9d9d9;
	--grey-light: #f3f3f3;
}

body {
	font-family: Helvetica, sans-serif;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	gap: 8px;
}

div#title {
	text-align: center;
	width: 1200px;
	font-size: 17px;
	margin-right: auto;
	margin-left: auto;
}

table {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	border-collapse: collapse;
}

img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

p.sect_labels {
	width: 400px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 25px;
	margin-bottom: 5px;
	margin-top: 25px;
}
p.subsect_label {
	width: 800px;
	font-style: italic;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 17px;
	margin-bottom: 5px;
	margin-top: 5px;
}

div#walkthrough {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	padding: 20px;
	margin-top: -35px;
}

p.walkthrough {
	font-size: 17px;
	margin-bottom: 25px;
	margin-top: 25px;
}
p.code {
	font-family: 'Courier New', monospace;
	white-space: pre-wrap;
	margin: 0;
	font-size: 17px;
}
p.code-c {
	font-family: 'Courier New', monospace;
	text-align: center;
	white-space: pre-wrap;
	margin: 0;
	font-size: 17px;
}
div.code-block {
	border-radius: 20px;
	width: 900px;
	padding-left: 100px;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: var(--grey-light);
}

c {
	font-family: 'Courier New', monospace;
}
h3 {
	margin-top: 40px;
	text-align: center;
}

table#debug_vals tr:nth-child(1) td {
	padding-top: 20px;
}
table#debug_vals tr:nth-last-child(1) td {
	padding-bottom: 20px;
}
table.debug#debug_vals {
	font-family: 'Courier New', monospace;
	background-color: var(--grey-light);
}
table.debug#debug_vals tr:nth-child(n+3) td:nth-child(1) {
	text-align: right;
	width: 275px;
}
table.debug#debug_vals tr:nth-child(n+3) td:nth-child(2) {
	text-align: left;
	width: 275px;
}
table.debug#debug_vals tr td {
	padding-left: 5px;
	padding-right:5px;
}

button {
	width: 150px;
}
button.change_disk_qty {
	width: 50px;
}
button#plus_1 {
	margin-left: 10px;
}
button#add_vdev {
	width: 220px;
}
td#vdev_button {
	text-align: center;
}
td#add_disk {
	margin-top: 30px;
}
td#add_disk_button {
	vertical-align: top;
	padding-top: 5px;
	width: 200px;
	text-align: right;
}
td#tb_gb_button {
	vertical-align: top;
	padding-top: 5px;
	width: 250px;
	text-align: left;
	padding-left: 10px;
}
td#reset_button {
	text-align: center;
}
button#reset_button {
	width: 220px;
}
td#res_label {
	text-align: right;
}
td#res_input {
	text-align: left;
	padding-left: 10px;
}
td#status {
	font-size: 14px;
	padding-top: 10px;
	height: 100px;
	text-align: center;
	white-space: pre-wrap;
	font-family: 'Courier New', Courier, monospace;
}

td#add_disk_buttons {
	text-align: center;
}

.rocker-button{
	width:30px;
	height:50px;
	background: #EFEFEF;
	border-radius:4px;
	color: black;
	position:relative;
	border: 1px solid black;
	overflow:hidden;
	font-size:8px;
	display:inline-block;
	margin:0 3px;
	vertical-align:middle;
}

.add_disk_vrule{
	width:1px;
	height:52px;
	background: black;
	border-radius:4px;
	position:relative;
	overflow:hidden;
	display:inline-block;
	margin:0 3px;
	vertical-align:middle;
}

.half{
	width:100%;
	height:50%;
	position:absolute;
	left:0;
	text-align:center;
	cursor:pointer;
	transition:background .12s, transform .08s;
	user-select:none;
	z-index: 0;
}
.half.up{ top:-3px; }
.half.down{ bottom: -2px; }
.half.up:hover{ background:#E5E5E5; }
.half.down:hover{ background:#E5E5E5; }

.half.up:active,
.half.down:active{
	background:#f6f6f6;
}

.arrow{
	display:inline-block;
	font-size:12px;
	line-height:1;
	position:relative;
	top:50%;
	transform:translateY(-50%);
	pointer-events:none;
}

.center-text{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	font-size:12px;
	pointer-events:none;
	z-index: 1;
}

th#first_ssd {
	border-style: solid;
	border-width: 3px 2px 2px 2px;
	border-color: #404040 white white white;
}
td#first_ssd {
	border-style: solid;
	border-width: 3px 0px 0px 0px;
	border-color: #404040 white white white;
}

th#lowest_custom_size {
	border-style: solid;
	border-width: 2px 2px 3px 2px;
	border-color: white white #404040 white;
}
td#lowest_custom_size {
	border-style: solid;
	border-width: 0px 0px 3px 0px;
	border-color: white white #404040 white;
}

table.debug#details {
	font-family: 'Courier New', monospace;
}
table.debug#details tr:nth-child(1) {
	background-color: var(--grey-dark);
}
table.debug#details tr:nth-child(2n+2) {
	background-color: var(--grey-light);
}
table.debug#details tr:nth-child(2n+3) {
	background-color: var(--grey-med);
}
table.debug#details tr td {
	padding-left: 25px;
	padding-right:25px;
}
table.debug#details tr:nth-child(n+1) td {
	font-size: 15px;
}
table.debug#details tr td:nth-child(6) {
	width: 250px;
}

table.inputs tr td:nth-child(1) {
	padding-top: 5px;
	width: 275px;
	text-align: right;
}
table.inputs tr td:nth-child(2) {
	padding-top: 5px;
	width: 100px;
	text-align: left;
	padding-left: 10px;
}
table.inputs tr td:nth-child(3) {
	padding-top: 5px;
	width: 200px;
	text-align: right;
}
table.inputs tr td:nth-child(4) {
	padding-top: 5px;
	width: 275px;
	text-align: left;
	padding-left: 10px;
}

table.inputs tr td table.shelf_count tr td {
	text-align: center;
	width: 150px;
	font-size: 14px;
}
table.inputs tr td table.shelf_count tr td:nth-child(1) {
	text-align: right;
	font-weight: bold;
}
table.inputs tr td table.shelf_count tr:nth-child(1) {
	font-weight: bold;
}

label {
	font-size: 20px;
	vertical-align: middle;
}
label.tooltip {
	font-size: 12px;
	margin: 0 15px;
	color: rgb(121, 184, 206);
	border: 1px solid rgb(121, 184, 206);
	border-radius: 25px;
	padding: 0 3px;
}

input[type=text] {
	width: 75px;
}
select {
	width: 75px;
}

input.draid_settings {
	width: 35px;
	font-size: 15px;
	font-family: 'Courier New', monospace;
}
label.draid_settings {
	font-size: 20px;
	font-family: 'Courier New', monospace;
}
td#draid_settings {
	text-align: center;
}

th {
	padding-top: 5px;
	padding-bottom: 5px;
	border-style: solid;
	border-color: white;
	border-width: 2px;
}

td.results tr td {
	padding-top: 3px;
	padding-bottom: 3px;
	border-style: solid;
	border-color: white;
	border-width: 2px;
}

td.white {
	background-color: #ffffff;
	width: 100px;
}

table.results tr:nth-child(1) th {
	width: 150px;
}

table.results tr:nth-child(2) td {
	font-style: italic;
	font-size: 14px;
}

table.results {
	margin-bottom: 50px;
}

/* Common Table Colors */
/*
table#common tr:nth-child(odd) td:nth-child(2) {
	background-color: var(--green-light);
}
table#common tr:nth-child(even) td:nth-child(2) {
	background-color: var(--green-med);
}
table#common tr:nth-child(1) th:nth-child(2) {
	background-color: var(--green-dark);
}
*/

table#common tr:nth-child(odd) td:nth-child(2) {
	background-color: var(--red-light);
}
table#common tr:nth-child(even) td:nth-child(2) {
	background-color: var(--red-med);
}
table#common tr:nth-child(1) th:nth-child(2) {
	background-color: var(--red-dark);
}
table#common tr:nth-child(odd) td:nth-child(n+3):nth-child(-n+5) {
	background-color: var(--purple-light);
}
table#common tr:nth-child(even) td:nth-child(n+3):nth-child(-n+5) {
	background-color: var(--purple-med);
}
table#common tr:nth-child(1) th:nth-child(n+3):nth-child(-n+5) {
	background-color: var(--purple-dark);
}
table#common tr:nth-child(odd) td:nth-child(n+6) {
	background-color: var(--blue-light);
}
table#common tr:nth-child(even) td:nth-child(n+6) {
	background-color: var(--blue-med);
}
table#common tr:nth-child(1) th:nth-child(n+6) {
	background-color: var(--blue-dark);
}

/* Common SSD Table Colors */
table#common-ssd tr:nth-child(odd) td:nth-child(2) {
	background-color: var(--green-light);
}
table#common-ssd tr:nth-child(even) td:nth-child(2) {
	background-color: var(--green-med);
}
table#common-ssd tr:nth-child(1) th:nth-child(2) {
	background-color: var(--green-dark);
}
table#common-ssd tr:nth-child(odd) td:nth-child(3) {
	background-color: var(--red-light);
}
table#common-ssd tr:nth-child(even) td:nth-child(3) {
	background-color: var(--red-med);
}
table#common-ssd tr:nth-child(1) th:nth-child(3) {
	background-color: var(--red-dark);
}
table#common-ssd tr:nth-child(odd) td:nth-child(n+4):nth-child(-n+5) {
	background-color: var(--purple-light);
}
table#common-ssd tr:nth-child(even) td:nth-child(n+4):nth-child(-n+5) {
	background-color: var(--purple-med);
}
table#common-ssd tr:nth-child(1) th:nth-child(n+4):nth-child(-n+5) {
	background-color: var(--purple-dark);
}
table#common-ssd tr:nth-child(odd) td:nth-child(n+6) {
	background-color: var(--blue-light);
}
table#common-ssd tr:nth-child(even) td:nth-child(n+6) {
	background-color: var(--blue-med);
}
table#common-ssd tr:nth-child(1) th:nth-child(n+6) {
	background-color: var(--blue-dark);
}

/* Stripe+Mirrors Table Colors */
table#stripes tr:nth-child(odd) td:nth-child(2) {
	background-color: var(--green-light);
}
table#stripes tr:nth-child(even) td:nth-child(2) {
	background-color: var(--green-med);
}
table#stripes tr:nth-child(1) th:nth-child(2) {
	background-color: var(--green-dark);
}
table#stripes tr:nth-child(odd) td:nth-child(n+3) {
	background-color: var(--red-light);
}
table#stripes tr:nth-child(even) td:nth-child(n+3) {
	background-color: var(--red-med);
}
table#stripes tr:nth-child(1) th:nth-child(n+3) {
	background-color: var(--red-dark);
}

/* RAIDZ1 Table Colors */
table#raidz1 tr:nth-child(odd) {
	background-color: var(--purple-light);
}
table#raidz1 tr:nth-child(even) {
	background-color: var(--purple-med);
}
table#raidz1 tr:nth-child(1) {
	background-color: var(--purple-dark);
}

/* RAIDZ2 Table Colors */
table#raidz2 tr:nth-child(odd) {
	background-color: var(--blue-light);
}
table#raidz2 tr:nth-child(even) {
	background-color: var(--blue-med);
}
table#raidz2 tr:nth-child(1) {
	background-color: var(--blue-dark);
}

/* RAIDZ3 Table Colors */
table#raidz3 tr:nth-child(odd) {
	background-color: var(--orange-light);
}
table#raidz3 tr:nth-child(even) {
	background-color: var(--orange-med);
}
table#raidz3 tr:nth-child(1) {
	background-color: var(--orange-dark);
}

/* dRAID Table Colors */
table#draid tr:nth-child(odd) {
	background-color: var(--yellow-light);
}
table#draid tr:nth-child(even) {
	background-color: var(--yellow-med);
}
table#draid tr:nth-child(1) {
	background-color: var(--yellow-dark);
}

/* Disk Size Column Colors */
table.results tr:nth-child(2n+2) th {
	background-color: var(--grey-dark);
}
table.results tr:nth-child(2n+3) th {
	background-color: var(--grey-med);
}

.back {
	font-family: Helvetica;
	color: #31849B;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -1px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
	margin-bottom: 50px;
}
.footer {
	font-family: Helvetica;
	color: #31849B;
	font-size: 10px;
	letter-spacing: -1px;
	color: #74BED2;
	text-align: center;
	margin: 50px auto;
}
