:root {
	--betterBlue: rgb(18, 95, 157) !important;
	--betterBlue2: rgb(255, 191, 4) !important;
	--betterGreen: rgb(109, 165, 28) !important;
	--betterGreen2: rgb(255, 191, 0) !important;
	--hamBG: rgba(255, 255, 255, 0.75) !important;
}

body {
	position: relative;
	height: 100%;
	padding: 0 0 60px 0;
	margin: 0;
	font-family: videojs, "Noto Sans Thai", "Segoe UI", Tahoma, Geneva, Verdana,
		sans-serif;
	background: white;
	color: black;

	font-size: 1.15em;
	justify-content: center;
	background-color: #fff;
	background-image: url("/images/bg_pattern2.png");
	background-position-x: 60%;
	transition-duration: 400ms;
}

.A_HEADER {
	text-decoration: none;
	color: whitesmoke;
}

.blink {

	position: relative;
}

.grid2 {
	display: grid;
	grid-template-columns: 254px 1fr;
	align-items: flex-start;
	gap: 0 20px;
}

.blink::before {
	content: "HOT";
	font-weight: bold;
	padding: 3px 6px 3px 4px;
	font-size: 0.5em;
	color: #fffccc;
	background-color: red;
	display: block;
	position: absolute;
	right: -12px;
	top: -5px;
	/* z-index: 1000; */
	animation: blink-animation 1s steps(3, start) infinite;
	-webkit-animation: blink-animation 1s steps(3, start) infinite;
	border-radius: 15px;
	transform: rotate(10deg);
	opacity: 1;
}

@keyframes blink-animation {
	to {
		visibility: hidden;
	}
}

@-webkit-keyframes blink-animation {
	to {
		visibility: hidden;
	}
}

.hamImg {
	display: none;
}

.parent .item {
	transition-duration: 300ms;
}

main a.highlightClass {
	color: white !important;
	background-color: #c31d1d;
}

.betterBlue .desc {
	background-color: var(--betterBlue);
}

.betterBlue a.highlightClass {
	background-color: var(--betterBlue);
}

.betterBlue .deeppink {
	color: rgb(125, 218, 251);
}

.betterBlue .itemDetail .desc {
	border-top: 2px solid var(--betterBlue2);
	;
}

.betterBlue .footerBG {
	background: var(--betterBlue);
}

.betterGreen .desc {
	background-color: var(--betterGreen);
}

.betterGreen a.highlightClass {
	background-color: var(--betterGreen);
}

.betterGreen .deeppink {
	color: var(--betterGreen);
}

.betterGreen .itemDetail .desc {
	border-top: 2px solid var(--betterGreen2);
}

.betterGreen .footerBG {
	background: var(--betterGreen);
}

.betterGreen .footer {
	border-top: 4px solid var(--betterGreen2);
}

.betterGreen .footer a {
	color: white;

}

.deeppink {
	color: deeppink;
}

.ib {
	display: inline-block;
}

.betterBlue .addonHeader {
	padding: 8px 0 4px 0;
	border-top: 1px solid var(--betterBlue);
	border-bottom: 1px solid var(--betterBlue);
}

.betterGreen .addonHeader {
	padding: 8px 0 4px 0;
	border-top: 1px solid var(--betterGreen);
	border-bottom: 1px solid var(--betterGreen);
}

.padb20 {
	padding-bottom: 20px;
	color: wheat;
}

a {
	text-decoration: none;
	display: block;
}

.itemAds {
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
}

#pageList {
	display: block;
	text-align: center;
	margin-top: 36px;
}

#pageList a {
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
}

.pageButton {
	display: inline-grid;
	align-items: center;
	;
	/*! border: 1px solid white; */
	font-size: 13pt;
	background-color: #333;
	padding: 11px;
	text-align: center;
	vertical-align: center;
	margin: 0 4px 12px 4px;
	text-decoration: none;
	color: white;
	font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
	border-radius: 7px;
}



.pageButton:hover {
	color: white !important;
	background-color: black !important;

}

.vjs-watermark {
	position: absolute;
	display: inline;
	z-index: 2000;
}

.desc_info {
	font-size: 90%;
	text-align: center;
	;
	display: grid;
	/* align-items: flex-start; */
	/* justify-content: left; */
	margin-top: 14px;
}

.desc_totalview {
	position: absolute;
	top: 0px;
	right: 0px;
	background: rgba(22, 22, 22, 0.84);
	font-size: 0.88em;
	color: white;
	padding: 4px 10px 4px 6px;
	border-radius: 0 0 0 12px;
	z-index:1000;
}

