body {
  background-color: #d8d2cb;
  margin: 0;
  font-family: OpenSans, sans-serif;
}

a {
  text-decoration: none;
}
p a {
  color: #9e1f63;
}

.main {
  max-width: 1195px;
  margin: 0 auto;
}

.content {
  background-color: #fff;
  padding: 20px 20px 20px 20px;
}

.mainContentWrapper {
  display: flex;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 6px;
  height: 30px;
  font-size: 0.9rem;
}

.navbar ul {
  display: flex;
  list-style: none;
  padding: 0;
  border: 0;
  margin: 10px 0 0 0;
}

.navbar ul li {
  position: relative;
  display: inline-block;
  border-left: 1px solid #9e1f63;
}

.navbar ul li:last-of-type {
  border-right: 1px solid #9e1f63;
}

.navbar ul li a {
  display: inline-block;
  padding: 0 12px;
  color: #000;
  border: 0;
  background: none;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  height: 24px;
  text-decoration: none;
}

.navbar ul li a:hover {
  color: #9e1f63;
}


header {
  background-color: #fff;
  position: sticky;
  min-height: 64px;
  box-shadow: 0 5px 8px -4px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 5px 0 0 0;
}

header .logo {
  flex: 0 0 auto;
  height: auto;
  margin-top: 0;
  position: relative;
  padding: 0 36px 0 16px;
}

header .logo svg {
  position: relative;
  top: 3px;
}

header .search {
  min-height: 38px;
  width: auto;
  position: static;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}

header .cart {
  min-width: 70px;
  border: none;
  background: none;
  flex: 0 0 auto;
  position: relative;
  display: flex;
  height: 46px;
  padding: 6px;
  text-align: right;
  margin-right: 20px;
  align-items: center;
  justify-content: flex-end;
  font-size: 12px;
  user-select: none;
  cursor: pointer;
  color: #000;
  text-decoration: none;
}

.cart-badge.has-items {
  background-color: #73a434;
  color: #fff;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.search form {
  position: relative;
  flex: 1;
  left: 0;
  min-height: 34px;
}

.searchBoxWrapper {
  position: relative;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  height: 32px;
  max-width: 520px;
  border: 1px solid #73a434;
  border-radius: 0;
}

.search input {
  border: 0;
  width: 100%;
  display: inline-block;
  margin-left: 16px;
}

.search input:focus {
  outline: none;
}

.searchButton {
  display: inline-block;
  width: 120px;
  text-align: center;
  padding: 5px 3px;
  background-color: #73a434;
  font-weight: 700;
  color: #fff;
  user-select: none;
  cursor: pointer;
}
.searchButton:hover {
  background-color: #597d29;
}

h1 {
  font-size: 28px;
  font-weight: 100;
  margin: 20px 0 0 0;
}

.mainContent h1:first-child {
  margin-top: 5px;
}

.productList {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 15px -10px 0 -10px;
}

article {
  width: 25%;
  min-width: 230px;
  padding: 0;
}

.item.card {
  width: calc(100% - 70px);
  border: 1px solid #d8d2cb;
  margin: 10px;
  height: calc(100% - 40px);
  padding: 10px 15px 15px 15px;
}

.category.link {
  margin-bottom: 10px;
}

.category.link a {
  color: #9e1f63;
  font-size: 13px;
}

article .imgWrapper {
  text-align: center;
  margin-bottom: 0px;
  user-select: none;
}

article h3 {
  font-weight: 400;
  margin: 10px 0 10px 0;
  font-size: 1.2em;
  color: #000;
}
article h3 .brand { font-weight: 700; }

article .optionsWrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  line-height: 1.7;
}

article .itemPrice {
  font-weight: 700;
  color: #73a434;
  font-size: 1.2em;
}

article .recommendedConfigPrice {
  font-size: 14px;
  margin-top: 3px;
}

article .cta {
  margin-top: 30px;
  text-align: center;
}

.optionsWrapper {
  color: #000;
  font-size: 14px;
}

.detailBtn {
  width: 140px;
  margin: 0 auto;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  padding: 7px 0 7px 0;
  background-color: #73a434;
  cursor: pointer;
  user-select: none;
}

.detailBtn:hover {
  background-color: #597d29;
}

.configOrderBtn {
  margin: 10px 0;
  font-weight: 700;
  color: #73a434;
  cursor: pointer;
  user-select: none;
}

.configOrderBtn:hover {
  color: #597d29;
}


footer {
  background-color: #968573;
  padding: 40px;
  color: #fff;
  font-size: 13px;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  color: #eee;
}
footer .address { margin-bottom: 10px; }
footer label {
  display: inline-block;
  min-width: 50px;
}

.sideNav {
  width: 190px;
  margin-right: 20px;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  border-right: 1px solid #d8d2cb;
}
.sideNav ul {
  list-style: none;
  padding: 0 20px 0 0;
  margin: 0;
}
.sideNav li {
  border-bottom: 1px solid #d8d2cb;
  padding: 4px 0;
}
.sideNav a {
  color: #9e1f63;
}
.sideNav a:hover {
  color: #000;
}
.sideNav li.subcat {
  font-size: 13px;
  padding-left: 10px;
  font-weight: 400;
}

.mainContent {
  flex-grow: 1;
  flex-shrink: 1;
}

.btn {
  width: 100%;
  border-radius: 0;
  cursor: pointer;
  user-select: none;
  border: 0;
  height: 32px;
  padding: 5px 15px;
  max-width: 250px;
}
.primary.btn {
  font-weight: 700;
  color: #fff;
  background-color: #73a434;
}
.primary.btn:hover {
  background-color: #597d29;
}


.catLink {
  margin: 15px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #d8d2cb;
}

.mainContent .lead {
  text-align: center;
  margin-top: 5px;
}

/* Auth forms */
.auth-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 14px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 8px 12px;
  border: 1px solid #d8d2cb;
  font-family: OpenSans, sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}

.auth-form input:focus {
  outline: none;
  border-color: #73a434;
}

.auth-form small {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 3px;
}

.auth-links {
  font-size: 14px;
  margin-top: 10px;
}

.auth-links a {
  color: #9e1f63;
}

.auth-links a:hover {
  color: #000;
}

.flash-message {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  padding: 10px 15px;
  margin-bottom: 10px;
  font-size: 14px;
}
