* { margin: 0; padding: 0; }
#all{
  width:980px;
  height:100%;
  margin:0px auto;
  /*position:relative;*/
  font-family: sans-serif, Times, serif;
  font-size: 14px;
}
#logo{ /*background*/
  background-color:#1E90FF;
  height:100px;
  margin: 0;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}
#logo img{
  width: 971px;
  height: 95px;
  margin: 2px 2px 0 5px;
  padding: 0 0 0 0;
  list-style: none;
  float: left;
  border-radius: 6px;
}

#slider_show{
  background-color:#FFFFFF;
  width: 980px;
  height:250px;
  margin: 0;
  padding:5px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
  border-color: #00CCFF;

}
#slider_show table tr td{
  align: center;
}
#slider_show img{
  border-radius: 6px;
}
#slider_show img{
  border-radius: 6px;
  width: 970px;
  height:240px;
}

#slider_show2{
  background-color:#FFFFFF;
  width: 980px;
  height:250px;
  margin: 0;
  padding:5px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
  border-color: #00CCFF;
}
#slider_show2 img{
  border-radius: 6px;
  width: 970px;
  height:240px;
}

#right{
  margin: 5px 0px 0px 0px;
  background-color:#FFFFFF;
  height:2290px;
  width:230px;
  position:absolute;
  right:188;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}

#Run_News{
  position:absolute;
  background-color:#FFFFFF;
  margin: 5px 0px 0 240px;
  height: 25;
  padding: 2px;
  height: 25px;
  width: 740px;
  border-radius: 4px;
}
#pd_Run_News{
  position:absolute;
  background-color: #F5F5F5;
  border-radius: 4px;
}

#content1{
  position:absolute;
  background-color:#FFFFFF;
  margin:495px 0px 0 240px;
  padding:10px;
  height: 450px;
  width: 740px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}
#content2{
  position:absolute;
  background-color:#FFFFFF;
  margin:950px 0px 0 240px;
  padding:10px;
  height: 418px;
  width: 740px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}
#content3{
  position:absolute;
  background-color:#FFFFFF;
  margin:2015px 0px 0 240px;
  padding:10px;
  height: 280px;
  width: 740px;
  border-radius: 15px ; /*ทำให้ขอบมันมน*/
}
#content4{
  position:absolute;
  background-color:#FFFFFF;
  margin:1375px 0px 0 240px;
  padding:10px;
  height: 635px;
  width: 740px;
  border-radius: 6px ; /*ทำให้ขอบมันมน*/
}
#content4 table tr td img{
    width:700px;
    height:240px;
    margin: 3px 5px;
    border-radius: 5px;
}
#content5{
  position:absolute;
  background-color:#FFFFFF;
  margin:5px 0px 0 0px;
  padding:10px;
  height: 4200px;
  width: 980px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}
#content5 h3{
  margin:5px 0px 10px 350px;
}
#content3 P{
  text-align: center;
}
#content3 table{
  margin: 8px 0 0 10px;
}
#content3 table tr td img{
  height: 44px;
  width: 172px;
  border-radius: 5px;
}
#content6{
  position:absolute;
  background-color:#FFFFFF;
  margin:36px 0px 0 240px;
  padding:10px;
  height: 450px;
  width: 740px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}
#content6 img{
  width:720px;
  height:430px;
  border-radius: 6px;
  border-color: #DDDDDD;
  border-width: medium;
}
#content10{
  position:absolute;
  background-color:#FFFFFF;
  margin:10px 0px 0 0px;
  padding: 10px;
  height: 650px;
  width: 590px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}
