body {
	color: #333;
	font-size: 1rem;
	min-width: 375px;
	max-width: 100vw;
	padding: 0.75rem;
}
.data-wrapper > .row.header {
	background-color: #DDD;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}
.data-wrapper > .row.header > div[class^="col-"] {
	font-weight: bold;
}
.data-wrapper > .body {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.data-wrapper > .body:nth-child(odd) {
	background-color: #FFF;
}
.data-wrapper > .body:nth-child(even) {
	background-color: #F7F7F7;
}

.dib {
	display: inline-block;
}
.float-right {
	float: right;
}
.float-left {
	float: left;
}
.text-xs {
	font-size: 0.675rem
}
.text-sm {
	font-size: 0.75rem
}
.text-center {
	text-align: center;
}
.fw-nm {
	font-weight: normal;
}

.form-check.form-switch > input.form-check-input + label.form-check-label[data-on][data-off]::after {
	content: attr(data-off);
}
.form-check.form-switch > input.form-check-input:checked + label.form-check-label[data-on][data-off]::after {
	content: attr(data-on);
}

.element-box {
	position: relative;
	background-color: #F0F0F0;
	border-right: 0.5rem solid #FFF;
	border-left: 0.5rem solid #FFF;
	margin: 0 0 0.5rem 0;
}
.element-box.condition-positive {
	background-color: rgba(0, 128, 0, 0.15);
}
.element-box.condition-negative {
	background-color: rgba(255, 0, 0, 0.15);
}

.element-box .current-value {
	display: inline-block;
	color: #666;
	font-size: 1.2rem;
	font-weight: normal;
	white-space: nowrap;
	padding: 0.25rem 0.5rem;
}

.element-box .current-value::before {
	display: block;
	font-size: 0.65rem;
	font-weight: normal;
	color: #BBB;
	text-align: left;
	margin: 0 0 -0.25rem -0.25rem;
}

.current-price .current-value::before {
	content: "Current:";
}
.lowest-price:not(:empty) .current-value::before {
	content: "Lowest:";
}
.current-pct .current-value::before {
	content: "Move%:";
}
.current-bb .current-value::before {
	content: "BB42:";
}
.current-bbw .current-value::before {
	content: "BBW20:";
}
.current-dd .current-value::before {
	content: "DrawDown:";
}
.current-rsi .current-value::before {
	content: "RSI:";
}

.element-box .condition-value {
	font-size: 0.75rem;
	font-weight: normal;
	color: #BBB;
}
.element-box .condition-value::before {
	content: "/";
	margin: 0 0.25rem 0 -0.25rem;
}

.element-box.condition-positive .current-value {
	color: rgb(0, 128, 0);
}
.element-box.condition-negative .current-value {
	color: rgb(255, 0, 0);
}
.element-box.condition-positive .current-value::before,
.element-box.condition-positive .condition-value {
	color: rgba(0, 128, 0, 0.5);
}
.element-box.condition-negative .current-value::before,
.element-box.condition-negative .condition-value {
	color: rgba(255, 0, 0, 0.5);
}

.element-box .condition-result::before {
	position: absolute;
	top: 0.25rem;
	right: 0.25rem;
	display: block;
	width: 1rem;
	height: 1rem;
	line-height: 1rem;
	text-align: center;
}
.element-box.condition-positive .condition-result::before {
	content: "○";
	color: rgb(0, 128, 0);
}
.element-box.condition-negative .condition-result::before {
	content: "×";
	color: rgb(255, 0, 0);
}


div > ul {
	list-style: none;
	padding: 0;
}
div > ul::after {
	content: "";
	display: block;
	clear: both;
}

.bb {
	color: #AAA;
	font-size: 0.75rem;
}
.bb > li {
	display: block;
	width: 100%;
}

.text-red,
[data-value^="-"] {
	color: rgb(255, 0, 0);
}
.text-green,
[data-value]:not([data-value="0"]):not([data-value^="-"]) {
	color: rgb(0, 128, 0);
}

/* XS */
@media screen and (max-width: 575px) {
	.data-wrapper {
		padding-right: 0;
		padding-left: 0;
	}
	.data-wrapper > .row.header {
		display: none;
	}
	.last-updated {
		display: none
	}

	.bb > li {
		width: 100%;
	}
}
/* XS + SM */
@media screen and (max-width: 767px) {
	.data-wrapper > .row.header {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}
	.data-wrapper > .body {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	.purchase-conditions > li {
		width: calc(100% / 2);
	}
}
/* SM */
@media screen and (min-width: 576px) and (max-width: 767px) {
	.bb > li {
		width: 100%;
	}
	.purchase-conditions > li {
		width: calc(100% / 2);
		padding: 0;
	}
}
/* XS */
@media screen and (max-width: 575px) {
	.bb > li {
		width: 100%;
	}
	.purchase-conditions > li {
		width: calc(100%);
		padding: 0;
	}
	.form-switch {
		display: inline-block;
		margin-left: 1.5rem;
	}
}

h3 {
	font-size: 1.5rem;
}
h3 > span {
	color: #CCC;
	font-size: 0.875rem;
	margin-left: 1rem;
}

.check-level-1[check-sigma] {
	background-color:rgba(0, 0, 0, 0.2);
}
.check-level-1[check-sigma]::after {
	content: "["attr(check-sigma)"σ]";
	color: rgba(0, 0, 0, 0.4);
}

#market-time-table {
	width: 100%;
}
#market-time-table > tbody > tr > th,
#market-time-table > tbody > tr > td {
	color: #666;
	background-color: #FAFAFA;
	border: 1px solid #FFF;
	text-align: left;
}
#market-time-table > tbody > tr > td.mk-open {
	color: #FFF;
	background-color: rgb(0, 128, 0);
}
#market-time-table > tbody > tr > td:not(.mk-open) + td.mk-open {
	position: relative;
	color: #666;
	background-color: #FAFAFA;
}
#market-time-table > tbody > tr > td:not(.mk-open) + td.mk-open::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background-color: rgb(0, 128, 0);
}
@media screen and (max-width: 767px) {
	#market-time-table {
		display: none;
	}
}