/* MAIN */

* {
	box-sizing: border-box;
	scrollbar-width: thin;
	font-family: sans-serif;
}
html, body {
	position: fixed;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden !important;
	background: #fff;
	color: #000;
}
body.sbos-setup {
	/*background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='50px' width='120px'><text x='39' y='41' fill='currentColor' font-size='20'>* * *</text></svg>");
	background-image:url("../img/ui/loading_static.png");
	background-repeat: no-repeat;
	background-position: center;*/
	position: relative;
}
body.sbos-setup #Master-Container-0 {
	visibility: hidden;
}
body.sbos-setup::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 2;
	background-image:url("../img/ui/loading_static.png");	/* compare: selbach-load-animation */
	background-repeat: no-repeat;
	background-position: center;
	background-size: 72px;
	animation: sbos-setup-spin 4s linear infinite;
}
@keyframes sbos-setup-spin { 100% { transform: rotate(360deg); } }
.sbos-theme-dark html,
.sbos-theme-dark body {
	background: #222;
	color: #eee;
}
body :not(textarea)::-webkit-scrollbar {
	width: 9px;
	height: 9px;
	background: #eee;
	border-radius: 3px;
}
body :not(textarea)::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background: #aaa;
}
textarea {
	background: inherit;
	color: inherit;
	border: 1px solid #999;
}
select {
	scrollbar-width: auto;
}

button, 
input[type=submit], 
input[type=button] {
	cursor: pointer;
	background: #e9e9ed;
	border: 1px solid #8f8f9d;
    border-radius: 3px;
}
button:hover, 
input[type=submit]:hover, 
input[type=button]:hover {
    filter: brightness(1.015);
}
button:active, 
input[type=submit]:active, 
input[type=button]:active {
    filter: brightness(1.02);
}

/* Google material icon sizes: */
.material-icons.md-txt { font-size: 16px; } 		/* inline text default */
.material-icons.md-btn { font-size: 21px; } 		/* chat controls button default */
.material-icons.md-btn2 { font-size: 24px; }		/* menu button default */
.material-icons.md-mic { font-size: 27px; } 		/* mic button default */
.material-icons.md-mic-dia { font-size: 20px; } 	/* mic button dialog state */
.material-icons.md-mnu { font-size: 28px; }
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
.material-icons.md-inherit { font-size: inherit; }
.material-icons {
	vertical-align: text-bottom;
	-webkit-user-select: none;  
	-moz-user-select: none;    
	-ms-user-select: none;      
	user-select: none;
	position: relative;
}
.selbach-font-icons {
	font-size: 19px;
	position: relative;
}
.material-icons.crossed::after,
.selbach-font-icons.crossed::after {
	content: 'x';
    font-family: sans-serif;
    font-size: inherit;
    top: 0px;
    right: 25%;
    position: absolute;
    color: inherit;
    overflow: hidden;
    display: inline-block;
}
.material-icons.crossed.red::after,
.selbach-font-icons.crossed.red::after {
	color: #f00;
}

.selbach-paste-input-dummy {
	position: fixed;
    z-index: -100;
    left: 0;
    bottom: 0;
    height: 0;
    width: 0;
    border: 0;
}
.selbach-paste-input-dummy:focus {
	border: 0;
	outline: 0;
}

.selbach-fullsize-overlay-translucent {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2147483647;
}
.selbach-ui-popup {
	width: 318px;
    max-width: 95%;
    height: auto;
    min-height: 96px;
    max-height: 90vh;
    margin-top: 4vh;
    margin-bottom: 6vh;
    background: #fff;
    color: #222;
    border: 0;
    border-radius: 3px;
    box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.25);
    /*overflow-y: auto;*/
	overflow-y: hidden;
	display: flex;
    flex-direction: column;
}
.selbach-ui-popup.compact {
	width: auto;
    height: auto;
	min-width: 16px;
    min-height: 16px;
	margin: 0;
}
.selbach-pm-panel-content > .selbach-ui-popup {
	width: 100%;
    height: 100%;
    max-height: unset;
    border: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: unset;
	padding-top: 16px;
}
.selbach-ui-popup-header {
	position: relative;
	width: 100%;
	min-height: 42px;
	height: auto;
	text-align: center;
    padding: 12px 28px;
    font-size: 15px;
	flex: 0 0 auto;
}
.selbach-ui-popup.scrolling .selbach-ui-popup-header {
	border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}
