#categories
{
  overflow: hidden;
  /* padding: 10px; */
  margin: 0 -5px;
}

#categories .category
{
  float: left;
  padding: 8px;
}

#categories .category_inner
{
  padding: 10px;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
}

#categories .category:hover .category_inner
{
  /* box-shadow: 3px 0px 3px #ccc,-4px 0px 4px #ccc, 0px 4px 4px #ccc,0px -4px 4px #ccc; */
  /* transform: scale(1.06); */
  transition: all .3s ease 0s;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  
  border-radius: 6px;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 6px 0 #bfbfbf;
  -moz-box-shadow: 0 1px 6px 0 #bfbfbf;
  box-shadow: 0 1px 6px 0 #bfbfbf;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#categories .category_image
{
  position: relative;
  padding-top: 90%;
  text-align: center;
}

#categories .category_image a
{
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#categories .category_image a img
{
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  vertical-align: middle;
  width: auto;
  object-fit: cover;
}

#categories .category_image a:before
{
  display: inline-block;
  content: "";
  vertical-align: middle;
  /*height: 100%;*/
}

#categories .category_name
{
   display: table;
   width: 100%;
   height: 57px;
}

#categories .category_name a
{
  display: table-cell;
  height: 67px;
  padding-top: 10px;
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
  line-height: 1.2;
  color: #000;
}

.product_table
{
  width: 100%;
  margin-bottom: 10px;
}

.product_table caption h2
{
  margin: 10px 0;
  font-size: 18px;
}

.product_table caption h2 a
{
  color: black;
  text-decoration: underline;
}

.product_table td,
.product_table th
{
  height: 37px;
  text-align: center;
}

.views-field-field-price-title {
  text-align: left!important;
}

/*.product_table.cols_1 td,
.product_table.cols_2 td,
.product_table.cols_3 td,
.product_table.cols_4 td,
.product_table.cols_5 td
{
  text-align: left;
}*/

.product_table td.order
{
  width: 100px;
  white-space: nowrap;
  text-align: center;
}

.product_table .order input[type=text]
{
  display: none;
  vertical-align: middle;
  width: 80px;
  padding: 6px;
  text-align: center;
}

.path-order .product_table .order input[type=text]
{
  display: inline-block;
}

.product_table .order input[type=button]
{
  -webkit-appearance: none;
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 19px;
  font-size: 0px;
  color: white;
  border: none;
  cursor: pointer;
  background: url('/sites/default/files/custom/pages/cart-plus-solid-red.svg');
  background-size: contain;
}

.product_table a.my_order
{
  display: none;
  padding: 0px 7px 2px;
  border-radius: 10px;
  border: 1px solid #d81e1e;
  color: white;
  background-color: #d81e1e;
  font-size: 16px;
}
.product_table .order:hover b
{
  display: none;
}

.product_table .order:hover a.my_order
{
  display: inline-block;
}

.product_table .remove
{
  margin-left: 8px;
  font-size: 18px;
  font-weight: bold;
  color: red;
  cursor: pointer;
}

.order_button
{
  display: block;
  width: 230px;
  margin: 30px auto;
  padding: 10px;
  background-color: #d8211f;
  border: medium none;
  border-radius: 30px;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff !important;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.order_button:after
{
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: "\f07a";
}

.order_button:hover
{
  opacity: 0.8;
  color: white;
}

.product_table tfoot tr:hover
{
  background: none !important;
}

#my_order
{
  position: fixed;
  right: 0;
  top: 50%;
  padding: 5px 10px;
  border-radius: 10px 0px 0px 10px;
  border: 1px solid #d81e1e;
  color: white;
  background-color: #d81e1e;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px !important;
  text-transform: uppercase;
}

@media (min-width: 1201px)
{
  #categories .category
  {
    width: 25%;
  }

  #categories .category:nth-child(4n+1)
  {
    clear: both;
  }
}

@media (max-width: 1200px) and (min-width: 1001px)
{
  #categories .category
  {
    width: 33.3333%;
  }

  #categories .category:nth-child(3n+1)
  {
    clear: both;
  }

  #categories .category_image
  {
    padding-top: 74%;
  }
}

@media (max-width: 1000px) and (min-width: 768px)
{
  #categories .category
  {
    width: 50%;
  }

  #categories .category:nth-child(2n+1)
  {
    clear: both;
  }

  #categories .category_image
  {
    padding-top: 63%;
  }
}

@media (max-width: 767px) and (min-width: 641px)
{
  #categories .category
  {
    width: 33.3333%;
  }

  #categories .category:nth-child(3n+1)
  {
    clear: both;
  }

  #categories .category_image
  {
    padding-top: 88%;
  }
}

@media (max-width: 640px) and (min-width: 451px)
{
  #categories .category
  {
    width: 50%;
  }

  #categories .category:nth-child(2n+1)
  {
    clear: both;
  }

  #categories .category_image
  {
    padding-top: 68%;
  }
}

@media (max-width: 450px)
{
  #categories .category
  {
    float: none;
    /*max-width: 250px;*/
    margin: 0 auto;
    width: 100%;
  }

  #categories .category_image
  {
    padding-top: 85%;
  }
}
