html,
body {
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
}
body {
  background: #222;
  font: 300 1rem/1.5 "Kanit";
}
a {
  color: #fff;
  -webkit-transition: all 300ms;
  transition: all 300ms;
}
a:hover {
  text-decoration: none;
  color: #fc840c;
}
ul {
  margin: 0;
  padding: 0;
}
.container {
  width: 1440px;
}
.wrapper.all {
  padding: 40px 20px;
  background-size: cover;
}
.allpage .top {
  background: url(../images/bg1.png) #fc840c no-repeat left top;
  background-size: auto 320%;
  position: static;
}
.box-detail {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1.8;
}
.box-detail h1 {
  color: #fc840c;
  line-height: 1.4;
  margin: 0 0 20px;
  font-size: 30px;
  padding: 0;
}
.box-detail a {
  color: #fc840c;
}
.box-detail a:hover {
  text-decoration: underline;
}

	#banner-desktop{display:block}
	#banner-mobile{display:none}


@media only screen and (max-width: 767px) {
  .box-detail {
    padding: 20px;
  }
  .box-detail h1 {
    font-size: 24px;
  }
}
input[type="text"] {
  -webkit-appearance: none;
  -webkit-padding-start: 2px;
  -moz-padding-start: 2px;
  background: #fff;
  border: none;
  border-radius: 8px;
  color: #555;
  font-size: inherit;
  margin: 0;
  height: 40px;
  width: 100%;
  padding: 0 10px;
  font-family: Kanit;
  font-weight: 200;
}
.select-box {
  position: relative;
}
.select-box select {
  -webkit-appearance: none;
  -webkit-padding-start: 2px;
  -moz-padding-start: 2px;
  background: #fff;
  border: none;
  border-radius: 8px;
  color: #555;
  font-size: inherit;
  margin: 0;
  height: 40px;
  width: 100%;
  padding: 0 10px;
  font-family: Kanit;
  font-weight: 200;
}
.select-box select:focus {
  -webkit-appearance: none;
}
.select-box:after {
  content: "";
  border: 6px solid transparent;
  border-top-color: #ffc129;
  position: absolute;
  top: 40%;
  right: 15px;
  height: 0;
}
.btn-main {
  background: #fc840c;
  border: none;
  border-radius: 7px;
  padding: 8px 30px;
  color: #fff;
}
header {
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
header .logo {
  width: 100px;
}
header .logo img {
  display: block;
  width: 100%;
}
header .d-flex {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
header .menu-top {
  font-size: 1.3rem;
  padding-left: 100px;
}
header .menu-top ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
}
header .menu-top ul li {
  list-style: none;
}
header .menu-top ul li a:hover {
  color: #ffc129;
}
.menu-hamberger {
  display: none;
}
.box-tabien {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.tabien-search {
  background: #303030;
  padding: 100px 20px;
  width: 27%;
  text-align: center;
}
.tabien-search h2 {
  color: #fc840c;
  font-size: 1.4rem;
}
.tabien-section {
  margin: 0 0 50px;
  padding-right: 15px;
}
.tabien-section h2 {
  margin: 0 0 15px;
  color: #fff;
}
.tabien-list {
  width: 72%;
}
.tabien-list ul {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr) [4];
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.tabien-list ul li {
  position: relative;
}
.tabien-list ul li .special-icon {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 30px;
  height: auto;
  z-index: 1;
}
.tabien-list ul li .tabien-img {
  background: #fff;
  width: 100%;
  position: relative;
}
.tabien-list ul li .tabien-img img {
  display: block;
  width: 100%;
  height: auto;
}
.tabien-list ul li .tabien-img .tabien-number {
  width: 100%;
  height: 30px;
  top: 0;
  bottom: 0;
  margin: auto;
  position: absolute;
  text-align: center;
  color: #222;
  font-weight: 500;
  font-size: 1.4rem;
}
.tabien-list ul li .tabien-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 10px 0 0;
  opacity: 0.8;
}
.tabien-scroll {
  /*height:1080px;overflow-y:scroll;*/
  overflow-x: hidden;
  margin: 100px 0 100px 40px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.tabien-scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  margin: 0 0 10px;
}
.tabien-scroll::-webkit-scrollbar-track {
  background: none;
  bottom: 10px;
  right: 20px;
}
.tabien-scroll::-webkit-scrollbar-thumb {
  background-color: #666;
  outline: none;
  border-radius: 4px;
}
.tabien-scroll::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}
@media only screen and (max-width: 989px) {
  ::-webkit-scrollbar,
  ::-webkit-scrollbar-track,
  ::-webkit-scrollbar-thumb {
    display: none;
  }
}
.banner-slide {
  height: 48vw;
  overflow: hidden;
}
.banner-slide img {
  display: block;
  width: 100%;
}
.teaser {
  background: url("../images/bg1.png") #fc840c no-repeat left top;
  padding: 100px 20px;
  background-size: 55vw auto;
}
.teaser ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.teaser ul li {
  list-style: none;
}
.teaser ul li img {
  display: block;
  width: 100%;
}
.tabien-search .search-form {
  padding: 0 10px;
}
.tabien-search .p {
  width: 100%;
  margin: 0 0 15px;
}
.tabien-search .frm-row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr) [2];
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.tabien-search .btn-main {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.social-left {
  color: #fff;
  padding: 100px 0 0;
}
.social-left a {
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 1.2rem;
}
.social-left p img {
  display: block;
  width: 45px;
}
.tabien-ig {
  padding: 50px 0;
  background: #fc840c;
}
.tabien-ig h2 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 20px;
}
.tabien-ig ul {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr) [3];
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tabien-ig ul li {
  list-style: none;
  width: 100%;
}
.tabien-ig ul li img {
  display: block;
  width: 100%;
  width: 100%;
}
footer {
  background: #222;
  padding: 50px 0;
  color: #fff;
}
footer a {
  color: #fff;
}
footer .menu-foot ul li {
  list-style: none;
}
footer .menu-foot ul li h3 {
  font-size: 1.2rem;
  margin: 0 0 20px;
}
footer .menu-foot ul li p {
  margin: 0 0 10px;
}
footer .contact-foot p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}
footer .contact-foot p img {
  height: 40px;
  display: block;
}
footer .social-foot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  margin: 40px 0 0;
}
footer .social-foot img {
  height: 40px;
}
.shadow {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  display: none;
}
.horo-form {
  padding: 20px 0 30px;
}
.horo-form .column {
  padding: 0;
}
.horo-form h2 {
  color: #fc840c;
  margin: 0 0 15px;
  font-size: 26px;
}
.horo-form .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}
.horo-form .flex .column {
  padding: 0;
}
.horo-form .flex .column:first-child {
  width: 500px;
}
.horo-form .flex .column:last-child {
  width: 100px;
  margin-left: 10px;
}
.horo-form .flex .column input,
.horo-form .flex .column button {
  width: 100%;
}
.horo-result {
  color: #fff;
  position: relative;
  background: #000;
  background: url("../images/border.jpg") #000 no-repeat center top;
  background-size: 100%;
  min-height: 500px;
  padding: 12% 2%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.horo-result h1 {
  font-size: 30px;
  color: #fc840c;
  margin: 0 0 15px;
}
.horo-result h3 {
  font-size: 22px;
}
.horo-result .rs {
  padding: 0 10%;
  line-height: 2;
  font-size: 18px;
}
.horo-result .rs .circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  margin: 0px auto 10px;
  position: relative;
  color: #000;
}
.horo-result .rs .circle img {
  display: block;
  width: 100%;
}
.horo-result .rs .circle .in-circle {
  position: absolute;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: auto;
  top: 0;
  bottom: 0;
  text-align: center;
  width: 100%;
}
.horo-result .rs-banner {
  width: 70%;
  display: block;
  margin: 40px auto 0;
  padding: 15px 20px 10px 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  background: url("../images/horo-bg2.png") #222 no-repeat left -50% center;
  background-size: 44%;
}
.horo-result .rs-banner h3,
.horo-result .rs-banner h4 {
  font-weight: 300;
  padding: 10px 0;
}
.horo-result .rs-banner h3 span,
.horo-result .rs-banner h4 span {
  color: #ffc129;
}
.horo-result .rs-banner h3 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #fc840c;
}
.horo-result .rs-banner:hover {
  color: #fff;
}
@media only screen and (max-width: 767px) {
  .wrapper.all {
    padding: 20px 0;
  }
  .horo-form .flex {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .horo-form .flex .column:first-child {
    width: calc(100% - 110px);
  }
  .horo-form .flex .column:last-child {
    width: 100px;
  }
  .horo-form .flex .column input,
  .horo-form .flex .column button {
    width: 100%;
  }
  .horo-result {
    padding: 15% 3%;
  }
  .horo-result h1 {
    font-size: 26px;
  }
  .horo-result h3 {
    font-size: 18px;
  }
  .horo-result .rs {
    padding: 0 20px;
  }
  .horo-result .rs .circle {
    width: 260px;
    height: 260px;
  }
  .horo-result .rs-banner {
    width: 100%;
    padding: 10px;
  }
  .horo-result .rs-banner h3 {
    font-size: 18px;
  }
  .horo-result .rs-banner h4 {
    font-size: 16px;
  }
}
@media only screen and (max-width: 1196px) {
  .menu-hamberger {
    display: block;
    width: 45px;
    padding: 5px 10px;
    background: #fc840c;
    position: fixed;
    top: 15px;
    right: 10px;
    z-index: 12;
  }
  .menu-hamberger img {
    display: block;
    width: 100%;
  }
  .container {
    width: 98%;
    max-width: none;
  }
  header {
    padding: 5px 0;
    background: rgba(0, 0, 0, 0.5);
  }
  header .logo {
    width: 60px;
  }
  header .menu-top {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background: #fc840c;
    z-index: 13;
    padding: 0;
    width: 300px;
    right: -100%;
    -webkit-transition: all 300ms;
    transition: all 300ms;
  }
  header .menu-top.show {
    right: 0;
  }
  header .menu-top ul {
    display: block;
    width: 100%;
  }
  header .menu-top ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  header .menu-top ul li a {
    width: 100%;
    display: block;
    padding: 20px 25px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
}
@media only screen and (max-width: 767px) {
  .teaser {
    padding: 20px;
  }
  .teaser ul {
    display: block;
    text-align: center;
  }
  .teaser ul li {
    margin: 0 0 15px;
  }
  .box-tabien {
    display: block;
  }
  .tabien-search {
    background: none;
    width: 100%;
    padding: 20px 0;
  }
  .tabien-search .search-form {
    padding: 0;
  }
  .social-left {
    padding: 40px 0 0 10vw;
  }
  .social-left p {
    text-align: center;
  }
  .tabien-list {
    width: 100%;
    padding: 20px 0 0;
  }
  .tabien-list ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1.5%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .tabien-list ul li {
    width: 23.5%;
    margin-bottom: 15px;
  }
  .tabien-list ul li .special-icon {
    width: 15px;
  }
  .tabien-list ul li .tabien-img .tabien-number {
    font-size: 0.9rem;
  }
  .tabien-list ul li .tabien-bottom {
    display: block;
  }
  .tabien-list ul li .tabien-bottom span {
    display: block;
    width: 100%;
    font-size: 0.75rem;
  }
  .tabien-scroll {
    height: auto;
    overflow-y: hidden;
    margin: 0;
  }
  .tabien-ig ul {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
  }
  footer .menu-foot ul li {
    margin: 0 0 20px;
  }
  footer .menu-foot ul li p {
    display: inline-block;
    margin-right: 20px;
  }
}
.menu-left {
  border: 1px solid #111;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  min-height: 400px;
}

.menu-left ul li {
  list-style: none;
  width: 100%;
  background-color: #fcf6f6;
  min-height: 40px;
  text-align: left;
  padding: 8px 5px 5px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
  color: #fc840c;
}
.menu-left ul li:hover {
  color: #fff !important;
  background-color: #f3b707;
}
.menu-left ul li a:hover {
  color: #fff !important;
}
.menu-left ul li a {
  color: #fc840c;
}
.btn-horo {
  background-color: #08f40d;
  padding: 5px 5px 5px 5px;
  border-radius: 8px;
}

.menu-left-icon {
	background: #fff;
	border-radius: 5px;
	position: relative;
	display: none;
	height: 38px;
	margin: 0 0 20px;
}

.menu-left-icon:after {
	content: '';
	height: 0;
	display: block;
	position: absolute;
	right: 15px;
	top: 42%;
	bottom: 0;
	border: 7px solid transparent;
	border-top-color: #fc840c;
}

.menu-left-icon.clicked:after {
	border-top-color: transparent;
	border-bottom-color: #fc840c;
	top: 25%;
}

@media only screen and (max-width: 768px) {
	.tabien-list ul li .tabien-bottom {
		text-align: center;
	}
	.menu-left {
		min-height: 0;
	}
	.menu-left ul {
		display: none;
		/* height: 300px;
		overflow: scroll;
		margin-bottom: 20px; */
	}
	.menu-left-icon {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#banner-desktop{display:none}
	#banner-mobile{display:block}
}
.tabien-list ul li .tabien-img img.new-label {
  width: 25%;
  height: auto;
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
}


.div-read-all {
  width: 100%;
  display: flex;
  background-color: #FC840C;
  text-align: center;
  line-height: 35px;
  border-radius: 10px;
  margin-top:20px;
}

.read-all {
  color: #fff;
  font-size: 24px;
  line-height: 35px;
  text-align: center;
  margin: auto;
}
.read-all:hover{color: #A4A1A1;}
.bx-captions{ background-color:#ABAAAA; font-weight:bold; color:#111}