/* Import Kanit Font */
@import url('https://fonts.googleapis.com/css?family=Kanit:100,200,300,400,500,600,700&subset=thai');

/* Import Sarabun Font */
@import url('https://fonts.googleapis.com/css?family=Sarabun:100,200,300,400,500,600,700,800&display=swap');

html {
	overflow-x: hidden;
}

body {
	background-repeat: repeat;
	background-size: 60%;
	background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Kanit', sans-serif;
	margin: 0 0 35px;
	letter-spacing: 1px;
}

p {
	color: #434343;
}

#all-wrap {
	min-height: 100%;
}

.go-top-btn-container {
	position: fixed;
	bottom: 15px;
	right: 15px;
	z-index: 1000;
	width: 50px;
	height: 50px;
	background-color: #2b3143;
	color: #fff;
	border-radius: 100%;
	display: none;
}

.go-top-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	color: #fff;
	font-size: 1.5rem;

	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;

	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}

.go-top-btn:hover,
.go-top-btn:focus {
	color: #fff;
}


.go-top-btn-container.active {
	display: block;
}

.go-top-btn-container .go-top-btn {
	opacity: 0;
}

.go-top-btn-container.active .go-top-btn {
	opacity: 1;
}


.cover-container {
	flex: 0 0 100%;
	width: 100%;
	position: relative;
	padding-top: 35.5%;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-position: center;
	-moz-background-position: center;
	background-size: 120%;
	-webkit-background-size: 120%;
	-moz-background-size: 120%;
}

.cover-out-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
}

.cover-in-container{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;

	transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);

	filter: blur(15px);
	-webkit-filter: blur(15px);
	-moz-filter: blur(15px);

	background-repeat: no-repeat;
	background-color: rgba(0,0,0,.4);
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;

	background-position: center;
	-webkit-background-position: center;
	-moz-background-position: center;
}

.cover-in-container:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.2);
	z-index: 0;
}

.cover-img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;

	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}

.cover-banner-container,
.each-content-box-container {
	margin-bottom: 30px;
}

.head-article-txt {
	font-family: 'Kanit', sans-serif;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 1.25;
}

.user-container {
	width: 100%;
	position: relative;
}

.each-user-container {
	display: inline-block;
	vertical-align: middle;
}

.user-profile-container {
	width: 8%;
	margin-right: 15px;
}

.user-info-container {
	width: 80%;
}

.profile-container {
	position: relative;
	width: 100%;
	padding-top: 100%;
}

.profile-img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 100%;
	border: 1px solid #434343;

	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}

.nickname-txt,
.follow-btn-link {
	display: inline-block;
	vertical-align: middle;
}

.nickname-txt {
	margin-right: 10px;
	color: #434343;
	font-family: 'Kanit', sans-serif;
	font-size: 1rem;
	font-weight: 500;
}

.nickname-txt:hover,
.nickname-txt:focus {
	color: #434343;
}

.follow-btn-link {
	font-family: 'Kanit', sans-serif;
	font-size: .8rem;
	padding: .2rem .5rem;
	border: 1px solid #F21529;
	border-radius: 5px;
	color: #F21529;
}

.follow-btn-link:hover,
.follow-btn-link:focus {
	color: #F21529;
	text-decoration: none;
}

.each-info-line-container {
	margin-bottom: 5px;
}

.each-info-line-container:last-child {
	margin-bottom: 0;
}

.sub-data-txt {
	font-family: 'Kanit', sans-serif;
	font-size: .8rem;
	color: rgba(0,0,0,.54);
	margin-bottom: 0;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
}

.article-content-txt-container p,
.article-content-txt-container span,
.article-content-txt-container label,
.article-content-txt-container h1,
.article-content-txt-container h2,
.article-content-txt-container h3,
.article-content-txt-container h4,
.article-content-txt-container h5 {
	font-family: 'Sarabun', sans-serif !important;
	color: #434343;
	line-height: 2;
}

.article-content-txt-container p,
.article-content-txt-container h1,
.article-content-txt-container h2,
.article-content-txt-container h3,
.article-content-txt-container h4,
.article-content-txt-container h5 {
	font-family: 'Sarabun', sans-serif !important;
	display: block !important;
}

.article-content-txt-container a {
	font-family: 'Sarabun', sans-serif !important;
	line-height: 2;
}

.article-content-txt-container p,
.article-content-txt-container span,
.article-content-txt-container label
.article-content-txt-container a {
	font-size: 1.4rem;
	font-weight: 300;
}

