/** Widgets: instagram-feed **/

@-webkit-keyframes scaleXYZ {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	
	to {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

@keyframes scaleXYZ {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	
	to {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

.ha-insta-default {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	overflow: hidden;
	-webkit-align-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: normal;
	-ms-flex-pack: normal;
	-webkit-justify-content: normal;
	justify-content: normal;
}

.ha-insta-likes-comments .ha-insta-comments, .ha-insta-likes-comments .ha-insta-likes, .ha-insta-title {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	font-size: 14px;
}

.ha-insta-likes-comments, .ha-insta-title {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.ha-insta-title {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 10;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-align: center;
	padding: 15px;
	border-radius: 3px;
	background: #fff;
	color: #e43838;
	text-transform: uppercase;
	font-weight: 700;
	line-height: 1;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.ha-insta-title i {
	padding-right: 10px;
}

.ha-insta-likes-comments {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.ha-insta-likes-comments label {
	position: relative;
	top: 3px;
}

.ha-insta-likes-comments .ha-insta-comments, .ha-insta-likes-comments .ha-insta-likes {
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.ha-insta-likes-comments .ha-insta-likes {
	margin-right: 25px;
}

.ha-grid-7 .ha-insta-likes-comments .ha-insta-likes, .ha-grid-8 .ha-insta-likes-comments .ha-insta-likes {
	margin-right: 10px;
}

.ha-hover-info .ha-insta-likes-comments svg, .ha-hover-push .ha-insta-likes-comments svg {
	position: relative;
	display: block;
	margin-right: 6px;
	width: 21px;
	height: 21px;
	fill: #fff;
}

.ha-insta-caption {
	display: inline-block;
	overflow: hidden;
	width: 100%;
	text-align: center;
	font-size: 14px;
}

.ha-hover-info .ha-insta-likes-comments+.ha-insta-caption {
	margin-top: 12%;
}

.ha-insta-caption p {
	display: block;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	margin: 0;
	max-height: 84px;
	text-overflow: ellipsis;
	-webkit-line-clamp: 4;
}

.ha-insta-likes-comments .ha-insta-caption p {
	color: #fff;
}

.ha-grid-5 .ha-insta-caption p, .ha-grid-6 .ha-insta-caption p, .ha-grid-7 .ha-insta-caption p, .ha-grid-8 .ha-insta-caption p {
	max-height: 45px;
	-webkit-line-clamp: 2;
}

.ha-insta-item {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	overflow: hidden;
	margin: 5px;
	border-radius: 5px;
}

.ha-insta-item.loaded {
	-webkit-transition: all .3s ease 0s;
	transition: all .3s ease 0s;
	-webkit-animation: scaleXYZ .3s;
	animation: scaleXYZ .3s;
}

.ha-insta-item img {
	width: 100%;
	height: 100%;
	-webkit-transition: -webkit-transform .3s ease, -webkit-filter .3s;
	transition: transform .3s ease, filter .3s;
	transition: transform .3s ease, filter .3s, -webkit-transform .3s ease, -webkit-filter .3s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-o-object-fit: cover;
	object-fit: cover;
}

.ha-insta-default.ha-grid-3 .ha-insta-item {
	-webkit-box-flex: calc(33.33% - 10px);
	-webkit-flex: calc(33.33% - 10px);
	-ms-flex: calc(33.33% - 10px);
	flex: calc(33.33% - 10px);
	max-width: calc(33.33% - 10px);
}

.ha-insta-default.ha-grid-4 .ha-insta-item {
	-webkit-box-flex: calc(25% - 10px);
	-webkit-flex: calc(25% - 10px);
	-ms-flex: calc(25% - 10px);
	flex: calc(25% - 10px);
	max-width: calc(25% - 10px);
}

.ha-insta-default.ha-grid-5 .ha-insta-item {
	-webkit-box-flex: calc(20% - 10px);
	-webkit-flex: calc(20% - 10px);
	-ms-flex: calc(20% - 10px);
	flex: calc(20% - 10px);
	max-width: calc(20% - 10px);
}

.ha-insta-default.ha-grid-6 .ha-insta-item {
	-webkit-box-flex: calc(16.66% - 10px);
	-webkit-flex: calc(16.66% - 10px);
	-ms-flex: calc(16.66% - 10px);
	flex: calc(16.66% - 10px);
	max-width: calc(16.66% - 10px);
}

.ha-insta-default.ha-grid-7 .ha-insta-item {
	-webkit-box-flex: calc(14.2857% - 10px);
	-webkit-flex: calc(14.2857% - 10px);
	-ms-flex: calc(14.2857% - 10px);
	flex: calc(14.2857% - 10px);
	max-width: calc(14.2857% - 10px);
}

.ha-insta-default.ha-grid-8 .ha-insta-item {
	-webkit-box-flex: calc(12.5% - 10px);
	-webkit-flex: calc(12.5% - 10px);
	-ms-flex: calc(12.5% - 10px);
	flex: calc(12.5% - 10px);
	max-width: calc(12.5% - 10px);
}

.ha-hover-info .ha-insta-content {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 1;
	padding: 0 1.5rem;
	width: 100%;
	color: #fff;
	opacity: 0;
	-webkit-transition: .3s all ease;
	transition: .3s all ease;
	-webkit-transform: translateY(-40%);
	-ms-transform: translateY(-40%);
	transform: translateY(-40%);
}

.ha-hover-info .ha-insta-item:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .8);
	content: "";
	opacity: 0;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.ha-hover-info .ha-insta-item:hover .ha-insta-content {
	opacity: 1;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.ha-hover-info .ha-insta-item:hover:before {
	z-index: 1;
	opacity: .8;
}

.ha-hover-info .ha-insta-item:hover img {
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

.ha-hover-push .ha-insta-item {
	position: relative;
	overflow: hidden;
	border-radius: 5px;
}

.ha-hover-push .ha-insta-item img {
	position: relative;
	display: block;
	max-width: 100%;
	-webkit-transition: -webkit-transform .4s;
	transition: transform .4s;
	transition: transform .4s, -webkit-transform .4s;
}

.ha-hover-push .ha-insta-item .ha-insta-likes-comments {
	position: absolute;
	top: auto;
	bottom: 0;
	left: 0;
	padding: 20px 10px;
	width: 100%;
	background: #302a8c;
	opacity: 0;
	-webkit-transition: opacity .1s .3s, -webkit-transform .4s;
	transition: transform .4s, opacity .1s .3s;
	transition: transform .4s, opacity .1s .3s, -webkit-transform .4s;
	-webkit-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.ha-hover-push .ha-insta-comments, .ha-hover-push .ha-insta-likes {
	color: #fff;
}

.ha-hover-push .ha-insta-item:hover .ha-insta-likes-comments {
	opacity: 1;
	-webkit-transition: opacity .1s, -webkit-transform .4s;
	transition: transform .4s, opacity .1s;
	transition: transform .4s, opacity .1s, -webkit-transform .4s;
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.ha-hover-push .ha-insta-item:hover img {
	-webkit-transform: translateY(-40px);
	-ms-transform: translateY(-40px);
	transform: translateY(-40px);
}

.ha-feed-view a {
	outline: 0;
}

.ha-feed-view .ha-insta-item {
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	border: 1px solid #dedede;
	border-radius: 3px;
	background-color: #fff;
}

.ha-feed-view .ha-insta-user, .ha-feed-view .ha-insta-user-info {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-align: center;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.ha-feed-view .ha-insta-user-info {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding: 15px;
}

.ha-feed-view .ha-insta-user {
	margin-right: 10px;
	color: #000;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.ha-feed-view .ha-insta-user:hover span {
	text-decoration: underline;
}

.ha-feed-view .ha-insta-user-profile-picture {
	overflow: hidden;
	margin-right: 10px;
	padding: 2px;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: -webkit-linear-gradient(60deg, #f3823c 15%, #ba1379 50%);
	background: linear-gradient(30deg, #f3823c 15%, #ba1379 50%);
}

.ha-feed-view .ha-insta-user-profile-picture img {
	max-width: 100%;
	height: 100%;
	border: 2px solid #fff;
	border-radius: inherit;
}

.ha-feed-view .ha-insta-user-name {
	display: block;
	font-weight: 500;
	font-size: 14px;
	line-height: 1;
}

.ha-feed-view .ha-insta-postdate {
	display: block;
	color: #818d98;
	font-size: 12px;
	line-height: 1.5;
}

.ha-feed-view .ha-insta-image {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.ha-feed-view .ha-insta-content {
	padding: 15px;
}

.ha-feed-view .ha-insta-likes-comments {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}

.ha-feed-view .ha-insta-likes-comments svg, .ha-feed-view .ha-insta-user-info .ha-insta-feed-icon svg {
	position: relative;
	display: block;
	width: 21px;
	height: 21px;
	-webkit-transition: all .3s;
	transition: all .3s;
	fill: #000;
}

.ha-feed-view .ha-insta-likes-comments svg {
	margin-right: 6px;
}

.ha-feed-view .ha-insta-comments, .ha-feed-view .ha-insta-likes {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	color: #000;
	font-size: 14px;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.ha-feed-view .ha-insta-comments:hover, .ha-feed-view .ha-insta-likes:hover {
	color: #e2498a;
}

.ha-feed-view .ha-insta-comments:hover svg, .ha-feed-view .ha-insta-likes:hover svg, .ha-feed-view .ha-insta-user-info .ha-insta-feed-icon:hover svg {
	fill: #e2498a;
}

.ha-feed-view .ha-insta-caption {
	margin-top: 0;
	text-align: left;
}

.ha-feed-view .ha-insta-likes-comments+.ha-insta-caption {
	margin-top: 15px;
}

.ha-insta-load-more-wrap {
	text-align: center;
}

.ha-insta-load-more, .ha-insta-load-more:focus {
	display: inline-block;
	margin: 15px 0 0;
	padding: 15px 25px;
	outline: 0;
	border: 0;
	border-radius: 50px;
	background-color: #302a8c;
	color: #fff;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	font-weight: 400;
	font-size: 16px;
	line-height: 1;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.ha-insta-load-more:hover {
	outline: 0;
	background-color: #e2498a;
	color: #fff;
}

.ha-insta-load-more.loaded {
	margin: 0 !important;
	padding: 0 !important;
	-webkit-transition: all 1s;
	transition: all 1s;
	-webkit-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
}

.ha-insta-error-message {
	display: block;
	padding: .75rem 1.25rem;
	background-color: #f8d7da;
	color: #721c24;
	text-align: center;
}

@media (max-width:1024px) {
	.ha-insta-default.ha-grid-3 .ha-insta-item, .ha-insta-default.ha-grid-4 .ha-insta-item, .ha-insta-default.ha-grid-5 .ha-insta-item, .ha-insta-default.ha-grid-6 .ha-insta-item, .ha-insta-default.ha-grid-7 .ha-insta-item, .ha-insta-default.ha-grid-8 .ha-insta-item, .ha-insta-item {
		-webkit-box-flex: calc(33.33% - 10px);
		-webkit-flex: calc(33.33% - 10px);
		-ms-flex: calc(33.33% - 10px);
		flex: calc(33.33% - 10px);
		margin: 5px;
		max-width: calc(33.33% - 10px);
	}
	
	.ha-insta-content {
		padding: 0 .3rem;
	}
}

@media (max-width:767px) {
	.ha-insta-default.ha-grid-3 .ha-insta-item, .ha-insta-default.ha-grid-4 .ha-insta-item, .ha-insta-default.ha-grid-5 .ha-insta-item, .ha-insta-default.ha-grid-6 .ha-insta-item, .ha-insta-default.ha-grid-7 .ha-insta-item, .ha-insta-default.ha-grid-8 .ha-insta-item, .ha-insta-item {
		-webkit-box-flex: calc(100% - 10px);
		-webkit-flex: calc(100% - 10px);
		-ms-flex: calc(100% - 10px);
		flex: calc(100% - 10px);
		margin: 5px;
		max-width: calc(100% - 10px);
	}
}
