 #wwcalculator{
	   -webkit-user-select: none; /* Safari */
		-ms-user-select: none; /* IE 10 and IE 11 */
		user-select: none; /* Standard syntax */
		position:relative;
		touch-action: none;
	 
 }
 
 
 
 #wwcalculator{
    background-image:url('background.jpg');
    background-attachment:fixed;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
	margin:0px auto;
	width:vw;
	height:vh;
	min-width:375px;
	
    }

h1{
	font-family: arial;
	font-size:28;
	font-weight:bold;
	color:#aaa;
	margin:3px;
	
	}
	
h13 {
	font-family: arial;
	font-size:24;
	font-weight:normal;
	color:white;
	display:inline-block;
	width:200x;	
	position:absolute;
	margin-left:10px;
	margin-right:10px;
	
	
}

h10 {
	font-family: arial;
	font-size:24;
	font-weight:normal;
	color:white;
	display:inline-block;
	position:relative;
	width:50px;	
	margin-left:5px;
	margin-right:5px;	
	
}

h11 {
	font-family: arial;
	font-size:24;
	font-weight:bold;
	color:grey;
	display:inline-block;
	position:relative;
	width:200px;	
	margin-left:5px;
	margin-right:5px;	
	
}

h11:hover{
	cursor:pointer;
	color:white;

}


h20 {
	color:#AAAAAA;
	cursor:pointer; 
	font-weight:bold;
	font-family: arial;	
	font-size:24; 
}

h20:hover{	
	color:#FFFFFF;
}

.nbctextinput:focus{
	outline: none !important;
    border-color: #6666ff;
    box-shadow: 0 0 10px #6666ff;
}

#inputfeet, 
#inputinches, 
#inputfractions,
#impinputfeet,
#impinputinches,
#impinputfractions,
#multdivnumber
{
	display:inline-block;
	width:150px;
	position:relative;
	height:40px;
	padding:3px;
	font-size: 24px;
	font-family: arial;
	font-weight: bold;
	background-color:#4f423c;
	background-color:#000;
	margin:1px;
	text-align:center;
	border-radius: 10px;
	border-width:0px;
	border-color:#fff;
	color:#00FFFF;
	
}


#inputm, 
#inputcm, 
#inputmm,
#metricinputm,
#metricinputcm,
#metricinputmm{
	display:inline-block;
	width:150px;
	position:relative;
	height:40px;
	padding:5px;
	font-size: 24px;
	font-family: arial;
	font-weight: bold;
	background-color:#4f423c;
	background-color:#000;
	margin:1px;
	text-align:center;
	border-radius: 10px;
	border-width:0px;
	border-color:#fff;
	color:#FF44FF;
	text-align:center;
}

#imperialinputs, #metricinputs{
	margin-top:5px;
	margin-bottom:5px;
	padding:0px;
}	


#mobileMenu{	
	position: absolute; 
	opacity: .5;
	display:inline-block;
	float:left;
	left:2%;
	top:0px;
	margin:2px;	
}

#burgermenu{
	position: absolute; 
	opacity: .5;
	display:none;
	float:left;
	left:2%;
	top:0px;
	margin:2px;	
	
}

#mobileMenu:hover, #helpMenu:hover, #burgermenu:hover{
	opacity: 1;
	cursor:pointer;
}

#helpMenu{
	position: absolute; 
	opacity: .5;
	display:inline-block;
	float:right;
	right:2%;
	top:0px;
	margin:2px;
}



