@import "../mixins/mixins-master";

.pp-hidden {
	display: none !important;
}

.pp-no-trans {
    transition: none;
}

.pp-media-overlay {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;

	@include transition();
}

.pp-media-content {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;
}

.pp-icon {
	display: inline-block;
	line-height: 1;
	text-align: center;
    transition: all .3s;
}

.pp-icon i,
.pp-icon svg {
    width: 1em;
    height: 1em;
    position: relative;
    display: block;
}

.pp-album {
	position: relative;

	a {
		cursor: pointer;
	}
}

.pp-album-cover-wrap {
	height: 300px;
}

.pp-album-cover {
	height: 100%;
	overflow: hidden;

	img {
		object-fit: cover;
		height: 100%;
		width: 100%;

		@include transition();
	}
}

.pp-album-content-wrap {
    color: #fff;
    display: flex;
    flex-direction: column;

    @include transition();
}

.pp-album-cover-caption {

    @include transition();
}

.pp-album-cover-button-position-inline {

	.pp-album-content {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
	}
}

.pp-album-trigger-button {
	cursor: pointer;
}

.pp-album-button-content {
	display: flex;
}

.pp-album-trigger-icon-before .pp-album-button-content {
	flex-direction: row-reverse;
}

.pp-fancybox-thumbs-x {

	&.fancybox-show-thumbs .fancybox-inner {
		inset-inline-end: 0;
		bottom: 95px;
	}

	.fancybox-thumbs {
		top: auto;
		width: auto;
		bottom: 0;
		inset-inline-start: 0;
		right : 0;
		height: 95px;
		padding: 10px 10px 5px 10px;
		box-sizing: border-box;
		background: rgba(0, 0, 0, 0.3);
	}
}

@media (max-width: 1024px) {

	.pp-album-cover-button-tablet-position-inline {

		.pp-album-content {
			display: flex;
			justify-content: space-between;
			align-items: flex-end;
		}
	}

	.pp-album-cover-button-tablet-position-bottom {

		.pp-album-content {
			display: block;
		}
	}
}

@media only screen and (max-width: 767px) {

	.pp-album-cover-button-mobile-position-inline {

		.pp-album-content {
			display: flex;
			justify-content: space-between;
			align-items: flex-end;
		}
	}

	.pp-album-cover-button-mobile-position-bottom {

		.pp-album-content {
			display: block;
		}
	}
}