* { padding: 0; margin: 0; }
a { text-decoration: none; }
ul { list-style: none; }

html {
	height: 100%;
	background: #fff;
}
body {
	font: 1em sans-serif;
	height: 100%;
}

body.home {
	display: grid;
	grid-template-rows: 5em 2em auto 2em;
	grid-template-columns: 25em auto 25em;
	background: radial-gradient(circle, rgba(54,58,68,1) 1%, rgba(31,68,93,1) 87%, rgba(51,59,78,1) 100%);
}

/*
main { height: calc(100% - 4em); }

header { position: absolute; left: 0; right: 0; top: 0; height: 4em; border-bottom: 1px solid #eee; }
header h1 { font-size: 1em; float: left; width: 30%; margin: 1em 0 0 2em; }
header h1 a { font-size: 1.7em; color: #eee; }
header h1 a:hover { color: #aaa; }

header nav { float: right; position: relative; margin: 1em 2em 0 0; width: calc(70% - 4em); }
header nav ul li { display: inline-block; }
header nav ul li a.s { color: red; }
header nav ul li a.l { color: orange; }

header nav > ul > li > a { display: block; background: #eee; border-radius: .5em; font-size: 1.2em; padding: .3em .5em; margin-left: 1em; }
header nav > ul > li ul { display: none; position: absolute; bottom: -2em; }
header nav > ul > li:hover ul { display: block; }

header nav > ul > li:last-child ul { display: block; position: absolute; right: 1em; bottom: auto; top: 0; }
header nav > ul > li:last-child ul li { font-size: 1.5em; }
header nav > ul > li:last-child ul li a { background: #fff; color: #eee; }
header nav > ul > li:last-child ul li span { display: none; }
/ *header nav > ul > li:last-child ul li:hover span { font-size: .5em; display: block; position: absolute; }* /
header nav > ul > li:last-child ul li:hover a { color: #aaa; }

section { position: absolute; left: 0; right: 0; top: 4em; bottom: 2em; }
.sidebar section main { width: calc(70% - 4em); float: left; }
.sidebar section aside { width: calc(30% - 1px); height: 100%; float: right; border-left: 1px solid #eee; }

footer { position: absolute; left: 0; right: 0; bottom: 0; height: calc(2em - 1px); border-top: 1px solid #eee; }

#ds { position: absolute; bottom: 0; right: 0; height: 2em; }

#steps { padding: 1em 0; border-bottom: 1px solid #eee; text-align: center; }
#steps li { display: inline-block; width: 16%; }
#steps li span { color: #ccc; font-size: smaller; }
#steps li.maybe span { color: black;  }
#steps li.yes span { color: green;  }
#steps li strong { color: #aaa; display: block; }

body.start main {
	display: flex;
	align-items: center;
	justify-content: center;
}
body.start main ul {
	list-style: none;
	position: absolute;
	bottom: 2em;
}
body.start main ul li {
	display: inline-block;
	font-size: smaller;
	padding: .3em .75em;
	cursor: pointer;
	border-radius: 1em;
}

#user { position: absolute; bottom: .5em; right: 2em; }

*/

.home > header, .home > section {
	display: none;
}

.home .ws_gui {
	grid-row: 1;
	grid-column-start: 1;
	grid-column-end: 4;
/*
	display: grid;
	grid-template-columns: 30vw auto;
	grid-template-rows: 2em auto;

	 -webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);

	background-color: rgba(255, 255, 255, 0.3);
*/
	background-color: #eee;

	display: grid;
	grid-template-rows: 5em;
	grid-template-columns: 5em auto;
}

.home .ws_gui > img { height: 3em; padding: 1em; grid-row: 1; grid-column: 1; }

