* {
  box-sizing: border-box;
}

html {
  font-family: "Lucida Sans", sans-serif;
  font-size: 16px;

  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: rgb(255,129,60,1); /* my orange (for now) */
  margin: 0 auto;
  width: 100%;
  /*width: calc(100% + 17px);*/
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */
  box-sizing: content-box; /* So the width will be 100% + 17px */

}

input {
  font-size: 1rem;
  margin: 5px;
  height: 2rem;
}

table {
  font-size: 1rem;
}
th {
  position: sticky;
}

td {
  padding: 5px;
}


a {
  text-decoration: none;
}

a:link {
  color:rgb(100,0,0);
  background-color: transparent;
  text-decoration: none;

}

a:visited {
  color: rgb(100,0,0);
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: red;
  background-color: transparent;
  text-decoration: none;
}

a:active {
  color: rgb(200,150,0);
  background-color: transparent;
  text-decoration: none;
}


  .maintable {
    width: 950;
    table-layout: fixed;
    overflow-wrap: break-word;
    border-collapse:collapse;
  }

  .divbanner {
    width: 100%;
      /*padding: 5px;*/
      /*margin: auto;*/
      /* centers the content vertically and horizontally */
        display: flex;
        justify-content: center;
        align-items: center;

  }

  .imgbanner {
    max-width: 100%;
    max-height: 50;
    text-align: center;
      /*padding: 5px;*/
      margin: auto;

  }

  .thumb {
      padding: 5px;
    max-width: 100;
    max-height: 100;
  }

  .topspacer {
    width: 100%;
    height: 30;

  }

  .bottomspacer {
    width: 100%;
    height: 150;

  }

  .right {
    text-align: right;
  }

  .nowrap {
    white-space: nowrap;
    overflow: hidden;
  } 

  input {
    padding: 0;
    margin: 0;
    border: none;
    color: #000;
    width: 150;
    height: 25;
    border-radius: 12px;
    font-size: 1rem; 
  }

  .stdinput {
    text-align: center;
  }

  button {
    padding: 0;
    margin: 0;
    border: none;
    color: #ffffff;
    width: 80;
    height: 30;
    border-radius: 12px;
    font-size: 1rem; 
    /*transition: all ease-in-out 0.1s;*/
    cursor: pointer;  
  }


  button.selected {
    background-color: gray;
    color: black;
  }

  button:hover {
    filter: brightness(150%);
  }

  button:disabled {
    background-color: #222;
    filter: brightness(50%);
  }

  .home,
  .back, 
  .products,
  .labor, 
  .about, 
  .erp,
  .stdbtn {
    background-color :#4d0000;
  }

  .nav1 {width: 100px;}
  .nav2 {width: 100px;}
  .nav3 {width: 100px;}
  .nav4 {width: 100px;}
  .nav5 {width: 100px;}
  .nav6 {width: 100px;}
  .nav7 {width: 100px;}
  .nav8 {width: 100px;}



  @media only screen and (orientation:portrait){

    html {
    }

    body {
      padding: 0;
    }

  }


  @media only screen and (max-width: 1000px) {

    .maintable {
      width: 95%;
    }
  }




  @media only screen and (max-width: 850px) {
    .nav1 {width: 11.8vw;}
    .nav2 {width: 11.8vw;}
    .nav3 {width: 11.8vw;}
    .nav4 {width: 11.8vw;}
    .nav5 {width: 11.8vw;}
    .nav6 {width: 11.8vw;}
    .nav7 {width: 11.8vw;}
    .nav8 {width: 11.8vw;}

    input {
      border-radius: 1.4vw;
      font-size: 1.9vw; 
      width: 17.6vw;
      height: 2.9vw;
    }

    button {
      border-radius: 1.4vw;
      font-size: 1.9vw; 
      width: 9.3vw;
      height: 3.5vw;
    }

    .maintable {
      width: 95%;
    }

  }


  @media only screen and (max-width: 600px) {


    html {
      font-size: 2.6vw;
    }
    td {
      padding: 0.8vw;
    }


    .topspacer {
      height: 5vw;

    }

    .bottomspacer {
      height: 25vw;

    }

  }