.wp-caption,
.penci-wp-caption {
	color: #777777;
	@include font-size( 1.3 );
	font-style: italic;
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption-text,
.penci-wp-caption-text {
	margin: 10px 0 0;
}

.penci-caption-above-img .penci-wp-caption,
.penci-caption-above-img .wp-caption {
	background: $color__white;
	border: none;
	padding: 0;
	max-width: 100%;
	text-align: center;
	position: relative;
	overflow: hidden;

	a{
		color :$color__white;

		&:hover {
			color: $color__blue;
		}
	}

	img[class*="wp-image-"] {
		@include center-block;
	}

	.penci-wp-caption-text,
	.wp-caption-text {
		line-height: 1.3;
		margin: 0;
		padding: 11px 10px;
		color: $color__white;
		font-style: italic;
		text-align: center;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background: rgba(0, 0, 0, 0.5);
		transition: all 0.4s;
	}

	&:hover .penci-wp-caption-text,
	&:hover .wp-caption-text {
		transform: translateY(100%);
		opacity: 0.7;
	}

	&.penci-caption-has-a:hover .penci-wp-caption-text,
	&.penci-caption-has-a:hover .wp-caption-text {
		transform: translateY(0);
		opacity: 0.8;

	}
}
