/*tbBasic version:01.00 last-edited:6/12/2017*/
/*reset css*/
* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	outline: none;
	-webkit-touch-callout: none; /*prevent callout to copy image, etc when tap to hold*/
	-webkit-tap-highlight-color: rgba(0,0,0,0); /*prevent tap highlight color, shadow*/
	/*-webkit-text-size-adjust: none; /*prevent webkit from resizing text to fit*/
}
*:not(input) {
	-webkit-user-select: none; /*prevent text selection*/
}
body {
	padding: 0;
	margin: 0;
	font-size: 0;
}
body>* {
	font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
	padding: 0;
	margin: 0;
	text-align: center;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	vertical-align: middle;
	cursor: pointer;
}
button:focus {
	outline: blue;
	box-shadow: 0px 0px 5px rgb(10,140,160);
}
button::-moz-focus-inner {
	border: 0;
}
input:not([type="number"])::-webkit-outer-spin-button, /*removes arrows*/
input:not([type="number"])::-webkit-inner-spin-button, /*removes arrows*/
input::-webkit-clear-button { /*removes blue cross*/
	margin: 0;
	-webkit-appearance: none;
}
input[type="checkbox"] {
	width: 20px;
	height: 20px;
	padding: 0;
	margin: 0;
}
input[type="date"] {
	display: block;
	display: -webkit-flex;
	appearance: button;
	-moz-appearance :button;
    -webkit-appearance: button;
	border-radius: 6px;
	text-align: center;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}
