.header {
	width: 100%;
	height: auto;
	background-color: #2D2D2D;
}
.header img {
	width: auto;
	height: 90px;
}
.footer {
	width: 100%;
	height: 40px;
}

/*--- main body ---*/
.body-container {
	padding-top: 0px;
	height: auto;
}
.program-body {
	min-height: 500px;
}
.program-subbody {
	height: auto;
}

/*--- table ---*/
.table-headline {
  font-family: 'Kanit', sans-serif;
  font-size: 1.375em;
  color: #12545f;
}
.table-navigation {
  font-family: 'Kanit', sans-serif;
  font-size: 1.125em;
  line-height: 1.5;
}
.text-navigation-bar {
  font-size: 1em;
  line-height: 1.5;
}
.icon-page {
  font-size: 1.375em;
  line-height: 0.5;
  position: relative;
  top: 2px;
}
.text-link {
  color: #ffd478;
}
.text-link:hover {
  color: #ffd478;
  text-decoration: underline;
}

/*--- table column ---*/
.td-col {
	font-size: 0.9375em;
	line-height: 1.4;
	word-wrap: break-word;
	vertical-align: top;
}
.table-detail {
  width: 100%;
  height: auto;
  font-size: 0.9375em;
	line-height: 1.5;
  display: none;
}
.table-detail p {
  width: 100%;
  height: auto;
  margin-top: 10px;
}
.table-text-sub {
  width: 100%;
  height: auto;
  font-size: 0.8125em;
	line-height: 1.5;
}
.table-text-span {
  width: 100%;
  height: auto;
  font-size: 0.9375em;
	line-height: 1.5;
}
/*-- preloader --*/
.preloader {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  position: relative;
  top: 6px;
}
.preloader img {
  width: 100%;
  height: auto;
}
.deletepreload {
  width: 22px;
  margin-left: auto;
  margin-right: auto;
}
/*--- navigation & submenu ---*/
.text-submenu {
  font-family: 'Kanit', sans-serif;
  font-size: 0.875em;
  line-height: 1.5;
}

/*-- Image Preview --*/
.squaremediabox {
	width: 49%;
	height: auto;
	margin-top: 20px;
  padding-right: 10px;
	display: inline-block;
	vertical-align: top;
  text-align: center;
}
.squaremediabox img {
	width: 100%;
	height: auto;
  border: 1px solid #E9ECE9;
}
/*-- DR Form --*/
.appbutton {
  width: 110px;
}
.appbutton-sm {
  width: 90px;
}
.appbutton-ssm {
  width: 70px;
}
.appbutton-xl {
  width: 130px;
}
.text-data {
  width: 100%;
  height: auto;
  font-size: 0.9375em;
  line-height: 1.5;
  border: 1px solid #eaeaea;
  border-radius: 3px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.remark-data {
  padding-top: 5px;
  padding-bottom: 5px;
  min-height: 240px;
}
.address-data {
  padding-top: 5px;
  padding-bottom: 5px;
  min-height: 80px;
}
/*-- Image Upload --*/
.imageuploadbox {
  width: 71px;
  height: 71px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  text-align: center;
  cursor: pointer;
}
.dvuploadbox {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  text-align: center;
  cursor: pointer;
}
.mediabox {
  width: 100%;
	padding-bottom: 100%;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px dashed #D2D2D2;
	box-sizing: border-box;
	background-size: cover;
  text-align: center;
  cursor: pointer;
  display: inline-block;
}
.mediaboxpreview {
  width: 100%;
	padding-bottom: 100%;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px dashed #D2D2D2;
	box-sizing: border-box;
	background-size: cover;
  text-align: center;
  cursor: default;
  display: none;
}
.dvboxpreview {
  width: 100%;
	padding-bottom: 100%;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px dashed #D2D2D2;
	box-sizing: border-box;
	background-size: cover;
  text-align: center;
  cursor: default;
}
.thumbboxpreview {
  width: 100%;
	padding-bottom: 100%;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px dashed #D2D2D2;
	box-sizing: border-box;
	background-size: cover;
  text-align: center;
  cursor: default;
  display: inline-block;
}
.floatdeleteicon {
  width: auto;
  height: auto;
  float: right;
  position: absolute;
  top: 1px;
  right: 4px;
  z-index: 2;
  cursor: pointer;
  display: none;
}
.floatthumbdeleteicon {
  width: auto;
  height: auto;
  float: right;
  position: absolute;
  top: 1px;
  right: 4px;
  z-index: 2;
  cursor: pointer;
  display: none;
}
.mediaboxpreload {
  width: 30px;
	height: 30px;
  display: inline-block;
  vertical-align: bottom;
  text-align: center;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.mediaboxpreload img {
  width: 100%;
	height: 100%;
}

/*--- PO Form --*/
.po-header {
  font-size: 0.875em;
  line-height: 1.4;
}
.po-detail {
  font-size: 0.9375em;
  line-height: 1.6;
}

/*-- visitor signup --*/
.squarebox {
	width: 33.33%;
	height: auto;
	margin-bottom: 35px;
	padding-left: 15px;
	padding-right: 15px;
	display: inline-block;
  vertical-align: top;
}
.square-element {
	width: 100%;
	padding-bottom: 100%;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px solid #D3D6DB;
	box-sizing: border-box;
	background-size: cover;
	background-color: #ffffff;
}
.subjectbox {
	width: 100%;
	height: auto;
	max-height: 40px;
	line-height: 20px;
	overflow-y: hidden;
	font-family: 'Kanit', sans-serif;
	font-size: 1.1875em;
	text-align: center;
}

@media (min-width: 1024px) {
  .container{
    max-width: 1024px;
  }
}
