* {
  box-sizing: border-box;
}

@media print {
  div {
    break-inside: avoid;
  }
  body{
        width: 21cm;
        height: 29.7cm;
        /*margin: 30mm 45mm 30mm 45mm;*/
        /* change the margins as you want them to be. */
   }
}

.rotate {
  transform: rotate(90deg);
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 10px;
  /*height: 300px; /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.navmenu {
  transition-duration: 0.4s;
  background-color: white;
  color: black;
  border-radius: 8px;
  border: 2px solid black; /* Green */
  margin: 5px;
  padding: 5px;
  display: inline-block;
}

.navmenu:hover {
  background-color: #4CAF50; /* Green */
  color: white;
}

.welcome {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.usermenu {
  display:inline-flex;
  margin: 3px;
}

.logintime {
  margin: 3px;
}

h1 {
  margin: 3px;
}

.today {
  margin: 3px;
}

.userhometbl {
  display: flex;
  flex-wrap: wrap;
}

.navmenuframe {
  clear: both;
  /*z-index: 1;*/
}

.mtl {
  color: red;
  background-color: blue;
}

#separator {
  clear: both;
}

.reporttbl {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 3px;
  margin: 3px;
}

table.suppBatchFrm {
  border: none;
  border-collapse: collapse;
  empty-cells: hide;
}
table.suppBatchFrm tr:first-child>td { text-align: left; }
table.suppBatchFrm td { border-left: 1px solid #000;  padding: 3px; margin: 3px; text-align: center; }
table.suppBatchFrm td:first-child { border-left: none; }

table.frmTbl td {
  padding: 5px;
}

table.frmTbl2 {
  padding: 5px;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  border-collapse: collapse;
}

table.frmTbl2 td {
  padding: 5px;
}

table.frmTbl3 {
  padding: 5px;
  /*border-top: 1px solid black;*/
  border-bottom: 2px solid black;
  border-collapse: collapse;
}

table.frmTbl3 td {
  padding: 5px;
}

.jstblpass {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 3px;
  margin: 3px;
}

.jstbltoday {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 3px;
  margin: 3px;
}

.jstbl {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 3px;
  margin: 3px;
}

.tblwithphoto, th.tblwithphoto, td.tblwithphoto, tr.tblwithphoto {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 5px;
  margin: 5px;
}

table.tag_details, td.tag_details, tr.tag_details {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 10px;
}

th.reporttbl {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  top: 0;
  background-color: #4CAF50;
  color: white;
}

table.reporttbl tr:hover {
  background-color: #ffa;
}

th.jstbl {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  top: 0;
  background-color: #4CAF50;
  color: white;
}

th.jstblpass {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  top: 0;
  background-color: yellow;
  color: black;
}

th.jstbltoday {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  top: 0;
  background-color: blue;
  color: white;
}

tr.reporttbl:nth-child(even) {
  background-color: #D3D3D3;
}

.reporttblprint {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 3px;
}

tr.reporttblprint:nth-child(even) {
  background-color: #F3F3F3;
}

.entryformtbl {
  text-align: left;
}

th.entryformtbl {
  font-size: 1.5em;
}

.formtbl th, .formtbl td, .formtbl tr {
  padding: 5px;
  /*border: 3px;*/
}

.userRight {
  border-collapse: collapse;
  border: 1px solid black;
}

.userRight th, .userRight td, .userRight tr {
  padding: 3px;
  border: 1px solid black;
  text-align: center;
}

.sticky-header {  
  position: sticky;
  top: 0;
  background-color: #4CAF50;
  color: white;
}

input[type=submit] {
  margin: 5px;
}

td input[type=submit] {
  align: center;
}

td input[type=checkbox] {
  align: center;
}

input[type=checkbox]:checked {
  width: 20px;
  height: 20px;
}

input[type=radio]:checked {
  width: 20px;
  height: 20px;
}

.menu-btn {
   background-color: #7e32d4;
   color: white;
   padding: 16px;
   font-size: 20px;
   font-weight: bolder;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   border: none;
}
.dropdown-menu {
   position: relative;
   display: inline-block;
}
.menu-content {
   display: none;
   position: absolute;
   background-color: #017575;
   min-width: 160px;
   z-index: 1;
}
.links {
   color: rgb(255, 255, 255);
   padding: 12px 16px;
   text-decoration: none;
   display: block;
   font-size: 18px;
   font-weight: bold;
   border-bottom: 1px solid black;
}
.links:hover {
   background-color: rgb(8, 107, 46);
}
.dropdown-menu:hover .menu-content {
   display: block;
}
.dropdown-menu:hover .menu-btn {
   background-color: #3e8e41;
}

div .datatbl {
  overflow-x: auto;
  overflow-y: auto;
}

.datatbl {
  table-layout: auto;
  width: 100%;
}

.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  margin: 2px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 2px solid blue;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

.qrPageLayout {
  float: left;
  width: 50%;
  padding: 20px;
}
