.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;
        -webkit-transition: .25s all;
        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;
}

// Sticky video player
.pp-video {
	&.pp-sticky-apply {
		background: 0 0;
		z-index: 9;
		overflow: unset;
		.pp-video-container {
			position: fixed !important;
			z-index: 99999;
			height: 225px;
			width: 400px;
			background: #fff;
			-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
			box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
		}
		.pp-video-sticky-infobar {
			-webkit-box-shadow: 0 5px 10px -5px #333;
			box-shadow: 0 5px 10px -5px #333;
		}
	}
}
.pp-sticky-apply {
	&.pp-video {
		&:before {
			visibility: hidden;
		}
	}
	.pp-video-container {
		&.ui-draggable {
			cursor: move;
		}
	}
	.pp-video-sticky-close {
		display: block;
		position: absolute;
		padding: 7px;
		color: #000;
		background: #fff;
		-webkit-border-radius: 100%;
		border-radius: 100%;
		cursor: pointer;
		z-index: 99999;
		height: 14px;
		width: 14px;
		line-height: 14px;
		-webkit-box-sizing: content-box;
		-moz-box-sizing: content-box;
		box-sizing: content-box;
	}
	.pp-video-sticky-infobar {
		display: block;
		position: relative;
		top: 100%;
		width: 100%;
		padding: 5px;
		color: #000;
		background: #fff;
		text-align: center;
		z-index: 9999;
		margin-top: -1px;
	}
}
.pp-video-sticky-close,
.pp-video-sticky-infobar {
	display: none;
}
// .pp-sticky-infobar-wrap {
// 	&.pp-sticky-apply {
// 		.pp-video-container {
// 			-webkit-box-shadow: unset;
// 			box-shadow: unset;
// 		}
// 	}
// }
.elementor-widget-pp-video {
	.pp-sticky-apply {
		.pp-video-container {
			padding-bottom: 0 !important;
			overflow: visible;
		}
	}
}
.pp-sticky-apply .pp-video-thumb,
.pp-sticky-apply iframe {
	padding: 4px;
}
.pp-video-sticky-close {
	.pp-sticky-close-icon {
		font-size: 14px;
		height: 14px;
		width: 14px;
		line-height: 14px;
		text-align: center;
	}
}
.pp-video-sticky-bottom_left
 .pp-video.pp-sticky-apply
	.pp-video-container,
.pp-video-sticky-center_left
	.pp-video.pp-sticky-apply
	.pp-video-container,
.pp-video-sticky-top_left
	.pp-video.pp-sticky-apply
	.pp-video-container {
	right: auto;
	left: 20px;
}
.pp-video-sticky-top_left
 .pp-video.pp-sticky-apply
	.pp-video-container,
.pp-video-sticky-top_right
	.pp-video.pp-sticky-apply
	.pp-video-container {
	top: 20px;
}
.pp-video-sticky-bottom_left
 .pp-video.pp-sticky-apply
	.pp-video-container,
.pp-video-sticky-bottom_right
	.pp-video.pp-sticky-apply
	.pp-video-container {
	bottom: 20px;
}
.pp-video-sticky-bottom_right
 .pp-video.pp-sticky-apply
	.pp-video-container,
.pp-video-sticky-center_right
	.pp-video.pp-sticky-apply
	.pp-video-container,
.pp-video-sticky-top_right
	.pp-video.pp-sticky-apply
	.pp-video-container {
	left: auto;
	right: 20px;
}
.pp-video-sticky-center_left
 .pp-video.pp-sticky-apply
	.pp-video-container,
.pp-video-sticky-center_right
	.pp-video.pp-sticky-apply
	.pp-video-container {
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
.pp-video-sticky-bottom_left
 .pp-sticky-infobar-wrap.pp-sticky-apply
	.pp-video-container,
.pp-video-sticky-bottom_right
	.pp-sticky-infobar-wrap.pp-sticky-apply
	.pp-video-container {
	bottom: 55px;
}
.admin-bar
 .pp-video-sticky-top_left
	.pp-video.pp-sticky-apply
	.pp-video-container,
.admin-bar
	.pp-video-sticky-top_right
	.pp-video.pp-sticky-apply
	.pp-video-container {
	top: -webkit-calc(32px + 20px);
	top: calc(32px + 20px);
}
.pp-video-sticky-bottom_left .pp-sticky-apply .pp-video-sticky-close,
.pp-video-sticky-center_left .pp-sticky-apply .pp-video-sticky-close,
.pp-video-sticky-top_left .pp-sticky-apply .pp-video-sticky-close {
	top: -10px;
	right: -10px;
}
.pp-video-sticky-bottom_right .pp-sticky-apply .pp-video-sticky-close,
.pp-video-sticky-center_right .pp-sticky-apply .pp-video-sticky-close,
.pp-video-sticky-top_right .pp-sticky-apply .pp-video-sticky-close {
	top: -10px;
	left: -10px;
}

@media only screen and (max-width: 767px) {
	.pp-video {
		&.pp-sticky-apply {
			.pp-video-container {
				height: 140px;
				width: 240px;
			}
		}
	}
}
