body {
    background-color: #000000;
    color : #ffffff;
    font-family: 'Source Sans 3', sans-serif;
  }

.tooltip {
	position: absolute;
	z-index: 1080;
	display: block;
	word-wrap: break-word;
	opacity: 0
}

.tooltip.show {
	opacity: 1;
}

.tooltip .tooltip-arrow {
	position: absolute;
	display: block;
	width: .8rem;
	height: .4rem
}

.tooltip .tooltip-arrow::before {
	position: absolute;
	content: "";
	border-color: transparent;
	border-style: solid
}

.bs-tooltip-auto[data-popper-placement^=top],
.bs-tooltip-top {
	padding: .4rem 0
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,
.bs-tooltip-top .tooltip-arrow {
	bottom: 0
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
	top: -1px;
	border-width: .4rem .4rem 0;
	border-top-color: #000
}

.bs-tooltip-auto[data-popper-placement^=right],
.bs-tooltip-end {
	padding: 0 .4rem
}

.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,
.bs-tooltip-end .tooltip-arrow {
	left: 0;
	width: .4rem;
	height: .8rem
}

.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,
.bs-tooltip-end .tooltip-arrow::before {
	right: -1px;
	border-width: .4rem .4rem .4rem 0;
	border-right-color: #000
}

.bs-tooltip-auto[data-popper-placement^=bottom],
.bs-tooltip-bottom {
	padding: .4rem 0
}

.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,
.bs-tooltip-bottom .tooltip-arrow {
	top: 0
}

.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,
.bs-tooltip-bottom .tooltip-arrow::before {
	bottom: -1px;
	border-width: 0 .4rem .4rem;
	border-bottom-color: #000
}

.bs-tooltip-auto[data-popper-placement^=left],
.bs-tooltip-start {
	padding: 0 .4rem
}

.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,
.bs-tooltip-start .tooltip-arrow {
	right: 0;
	width: .4rem;
	height: .8rem
}

.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,
.bs-tooltip-start .tooltip-arrow::before {
	left: -1px;
	border-width: .4rem 0 .4rem .4rem;
	border-left-color: #000
}

.tooltip-inner {
	max-width: 200px;
	padding: .25rem .5rem;
	color: #fff;
	text-align: center;
	background-color: #000;
	border-radius: .25rem
}

.calculator {
	margin: 2rem auto;
	padding: 1rem;
	width: 100%;
	max-width: fit-content;
	box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 22%);
	background: #B3B3B3;
}

.calculator *:not(input) {
	color: white
}

.table-responsive {
	overflow-x: auto;
}

.table-main {
	width: 100%;
	max-width: fit-content;
}

table {
	border-collapse: collapse;
	width: auto;
}

#targets,
.table-main {
	margin: auto;
}

#targets td,
.table-main td {
	text-align: center;
	padding: .25rem;
	width: 5rem;
	min-width: 5rem;
	border-bottom: 2px solid white;
}

#input-table thead td {
	font-weight: bolder;
	border-width: 4px;
}

#input-table thead tr:first-of-type td:nth-child(-n+3),
#input-table thead tr:last-of-type td:nth-child(3n):not(:last-child),
#input-table tbody td:nth-child(3n+4):not(:last-child) {
	padding-right: .75rem;
}

td.delete {
	width: 2rem;
	min-width: 2rem;
	padding: .25rem .5rem;
}

.symbol::before{
	content: "\2716";
}

tbody .delete {
	cursor: pointer;
}

.input-header td {
	vertical-align: top;
	line-height: 1.5rem;
}

.underline {
	text-decoration: underline;
}

#targets input {
	/* width: 6.25rem; */
	width: 6.5rem;
}

.input-row input {
	width: 5rem;
}

table input:invalid,
table input[data-error="true"] {
	/* border-color: red; */
	outline: red auto 1px;
}

.calculator td.error {
	width: 4rem;
	min-width: 4rem;
	padding-left: .75rem;
}

.error-code {
	padding: 0 .25rem;
	color: red;
	border-bottom: 1px dotted red;
	cursor: pointer;
}

.error-code:hover {
	color: red;
	border-bottom: 1px dotted red;
}

.error-code:not(:last-child) {
	margin-right: .5rem;
}

/* prepare wrapper element */
.pct {
	display: inline-block;
	position: relative;
}

/* position the unit to the right of the wrapper */
.pct::after {
	position: absolute;
	top: calc(50% - .5rem - 1px);
	right: .5rem;
}

/* set the unit abbreviation for each unit class */
.pct::after {
	content: '%';
	color: black;
}

#targets {
	margin-bottom: 1.5rem;
}

#targets input,
.input-row input {
	appearance: textfield;
}

#targets input:hover,
#targets input:focus,
.input-row input:not(:read-only):hover,
.input-row input:not(:read-only):focus {
	appearance: auto;
}

.radio-opt {
	display: inline-block;
}

.radio-opt {
	margin-right: .75rem;
}

.radio-opt:last-of-type {
	margin-right: 0;
}

input[name=DMX-type] {
	margin-right: .5rem;
}

.buttons button{
	text-decoration: underline;
	background-color: transparent;
	border: 1px solid transparent;
	text-transform: uppercase;
	cursor: pointer;
	font-weight: bolder;
}