aside#category-nav {
  float: left;
  width: 20%;
  margin-right: 2%;
  padding-top: 10px; }
  @media only screen and (max-width: 1000px) {
    aside#category-nav {
      width: 30%; } }
  @media only screen and (max-width: 640px) {
    aside#category-nav {
      display: none; } }

#content {
  padding-top: 10px; }

nav.categories {
  border-top: 5px solid #333; }
  nav.categories ul {
    list-style: none;
    padding: 0;
    margin: 0; }
  nav.categories li {
    display: block; }
    nav.categories li a {
      display: block;
      color: #333;
      font-size: 18px;
      padding: 8px 10px;
      background: #c4c4c4;
      border-bottom: 1px solid #fff; }
      nav.categories li a:hover, nav.categories li a:focus, nav.categories li a.selected {
        text-decoration: none;
        color: #000;
        background: #fff; }
    nav.categories li ul {
      border-left: 10px solid #7e1001;
      padding: 0; }
      nav.categories li ul a {
        font-size: 16px;
        background: #e4e4e4; }
      nav.categories li ul ul {
        border-left: 10px solid #e4e4e4;
        padding: 0; }
        nav.categories li ul ul a {
          font-size: 16px;
          background: #f4f4f4; }

.catalogue-product-ordering {
  background: none;
  padding: 0px;
  margin-bottom: 20px; }
  .catalogue-product-ordering p {
    float: left;
    margin: 0;
    padding: 5px 0px;
    font-size: 12px; }
  .catalogue-product-ordering ul {
    list-style: none;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
    padding: 0; }
    .catalogue-product-ordering ul li {
      display: inline-block;
      width: 15%;
      margin: 0 1%; }
      @media only screen and (max-width: 700px) {
        .catalogue-product-ordering ul li {
          width: 23%;
          margin: 0 2px; } }
      .catalogue-product-ordering ul li a {
        display: block;
        border: 1px solid #ccc;
        padding: 7px 10px;
        position: relative;
        text-transform: uppercase;
        font-size: 12px;
        color: #333; }
        .catalogue-product-ordering ul li a:hover {
          text-decoration: none;
          background: rgba(0, 0, 0, 0.1); }
        .catalogue-product-ordering ul li a span {
          position: absolute;
          background: rgba(0, 0, 0, 0.3);
          text-align: right;
          padding: 5px 15px;
          box-sizing: border-box;
          width: 100%;
          height: 100%;
          top: 0;
          left: 0; }

/* Breadcrumbs */
/***************/
#breadcrumbs {
  margin-bottom: 15px; }
  #breadcrumbs a {
    display: inline-block;
    padding: 7px 15px 7px 25px;
    margin-right: 15px;
    color: #666;
    position: relative;
    font-size: 15px;
    background: #c4c4c4; }
    #breadcrumbs a:before {
      position: absolute;
      bottom: 0;
      height: 0;
      width: 0;
      left: 0;
      border: 16px solid transparent;
      border-left-color: #fff;
      content: ""; }
    #breadcrumbs a:first-of-type {
      padding-left: 10px; }
      #breadcrumbs a:first-of-type:before {
        border: none; }
    #breadcrumbs a:after {
      position: absolute;
      bottom: 0;
      height: 0;
      width: 0;
      left: 100%;
      border: 16px solid transparent;
      border-left-color: #c4c4c4;
      content: ""; }
    #breadcrumbs a:hover {
      text-decoration: none;
      background: #f4f4f4; }
      #breadcrumbs a:hover:after {
        border-left-color: #f4f4f4; }

/* Pagination */
/**************/
div.pagination {
  text-align: right;
  font-size: 14px;
  border-top: 1px dotted #bbb;
  border-bottom: 1px dotted #bbb;
  padding: 10px 0;
  margin-bottom: 5px;
  min-height: 60px;
  box-sizing: border-box; }
  @media only screen and (max-width: 1000px) {
    div.pagination {
      text-align: center; } }
  div.pagination a {
    font-weight: 400; }
    div.pagination a.next {
      margin-left: 10px; }
    div.pagination a.previous {
      margin-right: 10px; }
    div.pagination a.button {
      background: #666;
      padding: 5px 14px;
      font-size: 14px;
      box-shadow: none; }
    div.pagination a.previousnil {
      margin-right: 10px;
      background: #ccc; }
    div.pagination a.nextnil {
      margin-left: 10px;
      background: #ccc; }
  div.pagination .catalogue-pagination {
    display: inline-block;
    width: 165px;
    text-align: center; }
    @media only screen and (max-width: 700px) {
      div.pagination .catalogue-pagination {
        width: auto; } }
    div.pagination .catalogue-pagination input {
      display: inline-block;
      width: auto;
      max-width: 60px;
      text-align: center;
      padding: 10px 15px;
      box-sizing: border-box;
      margin: 0 10px; }
      @media only screen and (max-width: 700px) {
        div.pagination .catalogue-pagination input {
          max-width: 30px;
          margin: 0 5px;
          padding: 9px 10px; } }

/* New Products on the Homepage */
ul.new-products,
ul.product-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-content: flex-start; }
  ul.new-products li,
  ul.product-list li {
    width: 23%;
    position: relative;
    border-bottom: 4px solid #e4e4e4;
    padding-bottom: 15px;
    margin: 0 13px 16px 0;
    background: #f4f4f4;
    text-align: center; }
    @media only screen and (max-width: 1400px) {
      ul.new-products li,
      ul.product-list li {
        width: 30%;
        padding-bottom: 25px; } }
    @media only screen and (max-width: 1000px) {
      ul.new-products li,
      ul.product-list li {
        width: 45%;
        padding-bottom: 50px; } }
    @media only screen and (max-width: 480px) {
      ul.new-products li,
      ul.product-list li {
        width: 100%;
        height: auto; } }
    ul.new-products li a,
    ul.product-list li a {
      display: block;
      position: relative;
      margin-bottom: 40px; }
      ul.new-products li a .details,
      ul.product-list li a .details {
        opacity: 0;
        position: absolute;
        left: 50%;
        width: 60%;
        margin-left: -30%;
        top: 35%;
        background: #3a4455;
        color: white;
        padding: 10px 20px;
        border-radius: 0;
        box-sizing: border-box;
        text-align: center;
        font-family: 'Lato';
        text-transform: uppercase; }
      ul.new-products li a .product-thumb,
      ul.product-list li a .product-thumb {
        width: 100%;
        border: 1px solid #e4e4e4;
        height: 235px;
        background: white;
        overflow: hidden; }
        ul.new-products li a .product-thumb img,
        ul.product-list li a .product-thumb img {
          display: block;
          width: 100%;
          height: auto; }
      ul.new-products li a h4,
      ul.product-list li a h4 {
        color: #333;
        font-size: 22px;
        margin: 10px 30px 10px 30px; }
      ul.new-products li a p,
      ul.product-list li a p {
        margin: 5px 30px 5px 30px !important;
        color: #333;
        font-family: 'EB Garamond';
        font-size: 20px;
        background: #e4e4e4;
        padding: 7px 20px;
        box-sizing: border-box; }
      ul.new-products li a:hover,
      ul.product-list li a:hover {
        text-decoration: none; }
        ul.new-products li a:hover .details,
        ul.product-list li a:hover .details {
          opacity: 1; }
    ul.new-products li .buy-button,
    ul.product-list li .buy-button {
      position: absolute;
      bottom: 10px;
      left: 20%;
      width: 60%;
      background: green;
      color: white;
      margin: 0 auto;
      padding: 5px 10px;
      border-radius: 5px;
      box-shadow: 0 0 7px rgba(0, 0, 0, 0.4);
      box-sizing: border-box; }
      ul.new-products li .buy-button:hover,
      ul.product-list li .buy-button:hover {
        text-decoration: none;
        box-shadow: none;
        -webkit-transition: -webkit-box-shadow 0.3s ease;
        -moz-transition: -moz-box-shadow 0.3s ease;
        -o-transition: -o-box-shadow 0.3s ease;
        transition: box-shadow 0.3s ease; }
      ul.new-products li .buy-button.grey,
      ul.product-list li .buy-button.grey {
        background: #ccc;
        box-shadow: none; }

/* Sub Navigation */
aside#shop-navigation {
  float: left;
  width: 20%;
  background: #e4e4e4;
  overflow: hidden; }
  aside#shop-navigation h2 {
    margin: 5px 10px;
    font-size: 26px; }
    aside#shop-navigation h2 a, aside#shop-navigation h2 a:hover {
      text-decoration: none; }
  aside#shop-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0; }
    aside#shop-navigation ul li a {
      display: block;
      padding: 8px 10px;
      background: rgba(255, 255, 255, 0.4);
      font-size: 17px; }
      aside#shop-navigation ul li a:hover {
        background: rgba(255, 255, 255, 0.8);
        text-decoration: none; }
      aside#shop-navigation ul li a.selected {
        background: rgba(58, 68, 85, 0.7);
        color: white; }
    aside#shop-navigation ul li ul {
      border-top: 1px solid #ccc; }
      aside#shop-navigation ul li ul li {
        border-bottom: 1px solid #ccc; }
        aside#shop-navigation ul li ul li a {
          border-left: 10px solid #6c737f;
          padding-left: 20px;
          box-sizing: border-box;
          font-size: 15px;
          color: #666; }

