.wheretobuy_block {
	margin: 0 0 50px 0;
	width: 100%;
	box-sizing: border-box;
}
.wheretobuy_grid {
	text-align: center;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px;
}
.wtbItem {
	display: inline-block;
	text-align: center;
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: calc(25% - 10px);
	padding: 5px;
	margin: 0 5px 10px 5px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
	background: #fff;
	text-align: center;
	transition: box-shadow 0.3s ease;
	box-sizing: border-box;
}
.wtbItem:hover {
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
	transition: box-shadow 0.3s ease;
}
.wtbItem_link {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	font-size: 0;
	line-height: 0;
	text-decoration: none;
}
.wtbItem_description {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 100%;
	height: 35px;
	padding: 5px 0 0 0;
	border-top: 1px solid #eee;
	transition: border-color 0.3s ease;
}
.wtbItem_description:hover {
	pointer-events: none;
}
.wtbItem:hover .wtbItem_description {
	border-top: 1px solid #aaa;
	transition: border-color 0.3s ease;
}
.wtbItem_description span {
	display: inline-block;
	margin: 0;
	font-size: 12px;
	line-height: 14px;
	text-transform: uppercase;
}
.wtbItem_description span:hover {
	pointer-events: none;
}
.wtbItem_logo {
	display: block;
	text-align: center;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 200px;
	height: 70px;
	min-height: 50px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.wtbItem_logo:hover {
	pointer-events: none;
}
.wtbItem_logo img, .wtbItem_logo source {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.wtbItem_logo img:hover,
.wtbItem_logo source:hover {
	pointer-events: none;
}
@media (min-width: 1400px) {
	.buypages_wide .wtbItem {
		width: calc(20% - 10px);
	}
}
@media (max-width: 1024px) {
	.wtbItem {
		width: calc(33.3333% - 10px);
	}
}
@media (max-width: 768px) {
	.wtbItem {
		width: calc(50% - 10px);
	}
}
@media (max-width: 280px) {
	.wheretobuy_grid {
		margin: 0;
	}
	.wtbItem {
		width: 100%;
	}
}
