#tab-video {
    	max-height: none !important;
}
#tab-video .video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 10px;
}
#tab-video .video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#tab-video .video-size-auto.portrait-orientation {
	background: radial-gradient(circle, rgba(176,192,200,1) 0%, rgba(255,255,255,1) 100%);
}
#tab-video .portrait-orientation .video-container {
	aspect-ratio: 9/16;
	max-width: 400px;
	margin: 0 auto 10px auto;
	height: auto;
}
#tab-video .portrait-orientation .video-container iframe {
	aspect-ratio: 9/16;
}
#tab-video .video-thumbnails {
	display: flex;
	flex-flow: wrap;
	overflow: auto;
	clear: both;
	padding: 0;
	margin: 0;
}
#tab-video .video-thumbnails > img {
	width: 100%;
}
#tab-video .video-item a {
	position: relative;
	display: block;
	padding: 5px;
	border: none;
	line-height: 0;
}
#tab-video .video-item a:focus { 
	outline: none;
	text-decoration: none;
}
#tab-video .video-thumbnails .video-item {
	max-width: 492px;
	width: 48%;
	margin: 0 1% 1% 0;
}
#tab-video a.thumbnail.active, #tab-video a.thumbnail:focus, #tab-video a.thumbnail:hover { 
	border-bottom-color: #DDDDDD;
	border-left-color: #DDDDDD;
	border-right-color: #DDDDDD;
	border-top-color: #DDDDDD;
}
#tab-video .video-item .video-title { 
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 0 0 10px 10px;
	color: #ffffff;
	font-size: 13px;
	font-family: Arial, sans-serif;
	text-decoration: none;
	min-height: inherit;
	line-height: 18px;
	letter-spacing: 0px;
	text-transform: none;
	text-align: left;
	font-weight: 400 !important;
	left: 0px;
	right: 0px;
	bottom: 0px;
	margin: 5px;
	padding: 6px 10px;
	position: absolute;
	opacity: 0;
	z-index: 10;
}
#tab-video .visible-type .video-item .video-title {
	font-size: 1.6rem;
	line-height: 2.2rem;
}
#tab-video .video-item:hover .video-title { 
	-webkit-transition: opacity 0.3s ease-in;
	-moz-transition: opacity 0.3s ease-in;
	-o-transition: opacity 0.3s ease-in;
	opacity: 1;
}
#tab-video .video-item .v_thumb_block {
	display: block;
	text-align: center;
}
#tab-video .video-item img {
	border-radius: 10px;
	max-width: 100%;
	width: 100%;
}
#tab-video .play, .icon-play-large {
	background: url('../../../../../image/video-icon.svg') center center no-repeat;
	background-size: 60px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.8;
	z-index: 20;
}
#tab-video .play:hover {
	opacity: 1;
}
.icon-play {
	background: url('../../../../../image/video-icon.svg') center center no-repeat;
	background-size: 30px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.9;
	z-index: 20;
}
.v_thumb_block {
	display: inline-block; 
	position: relative;
}
.v_thumb_block .icon-play:before {
    	content: "";
}
.thumbnail > span.v_thumb_block img { 
	width: 100%;
}
.video-size-medium {
	max-width: 640px;
	max-height: 360px;
}
.video-size-large {
	max-width: 853px;
	max-height: 480px;
}
.video-after-content {
	margin-top: 15px;
}
.video-description {
    	margin: 25px 0 20px 0;
}
.video-sticker {
	width: 40px;
	height: 40px;
	position: absolute;
	z-index: 15;
	top: 0;
	right: 0;
	background: url('../../../../../image/video-icon.svg') center center no-repeat;
	background-size: 30px;
	opacity: 0.8;
}
.video-sticker .popup-video {
	display: block;
	width: 40px;
	height: 40px;
}
.video-sticker:hover {
	opacity: 1;
}
.video-sticker:hover .video-tooltip {
	display: block;
	width: max-content;
}
.video-tooltip {
	display: none;
	position: absolute;
	top: 10px;
	right: 40px;
	line-height: 20px;
	color: #fff;
	padding: 0px 6px 1px 6px;
	background-color: rgb(84 84 84);
	border-radius: 4px;
	font-size: 12px;
	z-index: 10;
}

/* title visible style */
#tab-video .video-thumbnails.visible-type {
	display: flex;
	flex-wrap: wrap;
}
#tab-video .video-thumbnails.visible-type .video-item {
	display: flex;
	flex-direction: column;
	border: none;
}
#tab-video  .video-thumbnails.visible-type .video-item a {
	position: relative;
	margin-bottom: 0;
	padding: 5px 5px 0 5px;
	display: block;
	border: none;
}
#tab-video  .video-thumbnails.visible-type .video-item a:hover {
	text-decoration: none;
}
#tab-video .video-thumbnails.visible-type .video-item .video-title {
	display: block;
	background-color: transparent;
	color: #323232;
	position: unset;
	padding: 6px 0;
	opacity: 1;
}
.portrait-mode .mfp-content {
	aspect-ratio: 9/16;
	max-width: 48vh !important;
}

