// Media center
.entry-media {
	position: relative;
	overflow: hidden;
	background-color: @color-brand;

	.audio-post,
	.video-post{
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;

		iframe{
			position: absolute;
			top: 0px;
			left: 0px;
			width: 100%;
			height: 100%;
		}
	}
	.mejs-wrapper {
		margin-top: -60px;
		background-color: fade(@color-brand, 80%);
	}
	.swiper-button-prev,
	.swiper-button-next {
		background: none;
		text-align: center;
		width: 40px;
		height: 40px;
	}
	// Media
	blockquote {
		cite {
			display: block;
			margin-top: 20px;
		}
		&.link-element {
			&:after{
				content: '';
			}
		}
	}

	.con-image {
		.overlay {
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			height: 100%;
			// background-color: rgba(0,0,0,.6);
			background: linear-gradient(180deg, rgba(236,119,171,0) 10%, rgba(25,25,25,0.11) 60%, rgba(35,35,35,0.28) 100%);
			opacity: 0;
			visibility: hidden;
			transition: all .3s;
		}
		&:hover {
			.overlay {
				opacity: 1;
				visibility: visible;
			}
		}
	}
	.icon-circle .overlay{
		span {
			width: 40px;
		    height: 40px;
		    background: #000;
		    text-align: center;
		    line-height: 40px;
		    border-radius: 50%;
		    transition: all .3s ease-in-out;
		    +span {
		    	margin-left: 10px;
		    }
		    &:hover {
		    	// background-color: #252525;
		    	transition: all .3s ease-in-out;
		    	background-image: linear-gradient(170deg, #852cec, #f032ea);
		    }
		}
	}

}

/* Featured image
----------------------------------------*/
.con-image {
	position: relative;
	background-position: center center;
	background-size: cover;
	background-color: rgba(0, 0, 0, 0.05);
	img {
		width: 100% !important;
		height: auto;
	}
	.media-middle {
		margin: 0;
		&>* {
			margin: 0;
		}
		blockquote {
			background-color: transparent;
		}
		position: absolute;
		left: 0;
		right: 0;
		top: 50%;
		.translateY();
	}
}

.tana-card {
	a {
		color:@color-text;
		text-decoration: none;
		&:hover{
			color:@color-brand;
		}
	}
	.uk-icon,.authorimage img {
		margin-right: 8px;
	}
	.uk-padding-remove-adjacent {
		&>div {
			padding-left: 0;
			padding-right: 0;
		}
	}
	.uk-card-body,.uk-card-footer {
		padding: 30px;
	}
	.uk-border-rounded {
		.uk-card-media-top {
			* {
				border-top-left-radius: 5px;
				border-top-right-radius: 5px;
			}
		}
		.uk-card-media-bottom {
			* {
				border-bottom-left-radius: 5px;
				border-bottom-right-radius: 5px;
			}
		}
		.uk-card-media-left {
			* {
				border-top-left-radius: 5px;
				border-bottom-left-radius: 5px;
			}
		}
		.uk-card-media-right {
			* {
				border-bottom-right-radius: 5px;
				border-top-right-radius: 5px;
			}
		}
	}
	.uk-card-footer {
		border: none;
		padding-top: 0;
		.line {
			margin-bottom: 15px;
			@media (min-width: 1200px) {margin-bottom: 20px;}
			width: 100%;
			border-top: 1px solid rgba(0,0,0,.15);
		}/*
		span {
			font-weight: 700;
			font-size: 0.85em;
		}*/
	}

	// Title 
	.uk-card-title {
		font-size: 20px;
		line-height: 28px;
		font-family: @font-title;
		font-weight: 400;
		a {
			color:@color-title;
			transition: all .3s;
			&:hover {
				color:@color-brand;
				transition: all .3s;
			}
		}
	}

	.dash-belowcat {
		.date {
			position: relative;
			padding-bottom: 15px;
			&:after {
				content:'';
				display: block;
				position: absolute;
				bottom: 0;
				width: 30px;
				height: 2px;
				background: linear-gradient(268deg, @color-ancient2, 50%, @color-ancient1 100%);
			}
		}
	}

	.dash-belowtitle {
		.uk-card-title {
			position: relative;
			padding-bottom: 15px;
			&:after {
				content:'';
				display: block;
				position: absolute;
				bottom: 0;
				width: 30px;
				height: 2px;
				background: linear-gradient(268deg, @color-ancient2, 50%, @color-ancient1 100%);
			}
		}
	}

	.dash-bottom {
		.uk-card-footer:after {
			content:'';
			display: block;
			position: absolute;
			bottom: 0;
			width: 30px;
			height: 2px;
			background: linear-gradient(268deg, @color-ancient2, 50%, @color-ancient1 100%);
		}
	}

	&.uk-text-center {
		blockquote {
			&:before {
				left: auto;
			}
			&:after {
				display:none;
			}
		}
		.dash-belowtitle,.dash-belowcat{
			.uk-card-title,.date {
				&:after {
					left: 50%;
					.translateX(-50%); 
				}
			}
		}
		.dash-bottom .uk-card-footer{
			&:after {
				left: 50%;
				.translateX(-50%); 
			}
		}
	}
	&.uk-text-right {
		blockquote {
			&:before {
				left: auto;
			}
			&:after {
				display:none;
			}
		}
		.dash-belowtitle,.dash-belowcat{
			.uk-card-title,.date {
				&:after {
					right: 0;
				}
			}
		}
		.dash-bottom .uk-card-footer{
			&:after {
				right: 30px;
				@media (min-width: 1200px) {
					right: 40px;
				}
			}
		}
	}
}