/* RESET STYLE PLYR JS */
.plyr-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.plyr,
.plyr-wrapper {
	position: relative;
	width: 100%;
	height: auto;
	-webkit-border-radius: 0px;
	   -moz-border-radius: 0px;
	        border-radius: 0px;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	overflow: hidden;
	cursor: pointer;
}

.plyr {
	height: 100%;
}

.plyr .plyr__video-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto !important;
}

.plyr iframe,
.plyr video {
	-o-object-fit: cover;
	   object-fit: cover;
}

.plyr .plyr__video-wrapper .plyr__video-embed__container.plyr__video-embed__container {
	width: 100%;
    height: 100%;
    padding-bottom: 0;
    -webkit-transform: none !important;
       -moz-transform: none !important;
        -ms-transform: none !important;
         -o-transform: none !important;
            transform: none !important;
}

.plyr .plyr__poster {
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}

.plyr.plyr__poster-enabled.plyr--paused .plyr__poster,
.plyr.plyr__poster-enabled.plyr--playing .plyr__poster {
	opacity: 0;
}

.plyr.plyr__poster-enabled .plyr__poster,
.plyr.plyr__poster-enabled.plyr--paused.plyr--stopped .plyr__poster {
    opacity: 1;
}

.plyr.plyr--video .plyr__controls {
	opacity: 0;
}

.plyr.plyr--video.plyr--playing .plyr__controls {
	opacity: 1;
}

.plyr.plyr--video>.plyr__control {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	   -moz-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	width: 68px;
	height: 68px;
	border: 4px solid #fff;
	padding: 0;
	background-color: rgba(0, 0, 0, 0);
	overflow: hidden;
}

.plyr.plyr--video:hover>.plyr__control {
	background-color: #fff;
}

.plyr.plyr--video>.plyr__control>svg {
	width: 20px;
	height: 20px;
	fill: #fff;
}

.plyr.plyr--video:hover>.plyr__control>svg {
	fill: var(--blue);
}

.plyr.plyr--video input[type=range] {
	color: var(--blue);
}

.video-player-popup {
	--aspect-ratio: 9 / 16;
	width: 100%;
	position: relative;
	padding-top: -webkit-calc((var(--aspect-ratio)) * 100%);
	padding-top: -moz-calc((var(--aspect-ratio)) * 100%);
	padding-top: calc((var(--aspect-ratio)) * 100%);
	background: #f5f5f5 center/cover no-repeat;
	cursor: pointer;
	-webkit-border-radius: var(--rounded-xl);
	   -moz-border-radius: var(--rounded-xl);
	        border-radius: var(--rounded-xl);
	overflow: hidden;
}

.video-player-popup:after {
	position: absolute;
	content: '';
	display: inline-block;
	width: 84px;
	height: 108px;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	   -moz-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	     -o-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
	background: url(/wp-content/themes/whello/assets/images/icon-button-play-white.svg) center/cover no-repeat;
}

.video-player-popup:hover .preview-video {
	-webkit-transform: scale(1.04);
	   -moz-transform: scale(1.04);
	    -ms-transform: scale(1.04);
	     -o-transform: scale(1.04);
	        transform: scale(1.04);
}


.preview-video {
	position: absolute;
	display: inline-block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
	-webkit-transition: var(--duration);
	-o-transition: var(--duration);
	-moz-transition: var(--duration);
	transition: var(--duration);
}

.popup {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	   -moz-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	   -moz-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	width: 100%;
	height: 100%;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	-webkit-transform: scale(1.04);
	   -moz-transform: scale(1.04);
	    -ms-transform: scale(1.04);
	     -o-transform: scale(1.04);
	        transform: scale(1.04);
	-webkit-transition: .3s;
	-o-transition: .3s;
	-moz-transition: .3s;
	transition: .3s;
}

.admin-bar .popup {
	padding-top: 48px;
}

.popup.popup-active {
	opacity: 1;
	visibility: visible;
	-webkit-transform: scale(1);
	   -moz-transform: scale(1);
	    -ms-transform: scale(1);
	     -o-transform: scale(1);
	        transform: scale(1);
	pointer-events: auto;
}

.popup .overlay-popup {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .6);
	cursor: pointer;
}

.popup .inner-popup {
	position: relative;
	z-index: 2;
	width: 800px;
	max-width: -webkit-calc(100% - 40px);
	max-width: -moz-calc(100% - 40px);
	max-width: calc(100% - 40px);
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
	        border-radius: 10px;
	padding: 20px;
	background-color: #fff;
}


.popup .close-popup {
	position: absolute;
	width: 24px;
	height: 24px;
	top: 10px;
	right: 10px;
	line-height: 0;
	-webkit-transition: .3s;
	-o-transition: .3s;
	-moz-transition: .3s;
	transition: .3s;
	color: var(--white);
	padding: 0;
	background: url(/wp-content/themes/whello/assets/images/icon-close.png) center/contain no-repeat;
}

.popup .close-popup:hover {
	-webkit-transform: rotate(180deg);
	   -moz-transform: rotate(180deg);
	    -ms-transform: rotate(180deg);
	     -o-transform: rotate(180deg);
	        transform: rotate(180deg);
}

.video-player-popup.popup-custom {
	--aspect-ratio: 9.91 / 16;
}

.plyr-wrapper.background-video-banner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media all and (max-width: 900px) {
	.video-player-popup:after {
		width: 54px;
		height: 69px;
	}

	.video-player-popup.popup-custom {
		--rounded-xl: 0;
	}

	.col-video-popup.wpb_column>.vc_column-inner>.wpb_wrapper {
		position: relative;
		margin-left: -24px;
		margin-right: -24px;
	}

	.video-player-popup.popup-custom {
		--aspect-ratio: 11.9 / 16;
	}
}

@media all and (max-width: 600px) {
	.popup .inner-popup {
		padding: 10px;
	}
}