@media (max-width: 500px) {
	#tab-video .video-thumbnails .video-item {
	    max-width: 492px;
	    width: 100%;
	    margin: 0 0 10px 0;
	}
}

a.thumbnails.mfp-iframe {
	text-align: center;
	display: block;
	padding-top: 50%;
}

/* fix popup*/
.mfp-bg {
        z-index: 1060 !important;
}
.mfp-wrap {
        z-index: 1061 !important;
}
.mfp-iframe-scaler iframe {
    	box-shadow: none !important;
}
.mfp-iframe-holder .mfp-arrow-right, .mfp-iframe-holder .mfp-arrow-left {
    	opacity: 1 !important;
}
.mfp-iframe-holder .mfp-close {
    	color: #fff !important;
}

/* fix theme for video */
.lg-outer .lg-video-cont.lg-ratio-16x9 {
	max-width: 100vh !important;
}
.lg-outer .lg-video-cont.lg-ratio-9x16 {
	max-width: 40vh !important;
}
.lg-video-cont.lg-ratio-9x16 .lg-video {
	aspect-ratio: 9/16;
	max-width: 400px;
	margin: 0 auto 10px auto;
	height: auto;
}
.lg-video-cont.lg-ratio-9x16 .lg-video iframe {
	aspect-ratio: 9/16;
}

.mfp-iframe-holder .mfp-content {
	vertical-align: middle !important;
	top: 0;
}

/* fix theme for video sticker */
.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item {
	position: relative;
}
.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item span {
	background: url('../../../../../image/video-icon.svg') center center no-repeat;
	background-size: 30px;
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0;
	right: 0;
	opacity: 0.9;
	z-index: 20;
}
.product-list .video-sticker {
	top: 16px;
	right: 2px;
}
.product-layout_carusel .product-thumb {
    	top: -23px;
}

@media (min-width: 1200px) {
	.snav.en {
	    	right: 8px;
	}
}
@media (min-width: 992px) {
	.product-layout:hover .video-sticker ~ div .snav, .product-layout:hover .video-sticker ~ .snav {
	    	top: 11%;
    		right: 7px;
	}
	.product-layout_carusel .product-thumb .video-sticker {
	    	top: 15px;
	}
	.product-layout_carusel .product-thumb .video-sticker ~ .box_spec .snav, .product-layout_carusel:hover .video-sticker ~ .snav {
		top: 50px;
		right: 7px;
	}
	.product-layout:hover .video-sticker ~ .snav, .product-layout_carusel:hover .video-sticker ~ .snav, .product-layout_cat:hover .video-sticker ~ .snav {
	    	top: 12%;
	}
	#similar_mr .product-layout_carusel .product-thumb .video-sticker {
	    	top: 0px;
	}
	#similar_mr .product-layout_carusel:hover .video-sticker ~ .snav {
		top: 10%;
	}
	#similar_mr .product-layout_carusel .video-tooltip {
	    	top: 10px;
	}
}
@media (max-width: 991px) {
	.product-layout_carusel .product-thumb {
	    	top: -16px;
	}
	.product-layout_carusel .video-sticker ~ .box_spec .snav {
		top: 9%;
		right: 7px;
	}
	#similar_mr .product-layout_carusel .video-sticker ~ .box_spec .snav {
		top: 12%;
	}
	.product-grid .video-sticker {
		top: 0;
		right: 0;
	}
	.product-layout_carusel .video-tooltip {
		top: 8px;
	}
	#similar_mr .product-layout_carusel .video-tooltip {
	    	top: 12px;
	}
	.product-list .video-sticker {
		top: 22px;
		right: 27px;
	}
	.product-layout .product-thumb .video-sticker {
	    	top: -2px;
	}
	.product-layout .video-sticker ~ .box_spec .snav, .product-layout_carusel .video-sticker ~ .box_spec .snav, .product-layout_cat .video-sticker ~ .box_spec .snav, .product-layout .product-thumb .video-sticker ~ .snav, .product-layout .product-thumb .video-sticker ~ div .snav {
		top: 34px;
		right: 7px;
	}
	.product-layout_carusel .product-thumb .video-sticker {
	    	top: -2px;
	}
	#similar_mr .product-layout_carusel .product-thumb .video-sticker {
	    	top: 2px;
	}
}
@media (max-width: 767px) {
	.product-list .video-sticker {
	    top: 0;
	    right: -3px;
	}
}
