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

.pp-media-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	@include transition();
}
.pp-media-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 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-showcase-preview {
    position: relative;
}
.pp-showcase-preview-item {
    position: relative;
    img {
        display: inline-block;
    }
}
.pp-showcase {
    display: flex;
    align-items: flex-start;
}
.pp-showcase-preview-wrap {
    flex: 1 1 auto;
    position: relative;
    width: 70%;
}
.pp-showcase-navigation {
    flex: 1 1 auto;
    width: 30%;
    .pp-showcase-navigation-item-wrap {
        transition: none;
    }
}
.pp-showcase-navigation-icon-left {
    display: flex;
    align-items: center;
}
.pp-showcase-navigation-icon {
    &-wrap {
        line-height: 1;
    }
    img {
        display: inline-block;
    }
}
.pp-showcase-preview-align-right .pp-showcase {
    flex-direction: row-reverse;
}
.pp-showcase-preview-align-top .pp-showcase,
.pp-showcase-preview-align-bottom .pp-showcase {
    flex-direction: column;
}
.pp-showcase-preview-align-top .pp-showcase-preview-wrap,
.pp-showcase-preview-align-top .pp-showcase-navigation,
.pp-showcase-preview-align-bottom .pp-showcase-preview-wrap,
.pp-showcase-preview-align-bottom .pp-showcase-navigation {
    flex: 1 1 auto;
    width: 100%;
}
.pp-showcase-preview-align-bottom .pp-showcase-navigation {
	order: 1;
}
.pp-showcase-preview-align-bottom .pp-showcase-preview-wrap {
	order: 2;
}
.pp-showcase-preview-content {
    color: #fff;
    display: flex;
    flex-direction: column;
}
.pp-showcase-description-visible-active {
	.pp-showcase-navigation-description {
		display: none;
	}
}
.pp-showcase-navigation-item-wrap {
    position: relative;
    cursor: pointer;
    transition: all 0.25s linear 0s;
    width: 100%;
	&.pp-active-slide,
	&.slick-current {
		.pp-showcase-navigation-description {
			display: block;
		}
	}
	&:focus {
		outline: 0;
	}
}
.pp-video-container {
    background-color: #000;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.pp-video-play-icon {
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: var(--pp-play-icon-size, 50px);
    width: var(--pp-play-icon-size, 50px);
    height: var(--pp-play-icon-size, 50px);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    z-index: 10;
    transition: .25s all;
    i,
    svg {
        width: 1em;
        height: 1em;
        position: relative;
        display: block;
        transition: .25s all;
    }
    img {
        display: block;
    }
}
.pp-video-play {
    color: #333;
}
.pp-video-player {
    .pp-video-thumb,
    iframe,
	video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    .pp-video-thumb {
        border: none;
        bottom: 0;
        cursor: pointer;
        display: block;
        margin: auto;
        max-width: 100%;
        height: auto;
        right: 0;
        margin: 0;
        transition: .25s all;
    }
    iframe {
        height: 100%;
        z-index: 1;
    }
    .pp-media-content {
        z-index: 2;
    }
}
.pp-video {
    position: relative;
    .pp-video-player .pp-video-thumb {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}
.pp-video-overlay {
    z-index: 1;
}
.elementor-widget-pp-showcase.elementor-position-left .pp-showcase-navigation-item,
.elementor-widget-pp-showcase.elementor-position-right .pp-showcase-navigation-item {
    display: flex;
}
.elementor-widget-pp-showcase.elementor-position-left .pp-showcase-navigation-item {
    text-align: left;
    flex-direction: row;
}
.elementor-widget-pp-showcase.elementor-position-left .pp-showcase-navigation-icon-wrap,
.elementor-widget-pp-showcase.elementor-position-right .pp-showcase-navigation-icon-wrap {
    display: inline-flex;
    flex: 0 0 auto;
}
.elementor-widget-pp-showcase.elementor-position-right .pp-showcase-navigation-item {
    text-align: right;
    flex-direction: row-reverse;
}
.elementor-widget-pp-showcase .pp-showcase-navigation-icon {
    flex-grow: 1;
}

// Progress Bar CSS
.pp-slider-progress-bar {
	width: 100%;
	position: inherit;
	bottom: 7px;
	& .pp-slider-progress {
		width: 0%;
	}
}

@media (max-width: 1024px) {
    .pp-showcase-preview-stack-tablet {
        .pp-showcase {
            flex-direction: column;
        }
        .pp-showcase-preview-wrap,
        .pp-showcase-navigation {
            width: 100% !important;
        }
    }
}
@media only screen and (max-width: 767px) {
    .pp-showcase-preview-stack-mobile {
        .pp-showcase {
            flex-direction: column;
        }
        .pp-showcase-preview-wrap,
        .pp-showcase-navigation {
            width: 100% !important;
        }
    }
}