/*
Theme Name: TIEWPAKKLANG
Author: KARATEDAISY
Version: 1.0
*/

@charset "utf-8";

*{
	margin:0; 
	padding:0;
}

body {
	background: #fff;
	font-family: "TATSana Suksa", sans-serif;
	font-weight: 400;
	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: none;
}

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: #5f85a2;
	color: #fff;
}

.modern-title,
.modern-hint {
	display: none;
}

.tat-atcp-icon {
	margin: 50px auto 50px auto;
}

/* TAT HEADER */

.tat-top-margin { width: 10px; height: 100px; }

.tat-nav-bar {
	text-align: right;
	background: #fff;
	width: 100%;
	height: auto;
	padding: 40px 0 40px 0;
	z-index: 10;
	box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 8px;
	border-top: 4px solid #0065b4;
	display: grid;
	grid-template-columns: auto auto;
	position: fixed;
}

.tat-nav-bar li {
	font-family: "TATSana Chon", sans-serif;
	font-weight: bold;
	display: inline;
	list-style: none;
	padding: 0 10px 0 10px;
	font-size: 14px;
}

.tat-nav-bar a:hover {
	color: #0065b4;
	text-decoration: underline;
}

.tat-nav-bar-right {
	margin: 0 20px 0 0;
}

.tat-nav-logo {
	width: auto;
	height: 40px;
	margin: 34px 0 0 30px;
	position: fixed;
	z-index: 11;
}

.tat-content-wrapper {
	width: 1024px;
	text-align: left;
}

/* TAT PAGE */

.tat-page-wrapper {
	background: #fff;
	width: 1024px;
	text-align: left;
	padding: 50px 0 50px 0;
	border-radius: 10px;
	box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 8px;
}

.tat-page-bg {
	background: #f0f0f0 url(https://www.tiewpakklang.com/assets/img/section-pattern.png) top center no-repeat;
	background-size: cover;
	width: auto;
	padding: 50px 0 50px 0;
}

.tat-page-title {
	font-family: "TATSana Chon", sans-serif;
	font-weight: 600;
	font-size: 24px;
	color: #0065b4;
	text-align: center;
	line-height: 100%;
	padding: 10px 0 50px 0;
}

.tat-contact-left {
	padding: 40px 0 0 40px;
}

.tat-contact-left a { text-decoration: underline; }
.tat-contact-left a:hover { text-decoration: none; }

.tat-contact-right {
	padding: 0 40px 0 0;
}

/* TAT POST APPLICATION */

.tat-post-apply {
	padding: 0 40px 0 40px;
}