.mathfunctionbtn {
	-moz-box-shadow: 3px 4px 0px 0px #899599;
	-webkit-box-shadow: 3px 4px 0px 0px #899599;
	box-shadow: 3px 4px 0px 0px #899599;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #bab1ba) );
	background:-moz-linear-gradient( center top, #ededed 5%, #bab1ba 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#bab1ba');
	background-color:#ededed;
	-webkit-border-top-left-radius:15px;
	-moz-border-radius-topleft:15px;
	border-top-left-radius:15px;
	-webkit-border-top-right-radius:15px;
	-moz-border-radius-topright:15px;
	border-top-right-radius:15px;
	-webkit-border-bottom-right-radius:15px;
	-moz-border-radius-bottomright:15px;
	border-bottom-right-radius:15px;
	-webkit-border-bottom-left-radius:15px;
	-moz-border-radius-bottomleft:15px;
	border-bottom-left-radius:15px;
	text-indent:0;
	border:1px solid #d6bcd6;
	display:inline-block;
	color:#3a8a9e;
	font-family:arial;
	font-size:20px;
	font-weight:bold;
	font-style:normal;
	height:33px;
	line-height:40px;
	width:150px;
	text-decoration:none;
	text-align:center;
	text-shadow:0px 1px 0px #e1e2ed;
	margin:10px;
	margin-left: auto;
	margin-right: auto;
	
	
	
}

.mathfunctionbtn:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bab1ba), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #bab1ba 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bab1ba', endColorstr='#ededed');
	background-color:#bab1ba;
	cursor:pointer;
	color:#444;
	/* outline: none !important; */
    border-color: #6666ff;
    box-shadow: 0 0 10px #6666ff;
}

.mathfunctionbtn:active {
	position:relative;
	top:1px;
}






	
	
	

.mathfunctionbtn2 {
	-moz-box-shadow: 3px 4px 0px 0px #899599;
	-webkit-box-shadow: 3px 4px 0px 0px #899599;
	box-shadow: 3px 4px 0px 0px #899599;
	background-color:transparent;
	-webkit-border-top-left-radius:15px;
	-moz-border-radius-topleft:15px;
	border-top-left-radius:15px;
	-webkit-border-top-right-radius:15px;
	-moz-border-radius-topright:15px;
	border-top-right-radius:15px;
	-webkit-border-bottom-right-radius:15px;
	-moz-border-radius-bottomright:15px;
	border-bottom-right-radius:15px;
	-webkit-border-bottom-left-radius:15px;
	-moz-border-radius-bottomleft:15px;
	border-bottom-left-radius:15px;
text-indent:0;
	border:1px solid #d6bcd6;
	display:inline-block;
	color:#3a8a9e;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
height:50px;
	line-height:50px;
width:140px;
	text-decoration:none;
	text-align:center;
	text-shadow:0px 1px 0px #e1e2ed;
}

.mathfunctionbtn2:active {
	position:relative;
	top:1px;
}