input[type="search"] {
	text-align: center;
}
textarea {
	resize: none;
}
/*standard prototype*/
.tbHeader, .tbFooter {
	position: fixed;
	width: 100%;
	left: 0;
	z-index: 1001;
}
.tbHeader {
	height: 50px;
	top: 0;
	line-height: 50px;
}
.tbFooter {
	height: 60px;
	bottom: 0;
	text-align: center;
	line-height: 60px;
}
.tbHeader>button {
	background: none;
	display: block;
	position: absolute;
	height: 40px;
	padding: 0;
	margin: 0;
	border: none;
	line-height: 40px;
	top: 4px;
}
.tbHeader>button:focus {
	outline: none;
	box-shadow: none;
}
.tbFooter>button {
	background: none;
	padding: 0;
	margin: 0;
	border: none;
}
.tbHeaderSub {
	position: fixed;
	width: 100%;
	padding-top: 10px;
	left: 0;
	top: 50px;
	text-align: center;
	z-index: 1000;
}
.tbFooterBlur {
	position: fixed;
	width: 100%;
	height: 80px;
	left: 0;
	bottom: 0;
}
button.tbBtn, .tbBtn>button {
	border: none;
	transition: background 1s, transform 0.5s;
	-moz-transition: background 1s, transform 0.5s;
	-ms-transition: background 1s, transform 0.5s;
	-o-transition: background 1s, transform 0.5s;
	-webkit-transition: background 1s, transform 0.5s;
}
button.tbBtn:active, .tbBtn>button:active {
	transform: scale(0.9);
	-moz-transform: scale(0.9);
	-ms-transform: scale(0.9);
	-o-transform: scale(0.9);
	-webkit-transform: scale(0.9);
}
.tbBtnFixed {
	position: fixed;
	width: 60px;
	height: 60px;
	border: none;
	border-radius: 30px;
	z-index: 1002;
}
.tbFullPane {
	position: fixed;
	width: 100%;
	height: 300%;
	text-align: center;
	left: 0;
	top: 0;
	z-index: 2000;
}
.tbVertical>* {
	display: block;
	width: 100%;
	margin: 0 auto 5px;
	text-align: center;
}
.tbVertical>.tbHeader, .tbVertical>.tbFooter {
	margin: 0;
}
.tbVertical>h1, .tbVertical>h2, .tbVertical>h3 {
	margin-bottom: 20px;
}
.tbVertical>label {
	max-width: 200px;
	margin-bottom: 2px;
}
.tbVertical>input, .tbVertical>select {
	max-width: 220px;
	margin-bottom: 10px;
}
.tbVertical>input[type="number"], .tbVertical>input[type="search"] {
	max-width: 180px;
}
.tbVertical>button {
	max-width: 200px;
	height: 40px;
	margin: 20px auto;
}
.tbFgFooter {
	background: black;
	position: absolute;
	width: 100%;
	height: 60px;
	left: 0;
	bottom: 0;
	text-align: center;
	line-height: 60px;
	z-index: 2001;
	opacity: 0.8;
}
/*theme design*/
/*nightTeal*/
.themeNightTeal, .themeNightTeal .tbHeader, .themeNightTeal .tbHeaderSub {
	background: rgb(38,55,71);
	color: white;
}
.themeNightTeal .tbHeader {
	border-bottom: 2px solid rgb(31,48,64);
	box-shadow: 0 0 10px rgb(17,142,160);
}
.themeNightTeal .tbHeader>button {
	color: white;
	text-shadow: 0 0 10px rgb(220,220,220);
}
.themeNightTeal .tbFooter {
	background: rgb(23,33,43);
}
.themeNightTeal .tbFooter>button {
	color: white;
}
.themeNightTeal .tbFooterBlur {
	background: rgba(23,33,43,0.5);
}
.themeNightTeal button.tbBtn, .themeNightTeal .tbBtn>button {
	background: rgb(9,106,138);
	color: white;
}
.themeNightTeal button.tbBtn:hover, .themeNightTeal .tbBtn>button:hover {
	background: rgb(20,170,190);
}
.themeNightTeal button.tbBtn:focus, .themeNightTeal .tbBtn>button:focus,
.themeNightTeal button.tbBtnSelected  {
	border: 1px solid rgba(255,255,255,0.5);
	box-shadow: 0 0 10px rgba(255,255,255,0.9);
}
.themeNightTeal button.tbBtnFixed {
	background: rgb(25,188,205);
	color: white;
	box-shadow: 0px 0px 5px rgba(25,188,205,0.5);
	text-shadow: 0 0 10px rgb(220,220,220);
}
.themeNightTeal button.tbBtnFixed:active {
	background: rgb(25,226,246);
}
/*chocco*/
.themeChocco, .themeChocco .tbHeader, .themeChocco .tbHeaderSub {
	background: rgb(121,94,77);
	color: white;
}
.themeChocco .tbHeader {
	border-bottom: 2px solid rgb(80,60,50);
	box-shadow: 0 0 10px rgb(220,200,160);
}
.themeChocco .tbHeader>button {
	color: white;
	text-shadow: 0 0 10px rgb(220,220,220);
}
.themeChocco .tbFooter {
	background: rgb(60,45,35);
}
.themeChocco .tbFooter button {
	color: white;
}
.themeChocco .tbFooterBlur {
	background: rgba(60,45,35,0.5);
}
.themeChocco button.tbBtn, .themeChocco .tbBtn>button {
	background: rgba(220,160,80,0.6);
}
.themeChocco button.tbBtn:hover, .themeChocco .tbBtn>button:hover {
	background: rgb(220,160,80);
}
.themeChocco button.tbBtn:focus, .themeChocco .tbBtn>button:focus,
.themeChocco button.tbBtnSelected  {
	border: 1px solid rgba(255,255,255,0.5);
	box-shadow: 0 0 10px rgba(255,255,255,0.9);
}
.themeChocco button.tbBtnFixed {
	background: rgb(240,120,0);
	color: white;
	border: 1px solid rgba(255,255,255,0.5);
	box-shadow: 0px 0px 10px rgba(240,90,0,0.75);
	text-shadow: 0 0 10px rgb(220,220,220);
}
.themeChocco button.tbBtnFixed:active {
	background: rgb(240,180,0);
}
/*responsive design format*/
.tbRpdFormat .tbNarrowOnly {
	display: none;
}
@media only screen and (max-width: 640px) {
	.tbRpdFormat .tbWideOnly {
		display: none;
	}
	.tbRpdFormat .tbNarrowOnly {
		display: block;
	}
}
/*print design*/
@media print {
	@page {
		size: landscape;
	}
	h1, h2, h3, h4, h5, h6, p, label, th, td {
		color: black !important;
	}
	.tbHeader, .tbHeaderSub {
		position: static !important;
		border: none !important;
		box-shadow: none !important;
	}
	.tbFooterBlur, .tbFooter, button {
		display: none !important;
	}
	.tbBoxTable {
		border-bottom: 0 !important;
	}
	table {
		font-size: 12px !important;
	}
	th, td {
		border-color: black !important;
	}
	select {
		border: 0 !important;
		-webkit-appearance: none !important;
		-moz-appearance: none !important;
	}
}