.tat-apply-button {
	background: rgb(0,121,215);
	background: -moz-linear-gradient(180deg, rgba(0,121,215,1) 0%, rgba(0,101,180,1) 100%);
	background: -webkit-linear-gradient(180deg, rgba(0,121,215,1) 0%, rgba(0,101,180,1) 100%);
	background: linear-gradient(180deg, rgba(0,121,215,1) 0%, rgba(0,101,180,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0079d7",endColorstr="#0065b4",GradientType=1); 
	font-family: "TATSana Chon", sans-serif;
	font-size: 20px;
	color: #fff;
	line-height: 100%;
	padding: 20px 25px 20px 25px;
	width: fit-content;
	border-radius: 6px;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px;
	text-shadow: rgba(0, 0, 0, 0.1) 0px 1px 5px;
	margin: 20px auto 15px auto;
	transition: transform .2s;
	display: flex;
}

.tat-apply-button:hover {
	transform: scale(1.01);
	transition: transform .2s;
}

.tat-apply-icon {
	width: auto;
	height: 20px;
	margin: 0 12px 0 0;
}

/* TAT CATEGORY */

.tat-cat-title-wrapper,
.tat-cat-title-wrapper-news {
	padding: 50px 0 30px 0;
	width: 1024px;
}

.tat-cat-title {
	font-family: "TATSana Chon", sans-serif;
	font-weight: 600;
	font-size: 20px;
	color: #0065b4;
	text-align: left;
}

.tat-cat-more {
	float: right;
	width: fit-content;
	font-weight: 600;
	line-height: 110%;
	border-bottom: 1px solid #0065b4;
}

/* TAT POST */

.tat-post-wrapper {
	background: #fff;
	width: 964px;
	text-align: left;
	padding: 50px 30px 20px 30px;
	border-radius: 10px;
	box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 8px;
}

.tat-post-bg {
	background: #f0f0f0 url(https://www.tiewpakklang.com/assets/img/section-pattern.png) top center no-repeat;
	background-size: cover;
	width: auto;
	padding: 50px 0 50px 0;
}

.tat-post-title {
	font-family: "TATSana Chon", sans-serif;
	font-weight: 600;
	font-size: 20px;
	color: #222;
	text-align: center;
	line-height: 135%;
	padding: 0px 0 45px 0;
	border-bottom: 1px solid #eee;
	margin: 0 0 30px 0;
}

.tat-post-wrapper img {
	margin: 0 auto 30px auto;
	max-width: 720px;
}

.tat-post-wrapper ul {
	margin: 0 0 20px 30px;
	line-height: 175%;
}

.tat-post-wrapper ol {
	margin: 0 0 20px 30px;
	line-height: 175%;
}

.tat-post-wrapper h2 {
	margin: 0 0 20px 0;
	line-height: 100%;
}

.tat-post-wrapper p {
	font-family: "TATSana Suksa", sans-serif;
	margin: 0 0 20px 0;
	line-height: 175%;
}

.tat-post-wrapper a {
	color: #0065b4;
	text-decoration: underline;
}

.tat-post-wrapper a:hover {
	color: #0065b4;
	text-decoration: none;
}

.tat-post-wrapper iframe {
	width: 720px;
	margin: auto auto 20px 125px;
	text-align: center;
}

/* TAT ACTIVITY POST */

.tat-acti-post-wrapper {
	background: #f9f9f9 url(https://www.tiewpakklang.com/assets/img/section-pattern.png) top center no-repeat;
	background-size: cover;
	padding: 0px 0 30px 0;
	margin: -40px 0 0 0;
}

/* TAT ROUTE POST */

.tat-route-post .wp-block-latest-posts__post-title {
	font-family: "TATSana Chon", sans-serif;
	font-weight: 600;
	font-size: 18px;
	display: none;
	padding: 0 0 22px 0;
	margin: -75px 0 0 0;
	transition: .5s;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.9) 0px 1px 8px;
}

.tat-route-post .wp-block-latest-posts__post-title:hover {
	display: none;
	padding: 0 0 0 0;
	margin: -75px 0 0 0;
	border: 0;
}

.tat-route-post { margin: auto 30px 0px 30px; transition: .3s; }
.tat-route-post img { border-radius: 6px; transition: .3s; }
.tat-route-post a { margin: auto; border-radius: 9px; transition: .3s; box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px; }
.tat-route-post a:hover { border-radius: 9px; transition: .3s; border: 3px solid #81b8e4; }

/* TAT ROUTE POST PAGE */

.tat-route-post-page .wp-block-latest-posts__post-title {
	font-family: "TATSana Suksa", sans-serif;
	font-weight: 600;
	font-size: 18px;
	display: none;
	padding: 0 0 22px 0;
	margin: -95px 0 10px 0;
	transition: .5s;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.9) 0px 1px 8px;
}

.tat-route-post-page .wp-block-latest-posts__post-title:hover {
	display: none;
	padding: 0 0 22px 0;
	margin: -95px 0 10px 0;
	border: 0;
}

.tat-route-post-page-wrapper {
	width: 1024px;
}

.tat-route-post-page { margin: auto 30px 0px 0px; transition: .3s; }
.tat-route-post-page img { border-radius: 6px; transition: .3s; }
.tat-route-post-page a { margin: auto auto 0px auto; border-radius: 9px; transition: .3s; box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px; }
.tat-route-post-page a:hover { margin: auto auto 0px auto; border-radius: 9px; transition: .3s; border: 3px solid #81b8e4; }

/* TAT NEWS POST */

.tat-news-post-wrapper {
	background: #f6f6f6 url(https://www.tiewpakklang.com/assets/img/section-pattern.png) top center no-repeat;
	background-size: cover;
	padding: 0px 0 40px 0;
}

.tat-news-post .wp-block-latest-posts__post-title {
	font-family: "TATSana Chon", sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 125%;
}

.tat-news-post .wp-block-latest-posts__post-date {
	font-weight: 400;
	font-size: 12px;
}

.tat-news-post img { border-radius: 6px; }

.tat-news-post a { margin: 0 0 0 0; transition: .3s; }
.tat-news-post a:hover { margin: -3px 0 0 0; transition: .3s; }

.tat-news-post a img { border-radius: 6px; transition: .3s; }
.tat-news-post a:hover img { border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px; transition: .3s; }

/* TAT FOOTER */

.tat-footer-bg {
	background: #222;
	width: auto;
	padding: 50px 0 50px 0;
}

.tat-footer {
	width: 1024px;
	color: #fff;
	display: grid;
	grid-template-columns: 50% 50%;
	font-size: 12px;
}

.tat-footer a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: #0065b4;
}

.tat-footer a:hover {
	color: #fff;
	text-decoration: none;
}

.tat-footer-logo {
	width: auto;
	height: 30px;
	margin: auto auto 6px 0px;
}

.tat-footer-left {
	text-align: left;
}

.tat-footer-right {
	text-align: right;
}

.tat-m { display: none; }
.tat-pc { display: block; }

/* TAT PAGE VIEW */

.epvc-post-count {
	margin: 20px 0 20px 0;
	vertical-align: middle;
	color: #999;
}

.epvc-eye {
	padding: 4px 0 0 0;
	margin: 0;
	line-height: 100%;
}

.epvc-count::before {
	content: "เข้าชม";
}

.epvc-count {
	line-height: 100%;
	margin: -20px 0 0 0;
}

/* POST DETAIL */

.tat-activity-detail {
	background: #f6fbff;
	border: 1px dotted #e9f4fc;
	border-radius: 6px;
	display: block;
	color: #0065b4;
	padding: 25px;
	margin: 0 0 20px 0;
	width: auto;
	height: auto;
	line-height: 155%;
}

.tat-activity-detail h48 {
	font-size: 18px;
	font-weight: bold;
	line-height: 100%;
	margin: 0 0 15px 0;
	display: block;
}

.tat-activity-detail a {
	color: #0065b4;
	text-decoration: none;
}

.tat-activity-detail a:hover {
	color: #0065b4;
	text-decoration: underline;
	text-decoration-style: dotted;
}

.tat-activity-detail i {
	margin: 0 8px 0 0;
}

/* MOBILE */

@media only screen
    and (min-device-width : 320px)
    and (max-device-width : 480px) { 
		
	.disable-dbl-tap-zoom {
    	touch-action: manipulation;
  	}
		
	a {
		color: #000;
		text-decoration: none;
	}

	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: #5f85a2;
		color: #fff;
	}

	/* TAT HEADER */

	.tat-top-margin { width: 10px; height: 93px; }

	.tat-nav-bar {
		text-align: right;
		background: #fff;
		width: 100%;
		height: auto;
		padding: 45px 0 45px 0;
		z-index: 10;
		box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 8px;
		border-top: 4px solid #0065b4;
		display: grid;
		grid-template-columns: auto auto;
		position: fixed;
	}

	.tat-nav-bar li {
		font-family: "TATSana Chon", sans-serif;
		font-weight: bold;
		display: inline;
		list-style: none;
		padding: 0 10px 0 10px;
		font-size: 14px;
	}

	.tat-nav-bar a:hover {
		color: #0065b4;
		text-decoration: underline;
	}

	.tat-nav-bar-right {
		margin: 0 20px 0 0;
	}

	.tat-nav-logo {
		width: auto;
		height: 35px;
		margin: 29px 0 0 25px;
		position: fixed;
		z-index: 11;
	}

	.tat-content-wrapper {
		width: auto;
		text-align: left;
		margin: 10px 5px 10px 25px;
	}

	/* TAT PAGE */

	.tat-page-wrapper {
		background: #fff;
		width: auto;
		text-align: left;
		padding: 30px 0 30px 0;
		border-radius: 10px;
		box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 8px;
		margin: auto 25px auto 25px;
	}

	.tat-page-bg {
		background: #f0f0f0 url(https://www.tiewpakklang.com/assets/img/section-pattern.png) top center no-repeat;
		background-size: cover;
		width: auto;
		padding: 30px 0 40px 0;
	}

	.tat-page-title {
		font-family: "TATSana Chon", sans-serif;
		font-weight: 600;
		font-size: 24px;
		color: #0065b4;
		text-align: center;
		line-height: 100%;
		padding: 10px 0 30px 0;
	}

	.tat-contact-left {
		padding: 25px 0 0 25px;
	}

	.tat-contact-left a { text-decoration: underline; }
	.tat-contact-left a:hover { text-decoration: none; }

	.tat-contact-right {
		padding: 0 25px 0 25px;
	}

	/* TAT POST APPLICATION */

	.tat-post-apply {
		padding: 0 25px 0 25px;
	}

	.tat-apply-button {
		background: rgb(0,121,215);
		background: -moz-linear-gradient(180deg, rgba(0,121,215,1) 0%, rgba(0,101,180,1) 100%);
		background: -webkit-linear-gradient(180deg, rgba(0,121,215,1) 0%, rgba(0,101,180,1) 100%);
		background: linear-gradient(180deg, rgba(0,121,215,1) 0%, rgba(0,101,180,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0079d7",endColorstr="#0065b4",GradientType=1); 
		font-family: "TATSana Chon", sans-serif;
		font-size: 20px;
		color: #fff;
		line-height: 100%;
		padding: 20px 25px 20px 25px;
		width: auto;
		border-radius: 6px;
		box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px;
		text-shadow: rgba(0, 0, 0, 0.1) 0px 1px 5px;
		margin: 20px 20px 15px auto;
		transition: transform .2s;
		display: flex;
		text-align: center;
	}

	.tat-apply-button:hover {
		transform: scale(1.01);
		transition: transform .2s;
	}

	.tat-apply-icon {
		width: auto;
		height: 20px;
		margin: 0 12px 0 auto;
	}

	/* TAT CATEGORY */

    .tat-cat-title-wrapper {
		padding: 50px 0 10px 0;
		margin: 0px 25px 0px 25px;
		width: auto;
	}
		
	.tat-cat-title-wrapper-news {
		padding: 50px 0 30px 0;
		margin: 0px 20px 0px 0px;
		width: auto;
	}

	.tat-cat-title {
		font-family: "TATSana Chon", sans-serif;
		font-weight: 600;
		font-size: 18px;
		color: #0065b4;
		text-align: left;
	}

	.tat-cat-more {
		float: right;
		width: fit-content;
		font-weight: 600;
		line-height: 110%;
		border-bottom: 1px solid #0065b4;
	}

	/* TAT POST */

	.tat-post-wrapper {
		background: #fff;
		width: auto;
		text-align: left;
		padding: 35px 25px 15px 25px;
		margin: auto 25px auto 25px;
		border-radius: 10px;
		box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 8px;
	}

	.tat-post-bg {
		background: #f0f0f0 url(https://www.tiewpakklang.com/assets/img/section-pattern.png) top center no-repeat;
		background-size: cover;
		width: auto;
		padding: 50px 0 50px 0;
	}

	.tat-post-title {
		font-family: "TATSana Chon", sans-serif;
		font-weight: 600;
		font-size: 20px;
		color: #222;
		text-align: center;
		line-height: 135%;
		padding: 0px 0 25px 0;
		border-bottom: 1px solid #eee;
		margin: 0 0 30px 0;
	}

	.tat-post-wrapper img {
		margin: 0 0 30px 0;
	}

	.tat-post-wrapper p {
		font-family: "TATSana Suksa", sans-serif;
		margin: 0 0 20px 0;
		line-height: 175%;
	}
		
	.tat-post-wrapper iframe {
		width: 100%;
		height: 180px;
		margin: auto auto 20px auto;
	}

	/* TAT ACTIVITY POST */

	.tat-acti-post-wrapper {
		background: #f9f9f9 url(https://www.tiewpakklang.com/assets/img/section-pattern.png) top center no-repeat;
		background-size: cover;
		padding: 0px 0 30px 0;
		margin: -40px 0 0 0;
	}

	/* TAT ROUTE POST */

	.tat-route-post .wp-block-latest-posts__post-title {
		font-family: "TATSana Chon", sans-serif;
		font-weight: 600;
		font-size: 18px;
		display: none;
		padding: 0 0 22px 0;
		margin: -85px 0 0 0;
		transition: .5s;
		color: #fff;
		text-shadow: rgba(0, 0, 0, 0.9) 0px 1px 8px;
	}

	.tat-route-post .wp-block-latest-posts__post-title:hover {
		display: none;
		padding: 0 0 0 0;
		margin: -85px 0 0 0;
		border: 0;
	}

	.tat-route-post { margin: auto 5px 0px 25px; transition: .3s; }
	.tat-route-post img { border-radius: 6px; transition: .3s; }
	/*.tat-route-post a { margin: auto; border-radius: 9px; transition: .3s; box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px; }*/
	.tat-route-post a:hover { border-radius: 9px; transition: .3s; border: 3px solid #81b8e4; }
	.tat-route-post a { margin: 10px auto 0px auto; border-radius: 9px; transition: .3s; box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px; }

	/* TAT ROUTE POST PAGE */

	.tat-route-post-page .wp-block-latest-posts__post-title {
		font-family: "TATSana Suksa", sans-serif;
		font-weight: 600;
		font-size: 18px;
		display: none;
		padding: 0 0 22px 0;
		margin: -95px 0 10px 0;
		transition: .5s;
		color: #fff;
		text-shadow: rgba(0, 0, 0, 0.9) 0px 1px 8px;
	}

	.tat-route-post-page .wp-block-latest-posts__post-title:hover {
		display: none;
		padding: 0 0 22px 0;
		margin: -95px 0 10px 0;
		border: 0;
	}

	.tat-route-post-page-wrapper {
		width: auto;
	}

	.tat-route-post-page { margin: auto 5px 0px 25px; transition: .3s; }
	.tat-route-post-page img { border-radius: 6px; transition: .3s; }
	.tat-route-post-page a { margin: 10px auto 0px auto; border-radius: 9px; transition: .3s; box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px; }
	.tat-route-post-page a:hover { margin: auto auto 30px auto; border-radius: 9px; transition: .3s; border: 3px solid #81b8e4; }

	/* TAT NEWS POST */

	.tat-news-post-wrapper {
		background: #f6f6f6 url(https://www.tiewpakklang.com/assets/img/section-pattern.png) top center no-repeat;
		background-size: cover;
		padding: 0px 0 40px 0;
	}

	.tat-news-post .wp-block-latest-posts__post-title {
		font-family: "TATSana Chon", sans-serif;
		font-weight: 600;
		font-size: 16px;
		line-height: 125%;
	}

	.tat-news-post .wp-block-latest-posts__post-date {
		font-weight: 400;
		font-size: 12px;
	}

	.tat-news-post img { border-radius: 6px; }

	.tat-news-post a { margin: 0 0 0 0; transition: .3s; }
	.tat-news-post a:hover { margin: -3px 0 0 0; transition: .3s; }

	.tat-news-post a img { border-radius: 6px; transition: .3s; }
	.tat-news-post a:hover img { border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px; transition: .3s; }

	/* TAT FOOTER */

	.tat-footer-bg {
		background: #222;
		width: auto;
		padding: 40px 0 50px 0;
	}

	.tat-footer {
		width: auto;
		color: #fff;
		display: grid;
		grid-template-columns: auto;
		font-size: 11px;
	}

	.tat-footer a {
		color: #fff;
		text-decoration: underline;
		text-decoration-color: #0065b4;
	}

	.tat-footer a:hover {
		color: #fff;
		text-decoration: none;
	}

	.tat-footer-logo {
		width: auto;
		height: 30px;
		margin: auto auto 6px auto;
	}

	.tat-footer-left {
		text-align: center;
	}

	.tat-footer-right {
		text-align: center;
	}

	.tat-m { display: block; }
	.tat-pc { display: none; }
		
	/* TAT PAGE VIEW */

	.epvc-post-count {
		margin: 0 0 20px 0;
		vertical-align: middle;
		color: #999;
	}

	.epvc-eye {
		padding: 4px 0 0 0;
		margin: 0;
		line-height: 100%;
	}

	.epvc-count::before {
		content: "เข้าชม";
	}

	.epvc-count {
		line-height: 100%;
		margin: -20px 0 0 0;
	}
		
}

/* FONT */

@font-face {
    font-family: 'TATSana Chon';
    src: url('https://www.tiewpakklang.com/assets/font/tatsncbold.woff2') format('woff2'),
        url('https://www.tiewpakklang.com/assets/font/tatsncbold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TATSana Chon';
    src: url('https://www.tiewpakklang.com/assets/font/tatsncregular.woff2') format('woff2'),
        url('https://www.tiewpakklang.com/assets/font/tatsncregular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TATSana Suksa';
    src: url('https://www.tiewpakklang.com/assets/font/tatsnssbold.woff2') format('woff2'),
        url('https://www.tiewpakklang.com/assets/font/tatsnssbold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TATSana Suksa';
    src: url('https://www.tiewpakklang.com/assets/font/tatsnssregular.woff2') format('woff2'),
        url('https://www.tiewpakklang.com/assets/font/tatsnssregular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}