:root {
  --color-blue: #20498e;
  --color-green: #76b72a;
  --color-red: #c71517;
  --color-yellow: #fad53d;
  --color-dark-text: #2e383c;
  --color-white-text: #ffffff;

  --map-background-color: white;
  --map-station-basic-width: 10px;
  --map-station-point-width: 19px;
  --map-line-color-yl: #fad53d;
  --map-line-color-pk: #d76886;
  --map-line-color-gr: #7ab420;
  --map-line-color-gw: #00807d;
  --map-line-color-gold: #a88b34;
  --map-line-color-white: #ffffff;
}

.container {
  position: relative;
  max-width: 1180px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.page-content {
  /* border: 1px solid #ccc; */
}

.page-content .main {
  margin-top: 20px !important;
  padding: 0 15px;
}

.main {
  margin-top: 60px;
  padding: 0 15px;
}

.main .head {
  width: 100%;
  text-align: center;
}
.main .text-white h1 {
  color: var(--color-white-text) !important;
}

.main h1 {
  color: var(--color-dark-text);
  font-size: 26px;
  text-align: center;
  position: relative;
  display: inline-block;
  margin: 0 auto;
}
.main h1::before {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -12px;
  width: 80%;
  height: 4px;
  border-radius: 100px;
  background: var(--color-yellow);
}

.main .head-promo {
  width: 100%;
  text-align: center;
}

.sitemap-wrap {
  padding: 30px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 25px;
  column-gap: 15px;
  margin: 60px 0;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.sitemap-wrap ul.item h2 {
  position: relative;
  font-weight: 400;
  font-size: 17px;
  color: #030303;
  padding-left: 15px;
  margin-bottom: 13px;
}
.sitemap-wrap ul.item h2::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 100px;
  background-color: var(--color-yellow);
}
.sitemap-wrap ul.item li {
  list-style: none;
  padding: 7px 10px 7px 20px;
  transition: 0.1s ease;
  cursor: pointer;
}
.sitemap-wrap ul.item li:hover {
  background-color: #00000010;
}
.sitemap-wrap ul.item li a,
.sitemap-wrap ul.item li {
  font-size: 14px;
  font-weight: 200;
  text-decoration: none;
  color: var(--color-dark-text);
}
.sitemap-wrap ul.item li#more-sub {
  display: grid;
  grid-template-columns: 1fr 18px;
}
.sitemap-wrap ul.item li#more-sub img {
  width: 100%;
  height: auto;
  transition: 0.1s ease;
  transform: rotate(0deg);
}
.sitemap-wrap ul.item li#more-sub[data-status="active"] > img {
  transform: rotate(180deg);
}
ul.submenu {
  margin: 6px 0 0 20px;
  overflow: hidden;
  height: 0px;
  transition: 0.1s ease;
}
ul.submenu li a,
ul.submenu li {
  font-weight: 300;
  font-size: 14px;
}

.banner-homepage {
  padding-top: 92px;
  text-align: -webkit-center;
}

/* Arrow ลูกศรหน้าแรก */
.slick-prev.slick-arrow {
  display: none !important;
}
.slick-next.slick-arrow {
  display: none !important;
}

