main#main div.product div.woocommerce-product-gallery div.woocommerce-product-gallery__wrapper div.woocommerce-product-gallery__image{
	height:400px !important; 
}
main#main div.product div.woocommerce-product-gallery div.woocommerce-product-gallery__wrapper div.woocommerce-product-gallery__image a img{
	width:50% !important;
	height:400px !important;
	object-fit:contain !important;
  position: relative; 
  padding: 10px !important; 
  margin-left: 100px !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg {
    background-color: #f3f5f8;
    opacity: 0;
}
.woocommerce div.product div.images .flex-control-thumbs {
  height:300px !important;
  width:100px;
  overflow-y:scroll;	
  direction: rtl;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 20px !important;
  left: -40.5px !important;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  height: 70px !important;
  width: 80px;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
  cursor: pointer;
  opacity: .5;
  height: 50px;
  width: 100%;
  object-fit: contain;
  border: 2px solid #7d7c7c;
  padding: 3px;
}
div.quantity input.input-text{
  height: 35px;
}

.woocommerce ul.products li.product .button {
  display: inline-block;
  margin-top: 1em;
  color: #fff;
  background-color: #2a3c8e;
  font-weight: 500;
  border: 2px solid #2a3c8e;
}
h2.woocommerce-loop-product__title {
    color: #202020!important;
}
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover,
button.single_add_to_cart_button.button.alt:hover {
    background: #fff;
    color: #2a3c8e;
    border: 2px solid #2a3c8e;
}

section.related ul.products li.type-product{

  width: 22%;
  padding: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex; 
  flex-direction: column;
  justify-content: center;  
  align-items: center;
  background-color: white; 
  box-shadow: 0 4px 0px rgba(0, 0, 0, 0.2); 
  border-radius: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
} 
main#main div.type-product section.related ul.products li.product a.woocommerce-LoopProduct-link span.onsale{
	display:none;
}
#scroll-up-div{
  z-index:1 !important;
  width:50px !important;
  text-align: center !important;
  background-color: hsla(0, 0%, 100%, .98) !important;
  cursor: pointer !important;
  border: 1px solid #7d7c7c;
  left: 72px  !important;
  top: 10% !important;
  display: flex !important;
}
#scroll-down-div{
  z-index:1 !important;
  width:50px !important;
  text-align: center !important;
  background-color: hsla(0, 0%, 100%, .98) !important;
  cursor: pointer !important;
  border: 1px solid #7d7c7c;
  position: absolute !important;
  left: 72px !important;
  bottom: 16% !important;
  display: flex !important;
}
div#scroll-down-div img{
  height: 100%;
  width: 100%;
  object-fit: contain;
}
div#scroll-up-div img{
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.type-product::-webkit-scrollbar {
  display: none; 
} 
.woocommerce ul.products li.product a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.woocommerce div.product div.images.woocommerce-product-gallery{
  display: flex !important;
  justify-content: center !important;
} 
.img-zoom-lens {
  position: absolute;
  width: 50px;
  height: 40px;
}  
div#zoom-div img {
  image-rendering: -webkit-optimize-contrast;
  height: 90%;
  width: 100%;
  object-fit: contain;
  z-index: 1;
  box-shadow: 10px 10px 15px rgba(176, 175, 175, 0.3);
}

@media (min-width: 769px) and (max-width: 992px) {

  main#main div.product div.woocommerce-product-gallery div.woocommerce-product-gallery__wrapper div.woocommerce-product-gallery__image{
    height:400px !important; 
  }
  main#main div.product div.woocommerce-product-gallery div.woocommerce-product-gallery__wrapper div.woocommerce-product-gallery__image a img{
    width:100% !important;
    height:400px !important;
    object-fit:contain !important;
    position: relative; 
    padding: 10px !important; 
    margin-left: 0px !important;
  }

  .woocommerce div.product div.images .flex-control-thumbs {
    margin-top: 25px !important;
    height:100px !important;
    width:200px !important;
    scrollbar-width: thin !important;
    scrollbar-color: transparent transparent !important;
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    top:400px !important;
    left: 0px !important;
    margin-bottom: 25px !important;
  }
  .woocommerce div.product div.images .flex-control-thumbs li {
    height: 100% !important;
    padding: 3px !important;
    width:80px;
  }
  .woocommerce div.product .product_title {
    margin-top: 50px;
  }
}
@media only screen and (max-width: 768px) {

  main#main div.product div.woocommerce-product-gallery div.woocommerce-product-gallery__wrapper div.woocommerce-product-gallery__image{
    height:400px !important; 
  }
  main#main div.product div.woocommerce-product-gallery div.woocommerce-product-gallery__wrapper div.woocommerce-product-gallery__image a img{
    width:100% !important;
    height:400px !important;
    object-fit:contain !important;
    position: relative; 
    padding: 10px !important; 
    margin-left: 0px !important;
  }
  .woocommerce div.product div.images .flex-control-thumbs {
    height:100px !important;
    width:200px !important;
    scrollbar-width: thin !important;
    scrollbar-color: transparent transparent !important;
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    top:400px !important;
    left: 0px !important;
  }
  .woocommerce div.product div.images .flex-control-thumbs li {
    height: 100% !important;
    width:80px;
  }
  .woocommerce div.product .product_title {
    margin-top: 50px;
  }
  div#newDiv {
    float: none !important;
    border: 3px solid green;
    width: 100% !important;
  }
}
