/*background: url(/icons/Icon-512.png);*/

body {
	font-family:sans-serif;
	margin: 20px;
	background-color: #f5f5f5;
	user-select:none;
}

.header {
	background-color: #009688;
	margin: -20px;
	margin-bottom: 36px;
	padding: 16px;
	padding-bottom: 17px;
}

.header label {
	color:#FFFFFF;
	font-size: 1.25em;
}

.header div {
    float:right;
}

.header div span {
	color:white;
    border-radius: 50%;
	transition: all 0.1s ease-in-out;
	margin-left:20px;
	font-size:24px;
}

.header div span:hover{
	background-color: #008a7d;
	box-shadow: 0px 0px 0px 15px #008a7d;
	transform: scale(1.05);
}

.main {
	display: flex;
	margin: auto;
	max-width: 775px;
	flex-direction: Column-reverse;
	justify-content: flex-end;
}

.talab {
	/*display: none; */
	position: relative;
	top: 30px;
	left: 15px;
	color: Gray;
	pointer-events:none;
	transition: all 0.3s ease-in-out;
}

.main textarea {
	box-sizing: border-box;
	width: 100%;
	border-radius: 15px;
	margin-bottom: -2px;
	resize: none;
	padding: 15px;
	font-size: 1.25em;
	border-color:#a4a4a4;
}

.order{
	height: calc(8em * 1.25 + 21px);
}

.remarks{
	height: calc(6em * 1.25 + 25px);
}

textarea:focus{
	outline: none !important;
	border:2px solid #009688;
}

textarea:focus + div label, textarea:not(:placeholder-shown) + div label{
	top: 10px;
	left: 15px;
	background: linear-gradient(
    to bottom, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0) 47%, 
    #ffffff 47%, 
    #ffffff 100%
  );
}

textarea:not(:placeholder-shown) + div label{
	color: Black;
}

textarea:focus + div label{
	color: #009688;
}

.submit{
	display:flex;
	align-items:center;
	float:right;
	margin-top:20px;
	font-size: 1.8em;
	border-radius: 24px;
	border: none;
	background-color: #009688;
	color: white;
	padding: 5px 15px 5px 15px;
	transition: all 0.1s ease-in-out;
}

.submit span {
	font-size:1em;
}

.submit:hover {
	background-color: #008a7d;
	transform: scale(1.05);
}

.shadow {
	box-shadow: 0 3px 5px rgb(0 0 0 / 0.25);
}

.snack{
	position: fixed;
	bottom: 20px;
	width: 100%;
	margin-left: -20px;
	text-align: center;
	z-index: 999;
}

.snack label {
	display: none;
	font-size: 1.8em;
	border-radius: 24px;
	background-color: #009688;
	color: white;
	padding: 5px 25px 5px 25px;
}

/*Dialog box*/
#boxBack{
  position: fixed; 
  z-index: 997;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}

#boxWrap {
  position: absolute; 
  z-index: 998;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px 20px 10px 20px;
  background: #fff;
  border-radius: 5px;
  display:flex;
  flex-direction: column;
  display: none;
}

#boxTxt {
	font-size:1.2em;
	pointer-events:none;
}

#pin {
	outline: none;
	border: 0px;
	border-bottom: 2px solid #009688;
	margin: 35px 0px 35px 0px;
	padding: 0px 5px 10px 5px;
	resize: none;
}

#send {
	float:right;
	padding: 5px 10px 5px 10px;
	border: none;
	background: none;
	color:#009688;
	border-radius: 5px;
}
#send:hover {
	background: rgba(0, 150, 136, 0.075);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
/*Dialog Box End*/


/* Fab Button */
.fab {
   width: 55px;
   height: 55px;
   background-color: #009688;
   border-radius: 50%;
   transition: all 0.1s ease-in-out;
   display: none;
   
   color: white;
   justify-content: center;
 
   position: fixed;
   right: 25px;
   bottom: 25px;
}

.fab span {
	color:white;
    margin:auto;
	font-size:24px;
}
 
.fab:hover {
	background-color: #008a7d;
	transform: scale(1.05);
}
/*Fab Button End*/

@media only screen and (max-width: 820px) {
	/* For mobile phones: */
	.header {
		margin-bottom: 10px;
	}
	
	.order{
		height: calc(5em * 1.25 + 21px);
	}
	
	.remarks{
		height: calc(3em * 1.25 + 25px);
	}
	
	.snack label {
		font-size: 1.3em;
		background-color: #009688;
		color: white;
		padding: 3px 10px 3px 10px;
	}
	
	.submit {
		display: none;
	}
	
	.fab {
		display: flex;
	}
	
}