html{
	box-sizing: border-box;
	height: 100%;
}
*, *::after, *::befoe{box-sizing: inherit
}
*{	/* for ipad (input tag)*/
	padding: 0;
	margin: 0;
}
div.author {
	font-size: 10px;
	color: gray;
	width: 40vw;
	margin: 1vh auto;
	text-align: center;
	/*position: relative;
  	left: 0;
  	bottom: 0;
  	width: 100%;*/
  	flex: 0 0 auto;
}

.wrapper {
	width: 90%;
	margin: 0.3vh auto;
	transition: all 1.3s;
}

input, select {
	box-shadow: 1px 1px 5px -4px gray;
}

input[type=number], input[type=text], select {
	width: 100%;
	height: calc(16px + 4 * (100vw / 1728));
	font-size: calc(12px + 4 * (100vw / 1728));
	text-align: right;
	border-radius: 4px;
	border: 1px solid rgb(221, 221, 221, 1);
}
select {
	text-align: left;
}
.splitCell {
	display: flex;
	justify-content: center;
	flex-wrap: wrap-reverse;
}
tr > td > .splitCell > input, tr > td > .splitCell > select, select.mt-vcf {width: 70px;}
.buttons {
	background-color: rgba(255,255,255,0.9);
	display: flex;
	justify-content: space-around;
	position: sticky;
	position: -webkit-sticky;
	top: 0.1vh;
	font-size: calc(12px + 4 * (100vw / 1728));
}
.btn, a.clearForm{
	width: 40vw;
	align-self: center;
	height: 100%;
}
a.clearForm{
	display: inline-block;

}
table .table-header1, .table-header2 {
	color: white;
	text-align: center;
}
.total-table, .upper-input-table {
	position: sticky;
	position: -webkit-sticky;	
}
.table-borderless {
	margin: 0.5vh auto;
	top: 35px;
}
.upper-input-table {						
	top: 99px;
	background-color: white;
}
.total-table, .upper-input-table {
	box-shadow: 0px 4px 6px 4px rgba(35, 130, 192, 0.1), 0px -4px 6px 4px rgba(35, 130, 192, 0.1);
	z-index: 5;
}
.table-header1 {
	background-color: rgba(35, 130, 192, 1);
	color: white;
}
.table-header2 {
	background-color: rgba(116, 200, 255, 1);
}
table.table {
	font-size: calc(12px + 4 * (100vw / 1728));
}
.table > tbody > tr > td {
	padding: 4px 2px;
}
.choose {
	background-color: rgba(35, 130, 192, 1);
	letter-spacing: 0.5px;
	color: rgb(255, 255, 255,1);
	font-size: calc(12px + 4 * (100vw / 1728));
	width: 10vw;
	border-radius: 4px;
	border: 2px solid #eea236;
}
.choose:hover{
	background-color: rgb(29.488, 109.53, 161.76);
}
.navbar{
	display: flex;
	justify-content: space-around;
	width: 90%;
	margin: 0.1vh auto;
	background-color: rgba(35, 130, 192, 1);
	padding: 0.5vmax;
	transition: 1.3s;
}
.navbar__wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.popup{
	display: none;
}
.navbar__wrap .menu{
	display: flex;
	flex-wrap: wrap;
}
.navbar__wrap > .menu > li, .popup > .menu > li{
	display: -webkit-flex; /* Safari 6 */
	height: auto;
	display: flex;
	letter-spacing: 0.5px;
	color: rgb(255, 255, 255,1);
	margin-right: 16px;
}
.navbar__wrap .menu li:hover{
	color: rgb(255, 255, 255, 0.8);
}
label{
	font-weight: 300;
	cursor: pointer;
}
.navbar__wrap > .menu > li > .objQty {
	background-color: transparent;
	border:none;
	width: 40px;
	text-align: center;
	color: #eea236;
	text-shadow: -0 -1px 0 #FFFFFF, 0 -1px 0 #FFFFFF,-0 1px 0 #FFFFFF, 0 1px 0 #FFFFFF,-1px -0 0 #FFFFFF, 1px -0 0 #FFFFFF,-1px 0 0 #FFFFFF, 1px 0 0 #FFFFFF,-1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF,-1px 1px 0 #FFFFFF, 1px 1px 0 #FFFFFF,-1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF,-1px  1px 0 #FFFFFF, 1px  1px 0 #FFFFFF;
	font-weight: 700;
	font-style: italic;
	margin-top: 2px;
}
.objNum{
	font-size: calc(12px + 4 * (100vw / 1728));
	padding-left: 4px; 
	color: red;
}
li.objNum > label {
	cursor: default;
	letter-spacing: 2px;
	font-weight: 700;
	font-style: italic;
	text-shadow: -0 -1px 0 #FFFFFF, 0 -1px 0 #FFFFFF,-0 1px 0 #FFFFFF, 0 1px 0 #FFFFFF,-1px -0 0 #FFFFFF, 1px -0 0 #FFFFFF,-1px 0 0 #FFFFFF, 1px 0 0 #FFFFFF,-1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF,-1px 1px 0 #FFFFFF, 1px 1px 0 #FFFFFF,-1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF,-1px  1px 0 #FFFFFF, 1px  1px 0 #FFFFFF;
	color: #eea236;
}
.hidden-tr{
	display: none;
}
.red{
	color: red;
	font-weight: bold;
}
.orange {
	color: rgb(255, 95.359, 0);
}
@media (max-width: 1200px) {
	.navbar, .buttons{
	width: 100%;
	}
	.navbar__wrap .menu {
		display: none;
	}
	.hamb{
		display: flex;
		align-items: center;
	}
	.hamb__field{
		padding: 3px 15px;
		cursor: pointer;
		z-index: 11;
	}
	.bar{
		display: block;
		width: 30px;
		height: 2px;
		margin: 4px auto;
		background-color: white;
		transition: 1s;
	}
	.popup{
		position: fixed;
		top: -100%;
		width: 100%;
		height: 100%;
		background-color: rgba(35, 130, 192, 1);
		z-index: 10;
		display: flex;
		transition: 1s;
	}
	.popup.open{
		top: 4.5vh;		
	}
	.popup .menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 12px 36px 100px;
    overflow: auto;
  }
  .popup > .menu > li { 	
    width: 100%;
    flex: 1 0 auto;
  }
  .popup > .menu > li > .objQty {
	background-color: transparent;
	border:none;
	width: 40px;
	text-align: center;
	color: #eea236;
	text-shadow: -0 -1px 0 #FFFFFF, 0 -1px 0 #FFFFFF,-0 1px 0 #FFFFFF, 0 1px 0 #FFFFFF,-1px -0 0 #FFFFFF, 1px -0 0 #FFFFFF,-1px 0 0 #FFFFFF, 1px 0 0 #FFFFFF,-1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF,-1px 1px 0 #FFFFFF, 1px 1px 0 #FFFFFF,-1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF,-1px  1px 0 #FFFFFF, 1px  1px 0 #FFFFFF;
	font-weight: 700;
	font-style: italic;
	margin-top: 2px;
	}
  .hamb__field.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamb__field.active .bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .hamb__field.active .bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
  body.noscroll {
    overflow: hidden;
  }
	.wrapper{
		width:100%;
		padding: 0 2px;
	}
	.units, .method {
		display: none;
	}
	.total-table {
		top: 35px;
	}
	.upper-input-table{
		top: 95px;
	}
}
@media (max-width: 800px) {
table.table {
	font-size: calc(12px + (4 + 4 *0.7) * ((100vw - 800px)/ 1728));
}
input[type=number], input[type=text], select {
	min-width: 48px;
	height: calc(16px + (4 + 4 *0.7) * ((100vw - 800px)/ 1728));
	font-size: calc(12px + (4 + 4 *0.7) * ((100vw - 800px)/ 1728));
}
	div.buttons > a, div.buttons > button {
		font-size: calc(12px + (4 + 4 *0.7) * ((100vw - 800px)/ 1728));
}
	.total-table {
		top: 32px;
	}
	.upper-input-table{
		top: 85px;
	}
	tr > td > .splitCell > input, tr > td > .splitCell > select {
	width: 36px;
}
}
@media (max-width: 606px) {
	.upper-input-table{
		top: 99px;
	}
}
@media print {
	.table{
		margin-bottom: 0.5cm;
	}
	input[type=number], input[type=text], select {
		border: 1px solid rgb(221, 221, 221, 0);
		-moz-appearance: textfield;
	}
	select {
		appearance: none;
		-moz-appearance: none;
		-webkit-appearance: none;
	}
	.navbar, .author, .buttons{display: none;}
	.units, .method {
		display: table-cell;
	}
	td, th{
		border: 1px solid;
	}
	.splitCell {
	border:1px solid green;
	justify-content: space-between;
	flex-wrap: nowrap;
	width: 3cm;
}
	tr > td > .splitCell > input  {
		width: 66.66%;
		border: 1px solid;
	}
	tr > td > .splitCell > select {
		width: 33.34%;
		border: 1px solid;
	}
	.text-center {
		padding:0;
		overflow: visible;
	}

}
/*---------------------------------*/