/*
Theme Name: IDOL ARCHIVE
Author: KARATEFDAISY
Version: 1.0
*/

@charset "utf-8";

*{
	margin:0; 
	padding:0;
}

body {
	background: #f6f6f6;
	font-family: thonglor-soi-4-nr, sans-serif; 
	font-weight: 500;
	font-style: normal;
	font-size: 14px;
	line-height: 125%;
	overflow-x: hidden;
	-ms-overflow-style: none;
  	scrollbar-width: none;
	touch-action: manipulation;
}
	
body::-webkit-scrollbar {
	display: none;
}

a {
	color: #000;
	text-decoration: underline;
}

a:hover {
	color: #000;
	text-decoration: none;
}

p {
	line-height: 145%;
}

h2 { text-transform: uppercase; }

img {
	display: block; 
	width: 100%; 
	height: 100%; 
	object-fit: contain;
	pointer-events: none;
}

video {
	pointer-events: none;
}

::selection {
	background: #000;
	color: #fff;
}

.g2k-name {
	width: auto;
	font-family: anuphan, sans-serif; 
	font-weight: 700;
	font-size: 24px;
	padding: 60px 25px 0 25px;
	line-height: 100%;
	border-top: 5px solid #30d6a3;
}

.g2k-title {
	font-family: anuphan, sans-serif; 
	font-weight: 600;
	font-size: 18px;
	padding: 0 25px 0 25px;
	line-height: 100%;
}

/* PHOTO GALLERY */

.g2k-photo-gallery {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	margin: 25px 0px 25px 0px;
	padding: 0px 15px 0px 0px;
	-ms-overflow-style: none;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	div {
		scroll-snap-align: start;
	}
}

.g2k-photo {
	width: auto;
	height: 150px;
	margin: auto 10px auto auto;
}

.g2k-photo-start {
	width: auto;
	height: 150px;
	margin: auto 10px auto 25px;
}

.g2k-block {
	margin: 25px;
	background: #fff;
	box-shadow: rgba(99, 99, 99, 0.03) 0px 1px 8px 0px;
	width: auto;
	padding: 20px;
	border-radius: 6px;
	font-size: 12px;
}

.g2k-block-none {
	margin: 25px;
	background: #fff;
	box-shadow: rgba(99, 99, 99, 0.03) 0px 1px 8px 0px;
	width: auto;
	padding: 0px;
	border-radius: 6px;
	font-size: 12px;
}

/* BIO */

.g2k-bio-table {
	border-top: 1px dotted #eee;
}

.g2k-bio-photo {
	width: 120px;
	position: absolute;
	margin: -376px 0 0 180px;
}

.g2k-bio-table-cell {
	display: grid;
	grid-template-columns: 51px 10px auto;
	grid-gap: 0px;
	line-height: 100%;
	border-bottom: 1px dotted #eee;
}

.g2k-bio-table-cell-head {
	padding: 12px 0px 11px 0px;
	text-align: left;
	line-height: 130%;
}

.g2k-bio-table-cell-gap {
	padding: 12px 0px 11px 0px;
	text-align: left;
	line-height: 130%;
}

.g2k-bio-table-cell-detail {
	width: auto;
	padding: 12px 0px 11px 0px;
	font-weight: 600;
	text-align: left;
	line-height: 130%;
}

/* RANK */

.g2k-rank-table {
	padding: 0px;
	display: grid;
	grid-template-columns: auto auto auto auto auto auto auto auto auto;
	grid-gap: 0px;
}

.g2k-rank-cell {
	padding: 0px 0px 0px 0px;
	text-align: center;
	border-top: 1px dotted #eee;
	border-bottom: 1px dotted #eee;
}

.g2k-rank-cell-no-wrapper {
	padding: 5px 0 5px 0;
	border-top: 0px dotted #eee;
	border-bottom: 0px dotted #eee;
}

.g2k-rank-cell-no {
	padding: 5px 0 5px 0;
	text-align: left;
	color: #999;
}

.g2k-rank-icon {
	background: #30d6a3;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin: auto;
}

.g2k-rank-icon-no {
	background: transparent;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin: auto;
}

.g2k-rank-cell-line {
	background: #eee;
	width: 0.6px;
	height: 197px;
	margin: 0 auto 0 auto;
}

.week-1 { margin: -77px auto -10px auto; /* border: 2px solid rgba( 51, 193, 213, 0.1); */ }
.week-2 { margin: -105px auto -10px auto; }
.week-3 { margin: -105px auto -10px auto; }
.week-4 { margin: -77px auto -10px auto; }
.week-5 { margin: -131px auto -10px auto; }
.week-6 { margin: -51px auto -10px auto; }
.week-7 { margin: -105px auto -10px auto; }
.week-8 { margin: 0 auto -10px auto; }
.week-9 { margin: 0 auto -10px auto; }

.week-1-line { background: #30d6a3; width: 48px; height: 1.5px; position: absolute; transform: rotate(140deg); margin: -10px auto auto 12px; }
.week-2-line { background: #30d6a3; width: 44px; height: 1.5px; position: absolute; margin: 4px auto auto 14px; }
.week-3-line { background: #30d6a3; width: 48px; height: 1.5px; position: absolute; transform: rotate(42deg); margin: 18px auto auto 12px; }
.week-4-line { background: #30d6a3; width: 66px; height: 1.5px; position: absolute; transform: rotate(122deg); margin: -24px auto auto 5px; }
.week-5-line { background: #30d6a3; width: 88px; height: 1.5px; position: absolute; transform: rotate(66deg); margin: 40px auto auto -10px; }

/* GALLERY TAB */

.gall-tab-wrapper {
	width: auto;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 15px 22px 0px 22px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.gall-tab {
	width: fit-content;
	display: block;
	padding: 5px 10px 5px 10px;
	font-size: 12px;
	border: 1px solid #ddd;
	margin: 0 3px 0 3px;
	line-height: 100%;
	border-radius: 40px;
	color: #666;
}

.gall-tab.active {
	background: #32daa6;
	border: 1px solid #32daa6;
	color: #fff;
	font-weight: 600;
}

/* VIDEO */

.wb-video-main {
	margin: 25px 25px 0 25px;
	border-radius: 6px;
}

/* MOBILE */

@media only screen
    and (min-device-width : 320px)
    and (max-device-width : 480px) { 
		
	.disable-dbl-tap-zoom {
    	touch-action: manipulation;
  	}
		
	body {
		color: #000;
		font-family: thonglor-soi-4-nr, sans-serif; 
		font-size: 14px;
		font-weight: 500;
		overflow-x: hidden;
		-ms-overflow-style: none;
  		scrollbar-width: none;
		touch-action: manipulation;
	}
	
	body::-webkit-scrollbar {
		display: none;
	}
		
	a {
		color: #000;
		text-decoration: underline;
	}

	a:hover {
		color: #000;
		text-decoration: none;
	}

	p {
		line-height: 145%;
	}

	img {
		display: block; 
		width: 100%; 
		height: 100%; 
		object-fit: contain;
		pointer-events: none;
	}
		
}