@charset "windows-874";
@media screen
  {
     .shipstyle {font-family: 'Sarabun';
	font-size: 20px;
	color: #000000;
	text-decoration: none;
	background-color:#FFFFFF}
  }
@media print{
.no-print{ display:none;}
.to-print{ font:Verdana, Arial, Helvetica, sans-serif; font-size:12px;}
.unline{ text-decoration:underline; font-weight:bold}
}
Body { 
	font-family: 'Sarabun', sans-serif;
	background: #000000; 
	}
.BGStyle { 
	background-image: url(images/bg1.jpg); 
}
.BG-Bk{
    background-color: #000;
}
.BG-WH{
    background-color: #FFFFFF;
}
.BG-DB{
    background-color: #37474f;
}
.BG-BU{
    background-color: #cbdce5;
}
.BG-GRN2{
    background-color: #b9c9b3;
}
.BG-R1{
    background-color: #ca3726;
}
.BG-GRY1{
    background-color: #ddd;
}
.BGopacity{
    opacity: 0.7;
}
.colorWH{
	color:#FFF;
}
.colorR1{
	color:#CC0000;
}
.colorR2{
	color:#993300;
}
.colorR3{
	color:#e56425;
}
.colorR4{
	color:#ca3726;
}
.colorB1{
	color:#5686B6;
}
.colorB2{
	color:#8BB3DA;
}
.colorB3{
	color:#DDEEFF;
}
.colorGreen{
	color:#006600;
}
.colorBK{
	color:#000000;
}
.colorGR{
	color:#333333;
}
.colorYE{
	color:#EFD803;
}
hr.style1{
	border-top: 1px solid #8c8b8b;
}

hr.style2 {
	border-top: 3px double #8c8b8b;
}

hr.style3 {
	border-top: 1px dashed #8c8b8b;
}

hr.style4 {
	border-top: 1px dotted #8c8b8b;
}

hr.style5 {
	background-color: #fff;
	border-top: 2px dashed #8c8b8b;
}


hr.style6 {
	background-color: #fff;
	border-top: 2px dotted #8c8b8b;
}

hr.style7 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}


hr.style8 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}
hr.style8:after {
	content: '';
	display: block;
	margin-top: 2px;
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}

hr.style9 {
	border-top: 1px dashed #8c8b8b;
	border-bottom: 1px dashed #fff;
}

hr.style10 {
	border-top: 1px dotted #8c8b8b;
	border-bottom: 1px dotted #fff;
}

