/* ================================== */
/* Layout */
/* ================================== */

.st-framework-backend-main-wrapper {
	min-width: 380px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	margin-top: 20px;
}

.st-framework-backend-content {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	padding: 0px;
	width: calc( 100% );
}

.st-framework-backend-menu {
	width: 200px;
}

.st-framework-top-menu-wrapper {
	margin-bottom: 10px;
}

.st-framework-top-menu-item {
	background-color: rgb( 255, 255, 255 );
}

.st-framework-sub-menu-item-title {
	margin: 0;
	background-color: #ffffff;
	display: block;
	padding: 5px 10px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
}

.st-framework-sub-menu-item {
	background-color: rgb( 255, 255, 255 );
}

.st-framework-sub-menu-item-href {
	margin: 0;
	background-color: #ffffff;
	display: block;
	padding: 5px 10px;
	text-decoration: none;
}

.st-framework-sub-menu-item-href.active {
	background-color: #2271b1;
	color: #ffffff;
}

.st-framework-sub-menu-item-href:hover {
	background-color: #2271b1;
	color: #ffffff;
}

.st-framework-tab-menu {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
}

.st-framework-tab-menu-item {
	background-color: rgb( 255, 255, 255 );
}

.st-framework-tab-menu-item-href {
	margin: 0;
	background-color: #ffffff;
	display: block;
	padding: 10px 20px;
	text-decoration: none;
}

.st-framework-tab-menu-item-href.active {
	background-color: #2271b1;
	color: #ffffff;
}

.st-framework-tab-menu-item-href:hover {
	background-color: #2271b1;
	color: #ffffff;
}

.st-framework-target {
	padding: 20px;
	background-color: rgb( 255, 255, 255 );
}

.st-framework-target pre {
	padding: 0;
	margin: 0;
}

.st-framework-content {
	width: calc( 100% - 200px );
}

/* ================================== */
/* Forms */
/* ================================== */

.st-framework-form-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.st-framework-form-label {
	min-width: 150px;
	font-weight: 500;
}

.st-framework-form-input {
	flex: 1;
	padding: 5px;
}

/* ================================== */
/* Switches (Checkboxes & Toggles) */
/* ================================== */

.st-framework-switcher {
	background-color: #bdc1c2;
	display: inline-block;
	height: 20px;
	width: 48px;
	border-radius: 10px;
	box-sizing: border-box;
	vertical-align: middle;
	position: relative;
	cursor: pointer;
	transition: border-color 0.25s;
	margin: -2px 4px 0 0;
	box-shadow: inset 1px 1px 1px rgba( 0, 0, 0, 0.15 );
}

.st-framework-switcher:before {
	font-family: sans-serif;
	font-size: 10px;
	font-weight: 400;
	color: #ffffff;
	line-height: 1;
	display: inline-block;
	position: absolute;
	top: 6px;
	height: 12px;
	width: 20px;
	text-align: center;
}

.st-framework-switcher[data-checked=false]:before {
	content: 'OFF';
	right: 7px;
}

.st-framework-switcher[data-checked=true]:before {
	content: 'ON';
	left: 7px;
}

.st-framework-switcher[data-checked=true] {
	background-color: #25ba9a;
}

.st-framework-switcher:after {
	background-color: #ffffff;
	content: '\0020';
	display: inline-block;
	position: absolute;
	top: 2px;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	transition: left 0.25s;
}

.st-framework-switcher[data-checked=false]:after {
	left: 2px;
}

.st-framework-switcher[data-checked=true]:after {
	left: 30px;
}

/* ================================== */
/* Errors */
/* ================================== */

.st-framework-error-container {
	padding-top: 0px;
	display: block;
}

/* ================================== */
/* Responsive */
/* ================================== */

@media (max-width: 782px) {
	.st-framework-backend-main-wrapper {
		flex-direction: column;
	}
	.st-framework-backend-menu {
		width: 100%;
	}
	.st-framework-content {
		width: 100%;
	}
	.st-framework-tab-menu-item-href {
		margin: 0;
		background-color: #ffffff;
		display: block;
		padding: 10px 10px;
		text-decoration: none;
	}
	.st-framework-form-label {
		min-width: 100px;
	}
}
