/*
Theme Name: TheThailink
Theme URI: https://www.Thaidit.co.th
Author: TheThailink
Author URI: https://www.Thethailink.com
Description: TheThailink.com ผู้ให้บริการทำเว็บไซต์ธุรกิจ เว็บไซต์บริษัท เว็บไซต์ส่วนบุคคล โดย บริษัท ไทยดิท คอร์ปอเรชั่น จำกัด Thaidit.co.th โทร.099-185-8000
Version: 2024.11
License: Proprietary License
License URI: -
*/

dd,
dl,
dt,
li,
ol,
p,
ul {
  margin-block-start: 0
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%
}

*,
::after,
::before {
  box-sizing: border-box
}

body {
  margin: 0;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	word-break: break-word;
}

[hidden] {
  display: none
}

a {
  background-color: transparent;
  text-decoration: none
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
  color: inherit;
  text-decoration: none
}

[type=button]:focus:not(:focus-visible),
[type=submit]:focus:not(:focus-visible),
a:not([href]):not([tabindex]):focus,
button:focus:not(:focus-visible) {
  outline: 0
}

img {
  border-style: none;
  height: auto;
  max-width: 100%
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block-start: 0.5rem;
  margin-block-end: 1rem;
  font-weight: 500;
  line-height: 1.2
}

h1 {
  font-size: 2.5rem
}

h2 {
  font-size: 2rem
}

h3 {
  font-size: 1.75rem
}

h4 {
  font-size: 1.5rem
}

h5 {
  font-size: 1.25rem
}

h6 {
  font-size: 1rem
}

p {
  margin-block-end: 0.9rem
}

label {
  display: inline-block;
  line-height: 1;
  vertical-align: middle
}

[type=button],
[type=submit],
button {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  padding: .5rem 1rem;
  font-size: 1rem;
  border-radius: 3px;
  transition: .3s
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
  width: 100%;
  border: 1px solid #666;
  border-radius: 3px;
  padding: .5rem 1rem;
  transition: .3s
}

input[type=date]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
  border-color: #333
}

button,
input {
  overflow: visible
}

button,
select {
  text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
  width: auto;
  -webkit-appearance: button
}

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
  color: #fff;
  text-decoration: none
}

[type=button]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
  cursor: pointer
}

textarea {
  overflow: auto;
  resize: vertical
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

select {
  display: block
}

dd,
dl,
dt,
li,
ol,
ul {
  margin-block-end: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0
}

/* theme */
div.heateor_sss_follow_ul a, div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a.heateor_sss_facebook .heateor_sss_svg {
  background-color: #1877f2 !important;
}
.dialog-close-button.dialog-lightbox-close-button {
  padding: 6px;
  border-radius: 50px;
}

/* design function */
.testi-section {
	background: 
		linear-gradient( 
			90deg, 
			#C49D40 0%, 
			#F2E394 51%, 
			#C49D40 100%
		) !important;
}
.testi > .elementor-widget-container, .testi .elementor-button-link, .testi-call-button .elementor-cta__button{
	background: 
		linear-gradient(
			90deg,
			#C49D40 0%, 
			#F2E394 51%, 
			#C49D40 100%
		);
}
.testi-text .elementor-heading-title {
	color: #c39448;
	background: #c39448;
	background: 
		linear-gradient(
			90deg,
			#C49D40 0%, 
			#F2E394 51%, 
			#C49D40 100%
		);
		background-clip: border-box;
	background-clip: border-box;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.image-1-1 img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* text lines */
.text-one-line .elementor-heading-title {
	white-space: normal !important;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.text-two-lines .elementor-heading-title {
	white-space: normal !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.text-three-lines .elementor-heading-title {
	white-space: normal !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}