.product-gallery-box {
	display:flex;
	flex-direction:column;
}
.product-gallery-box #selectedItem {
	margin: 0px;
	list-style-type: none;
	padding: 0px;
	position:relative;
	min-height:500px;
}
.product-gallery-box #selectedItem .item {
  display: none;
  position:relative;
  height:100%;
}
.product-gallery-box #selectedItem .item a{
	display: block;
	width: 100%;
	height:100%;
}
.product-gallery-box #selectedItem .item.active {
  display: block;
}
.item > a {
  display: block;
  position:relative;
}
.product-gallery-box .nav {
    position: absolute;
    top: 48%;
    width: 100%;
    left: 0px;
}
.product-gallery-box .nav #prev:before,
.product-gallery-box .nav #next:before {
  font-family: "FontAwesomeSolid";
    color: #000000;
    cursor: pointer;
    position: absolute;
    font-size: 40px;
    font-weight: 600;
}
.product-gallery-box .nav #prev:before {
  content: "\f191";
  left: -1%;
}
.product-gallery-box .nav #next:before {
  content: "\f152";
  right: -1%;
}
.product-gallery-box #selectedItem img {
    width:100%;
	object-fit:contain;
	margin:auto;
	height:100%;
	max-height:500px;
}
.product-gallery-box #items {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 15px;
}
.product-gallery-box #items .item {
  width: 25%;
  padding: 5px 1.3% 0px 0px;
  box-sizing: border-box;
  cursor:pointer;
  height:120px;
}
.product-gallery-box #items .item:nth-child(4n) {
  padding-right: 0px;
}
.product-gallery-box #items .item a {
  display: block;
  /* border: 1px solid #e7e7e7; */
}
.product-gallery-box #items .item img {
  margin: auto;
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.product-gallery-box #items .item img:hover {
  -webkit-box-shadow: 5px 4px 9px -9px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 5px 4px 9px -9px rgba(0, 0, 0, 0.75);
  box-shadow: 5px 4px 9px -9px rgba(0, 0, 0, 0.75);
}
.product-gallery-box .tags-box img{
	max-width:20%;
	min-width:60px;
}

@media screen and (max-width: 1200px) {
	.product-gallery-box #selectedItem{
		height:50vw;
	}
}
@media screen and (max-width: 480px) {
.product-gallery-box #selectedItem{
	height:100vw;
	min-height:unset;
}
  .product-gallery-box {
    min-width: auto;
  }
  .product-gallery-box #items .item,
  .product-gallery-box #items .item:nth-child(2n) {
    width: 50%;
    padding: 5px 1.3% 0px 0px;
  }
}
