.calculator {
  padding: 10px;
}

.settings {
  clear: both;
  margin: 5px 40px 40px 40px;
  padding-top: 5px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  background: gray;
  display: none;
}

.inputs {
  display: flex;
  align-items: center;
}

.heavy-emphasis {
 font-size: 18pt;
 font-weight: bold;
}

#subtotal {
  width: 8em;
}

#result {
  padding-left: 2px;
  padding-right: 2px;
}

body { 
  background: #85bb65; 
}

div {
  padding-bottom: 10px;
}

.top-padding {
  padding-top: 15px;
}

fieldset { 
  font-size: large;
  margin-bottom: 10px;
}

input { 
  font-family: serif; 
  font-size: large;
}

label { 
  padding-left: 2px;
  padding-right: 2px;
}

.left-input {
  clear: both; 
  float: left;
  padding-right: 10px;
}

.right-input {
  padding-left: 10px;
}

/* https://getcssscan.com/css-buttons-examples
<!-- HTML !-->
<button class="button-3" role="button">Button 3</button>
*/

/* CSS */
.button-3 {
  appearance: none;
  background-color: #2ea44f;
  border: 1px solid rgba(27, 31, 35, .15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 3px 8px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  margin-left: 8px;
}

.button-3:focus:not(:focus-visible):not(.focus-visible) {
  box-shadow: none;
  outline: none;
}

.button-3:hover {
  background-color: #2c974b;
}

.button-3:focus {
  box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
  outline: none;
}

.button-3:disabled {
  background-color: #94d3a2;
  border-color: rgba(27, 31, 35, .1);
  color: rgba(255, 255, 255, .8);
  cursor: default;
}

.button-3:active {
  background-color: #298e46;
  box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

/*
<!-- HTML !-->
<button class="button-48" role="button"><span class="text">Button 48</span></button>
*/

/* CSS */
.button-48 {
  appearance: none;
  background-color: inherit;
  border-width: 0;
  box-sizing: border-box;
  color: #000000;
  cursor: pointer;
  display: inline-block;
  font-family: Clarkson,Helvetica,sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 3px 8px;
  /*font-weight: 500;
  letter-spacing: 0;
  line-height: 1em;*/
  margin: 0;
  opacity: 1;
  outline: 0;
  /*padding: 1.5em 2.2em;*/
  position: relative;
  text-align: center;
  text-decoration: none;
  text-rendering: geometricprecision;
  text-transform: uppercase;
  transition: opacity 300ms cubic-bezier(.694, 0, 0.335, 1),background-color 100ms cubic-bezier(.694, 0, 0.335, 1),color 100ms cubic-bezier(.694, 0, 0.335, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  white-space: nowrap;
}

.button-48:before {
  animation: opacityFallbackOut .5s step-end forwards;
  backface-visibility: hidden;
  background-color: #EBEBEB;
  clip-path: polygon(-1% 0, 0 0, -25% 100%, -1% 100%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateZ(0);
  transition: clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1), -webkit-clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1);
  width: 100%;
}

.button-48:hover:before {
  animation: opacityFallbackIn 0s step-start forwards;
  clip-path: polygon(0 0, 101% 0, 101% 101%, 0 101%);
}

.button-48:after {
  background-color: #FFFFFF;
}

.button-48 span {
  z-index: 1;
  position: relative;
}

/* https://www.w3docs.com/snippets/css/how-to-style-a-select-box-drop-down-with-only-css.html
*/

.box {
  /*width: 120px;*/
  height: 28px;
  border: 1px solid #999;
  font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  font-size: 14px;
  font-weight: 600;
  color: #2ea44f;
  background-color: #eee;
  border-radius: 6px;
  box-shadow: 4px 4px #ccc;
  padding: 3px 8px;
  margin-left: 8px;
}

/* Screen size adjustments
*/

@media screen and (max-width: 500px) {
  .box {
    width: 120px;
  }
  .right-input {
    padding-left: 0px;
  }
}

@media screen and (min-width: 500px) {
  .left-input {
    padding-top: 3px;
  }
}

/* PWA additions
*/

.add-button {
  position: absolute;
  top: 1px;
  left: 1px;
  display: none;
}

#installHelpBtn {
  margin-left: 10px;
  font-size: 18px;
  font-weight: bold;
}
