/** Pinable Images **/
.essb-pin {
	position: relative !important;
	display: block !important;
	line-height: 0 !important;
	cursor: pointer;
}

.essb-pin.aligncenter img {
	display: block;
	margin: 0 auto 20px;
}

.essb-pin .essb_links {
	margin: 0 !important;
	display: none;
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 99;
}

.essb-pin:hover .essb_links,
.essb-pin .essb_links.essb_always_visible {
	display: block;
}

.woocommerce-product-gallery__image .essb-pin .essb_links {
	display: block;
}

.essb-pin .essb_links.essb_pos_top-right {
	left: auto;
	right: 20px;
}

.essb-pin .essb_links.essb_pos_top-middle {
	left: 50%;
	margin-left: -40px !important;
}

.essb-pin .essb_links.essb_pos_middle-right {
	left: auto;
	right: 20px;
	top: 50%;
	margin-top: -20px !important;
}

.essb-pin .essb_links.essb_pos_middle-middle {
	left: 50%;
	margin-left: -40px !important;
	top: 50%;
	margin-top: -20px !important;
}

.essb-pin .essb_links.essb_pos_middle-left {
	top: 50%;
	margin-top: -20px !important;
}

.essb-pin .essb_links.essb_pos_bottom-left {
	top: auto;
	bottom: 20px;
}

.essb-pin .essb_links.essb_pos_bottom-right {
	left: auto;
	right: 20px;
	top: auto;
	bottom: 20px;
}

.essb-pin .essb_links.essb_pos_bottom-middle {
	left: 50%;
	margin-left: -40px !important;
	top: auto;
	bottom: 20px;
}

.essb-pin .essb_links .essb-location-customize {
	display: none !important;
}

.envira-lazy .essb-pin.envira-gallery-image img {
	opacity: 1 !important;
}

@media screen and (max-width: 1100px) {

	/* Always show the Pin button on mobile device */
	.essb-pin .essb_links {
		display: block;
	}

	.essb-pin .essb_links.essb_mobilepos_below {
		position: static;
	}

	.essb-pin .essb_links.essb_mobilepos_hidden {
		display: none;
	}
}