#memorycrafts {
  display: block;
  margin: 20px auto;
  border: 1px solid #ccc;
  padding: 10px; }
  #memorycrafts img {
    width: 100%;
    height: auto; }

#cart-form {
  margin: 20px 20px 0 0;
  background: #ccc;
  padding: 15px; }
  #cart-form h3 {
    margin: 0 0 15px 0; }

.catalogue {
  float: left;
  width: 77%;
  margin-left: 0%; }
  @media only screen and (max-width: 1000px) {
    .catalogue {
      width: 68%; } }
  @media only screen and (max-width: 640px) {
    .catalogue {
      width: 100%; } }

ul.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  align-content: flex-start; }
  ul.category-list li {
    width: 23%;
    border-bottom: 5px solid #e4e4e4;
    padding-bottom: 5px;
    margin: 0 13px 16px 0;
    background: #f4f4f4;
    text-align: center; }
    @media only screen and (max-width: 1000px) {
      ul.category-list li {
        width: 45%; } }
    @media only screen and (max-width: 480px) {
      ul.category-list li {
        width: 100%;
        height: auto; } }
    ul.category-list li a {
      display: block;
      position: relative;
      margin-bottom: 0px; }
      ul.category-list li a .product-thumb {
        width: 100%;
        border: 1px solid #e4e4e4;
        height: 235px;
        background: white;
        overflow: hidden; }
        @media only screen and (max-width: 1400px) {
          ul.category-list li a .product-thumb {
            height: auto; } }
        ul.category-list li a .product-thumb img {
          display: block;
          width: 100%;
          height: auto; }
      ul.category-list li a h3 {
        color: #333;
        margin: 10px 30px; }
      ul.category-list li a:hover {
        text-decoration: none; }

