.glyphicon {
  margin-right: 5px;
}

.thumbnail {
  margin-bottom: 20px;
  padding: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}
.list-group-item-heading {
  font: bold 10px/58px;
  padding: 0 12px;
}

.item .list-group-item-price {
  font-weight: bold;
}

.item .list-group-item-text a {
  color: #5e5e5e;
  -o-transition: color 0.1s linear;
  -moz-transition: color 0.1s linear;
  -khtml-transition: color 0.1s linear;
  -webkit-transition: color 0.1s linear;
  -ms-transition: color 0.1s linear;
  transition: color 0.1s linear;
  font-weight: bold;
}

.item .list-group-item-text a:hover {
  color: #ff0000;
}

.item .list-group-item-text a:focus {
  color: #ff0000;
}

.item.list-group-item {
  background-color: #fff;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  -webkit-box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.33);
-moz-box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.33);
box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.33);
}
.item.list-group-item:nth-of-type(odd):hover,
.item.list-group-item:hover {
  /*background: #428bca;*/
}

.item.grid-group-item .list-group-image {
  width: auto;
  cursor: pointer;
}

.item.grid-group-item .input-group {
  border: 0px solid green;
}


.item.list-group-item .list-group-image {
  width: 100%;
  object-fit: contain;
  margin-left:5px; 
  margin-right:5px;
  display: inline-block;
}

.item.grid-group-item .list-group-image {
  width: 185px;
  height: 185px;
  border: 1px solid #d0cecb;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin-top: 5px;
}

.item.list-group-item .thumbnail {
  margin-bottom: 0px;
  border: 0px solid #ddd;
}

.item.list-group-item .inline {
  display: inline-block;
}


.item.list-group-item .caption {
  padding: 9px 9px 0px 9px;
  float: left;
  display: inline-block;
}
.list-group-item .prod-thumbnail{
  min-width: 90px;
  margin: 0px auto;
}

.list-group-item .prod .prod-title {
  text-align:left;
  padding-right: 5px;
}

.list-group-item .prod .prod-image {
  border: none;
  text-align:center;
}

.list-group-item .prod .prod-price {
  border: none;
  text-align:center;
}

.list-group-item .prod .prod-buttons {
  text-align:center;
}

i.active {
  color: red;
}

.item.list-group-item .input-group {
  border: 0px solid red;
}

/* .item.list-group-item:nth-of-type(odd) {
  background: #eeeeee;
} */

.item.list-group-item:before,
.item.list-group-item:after {
  display: table;
  content: " ";
}

.item.list-group-item:after {
  clear: both;
}
.list-group-item-text {
  margin: 0 0 11px;
}

.item.list-group-item .caption .row .col-xs-12 {
  padding-left: 0px;
}

.salediscounts {
  border: 1px solid #ff0000;
  margin: 0px;
  padding: 0px;
  margin-bottom: 8px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.salediscounts:hover {
  border: 1px solid #ff0000;
  box-shadow: 1px 1px 2px #ff0000;
}

h4.salediscountstitle {
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  padding: 2px;
  padding-bottom: 7px;
  background: #ff0000;
  margin-top: 0px;
  margin-bottom: 4px;
}

div.category-descr {
  border: 0px solid red;
  overflow-y: hidden;
  overflow-x: hidden;
  height: 110px;
}

div.short-descr {
  border: 0px solid red;
  overflow-y: hidden;
  overflow-x: hidden;
  height: 180px;
}

div.short-descr p {
  text-align: justify;
  padding-left: 11px;
  padding-right: 11px;
  line-height: 1.2;
  color: black;
}

div.category-descr p {
  text-align: justify;
  padding-left: 11px;
  padding-right: 11px;
  line-height: 1.2;
  color: black;
}

input.itemqty {
  max-width: 50px;
}

.info-list {
  color: #585858;
  margin: 0;
  padding: 0;
  font-size: 11px;
}

.actionprice {
  color: #000000;
}

.oldprice {
  display: inline-block;
  color: #7d7b7c;
  font-size: 11px;
  margin-left: 10px;
}

.noprices {
  display: none;
}

/*Loading*/
#loading {
  display: block;
  z-index: 999;
}
#loading img {
  display: block;
  margin-top: 150px;
  margin-left: auto;
  margin-right: auto;
}

.paginationLine {
  text-align: center;
  padding-right: 10px;
  margin-top: 10px;
}

.pagination {
  clear: both;
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 25px;
  margin-top: 0;
  padding-left: 15px;
}

.pagination li:first-child a,
.pagination li:first-child span {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  margin-left: 0;
}

.pagination li:last-child a,
.pagination li:last-child span {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.pagination .active a,
.pagination .active span,
.pagination .active a:hover,
.pagination .active span:hover,
.pagination .active a:focus,
.pagination .active span:focus {
  background-color: #ff0000;
  border-color: #ddd;
  color: #ffffff;
  cursor: default;
  z-index: 2;
}

.pagination li a,
.pagination li span {
  background-color: #d0cecb;
  border: 1px solid #ddd;
  color: #000000;
  float: left;
  line-height: 1.42857;
  margin-left: -1px;
  padding: 6px 12px;
  position: relative;
  text-decoration: none;
  margin-right: 5px;
  margin-bottom: 5px;
}

.pagination li a:hover {
  background: #ff0000;
  color: #fff;
}

.cart_update input[type="number"] {
  cursor: pointer;
}

.input-group-btn a {
  color: #ffffff;
  transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
}

.prod-cart {
  position: relative;
  right: -100%; /* Initially hide it offscreen */
  opacity: 0;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  align-content: center;
}

.prod-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.prod-container:hover .prod-cart {
  right: 0;
  opacity: 1;
}

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}


.prod-name a{
  color: rgba(24, 24, 24, 0.8);
  text-decoration: underline;
  font-size: 20px;
}

.prod-price {
  margin-top: auto;
}

@media (max-width: 1500px) {
  .prod-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.cart-button a{
  background-color: rgba(255, 130, 8, 1);
  padding: 4px 20px;
  color: white;
}


@media (max-width: 1000px) {
  .prod-grid {
    grid-template-columns: 1fr;
  }
}