/*
---------------------------
SOCIAL FEEDS
---------------------------
*/

.feedbox {
	position: relative;
	display: block;
	min-height: 280px;
}

.feedbox .feedbox-image {
	position: absolute;
	top: 0px;
	left:0px;
	bottom: 0px;
	right: 0px;
	z-index: 2;
	-webkit-backface-visibility: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.8;
	/*-webkit-transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
	transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);*/
}

.feedbox .feedbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	background: rgba(0, 33, 100, 0.9);
	opacity: 0;

	z-index: 3;

	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
.feedbox:hover .feedbox-overlay {
	opacity: 1 !important;
}
.collapse .feedbox .feedbox-overlay {
	border-radius: 0px !important;
}

/* Shade */
.feedbox .feedbox-shade-top,
.feedbox .feedbox-shade-bottom {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 180px;
	display: block;
	z-index: 2;
	opacity: .8;
	background: -moz-linear-gradient(top, rgba(0,30,92,1) 0%, rgba(0,30,92,0) 100%);
	background: -webkit-linear-gradient(top, rgba(0,30,92,1) 0%,rgba(0,30,92,0) 100%);
	background: linear-gradient(to bottom, rgba(0,30,92,1) 0%,rgba(0,30,92,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001e5c', endColorstr='#00001e5c',GradientType=0 );



	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
.feedbox .feedbox-shade-bottom {
	top: auto;
	bottom:0;
	height: 100px;
	background: -moz-linear-gradient(top, rgba(0,30,92,0) 0%, rgba(0,30,92,1) 100%);
	background: -webkit-linear-gradient(top, rgba(0,30,92,0) 0%,rgba(0,30,92,1) 100%);
	background: linear-gradient(to bottom, rgba(0,30,92,0) 0%,rgba(0,30,92,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00001e5c', endColorstr='#001e5c',GradientType=0 );


}

a.feedbox:hover .feedbox-shade-top,
a.feedbox:hover .feedbox-shade-bottom {
	opacity: 0;
}

.feedbox,
.feedbox.hover-shadow:before,
.feedbox .feedbox-image,
.feedbox .feedbox-overlay,
.feedbox .feedbox-shade-top,
.feedbox .feedbox-shade-bottom {
	border-radius: 2.5px;
}

.feedbox-ratings {
	position: absolute;
	top: 1rem;
	left:0;
	content: '';
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	padding: 0.5rem 2rem 0.5rem 1rem;
	background: #f8bf05;
	-webkit-clip-path: polygon(100% 0%, 85% 50%, 100% 100%, 0 100%, 0% 50%, 0 0);
	clip-path: polygon(100% 0%, 85% 50%, 100% 100%, 0 100%, 0% 50%, 0 0);
		z-index: 8;
}


.feedbox-content {
	position: absolute;
	top:0;
	lefT:0;
	right: 0;
	bottom:0;
	display: flex;
	flex-direction: column;
	align-content: flex-end;
	justify-content: flex-start;
	padding: 2rem 1rem 1.5rem;
	color: #fff;
	align-self: flex-end;
}
.feedbox-content .feedbox-content-title {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
}
.feedbox-content a {
	font-weight: 600;
}
.feedbox-footer {
	position: absolute;
	bottom:0;
	left:0;
	width: 100%;
	padding: 0rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	z-index: 4;
	visibility: hidden;
	opacity: 0;
}
.feedbox:hover .feedbox-footer {
	opacity: 1;
	visibility: visible;	
}

.feedbox-footer a {
	position: relative;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	padding: 1rem 1rem 1rem;
}
.feedbox-footer a span {
	font-size: 12px;
	display: inline-block;
	margin-left: 5px;
}


 a.feedbox-brand-icon {
	 position: absolute;
	 bottom: 0;
	 right:0;
	color: #fff;
	font-size: 22px;
	padding: 1rem 1rem 0.75rem;
	opacity: 0.8;
	z-index: 4;
}

.feedbox-footer a:hover {
	color: #fff;
	opacity: 1;
}

	@media (max-width: 970px) {
		.feedbox {
			position: relative;
			display: block;
			min-height: 200px;
		}
		.feedbox-content .feedbox-content-title {
			font-size: 0.86rem;
		}

	}