.category-banner {
  width: 100%;
  height: auto;
  margin-bottom: 15px; }
  @media only screen and (max-width: 700px) {
    .category-banner {
      display: none; } }

.product-detail {
  position: relative; }
  .product-detail .stock {
    display: block;
    position: absolute;
    z-index: 1000;
    top: 15px;
    margin-left: 15px; }

/* Toggle items that are in stock */
/**********************************/
.toggle-holder {
  float: left;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600; }
  @media only screen and (max-width: 1000px) {
    .toggle-holder {
      display: block;
      text-align: center;
      width: 100%;
      border-bottom: 1px dotted #ccc;
      padding-bottom: 20px;
      margin-bottom: 10px; } }
  .toggle-holder a.toggle {
    display: inline-block;
    background: #fff;
    border-radius: 25px;
    padding: 2px 0px 0px 0px;
    border: 8px solid #ccc;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
    margin: 0 10px -10px 10px;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -o-transition: background 0.3s ease;
    transition: background 0.3s ease;
    width: 50px;
    text-align: center;
    vertical-align: bottom; }
    .toggle-holder a.toggle span {
      float: right;
      border-radius: 100%;
      background: #333;
      display: inline-block;
      width: 27px;
      height: 27px;
      vertical-align: bottom;
      margin-top: -2px; }
      .toggle-holder a.toggle span.right {
        float: left; }
    .toggle-holder a.toggle:hover {
      text-decoration: none;
      background: #f4f4f4; }
  .toggle-holder span.count {
    font-weight: 400;
    margin-left: 30px;
    font-size: 12px; }
    @media only screen and (max-width: 700px) {
      .toggle-holder span.count {
        display: block;
        margin: 20px auto 0 auto; } }
  @media only screen and (max-width: 700px) {
    .toggle-holder {
      float: none;
      margin: 15px auto 15px auto;
      padding: 15px 0 10px 0;
      border-top: 1px solid #ccc; } }

/* Column styles for the detail view of a product */
div.onecol-item-detail {
  width: 47%;
  margin-right: 3%;
  float: left; }

div.twocol-item-detail {
  float: left;
  width: 50%;
  margin-right: 0%; }

/* Detail Styles */
div.onecol-item-detail img {
  margin-top: 15px; }

div.twocol-item-detail h2 {
  margin-bottom: 0; }

div.twocol-item-detail h3 {
  margin-top: 5px; }

input.product-quantity {
  width: 50px;
  text-align: center; }

p.product-total {
  display: inline-block; }

/* checkout table */
table.cart-summary {
  width: 100%;
  text-align: left; }

table.cart-summary tr {
  padding: 10px 0;
  height: 50px; }

table.cart-summary tr:nth-of-type(2n+2) {
  background: #EEE; }

table.cart-summary tr td a {
  color: #651313;
  border-bottom: 1px dotted #651313; }

table.cart-summary tr td.item {
  padding-left: 10px; }

table.cart-summary tr td.price {
  padding-right: 10px; }

table.cart-summary tr td a:hover,
table.cart-summary tr td a:focus {
  text-decoration: none;
  border-bottom: none; }

table.cart-summary tr td.quantity input {
  width: 25px;
  text-align: center; }