.inline_totalview {
	display: inline-block;
	background: rgba(22, 22, 22, 0.84);
	font-size: 0.88em;
	color: white;
	/* 	padding: 4px 10px 4px 4px;
	border-radius: 12px;
 */
	padding: 4px 8px 4px 6px;
	border-radius: 0px 0 12px 0;
}

.desc_performer {
	position: absolute;
	top: 0px;
	left: 0px;
	background: rgba(22, 22, 22, 0.84);
	font-size: 0.88em;
	color: white;
	padding: 4px 8px 4px 6px;
	border-radius: 0px 0 12px 0;
}

.desc_totalview::before,
.inline_totalview::before {
	font-family: videojs;
	content: "\f101";
	font-size: 125%;
	vertical-align: top;
	padding-right: 4px;
}

#runV::before {
	font-family: videojs;
	content: "\f101";
	position: absolute;
	left: 42%;
	top: 40%;
	border-radius: 20%;
	font-size: 400%;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 2% 5%;
	border: 2px solid white;
}

.header {
	/*! display: grid; */
	/*! grid-template-columns: 1fr; */
	/*! grid-template-rows: auto; */
	/*! align-items: center; */
	/* padding: 20px 40px; */
	transition-duration: 400ms;
}

div.menu {
	/* position: fixed; */
	/*! right:0; */

	width: 264px;
	/* margin-top: 150px; */
}

.hamMenu {
	display: none;
}

.itemMenu a,
.hamMenu a {
	color: white;
	text-decoration: none;
	display: inline-block;
	/* border-bottom: 1px dotted black; */
}

.itemMenu a:hover,
.hamMenu a:hover {
	/* border-bottom: 2px solid #ccc; */
}

.tagContainer {
	display: inline-block;
	border-radius: 10px;
	background-color: #1689ad;
	padding: 4px 8px;
	margin: 0px 4px 6px 0px;
}

.tagContainer .tagItem {
	text-decoration: none;
	color: white;
}

.adsContainer {
	max-width: 100% !important;
	width: 100%;
	display: flex;
	justify-content: center;
	padding-bottom: 10px;
}

.parentAds {
	display: grid;
	align-items: center;
	width: 100%;
	gap: 10px;
	margin-top: 162px;
}

img {
	max-width: 100%;
	height: auto !important;
}

.itemMenu {
	cursor: pointer;
}

.itemMenu ul,
.hamMenu ul {
	display: grid;
	/* grid-template-columns: 1fr 1fr 1fr 1fr 1fr ; */
	grid-template-columns: 1fr;
	gap: 1px 20px;
	margin: 0;
	padding: 0;
	padding-bottom: 20px;
	justify-content: flex-start !important;
	max-width: 100%;
}

.hamMenu ul {
	grid-template-columns: 1fr;
	font-size: 16pt;
}

.itemMenu ul>li,
.hamMenu ul>li {
	list-style: none;
	margin: 0;
	padding: 10px;
	text-align: left;
	background-color: #0e9ee8;
	color: white;
	/*! border-left: 2px solid black; */
	/*! border-right: 2px solid black; */
}

.itemMenu sub {
	font-size: 60%;
}

.vdimension {
	max-width: 100%;
	display: block;
	align-items: center;
}

.vdimension>button {
	padding: 6px 6px 4px 6px;
}

.vdimension>button>img {
	box-shadow: 0 0 4px 8px rgba(192, 13, 177, 0.2);
}

main {
	display: block;
	align-items: center;
	justify-content: center;
	/* grid-template-columns: auto 1000px auto; */
	margin-bottom: 34px;
	max-width: 100% !important;
	width: 1120px;
	padding-bottom: 40px;
	transition: 300ms;
	margin: 0 auto;
}

.parentHeader {
	width: 100%;
	/*! justify-content: center; */
	text-align: center;
}

.parent_title {
	display: grid;
	grid-template-columns: 400px auto;
	gap: 20px;
	background-color: #c23c9a;
	padding: 20px;
}

.parent_title img {
	max-width: 100%;
	width: 400px;
	height: auto;
}

.parentHeader h1 {
	font-size: 1.6em;
	line-height: 0pt;
}

.parent_title h1 {
	font-size: 1.6em;
	line-height: 1.4em;
}

.parentList {
	margin-top: 10px;
	display: block;
	-ms-overflow-style: none;
	/* for Internet Explorer, Edge */
	scrollbar-width: none;
	/* for Firefox */
	/* grid-template-columns: 150px auto;
grid-template-rows: 1fr; */
	position: relative;
	align-items: center;
	height: auto;
	width: 100%;
	transition: 300ms;
}

.parentList::-webkit-scrollbar {
	display: none;
}

.pad30top {
	padding-top: 30px;
	/* position: fixed; */
	width: 264px;
}

