/* bentobox */

.bentobox .tilegrid {
	width: 100%;
}

.bentobox .squareblocks-wrap {
	display: flex;
}

.bentobox .tiles-container {
	padding: 40px 0;
}

.bentobox .tiles-container h3 {
}

.bentobox .tiles-container .row {
	display: flex;
	align-items: stretch;
}

.bentobox .tile {
	display: inline-block;
}
.bentobox .tile-piece {
	height: 100%;
}

.bentobox  a.tile {
	padding: 20px;
	position: relative;
	text-decoration: none;
}

.bentobox a.tile .tile-inner {
	box-shadow: 0 0 20px rgba(0,0,0,0.1);
	transition-duration: 2s;
}

.bentobox a.tile:focus .tile-inner,
.bentobox a.tile:hover .tile-inner {
	box-shadow: 0 0 20px rgba(0,0,0,0.3);
	transition-duration: 2s;
}

.bentobox a.tile:focus .image-wrapper,
.bentobox a.tile:hover .image-wrapper {
	transition-duration: 4s;
	filter: contrast(1.1);
	transition-duration: 2s;
}

.bentobox a.tile:active .tile-inner {
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.bentobox .tile-inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	align-content: stretch;
	height: 100%;
	background-color: white;
}

.bentobox .tile-2x1 .tile-inner {
	flex-direction: flex-start;
}

.bentobox .tile .content-wrapper {
	padding: 20px;
}

.bentobox .tile .content-wrapper span {
	font-style: italic;
	color: #ccc;
}

.bentobox .tile-1x1 .image-wrapper {
	display: none;
}

.bentobox .tile-1x2 .tile-piece {
	width: 100%;
	height: auto;
}

.bentobox .tile-2x1 .tile-piece {
	width: 50%;
}

.bentobox .tile-1x2 .tile-inner {
	flex-direction: column;
	justify-content: flex-start;
}

.bentobox .tile-2x2 {
	position: relative;
}

.bentobox .tile-2x2 .tile-piece {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.bentobox .tile-2x2 .tile-inner {
	display: block;
	position: relative;
}

.bentobox .tile-2x2 .content-wrapper {
	height: 100%;
	width: 100%;
	background-color: rgba(0,0,0,0.4);
	color: white;
}

.bentobox .tile-2x2 .image-wrapper {
	overflow: hidden;
}

.bentobox .tile-2x2 .image-wrapper img {
	object-fit: cover;
}

.bentobox .tile-2x2 .content-wrapper h3,
.bentobox .tile-2x2 .content-wrapper p,
.bentobox .tile-2x2 .content-wrapper span { 
	max-width: 50%;	
}

.bentobox .tile-2x1 .image-wrapper img {
	object-fit: cover;	
}

.bentobox .image-wrapper {
	background-size: cover;
	background-position: center center;
}

.bentobox .image-wrapper img {
	width: 100%;
	height: auto;
}

.bentobox .tile .content-wrapper {
	position: relative;
	max-width: 100%;
}

.bentobox .tile-1x2 .image-wrapper img {
	
}
.bentobox .tile-1x2 .image-wrapper {
/*	height: 100%; */
}

.bentobox .tile-1x2 .content-wrapper {
	padding-top: 20px;
	hyphens: auto;
	overflow-x: hidden;
}

.bentobox .tile-2x1 .content-wrapper {
	padding-left: 20px;
}

.bentobox .tile .content-wrapper span.eyebrow {
	display: inline-block;
	border-radius: 2em;
	border:2px solid rgba(0,0,0,0.2);
	border: none;
	padding: 1px 8px;
	margin-bottom: 4px;
	background-color: rgba(0,0,0,0.3);
	color: white;
	font-style:normal;
	text-transform:uppercase;
	font-size: 0.6em;
	margin-bottom: 1em;
}

.bentobox .tile.subscribers-only .tile-inner,
.bentobox .tile.registered-only .tile-inner {
	background-color: #043E63;
	color: white;
}

.bentobox .image-wrapper {
	overflow:hidden;
}

@media (max-width: 846px) {
	.bentobox .squareblocks-wrap,
	.bentobox .tiles-container .row {
		flex-direction: column;
	}
	.bentobox a.tile {
		display: block;
		width: 100%;
		max-width: 100%;
	}
	.bentobox .tile-piece {
		display: inline-block;
		width: 100%;
	}
	.bentobox .tile-1x1 .image-wrapper,
	.betnobox .tile .image-wrapper {
		display: inline-block;
		height: auto;
	}
	.bentobox .image-wrapper img {
		object-fit: cover;
	}
	.bentobox .tile-inner {
		width: 100%;
		display: flex;
		align-items: stretch;
		hyphens: auto;
	}
	.bentobox .tile-1x2 .tile-inner {
		flex-direction: row;
	}
	.bentobox .tile-2x2 .content-wrapper h3, 
	.bentobox .tile-2x2 .content-wrapper p, 
	.bentobox .tile-2x2 .content-wrapper span {
		max-width: 100%;
	}
	.bentobox .tile-2x2 .image-wrapper {
		height: 100%;
	}
	.bentobox1x2 .bentobox.row {
		flex-direction: column !important;
	}
}

@media (max-width: 440px) {
	.bentobox .tile-inner,
	.bentobox a.tile-2x1 .tile-inner,
	.bentobox a.tile-1x2 .tile-inner {
		flex-direction: column; 
	}
	.bentobox .image-wrapper img,
	.bentobox a.tile-2x1 .image-wrapper img,
	.bentobox a.tile-1x2 .image-wrapper img {
		object-fit: cover;
	}
	.bentobox .tile-2x1 .tile-piece {
		width: 100%;
	}
}
