*
{
	box-sizing: border-box;
}

:root
{
	--dark-color: #3A1D49;
	--light-grey: white;
	--light-color: #8C8194;
	--green: #3e8e41;
	--orange: #ec7513;
}

:fullscreen
{
	font-size: 1em;
}

@font-face
{
	font-family: RedHatDisplay;
	src: url("../fonts/redhatdisplay-variable.ttf");
}

@font-face
{
	font-family: faSolid;
	src: url("../fonts/fa-solid.ttf");
}

html, body
{
	margin: 0;
	height: 100%;
	overflow: hidden;
}

body 
{
	font-family: RedHatDisplay, sans-serif;
    font-size: 1em;
	margin: 0;
	padding: 0;
    touch-action: manipulation;
	background-color: darkgrey;
	overflow: scroll;
	background-image: url("../images/se-bg-02.jpg");
	background-position: center;
	background-repeat: no-repeat;
}

main
{
	display: grid;
	grid-template-rows: min-content auto min-content;
	margin: auto;
	height: 100%;
	max-width: 1000px;
	box-shadow: 0 0 30px rgba(0, 0, 0, .8);
	box-sizing: border-box;
	opacity: .9;
}

header
{
	background-color: var(--dark-color);
	color: var(--light-grey);
	padding: 5px 8px;
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
}

#user-icon::after
{
	font-family: faSolid;
	font-size: 1.5em;
	color: white;
	content: "\f2bd";
	box-sizing: border-box;
}


#header-block
{
	float: left;
	display: flex;
	align-items: center;
	flex-grow: 2;
}

section
{
	background-color: var(--light-grey);
	box-shadow: 0 6px 5px -5px rgba(0, 0, 0, .75) inset, 0 -6px 5px -5px rgba(0, 0, 0, .75) inset;
	text-align: center;
	overflow: scroll;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */	
}

/* Hide scroll bars - BEGIN */

section::-webkit-scrollbar {
  display: none;
}

/* Hide scroll bars - END */

footer
{	
	background-color: var(--dark-color);
	padding: 5px 8px;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}

#navPanel
{
	width: 100%;
}

#vantecLogo
{
	height: 2em;
}

#rr-logo
{
	width: 1.5em;
	margin: 0 0 0 10px;
	
}

/* Table styles - BEGIN */
#mainPanel
{
	width: 100%;	 
}

#dataTable
{
	margin: auto;
	width: 95%;
}

tr
{
	width: 100%;
	border-bottom: 1px solid var(--dark-color);
	box-sizing: border-box;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-around;
}

tr:first-child
{
	border: none;
}

td {
    color: black;
	border: none;
	font-weight: 600;
	background-color: transparent;
	font-size: .8em;
	padding: 4px 0;
}

td:hover
{
	background-color:(--light-color);
	cursor: pointer;
}

th 
{
	background-color: transparent;
	color: black;
	text-align: left;
}

#entries tr.clicked { background: transparent; }
#entries tr.highlight { background: transparent; }

.th1
{
	background-color: transparent;
	color: black;
}

.th2
{
	background-color: transparent;
	color: black;
}

.th3
{
	background-color: transparent;
	color: black;
}

.td1
{
	color: black;
	width: 100%;
	font-weight: 400;
	text-align: center;
	padding: 0;
	font-size: calc(1em + .4vw);
	flex-basis: 35%;
}

.td1::after
{
	font-family: faSolid;
	content: "\f054";
	color: var(--dark-color);
	float: right;
	margin-right: 1.5em;
	font-size: .9em;
	margin-top: .1em;
}

.td2
{
	color: black;
	text-align: center;
    font-size: calc(1em + .4vw);
	flex-basis: 65%;
}

.tw1 
{
	color: black;
	border: none;
	width: 55%;
}

.tw1:hover
{
    background-color: transparent;
    cursor:pointer;
}

/* Table styles - END */

.tooltip 
{
  display: none;
  background: #C8C8C8;
  margin-left: 15px;
  padding: 10px;
  position: absolute;
  z-index: 1000;
  width: 200px;
  height: 50px;
}

input
{
	font-family: RedHatDisplay, sans-serif;
	outline: none;
	border: none;
	background-color: transparent;
	width: 100%;
	display: inline-block;
	text-align: left;
	font-weight: 800;
	font-size: calc(1em + .6vw);
	background: transparent;
}


.hidden-col
{
	height : 0px;
	width : 0px;
	min-width : 0px;
	max-width : 0px;
}

.input-box
{	
	display: block;
	color: black;
	width: 100%;
	border: none;
	padding: 5px;
	border-radius: 3px;
    font-size: calc(1em + .4vw);
}

.input-box:focus
{ 
	background-color: rgba(242, 175, 15, .3);
	border-radius: 3px;
	border: none;
	color: black;
}

.input-box:blur
{ 
	background-color: transparent;
	color: black;
}

.read-only-box 
{
	color: black;
	background-color: transparent; 
	width: 100%;
    font-size: calc(1em + .4vw);
    font-weight: 300;
}

.read-only-box:hover
{
    background-color: transparent;
    cursor:pointer;
}

.barcode-box
{
	color: black;
	width: 100%;
	padding: 5px;
}

.barcode-box:focus
{ 
	background-color: rgba(242, 175, 15, .3);
	border-radius: 3px;
	border: none;
	color: black;
}

.confirm-panel
{
	font-family: RedHatDisplay, sans-serif;
	font-size: 1em;
	text-align: center;
	display: none;
	position: fixed;
    z-index: 1;
    left: 14vw;
    top: 30vh;
	width: 80vw;
	max-width: 800px;
	padding: .5em;
	background: white;
	color: var(--dark-color);
	font-weight: bold;
	border: 1px solid var(--dark-color);
	border-radius: 3px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .7);
	box-sizing: border-box;
}

