body {
  background-color: ivory;
  margin-left: 10px;
  margin-right: 10px;
}

/* Top menu */

.logo {
  font-family: Verdana, sans-serif;
  font-weight: bold;
  font-size: 12px;
}

.logo img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: grey;
  color: white;
  height: 40px;
}

.dropdown {
  position: relative;
  display: inline-block;
  text-decoration: none;
  list-style-type: none;
  color: white;
}

.dropdown a {
  text-decoration: none;
  list-style-type: none;
  color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: beige;
  min-width: 140px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 6px;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 6px 8px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.home,
.aboutus,
.contact,
.cart,
.checkout {
  padding: 10px 0;
  text-decoration: none;
  list-style-type: none;
  color: white;
}

/* Other elements */

@font-face {
  font-family: "Authentic Black Regular";
  src: url(abr.woff);
  font-weight: bold;
}

h1 {
  text-align: center;
  color: gray;
  font-family: "Authentic Black Regular";
  font-size: 175%;
}

h2 {
  text-align: center;
  color: gray;
  font-family: "Authentic Black Regular";
  font-size: 175%;
}

h3 {
  font-weight: bold;
  font-size: 16px;
  text-decoration: underline;
  margin-top: 10px;
  margin-bottom: 6px;
}

.sslogo {
  width: 410px;
  height: 410px;
}

.collection {
  display: inline-flex;
  flex-direction: column;
  margin: 10px 30px 10px 30px;
}

.stars {
  display: inline-flex;
  flex-direction: row;
  border: 1px solid black;
  border-radius: 3px;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 30px;
  gap: 0;
  justify-items: center;
}

.large-star {
  font-size: 300%;
  color: black;
}

.btnStar {
  background-color: white;
  border: none;
  padding: 0 5px 0 5px;
}

hr {
  color: #aaa;
  margin-top: 10px;
  margin-bottom: 10px;
}

button {
  background-color: #E3EECD; /* Sage */
  border: 2px outset #006400;
  border-radius: 4px;
  color: black;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  cursor: pointer;		/* For Safari browser */
}

.ul-no-bullet {
  list-style-type: none;
}

input {
  background-color: #eee;
  border: 2px solid #006400;
  border-radius: 4px;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}

th {
  padding: 5px 5px 5px 5px;
  text-align: center;
  font-weight: bold;
}

td {
  padding: 5px 5px 5px 5px;
}

caption {
  font-weight: bold;
}

.tbl-no-bord {
  border: none;
}

.th-no-bord {
  border: none;
  padding: 5px 5px 5px 5px;
  text-align: center;
  font-weight: bold;
}

.td-no-bord {
  border: none;
  border-bottom: 1px solid black;
  padding: 5px 5px 5px 15px;
}

:required {
  border: 1px solid red;
}

dialog {
  background-color: #ADD8E6;
}

footer {
  position: fixed;
  left: 5px;
  bottom: 2px;
  width: 100%;
  text-align: left;
  color: navy;
  font-family: Helvetica;
  font-size: 10px;
}

dialog::backdrop {
  opacity: 0.75;
}

.centered {
  text-align: center;
  margin: auto;
  margin-bottom: 10px;
}

.centered60 {
  text-align: center;
  width: 60%;
  margin: auto;
  margin-bottom: 10px;
}

.centered20-border {
  width: 20%;
  margin: auto;
  margin-bottom: 10px;
  border: 2px solid navy;
  border-radius: 3px;
}

.status {
  text-align: center;
  margin: auto;
  margin-bottom: 16px;
}

IMG.about {
  float: left;
  width: 171px;
  height: 220px;
  margin-right: 20px;
  margin-bottom: 10px;
}

P.about {
  line-height: 125%;
  margin-right: 100px;
}

.para1 {
  color: #333;
  font-family: "Times New Roman";
  font-size: 12pt;
  padding: 10px;
  width: 75%;
}

P.contact {
  text-align: center;
  color: black;
  width: 60%;
  margin: auto;
  font-family: Helvetica;
  font-size: 14pt;
  border: 2px solid navy;
  border-radius: 3px;
  padding: 10px;
}

.fsadmin {
  background-color: #eee;
  text-align: left;
  border: 2px solid black;
  border-radius: 4px;
}

.divcheckout {
  border: 2px black solid;
  width: 14%;
  margin: auto;
  margin-bottom: 15px;
}

fieldset {
  display: inline-block;
  margin-bottom: 20px;
  background-color: #B0E0E6;	/* Was #ADD8E6 */
}

label {
  margin-bottom: 5px;
}

.icon-container {
  margin-bottom: 10px;
  padding: 7px 0;
  font-size: 24px;
}

input[type=date],
input[type=number],
input[type=month],
input[type=email],
input[type=text] {
  margin-bottom: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.scrdiv {
  text-align: left;
  display: inline-block;
  padding: 20px 14px;
  border: 2px solid navy;
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 20px;
}

.divProdChoice {
  text-align: center;
  width: 60%;
  margin: auto;
  padding: 5px 5px 5px 5px;
  border: 2px solid navy;
  border-radius: 5px;
}

.prodscent {
  width: 25%;
  text-align: center;
  margin-bottom: 8px;
}

.dscent {
  color: navy;
  font-family: Helvetica;
  font-size: 10pt;
}

.price {
  color: black;
}

.divcart {
  text-align: right;
  color: white;
}

.divbuttons {
  clear: both;
  text-align: center;
}

.scentlist {
  text-align: left;
}

.logview {
  font-family: Courier;
  font-size: 10pt;
}

input[type=radio] {
  margin: 5px 0;
  font-family: "Times New Roman";
  font-size: 11pt;
}

/* The following entries are for the shopping cart */

/* Global "table" column settings */

.product-image { float: left; width: 20%; }
.product-scent { float: left; width: 37%; }
.product-price { float: left; width: 12%; }
.product-quantity { float: left; width: 10%; }
.product-removal { float: left; width: 9%; }
.product-line-price { float: left; width: 12%; text-align: right; }

/* Apply dollar signs */

.product .product-price:before, .product .product-line-price:before, .totals-value:before {
  content: '$';
}

.shopping-cart {
  clear: both;
  margin-top: 25px;
  border-top: 2px solid #aaa;
}

.shopping-cart label {
  color: #aaa;
  font-weight: bold;
}

/* Column headers */

.column-labels .product-image, .product-scent, .product-removal {
  text-indent: 0px;
}

.column-labels label {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #aaa;
  font-weight: bold;
}

/* Product entries */

.product {
  clear: both;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-top: none;
}
  
.product-image {
    text-align: center;
}

.product-image img {
  width: 100px;
}
  
.product-quantity input {
  width: 40px;
}
  
.remove-product {
  border: 0;
  padding: 4px 8px;
  background-color: #FFF8DC;
  color: black;
  font-family: "Times New Roman";
  border-radius: 3px;
}
  
.remove-product:hover {
  border: 2px solid red;
}

.product .clearfix::after {
    content: "";
    clear: both;
}

/* Totals section */

.totals .totals-item {
  float: right;
  clear: both;
  width: 100%;
  margin-bottom: 10px;
}

.totals label {
  float: left;
  clear: both;
  width: 85%;
  text-align: right;
  font-weight: bold;
}
    
.totals .totals-value {
  float: right;
  width: 15%;
  text-align: right;
}
  
.totals .totals-item-total {
  font-family: Helvetica;
  font-weight: bold;
}

.divOrdStat {
  text-align: center;
  width: 30%;
  margin: auto;
  padding: 5px 5px 5px 5px;
  border: 1px solid black;
  border-radius: 3px;
}

.divNote {
  width: 60%;
  margin: auto;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  line-height: 30px;
  border: 1px solid black;
  margin-bottom: 20px;
}

.ing_box {
  position: fixed;
  bottom: 2px;
  right: 2px;
  width: 20%;
  border: 1px solid black;
  border-radius: 3px;
  font-family: Helvetica;
  font-size: 12px;
  padding: 0 5px 2px 5px;
}

.center-bold {
  text-align: center;
  font-weight: bold;
}

.whippedtallowimg {
  width: 120px;
  height: 205px;
}

.deodorantimg {
  width: 115px;
  height: 205px;
}

.shampooimg {
  width: 155px;
  height: 205px;
}

.toothpasteimg {
  width: 246px;
  height: 205px;
}

.lotionimg {
  width: 115px;
  height: 205px;
}

.comment-font {
  font-size: 20px;
}

.comment-text {
  font-size: 14px;
}

.divFiles {
  width: 50%;
  margin: 10px auto;
  padding: 10px 10px 10px 10px;
}

.fsType {
  width: 10%;
  padding: 10px 10px 10px 10px;
  margin: 10px auto;
}

.backtotop {
  text-align: right;
  font-size: 14px;
}

.info-grid {
  border: 1px solid black;
  border-radius: 4px;
  margin: 0 0 30px 0;
  padding: 5px 20px 5px 20px;
  max-width: 80%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px 5px;
}

.capitalize {
  text-transform: capitalize;
}

/* Make adjustments for tablet */

@media screen and (max-width: 650px) {

  body {
    background-color: #f3fff3;
    margin-left: 5px;
    margin-right: 5px;
  }
  
  .sslogo {
    width: 300px;
    height: 300px;
  }
  
  .collection {
    display: inline-flex;
    flex-direction: column;
    margin: 7px 20px 7px 20px;
  }
  
  P.contact {
    text-align: center;
    color: black;
    width: 80%;
    margin: auto;
    font-family: Helvetica;
    font-size: 14pt;
    border: 2px solid navy;
    border-radius: 3px;
    padding: 8px;
  }
  
  .shopping-cart {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #aaa;
  }
  
  .column-labels {
    display: none;
  }
  
  .product-image {
    float: right;
    width: auto;
  }
  
  .product-image img {
    margin: 0 0 10px 10px;
  }
  
  .product-details {
    float: none;
    margin-bottom: 10px;
    width: auto;
  }
  
  .product-price {
    clear: both;
    width: 70px;
  }
  
  .product-quantity {
    width: 100px;
  }
  
  .product-quantity input {
    margin-left: 20px;
  }
  
  .product-quantity:before {
    content: 'x';
  }
  
  .product-removal {
    width: auto;
  }
  
  .product-line-price {
    float: right;
    width: 70px;
  }
  
  .divProdChoice {
    text-align: center;
    width: 80%;
    margin: auto;
    padding: 3px 3px 3px 3px;
    border: 2px solid navy;
    border-radius: 4px;
  }
  
  IMG.about {
    float: left;
    width: 125px;
    height: 160px;
    margin-right: 10px;
    margin-bottom: 5px;
  }
  
  P.about {
    line-height: 125%;
    margin-right: 50px;
  }
  
  .tallowbalmimg {
    width: 85px;
    height: 165px;
  }
}

/* Make adjustments for phone */

@media screen and (max-width: 450px) {

  body {
    background-color: lavender;
    margin-left: 0;
    margin-right: 0;
  }
  
  .sslogo {
    width: 200px;
    height: 200px;
  }
  
  .collection {
    display: inline-flex;
    flex-direction: column;
    margin: 5px 15px 5px 15px;
  }
  
  .para1 {
    color: #333;
    font-family: "Times New Roman";
    font-size: 12pt;
    padding: 5px;
    width: 95%;
  }
  
  .logo {
    display: none;
  }
  
  .logo img {
    width: 28px;
    height: 28px;
  }
  
  .nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: grey;
    font-size: 10px;
    color: white;
    height: 30px;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: beige;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 4px 6px;
    text-decoration: none;
    display: block;
  }
  
  .home,
  .aboutus,
  .contact,
  .cart,
  .checkout {
    padding: 7px 0;
    text-decoration: none;
    list-style-type: none;
    color: white;
  }
  
  .divNote {
    width: 95%;
    margin: auto;
    height: 30px;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    border: 1px solid black;
    margin-bottom: 10px;
  }
  
  P.contact {
    text-align: center;
    color: black;
    width: 100%;
    margin: auto;
    font-family: Helvetica;
    font-size: 12pt;
    border: 2px solid navy;
    border-radius: 3px;
    padding: 4px;
  }
  
  .divProdChoice {
    text-align: center;
    width: 90%;
    margin: auto;
    padding: 2px 2px 2px 2px;
    border: 1px solid navy;
  }
  
  IMG.about {
    float: left;
    width: 85px;
    height: 110px;
    margin-right: 5px;
    margin-bottom: 5px;
  }
  
  P.about {
    line-height: 125%;
    margin-right: 10px;
  }

  .product-removal {
    float: right;
  }
  
  .product-line-price {
    float: right;
    clear: left;
    width: auto;
    margin-top: 10px;
  }
  
  .product .product-line-price:before {
    content: 'Item Total: $';
  }
  
  .totals {
    margin-bottom: 5px;
  }
  
  .totals label {
    width: 60%;
  }
  
  .totals .totals-value {
    width: 40%;
  }
  
  .comment-font {
    font-size: 14px;
  }
  
  .ing_box {
    position: static;
    text-align: center;
    margin: 5px auto 5px auto;
    width: 50%;
    border: 1px solid black;
    border-radius: 3px;
    font-family: Helvetica;
    font-size: 12px;
    padding: 0 5px 2px 5px;
  }
  
  .tallowbalmimg {
    width: 60px;
    height: 105px;
  }
  
  .info-grid {
    border: 1px solid black;
    border-radius: 3px;
    margin: 0 0 10px 0;
    padding: 4px 10px 4px 10px;
    font-size: 12px;
    max-width: 95%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px 4px;
  }

}