.contentbody {
	width: 100%;
  height: auto;
  padding-top: 40px;
  padding-left: 20px;
  padding-right: 30px;
  min-height: 600px;
}
.navigator {
	width: 100%;
	height: auto;
	text-align: left;
	border-bottom: 3px solid #EE5B92;
}
.navigator-active {
	background-color: #EE5B92;
	color: #ffffff;
}
.navigator-active a {
	color: #ffffff;
}
.navigator-inactive {
	background-color: #636363;
	color: #CCCCCC;
}
.navigator-inactive a {
	color: #CCCCCC;
}
.navigator span {
	width: auto;
	font-family: 'Kanit', sans-serif;
	font-size: 18px;
	line-height: 20px;
	display: inline-block;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 10px;
	padding-bottom: 3px;
	margin-right: 15px;
}
.squaremediabox {
	width: 33.33%;
	height: auto;
	margin-top: 45px;
	padding-left: 15px;
	padding-right: 15px;
	display: inline-block;
  vertical-align: top;
}
.squaremedia {
	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;
}
.mediabox-text {
  width: 100%;
  height: auto;
  margin-top: 20px;
}
.mediabox-header {
  width: 100%;
  height: auto;
  font-family: 'Kanit', sans-serif;
  font-size: 18px;
  line-height: 23px;
  text-align: left;
  overflow-y: hidden;
  max-height: 46px;
  color: #263E61;
}
.mediabox-date {
  width: 100%;
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  margin-top: 10px;
  color: #F05A0F;
}
/*--- paging ---*/
.page-roll {
	width: 100%;
	height: auto;
	margin-top: 45px;
	margin-bottom: 30px;
	overflow: hidden;
}
.page-container {
	width: auto;
	height: auto;
	float: left;
  position: relative;
  left: 50%;
}
.page-no {
	font-family: 'Prompt', sans-serif;
	font-size: 12px;
	width: 25px;
  height: 25px;
  line-height: 25px;
 	-moz-border-radius: 50%;
  border-radius: 50%;
  text-align: center;
	margin: 0 auto;
	float: left;
	position: relative;
  left: -50%;
	padding-top: 1px;
	margin-left: 10px;
}
.page-no-active {
	background-color: #931A26;
	color: #FFF4CD;
}
.page-no-active a {
	color: #FFF4CD;
}
.page-no-normal {
	background-color: #383838;
	color: #D0D0D0;
}
.page-no-normal a {
	color: #D0D0D0;
}
.page-arrow-left {
	width: 0px;
	height: 0px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-right: 7px solid #C3C3C3;
	float: left;
	position: relative;
  left: -50%;
	margin-right: 3px;
	margin-top: 6px;
}
.page-arrow-right {
	width: 0px;
	height: 0px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 7px solid #C3C3C3;
	float: left;
	position: relative;
  left: -50%;
	margin-left: 13px;
	margin-top: 6px;
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.mediabox-header {
	  font-size: 17px;
		line-height: 22px;
	  max-height: 44px;
	}
	.page-roll {
		margin-bottom: 25px;
	}
}

@media (min-width: 670px) and (max-width: 1023px)  {
	.contentbody {
		padding-top: 40px;
		padding-left: 15px;
		padding-right: 15px;
		min-height: 400px;
	}
	.navigator span {
		font-size: 16px;
		line-height: 20px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.squaremediabox {
		width: 50%;
		height: auto;
		margin-top: 30px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.mediabox-text {
	  margin-top: 15px;
	}
	.mediabox-header {
	  font-size: 16px;
		line-height: 20px;
		max-height: 40px;
	}
	.mediabox-date {
	  font-size: 14px;
	}
	.page-roll {
		margin-top: 30px;
		margin-bottom: 20px;
	}
}

@media (max-width: 669px) {
	.contentbody {
		padding-top: 10px;
		padding-left: 15px;
		padding-right: 15px;
		min-height: 400px;
	}
	.navigator {
		display: none;
	}
	.squaremediabox {
		width: 100%;
		height: auto;
		margin-top: 30px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.mediabox-text {
	  margin-top: 15px;
	}
	.mediabox-header {
	  font-size: 16px;
		line-height: 20px;
		max-height: 40px;
	}
	.mediabox-date {
	  font-size: 14px;
	  margin-top: 5px;
	}
	.page-roll {
		margin-top: 30px;
		margin-bottom: 10px;
	}
}

@media (min-width: 320px) and (max-width: 374px) {
	.contentbody {
		padding-top: 5px;
		padding-left: 10px;
		padding-right: 10px;
		min-height: 400px;
	}
	.navigator {
		display: none;
	}
	.mediabox-header {
	  font-size: 14px;
		line-height: 18px;
		max-height: 36px;
	}
	.mediabox-text {
	  margin-top: 15px;
	}
	.page-roll {
		margin-top: 30px;
		margin-bottom: 0px;
	}
	.page-no {
		font-size: 10px;
		width: 20px;
	  height: 20px;
	  line-height: 20px;
	}
	.page-arrow-left {
		margin-top: 3px;
	}
	.page-arrow-right {
		margin-top: 3px;
	}
}
