: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;
}

.sub-content {
  display: flex;
  flex-direction: column;
}

.sub-content .box-content-board {
  display: flex;
  flex-direction: column;
  padding: 0 193px;
}

.sub-content .box-content-board h3.position-board {
}


.sub-content .box-content-board .box-board-1 {
    display: flex;
    flex-direction: row;
    
    justify-content: center;

}

.sub-content .box-content-board .box-board-1 .details-board {
    
    width: 50%;
    border: 1px solid #f0f0f0;
    background: #fff;
    /* width: 248px; */
}
.sub-content .box-content-board .box-board-1 .details-board .img-board {
    /* width: 30%; */
    position: relative;
}

.sub-content .box-content-board .box-board-1 .details-board .img-board::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: 1%;
    left: 0;
    border-radius: 100px;
    background-color: var(--color-yellow);
}

.sub-content .box-content-board .box-board-1 .details-board .img-board img {
  width: 100%;

}
  
  .sub-content .box-content-board .box-board-1 .details-board .data-board {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .sub-content .box-content-board .box-board-1 .details-board .data-board h3 {
    color: #030303;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 87.5% */
    letter-spacing: 0.118px;
  }
  
  .sub-content .box-content-board .box-board-1 .details-board .data-board p {
    color: #2e383c;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* 116.667% */
    letter-spacing: 0.118px;
  }

.sub-content .box-content-board .box-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 20px;
}
.sub-content .box-content-board .box-board .details-board {
  /* width: 30%; */
  border: 1px solid #f0f0f0;
  background: #fff;
}

.sub-content .box-content-board .box-board .details-board .img-board {
  /* width: 30%; */
  position: relative;
}

.sub-content .box-content-board .box-board .details-board .img-board::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: 1%;
  left: 0;
  border-radius: 100px;
  background-color: var(--color-yellow);
}

.sub-content .box-content-board .box-board .details-board .img-board img {
  width: 100%;
}

.sub-content .box-content-board .box-board .details-board .data-board {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-content .box-content-board .box-board .details-board .data-board h3 {
  color: #030303;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px; /* 87.5% */
  letter-spacing: 0.118px;
}

.sub-content .box-content-board .box-board .details-board .data-board p {
  color: #2e383c;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 116.667% */
  letter-spacing: 0.118px;
}

.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 .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: 24px;
  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: 90px;
  /* text-align: -webkit-center; */
}
.banner-homepage img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}
/* 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;
}
.sub-details {
  padding-top: 25px;
  color: #2e383c;
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0.118182px;
}

.sub-head {
  font-size: 24px;
  color: #030303;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: 0.118182px;
}
@media (max-width: 1180px) {
  .banner-homepage {
    padding-top: 0px;
  }
}
@media (max-width: 768px) {
  .banner-homepage {
    padding-top: 50px;
  }
}
@media screen and (max-width: 1180px) {
  .main {
    margin-top: 75px;
  }
  .sitemap-wrap {
    margin: 40px 0;
  }
}
@media screen and (max-width: 850px) {
  .sitemap-wrap {
    margin: 20px 0;
    box-shadow: none;
  }
  .main {
    padding: 0;
  }
  .sub-content {
    padding: 0;
    background: none;
    box-shadow: none;
  }
  #banner-homepage img {
    width: 100%;
    height: auto;
  }
  .banner-homepage {
    padding-top: 50px;
  }
  .sub-content .box-content-board .box-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 20px;
  }
  .sub-content .box-content-board .box-board-1 .details-board{
    width: 100%;
  }
}
@media screen and (max-width: 720px) {
  .sitemap-wrap {
    padding: 30px 20px;
    grid-template-columns: repeat(1, 1fr);
  }
  .sub-content .box-content-board {
    padding: 0 50px;
  }
}
