  :root {
    --zoom-90: 0.9;
    --zoom-80: 0.8;
    --zoom-70: 0.7;
    --color-primary: rgb(221, 225, 225);
    --color-secondary: #252c6a;
    --color-error: #f41818;
    --color-success: green;
    --color-primary-btn: rgb(54, 163, 207);
    --color-primary-btn-hover: limegreen;
    --color-input: whitesmoke;
    --color-input-required: whitesmoke;
    --color-input-focus: white;
    --font-family: 'Lato', sans-serif;
    --border-radius: 6px;
  }
  
  * {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    /* background-color: var(--color-primary); */
  }
  
  div {
    display: inline-block;
    padding: 5px;
  }

  header {
    position: relative;
    height:50px;
    overflow:hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    /* background-color: var(--color-primary); */
  }
  
  header div {
    padding: 15px;
  }

  .main_title {
    position: absolute;
    top: 50px;
    left: 0px;
    right: 0px;
    padding-top: 4px;
    padding-bottom: 4px;
    height: 30px; /*  modify this per page style for each div in title 25px height */
    overflow: hidden;
  }
  
  .main_title div {
    height: 30px;
    padding: 5px;
    text-align: center;
    display: block;
  }

  main {
    position: absolute;
    top: 80px; /* modify this per page style top equals 25 x title div count + header height 50px  */
    /* bottom: 25px; */
    left: 0px;
    right: 0px;
    padding-top: 5px;
    /* background-color: whitesmoke; */
    overflow: auto;
  }

  .disabled_div {
    font-weight: bold;
    width: auto;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    background-color: #f2f0f0;
    color: #C0C0C0;
    padding: 5px;
    font-size: 1em;
    display: inline-block;
    border: none;
    box-shadow: none;
    outline: 0.05px solid black;
    cursor: not-allowed;
  }

  /* main div {
    padding: 3px;
  } */

  span {
    padding: 5px;
    font-size: 0.90em;
    font-style: italic;
    color: red;
    font-weight: bold;
  }

  footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 25px;
    padding-top: 5px;
    text-align: center;
    border-top: 1px solid darkgrey;
    background-color: var(--color-primary);
  }

  .inline { /* must remain in main */
    display: inline-block;
  }

  table {
    width: 98%;
    margin: 0.2em auto;
    border-collapse: collapse;
    /* background: whitesmoke; */
  }

  table td {
    padding: 3px;
  }

  table.small {
    width: 50%;
    margin: 0.5em auto;
    border-collapse: collapse;
  }
  
  table.medium {
    width: 70%;
    margin: 0.5em auto;
    border-collapse: collapse;
  }

  .evenGrey table { /* revise or remove */
    width: 100%;
    margin: 0.2em auto;
    border-collapse: collapse;
    background: whitesmoke;
  }
  
  .evenGrey tr:nth-child(even) { /* revise */
    background-color: #f2f2f2;
  }

  button {
    padding: 7px;
    font-size: 0.90em;
    font-weight: bold;
    width: auto;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    color: white;
    background-color: var(--color-primary-btn);
    border: none;
    border-radius: var(--border-radius);
    display: inline-block;
  }

  button:hover {
    background-color: var(--color-primary-btn-hover);
  }

  button:active {
    /* button  */
    background-color: rgb(8, 167, 48);
    /* box-shadow: 0 2px rgb(193, 191, 191); */
    /* transform: translateY(4px); */
  }

  button:disabled,
  button[disabled]{
      /* background-color: #f2f0f0;
      color: #C0C0C0; */
      color: black;
      opacity: 0.40;
      padding: 5px;
      font-size: 1em;
      display: inline-block;
      border: none;
      box-shadow: none;
      outline: 0.05px solid black;
      cursor: not-allowed;
  }

  .button_dashboard {
    padding: 7px;
    font-size: 0.90em;
    font-weight: bold;
    width: auto;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    color: white;
    background-color: var(--color-primary-btn);
    border: none;
    border-radius: var(--border-radius);
    display: inline-block;
  }
  .button_dashboard_item {
    min-height: 50px;
    font-size: 16px;
    width: 140px;
    border-radius: 8px;
  }

  .button_dashboard_paymentsDue {
    min-height: 50px;
    font-size: 16px;
    width: 140px;
    border-radius: 8px;
    box-shadow: 0 5px #999;
    background-color: orangered;
    color: whitesmoke;
  } 

  .button_sm_nav {
    color: white;
    background-color: rgb(64, 186, 234);
  }

  .button_form {
    color: whitesmoke;
    background-color: green;
  }

  .button_action {
    color: whitesmoke;
    background-color: rgb(73, 145, 216);
  }

  .button_active {
    color: whitesmoke;
    background-color: limegreen;
    /* box-shadow: 0 2px rgb(193, 191, 191); */
    /* transform: translateY(2px); */
  }

  .button_oloa {
    color: whitesmoke;
    background-color: #a928a9;
    /* box-shadow: 0 2px rgb(193, 191, 191); */
    /* transform: translateY(2px); */
  }

  .button_modify {
    color: black;
    background-color: rgb(255, 165, 0);
    outline: 0.05px solid black;
  }

  .button_print {
    color: black;
    background-color: rgb(255, 255, 0);
    outline: 0.05px solid black;
  }

  .button_danger {
    background-color: rgb(237, 71, 11);
    color: white;
  }

  .button_logout {
    background-color: rgb(237, 71, 11);
    color: white;
  }
  
  .button_cancel {
    /* padding: 7px; */
    font-size: 0.75em;
    width: auto;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px rgb(193, 191, 191);
    display: inline-block;
    background-color: black;
    color: white;
  }

  .button_back {
    /* height:25px;
    width:60px;
    padding:5px; */
    background-color: black;
    color: white;
  }

  .editButton {
    background: transparent;
    background-image: url('../img/edit_img.gif');
    background-position: 0px 0px;
    background-repeat: no-repeat;
    padding-top: 10px;
    padding-bottom: 10px;
    /*exactly the width and height of the image*/
    width: 16px;
    height: 16px;
    border: 0px;
    background-color: none;
    cursor: pointer;
    outline: 0;
  }

  .addButton  {
    background: transparent;
    background-image: url('../img/plus-icon-sq16.png');
    background-position: 0px 0px;
    background-repeat: no-repeat;
    /*exactly the width and height of the image*/
    width: 16px;
    height: 16px;
    border: 0px;
    cursor: pointer;
    outline: 0;
  }

  .deleteButton {
    background: transparent;
    background-image: url('../img/deleteRed.png');
    background-position: 0px 0px;
    background-repeat: no-repeat;
    /*exactly the width and height of the image*/
    width: 12px;
    height: 12px;
    border: 0px;
    cursor: pointer;
    outline: 0;
  }

  .linkRedButton {
    background: none;
    border: none;
    color: red;
    padding: 8px 8px;
    text-align: center;
    /* font-weight:bold; */
    display: inline-block;
    font-size: 1em;
  }

  .linkBlueButton {
    background: none;
    border: none;
    color: #0066ff;
    padding: 8px 8px;
    text-align: center;
    /* font-weight:bold; */
    display: inline-block;
    font-size: 1em;
  }

  .linkGreenButton {
    background: none;
    border: none;
    color: green;
    padding: 8px 8px;
    text-align: center;
    /* font-weight:bold; */
    display: inline-block;
    font-size: 1em;
  }

  .btn-group input[type="radio"] {
    display: none; /* Hide original radio button */
  }

  .label_btn {
    padding: 7px;
    font-size: 0.90em;
    font-weight: bold;
    width: auto;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    /* color: white; */
    /* background-color: var(--color-primary-btn); */
    border: none;
    border-radius: var(--border-radius);
    display: inline-block;
  }

  input {
    padding: 3px;
  }

  .input_button {
    min-width: 50px;
    padding: 5px;
    text-align: center;
    outline: 0.01px solid black;
  }

  .redMsg {
    color: var(--color-error);
  }

  .pinkMsg {
    color: pink;
  }

  .greenMsg {
    color: var(--color-success);
  }

  .redBG {
    background-color: var(--color-error);
    color: black;
    font-weight: bold;
  }

  .pinkBG {
    background-color: pink;
  }

  .greenBG {
    background-color: green;
  }

  .limegreenBG {
    background-color: limegreen;
  }

  .yellowBG {
    background-color: yellow;
  }
  
  .lightblueBG {
    background-color: lightblue;
  }
  
  .lightgreyBG {
    background-color: lightgrey;
  }
  
  .whitesmokeBG {
    background-color: whitesmoke;
  }

  .receipt {
    width: 80mm;
    }

@media screen {
  .print-only {
    display: none;
 }
}

@media screen and (max-width: 767px) {
  button {
    zoom: var(--zoom-70);
  }

  .pcOnly {
    /* display none on mobile screen sizes */
    display: none;
  }

  table.medium {
    width: 98%;
    margin: 0.5em auto;
    border-collapse: collapse;
  }

}

@media print {
  .screen-only {
      display: none;
  }

 .example-print {
    display: inline-table;
 }

 .receipt {
  width: 80mm;
  }

  .main_title {
    position: absolute;
    top: 0px;
    overflow: auto;
  }

  main {
    position: absolute;
    top: 0px;
  }
}