.selbach-ui-popup-content {
	padding: 4px 16px 16px 16px;
	/*scrollbar-gutter: stable both-edges;*/ /*TODO: waiting for Safari support, then adjust padding by 10px*/
	overflow-y: auto;
    flex: 1 1 auto;
}
.selbach-ui-popup-content.compact {
	padding: 2px 4px;
}
.selbach-ui-popup-content .editor-box .CodeMirror {
	border: 1px solid #aaa;
}
.selbach-ui-popup-content .editor-box .jsoneditor {
    border: 1px solid #000;
}
.selbach-ui-popup-content > .sb-dynamic-list,
.selbach-ui-popup-content > .sb-file-list {
	margin: 0 8px;
}
.selbach-ui-popup-content > .confirm-box {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 8px;
}
.selbach-ui-popup-content > .system-style {
	display: flex;
    flex-direction: column;
}
.selbach-ui-popup-content > .system-style .button-box {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
    /* flex-direction: column; */
    justify-content: space-evenly;
    /* align-items: stretch; */
    /* align-content: center; */
}
.selbach-ui-popup-content > .system-style .select-box-rows {
	width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.selbach-ui-popup-content > .system-style .select-box-rows button {
	display: block;
}
.selbach-ui-popup-content > .system-style .select-box-chain {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-evenly;
}
.selbach-ui-popup-content > .system-style button,
.selbach-ui-popup-content .sb-popup-button {
	margin: 4px;
	cursor: pointer;
	background: #e9e9ed;
	color: #000;
	border: 1px solid #8f8f9d;
    border-radius: 3px;
	padding: 4px 8px;
	transition: background .3s, color .3s, opacity .3s;
	display: inline-flex;
    align-items: center;
    justify-content: center;
	min-height: 28px;
	text-overflow: ellipsis;
    overflow: hidden;
}
.selbach-ui-popup-content a.sb-popup-button {
	text-decoration: none;
}
.selbach-ui-popup-content > .system-style button.button-type-2,
.selbach-ui-popup-content .sb-popup-button.button-type-2 {
	border-radius: 16px;
    border: 0px solid #fff;
    /*box-shadow: 0 0 1px 0px white inset;*/
    background: #000;
    color: #fff;
}
.selbach-ui-popup-content > .system-style button.full-width,
.selbach-ui-popup-content .sb-popup-button.full-width {
	width: 100%;
    margin: 2px 0;
}
.selbach-ui-popup-content > .system-style .button-box button {
	min-width: 72px;
}
.selbach-ui-popup-content > .system-style .button-box.fill button {
	flex: 1 1 0%;
}
.selbach-ui-popup-content > .system-style .button-box.full-width button {
	flex: 1 1 100%;
}
.selbach-ui-popup-content > .system-style .menu-item {
	width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.selbach-ui-popup-content > .system-style .menu-item div {
	flex-grow: 1;
    flex-shrink: 1;
    width: auto;
    max-width: 100%;
    display: flex;
}
.selbach-ui-popup-content > .system-style .menu-item span {
	max-width: 100%;
    margin: 4px;
    padding: 4px 8px;
	border: 1px solid #aaa;
	background: #e5e5e9;
	border-radius: 3px;
	font-size: 15px;
    text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
	flex-grow: 1;
	display: flex;
    align-items: center;
}
.selbach-ui-popup-content > .system-style .menu-item input {
	max-width: 100%;
    margin: 4px;
    padding: 4px 8px;
	border: 0;
	border-bottom: 1px solid #000;
	font-size: 15px;
	flex-grow: 1;
}
.selbach-ui-popup-content > .system-style .menu-item div > input {
	margin: 2px;
	padding: 2px 4px;
	font-size: 13px;
	height: 30px;
}
.selbach-ui-popup-content > .system-style .menu-item div > select {
	height: 27px;
    margin: 4px 0;
}
.selbach-ui-popup-content > .system-style .menu-item button {
	background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
}
.selbach-ui-popup-content > .system-style .menu-item > :first-child {
	margin-left: 0px !important;
}
.selbach-ui-popup-content > .system-style .menu-item > :last-child {
	margin-right: 0px !important;
}
.selbach-ui-popup-content > .system-style .comment {
	margin-bottom: 16px;
	max-width: 100%;
}
.selbach-ui-popup-content > .system-style h3 {
	font-size: 18px;
}
.selbach-ui-popup-content > .system-style h3:first-child,
.selbach-ui-popup-content > .system-style p:first-child {
	margin-top: 8px;
}
.selbach-ui-popup-close-btn {
	position: absolute;
    top: 2px;
    right: 2px;
	background: transparent !important;
	color: #000;
	border: 0 !important;
	cursor: pointer;
	margin: 4px;
	padding: 6px;
	display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
	outline: 1px solid;
    outline-offset: -4px;
    border-radius: 12px;
}
.selbach-ui-popup.scrolling .selbach-ui-popup-close-btn {
	top: 6px;
    right: 4px;
}
.selbach-ui-popup-frame {
	transition: height 0.3s, width 0.3s;
}

.sb-icon-flip-container {
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	position: relative;
	transition: transform 0.5s;
}
.sb-icon-flip-container > .flip-side {
	backface-visibility: hidden;
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
	background: #000;
	color: #fff;
}
.sb-icon-flip-container > .flip-side.front {
	z-index: 2;
}
.sb-icon-flip-container > .flip-side.back {
	transform: rotateY(180deg);
	z-index: 1;
}

.sb-ui-achievement-msg-box {
	position: fixed;
    bottom: 16px;
    left: -340px;
    /*width: 300px;*/
	max-width: calc(100% - 32px);
    /*height: 66px;*/
    color: #fff;
    display: flex;
    z-index: 2147483647;
	transition: left .66s;
	transition-timing-function: cubic-bezier(0.25, 0.25, 0.45, 1.65);
	background: linear-gradient(45deg, #108de0, #3dafe9);
	box-shadow: 0px 1px 6px 0 rgba(0, 0, 0, 0.50);
	padding: 8px 0;
}
.sb-ui-achievement-msg-box.visible {
	left: 16px;
}
.sb-achievement-icon {
	flex: 0 0 auto;
	width: 66px;
	min-height: 66px;
	margin: 0 8px;
	cursor: pointer;
}
.sb-achievement-icon .sb-icon-flip-container {
	border: 1px solid #fff;
	box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.33);
	transition: box-shadow 1.25s, transform 0.5s;
}
.sb-achievement-icon .sb-icon-flip-container > .flip-side {
	box-shadow: inset 0 0 0px 0px #FFF;
	transition: box-shadow 1.25s;
}
.sb-achievement-icon .sb-icon-flip-container > .flip-side.front {
	background: linear-gradient(45deg, #33a5f0, #4dbbec);
	color: #fff;
}
.sb-achievement-icon .sb-icon-flip-container > .flip-side.back {
	background: #fff;
    color: #1e96e2;
}
.sb-ui-achievement-msg-box.covered .sb-achievement-icon .sb-icon-flip-container {
	transform: rotateY(180deg);
}
.sb-ui-achievement-msg-box.covered-v2 .sb-achievement-icon .sb-icon-flip-container > .flip-side {
	box-shadow: inset 0 0 120px 2px #FFF;
}
.sb-achievement-icon .sb-icon-flip-container.glow {
	box-shadow: 0 0 8px 1px #fffb00b8;
}
.sb-achievement-icon .sb-icon-flip-container.glow > .flip-side {
	box-shadow: inset 0 0 16px 2px #FFEB3B;
}
.sb-achievement-icon .material-icons {
	font-size: 32px;
}
.sb-achievement-icon lottie-player,
.sb-achievement-icon img,
.sb-achievement-icon video {
	width: 100%;
}
.sb-achievement-msg {
	flex: 1 1 auto;
    width: 256px;
    min-height: 66px;
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 0 8px;
	transition: all 0.75s;
	cursor: pointer;
}
.sb-ui-achievement-msg-box.covered .sb-achievement-msg {
	width: 0px;
    padding: 0;
    overflow: hidden;
}
.sb-ui-achievement-msg-box.uncovering .sb-achievement-msg {
	white-space: nowrap;
	opacity: 0;
}
.sb-achievement-msg h3 {
	font-size: 14px;
	font-weight: bold;
	margin: 4px 0;
}
.sb-achievement-msg p {
	font-size: 14px;
	margin: 2px 0;
}
.sb-achievement-box-close {
	position: absolute;
    right: -8px;
    top: -8px;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 9px;
    background: #000;
    background-image: url("../img/ui/close-button-light.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.selbach-notification-inapp {
	position: fixed;
	bottom: 4px;
	right: 4px;
	width: 256px;
	height: auto;
	z-index: 2147483647;
	background: #333;
    color: #eee;
    padding: 16px;
}
.selbach-notification-inapp-title {
	font-weight: bold;
	font-size: 15px;
}
.selbach-notification-inapp-content {
	margin-top: 8px;
    font-size: 14px;
}
.selbach-notification-inapp-close {
	position: absolute;
	background: transparent;
	color: inherit;
	border: 0;
	top: 0;
	right: 0;
	width: 24px;
    height: 24px;
}

.selbach-app-buttons-box {
	display: flex;
    justify-content: start;
    align-items: center;
}
.selbach-app-buttons {
	box-sizing: border-box;
	width: 100%;
	max-height: 100%;
	padding: 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	overflow-y: auto;
    overflow-x: hidden;
}
.selbach-app-buttons h3 {
	font-weight: normal;
    font-size: 1.1rem;
}
.selbach-app-button {
	margin: 8px;
	padding: 4px 6px;
	background: #7ec3d8;
	color: #fff;
	min-width: 40px;
	min-height: 40px;
	border: 0;
	border-radius: 3px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-size: 15px;
	flex: 0 0 auto;
	transition: background .3s, color .3s, opacity .3s;
	-webkit-user-select: none;  
	-moz-user-select: none;    
	-ms-user-select: none;      
	user-select: none;
}
.selbach-app-button:hover {
	opacity: 0.85;
}
.selbach-app-button:active {
	opacity: 0.66;
}
.selbach-app-button.inline {
	display: inline-block;
	margin: 4px;
	min-width: 28px;
	min-height: 28px;
	font-size: 13px;
	padding: 4px 12px;
}
.selbach-app-button.small-icon {
	min-width: 28px;
	min-height: 28px;
	font-size: 21px;
	margin: 4px;
	padding: 4px 8px;
}
.selbach-app-button.smaller {
	margin: 4px;
	min-width: 32px;
	min-height: 32px;
	font-size: 13px;
}
.selbach-app-button.smaller .material-icons {
	font-size: 18px;
}
.selbach-app-button.smaller .selbach-font-icons {
	font-size: 14px;
}
button.selbach-app-button {
	display: block;
}
.selbach-app-button.initially-hidden {
	display: none;
}
/* -- New - TODO: move to menue widget when ready -- */
.selbach-app-button.selbach-demo-back-button {
	display: block;
}
.selbach-app-button[selbach-demo-button="analytics"] {
	display: none;
}
.selbach-app-button[selbach-demo-button="data"] {
	display: none;
}
.selbach-app-button[selbach-demo-button="sm"] {
	display: none;
}
.selbach-app-button[selbach-demo-button="office-tools"] {
	display: none;
}
.selbach-app-button[selbach-demo-button="tables"] {
	display: none;
}
.selbach-app-button.fill {
	flex: 1 1 auto;
}
.selbach-app-button.small-lr-margin {
	margin-left: 2px;
	margin-right: 2px;
}
.selbach-app-button.btn-debug-action {
	display: none;
}
.selbach-app-button.btn-action {
	background: #ff2010;
	border: 0;
}
.selbach-app-button.btn-tools {
	background: #333;
	border: 0;
}
.selbach-app-button.btn-option {
	background: #333;
	color: #fff;
    /*border: 1px solid #666;*/
	border: 0;
}
.selbach-app-button.btn-option-accent {
	background: #333;
    border: 1px solid #7ec3d8;
}
.selbach-app-button.btn-ctrl {
	background: transparent;
	color: #333;
	border: 0;
}

.selbach-app-select {
	min-height: 28px;
	height: 28px;
}

.webapp-button {
	display: flex;
	align-items: center;
	justify-content: space-around;
	cursor: pointer;
	-webkit-user-select: none;  
	-moz-user-select: none;    
	-ms-user-select: none;      
    user-select: none;
    background: #7ec3d8;
    color: #fff;
    border: 0;
    padding: 8px 12px;
    margin: 8px 12px;
    height: 35px;
    outline: none;
    transition: transform .5s ease-in-out;
}
.webapp-button i,
.webapp-button span {
	-webkit-user-select: none;  
	-moz-user-select: none;    
	-ms-user-select: none;      
	user-select: none;
	pointer-events: none;
}

.webapp-button.anim-loading {
    background: #aaa;
    animation: beating 5s linear infinite;
}
.webapp-button.anim-listening {
    background: #ee0638;
    animation: beating 5s linear infinite;
}
.webapp-button.anim-speaking {
    background: #186b8c;
    animation: beating 5s linear infinite;
}
.webapp-button.anim-await-dialog {
    background: #ffcd39;
}
@keyframes beating {
    0% {    transform: scale3d(1.0, 1.0, 1.0);    }
    25% {    transform: scale3d(1.1, 1.1, 1.0);   }
    75% {    transform: scale3d(0.9, 0.9, 1.0);   }
    100% {  transform: scale3d(1.0, 1.0, 1.0);    }
}

.webapp-input {
    padding: 8px 12px;
    margin: 8px 12px;
	height: 35px;
	max-width: calc(100% - 24px);
	min-width: 110px;
}
.webapp-label {
	margin: 8px 12px 4px 12px;
}

.selbach-content-box-column {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.selbach-content-header {
	width: 100%;
	min-height: 44px;
	padding: 4px 6px;
}
.selbach-content-body {
	width: 100%;
	flex: 1 1 auto;
}
.selbach-content-json {
	/*max-height: calc(100% - 48px);*/
	white-space: pre;
}

.selbach-plain-text-area {
	width: 100%;
	height: 100%;
	resize: none;
	padding: 8px;
	/*white-space: nowrap;*/
	overflow: auto;
}

.selbach-longview-container {
    width: 100%;
    height: 100%;
    border: 1px solid #aaa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.fullscreen .selbach-longview-container {
    border: 0;
}
.selbach-longview-container input {
    width: 80%;
    text-align: center;
    height: 42px;
}
.selbach-longview-container iframe {
    width: 100%;
    flex: 1 0 auto;
	border: 0;
}
body.ios .selbach-longview-container iframe {
	padding: 1px !important; 	/* unexplainable workaround for iOS resizing issues */
}

.selbach-longview-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.selbach-longview-controls div.group {
    margin: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.selbach-loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2147483647;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	/*
    background-image: url(img/overlay-logo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
	*/
}
.selbach-loading-overlay img {
	width: 80%;
	max-width: 200px;
}
/* credits for loader animation: https://loading.io/css/ */
.lds-dual-ring {
	display: inline-block;
	width: 48px;
	height: 48px;
}
.lds-dual-ring:after {
	content: " ";
	display: block;
	width: 35px;
	height: 35px;
	margin: 1px;
	border-radius: 50%;
	border: 5px solid #7ec3d8;
	border-color: #7ec3d8 transparent #7ec3d8 transparent;
	animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
	0% { 	transform: rotate(0deg); 	}
	100% {	transform: rotate(360deg); 	}
}
.very-small .lds-dual-ring {
	width: 22px;
	height: 22px;
}
.very-small .lds-dual-ring:after {
	width: 16px;
	height: 16px;
}

.selbach-file-dragover {
    outline: #000 dashed 3px;
    outline-offset: -5px;
}
.selbach-file-dragover-wo::after,
.selbach-file-dragover-wo-light::after {
	content: 'Drop file here';
	width: 100%;
	height: 100%;
	background: #222;
	color: #eee;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	outline: #eee dashed 3px;
	outline-offset: -5px;
	pointer-events: none;
	z-index: 99;
	top: 0;
    left: 0;
}
.selbach-file-dragover-wo-light::after {
	background: #fff;
	color: #000;
	outline-color: #000;
}

/* ------------- APP --------------- */

#webapp-window {
	position: relative;
	height: 100%;
	width: 100%;
	margin: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
#webapp-window a {
	color: inherit;
	text-decoration: none;
}
#webapp-window a:hover {
	/*text-decoration: underline;*/
}

#webapp-header {
	position: relative;
	flex: 0 0 auto;
	min-height: 72px;
	/* height: 72px; */
	width: 100%;
	background: #fff;
	color: #186b8c;
	padding: 0px;
	font-size: 18px;
	display: flex;
	flex-direction: column;
	-webkit-transition: height 0.3s ease-out, min-height 0.3s ease-out;
	transition: height 0.3s ease-out, min-height 0.3s ease-out;
    overflow: hidden;
}
#webapp-header.hide {
    position: relative;
    flex: 0 0 auto;
    bottom: 0px;
	min-height: 0px;
	height: 0px;
}
#webapp-header-content {
	position: relative;
	flex: 1 1 auto;
	background: inherit;
	color: inherit;
	width: 100%;
	/* height: 66px; */
	padding: 16px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
#webapp-header-accent {
    width: 100%;
    height: 5px;
    background: #186b8c;
}

