body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
div {
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  margin: 0;
  padding-top: 50px; /* for top menu-bar */
  /* background-color: antiqueWhite; *//* AntiqueWhite */
  background-color: white;
}
.menu-wrapper {
  width: 80%;
  min-width: 500px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.noto-sans-thai-light {
  font-family: "Noto Sans Thai", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300; /* Thin:100, ExtraLight:200, Light:300, Regular:400,Medium:500, SemiMold:600, Bold:700 */
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.noto-sans-thai-regular {
  font-family: "Noto Sans Thai", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.noto-sans-thai-bold {
  font-family: "Noto Sans Thai", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.main-wrapper {
  width:80%;
  min-width: 500px;
	max-width: 1000px;
  /* margin:auto; */
  box-shadow:5px 5px 10px 2px rgba(0,0,0,0.5);
	margin-left: auto;
	margin-right: auto;
  padding: 10px 20px;
  /* background-color: white; */
  background-color: #f4f2f2;
}
.main-wrapper-nopad {
  width:80%;
  min-width: 500px;
	max-width: 1000px;
  /* margin:auto; */
  box-shadow:5px 5px 10px 2px rgba(0,0,0,0.5);
	margin-left: auto;
	margin-right: auto;
  padding: 0px;
  background-color: white;
}
.main-wrapper div {
  /* background-color: white; */
  padding: 10px 20px;
}
.div-banner-1 {
  background-color: #FFECB7;
}
.center-text {
	text-align: center;
}
.grid-container-main {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-template-rows: auto auto;
	column-gap: 10px;
	row-gap: 1em;
	/* max-width: 800px; */
	margin-left: auto;
	margin-right: auto;
}
.fullpage {
  padding: 0px;
  margin: 0px;
  width: 100%;
}
.no-top-margin {
  margin-top: 0px;
}
.no-bottom-margin {
  margin-bottom: 0px;
}
.element0 {
  background-color: white;
  border-radius: 15px;
  margin-bottom: 15px;
}
.element1 {
  background-color: #e18574;
  border-radius: 15px;
  margin-bottom: 15px;
  color: white;
}
.element2 {
  background-color: #e7d8d5;
  border-radius: 15px;
  margin-bottom: 15px;
}
.element3 {
  background-color: #5e6d6d;
  border-radius: 15px;
  margin-bottom: 15px;
  color: white;
}

/* https://colorhunt.co/palette/f08787ffc7a7fee2adf8fab4 */
/* https://colorhunt.co/palette/647fbc91adc8aed6cffafdd6 */
.menu-bar {
  width: 80%;
  min-width: 500px;
  max-width: 1000px;
  /* background-color: #DC7373; */
  background-color: #e18574;
  display: flex;
  padding: 0;
  position: fixed;
  top: 0;
  /* left: 0; */
  height: 50px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  z-index: 1000;
  box-shadow: 5px 0px 10px 2px rgba(0, 0, 0, 0.5); 
  /* enable horizontal scrolling */
  white-space: nowrap;
  overflow-x: auto;
}
.menu-bar a {
  color: #fff;
  padding: 0 15px;
  text-decoration: none;
  line-height: 50px;
  /* font-family: Arial, sans-serif; */
  transition: background 0.2s;
}
.menu-bar a.active {
  /* background-color: #F5BD9D; */
  background-color: #5e6d6d;
  font-weight: bold;
}
.menu-bar a:hover {
  /* background-color: #EBB393; */
  background-color: rgba(94, 109, 109, 0.5);
}
.menu-item-align-right {
  margin-left: auto;
}

/*
.grid-container-main div {
	display: flex;
}
	*/

/* TODO: use media query */

/* for small screen */
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .main-wrapper div {
    padding: 10px 10px;
  }
  .main-wrapper {
    padding: 10px 10px;
    min-width: 400px;
  }
  .main-wrapper-nopad {
    min-width: 400px;
  }
  .menu-bar a {
    padding: 0 10px;
  }
}
@media screen and (min-width: 1120px) {
  .menu-bar a {
    padding: 0 20px;
  }
}