.x-settings-container {
	display: flex;
	flex-direction: column;
	margin-top: -1em;
}
.x-settings-container.x-settings-container-hidden {
	display: none;
}
.x-settings-hidden {
	display: none !important;
}

.x-settings-option select {
	margin-right: 0.5em;
}

.x-settings-section-container {
	display: block;
	width: 100%;
	margin-top: 1em;
}

.x-settings-section-content {
	margin: 8px auto 10px 10px;
	clear: both;
}


/* Settings style */

.x-settings-section-header {
	font-size: 1.25em;
	line-height: 1.5em;
	margin: 0.25em 0;
}

.x-settings-section {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: center;
	align-content: flex-start;
	flex-wrap: nowrap;
	width: 100%;
	padding: 0.5em 0;
}
.x-settings-section+.x-settings-section {
	border-top: 1px solid rgba(0, 0, 0, 0.25);
}

:root:not(.x-is-dark) .x-settings-section+.x-settings-section {
	border-top-color: rgba(92, 13, 18, 0.25);
}

.x-settings-section-left {
	flex: 1 1 auto;
	padding-right: 0.5em;
}
.x-settings-section-right {
	flex: 0 0 auto;
	min-width: 30%;
	text-align: right;
}

.x-settings-section-title {
	font-weight: 700;
	line-height: 1.5em;
}
.x-settings-section-description {
	line-height: 1.35em;
}
.x-settings-section-description+.x-settings-section-description {
	margin-top: 0.25em;
}


input.x-settings-section-input[type=number],
input.x-settings-section-input[type=text] {
	border: none;
	border-radius: 0;
	margin: 0;
	padding: 0.25em 0.5em;
	line-height: 1.375em;
	background-color: #43464e;
	box-sizing: border-box;
}
:root:not(.x-is-dark) input.x-settings-section-input[type=number],
:root:not(.x-is-dark) input.x-settings-section-input[type=text] {
	background-color: #e3e0d1;
}
input.x-settings-section-input[type=text] {
	width: 20em;
}
input.x-settings-section-input[type=number] {
	width: 5em;
	-moz-appearance: textfield;
}
input.x-settings-section-input[type=number]::-webkit-inner-spin-button,
input.x-settings-section-input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}


textarea.x-settings-section-textarea {
	border: none;
	border-radius: 0;
	margin: 0;
	padding: 0.25em 0.5em;
	line-height: 1.375em;
	background-color: #43464e;
	resize: vertical;
	font-size: inherit;
	width: 100%;
	min-height: 1.875em;
	height: 4.625em;
	box-sizing: border-box;
	font-family: "Courier New", Courier, monospace;
}
:root:not(.x-is-dark) textarea.x-settings-section-textarea {
	background-color: #e3e0d1;
}


.x-settings-input-table-container .lc {
	display: inline-block;
	margin-right: -6px;
}


.x-settings-container code {
	font-family: 'Courier New', Courier, monospace;
	background-color: #43464e;
	font-weight: 700;
}
:root:not(.x-is-dark) .x-settings-container code {
	background-color: #e3e0d1;
}


.x-settings-light-text {
	font-weight: 400;
	opacity: 0.75;
}


.x-settings-input-table-container {
	display: inline-block;
	text-align: left;
}
.x-settings-input-table {
	display: table;
}
.x-settings-input-row {
	display: table-row;
}
.x-settings-input-row.x-settings-input-header-row {
	font-size: 0.8em;
	line-height: 1em;
	opacity: 0.75;
}
.x-settings-input-cell {
	display: table-cell;
}
.x-settings-input-cell+.x-settings-input-cell {
	padding-left: 0.25em;
}
.x-settings-input-row:not(.x-settings-input-header-row)+.x-settings-input-row>.x-settings-input-cell {
	padding-top: 0.25em;
}
.x-settings-input-cell.x-settings-input-cell-middle {
	vertical-align: middle;
}
.x-settings-input-cell.x-settings-input-cell-fill {
	width: 100%;
}
.x-settings-input-cell.x-settings-input-cell-nowrap {
	white-space: nowrap;
}

.x-settings-input-label {
	cursor: pointer;
	margin: 0 0 0 1em;
}
.x-settings-input-checkbox-prefix {
	vertical-align: middle;
	display: inline-block;
	padding-right: 0.5em;
}