.article-content-txt-container img {
	max-width: 100% !important;
	object-fit: contain !important;
}

.each-relate-cover-pic {
	position: relative;
	width: 100%;
	padding-top: 53.5%;
	margin-bottom: 15px;
}

.each-relate-cover {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;

	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}

.each-relate-name {
	font-family: 'Kanit', sans-serif;
	color: #434343;
	font-weight: 400;
	font-size: 1.3rem;
	margin-bottom: 0;
}

.each-relate-creator {
	font-family: 'Kanit', sans-serif;
	font-size: .8rem;
	color: rgba(0,0,0,.54);
	margin-bottom: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.each-relate-link:hover,
.each-relate-link:focus {
	color: #434343;
	text-decoration: none;
}

.each-relate-creator,
.each-relate-price-container,
.each-relate-price-txt,
.each-relate-price-img {
	display: inline-block;
	vertical-align: middle;
}

.each-relate-creator {
	width: 100%;
}

.each-relate-price-container {
	width: 35%;
	text-align: right;
	color: #434343;
}

.each-relate-price-img {
	width: 20px;
	margin-right: 3px;
}


.download-link {
	display: block;
}

.download-link img {
	width: 100%;
	display: block;
}

.download-banner-d,
.download-banner-m {
	display: none;
}


.relate-head-txt {
	font-family: 'Kanit', sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 0;
}

.relate-head-txt-container {
	padding-bottom: 15px;
	margin-bottom: 30px;
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.share-content-container {
	margin-bottom: 15px;
}

.share-btn {
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	background-color: #F21529;
	width: 15%;
	border-radius: 5px;
	margin-bottom: 5px;
	padding: .25rem 0;
	text-align: center;
}

.share-btn:hover,
.share-btn:focus {
	color: #fff;
}

.share-btn.facebook {
	background-color: #3b5998;
}

.share-btn.twitter {
	background-color: #00b2ff;
}

.share-btn.line {
	background-color: #00c300;
}

.each-relate-btn {
	margin-bottom: 30px;
}

.manage-container {
	text-align: right;
	margin-bottom: 15px;
	display: none;
}

.manage-container.active {
	display: block;
}

.each-manage-container {
	display: inline-block;
	vertical-align: middle;
}

.edit-article-link {
	color: #434343;
}

/* Article Toggle Switcher */
.toggle-article-switch-container {
	position: relative;
	width: 60px;
	height: 34px;
	margin-left: 10px;
	display: inline-block;
	vertical-align: middle;
}

.toggle-article-switcher {
	position: absolute;
	opacity: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.toggle-article-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 34px;

	transition: .4s;
	-webkit-transition: .4s;
	-moz-transition: .4s;
}

.toggle-article-slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	border-radius: 50%;

	transition: .4s;
	-webkit-transition: .4s;
	-moz-transition: .4s;
}

.toggle-article-switcher:checked + .toggle-article-slider {
	background-color: #F21529;
}

.toggle-article-switcher:focus + .toggle-article-slider {
	box-shadow: 0 0 1px #F21529;
}

.toggle-article-switcher:checked + .toggle-article-slider:before {
	transform: translateX(26px);
	-webkit-transform: translateX(26px);
	-moz-transform: translateX(26px);
}

.toggle-article-label {
	margin-left: 5px;
	margin-bottom: 0;
	font-size: 1.2rem;
	color: #797979;
	vertical-align: middle;
}
/* /Article Toggle Switcher */

.ads_responsive_1 {
	margin: auto;
}

.each-service-cover-pic {
	padding-top: 100%;
	margin-bottom: 5px;
}

.each-service-detail-txt {
	font-family: 'Sarabun', sans-serif;
	line-height: 1.5;
	max-height: 38px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-moz-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.service-cover-video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	background-color: #2b3143;

	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}

.each-service-name-txt {
	font-size: 1rem;
	display: block;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	max-height: 48px;
	line-height: 24px;
}

.side-service-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.each-side-service-info-container {
	-ms-flex: 0 0 40%;
	flex: 0 0 40%;
	max-width: 40%;

}

.each-side-service-right {
	-ms-flex: 0 0 60%;
	flex: 0 0 60%;
	max-width: 60%;
}


.coin-img-service,
.service-price-txt,
.rating-stars-container,
.rating-txt {
	display: inline-block;
	vertical-align: middle;
}

.coin-img-service {
	width: 20%;
}

.service-price-txt {
	width: 70%;
	margin-bottom: 0;
	color: #FFCE48;
	padding-left: 5px;
	font-size: .8rem;
}

.rating-stars-container i {
	font-size: .5rem;
	color: #C4C4C4;
}

.rating-stars-container i.active {
	color: #FFCE48;
}

.rating-txt {
	color: #FFCE48;
	padding-right: 5px;
	font-size: .8rem;
}

.each-service-info-contain {
	margin-top: 5px;
}

.lotties-text-renderer {
	width: 60%;
	margin: auto;
	position: relative;
	min-height: 300px;
}

.lotties-text-renderer svg {
	position: absolute;
	top: 50%;
	left: 50%;

	transform: translate(-50%, -50%) !important;
	-webkit-transform: translate(-50%, -50%) !important;
	-moz-transform: translate(-50%, -50%) !important;
}


/* Article Payment */
.pay-article-page-container {
	max-width: 100% !important;
	margin: 60px auto !important;
	padding: 1.25rem !important;
}

.pay-article-page-container .my-coin-collect-container {
	display: inline-block !important;
}

.pay-article-page-container .my-coin-box-txt {
	color: #fff !important;
	font-weight: 600 !important;
	font-size: .9rem !important;
	display: inline-block !important;
}

.pay-article-page-container .pop-article-title {
	font-family: 'Kanit', sans-serif !important;
	font-weight: 500 !important;
	font-size: 1.5rem !important;

}

.pay-article-page-container .pop-article-txt {
	font-family: 'Kanit', sans-serif !important;
	font-weight: 400 !important;
	font-size: 1.4rem !important;
}

.pay-article-page-container .price-box-collection-link {
	min-width: 140px !important;
	padding: .25rem .75rem !important;
}

.pay-article-page-container .price-box-txt {
	color: #fff !important;
	font-family: 'Kanit', sans-serif !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	display: inline-block !important;
}
/* //Article Payment */


.all-relate-content-container {
	margin: 25px 0;
}

.article-premium-tag-img {
	position: absolute;
	top: -5px;
	left: 5px;
	z-index: 1;
}



@media(min-width: 320px) {
	.download-banner-m {
		display: block;
	}

	.cover-container {
		padding-top: 53.5%;
	}

	.head-article-txt {
		font-size: 1.5rem;
	}

	.cover-banner-container,
	.each-content-box-container {
		margin-bottom: 20px;
	}

	.user-profile-container {
		width: 15%;
	}

	.user-info-container {
		width: 70%;
	}

	.article-content-txt-container p,
	.article-content-txt-container span,
	.article-content-txt-container label
	.article-content-txt-container a {
		font-size: 1rem;
	}

	.ads_responsive_1 {
		width: 100%;
		min-height: 55px;
		max-height: 100px;
	}


	.pay-article-page-container .pop-article-txt {
		font-size: 1rem !important;
	}

	.each-relate-name {
		font-size: .85rem;
	}

	.relate-head-txt {
		font-size: 1.2rem;
	}
}

@media(min-width: 500px) {

	.ads_responsive_1 {
		width: 468px;
		height: 60px;
	}
}

@media(min-width: 768px) {
	.article-content-txt-container p,
	.article-content-txt-container span,
	.article-content-txt-container label
	.article-content-txt-container a {
		font-size: 1.2rem;
	}

	.lotties-text-renderer {
		width: 40%;
	}

	.each-relate-name {
		font-size: 1.2rem;
	}

	.relate-head-txt {
		font-size: 1.5rem;
	}
}


@media(min-width: 800px) {
	.ads_responsive_1 {
		width: 728px;
		height: 90px;
	}
}


@media(min-width: 992px) {
	.download-banner-m {
		display: none;
	}

	.download-banner-d {
		display: block;
	}

	.share-btn {
		width: 10%;
	}

	.cover-container {
		padding-top: 32.5%;
	}

	.head-article-txt {
		font-size: 2.5rem;
	}

	.cover-banner-container,
	.each-content-box-container {
		margin-bottom: 30px;
	}

	.user-profile-container {
		width: 8%;
	}

	.user-info-container {
		width: 80%;
	}

	.article-content-txt-container p,
	.article-content-txt-container span,
	.article-content-txt-container label
	.article-content-txt-container a {
		font-size: 1.4rem;
	}


	.pay-article-page-container .pop-article-txt {
		font-size: 1.4rem !important;
	}

	.pay-article-page-container {
		max-width: 80% !important;
	}

}



@media(min-width: 1200px) {
	.ar-container {
		max-width: 900px !important;
	}
}


@media(min-width: 1900px) {
	.cover-container {
		padding-top: 24.5%;
	}
}