#content10 img{
  width: 570px;
  height: 580px;
  border-radius: 10px;
  border-color: #DDDDDD;
  border-width: medium;
}
#content7{
  position:absolute;
  background-color:#FFFFFF;
  margin:2300px 0px 0 0px;
  padding:10px;
  height: 392px;
  width: 980px;
  border-radius: 6px ; /*ทำให้ขอบมันมน*/
}
#content7 a{
font-size: 18px;
margin: 0 320px;
}
#content7 iframe{
  margin: 7px;
  width: 290px;
}
.bgNew{
  position:absolute;
  background-color:#FFFFFF;
  margin: 5px 0px 0 0px;
  width: 980px;
  height: 4200px;
  border-radius: 6px;
}
.bgNew_content{
  position:absolute;
  margin: 8px;
  background-color:#D3D3D3;
  border-radius: 6px;
  width: 964px;
  height: 4185px;
}
.bgNew_content P{
  text-align: center;
  margin: 10px;
}
.bgNew_content img{
  margin: 10px 90px 10px 90px;
  padding: 0px;
  width: 780px;
  border-radius: 6px;
}
.pd_bgNew{
  position:absolute;
  width: 268px;
  height: 1521px;
  background-color:#DCDCDC;
  margin: 22px 5px 0 5px;
  border-radius: 4px;
}
.pd_bgNew ul {
  list-style-type: none;
  margin: 5px 8px;
  padding: 0;
  width: 250px;
  background-color: #f1f1f1;
  border-radius: 3px;
}
.pd_bgNew li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}
.pd_bgNew li a:hover {
  background-color: #555;
  color: white;
}
.H_pd img{
  margin: 22px 30px 0 280px;
  width: 690px;
  height: 150px;
  border-radius: 6px;
}
.H_pd h3{
  margin: 22px 30px 0 320px;
}
.H_pd p{
  margin: 0px 0px 0 180px;
}
.pd_structure{
    position:absolute;
}
.D_bgNew{
  position:absolute;
  background-color:#DCDCDC;
  width: 695px;
  height: 1367px;
  margin: 5px 5px 0 278px;
  border-radius: 5px;
}
.D_borad{
  margin: 10px 15px 20px 35px;
  width: 600px;
}
.D_borad img{
  width: 30px;
  height: 20px;
}
.D_borad ul{
  list-style: circle;
}
.D_borad a{
  text-decoration: none;
}
.D_borad li a:hover{
  color: #FF6600;
}
.D_borad li a:active {
  color: #FFFFFF;
}
.D_borad h5:hover{
  color: #FFA500;
}
.D_borad h5:active {
  color: #FFFFFF;
}
.D_borad h5{
  color: #FF6347;
  margin: 5px 10px 0 20px;
}
.p_reg_work table tr td a{
  margin: 0;
  padding: 0;
  text-decoration: none;
}
.p_reg_work table tr td a:hover{
  color: #FF6600;
}
.p_reg_work table tr td a:active {
  color: #FFFFFF;
}

