html.landscape-small #sepiaFW-main-window.sepiaFW-teach-mode {
	width: calc(100% - 55px);
	margin-left: 55px;
}
html.landscape-small #sepiaFW-main-window.sepiaFW-teach-mode ~ #sepiaFW-swipeBar-container-left {
	left: 55px;
}

#sepiaFW-teachUI-view {
	display: flex;
    flex-direction: column;
	background: #111;
	color: #fff;
}
#sepiaFW-teachUI-view select,
#sepiaFW-teachUI-view input {
	margin: 12px 0;
	border-radius: 0;
	border: 0;
}
#sepiaFW-teachUI-view input[type="text"] {
    background: transparent !important;
	border: 0 !important;
    border-bottom: 1px solid !important;
	border-radius: 0;
	border-color: inherit;
    color: inherit;
    text-align: center;
	font-size: 18px;
	text-overflow: ellipsis;
}
#sepiaFW-teachUI-view label {
	color: #ceff1a;
}
#sepiaFW-teachUI-view label.optional {
	display: none;
}
#sepiaFW-teachUI-view a {
	color: #ceff1a;
}
#sepiaFW-teachUI-view a:visited {
	color: #ceff1a;
}

#sepiaFW-teachUI-nav-bar {
	background: #ceff1a;
	color: #111;
	display: flex;
    flex-direction: row;
    justify-content: space-around;
}
html.landscape-small #sepiaFW-teachUI-nav-bar {
    position: fixed;
	flex-direction: column;
	justify-content: space-between;
    align-items: center;
    top: var(--sai-merged-top);
    left: var(--sai-merged-left);
    height: calc(100% - var(--sai-merged-top) - var(--sai-merged-bottom));
    width: 55px;
	border-top: 0 !important;
}
#sepiaFW-teachUI-nav-bar .entry {
	flex: 1 1 auto;
	margin: 0px;
	background: transparent;
	color: inherit;
	font-size: 18px;
	display: flex;
    justify-content: center;
    align-items: center;
}
html.landscape-small #sepiaFW-teachUI-nav-bar .entry {
	max-height: 42px;
}
#sepiaFW-teachUI-nav-bar .entry i {
	margin: 0 8px 0 0;
}
html.landscape-small #sepiaFW-teachUI-nav-bar .entry > i {
	margin: 0;
}
html.landscape-small #sepiaFW-teachUI-nav-bar .entry > span {
	display: none;
}
#sepiaFW-teachUI-close {
	max-width: 80px;
}
#sepiaFW-teachUI-close i {
	margin: 0 !important;
}
#sepiaFW-teachUI-nav-bar-page-indicator {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 5px;
}
#sepiaFW-teachUI-nav-bar-page-indicator div {
	width: 50%;
	height: 100%;
	margin: 0;
	padding: 0;
	display: inline-block;
}
#sepiaFW-teachUI-nav-bar-page-indicator div.active {
	background: rgba(255, 255, 255, 0.5);
}

#sepiaFW-teachUI-editor,
#sepiaFW-teachUI-manager {
	padding: 8px;
	overflow-y: auto;
	/*overflow-y: overlay;*/
	-webkit-overflow-scrolling: touch;
}
#sepiaFW-teachUI-editor button,
#sepiaFW-teachUI-manager button {
	background: #ceff1a !important;
	color: #111 !important;
	border-radius: 0px !important;
}

.sepiaFW-teachUI-menu-group {
	margin: 15px 5px;
	padding: 0 4px;
}
.sepiaFW-teachUI-menu-group.center {
	text-align: center;
}
#sepiaFW-teach-input {
	margin-left: 16px;
	margin-right: 16px;
}
#sepiaFW-teach-commands {
	min-width: 50% !important;
	font-size: 15px !important;
	height: 32px !important;
	max-width: 100% !important;
}
#sepiaFW-teachUI-command-help {
	display: inline-block;
	margin-left: 8px;
	vertical-align: middle;
	cursor: pointer;
}
#sepiaFW-teach-parameters {
	padding: 2px 4px;
}
/* :not(.text-only) */
#sepiaFW-teachUI-view #sepiaFW-teach-parameters .sepiaFW-teach-parameter-input {
	border: 0 !important;
    background: rgba(128, 128, 128, 0.22) !important;
    border-radius: 20px;
    padding: 10px 12px;
	font-size: 16px;
	cursor: pointer;
}
#sepiaFW-teachUI-view #sepiaFW-teach-parameters .sepiaFW-teach-parameter-input.optional {
	display: none;
}