.home .ws_gui > nav { grid-row: 1; grid-column: 2; text-align: right; }
.home .ws_gui > nav ul {
	display: grid;
	grid-template-rows: 5em;
	grid-template-columns: 7em 7em auto 7em 7em 7em;
}
.home .ws_gui > nav ul li { display: inline-block; text-align: center; vertical-align: middle; margin: 1.2em 1em 0 0; }
.home .ws_gui > nav ul li:first-child { position: absolute; left: 1em; bottom: .5em; color: #ccc; }
.home .ws_gui > nav ul li:nth-child(2) {
	grid-row: 1;
	grid-column: 1;
}
.home .ws_gui > nav ul li:nth-child(3) {
	grid-row: 1;
	grid-column: 2;
}
.home .ws_gui > nav ul li:nth-child(4) {
	grid-row: 1;
	grid-column: 3;
	margin: 1.2em auto 0 auto;
}
.home .ws_gui > nav ul li:nth-child(5) {
	grid-row: 1;
	grid-column: 4;
}
.home .ws_gui > nav ul li:nth-child(6) {
	grid-row: 1;
	grid-column: 5;
}
.home .ws_gui > nav ul li:nth-child(7) {
	grid-row: 1;
	grid-column: 6;
}

.home .ws_gui > nav ul li a {
	display: block;
	padding: .8em 1.2em;
	background: rgba(200,200,200,.5);
	border-radius: .5em;
	cursor: pointer;
	user-select: none;
}
.home .ws_gui > nav ul li a:hover { background: rgba(200,200,200,.9); }
.home .ws_gui > nav ul li a:active { background: rgba(200,200,200,1); }

.home .ws_nav .active { background: #ccc; }

.home .ws_gui > div {
	display: none;
	position: absolute;
	top: 5.5em;
	right: 1em;
	left: 1em;
	height: calc(100% - 8em);
	background: rgba(200,200,200,.7);
	overflow-y: scroll;
	overflow-x: hidden;
	z-index: 200;
	backdrop-filter: blur(10px);
	border-radius: .5em;
/*	overflow-y: scroll;
	overflow-x: hidden;
	width: 25em; */
	z-index: 200;
	grid-template-rows: 1em auto 1em;
/*	box-shadow: .1em .1em .2em rgba(0,0,0,.5); */
}
.home .ws_gui > div.ws_gui_dev,
.home .ws_gui > div.ws_gui_profile,
.home .ws_gui > div.ws_gui_settings {
	grid-template-columns: 1em auto 25em;
}
.home .ws_gui > div.ws_gui_user,
.home .ws_gui > div.ws_gui_channels {
	grid-template-columns: 25em auto;
}

.home .ws_gui > div.ws_gui_dev > ul,
.home .ws_gui > div.ws_gui_profile > ul,
.home .ws_gui > div.ws_gui_settings > ul {
	grid-column: 3;
	grid-row: 2;
}

.home .ws_gui > div.ws_gui_user > ul,
.home .ws_gui > div.ws_gui_channels > ul {
	grid-column: 1;
	grid-row: 2;
}

.home .ws_gui > div.ws_gui_dashboards > ul {
	grid-column: 2;
	grid-row: 2;
}


.home .ws_gui > div.ws_gui_dashboards {
	grid-template-columns: 25em auto 25em;
	height: 25em;
	width: auto;
}
.ws_gui_dashboards ul li.active {
	background: #ccc;
}
.ws_gui_dashboards ul li > strong {
/*	cursor: pointer; */
	display: block;
	padding: .3em .5em;
	font-weight: normal;
	color: #888;
}
.ws_gui_dashboards ul li a {
	cursor: pointer;
	user-select: none;
	display: block;
	padding: .3em .5em;
}
.ws_gui_dashboards ul li a span {
	font-size: smaller;
	margin-left: .5em;
	color: #444;
}

.home .ws_gui > div > ul {
	padding: 1em;
	overflow-y: scroll;
}
.home .ws_gui > div.active { display: grid; }

.home .ws_gui .ws_gui_user { display: none; }
.home .ws_gui .ws_gui_user li.ws_user_entry > div { display: none; }
.home .ws_gui .ws_gui_user > ul > li > ul > li.active > div { display: block; }

.home .ws_gui .ws_gui_dev { display: none; }
.home .ws_gui .ws_gui_dev li > div { display: none; }
.home .ws_gui .ws_gui_dev li.active > div { display: block; }

.ws_cmd_out { padding: .25em 0; }
.ws_cmd_out .ws_cmd {
	height: 24em;
	padding: .5em;
	background: #333;
	color: #eee;
	border: 1px solid #555;
	border-radius: .3em;
	width: calc(100% - 1em);
	float: none;
	margin: 1em 0;
	display: none;
	resize: vertical;
}
.ws_cmd_out.show .ws_cmd { display: block; }
.ws_cmd_out strong { margin-left: 1em; color: #eee; cursor: pointer; user-select: none; }
.ws_cmd_out strong:before {
	content: '►';
	float: left;
	color: #eee;
	font-size: smaller;
}
.ws_cmd_out.show strong:before { content: '▼'; }
.ws_cmd_out strong:after { border-radius: .3em; padding: .2em .5em; float: right; margin-top: -.2em; }
.ws_cmd_out.error strong:after { content: 'error'; background: red; }
.ws_cmd_out.ok strong:after { content: 'ok'; background: green; }

.ws_cmd_out .ws_app {
	height: 24em;
	padding: .5em;
	background: #333;
	color: #eee;
	border: 1px solid #555;
	border-radius: .3em;
	width: calc(100% - 1em);
	float: none;
	margin: 1em 0;
	display: none;
	overflow: auto;
}
.ws_cmd_out.show .ws_app { display: block; }


.ws_user_pre {
	max-height: 25em;
	overflow: scroll;
	display: none;
	background: rgba(0,0,0,.7);
	padding: 1em;
	border-radius: .3em;
}
.ws_user_pre pre {
	color: #eee;
}
.show_pre .ws_user_pre { display: block; }

.ws_user_entry.offline { background: red; }


.home .ws_gui .ws_gui_user .ws_gui_user_panel {
	position: absolute;
	right: 1em;
	top: 1em;
	width: calc(100% - 25.5em);
	height: calc(100% - 2em);
	background: rgba(100,100,100,.7);
	overflow: scroll;
	border-radius: .3em;
}

.ws_gui_user ul li.ws_user_entry.active {
	background: rgba(100,100,100,.7);
	border-top-left-radius: .3em;
	border-bottom-left-radius: .3em;
	margin-right: -.5em;
	padding-right: .5em;
}
.ws_gui_user ul li > strong {
/*	cursor: pointer; */
	display: inline-block;
	padding: .3em .5em;
	font-weight: normal;
	color: #888;
}
.ws_gui_user ul li a {
	cursor: pointer;
	user-select: none;
	display: block;
	padding: .3em .5em;
}
.ws_gui_user ul li a span {
	font-size: smaller;
	margin-left: .5em;
	color: #444;
}
.home .ws_gui .ws_gui_user li > div.ws_gui_user_dev {
	display: none;
/*	position: absolute; */
	background: rgba(0,0,0,.7);
	padding: 1em;
	border-radius: .3em;
}
.home .ws_gui .ws_gui_user li.show_dev > div.ws_gui_user_dev {
	display: block;
}
.ws_gui_user_dev textarea {
	height: 9em;
	width: 25em;
	padding: .5em;
	border-radius: .3em;
	border: 1px solid #555;
	color: #eee;
	background: rgba(0,0,0,.4);
}
.ws_gui_user_dev button {
	cursor: pointer;
	user-select: none;
	padding: .2em .5em;
	margin-left: 1em;
	vertical-align: text-bottom;
}

.home .ws_gui .ws_gui_user li > div.ws_client_machine_setup {
	display: block;
}
.home .ws_gui .ws_gui_user .ws_gui_user_panel li.exited {
	background: red;
}
.ws_gui_user .ws_user_entry {
	display: grid;
	grid-template-columns: calc(100% - 2em) 2em;
}
.ws_gui_user .ws_user_entry .ws_gui_user_panel > strong {
	float: left;
	padding: 1em 0 .5em 1em;
}
.ws_gui_user .ws_user_entry[data-sessions]::after {
	grid-column: 2;
	content: attr(data-sessions);
	color: #eee;
	background: rgba(80,80,80,.8);
	border-radius: 1em;
	display: block;
	font-size: smaller;
	margin: .3em 0;
	padding-top: .2em;
	text-align: center;
}
.ws_gui_user .ws_user_entry a {
	grid-column: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ws_user_session_nav {
	width: calc(100% - 1em);
	margin: auto;
	display: grid;
	grid-template-rows: 2.14em;
}
.ws_user_session_nav li {
	grid-row: 1;
	margin: .5em .5em 0 .5em;
	text-align: center;
}
.ws_user_session_nav li a {
	padding: .3em 5em;
	background: rgba(0,0,0,.2);
	border-top-right-radius: .3em;
	border-top-left-radius: .3em;
}
.ws_user_session_nav li:hover a {
	background: rgba(0,0,0,.22);
}
.ws_user_session_nav li.active a {
	background: rgba(0,0,0,.4);
}

.ws_user_sessions > li > strong {
/*	cursor: pointer; */
	display: inline-block;
	padding: .3em .5em;
	font-weight: normal;
	color: #888;
	background: rgba(0,0,0,.2);
	border-radius: .3em;
	margin: 1em 0;
	width: auto;
	cursor: pointer;
	user-select: none;
	width: 4.5em;
}
.ws_user_sessions > li > strong:hover {
	background: rgba(0,0,0,.5);
}

.ws_user_sessions .overview {
	padding: 1em 0 1em 3em;
}
.ws_user_sessions .overview li {
	display: inline-block;
	margin-left: 1em;
}

.ws_user_sessions {
	margin: 0 1em 1em 1em;
	padding: 1em;
	background: rgba(0,0,0,.4);
	border-bottom-right-radius: .3em;
	border-bottom-left-radius: .3em;
}
.ws_user_sessions > li {
	display: none;
}
.ws_user_sessions > li.active {
	display: grid;
	height: calc(100% - 20em);
}

.services_nav {
	margin: 2em 0;
}
.services_nav > ul > li {
	display: inline-block;
	height: 2em;
	position: relative;
	margin-right: .3em;
}
.services_nav > ul > li > strong {
	padding: .2em .5em;
	background: rgba(0,0,0,.2);
	border-radius: .3em;
	cursor: default;
}
.services_nav > ul > li > ul {
	display: none;
	position: absolute;
	top: 1.73em;
	left: 0;
	padding: .3em 0;
}
.services_nav > ul > li:hover > strong {
	background: rgba(0,0,0,.6);
	padding-bottom: .5em;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
.services_nav > ul > li:hover > ul {
	display: block;
	background: rgba(0,0,0,.6);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top-right-radius: .3em;
	border-bottom-right-radius: .3em;
	border-bottom-left-radius: .3em;
}
.services_nav > ul > li > ul li a strong {
	color: #ccc;
}
.services_nav > ul > li > ul li a span {
	color: #bbb;
}



.home .ws_gui .ws_gui_dev .ws_gui_dev_panel {
	position: absolute;
	left: 1em;
	top: 1em;
	width: calc(100% - 25.5em);
	height: calc(100% - 2em);
	z-index: 300;
	background: rgba(100,100,100,.7);
	border-radius: .3em;
}
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel > strong {
	float: left;
	padding: 1em;
}
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel > button {
	float: right;
	padding: .2em .5em;
	margin: .8em;
	cursor: pointer;
	user-select: none;
}
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel > ul {
	position: absolute;
	top: 3em;
	bottom: 1em;
	overflow-x: hidden;
	overflow-y: scroll;
	right: 0;
	left: 0;
}

/* ⟳  ✎ */
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel a[data-action=new] {
	font-weight: bold;
	margin-top: 1em;
}
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel a[data-action=new]:before {
	content: '+';
	font-weight: bold;
	background: #ccc;
	border-radius: 1em;
	padding: .3em .5em;
	margin-right: 1em;
}
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel a[data-action=code]:before {
	content: '✎';
	font-weight: bold;
	background: #ccc;
	border-radius: 1em;
	padding: .4em .4em .15em .4em;
	margin-right: 1em;
}
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel.new_method > ul {
	display: none;
}
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel .ws_dev_new_method {
	display: none;
}
.home .ws_gui .ws_gui_dev .ws_gui_dev_panel.new_method .ws_dev_new_method {
	display: block;
}
.home .ws_gui .ws_gui_dev .ws_dev_new_method {
	width: calc(100% - 4em);
	background: rgba(0, 0, 0, 0.2);
	margin: 3em 0 0 0;
	padding: 1em;
	margin-left: 1em;
	border-radius: .3em;
}
.home .ws_gui .ws_gui_dev .ws_dev_new_method label {
	display: block;
	padding: .3em 0;
}
.home .ws_gui .ws_gui_dev .ws_dev_new_method label:last-child {
	min-height: 1.5em;
}
.home .ws_gui .ws_gui_dev .ws_dev_new_method label span {
	display: inline-block;
	min-width: calc(50% - 2em);
	text-align: right;
	padding-right: 1em;
}
.home .ws_gui .ws_gui_dev .ws_dev_new_method label input {
	min-width: calc(50% - 2em);
	padding-left: .2em;
}
.home .ws_gui .ws_gui_dev .ws_dev_new_method label button {
	float: right;
	margin:0 2.7em 0 0;
	padding: .2em .5em;
	cursor: pointer;
	user-select: none;
}

.home .ws_gui .ws_gui_dev .ws_gui_dev_editor {
	grid-row: 2;
	grid-column: 2;
	margin: 4em 0 1em 1em;
	width: calc(100% - 1.2em);
	height: calc(100% - 5em);
	display: none;
	position: relative;
	z-index: 400;
 }
.home .ws_gui .ws_gui_dev .ws_gui_dev_editor.active {
	display: block;
 }

.ws_gui_notice {
	position: fixed;
	top: 7em;
	right: 25em;
	left: 25em;
	min-height: 5em;
	z-index: 999;
	background: #fefefe;
	border: .3em solid green;
	border-radius: .5em;
	padding: 1em;
	text-align: center;
}
.ws_gui_error {
	position: fixed;
	top: 7em;
	right: 25em;
	left: 25em;
	min-height: 5em;
	z-index: 999;
	background: #fefefe;
	border: .3em solid red;
	border-radius: .5em;
	padding: 1em;
	text-align: center;
}

.home .ws_dash_tabbar {
	grid-row: 2;
	grid-column-start: 1;
	grid-column-end: 4;
	padding: 0 .5em;
}
.home .ws_dash_tabbar > nav {
	float: left;
	overflow: hidden;
}
.home .ws_dash_tabbar > nav ul {
	background: #ccc;
/*	box-shadow: 0 0 .5em rgba(0,0,0,.5); */
	border-top-right-radius: .3em;
	border-top-left-radius: .3em;
	margin: 1em .5em 0 .5em;
}
.home .ws_dash_tabbar > nav.active {
	position: relative;
	z-index: 100;
}
.home .ws_dash_tabbar > nav.active ul {
	background: #fff;
	box-shadow: 0 0 1em rgba(0,0,0,.5);
}
.home .ws_dash_tabbar > nav li {
	display: inline-block;
}
.home .ws_dash_tabbar > nav a {
	display: block;
	cursor: pointer;
	user-select: none;
	padding: .5em 1em;
}
.home .ws_dash_tabbar .ws_dash_newtab {
	float: right;
	margin: 1.1em .5em 0 0;
}
.home .ws_dash_tabbar .ws_dash_newtab a {
	background: #ccc;
	border-radius: .5em;
	display: block;
	cursor: pointer;
	user-select: none;
	padding: .3em .3em .1em .3em;
}
.home .ws_dash_tabbar .ws_dash_newtab a:hover {
	background: #fff;
}
.home .ws_dashboard {
/*
	position: absolute;
	top: 6em;
	right: 1em;
	left: 1em;
	bottom: 4em;
	z-index: 999;

	box-shadow: .1em .1em .2em rgba(0,0,0,.5);
*/
/*	background: steelblue; */
	width: calc(100% - 2em);
	height: calc(100% - 2em);
	background: #fff;
	margin: 1em;

	position: relative;

	grid-row: 3;
	grid-column-start: 1;
	grid-column-end: 4;
	display: none;
}
.home .ws_dashboard.active {
	display: block;
}
.home .ws_dashboard > textarea {
	display: none;
}
.home .ws_dashboard > nav {
	position: absolute;
	top: -2em;
	background: #eee;
	height: 2em;
}
.home .ws_dashboard > object {
	width: 100%;
	height: 100%;
	background: #fff;
	box-shadow: 0 0 1em rgba(0,0,0,.5);
}
.home .ws_dashboard > object.load {
	opacity: 0;
	transition: opacity .5s;
}

.home footer {
	grid-row: 4;
	grid-column-start: 1;
	grid-column-end: 4;
	background-color: #eee;
}
.home footer #user {
	float: right;
}
.home footer #user a {
	padding: .5em 1em;
	display: block;
	cursor: pointer;
	user-select: none;
}
.home footer #wsgui-fullscreen {
	float: right;
}
.home footer #wsgui-fullscreen a {
	padding: .5em 1em;
	display: block;
	cursor: pointer;
	user-select: none;
}

.ws_gui_dev ul ul {
	margin: 0 0 0 .5em;
	display: none;
}
.ws_gui_dev ul li.active {
	background: rgba(100,100,100,.7);
	border-top-right-radius: .3em;
	border-bottom-right-radius: .3em;
	margin-left: -.5em;
	padding-left: .5em;
}
.ws_gui_dev ul li.lib.active {
	background: rgba(100,100,100,.2);
	margin-left: 0;
	padding-left: 0;
	border-bottom-left-radius: .3em;
}
.ws_gui_dev ul li.lib.active > a {
	background: rgba(100,100,100,.7);
	border-top-right-radius: .3em;
	margin-left: -.5em;
	padding-left: 1em;
}
.ws_gui_dev ul li.method.active {
	margin-left: -1em;
	padding-left: 1em;
}
.ws_gui_dev ul li a {
	cursor: pointer;
	user-select: none;
	display: block;
	padding: .3em .5em;
}
.ws_gui_dev ul li a span {
	font-size: smaller;
	margin-left: .5em;
	color: #444;
}
.ws_gui_dev ul li.active ul, .ws_gui_dev ul li.show ul {
	display: block;
	margin-bottom: .5em;
}
.ws_gui_dev ul li.show {
	background: rgba(100,100,100,.2);
	border-radius: .3em;
}
.ws_gui_dev ul li.lib > a:after {
	content: '►';
	float: right;
	color: #444;
	font-size: smaller;
}
.ws_gui_dev ul li.lib.active > a:after,
.ws_gui_dev ul li.lib.show > a:after {
	content: '▼';
}

.ws_gui_settings textarea {
	position: absolute;
	left: 1em;
	top: 1em;
	width: calc(100% - 2em);
	height: calc(100% - 2em);
}

.ws_gui_profile textarea {
	position: absolute;
	left: 1em;
	top: 1em;
	width: calc(100% - 2em);
	height: calc(100% - 2em);
}


body.dash {
	background-color: #fff;
	padding: 1em;
}
.dash .ws_gui {
	background-color: #eee;
	position: absolute;
	top: 1em;
	right: 1em;
	width: 5em;
	height: 5em;
	overflow: hidden;
	border-radius: .3em;
}


body.sidebar {
	background-color: #fff;
	padding: 1em;

	display: grid;
	grid-template-rows: 5em auto 2em;
	grid-template-columns: 100%;
}
body.sidebar header {
	grid-row: 1;
	grid-column: 1;
}
body.sidebar section {
	grid-row: 2;
	grid-column: 1;

	display: grid;
	grid-template-rows: 100%;
	grid-template-columns: auto 25em;
}
body.sidebar section main {
	grid-row: 1;
	grid-column: 1;
}
body.sidebar section aside {
	grid-row: 1;
	grid-column: 2;
}
body.sidebar footer {
	grid-row: 3;
	grid-column: 1;
}



/* old ws

#ws { position: absolute; top: 0; right: 0; left: 0; bottom: 0; z-index: 999;
	display: none;
	grid-template-columns: 30vw auto;
	grid-template-rows: 2em auto;
}
#ws.s { display: grid; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background-color: rgba(255, 255, 255, 0.3); }
#ws > p { grid-column-start: 1; grid-column-end: 3; }
#ws #wsus { grid-column: 1; grid-row: 2; height: calc(100% - 2em); overflow-y: scroll; overflow-x: none; }
#ws #wsmsg { grid-column: 2; grid-row: 2; height: calc(100% - 2em); overflow: none; }

#ws #wsus ul li { display: none; }
#ws #wsus ul li:first-child, #ws #wsus ul.s li { display: block; }

#ws #wsf { width: 99%; height: 90%;}
*/

/*
section main {
	padding: 2em;
	position: relative;
}

/ * login * /

form#login,
form#reset,
form#code {
	width: 40%;
	height: 20em;
	border: 1px solid #eee;
	border-radius: .5em;
	padding: 2em;
}
form#reset,
form#code,
main.code form#login,
main.reset form#login {
	display: none;
}

main.code form#code,
main.reset form#reset {
	display: block;
}

main.login li.login,
main.reset li.reset,
main.code li.code {
	background: #eee;
}

.start fieldset {
	border: none;
}
.start fieldset legend {
	font-size: 1.2em;
	margin-bottom: .5em;
	text-align: center;
}
.start fieldset label {
	display: block;
}
.start fieldset label span {
	font-size: smaller;
	display: block;
	color: #aaa;
	margin-top: 1.5em;
}
input[type=text],
input[type=password],
input[type=email]{
	padding: .5em 1em;
	font-size: 1.2em;
	border: 0;
	border-bottom: 1px solid #aaa;
	width: calc(100% - 2em);
}
.start label + fieldset {
	margin-top: 1.5em;
	text-align: center;
}
input[type=submit]{
	padding: .5em 1em;
	font-size: 1.2em;
/ *	background: linear-gradient(rgb(143,173,189), rgb(100,125,217));* /
	background: linear-gradient(rgb(105,154,254), rgb(65,114,214));
	border-radius: 1em;
	color: white;
	border: 0;
	cursor: pointer;
}
input:focus:invalid {
	border-bottom: 1px solid red;
}
input:required:valid {
	border-bottom: 1px solid green;
}



/ * medien * /

#upbtn {
	position: absolute;
	right: 2em;
	top: 1.5em;
	background: linear-gradient(rgb(105,154,254), rgb(65,114,214));
	border-radius: 1em;
	color: white;
	border: 0;
	cursor: pointer;
	z-index: 98;
}
#upbtn span {
	display: block;
	padding: .5em 1em;
}
#uploadframe {
	position: absolute;
	top: .4em;
	width: calc(100% - 4em);
	height: calc(100% - 1em);
	background: rgba(255,255,255,1);
	z-index: 99;
	border: 0;
}
#medialist {
	position: absolute;
	top: 5em;
	left: 2em;
	right: 2em;
	bottom: 1em;
	height: calc(100% - 6em);
	overflow-y: hidden;
	overflow-x: hidden;
	background: #eee;
	z-index: 98;

	display: grid;
	grid-template-rows: 4em 2em calc(100% - 6em);
}
#tagselect {
	grid-row: 1;
	padding: .45em;
}
#tagselect ul {
	display: inline-block;
}
#tagselect ul li {
	display: inline-block;
}
#tagselect ul li ul li {
	cursor: pointer;
	background: #ccc;
	border-radius: .3em;
	padding: .2em .5em;
}
#tagselect ul li ul li em {
	font-style: normal;
	font-size: smaller;
	background: #aaa;
	border-radius: 1em;
	padding: .2em .5em;
}

#filtersort {
	grid-row: 2;
	padding: .45em 0;
	background: #ccc;
}
#medialist .list {
	grid-row: 3;
	overflow-y: auto;
	overflow-x: hidden;
/ *
	position: absolute;
	top: 5em;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: auto;
	overflow-x: hidden;
	background: #ccc;
	z-index: 98;
* /
}
#medialist .list li {
	vertical-align: middle;
}
#medialist li .tags {
	display: inline-block;
}
#medialist li .del {
	background: #ff6961;
	border-radius: 1em;
	padding: .2em .5em;
	cursor: pointer;
}
#medialist li img {
	max-height: 100px;
}
#medialist span.sort {
	cursor: pointer;
	padding: .3em 1em .3em 2em;
	position: relative;
}
#medialist span.sort.asc, #medialist span.sort.desc {
	background: #aaa;
}
#medialist span.sort.asc:before {
	position: absolute;
	left: 1em;
	top: .5em;
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 6px 10.4px 6px;
	border-color: transparent transparent #007bff transparent;
}
#medialist span.sort.desc:before {
	position: absolute;
	left: 1em;
	top: .5em;
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10.4px 6px 0 6px;
	border-color: #007bff transparent transparent transparent;
}

*/