html, body {
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

body {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  font-family: Roboto, sans-serif;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

article {
  display: flex;
  flex-basis: 0;
  flex-direction: column;
  flex-grow: 1;
}

article button {
  background: none;
  background-color: #1473e6;
  border: none;
  border-radius: 40px;
  color: #ffffff;
  cursor: pointer;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  margin: 0 16px 16px 16px;
  padding: 0 24px 0 24px;
  text-rendering: optimizeLegibility;  
  transition: background-color 200ms ease-in-out;
  -webkit-font-smoothing: antialiased;    
  -webkit-tap-highlight-color: transparent;  
}

article button[disabled] {
  background-color: #e0e0e0;
  cursor: not-allowed;
}

article h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding: 16px;
  text-rendering: optimizeLegibility;  
  -webkit-font-smoothing: antialiased;    
}

article img {
  width: 100%;
}

article p {
  color: #212121;
  flex-basis: 0;
  flex-grow: 1;
  font-size: 16px;
  line-height: 1.35em;
  margin: 0;
  padding: 0 16px 16px 16px;
  text-rendering: optimizeLegibility;  
  -webkit-font-smoothing: antialiased;    
}

article select {
  margin: 0px 50px 20px 50px;
  height: 40px;
  border: 1px solid #999;
  font-size: 14px;
  background-color: #f1f1f1;
  border-radius: 4px;
}

bbi-scanner {
  flex-basis: 0;
  flex-grow: 1;
  --scanner-progress-color: #1473e6;
  --scanner-progress-height: 10px;  
}

bbi-scanner button {
  background: none;
  background-color: #1473e6;
  background-image: url( check_box_outline.svg ); 
  background-position: 16px center;                               
  background-repeat: no-repeat;
  background-size: 24px;
  border: none;
  border-radius: 40px;
  box-shadow: 
    0px 3px 1px -2px rgb( 0 0 0 / 20% ), 
    0px 2px 2px 0px rgb( 0 0 0 / 14% ), 
    0px 1px 5px 0px rgb( 0 0 0 / 12% );          ;
  color: #ffffff;            
  cursor: pointer;
  display: inline-block;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;  
  padding: 0 24px 0 48px;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

bbi-scanner[mirror] button {
  background-image: url( check_box.svg );
}

header {
  align-items: center;
  background-color: #1976D2;
  display: flex;
  flex-direction: row;
  height: 56px;
}

header button {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Material Icons';
  font-feature-settings: 'liga';                    
  font-size: 24px;
  font-style: normal;          
  font-weight: normal;
  height: 48px;
  margin: 0 4px 0 4px;
  padding: 0;
  text-rendering: optimizeLegibility;          
  width: 48px;
  -webkit-font-smoothing: antialiased;      
  -webkit-tap-highlight-color: transparent;      
}

header h3 {
  color: #ffffff;
  cursor: default;
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  padding: 0 16px 0 16px;
  text-rendering: optimizeLegibility;  
  -webkit-font-smoothing: antialiased;  
}

header button ~ h3 {
  padding: 0 16px 0 0;
}

section {
  background-color: #ffffff;
  display: none;
  flex-direction: column;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: translateX( 100vw );
  width: 100vw;
}

section:nth-of-type( 1 ) {
  display: flex;
  opacity: 1.0;
  transform: translateX( 0 );  
}

section:nth-of-type( 2 ) {
  display: none;
  opacity: 1.0;
  transform: translateX( 0 );
}

span {
  font-weight: 500;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
  font-size: 10px;
  margin: 0 16px 0 16px;
}