#sepiaFW-teachUI-manager #sepiaFW-teachUI-cmd-search {
	flex: 1 1 auto;
    height: 40px;
	border-radius: 0;
}
#sepiaFW-teachUI-manager #sepiaFW-teachUI-cmd-search-btn {
	margin: 0;
    flex: 0 0 47px;
    height: 40px;
    border-left: 2px solid #5f5f5f;
	border-radius: 0 !important;
}

#sepiaFW-teachUI-manager .sepiaFW-command-cards-container {
	display: flex;
	flex-direction: column;
	padding: 0 4px;
}
#sepiaFW-teachUI-manager .sepiaFW-command-cards-container h3 {
	margin: 12px 6px;
}
#sepiaFW-teachUI-manager .sepiaFW-command-card {
	flex: 1 1 auto;
	min-height: 40px;
	background: rgba(255, 255, 255, 0.33);
	margin: 5px;
	display: flex;
    flex-direction: row;
}
#sepiaFW-teachUI-manager .sepiaFW-command-card .cmdLabel,
#sepiaFW-teachUI-manager .sepiaFW-command-card .cmdCardButton {
	background: #fff;
	color: #111;
	flex: 1 1 auto;
    text-align: center;
	display: flex;
    flex-direction: column;
    justify-content: center;
	cursor: pointer;
	padding: 2px 4px;
}
#sepiaFW-teachUI-manager .sepiaFW-command-card .cmdDownloadBtn {
	flex: 0 0 auto;
    width: 45px;
    margin-right: 2px;
}
#sepiaFW-teachUI-manager .sepiaFW-command-card .cmdRemoveBtn {
	background: #bcbebe;
    color: #fff;
	flex: 0 0 auto;
    width: 45px;
	margin-left: 2px;
}
#sepiaFW-teachUI-manager .sepiaFW-command-card span {
	flex: 0 0 auto;
	-webkit-user-select: none;
  	-ms-user-select: none;
  	user-select: none;
}

.sepiaFW-teachUI-menu-group ul {
	padding: 8px 0px;
	list-style: none;
}
.sepiaFW-teachUI-menu-group li {
	overflow: hidden;
	cursor: default;
	background: rgba(128, 128, 128, 0.22);
	min-height: 38px;
	margin: 2px 0;
	padding: 5px 8px;
	font-size: 17px;
}
@media screen and (max-width: 360px) {
	.sepiaFW-teachUI-menu-group li {
		font-size: 14px;
	}
}
.sepiaFW-teachUI-menu-group li span {
	float: left;
	padding-right: 8px;
	padding-top: 5px;
}
.sepiaFW-teachUI-menu-group li input {
	float: right;
	margin: 0 !important;
	max-width: 50%;
	font-size: 16px !important;
}
.sepiaFW-teachUI-menu-group li i {
	float: right;
}
.sepiaFW-teachUI-menu-group li .sepiaFW-button-inline {
	float: right;
	margin: 0;
}
.sepiaFW-teachUI-menu-group li .sepiaFW-toggle-btn {
	float: right;
}

#sepiaFW-teach-custom-button-select {
	cursor: pointer;
}

/* --- Parameter input pop-up --- */

#sepiaFW-teachUI-view .sepiaFW-input-popup textarea {
	white-space: pre;
    overflow-x: auto;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup {
    overflow-y: auto;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup label {
	font-size: 16px;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup-title label {
	display: inline-block;
	font-weight: bold;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup-examples > div {
	display: flex;
	margin-top: 12px;
    flex-wrap: wrap;
    overflow: auto;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup-examples .parameter-example {
    margin: 8px;
	max-width: calc(100% - 16px);
	padding: 4px 6px;
	background: #eee;
	color: #222;
	border-radius: 8px;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup-examples .parameter-example.json {
	text-align: left;
	white-space: pre;
	padding: 8px;
	max-width: unset;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup-examples > label {
	cursor: pointer;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup-examples > label > i {
	transition: transform .2s ease-in-out;
}
#sepiaFW-teachUI-view .sepiaFW-input-popup-examples.open > label > i {
	transform: rotate(90deg);
}
