/**
 * Single Product Thumbnails
 */
.woocommerce-product-gallery {
	position: relative;
	
	body.no-sidebar & {
    	@media (min-width: 1024px) {
    		padding-right: 25px;
    	}
	}

	//gallery trigger
	&__trigger {
		display: inline-block;
		height: 50px;
		width:  50px;
		border-radius: 50%;
		border: $wc-single-product-gallery-trigger-b;
		position: absolute;
		top: 20px;
		left: 20px;
		z-index: 1;
		text-align: center;
		font-size: 0;

		&::before {
			content: $wc-single-product-gallery-trigger-icon;
			@extend %icon-font-default;
			font-size: $wc-single-product-gallery-trigger-fz;
			line-height:  50px;
		}

		img {
			display: none !important;
		}
	}

	//gallery
	.woocommerce-product-gallery__image > a {
		display: block;
		font-size: 0;
	}

	//thumbnails
	.flex-control-thumbs {
		list-style: none;
		margin-left: 0;
		display: flex;
		flex-wrap: wrap;
		margin-top: 20px;
		margin-left: -10px;
		margin-right: -10px;
		text-align: center;
		
		li {
			display: inline-block;
			vertical-align: top;
			width: 20%;
			padding-left: 10px;
			padding-right: 10px;
			margin-bottom: 20px;
			margin-left: 0 !important;

			img {
				border: none;
				border-radius: 0;
			}

			&:hover {
				cursor: pointer;
			}
		}

		li + li {
			margin-left: 10px;
		}
	}
	
	.zoomImg{
		background: #ffffff;
	}
}

.woocommerce-product-gallery--columns-6{
	li{
		display: block;
		width: calc( (100%/6) - (50px/6));
	}
}