#yesbtn, #nobtn
{
	display: inline-flex;
	font-family: RedHatDisplay, sans-serif;
	background: var(--dark-color);
	width: 6em;
	cursor: pointer;
	text-decoration: none;
	font-weight: 600;
	border: none;
	border-radius: 3px;
	padding: .5em 1.5em;
	color: var(--light-grey);
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
}

#confirmtext
{
	width:90%;
	text-align:center;
}

#confirminput
{
	position:relative;
	left:15%;
	width:75%;
	text-align:center;
	display:none;
}

.button 
{
  display: inline-flex;
  font-family: RedHatDisplay, sans-serif;
  padding: .5em .5em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  color: var(--dark-color);
  background-color: var(--light-grey);
  border: none;
  border-radius: 3px;
  margin: 3px;
  justify-content: center;
  align-items: center;
  transition-duration: 0.3s;
}

.button:active
{
  background-color: var(--green);

}

.button:hover
{
  background-color: var(--green);
}

.askbutton
{
    border: thin;
	display: none;
    background-color:transparent;
    padding: 0;
	width: 10px;
}

.final
{
   color: black;
   padding-right: 3px; 
}

.interim
{
   color: gray;
}

#start_img
{
	height: 35px;
}

#loadingmsg 
{
      color: black;
      background: #fff; 
      padding: 10px;
      position: fixed;
      top: 10%;
      left: 10%;
      z-index: 100;
      margin-left: 1px;
      margin-top: 1px;
}

.alertoverlay
{
	display: none;
    opacity: 0.4;
    position: absolute;
    top: 0px;
    left: 0px;
	width: 100%;
    height: 100%;
    background: black;
}

.alertbox
{
	left: 10px;
    top: 10px;
	z-index: 100;
	position: absolute;
	display: none;
    background: white;
    border:7px black;
    border-radius: 3px; 
    font-size: 20px;
	opacity: none;
}

.alertboxhead
{
	background:red; 
	padding:10px;
	color:white;
}

.alertboxbody
{ 
	background:white; 
	padding:40px;
	color:black;
}

.alertboxfoot
{ 
	background: red; 
	padding:10px; 
	text-align:right;
}

.rdtmessage
{ 
	background:var(--orange);
	color: white;
	font-size: 1.4em;
	font-weight: 800;
}

#rdtmessage
{
	width:100%;
	text-align:left;	
}

/* Styles from body -- BEGIN */


#txtCompany
{
	display: inline-block;
	font-size: .9em;
	min-width: max-content;
	margin: 0 15px;
	font-weight: 600;
}

#txtSelect
{
	
	font-family: RedHatDisplay;
	width: 250px;
	margin: 10px auto;
	height: 2em;
	font-weight: 700;
	font-size: 1em;
	text-align: center;
	color: var(--dark-color);
	background-color: transparent;
	border: 2px solid var(--dark-color);
	border-radius: 3px;
}

#txtTranType
{
	color: var(--light-grey);
	font-size:.9em;
	text-align: center;
}

#txtSystem
{
	width:10%;
	height:15px;
	font-size:10px;
}

#menuOption
{
	position: absolute;
	width:1px;
	height:75%;
	font-size:1px;
	border:none;
	z-index: -1;
	float: right;
}

#txtUser
{	
	display: inline-block;
	font-size: .9em;
	width: 5em;
	font-weight: 600;
	color: var(--light-grey);
	text-transform: uppercase;
	text-align: right;
	align-self: right;
	margin-right: 5px;
}

#alert
{
	width:75%;
	text-align:left;	
}

/* navPanel styles */
#btnPanel
{
	display:inline-block;
	border:none;
}

#button
{
	float:right;
}

#imagefile
{
	display:none;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
/*  background-color: #fefefe; */
  background-color: gainsboro;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  border-radius: 15px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Styles from body -- END */

@media screen and (max-width: 320px)
{
	body
	{
		background-size: cover;
		font-size: .8em;
	}
	
	main
	{
		max-width: 480px;
	}
	
	tr
	{
		padding: 2px 0;
	}
		
	.td1
	{
		font-size: .85em;
	}

	.td2
	{
		font-size: 1em;
	}
	
	.tw1
	{
		font-size: 1em;
	}
	
	input
	{
		font-size: 1em;
	}
	.input-box 
	{
		font-size: calc(.9em + .3vw);
	}
	.read-only-box 
	{
		font-size: calc(.9em + .3vw);
	}
	
	button
	{
		font-size: .8em;
	}
}

@media screen and (min-width: 321px) and (max-width: 720px)
{
	body
	{
		background-size: cover;
	}
	
		header 
	{
		font-size: .9em;
	}
	
	tr
	{
		padding: 5px 0;
	}
	
	.td1
	{
		font-size: calc(.9em + .3vw);
	}

	input
	{
		font-size: calc(1em + 1vw);
	}
	.input-box 
	{
		font-size: calc(1em + .4vw);
	}
	.read-only-box 
	{
		font-size: calc(1em + .4vw);
	}
	
	button
	{
		font-size: .75em;
	}
}

@media screen and (min-width: 721px)
{
	body
	{
	background-size: cover;
	}
	
	header 
	{
		font-size: 1.1em;
		height: 3em;
	}
	
	tr
	{
		padding: 8px 0;
	}
	.td1
	{
		font-size: calc(1em + .5vh);
	}
	
	input
	{
		font-size: calc(1em + 1vh);
	}
	
	button
	{
		font-size: .9em;
	}
}