.slick-dots {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  /* padding: 0 !important; */
  position: absolute !important;
  bottom: 15px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.slick-dots li {
  margin: 0 4px !important;
  position: revert !important;
  width: auto !important;
}

.slick-dots li button {
  background: gray;
  height: 10px !important;
  width: 10px !important;
  overflow: hidden !important;
  color: gray;
  border: 1px solid #ffffff5c !important;
  border-radius: 10px !important;
}

.slick-active button {
  background: var(--color-yellow) !important;
  color: var(--color-yellow) !important;
}

.content {
  padding-top: 20px;
  display: grid;
}

.sub-content .sub-hand {
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  color: #2e383c;
}
.sub-content .details {
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  color: #3f3f3f;
}

.content-img {
  text-align-last: center;
}
.sub-content {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 40px;
  background: #ffffff;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 12px;
}
.sub-details {
  padding-top: 25px;
  color: #2e383c;
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0.118182px;
}
.sub-details p:first-child{
  color: #2e383c;
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0.118182px;
}
.sub-details p:last-child{
  padding-top: 25px;
  color: #2e383c;
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.118182px;
}
.sub-details.text4 {
  color: #2e383c;
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0.118182px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-top: -20px;
}
.sub-menu {
  margin-top: 82px;
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  height: 55px;
  background: #2e383c;
  text-transform: uppercase;
  color: #fff;
  /* z-index: 5; */
  box-sizing: border-box;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.32);
  padding: 20px;
}
.sub-menu-item {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.sub-menu-item li {
  height: 100%;
  list-style: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: 0.1s ease;
  position: relative;
}
.sub-menu-item li .bottom-color {
  content: "";
  position: absolute;
  left: 0px;
  bottom: -14px;
  width: 100%;
  height: 3px;
  border-radius: 100px;
  background: var(--color-yellow);
}
.sub-head {
  font-size: 24px;
  color: #030303;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.118182px;
}
.content-image img {
  width: 100%;
  height: auto;
}
.content-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.content-left .content-image p {
  font-size: 18px;
  font-weight: 500;
}
.content-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.info-head .sd-head {
  color: #9b9b9b;
  font-size: 16px;
}
.info-head .header {
  color: #030303;
  font-size: 18px;
  font-weight: 500;
}
.content-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.content-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-info .info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.content-info .head-info {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: 0.118182px;
}
.content-info .info p {
  font-size: 16px;
  font-weight: 300;
}
.info-more {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-more .more-head {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: 0.118182px;
}
.info-more .more-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.info-more .more-info p:first-child {
  font-size: 16px;
  font-weight: 300;
  color: #005b96;
}
.info-more .more-info p {
  font-size: 16px;
  font-weight: 300;
}
.box-sub-menu {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}
.box-sub-menu .sub-content-menu {
  background: #f6f6f6;
  border-radius: 6px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.box-sub-menu .sub-content-menu.active {
  background: #fad53d;
}
.box-sub-menu .sub-content-menu img {
  width: 13%;
  height: auto;
}
.sub-content .sub-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sub-content .sub-image p {
  font-size: 16px;
  font-weight: 300;
}
.text-sub-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.text-sub-content .content-left .head-left {
  position: relative;
  font-size: 18px;
  font-weight: 500;
}
.text-sub-content .content-left .head-left::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 80%;
  height: 4px;
  border-radius: 100px;
  background: var(--color-yellow);
}
.text-sub-content.img1 .content-right .head-right {
  font-size: 18px;
  font-weight: 500;
}
.text-sub-content.img1 .content-right .img-content-right2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.text-sub-content.img1 .content-right .img-content-right2 img {
  width: 100%;
  height: auto;
}
.text-sub-content .content-right .head-right {
  position: relative;
  font-size: 18px;
  font-weight: 500;
}
.text-sub-content .content-right .head-right::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 80%;
  height: 4px;
  border-radius: 100px;
  background: var(--color-yellow);
}
.text-sub-content .content-left .details-left {
  font-size: 16px;
  font-weight: 300;
  margin-top: 10px;
}
.text-sub-content .content-right .details-right {
  font-size: 16px;
  font-weight: 300;
  margin-top: 10px;
}
.text-sub-content .content-left .details-left ul {
  margin-left: 20px;
}
.text-sub-content .content-left .details-left ul li {
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 0.118182px;
  color: #2E383C;
}
.text-sub-content .content-right .details-right ul {
  margin-left: 20px;
}
.text-sub-content .content-right .details-right ul li {
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 0.118182px;
  color: #2E383C;
}
.text-sub-content .content-right .details-right p {
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 0.118182px;
  color: #2E383C;
}
.sub-content .text-sub-content .content-right .img-content-right {
  position: relative;
  z-index: 1;
  align-self: center;
}
.sub-content .text-sub-content .content-right .img-content-right::after {
  position: absolute;
  z-index: -1;
  content: "";
  left: -12px;
  bottom: -5px;
  width: 100%;
  height: 200px;
  background: var(--color-yellow);
}
.text-sub-content.text1 {
  border: 1px solid #F2F2F2;
  border-radius: 8px;
  padding: 20px;
}

.text-sub-content.text2 {
  margin-top: 25px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
}
.text-sub-content.text2 .text-head {
  position: relative;
  font-size: 18px;
  font-weight: 500;
}
.text-sub-content.text2 .text-head::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 50%;
  height: 4px;
  border-radius: 100px;
  background: var(--color-yellow);
}
.text-sub-content.text2 .text-details {
  margin-left: 20px;
  margin-top: 15px;
}
.text-sub-content.text2 .text-details ul li {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.118182px;
  color: #2E383C;
}
.text-sub-content.text2 .content-left .img-content-left {
  /* position: relative; */
  /* z-index: 1; */
  align-self: center;
}
/* .text-sub-content.text2 .content-left .img-content-left::after {
  position: absolute;
  z-index: -1;
  content: "";
  left: -4px;
  bottom: -4px;
  width: 102%;
  height: 265px;
  background: var(--color-yellow);
} */
.text-sub-content.text2 .content-right .details-right {
  padding: 10px 0;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.118182px;
  color: #2e383c;
}
.text-sub-content.text3 {
  margin-top: 25px;
  /* background: #f9f9f9; */
  /* border-radius: 8px; */
  /* padding: 20px; */
}
.text-sub-content.text3 .content-left .img-content-left {
  align-self: center;
  position: relative;
  z-index: 0;
}
/* .text-sub-content.text3 .content-left .img-content-left::after {
  position: absolute;
  z-index: -1;
  content: "";
  left: -6px;
  bottom: -3px;
  width: 96%;
  height: 185px;
  background: var(--color-yellow);
} */
.text-sub-content.text3 .content-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
.text-sub-content.text3 .content-right .head-left {
  position: relative;
  font-size: 18px;
  font-weight: 500;
}
.text-sub-content.text3 .content-right .head-left::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 115%;
  height: 4px;
  border-radius: 100px;
  background: var(--color-yellow);
}
.text-sub-content.text3 .content-right .details-right {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;

  letter-spacing: 0.118182px;

  color: #2e383c;
}