hr.hr-1 {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

hr.hr-2 {
  border: 0;
  border-bottom: 2px dashed #eee;
  background: #999;
}

hr.hr-3 {
  border: 0;
  height: 0;
  border-top: 1px solid #8c8c8c;
}

hr.hr-4 {
  padding: 0;
  border: none;
  border-top: medium double #8c8c8c;
  color: #8c8c8c;
  text-align: center;
}

hr.hr-4:after {
  content: "";
  display: inline-block;
  position: relative;
  top: -0.7em;
  font-size: 1.5em;
  padding: 0 0.25em;
  background: #fff;
}

hr.hr-5 {
  border: 0;
  border-top: 3px double #8c8c8c;
}

hr.hr-6 {
  border: 0;
  border-top: 2px dotted #8c8c8c;
}

hr.line-7 {
  border: 0;
  background-color: #fff;
  border-top: 1px dashed #8c8c8c;
}

hr.hr-8 {
  border: 0;
  background-color: #fff;
  border-top: 2px dotted #8c8c8c;
}

hr.hr-9 {
  border: 0;
  border-top: 1px solid #8c8c8c;
  border-bottom: 1px solid #fff;
}

hr.hr-10 {
  border: 0;
  border-top: 1px solid #8c8c8c;
  border-bottom: 1px solid #fff;
}

hr.hr-10:after {
  content: '';
  display: block;
  margin-top: 2px;
  border-top: 1px solid #8c8c8c;
  border-bottom: 1px solid #fff;
}

hr.hr-11 {
  border: 0;
  border-top: 1px dashed #8c8c8c;
  border-bottom: 1px dashed #fff;
}

hr.hr-12 {
  border: 0;
  border-top: 1px dotted #8c8c8c;
  border-bottom: 1px dotted #fff;
}

hr.hr-13 {
  height: 10px;
  border: 0;
  box-shadow: 0 10px 10px -10px #8c8c8c inset;
}

hr.hr-14 {
  border: 0;
  height: 1px;
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8c8c, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8c8c, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8c8c, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8c8c, #f0f0f0);
}

hr.hr-15 {
  border: 0;
  border-top: 4px double #8c8c8c;
  text-align: center;
}

hr.hr-15:after {
  content: '\2665';
  display: inline-block;
  position: relative;
  top: -15px;
  padding: 0 10px;
  background: #fff;
  color: #8c8c8c;
  font-size: 18px;
}

hr.hr-16 {
  border: 0;
  border-top: 1px dashed #8c8c8c;
  text-align: center;
}

hr.hr-16:after {
  content: '\002702';
  display: inline-block;
  position: relative;
  top: -13px;
  padding: 0 3px;
  background: #fff;
  color: #8c8c8c;
  font-size: 18px;
}

hr.hr-17 {
  border: 0;
  height: 0;
  box-shadow: 0 0 10px 1px black;
}

hr.hr-17:after {
  content: "\00a0";
}

hr.hr-18 {
  background-color: #fff;
  height: 30px;
  border: 1px solid #8c8c8c;
  border-radius: 20px;
}

hr.hr-18:before {
  display: block;
  content: "";
  height: 30px;
  margin-top: -31px;
  border: 0 solid #8c8c8c;
  border-bottom-width: 1px;
  border-radius: 20px;
}

hr.hr-19 {
  border: none;
  height: 10px;
  background: linear-gradient(-135deg, #fff 5px, transparent 0) 0 5px, linear-gradient(135deg, #fff 5px, #8c8c8c 0) 0 5px;
  background-color: #fff;
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 10px 10px;
}
.midnav {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
  	overflow: hidden;
}
.midnav a {
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
  	display: block;
  	text-align: center;
  	padding: 3px 3px;
	text-decoration: none;
}
.midnav a:hover {
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
 	background-color: #CC3300;
	transition-duration: 0.4s;
}
.midnav a.active {
  	background-color: #2196F3;
  	color: white;
}
.imgnav img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.imgnav a {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}
.imgnav a:hover img {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}
.imgnav a.active {
  	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}
.texthilight{
	font-family: 'Sarabun';
	font-size: 16px;
	color: #CC3300;
	text-decoration: none;
	padding: 5px 5px;
}
.button-one {
    background-color: white;
    border: 1px solid;
	border-radius: 4px;
    color: #000;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.button-one:hover {
    background-color: #CC3300;
	border: 1px solid #CC3300;
	border-radius: 4px;
    color: white;
}
.button-two {
    background-color: #3a5c6d;
    border: 0.5px solid;
	border-radius: 6px;
    color: white;
    padding: 4px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.button-two:hover {
    background-color: #3a5c6d;
	border: 0.5px solid #3a5c6d;
	border-radius: 6px;
    color: white;
	padding: 4px 55px;
}
.button-3 {
    background-color: #3a5c6d;
    border: 0.5px solid;
	border-radius: 6px;
    color: white;
    padding: 6px 35px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.button-3:hover {
    background-color: #3a5c6d;
	border: 0.5px solid #3a5c6d;
	border-radius: 6px;
    color: white;
	padding: 6px 60px;
}
select {
	width:60%;
    padding: 4px 10px;
    margin: 4px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type=text]{
	width:60%;
    padding: 4px 10px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[type=password], select {
    padding: 4px 10px;
    margin: 4px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
textarea {
    height: 150px;
    padding: 10px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #FFF;
    resize: none;
}
.image {
    opacity: 0.85;
    filter: alpha(opacity=85); /* For IE8 and earlier */
	transition: .4s ease;
}

.image:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
	transition: .4s ease;
}
.image2 {
    opacity: 0.80;
    filter: alpha(opacity=80); /* For IE8 and earlier */
	transition: .4s ease;
}

.image2:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
	transition: .4s ease;
}
.image3 {
    opacity: 0.50;
    filter: alpha(opacity=50); /* For IE8 and earlier */
	transition: .4s ease;
}
.image3:hover {
    opacity: 7.0;
    filter: alpha(opacity=70); /* For IE8 and earlier */
	transition: .4s ease;
}
.image4 {
    opacity: 0.7;
    filter: alpha(opacity=70); /* For IE8 and earlier */
	transition: .4s ease;
}
.image5 {
  opacity: 0.95;
  transition: 300ms ease;
}
.image5:hover {
  opacity: 1;
  transform: scale(1.05);
  transform-origin: center;
}
.image6 {
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}
.imageblink{
    animation:imageblink 3s infinite;
	animation-direction: alternate;
}
@keyframes imageblink{
    0%{     opacity:100%; }
	25%{     opacity:60%; }
    50%{    opacity:100%; }
	75%{     opacity:60%; }
    100%{   opacity:100%; }
}

.MenuStyle {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
}
.MenuStyle a:link {
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
}
.MenuStyle a:visited {
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
}
.MenuStyle a:hover {
	font-size: 16px;
	color: #CC3300;
	text-decoration: none;
	transition-duration: 0.4s;
}

/****************************************************************************************************************************** ส่วนเมนูด้านบน***/
.outer {	
  	margin: 1%;
}

.button {
  border: 0px solid #37474f;
  border-radius: 5px;
  width: 95%;
  height: 30px;
  display: block;

  background: linear-gradient(to right, #CC3300 50%, #37474f 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .4s ease-out;
}

.button:hover {
  background-position: left bottom;
}
.midnav2 {
	font-family: 'Sarabun';
	font-size: 16px;
	font-weight:550;
	color: #fff;
	text-decoration: none;
  	overflow: hidden;
}
.midnav2 a {
	font-size: 16px;
	font-weight:550;	
	color: #fff;
	text-decoration: none;
  	display: block;
  	text-align: center;
  	padding: 3px 3px;
	text-decoration: none;
}
.midnav2 a:hover {
	font-size: 16px;
	font-weight:550;	
	color: #FFF;
	text-decoration: none;
	transition-duration: 0.4s;
}
.midnav2 a.active {
  	background-color: #2196F3;
  	color: white;
}
/****************************************************************************************************************************** ส่วนเมนูด้านบน***/

/****************************************************************************************************************************** ส่วนเมนูหลัก***/
nav{
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

li {
  display: inline-block;
  padding: 0 10px;
}

.mainnav a {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 8px 0;
  color: #fff;
  text-decoration: none;
}
.mainnav a:hover {
  color: #fff;
  text-decoration: none;
}

.mainnav a:before, a:after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  background: #fff;
}

.mainnav a:before {
  left: 0;
}
.mainnav a:after {
  right: 0;
  background: #fff;
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mainnav a:hover:before {
  background: #fff;
  width: 100%;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mainnav a:hover:after {
  background: transparent;
  width: 100%;
  transition: 0s;
}

.topcontainer {
  display: table;
  height: 40px;
  width: 100%;
}
.topnav {
	font-family: 'Sarabun';
	font-size: 18px;
	color: #FFFFFF;
	text-decoration: none;
  	overflow: hidden;
	display: table-cell;
  	text-align: center;
}
.topnav a {
	color: #FFFFFF;
	text-decoration: none;
	float:none
  	display: block;
  	text-align: center;
  	padding: 5px 10px 5px 10px;
	text-decoration: none;
	position: relative;
    cursor: pointer;
}
.topnav a:hover {
	color: #FFF;
	text-decoration: none;
	transition-duration: 0.4s;
	color:#CC3300;
}

.topnav a:before, a:after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  background: #CC3300;
}

.topnav a:before {
  left: 0;
}
.topnav a:after {
  right: 0;
  background: #CC3300;
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.topnav a:hover:before {
  background: #CC3300;
  width: 100%;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.topnav a:hover:after {
  background: transparent;
  width: 100%;
  transition: 0s;
}
.topnav a.active {
  	background-color: #2196F3;
  	color: white;
}
.topnav input[type=text] {
  	padding: 5px;
  	margin-top: 5px;
  	font-size: 16px;
  	border: none;
}
.rightnav {
	font-family: 'Sarabun';
	font-size: 18px;
	color: #FFFFFF;
	text-decoration: none;
  	overflow: hidden;
	display: table-cell;
  	text-align: center;
}
.rightnav a {
	color: #FFFFFF;
	text-decoration: none;
	float:none
  	display: block;
  	text-align: center;
  	padding: 5px 10px 5px 10px;
	text-decoration: none;
	position: relative;
    cursor: pointer;
}
.rightnav a:hover {
	color: #FFF;
	text-decoration: none;
	transition-duration: 0.4s;
}

.rightnav a:before, a:after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  background: #CC3300;
}

.rightnav a:before {
  left: 0;
}
.rightnav a:after {
  right: 0;
  background: #CC3300;
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rightnav a:hover:before {
  background: #CC3300;
  width: 100%;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rightnav a:hover:after {
  background: transparent;
  width: 100%;
  transition: 0s;
}
.rightnav a.active {
  	background-color: #2196F3;
  	color: white;
}

.menucontainer {
  display: table;
  height: 80px;
  width: 100%;
}
.MenuRight {
	font-family: 'Sarabun';
	font-size: 18px;
	color: #FFFFFF;
	text-decoration: none;
  	overflow: hidden;
	display: table-cell;
  	text-align: center;
}
.MenuRight a {
	color: #FFFFFF;
	text-decoration: none;
	float:none
  	display: block;
  	text-align: center;
  	padding: 5px 10px 5px 10px;
	text-decoration: none;
	position: relative;
    cursor: pointer;
}
.MenuRight a:hover {
	color: #FFF;
	text-decoration: none;
	transition-duration: 0.4s;
}

.MenuRight a:before, a:after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  background: #CC3300;
}

.MenuRight a:before {
  left: 0;
}
.MenuRight a:after {
  right: 0;
  background: #CC3300;
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.MenuRight a:hover:before {
  background: #CC3300;
  width: 100%;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.MenuRight a:hover:after {
  background: transparent;
  width: 100%;
  transition: 0s;
}
.MenuRight a.active {
  	background-color: #2196F3;
  	color: white;
}
/****************************************************************************************************************************** ส่วนเมนูหลัก***/
.MenuStyle_BG {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
}
.MenuStyle_BG a:link {
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
  	text-align: center;
  	padding: 5px 5px;
}
.MenuStyle_BG a:visited {
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
}
.MenuStyle_BG a:hover {
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
	transition-duration: 0.4s;
	background-color: #CC3300;
}
.BodyContent {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #FFFFFF;
	text-decoration: none;
}
.BodyContent_bk {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #000000;
	text-decoration: none;
}
.BodyContent_GR {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #333333;
	text-decoration: none;
}
.BodyContent_GR_Link {
	font-family: 'Sarabun';
	color: #333333;
	text-decoration: none;
}
.BodyContent_GR_Link a:link {
	color: #333333;
	text-decoration: none;
}
.BodyContent_GR_Link a:visited {
	color: #333333;
	text-decoration: none;
}
.BodyContent_GR_Link a:hover {
	color: #CC3300;
	text-decoration: none;
	transition-duration: 0.4s;
}
.BodyContentIndex {
	font-family: 'Sarabun';
	font-size: 20px;
	color: #FFFFFF;
	text-decoration: none;
}
.TitleStyle {
	font-family: 'Sarabun';
	font-size: 18px;
	color: #000000;
	text-decoration: none;
}
.TitleStyle_WH {
	font-family: 'Sarabun';
	font-size: 18px;
	color: #FFFFFF;
	text-decoration: none;
}
.SubTitleStyle {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #000000;
	text-decoration: none;
}
.BodyStyle {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #000000;
	text-decoration: none;
}
.BodyStyle a:link {
	font-size: 16px;
	color: #993300;
	text-decoration: none;
	padding:2px 5px 2px 5px;
}
.BodyStyle a:visited {
	font-size: 16px;
	color: #993300;
	text-decoration: none;
}
.BodyStyle a:hover {
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
	background-color:#CC3300;
	transition-duration: 0.4s;
}
.BodyStyle_BK {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #000;
	text-decoration: none;
}
.BodyStyle_BK a:link {
	font-size: 16px;
	color: #000;
	text-decoration: none;
	padding:2px 5px 2px 5px;
}
.BodyStyle_BK a:visited {
	font-size: 16px;
	color: #000;
	text-decoration: none;
}
.BodyStyle_BK a:hover {
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
	background-color:#CC3300;
	transition-duration: 0.4s;
}
.BodyStyle_WH {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
}
.BodyStyle_WH a:link {
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
	padding:2px 5px 2px 5px;
}
.BodyStyle_WH a:visited {
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
}
.BodyStyle_WH a:hover {
	font-size: 16px;
	color: #FFF;
	text-decoration: none;
	background-color:#CC3300;
	transition-duration: 0.4s;
}
.BodyHilight {
	color: #FFF;
	text-decoration: none;
	background-color:#CC3300;
}
.imgshadow {
  width: 250px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
}
.PicOver{
	position:absolute;
	z-index:10;
	margin-top:169;
	margin-left:170;
}
.PicOver1{
	position:absolute;
	z-index:10;
	margin-top:80px;
	margin-left:70px;
}
.PicOver2{
	position:absolute;
	z-index:10;
	margin-top:2px;
	margin-left:2px;
}
.PicOver4{
	position:absolute;
	z-index:10;
	margin-top:2px;
	margin-left:2px;
}
.PicOver6{
	position:absolute;
	z-index:10;
	margin-top:164;
	margin-left:255;
}
.PicOver7{
	position:absolute;
	z-index:10;
	margin-top:1;
	margin-left:11.5%;
}
.PicOver7_1{
	position:absolute;
	z-index:10;
	margin-top:1;
	margin-left:2%;
}
.PicOver7_5{
	position:absolute;
	z-index:10;
	margin-top:41;
	margin-left:11.5%;
}
.PicOver8{
	position:absolute;
	z-index:10;
	margin-top:10px;
	margin-left:255px;
}
.PicOver9{
	position:absolute;
	z-index:10;
	margin-top:10px;
	margin-left: 280px;
}
.PicOver10{
	position:absolute;
	margin-left: 250px;
}
.PicOver11{
	position:absolute;
	z-index:10;
	margin-top:1;
	margin-left:11.5%;
}
.PicOver11_5{
	position:absolute;
	z-index:10;
	margin-top:41;
	margin-left:11.5%;
}
.PicOver12{
	position:relative;
}
.PicOver12_1{
	position:absolute;
	z-index:10;
	left:20px;
	top:1px;
}
.PicOver12_2{
	position:absolute;
	z-index:10;
	left:45px;
	top:1px;
}
.PicOver12_3{
	position:absolute;
	z-index:10;
	left:40px;
	top:1px;
}
.PicOver12_4{
	position:absolute;
	z-index:10;
	right:0px;
	top:1px;
}
.PicOver12_5{
	position:absolute;
	z-index:10;
	right:80px;
	top:1px;
}
.PicOver12_6{
	position:absolute;
	z-index:10;
	right:0px;
	top:169px;
}
.PicOver12_6_1{
	position:absolute;
	z-index:10;
	right:0px;
	top:144px;
}
.PicOver12_7{
	position:absolute;
	z-index:10;
	top:1px;
	right:0px;
}
.PicOver12_8{
	position:absolute;
	z-index:10;
	top:0px;
}
.PicOver13_1{
	position:absolute;
	z-index:10;
	left:135px;
	top:169px;
}
.PicOver14{
	position:absolute;
	z-index:10;
	left:0px;
	top:158px;
}
.PicOver15{
	position:absolute;
	z-index:10;
	left:0px;
	top:84.5px;
}
.PicOver16{
	position:absolute;
	z-index:10;
	left:0px;
	top:435px;
}
.PicOver16_1{
	position:absolute;
	z-index:10;
	left:30%;
	top:0px;
	opacity: 0.8;
}
.PicOver17{
	position:absolute;
	z-index:10;
	left:0px;
	top:225px;
}
.PicOver18{
	position:absolute;
	z-index:10;
	right:151px;
	top:420px;
	opacity:80%;
}
.PicOver18_2{
	position:absolute;
	z-index:10;
	left:395px;
	top:420px;
	opacity:70%;
}
.PicOver19{
	position:relative;
}
.PicOver20{
	position:absolute;
}
#boxspace {
	padding:5px 5px 5px 5px;
}
#boxspaceleft {
	padding:0px 0px 0px 2px;
}
.boxmiddle {
	vertical-align:middle;
}
.boxright {
	padding:1px 2px 1px 2px;
	color: #993300;
	border:none;	
}
.boxleft {
	padding:5px 0px 0px 5px;
	color: #993300;
}
.boxstyle {
	border:1px solid #ccc;
	-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.AdminBodyStyle {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 14px;
	color: #000000;
	text-decoration: none;
}
.AdminBodyStyle a:link {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 18px;
	color: #003333;
	text-decoration: none;
}
.AdminBodyStyle a:visited {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 18px;
	color: #003333;
	text-decoration: none;
}
.AdminBodyStyle a:hover {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 18px;
	color: #CC3300;
	text-decoration: none;
}
.AdminSubMenu {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #003366;
	text-decoration: none;
}
.AdminSubMenu a:link {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #003366;
	text-decoration: none;
}
.AdminSubMenu a:hover {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #FFFFFF;
	background:#5686B6;
	text-decoration: none;
}
.AdminSubMenu a:visited {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 14px;
	color: #003366;
	text-decoration: none;
}
.AdminMenu {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #FFFFFF;
	text-decoration: none;
}
.AdminMenu a:link {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #FFFFFF;
	text-decoration: none;
}
.AdminMenu a:hover {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #FFFFFF;
	text-decoration: none;
}
.AdminMenu a:visited {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #FFFFFF;
	text-decoration: none;
}
.AdminMenuC {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #003366;
	text-decoration: none;
}
.AdminMenuC a:link {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #003366;
	text-decoration: none;
}
.AdminMenuC a:hover {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #003366;
	text-decoration: none;
}
.AdminMenuC a:visited {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 15px;
	color: #003366;
	text-decoration: none;
}
.AdminPrintStyle {
	font-family: Tahoma, "Microsoft Sans Serif";
	font-size: 18px;
	color: #000000;
	text-decoration: none;
}
.pagination {
    text-align: center;
    margin: 10px
}
.pagination a, .pagination strong {
    background: #FFFFFF;
    display: inline-block;
    margin-right: 1px;
    padding: 1px 10px;
    text-decoration: none;
	line-height: 1.5em;
	
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.pagination a:hover {
    background-color: #3f84b0;
    color: #FFFFFF;
}
.pagination a:active {
	background: rgba(190, 190, 190, 0.75);
}
.pagination strong {
    color: #fff;
    background-color: #3f84b0;
}
.MenuNavigation {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #003333;
	text-decoration: none;
}
.MenuNavigation a:link {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #003333;
	text-decoration: none;
}
.MenuNavigation a:hover {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #003333;
	text-decoration: none;
}
.MenuNavigation a:visited {
	font-family: 'Sarabun';
	font-size: 16px;
	color: #003333;
	text-decoration: none;
}
.dropbtn {
	font-family: 'Sarabun';
	background-color: #4CAF50;
  	color: white;
  	padding: 16px;
  	font-size: 16px;
  	border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdownstyle {
	height:35px;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: -100%;
  top: 35px;
  background-color: #37474f;
  min-width: 220;
  box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.2);
  z-index: 10;
}

.dropdown-content a {
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
	color: #FFF;
	background-color: #CC3300;
	transition-duration: 0.4s;
	}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #3e8e41;}

.light {
  background-image:url(images/BGTitle.png);
  overflow: hidden; }

.wrapper {
  margin: 0;
  padding: 0.05em; }

.doc {
  border-bottom: 1px solid #ccc;
  margin: 1em auto;
  width: 40%; }
.doc .title {
    text-align: center; }

/*!
 * The important stuffs. The ones that you should copy-paste and use.
 */
.paginate {
  text-align: center; }
  .paginate ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center; }
  .paginate li {
    display: inline; }
  .paginate a {
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px;
    margin: 2px 2px;
    padding: 3px 10px;
    display: inline-block;
    border-top: 1px solid #fff;
    text-decoration: none;
    color: #000000;
    font-size: smaller;
    font-family: Tahoma, "Microsoft Sans Serif";
    background-color: #F5F5F5;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#eaeaea));
    background-image: -webkit-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -moz-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -ms-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -o-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: linear-gradient(top, #f9f9f9, #eaeaea);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', EndColorStr='#eaeaea'); }
    .paginate a:first-child, .paginate a.first {
      margin-left: 0; }
    .paginate a:last-child, .paginate a.last {
      margin-right: 0; }
    .paginate a:hover, .paginate a:focus {
      border-color: #5c7682;
	  color: #FFFFFF;
      background-color: #FDFDFD;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#5c7682), to(#5c7682));
      background-image: -webkit-linear-gradient(top, #5c7682, #5c7682);
      background-image: -moz-linear-gradient(top, #5c7682, #5c7682);
      background-image: -ms-linear-gradient(top, #5c7682, #5c7682);
      background-image: -o-linear-gradient(top, #5c7682, #5c7682);
      background-image: linear-gradient(top, #5c7682, #5c7682);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5c7682', EndColorStr='#5c7682'); }
    .paginate a.more {
      box-shadow: 0 0 0 0 transparent;
      border: 0 none;
      background: transparent;
      margin-left: 0;
      margin-right: 0; }
    .paginate a.active { /*ปุ่มที่ Active*/
      box-shadow: rgba(0, 0, 0, 0.75) 0 0 0 0 inset;
      border-color: #5c7682;
      color: #FFFFFF;
      text-shadow: black 0 1px 0;
      background-color: #676767;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#5c7682), to(#5c7682));
      background-image: -webkit-linear-gradient(top, #5c7682, #5c7682);
      background-image: -moz-linear-gradient(top, #5c7682, #5c7682);
      background-image: -ms-linear-gradient(top, #5c7682, #5c7682);
      background-image: -o-linear-gradient(top, #5c7682, #5c7682);
      background-image: linear-gradient(top, #5c7682, #5c7682);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5c7682', EndColorStr='#5c7682'); }

.paginate-dark a {
  box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px;
  border-top: 1px solid #62686d;
  text-shadow: rgba(0, 0, 0, 0.75) 0 1px 0;
  color: #fff;
  background-color: #4e5458;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#575e63), to(#3f4347));
  background-image: -webkit-linear-gradient(top, #575e63, #3f4347);
  background-image: -moz-linear-gradient(top, #575e63, #3f4347);
  background-image: -ms-linear-gradient(top, #575e63, #3f4347);
  background-image: -o-linear-gradient(top, #575e63, #3f4347);
  background-image: linear-gradient(top, #575e63, #3f4347);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#575e63', EndColorStr='#3f4347'); }
  .paginate-dark a:hover, .paginate-dark a:focus {
    border-color: #61788a;
    background-color: #4d6374;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#566f82), to(#3e505e));
    background-image: -webkit-linear-gradient(top, #566f82, #3e505e);
    background-image: -moz-linear-gradient(top, #566f82, #3e505e);
    background-image: -ms-linear-gradient(top, #566f82, #3e505e);
    background-image: -o-linear-gradient(top, #566f82, #3e505e);
    background-image: linear-gradient(top, #566f82, #3e505e);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#566f82', EndColorStr='#3e505e'); }
  .paginate-dark a.active {
    box-shadow: rgba(0, 0, 0, 0.75) 0 0 0 0 inset;
    border-color: #2d3035;
    background-color: #303338;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#303338), to(#2d3034));
    background-image: -webkit-linear-gradient(top, #303338, #2d3034);
    background-image: -moz-linear-gradient(top, #303338, #2d3034);
    background-image: -ms-linear-gradient(top, #303338, #2d3034);
    background-image: -o-linear-gradient(top, #303338, #2d3034);
    background-image: linear-gradient(top, #303338, #2d3034);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#303338', EndColorStr='#2d3034'); }

.marquee {
	font-family: 'Sarabun';
	font-size: 20px;
  	color: #CC3300;
  overflow: hidden;
  position: relative;
  padding:5px 5px 5px 5px;
  width:98%;
}
.divani {
	position:absolute;
	z-index:10;
	animation: mymove 20s infinite;
	animation-timing-function: linear;
}
@keyframes mymove {
  0%   {left: 300px; top: 0px; transform: rotate(0);}
  25%  {left: 900px; top: 200px;}
  50%  {left: 500px; top: 450px; transform: rotate(360deg);}
  75%  {left: 0px; top: 200px;}
  100% {left: 300px; top: 0px; transform: rotate(0);} 
}
.divani2 {
	position:absolute;
	z-index:10;
	animation: mymove2 25s infinite;
	animation-timing-function: linear;
}
@keyframes mymove2 {
  0%   {left: 400px; top: 0px; transform: rotate(0);}
  25%  {left: 900px; top: 300px;}
  50%  {left: 500px; top: 450px; transform: rotate(360deg);}
  75%  {left: 0px; top: 200px;}
  100% {left: 400px; top: 0px; transform: rotate(0);} 
}
.divani3 {
	position:absolute;
	z-index:10;
	animation: mymove3 30s infinite;
	animation-timing-function: linear;
	width: 107px;
	height: 97px;
}
@keyframes mymove3 {
  0%   {left: 400px; top: 0px; transform: rotate(0);}
  25%  {left: 0px; top: 300px;}
  50%  {left: 600px; top: 400px; transform: rotate(360deg);}
  75%  {left: 900px; top: 200px;}
  100% {left: 400px; top: 0px; transform: rotate(0);} 
}
.textindex {
	font-family: 'Sarabun';
	text-align:center;
	line-height: 40px;
	font-size: 25px;
	position:absolute;
	z-index:10;
	padding-top:20px;
}
.textindex2 {
	font-family: 'Sarabun';
	text-align:center;
	line-height: 40px;
	font-size: 25px;
	position:absolute;
	z-index:10;
	top:50%;
	padding-top:20px;
}
.colortextindexR {
  	color: #CC3300;
}
.colortextindexWH {
  	color: #FFFFFF;
}
.blinking{
    animation:blinkingText 3s infinite;
}
@keyframes blinkingText{
    0%{     opacity:100%; font-size:26px; color: #CC3300;  }
	25%{     opacity:80%; font-size:26px; color: #FFFFFF; }
    50%{    opacity:100%; font-size:26px; color: #CC3300; }
	75%{     opacity:80%; font-size:26px; color: #FFFFFF; }
    100%{   opacity:100%; font-size:26px; color: #CC3300; }
}
.blinkingBar{
    animation:blinking1 4s infinite;
}
@keyframes blinking1{
    0%{     opacity:100%; }
	25%{     opacity:50%; }
    50%{    opacity:100%; }
	75%{     opacity:50%; }
    100%{   opacity:100%; }
}
.slider{
  width: 1000px;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
}

.slides{
  width: 500%;
  height: 500px;
  display: flex;
}

.slides input{
  display: none;
}

.slide{
  width: 20%;
  transition: 2s;
}

.slide img{
  width: 1000px;
  height: 500px;
}

/*index page*/
/*css for manual slide navigation*/

.navigation-manual{
  position: absolute;
  width: 1000px;
  margin-top: -40px;
  display: flex;
  justify-content: center;
}

.manual-btn{
  border: 1px solid #FFFFFF;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: 1s;
}

.manual-btn:not(:last-child){
  margin-right: 20px;
}

.manual-btn:hover{
  background: #FFFFFF;
}

#radio1:checked ~ .first{
  margin-left: 0;
}

#radio2:checked ~ .first{
  margin-left: -20%;
}

#radio3:checked ~ .first{
  margin-left: -40%;
}

#radio4:checked ~ .first{
  margin-left: -60%;
}

#radio5:checked ~ .first{
  margin-left: -80%;
}

/*css for automatic navigation*/

.navigation-auto{
  position: absolute;
  display: flex;
  width: 1000px;
  justify-content: center;
  margin-top: 460px;
}

.navigation-auto div{
  border: 1px solid #FFFFFF;
  padding: 5px;
  border-radius: 10px;
  transition: 1s;
}

.navigation-auto div:not(:last-child){
  margin-right: 20px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
  background: #FFFFFF;
}

#radio2:checked ~ .navigation-auto .auto-btn2{
  background: #FFFFFF;
}

#radio3:checked ~ .navigation-auto .auto-btn3{
  background: #FFFFFF;
}

#radio4:checked ~ .navigation-auto .auto-btn4{
  background: #FFFFFF;
}

#radio5:checked ~ .navigation-auto .auto-btn5{
  background: #FFFFFF;
}

/*Mouse Over tooltip */
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}


.gallery .control-operator:target ~ .controls .control-button {
  color: #ccc;
  color: rgba(255, 255, 255, 0.4);
}

.gallery .control-button:first-of-type, 
.items-2 .control-operator:nth-of-type(1):target ~ .controls .control-button:nth-of-type(1), 
.items-2 .control-operator:nth-of-type(2):target ~ .controls .control-button:nth-of-type(2), 
.items-3 .control-operator:nth-of-type(1):target ~ .controls .control-button:nth-of-type(1), 
.items-3 .control-operator:nth-of-type(2):target ~ .controls .control-button:nth-of-type(2), 
.items-3 .control-operator:nth-of-type(3):target ~ .controls .control-button:nth-of-type(3), 
.items-4 .control-operator:nth-of-type(1):target ~ .controls .control-button:nth-of-type(1), 
.items-4 .control-operator:nth-of-type(2):target ~ .controls .control-button:nth-of-type(2), 
.items-4 .control-operator:nth-of-type(3):target ~ .controls .control-button:nth-of-type(3), 
.items-4 .control-operator:nth-of-type(4):target ~ .controls .control-button:nth-of-type(4), 
.items-5 .control-operator:nth-of-type(1):target ~ .controls .control-button:nth-of-type(1), 
.items-5 .control-operator:nth-of-type(2):target ~ .controls .control-button:nth-of-type(2), 
.items-5 .control-operator:nth-of-type(3):target ~ .controls .control-button:nth-of-type(3), 
.items-5 .control-operator:nth-of-type(4):target ~ .controls .control-button:nth-of-type(4), 
.items-5 .control-operator:nth-of-type(5):target ~ .controls .control-button:nth-of-type(5) {
  color: white;
  color: rgba(255, 255, 255, 0.8);
}

.gallery .item:first-of-type {
  position: static;
  opacity: 1;
}
.gallery .item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .5s;
}
.gallery .control-operator {
  display: none;
}
.gallery .control-operator:target ~ .item {
  pointer-events: none;
  opacity: 0;
  animation: none;
}
.gallery .control-operator:target ~ .controls .control-button {
  animation: none;
}

@keyframes controlAnimation-2 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  14.3%,
  50% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  64.3%,
  100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes galleryAnimation-2 {
  0% {
    opacity: 0;
  }

  14.3%,
  50% {
    opacity: 1;
  }

  64.3%,
  100% {
    opacity: 0;
  }
}

.items-2.autoplay .control-button {
  animation: controlAnimation-2 14s infinite;
}
.items-2.autoplay .item {
  animation: galleryAnimation-2 14s infinite;
}
.items-2 .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}
.items-2 .control-button:nth-of-type(1),
.items-2 .item:nth-of-type(1) {
  animation-delay: -2s;
}
.items-2 .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}
.items-2 .control-button:nth-of-type(2),
.items-2 .item:nth-of-type(2) {
  animation-delay: 5s;
}

@keyframes controlAnimation-3 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  9.5%,
  33.3% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  42.9%,
  100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes galleryAnimation-3 {
  0% {
    opacity: 0;
  }

  9.5%,
  33.3% {
    opacity: 1;
  }

  42.9%,
  100% {
    opacity: 0;
  }
}

.items-3.autoplay .control-button {
  animation: controlAnimation-3 21s infinite;
}
.items-3.autoplay .item {
  animation: galleryAnimation-3 21s infinite;
}
.items-3 .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}
.items-3 .control-button:nth-of-type(1),
.items-3 .item:nth-of-type(1) {
  animation-delay: -2s;
}
.items-3 .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}
.items-3 .control-button:nth-of-type(2),
.items-3 .item:nth-of-type(2) {
  animation-delay: 5s;
}
.items-3 .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
}
.items-3 .control-button:nth-of-type(3),
.items-3 .item:nth-of-type(3) {
  animation-delay: 12s;
}

@keyframes controlAnimation-4 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  7.1%,
  25% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  32.1%,
  100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes galleryAnimation-4 {
  0% {
    opacity: 0;
  }

  7.1%,
  25% {
    opacity: 1;
  }

  32.1%,
  100% {
    opacity: 0;
  }
}

.items-4.autoplay .control-button {
  animation: controlAnimation-4 28s infinite;
}
.items-4.autoplay .item {
  animation: galleryAnimation-4 28s infinite;
}
.items-4 .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}
.items-4 .control-button:nth-of-type(1),
.items-4 .item:nth-of-type(1) {
  animation-delay: -2s;
}
.items-4 .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}
.items-4 .control-button:nth-of-type(2),
.items-4 .item:nth-of-type(2) {
  animation-delay: 5s;
}
.items-4 .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
}
.items-4 .control-button:nth-of-type(3),
.items-4 .item:nth-of-type(3) {
  animation-delay: 12s;
}
.items-4 .control-operator:nth-of-type(4):target ~ .item:nth-of-type(4) {
  pointer-events: auto;
  opacity: 1;
}
.items-4 .control-button:nth-of-type(4),
.items-4 .item:nth-of-type(4) {
  animation-delay: 19s;
}

@keyframes controlAnimation-5 {
  0% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }

  5.7%,
  20% {
    color: white;
    color: rgba(255, 255, 255, 0.8);
  }

  25.7%,
  100% {
    color: #ccc;
    color: rgba(255, 255, 255, 0.4);
  }
}

@keyframes galleryAnimation-5 {
  0% {
    opacity: 0;
  }

  5.7%,
  20% {
    opacity: 1;
  }

  25.7%,
  100% {
    opacity: 0;
  }
}

.items-5.autoplay .control-button {
  animation: controlAnimation-5 35s infinite;
}
.items-5.autoplay .item {
  animation: galleryAnimation-5 35s infinite;
}
.items-5 .control-operator:nth-of-type(1):target ~ .item:nth-of-type(1) {
  pointer-events: auto;
  opacity: 1;
}
.items-5 .control-button:nth-of-type(1),
.items-5 .item:nth-of-type(1) {
  animation-delay: -2s;
}
.items-5 .control-operator:nth-of-type(2):target ~ .item:nth-of-type(2) {
  pointer-events: auto;
  opacity: 1;
}
.items-5 .control-button:nth-of-type(2),
.items-5 .item:nth-of-type(2) {
  animation-delay: 5s;
}
.items-5 .control-operator:nth-of-type(3):target ~ .item:nth-of-type(3) {
  pointer-events: auto;
  opacity: 1;
}
.items-5 .control-button:nth-of-type(3),
.items-5 .item:nth-of-type(3) {
  animation-delay: 12s;
}
.items-5 .control-operator:nth-of-type(4):target ~ .item:nth-of-type(4) {
  pointer-events: auto;
  opacity: 1;
}
.items-5 .control-button:nth-of-type(4),
.items-5 .item:nth-of-type(4) {
  animation-delay: 19s;
}
.items-5 .control-operator:nth-of-type(5):target ~ .item:nth-of-type(5) {
  pointer-events: auto;
  opacity: 1;
}
.items-5 .control-button:nth-of-type(5),
.items-5 .item:nth-of-type(5) {
  animation-delay: 26s;
}

/* ------------------- */
.gallery .control-button {
  color: #ccc;
  color: rgba(255, 255, 255, 0.4);
}

.gallery .control-button:hover {
  color: white;
  color: rgba(255, 255, 255, 0.8);
}

/*
	Theme controls how everything looks in Gallery CSS.
*/
.gallery {
  position: relative;
}
.gallery .item {
  height: 250px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border-radius: 10px;
}
.gallery .controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.gallery .control-button {
  display: inline-block;
  margin: 0 .02em;
  font-size: 3em;
  text-align: center;
  text-decoration: none;
  transition: color .1s;
}

/* ------------------- */
figure {
  margin: 1em 0;
}

.flexible {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}
.table1 {
	border-collapse: collapse;	
	border-radius: 5px;
}
.table1, .td1, .tr1 {    
    border: 1px solid #ddd;
}
.tr1, .td1 {
    padding: 5px;
}
.table1 tr:nth-child(even){background-color: #f2f2f2}
.table1 tr:tr:hover {background-color: #ddd;}

.tablecompany{
	border: 1px solid #ddd;
	border-collapse: collapse;
}
.tr, .td {
  border-bottom: 1px solid #ddd;
}
.td {
  border-left: 1px solid #ddd;
}
#tablecompany {
  border-collapse: collapse;
}
#tablecompany td, #tablecompany th {
  border: 1px solid #ddd;
  padding: 5px;
}
#tablecompany tr:nth-child(even){background-color: #f2f2f2;}
#tablecompany tr:hover {background-color: #ddd;}
#tablecompany th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #04AA6D;
  color: white;
}
#table2 {
  border-collapse: collapse;
}
#table2 td, #table2 th {
  border: 1px solid #ddd;
  padding: 5px;
}
#table2 tr:nth-child(even){background-color: #f2f2f2;}
#table2 tr:hover {background-color: #ddd;}
#table2 th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #04AA6D;
  color: white;
}

/*card 2*/
/*Auto Fade*/
.mytag {
  position: absolute;
  animation: tagopacity 2s infinite;
}
@keyframes tagopacity {
  50% {opacity: 50%;}
}

.mytag2 {
  position: absolute;
  animation: tagopacity 2s infinite;
  z-index: 9;
}
@keyframes tagopacity {
  50% {opacity: 50%;}
}

/*** ส่วน mouse over image subcategory***/
.wg-box-content {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: auto;
  overflow: hidden;
}

.wg-box-content .wg-box-content-overlay {
  background: rgba(0,0,0,0.7);
  position: absolute;
  height: 99%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.wg-box-content:hover .wg-box-content-overlay{
  opacity: 1;
}

.wg-box-content-image{
  width: 100%;
}

.wg-box-content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.wg-box-content:hover .wg-box-content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.wg-box-content-details h3{
  color: #000;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.wg-box-content-details p{
  color: #000;
  font-size: 0.8em;
}

.wg-box-fadeIn-bottom{
  top: 80%;
}
/*** ส่วน mouse over image subcategory***/