#webapp-top-bar {
	position: relative;
	flex: 0 0 auto;
	min-height: 50px;
	height: 50px;
	width: 100%;
	background: #7ec3d8;
	color: #fff;
	padding: 0px 8px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	-webkit-transition: height 0.3s ease-out, min-height 0.3s ease-out;
	transition: height 0.3s ease-out, min-height 0.3s ease-out;
	z-index: 2;
    overflow: hidden;
}
#webapp-top-bar.hide {
	min-height: 0px;
	height: 0px;
}
#webapp-top-bar-dynamic {
	flex: 0 1 auto;
	padding: 0 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}
#webapp-top-bar .nav-bar-button {
	padding: 0px 8px;
	font-size: 15px;
	-webkit-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
	cursor: pointer;
	position: relative;
}
#webapp-top-bar .nav-bar-button:hover {
	opacity: 0.75;
}
.touch-device #webapp-top-bar .nav-bar-button:active {
	opacity: 1.0;
}
#webapp-top-bar .nav-bar-button span {
	margin-left: 8px;
}
@media screen and (max-width: 268px) {
	#webapp-top-bar .nav-bar-button span {
		display: none;
	}
}
#webapp-top-bar .nav-bar-button-menu {
	position: absolute;
	top: 37px;
	right: 0;
	width: 200px;
	height: 200px;
	background: #7ec3d8;
}