@media screen and (max-width: 1180px) {
  .main {
    margin-top: 75px;
  }
  .sitemap-wrap {
    margin: 40px 0;
  }
}
@media screen and (max-width: 850px) {
  .sub-content .text-sub-content .content-right .img-content-right::after{
    position: unset;
  }
  
  .sitemap-wrap {
    margin: 20px 0;
    box-shadow: none;
  }
  .main {
    padding: 0;
  }
  .sub-menu-item{
    flex-direction: column;
    gap: 1rem;
  }
  .sub-menu-item li{
    border-bottom: 1px solid #f2f2f265;
    width: 100%;
    padding-bottom: 10px;
    justify-content: center;
  }
  .sub-menu{
    margin-top: 50px;
    height: auto;
    padding: 20px 0 0 0;
  }
  .sub-menu-item li .bottom-color{
    left: 88px;
    bottom: 0;
    width: 50%;
  }
  .sub-content{
    grid-template-columns: 1fr;
    background: none;
    box-shadow: none;
    gap: 1rem;
    padding: 0;
  }
  .content{
    padding: 0;
  }
  .page-content .main{
    margin-top: 20px !important;
  }
  .box-sub-menu{
    flex-direction: column;
  }
  .sub-image img{
    width: 100%;
    height: auto;
  }
  .text-sub-content{
    grid-template-columns: 1fr;
  }
  .sub-content .text-sub-content .content-right .img-content-right img{
    width: 100%;
    height: auto;
  }
  .text-sub-content.text2 .content-left .img-content-left img{
    width: 100%;
    height: auto;
  }
  .text-sub-content.text3 .content-left .img-content-left img{
    width: 100%;
    height: auto;
  }
  .text-sub-content.text3 .content-right .head-left::before{
    width: 100%;
  }
  .text-sub-content.text3 .content-right .details-right{
    margin-left: 20px;
  }
}
@media screen and (max-width: 720px) {
  .sitemap-wrap {
    padding: 30px 20px;
    grid-template-columns: repeat(1, 1fr);
  }
}