.mathfunctionbtn2:hover{
	cursor:pointer;
	
}


	.detailform {
		position:absolute;		
		display:none; 
		z-index:2000; 
		max-width:800px; 
		max-height:450px;
		min-width:300px;
		min-height:300px;
		width:90%;
		height: 70%;
		margin:auto;
		overflow:hidden;
		line-height: normal;		
		border-radius:10px;
		padding: 5px;
		background-color:#ddd;
		-webkit-box-shadow: -2px 2px 18px -1px rgba(0,0,0,0.75);
		-moz-box-shadow: -2px 2px 18px -1px rgba(0,0,0,0.75);
		box-shadow: -2px 2px 18px -1px rgba(0,0,0,0.75);		
		
	}
	
	.detailform h2{
		font: 36px Arial, Helvetica, sans-serif;
		font-weight: bold;
		color: #aa00aa;
		margin:5px;
		padding:5px;
		
	}
	
	.detailform h3{
		font: 20px Arial, Helvetica, sans-serif;
		font-weight: normal;
		color: #000000;		
		padding-left: 50px;
		padding-right: 20px;
		padding-top:0px;
		padding-bottom: 0px;
		display: inline-block;	
		margin:0px;
				
		
	}
	
	.detailform h4{
		font: 20px Arial, Helvetica, sans-serif;
		font-weight: bold;
		color: #24598f;
		display: inline-block;	
		text-align: center;	
		margin:0px;		
		
	}
	
	.detailform h5{
		font: 20px Arial, Helvetica, sans-serif;
		font-weight: bold;
		color: #000000;		
		padding-left: 30px;
		padding-right: 20px;
		padding-top:0px;
		padding-bottom: 0px;
		display: inline-block;	
		
	}
	
	#dimbkg{
		 width:100%; 
		 height:100%; 
		 top:0px; 
		 left:0px; 
		 position:fixed; 
		 z-index:1000; 
		 display:none;
		 /* background-color: #222222; */
		 opacity:1;
		-webkit-backdrop-filter: blur(8px);
		-o-backdrop-filter: blur(8px);
		-moz-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);	
		
	}
	
	
	.spacer{
		width:100%;
		height:3vh;
		
	}
	
	.tick2{
			position:absolute;			
			border-left: 2px solid white;
            height: 40px;
			width:0px;
			transform: translate(-50%, -30px);			
			margin:0px;
			padding:0px;
			display:inline-block;
			bottom:0px; 
			
			
			
			
			
		}
		
		.tick1{
		
			position:absolute;
			border-left: 2px solid white;			
            height: 50px;
			width:0px;
			transform: translateX(-50%);
			margin:0px;
			padding:0px;
			display:inline-block;
			top:0px;
			vertical-align: top;
			
		}
		
	
		
		#container{
			position:relative;
			width:90%;
			margin:auto;
			height:200px;			
			overflow:hidden;
			margin-top:5px;
			margin-bottom:5px;
			touch-action: auto;
			
			
		}
		
		#container:hover{
			cursor:grabbing;
			
		}
		#imperial{
			position:relative;
			width:100%;
			height:75px;
			top:0px;
			left:0px;
			overflow:hidden;
			pointer-events: none;
			transform:translateY(5px);
			
		}
		
		#implabeldiv, #metlabeldiv{
			position:relative;
			width:100%;
			height:25px;
			left:0px;
			display:inline-block;
			overflow:hidden;
			text-align:left;
			pointer-events: none;
			margin-bottom:4px;
			
			
		}
		
		#metric{
			position:relative;
			width:100%;
			height:90px;
			left:0px;
			transform: translateY(00px);
			display:inline-block;
			pointer-events: none;
		
		}
		
		
		
		.implabel{
			position:absolute;
			transform:translate(-50%, 40px);	
			
			color: white;
			font-size:24px;;
			font-family:arial;
			font-weight:normal;
			width: 80px;						
			display:inline-block;
			text-align:center;
			margin:0px;
			padding:0px;
			pointer-events: none;
			
			
		}
		
		.metlabel{
			position:absolute;
			transform:translate(-50%, 00px);			
			color: white;
			font-size:24px;;
			font-family:arial;
			font-weight:normal;
			width: 80px;						
			display:inline-block;
			text-align:center;
			margin:0px;
			padding:0px;
			pointer-events: none;
			
			
			
		}
		
		#measurementcursor{
			position:absolute;
			border-left: 5px solid #ff0;
			left:50%;
            height: 250px;
			width:0px;
			transform: translateX(-45%);			
			margin:0px;
			padding:0px;
			margin-left:auto;		
			top:0px;			
			vertical-align: top;
			opacity:.5;
			z-index:100;
			
		
		}
		
		.footlabel{
			position:absolute;
			background-color:black;
			border-radius:3px;
            height: 24px;
			width:150px;
			transform: translate(-50%, 0px); 
			padding:0px;
			color:red;
			text-align:center;
			font-family:arial;
			font-weight:bold;
			font-size:22px;
			pointer-events: none;
			border: 1px solid black;
			border-radius: 5px;
			
		}
		
		.meterlabel{
			position:absolute;
			background-color:black;
			border-radius:3px;
            height: 30px;
			width:150px;
			transform: translateX(-50%); 
			transform:translateY(-10px);
			padding:0px;
			color:red;
			text-align:center;
			font-family:arial;
			font-weight:bold;
			font-size:24px;
			pointer-events: none;
			
		}
		
		#overlay{
			
			z-index:200;
			width:100%;
			height:100%;
			position:absolute;
			top:0px;
			left:0px;
			touch-action: pan-x;
			
		}
		
		.titleclass{
			color: #fff;
			font-family:arial;
			font-size: 24px;
			font-weight: normal;
			margin:auto;
			margin-top:5px;
			margin-bottom:5px;
			text-align:center;
			width:100%;
		}
		
		#imperialtitle{
			color:#4ff;			
		}
		
		#metrictitle{
			color:#f4f;
		}
		
		#manfunctions, #manfunctions2{
			max-width:600px;
			min-width:300px;
			margin:auto;
			text-align:center;
			display:grid;
			grid-template-columns:1fr 1fr 1fr;
			justify-content: center;
			align-content: center;
		
		}
		
		#manfunctions2{
			margin-top:30px;
		}
		
		#spacer4{
			height:50px;
		}
		
		@media only screen and (max-width: 670px) {
		  #manfunctions, #manfunctions2 {
			grid-template-columns:1fr 1fr;
		  }
		  #headingid{
			  font-size:22px;
		  }
		  
		  #inputfeet, 
			#inputinches, 
			#inputfractions,
			#impinputfeet,
			#impinputinches,
			#impinputfractions,
			#multdivnumber,
			#inputm, 
			#inputcm, 
			#inputmm,
			#metricinputm,
			#metricinputcm,
			#metricinputm{
			  width:100px;
		  }
		  
		
		}
		
		@media only screen and (max-height: 670px) {
			
			#imperialtitle, #metrictitle, #manfunctions{
				display:none;
			}
			
			#spacer1, #spacer2,#spacer3{
				display:none;
			}
			
			  #mobileMenu{
			  display:none;
		  }
		  #burgermenu{
			  display:inline-block;
		  }
		  
		  #spacer4{
			  height:2px;
		  }
			
			
		}
		
		
		@media only screen and (min-height: 800px) {
			#space1, #spacer2, #spacer3{
				height:30px;
			}
			
		}
		
		
		
		#helpcontent{
			width:90%;
			height:70%;
			background-color:#ddd;
			margin:auto;
			padding:10px;
			margin-bottom:10px;
			overflow-x:hidden;
			overflow-y:auto;
			line-height:1.4;
			
		}
		
	#helpcontent h1{
		font-family:arial;
		font-size: 20px;
		font-weight: bold;
		color:#444;
	}
	
	#helpcontent p, #helpcontent li{
		font-family:arial;
		font-size: 16px;
		font-weight: normal;
		color:#000;
		line-height:1.4;
	}
	
	#helpcontent click{
		font-weight:bold;
		color:#00f;
		background-color:#fff;
		padding-left:2px;
		padding-right:2px;
	}
	
	#helpcontent imperial{
		font-weight:bold;
		color:#0bb;
	}
	
	#helpcontent metric{
		font-weight:bold;
		color:#f0f;
	}
	
	
	#navigation{
		position:fixed;
		margin:auto;
		width:100%;
		height:50px;		
		bottom:1.5%;
		margin-bottom:5px;
		
		/* background-color:grey; */
		
	}
	
	#last,#next, #helpclose{
		position:absolute;
		margin:5px;
		padding:0px;
		display:inline-block;
		width:40px;
		height:40px;
		opacity:.5;
		
	}
	
	#last:hover, #next:hover, #helpclose:hover{
		opacity:1;
		cursor:pointer;
	}
	
	#next{
		
		right:2%;
	}
	
	#last{
		left:2%;
	}
	
	#helphead{
		position:relative;
		margin:auto;
		width:100%;
		height:50px;		
		top:8px;
				
	}
	
	#helpclose{
		right:0%;
		top:0px;
		
	}
	
	#helpinstr{
		display:inline-block;
		margin-top:5px;
		width:50%;
		
	}
	
	#videohelp:hover{
		color:red;
	}
	
	#videohelp{
		text-decoration:none;
	}