.font80 {
	/* font-size: 0.95em; */
	font-size: 12pt;
	margin: -12px 0 40px 10px;
}

.parent {
	display: grid;
	position: relative;
	width: auto;
	grid-template-columns: 1fr !important;
	/* gap: 36px 30px; */
	gap: 8px 30px;
	height: auto;
	transition: 300ms;
}

.parentVD {
	display: block;
	position: relative;
	width: auto;
	height: auto;
	transition: 300ms;
}

.item {
	/* width: 188px; */
}

.item a {
	color: white;
	text-decoration: none;
}

.itemDetail {
	width: 100%;
	display: grid;
	justify-content: center;
	grid-template-columns: 40% 60%;
	grid-template-rows: 238px auto;
	border-radius: 2px;
	overflow: hidden;
	position: relative;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
}

.itemDetail .poster {
	opacity: 0.9;
	transition-duration: 400ms;

}

.poster {
	display: block;
	background-repeat: no-repeat;
	background-position: center center;
	height: auto;
	width: 100%;
	background-size: auto 100%;
}

.desc {
	display: block;
	/* justify-content: start; */
	padding: 16px 16px;
	background-color: #0e9ee8;
	z-index: 100;
	box-shadow: 0px 0px 100px 30px rgba(0, 0, 0, 0.7);
}



.itemDetail:hover .poster {
	opacity: 1;
}

.itemDetail:hover .desc {
	color: white;
	box-shadow: 0px 0px 100px 80px rgba(255, 181, 7, 0.122);
	background-color: black;
	border-top: 2px solid deeppink;
}

.desc p {
	text-align: center;
	margin: 0;
	font-size: 1.1em;
	/*! text-decoration: underline; */
	border-bottom: 1px solid white;
	max-height:38px;
}

.similar {
	border-top: 1px dotted #aaa;
	/*! margin-top: 50px; */
	padding-top: 20px;
	width: 100%;
	font-size: 96%;
}

.similar_container {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, 1fr);

}

a.similar_item {
	text-decoration: none;
	color: #ccc;
	display: grid;
	height: auto;
	background-color: #092a56;
	grid-template-rows: auto auto;
	padding: 10px;
	border: 2px solid #444;
}

a.similar_item img {
	width: 100%;
}

a.similar_item:hover {
	background-color: rgb(70, 25, 25);
}

.similar_item .similar_desc {
	padding: 0 30px;
}

.skipClass {
	background: rgba(0, 0, 0, 0.5);
	width: 150px;
	height: 50px;
	align-items: center;
	position: absolute;
	bottom: 16%;
	right: 3%;
	display: flex;
	justify-content: center;
	border: 1px solid #bbb;
	font-size: 13pt;
	cursor: pointer;
}

.skipClass::before {
	font-family: 'VideoJS';
	content: "\f101\f101";
	letter-spacing: -10px;
	margin-right: 14px;
}

.footer {
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	/*! color: red; */
	padding: 0 0;
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 300;
	border-top: 4px solid #571b12;
}

.footerBG {
	background: #000;
}

.footer a {
	text-decoration: none;
	color: pink;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75em;
}

.vjs-audio-only-mode .vjs-control-bar,
.vjs-has-started .vjs-control-bar {
	height: 45px !important;
}

.vjs-button>.vjs-icon-placeholder:before {
	font-size: 2.8em !important;
	line-height: 1.67;
}

.video-js .vjs-time-control {
	font-size: 1.7em !important;
}

.vjs-volume-bar.vjs-slider-horizontal {
	width: 5em;
	height: 1.4em
}

@media only screen and (max-width: 1199px) {
	body {
		font-size: 1em;
	}

	main {
		width: 1040px;
	}

	.parent {
		grid-template-columns: repeat(3, 1fr);
		justify-content: center;
		gap: 36px 30px;
	}

	.itemDetail {
		grid-template-rows: 220px auto;
	}

}

@media only screen and (max-width: 1081px) {
	main {
		width: 1000px;
	}

	.parent {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		justify-content: center;
	}

	.itemDetail {
		grid-template-rows: 212px auto;
	}
}

@media only screen and (max-width: 940px) {
	main {
		width: 820px;
	}

	.parent {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		justify-content: center;
	}

	.font80 {
		font-size: 9pt;
	}

	.parent_title {
		grid-template-columns: 300px auto;
	}


	.similar_container {
		grid-template-columns: repeat(2, 1fr);
	}

	a.similar_item {
		/* grid-template-columns: 150px auto; */
	}

	.similar_item .similar_desc {
		padding: 0px 12px;
	}

	.itemDetail {
		grid-template-rows: 176px auto;
	}
}