#webapp-footer {
	position: relative;
	flex: 0 0 auto;
	min-height: 40px;
	height: 40px;
	width: 100%;
	background: #186b8c;
	color: #fff;
	padding: 0px 8px;
	font-size: 14px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	-webkit-transition: height 0.3s ease-out, min-height 0.3s ease-out;
	transition: height 0.3s ease-out, min-height 0.3s ease-out;
	overflow: hidden;
}
#webapp-footer.hide {
	min-height: 0px;
	height: 0px;
}
#webapp-footer .webapp-button {
	font-size: 15px;
    cursor: pointer;
    margin: 0;
    padding: 5px !important;
    background: transparent !important;
}

#webapp-main {
	position: relative;
	flex: 1 1 auto;
	min-height: 72px;
	position: relative;
	background: #fff;
	color: #186b8c;
	display: flex;
	flex-direction: column;
}

#webapp-fullscreen-overlay-btn {
	position: fixed;
	background: #186b8c;
	color: #fff;
	right: 16px;
	bottom: 16px;
	width: 34px;
    height: 34px;
    border-radius: 17px;
	z-index: 79;
}

#webapp-page-views {
	flex: 1 1 auto;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: row;
}
.webapp-page-view {
	flex: 1 0 auto;
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 32px;
	/*display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;*/
    font-size: 16px;
	color: #186b8c;
	transition: padding 0.3s;
}
.fullscreen .webapp-page-view {
	padding: 0;
}
.webapp-page-view li {
	margin: 6px 0px;
}

.webapp-menu-box {
	display: flex;
	flex-direction: column;
	padding: 32px;
}
.webapp-menu-box h3 {
	margin: 16px 12px;
}

/* -- more animations -- */
@keyframes opacityFadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}