*
{
	box-sizing: border-box;
}

:root
{
	--dark-color: #3A1D49;
	--light-grey: white;
	--light-color: #8C8194;
	--green: #3e8e41;
}

: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: var(--dark-color);
	background-image: url("../images/se-bg-08.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: scroll;
}

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;
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
}

/* header::after */
/* { */
	/* font-family: faSolid; */
	/* position: relative; */
	/* left: -30px; */
	/* 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);
	opacity: .95;
	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 10px;
	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 5px 0 10px;
	
}

/* Table styles - BEGIN */
#mainPanel
{
	width: 100%;	 
}

#dataTable
{
	margin: auto;
	width: 90%;
}

tr
{
	width: 100%;
	border-bottom: 1px solid var(--dark-color);
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: center;
}

tr:first-child
{
	border: none;
}

td {
    color: black;
	border: none;
	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%;
	text-align: center;
	padding: 0	10px 0 10px;
	font-size: calc(1em + .4vw);
	grid-column: 1/3;
}

.td1::after
{
	font-family: faSolid;
	content: "\f054";
	color: var(--dark-color);
	float: right;
	margin-right: 30px;
	font-size: .9em;
	margin-top: .1em;
}

.td2
{
	color: black;
	text-align: center;
	width: 100%;
	grid-column: 3/6;
}

.tw1 
{
	color: black;
	border: none;
	grid-column: 3/6;
}

.tw1:hover
{
    background-color: transparent;
    cursor:pointer;
}

/* Table styles - END */

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);
	grid-column: 3/6;
	background-color: rgba(22, 11, 28, .05);
}


.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: 5px;
}

.input-box:focus
{ 
	background-color: rgba(242, 175, 15, .3);
	border-radius: 5px;
	border: none;
	color: black;
}

.input-box:blur
{ 
	background-color: transparent;
	color: black;
}

::placeholder
{
	color: darkred;
}

.read-only-box 
{
	color: black;
	background-color: transparent; 
	width: 100%;
	grid-column: 3/5;
}

.read-only-box:hover
{
    background-color: transparent;
    cursor:pointer;
}

.barcode-box
{
	color: black;
	width: 100%;
}

.barcode-box:focus
{ 
	border: none;
	border: 1px solid var(--light-color);
}

.confirm-panel
{
	display: none;
	position: fixed;
    z-index: 1;
    left: 30;
    top: 20;
	padding: 12px;
	background: white;
	-opacity: 0.5;
	color: black;
	font-weight: bold;
	border: 1px solid silver;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-box-shadow: 0 0 5px red;
	-webkit-box-shadow: 0px 0px 5px red;
	-text-shadow: 1px 1px 1px white;
}

.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: 5px;
  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;
}

#loadingover 
{
	background: black;
	z-index: 99;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	filter: alpha(opacity=0.1);
	-moz-opacity: 0.1;
	-khtml-opacity: 0.1;
	opacity: 0.1;
}

.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: 9999;
	position: absolute;
	display: none;
    background: white;
    border:7px black;
    border-radius:10px; 
    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(--light-color);
	color:white;
}

/* 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: 10em;
	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: 5px;
}

#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: 15px;
}


#rdtmessage
{
	width:95%;
	text-align:left;	
}

#alert
{
	width:75%;
	text-align:left;	
}

#loadingmsg
{
	display: none;	
}

#loadingover
{
	display: none;
}

#confirmpanel
{
	width:200px;
	text-align:center;	
}

#confirmtext
{
	width:90%;
	text-align:center;
}

#confirminput
{
	position:relative;
	left:15%;
	width:75%;
	text-align:center;
	display:none;
}

/* navPanel styles */
#btnPanel
{
	display:inline-block;
	border:none;
}

#button
{
	float:right;
}

#imagefile
{
	display:none;
}

/* Styles from body -- END */

@media screen and (max-width: 480px)
{
	body
	{
		font-size: .8em;
	}
	
	main
	{
		max-width: 480px;
	}
	
	tr
	{
		padding: 2px 0;
	}
	
	
	.td1
	{
		font-size: .9em;
	}
	
	button
	{
		font-size: .9em;
	}
}

@media screen and (min-width: 321px) and (max-width: 720px)
{
	tr
	{
		padding: 5px 0;
	}
	
	.td1
	{
		font-size: calc(1em + .3vw);
	}

	input
	{
		font-size: calc(1em + 1vw);
	}
}

@media screen and (min-width: 721px)
{
	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: 1em;
	}
}