.TB_NKT table{
  position:absolute;
  background: #FFFFFF;
  width: 850px;
  padding: 0px;
  margin: 5px 65px;
  border: 2px solid black;
  border-radius: 4px;
}
.TB_NKT table tr td a{
  margin: 0;
  padding: 0;
  text-decoration: none;
}
.TB_NKT table tr td a:hover{
  color: #FF6600;
}
.TB_NKT table tr td a:active {
  color: #FFFFFF;
}
.TB_NKT td{
  width: inherit;
}
.TB_NKT p{
  width: 700px;
  text-align:left;
  border-bottom-width: 1px;
  border-bottom-color: #CCCCCC;
  border-bottom-style: dotted;
}
.TB_NKT h3{
  background-color: #E6E6FA;
  border-radius: 4px;
}
.TB_NKT h5{
  background-color: #ADD8E6;
  border-radius: 4px;
}
.TB_NKT img{
  margin: 0;
  width : 20px;
  height: 20px;
}
.TB_NKT2 table{
  position:absolute;
  background: #FFFFFF;
  width: 500px;
  padding: 0px;
  margin: 400px 225px;
  border: 2px solid black;
  border-radius: 4px;
}
.TB_NKT3 table{
  position:absolute;
  background: #FFFFFF;
  width: 680px;
  padding: 0px;
  margin: 5px 125px;
  border: 2px solid black;
  border-radius: 4px;
}
.TB_NKT3 table tr td a{
  margin: 0;
  padding: 0;
  text-decoration: none;
}
.TB_NKT3 table tr td p{
  float: left;
}
.TB_NKT3 table tr td a:hover{
  color: #FF6600;
}
.TB_NKT3 table tr td a:active {
  color: #FFFFFF;
}
.TB_NKT3 td{
  width: inherit;
}
.TB_NKT3 img{
  margin: 0;
  width : 100px;
  height: 100px;
}
.TB_NKT4 table{
  position:absolute;
  background: #FFFFFF;
  width: 900px;
  padding: 0px;
  margin: 5px 30px;
  border: 2px solid black;
  border-radius: 4px;
}
.TB_NKT4 h3{
  background-color: #98FB98;
  border-radius: 4px;
}
.newsdetail {
	font-family: sans-serif, Times, serif;
	font-size: 14px;
	border-bottom-width: 1px;
	border-bottom-color: #CCCCCC;
	border-bottom-style: dotted;
}
.TB_NKT4 a{
  text-decoration: none;
}
.TB_NKT4 table tr td a:hover{
  color: #FF6600;
}
.TB_NKT4 table tr td a:active {
  color: #FFFFFF;
}
.TB_NKT5 {
  position:absolute;
  background: #FFFFFF;
  width: 900px;
  padding: 0px;
  margin: 5px 30px;
  border: 2px solid black;
  border-radius: 4px;
}
.TB_NKT5 img{
  margin: 10px 0px 10px 410px;
  width: 100px;
  height: 90px;
}
.TB_NKT5 h3{
  margin: 10px 0px 10px 250px;
}
.TB_NKT5 h5{
  margin: 10px 0px 10px 50px;
  color: #0000FF;
}
.TB_NKT5 iframe{
  margin: 10px 0px 10px 150px;
   width:600px;
   height:450px;
}
.TB_NKT5 div{
    margin: 10px 0px 10px 70px;
}
#fi_map{
  margin: 10px 0px 10px 210px;
  width: 500px;
  height: 375px;
}
.table_rules_regulations table tr td a{
    text-decoration: none;
}
.table_rules_regulations table tr td a:hover{
  color: #FF6600;
}
.table_rules_regulations table tr td a:active {
  color: #FFFFFF;
}
.table_rules_regulations td{
  width: 100%;
}
.table_rules_regulations table{
  position:absolute;
  margin: 20px 180px;
}
.table_rules_regulations li{
  width: 780px;
  list-style: initial;
}
.PMission {
    text-align: justify;
    text-indent: 50px;
    font-size: 0.875em;
    margin:  0px 90px;
    padding: 10px;
    width: 780px;
    background-color: #FFFFFF;
    border-radius: 6px;
    letter-spacing: 1px;
}
div.gallery2 {
  margin: 5px 22px 10px 20px;
  border: 1px solid #ccc;
  float: left;
  width: 150px;
}

div.gallery2:hover {
  border: 1px solid #777;
}

div.gallery2 img {
  width: 100%;
  height: auto;
  display: block;
}

div.desc2 {
  padding: 10px;
  text-align: center;

}
div.desc2 p{
    /*white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;*/

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 16px 32px;
  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;
  border-radius: 10px;
}
.button1 {
  margin: 5px 12px 10px;
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
}

.button1:hover {
  background-color: #e7e7e7;
  color: white;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  /*background-color: #fefefe;*/
  margin: 5px auto; /* 15% from the top and centered */
  padding: 20px;
  border: 0px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#footer{
  font-family: sans-serif, Times, serif;
  font-size: 14px;
  position:absolute;
  background-color:#1E90FF;
  height:200px;
  margin: 4210px 0 0 0;
  padding: 3px;
  width:980px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}
#footer1{
  font-family: sans-serif, Times, serif;
  font-size: 14px;
  position:absolute;
  background-color:#1E90FF;
  height:200px;
  margin: 2698px 0 0 0;
  padding: 3px;
  width:980px;
  border-radius: 6px; /*ทำให้ขอบมันมน*/
}
