/*
 * Strategy Shortcode Layout
 */

/* ==========================================================================
   STRATEGY FEED
   ========================================================================== */

.strategy-feed {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 4px;
}

.strategy-feed .strategy {
	display: block;
	width: 100%;
	padding: 4px;
	word-wrap: break-word;
	box-sizing: border-box;
	position: relative;
	z-index: 0;
}

.strategy-feed .strategy > a {
	display: block;
	overflow: hidden;
	position: relative;
}

.strategy-feed .strategy img {
	pointer-events: none;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	position: absolute;
	z-index: -1;
}

.strategy-feed .strategy .entry:hover {
	background-color: rgba(8, 66, 106, 0.80);
}

.strategy-feed .strategy .entry {
	text-align: center;
	background-color: rgba(0, 0, 0, 0.40);
	width: 100%;
	min-height: 350px;
	padding: 4rem;
	display: table;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.strategy-feed .strategy .entry-inner {
	display: table-cell;
	vertical-align: middle;
}

.strategy-feed .strategy h2 {
	background: none;
	color: #fff;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
}

/* Popup */

.strategy-pop {
	opacity: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.strategy-pop .content {
	width: 60%;
	height: 65vh;
	background-color: #fff;
	box-shadow: 0 10px 24px 0 rgba(54, 61, 77, 0.15);
	margin: auto;
	position: relative;
}

.strategy-pop .entry {
	width: 100%;
	height: 100%;
	padding: 2rem;
	overflow-y: scroll;
}

.strategy-pop button,
.strategy-pop input[type='submit'] {
	font-family: inherit;
	font-size: inherit;
	font-weight: bold;
	line-height: 1;
	letter-spacing: normal;
	text-shadow: none;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	float: none;
	outline: initial;
	cursor: pointer;
}

.strategy-pop .pop-close {
	padding: 20px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
}

.strategy-pop .pop-close::before {
	content: '';
	width: 11px;
	height: 11px;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(38,44,49,1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M1.458 1.458l21.084 21.084m0-21.084L1.458 22.542" /></svg>');
	background-position: center;
	background-repeat: no-repeat;
	transform-origin: center center;
	transition: transform 300ms,opacity 200ms;
	display: block;
	opacity: 0.5;
}

.strategy-pop .pop-close:hover::before {
	opacity: 1;
	transform: rotate(90deg);
}

.strategy-pop h3 {
	margin: 0;
}

.popup-details {
	font-size: 16px;
	margin: 0;
}

.strategy-pop hr {
	margin: 15px auto;
}

/* Media Queries */

@media only screen and (min-device-width: 768px) {

	.strategy-feed .strategy {
		width: 33.333%;
	}
}