@media only screen and (max-width: 860px) {
	body {
		font-size: 0.9em;
		padding: auto;
	}

	.header {
		/* display: block; */
	}

	.font80 {
		font-size: 8pt;
	}

	#runV::before {
		left: 40%;
		top: 36%;
	}

	main {
		width: 780px;
		max-width: 90%;
		font-size: 0.85em;
	}

	.parent {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 12px;
		justify-content: center;
	}

	.desc p {
		text-align: center;
		margin: 0;
		font-size: 1.4em;
	}

	.itemDetail {
		/*! grid-template-rows: 262px auto; */
		grid-template-columns: 30% 1fr;
	}

	.itemDetail .poster {
		opacity: 1;

		background-position-x: right;
	}
}

@media only screen and (max-width: 620px) {
	body {
		padding: auto;
	}

	.header {
		grid-template-columns: 70% auto;
		display: grid;
	}

	.header h1 img {
		max-width: 100%;
	}

	.parentAds {
		margin-top: 0;
	}

	div.menu {
		position: relative;
		right: 0;
		width: auto;
		margin-top: 40px;
	}

	.grid2 {
		grid-template-columns: 1fr;
	}

	.pad30top {
		position: relative;
	}

	main {
		width: 560px;
		max-width: 90%;
		font-size: 0.8em;
	}

	.font80 {
		font-size: 7pt;
	}


	.itemMenu {
		display: none;
	}

	#runV::before {
		font-size: 240%;
	}

	.parentHeader,
	.menu {
		text-align: center;
	}

	.menu {
		text-align: right;
	}

	.hamImg {
		display: block;
	}

	.hamImg img {
		margin-right: 30px;
		max-width: 40px;
	}

	.hamImg img:target {
		display: block;
	}

	.hamMenu {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: var(--hamBG);
		z-index: 400;
		overflow: auto;
		backdrop-filter: blur(12px);
	}

	.hamMenu ul {
		grid-template-columns: 1fr;
		font-size: 16pt;
		margin-top: 60px;
	}

	.hamMenu ul li {
		/*! margin: 10px 40px; */
		z-index: 400;
		padding-bottom: 2px;
		border-bottom: 1px solid #6ac;
	}

	.hamMenu ul li:first-child {
		border: none;
		text-align: right;
		background: none;
		margin-bottom: 20px;
	}

	.hamMenu ul li a {
		border: none;
	}

	.parent {
		grid-template-columns: repeat(2, 1fr);
		justify-content: center;
	}

	.itemDetail {
		grid-template-rows: 185px auto;
	}

	.parent_title {
		display: block;
		max-width: 100%;
		overflow: hidden;
		/*! margin: 20px; */
	}

	.parent_title>h1 {
		text-align: center;
	}

	.parent_title img {
		max-width: 100%;
		width: 100%;
		height: auto !important;
	}

	.similar {
		display: block;
		font-size: 100%;

	}

	.similar h2 {
		text-align: center;
	}

	.similar_container {
		margin: 20px;
	}

	.similar_item .similar_desc {
		padding: 0;
	}

}

@media only screen and (max-width: 541px) {
	body {}

	.header {}

	main {
		/* display: flex; */

		width: 480px;
		max-width: 90%;
	}

	.font80 {
		font-size: 6pt;
	}

	.blink::before {
		right: -2px;
	}

	.hamMenu .blink::before {
		right: auto;
		left: -40px;
		top: 4px;
		transform: rotate(0deg);
	}

	.parent {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		justify-content: center;
		width: 99%;
	}

	.item {
		width: auto;
		font-size: 0.76em;
	}

	.parentList {
		display: block;
		width: 100%;
	}



	.itemDetail {
		grid-template-rows: 148px auto;
	}

	a.similar_item {
		display: block;
	}
}

@media only screen and (max-width: 420px) {
	main {
		width: 380px;
		max-width: 90%;
		font-size: 0.7em;
	}



	.parent {
		grid-template-columns: repeat(2, 1fr);
		justify-content: center;
		gap: 4px;
	}

	.item {
		display: flex;
		justify-content: center;
	}

	.item a {
		width: 95%;
	}

	.itemDetail {
		/*! grid-template-rows: 119px 26px; */
	}

	.poster {
		max-width: 100%;
		height: 100%;
	}
}

@media only screen and (max-width: 360px) {
	main {
		width: 360px;
		max-width: 100%;
	}

	.pageButton {
		font-size: 9pt;
		padding: 7px;
	}

	.parent {
		font-size: 0.7em;
		justify-content: center;
	}

	.itemDetail {
		grid-template-rows: 86px auto;
	}

	.poster {
		max-width: 100%;
		height: 100%;
	}
}