#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: 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: 4px;
	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 .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 sticker */
.product-thumb {
    	position: relative;
}

/* for theme */
.product-page__image .owl-carousel .owl-stage {
	display: flex;
	align-items: center;
}
.product-page__image.fixed .video-size-gallery {
	display: grid;
	max-width: calc(120vh);
	margin: auto;
}

.product-page__image.fixed .video-container-gallery {
	top: 50%;
	transform: translateY(-50%);
}

.video-container-gallery {
	display: none;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.video-container-gallery iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.video-container-gallery.portrait-orientation {
	aspect-ratio: 9/16;
	margin: 0 auto;
	height: calc(100vh - 150px);
}
.product-page__image-addit .owl-item .mfp-iframe {
	background-position: center !important;
	padding: 12px;
}
.product-thumb .video-sticker ~ .product-thumb__caption .product-thumb__wishlist {
    	top: 48px !important;
}
.product-thumb .video-sticker ~ .product-thumb__caption .product-thumb__wishlist + .product-thumb__compare {
    	top: 87px !important;
}
.product-page__image-addit-img.v_thumb_block {
	padding: 0;
	border: none;
}
.mfp-wrap ~ #modal-quick-order {
    	z-index: 1000 !important;
}
.quick-order__image .v_thumb_block {
	cursor: pointer;
}
@media (max-width:575px) {
	.video-sticker {
		right: 0px;
	}
}
