
* {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-overflow-scrolling: touch;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	 -khtml-user-select: none; /* Konqueror HTML */
	   -moz-user-select: none; /* Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
			user-select: none; 	
}


body {
	overflow: hidden;
}


input, textarea {
	
	 -khtml-user-select: all;; /* Konqueror HTML */
	 -webkit-user-select: auto;; /* Firefox */
	   -moz-user-select: all;; /* Firefox */
		-ms-user-select: all;; /* Internet Explorer/Edge */
			user-select: auto;; /* Firefox */
}


button,
select {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
}

input,
textarea {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-touch-callout:none;
}



page {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	overflow-y: auto;
	z-index: 1;
	padding-top: 40px;
	transition: all 170ms;
	will-change: left, top, right, bottom, opacity;
	background: #fff;
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	display: none;
	font-family: system-ui, ui-sans-serif, sans-serif;
}

content {
	position: absolute;
	top: 45px;
	left: 0;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	overflow-y: auto;
	height: calc(100% - 45px);
	-webkit-overflow-scrolling: touch;
	transition: all 170ms;
	will-change: left, top, right, bottom, opacity;
	padding-bottom: 80px;
}

.page-no-title content {
	height: 100%;
}

.page-current {
	opacity: 100%;
	z-index: 10;
}

.page-no-title {
	padding-top: 0;
}

titlebar .left {
	width: 80px;
}

titlebar .right {
	width: 80px;
	text-align: right;	
}

titlebar .right a {
	float: right;
	display: block;
	width: 100%;
}

titlebar {
	display: flex;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: #fff;
	font-size: 17px;
	height: 45px;
	z-index: 100;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	justify-content: space-between;
	align-items: center;
	-webkit-box-pack: justify;
	text-align: center;
	transition: all 170ms;
	will-change: left, top, right, bottom, opacity;
}


titlebar .left, titlebar .right {
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	font-size: 12px;
	font-weight: bold;
}

titlebar .left a.active, titlebar .right a.active {
	opacity: 0.5;
}

static {
	position: absolute;
	z-index: 1000;
}

titlebar .title {
	font-weight: 600;
	font-size: 17px;
	line-height: 1.2;
	flex-shrink: 10;
	display: inline-block;
	left: 0;
	position: relative;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}


modal centered {
	display: flex;
	align-items: center;
	height: 100%;
	width: 100%;
}

modal {
	padding-top: 10%;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	transition: all 100ms;
	will-change: left, top, padding, right, bottom, opacity;
	background: rgba(0,0,0,0.2);
	display: none;
	opacity: 1;
	position: fixed;
	overflow-y: auto;
}

page.no-transition , .no-transition content, .no-transition titlebar  {
	transition: none
}