@charset "utf-8";
@import "style_font.css";
/* CSS Document */

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section{
  display: block;
}

*{
  margin:0;
  padding:0;
  outline:0;
}
*::before, *::after {
  box-sizing: border-box;
}

/* body, html{
  height:100%;
} */

body{
  font-family: 'Inter', 'Sarabun', 'Kanit', sans-serif, Arial;
  font-size: 15px; /* เพิ่มขนาดขึ้นเล็กน้อยจาก 14px */
  line-height: 1.6; /* เพิ่มระยะบรรทัดให้อ่านง่าย */
  color: #444;    /* ปรับสีให้อ่อนลงเล็กน้อยเพื่อความสบายตา */
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-width: 100%;

  text-rendering: optimizelegibility;

  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;

  -moz-tap-highlight-color: rgba(0,0,0,0);
  -moz-text-size-adjust: none;
  -moz-font-smoothing: antialiased;

  -ms-tap-highlight-color: rgba(0,0,0,0);
  -ms-text-size-adjust: none;
  -ms-font-smoothing: antialiased;
}

/*+++++ GLOBAL LINK +++++*/
a, a > *{
   -webkit-transition: all .3s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
a{
  color: #2672BD;
  text-decoration: none;
  cursor: pointer;
}
a:hover{
  text-decoration: none;
  color: #e42e54;
}
a img{
  border:0;
}

a.button {
  color: #6e6e6e;
  font-weight:bold;
  text-decoration: none;
  padding: 9px 20px 11px 20px;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 0 #fff;
  -webkit-transition: border-color .218s;
  -moz-transition: border .218s;
  -o-transition: border-color .218s;
  transition: border-color .218s;
  background: #f3f3f3;
  background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
  background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
  border: solid 1px #dcdcdc;
  /*border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;*/
  margin-right: 10px;
}
a.button:hover {
  color: #333;
  border-color: #999;
  -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
a.button:active {
  color: #000;
  border-color: #444;
}

/*+++++ CONTAINER +++++*/
.container{
  overflow: hidden;

  /*  Prevents Flickering  */
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
}

/*+++++ HEADER +++++*/
.box_head_logo_s{
  height: 54px;
  background: rgba(255,255,255,0.9);
  text-align: center;
  /*background: url(../images/img_logo_ss.png) 1.2% center no-repeat;*/

  -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
}
.box_head_logo_s img{
  /* padding: 3px 3px 3px 1.2%; */
  padding: 2px 0;
  height: 50px;
}

/* header{
  display:none;
} */
.burger{
  position: absolute;
  float: right;
  padding: 10px;
  top: 0;
  right: 10px;
  display: none;
}
.burger li{
  width: 30px;
  height: 3px;
  background-color:#999;
  margin: 6px 0;
  list-style:none;
}
.burger.open li{
  background-color:#bbb;
}

.header_outer{
  /*margin:0 auto;
  max-width:1200px;*/
  background: rgba(255,255,255,0.9);
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;

  -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
}
.header_outer.scroll{
  height: 60px;
}

.header_container{
  margin:0 auto;
  max-width:1200px;
}

.header_fix{
  /*background: #FFF;*/

  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  /* z-index: 1000; */
}

.header_wrapper{
  text-align: center;
}
.header_wrapper img{
  height: 90px;
  padding: 5px 0;
}

.header_fix.fix_top{
  position: fixed;
  top: 0;
  height: 60px;
}
.header_fix.fix_top .header_wrapper{
  height: 60px;
}
.header_fix.fix_top .header_wrapper img{
  height: 54px;
  padding: 3px 0;
}
.header_fix.fix_top .header_title{
  height: 60px;
  /* background: url(../images/img_logo_s.png) 10px 3px no-repeat; */
  overflow: hidden;
}
.header_fix.fix_top .title_head1,
.header_fix.fix_top .title_head2{
  padding-left: 49px;
}
.header_fix.fix_top .title_head1{
  font-size: 42px;
  padding-top: 2px;
  line-height: 42px;
}
.header_fix.fix_top .title_head2{
  font-size: 5.5px;
  padding-left: 52px;
}
.header_fix.fix_top nav li a {
  padding: 19px 0 21px 40px;
}
.header_fix.fix_top nav li ul li a{
  padding: 13px 15px;
  min-width: 108px;
}

/*.header_outer{
  background: rgba(255,255,255,0.9);
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
   z-index: 1000;

  -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
}

.header_outer.fix_top{
  height: 60px;
}
.header_outer.fix_top .header_wrapper{
  height: 60px;
}
.header_outer.fix_top .header_title{
  height: 60px;
  background: url(../images/img_logo_s.png) left center no-repeat;
  overflow: hidden;
}
.header_outer.fix_top .title_head1,
.header_outer.fix_top .title_head2{
  padding-left: 50px;
}
.header_outer.fix_top .title_head1{
  font-size: 24px;
  padding-top: 5px;
  line-height: 24px;
}
.header_outer.fix_top .title_head2{
  font-size: 11px;
}
.header_outer.fix_top nav li a {
  padding: 19px 0 21px 40px;
}
.header_outer.fix_top nav li ul li a{
  padding: 13px 15px;
  min-width: 108px;
}*/

.header_title{
  height: 100px;
  background: url(../images/img_logo.png) 10px center no-repeat;
  float: left;
}
.title_head1,
.title_head2{
  white-space: nowrap;
  padding-left: 60px;
}
.title_head1{
  font-family: 'Inter', 'Sarabun', 'Kanit', sans-serif, Arial;
  font-size: 64px;
  padding-top: 8px;
  line-height: 64px;
  color: #22224d;
}
.title_head2{
  font-family: 'Inter', 'Sarabun', 'Kanit', sans-serif, Arial;
  font-size: 8.5px;
  padding-top: 0;
  padding-left: 65px;
  color: #22224d;
}
.title_head3{
  color: #FF8000;
  padding-left: 30px;
}

.header_wrapper{
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  height: 100px;
}

/*+++++ NAV +++++*/
nav {
  float: right;
  margin: 0;
  padding: 0;
  text-align: left;
}
nav li {
  text-align: center;
  position: relative;
  display: inline-block;
}
/* nav li:after {
  content: " ";
  background: url(../images/bg_nav_sep.png) center center no-repeat;
} */
nav li a {
  color: #555;
  line-height: 20px;
  padding: 40px 0 40px 40px;
  display: inline-block;
  margin: 0;
  text-decoration:none;
  /*touch-action: none;
  -webkit-tap-highlight-color:rgba(255, 255, 255, 0);*/
}
/* nav{
  font-family: Montserrat-Light;
  font-size: 16px;
} */
nav li:hover a{
  background-position: center bottom;
  color: #e42e54;
  text-decoration: none;
}
nav li a.current {
  color: #e42e54;
  /*background:url(../images/nav_pointer.png) center bottom no-repeat;*/
}
nav li a.current:hover {
  color: #e42e54;
}
nav li ul{
  position: absolute;
  /*top:100%; Uncommenting this makes the dropdowns work in IE7 but looks a little worse in all other browsers. Your call.*/
  display: none;
  margin: 0;
  padding: 0;

  -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
}
nav li ul li{
  display: block;
}
nav li ul li a{
  padding: 13px 15px;
  min-width: 108px;
}
/* nav ul{
  font-size: 13px;
} */
nav li:hover ul{
  left: 0;
  display: block;
  width: auto;
  z-index: 2000;
}
nav li:hover ul a,
nav li:active ul a,
nav li:focus ul a{
  white-space: nowrap;
  display: block;
  text-align: left;
  background: #fff;
  color: #555;

}
nav li ul a:hover{
  background: #E6E6E6;
}

.clearfix,
.clearblock,
.clearblock_s{
  float:none;
  clear:both;
}
.clearblock{
  height: 30px;
}
.clearblock1{
  height: 1px;
}

.login_panel{
  position: absolute;
  right: 0;
  bottom: 2px;
  /* font-family: Montserrat-Light; */
  font-size: 11px;
}
.login_panel a{
  color: #888;
  text-decoration: none;
}
.login_panel a:hover{
  color: #e42e54;
}

/*+++++ SLIDESHOW +++++*/
#slide-container{
  width:100%;
  margin:0 auto;
  margin-top: 100px;
  overflow:hidden;
  float:left;
}
#slideshow, #head_pix{
  width:100%;
  overflow:hidden;
}
#slideshow img, #head_pix img{
  width:100%;
  height:auto;
}
#head_pix img{
  display:block;
}

/*+++++ CONTENTS AREA +++++*/
.wrapper_box{
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  /* margin-top: 100px; */
  line-height:normal;
  /* background:#FFF; */

  /*-webkit-box-shadow: 0px 2px 3px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 2px 3px 1px rgba(0,0,0,0.2);
  box-shadow: 0px 2px 3px 1px rgba(0,0,0,0.2);*/
}

.title_bar1{
  margin: 15px 0;
  text-align: center;
}
.title_bar1 h3{
  /* font-family: Lato-Regular; */
  font-size: 20px;
  color: #444;
  font-weight: bold;
  border-bottom: #22224d 1px solid;
  display: inline-block;
  line-height: 30px;
}

.content_article p{
  font-size: 15px;
}
.content_article ul{
  padding: 13px 0 8px;
}
.content_article li{
  margin-bottom: 8px;
}
.content_article hr{
  border: 0;
  height: 0;
  border-bottom: #eee 1px solid;
  margin-bottom: 15px;
}

.content_issue{
  width: 32%;
  margin: 0 1.3% 20px 0;
  float: left;
}
.content_issue p{
  margin-bottom: 5px;
}
.content_issue img{
  float: left;
  width: 38%;
  margin-right: 8px;
}
.content_issue a{
  font-size: 15px;
}
.content_issue a:hover img{
  -webkit-filter: contrast(1.4);
   filter: contrast(1.4);
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

li.li_author,
li.li_time,
li.li_article{
  list-style:none;
  background:url(../images/ico_author.png) 0 0 no-repeat;
  padding-left: 18px;
}
li.li_time{
  background:url(../images/ico_time.png) 0 0 no-repeat;
}
li.li_article{
  background:url(../images/ico_article.png) 0 0 no-repeat;
}

.content_info{
  margin-bottom: 25px;
}
.content_info h4{
  font-size: 15px;
  font-weight: normal;
  color: #2672BD;
  margin: 15px 0 10px;
}
.content_info p{
  margin-bottom: 5px;
  text-align: justify;
}
.content_info ol,
.content_info ul{
  margin-left: 15px;
}
.content_info ul li{
  list-style: "- ";
}
.content_info li{
  margin-bottom: 5px;
}

.google-maps {
  position: relative;
  /*padding-bottom: 75%;*/ /*This is the aspect ratio*/
  height: 600px;
  overflow: hidden;
  margin-top: 15px;
}
.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  /*height: 100% !important;*/
}

/*+++++ MISCELLANEOUS +++++*/
.txt_b{
  font-weight: bold;
}

/*+++++ FOOTER +++++*/
.footer_outer{
  background: #333 url(../images/bg_footer_outer.png) 0 bottom repeat-x;
  margin-top: 25px;
}

.footer_wrapper{
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  height: 60px;
}

.footer_info{
  /* font-family: Lato-Regular; */
  font-size: 13px;
  color: #ddd;
  padding-top: 15px;
}
.footer_info ul{
  float: left;
  margin-right: 25px;
}
.footer_info ul li{
  margin: 10px 0;
}

li.li_location,
li.li_tel,
li.li_fax,
li.li_email{
  list-style:none;
  background:url(../images/ico_location.png) 0 0 no-repeat;
  padding-left: 21px;
}
li.li_tel{
  background:url(../images/ico_tel.png) 0 0 no-repeat;
}
li.li_fax{
  background:url(../images/ico_fax.png) 0 0 no-repeat;
}
li.li_email{
  background:url(../images/ico_email.png) 0 0 no-repeat;
}

.footer_copyright{
  position: absolute;
  left: 8px;
  bottom: 22px;
  /* font-family: Lato-Regular; */
  font-size: 13px;
  color: #aaa;
}

.footer_logo{
  position: absolute;
  right: 8px;
  bottom: 0;
  /* background: url(../images/img_logo_footer.png) left center no-repeat; */
  height: 60px;
}
.footer_logo img{
  padding: 3px 0;
  height: 54px;
}
.title_footer1,
.title_footer2{
  white-space: nowrap;
  padding-left: 36px;
}
.title_footer1{
  /* font-family: OpenSans-Bold; */
  color: #888;
  font-size: 40px;
  padding-top: 4px;
  line-height: 40px;
}
.title_footer2{
  /* font-family: OpenSans-Bold; */
  font-size: 5.4px;
  padding-top: 0;
  padding-left: 40px;
  color: #888;
}

/*----FORM BOX----*/
.box{
  font-size:13px;
}
.box label{
  display:block;
  /*margin:10px 0 0 6px;*/
}

.box input[type=text],
.box input[type=password],
.box textarea,
.box select{
  border: #CCC 1px solid;
  margin: 4px;
  padding: 8px 12px; /* เพิ่ม Padding ให้ดูโปร่งขึ้น */
  min-width: 270px;
  font: inherit;
  border-radius: 4px; /* เพิ่มขอบโค้ง */
  transition: all 0.2s ease; /* เพิ่ม transition ให้ดูสมูท */
}
.box select{
  min-width:100px;
}
.box input[type=text]:focus,
.box input[type=password]:focus,
.box textarea:focus,
.box select:focus{
  border: #22224d 1px solid;
  box-shadow: 0 0 5px rgba(165, 29, 40, 0.2); /* เพิ่มเงาฟุ้งๆ เวลา focus */
  outline: none;
}
.box input[type=text].w400{
  min-width:400px;
}
.box input[type=text].w250{
  min-width:250px;
}
.box input[type=text].w200{
  min-width:200px;
}
.box input[type=text].w150{
  min-width:150px;
}
.box input[type=text].w100{
  min-width:100px;
  width:100px;
}
.box input[type=text].w50{
  min-width:50px;
  width:50px;
}
.box input[type=text].w30{
  min-width:30px;
  width:30px;
}
.box input[type=text].narrow{
  padding:4px;
}
.box input[type=text].txt_loading{
  background:url(../images/loading2.gif) center center no-repeat;
}
.box input.notshow{
  display:none;
}

.btnLogin{
  padding: 7px 20px 9px 20px;
  display: inline-block;

  font-weight: bold;
  text-decoration: none;
  color: #22224d;
  background: #F6F6F6;
  border: #DDD 1px solid;

  cursor:pointer;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

.btnLogin:hover,
.btnLogin:focus,
.btnLogin:active{
  color: #FFF;
  background: #22224d;
  border: #22224d 1px solid;

  -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btnLogin:active{
    text-shadow:rgba(0,0,0,0.3) 0 -1px 0px;
}
.btnLogin:disabled{
  color:#AAAAAA;
  cursor:default;
}
.btnLogin:disabled:hover{
  background:#F6F6F6;
  border:#DDD 1px solid;
}

.btnGeneral {
  color: #6e6e6e;
  font-weight:bold;
  text-decoration: none;
  padding: 7px 20px 9px 20px;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 0 #fff;
  -webkit-transition: border-color .218s;
  -moz-transition: border .218s;
  -o-transition: border-color .218s;
  transition: border-color .218s;
  background: #f3f3f3;
  background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
  background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
  border: solid 1px #dcdcdc;
  /*border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;*/
  margin-right: 10px;
  cursor:pointer;
}
.btnGeneral:hover {
  color: #333;
  border-color: #999;
  -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btnGeneral:active {
  color: #000;
  border-color: #444;
}

.btnLogin, .btnGeneral, a.button {
  border-radius: 4px !important; /* บังคับให้ปุ่มทุกตัวมีขอบโค้ง */
  padding: 8px 24px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/*----EDIT PANEL----*/
.editPan form{padding:10px 0;}
.editPan .required{height:22px; border:#C4C4C4 1px solid;}
.editPan label.lb_cap{width:180px; float: left; padding-top:8px; line-height:28px; text-align:right; padding-right:5px; overflow:hidden;}
.editPan label.lb_nline{padding:10px 0 0 0;}
.editPan label.lb_nline2{padding:5px 0 0 20px;}
.editPan label.lb_inline, .editPan label.lb_inline0, .editPan label.lb_inline2{float:left; padding:8px 20px 0 0; line-height:18px; margin:4px 0;}
.editPan label.lb_inline0{padding:8px 5px 0 0; line-height:13px;}
.editPan label.lb_inline2{padding:8px 5px 0 20px; line-height:13px;}
.editPan label.error{float:none; color:red; /* padding-left:185px; */ display:none; font-size:12px;}
.editPan p.sline label.error{padding-left:0;}
.editPan p.sline b{font-weight:normal;}
.editPan span.lineh{line-height:44px;}
.editPan p{clear:both;}
.editPan form p{margin:0; padding:0;}
.editPan form p.sub{padding:10px 0 0 189px;}
.editPan form p.sub_top0{padding:0 0 0 189px;}
.editPan form p.childLine label{padding:0 5px 0 0; margin:0 0 0 6px;}
.editPan form p.childLine span{padding:0 5px 0 0; margin:0 0 0 6px;}
.editPan h3{color:#22224d; border-bottom:#CCC 1px solid; padding:5px 0; clear:both; font-size:14px;}
.editPan h4{color:#555; border-bottom:#CCC 1px dotted; padding:5px 0; clear:both; margin-top:20px;}

.boxFloat,
.boxFloat1{
  float:left;
  width:760px;
}

/*----SEARCH PANEL----*/
.searchPan{text-align:center; padding:5px 0; margin-bottom:20px; /*border-bottom:#DADADA 1px solid;*/ clear: both;}
/*.searchPan a{color:#FF0; text-decoration:none;}
.searchPan a:hover{text-decoration:underline;}*/
.searchPan h3{color:#e42e54; padding:5px; clear:both; text-align:left; font-size:14px;}

.infoPage{text-align:center; color:#999;}
.pagination {
  /*background: #f2f2f2;*/
  padding: 5px;
  margin-bottom: 5px;
  text-align:center;
}
.page {
  display: inline-block;
  padding: 5px 10px;
  margin:4px 2px;
  border: solid 1px #c0c0c0;
  background: #e9e9e9;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  color: #717171;
}
.page:hover {
  background: #fefefe;
  text-decoration:none;
}
.page.active {
  border: solid 1px #006C91;
  background: #006C91;
  color: #FFF;
}
.page img{top:2px; position:relative;}

.title_article{
  font-size: 16px;
  padding: 15px 0;
  line-height: 1.4;
  font-weight: bold;
  color: #222;
}
.title_article p{
  padding: 4px 0;
}
.caption_blue{
  font-weight: bold;
  color: #1f5c99;
  padding: 15px 0 10px;
}
.content_author{
  font-size: 13px;
}
.content_abstract p{
  text-align: justify;
  padding: 0 0 10px;
  line-height: 1.8; /* สำหรับเนื้อหาที่เป็นบทคัดย่อให้อ่านง่ายเป็นพิเศษ */
  margin-bottom: 15px;
}

.news_img{
  float: left;
  max-width: 480px;
  width: 50%;
  margin-right: 15px;
  text-align: center;
}
.news_img img{
  width: 100%;
  display: block;
}
.news_cont{
  margin: 5px 0 0;
  height: 190px;
  overflow: hidden;
}
.news_cont p,
.member_cont p{
  color: #555;
}

.news_cont .cont_date{
  color: #888888;
  font-size: 12px;
}
.news_cont .cont_title,
.member_cont .cont_title{
  color: #333;
  /* font-family: CSPraJad; */
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* .box_gal{

} */
.box_gal img{
  display:block;
  float:left;
  width:27%;
  height:auto;
  margin:3%;
}

.box_album .block_bottom{
  position: absolute;
  width: 100%;
  height: 20%;
  left: 0;
  bottom: -5px;
  text-align: left;
  border-bottom: #FF4C4C 5px solid;
  z-index: 10;
}
.box_album a:hover .block_bottom{
  bottom: 0;
  -webkit-transition: all .3s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.box_album a:hover .box_img img{
  -webkit-filter: contrast(1.4);
   filter: contrast(1.4);
  /*-webkit-filter: sepia(1);
   filter: sepia(1);*/
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.box_album{
  width: 30%;
  float: left;
  margin: 0;
  padding: 1.6%;
  text-align: center;
  position: relative;
}
.box_album p{
  color: #555;
  font-size: 16px;
  padding-top: 3%;
  text-align: center;
}
.box_album a{
  color: #555;
}
.box_album a:hover p{
  color: #EE5850;
}
.box_album a{
  text-decoration:none;
}
/* .box_album a .center-cropped{

}
.box_album a:hover .center-cropped{

} */
.box_img{
  width: 100%;
  height: 240px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  border: #DDDDDD 1px solid;
}
/* .box_img .center-cropped{
  border-radius:50%;
} */

.txt_center{
  text-align: center;
}
.txt_justify{
  text-align: justify;
}
.txt_red{
  color: red;
}
.txt_dred{
  color: #C00000;
}
.txt_orange{
  color: #FF8000;
}
.txt_gray{
  color: #999;
}
.txt_blue{
  color: #1f5c99;
}

#mainPan, .wrapper_admin, .container, #main-content {
  width: 90%;
  max-width: 1400px; /* จำกัดความกว้างสูงสุดเพื่อไม่ให้ตัวอักษรอ่านยากในจอ UltraWide */
  margin: 60px auto auto;
  padding: 20px 0;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
} */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.main-header {
  background: #ffffff;
  border-bottom: 2px solid #f0f0f0;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
}
.logo span {
  margin-left: 18px;
  color: #111;
}
.logo img {
  height: 58px;
  border-radius: 29px;
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav ul li {
  font-size: 1.05rem;
  margin-left: 18px;
}

.main-nav ul li a {
  padding: 0;
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  transition: color 0.3s;
}

.main-nav ul li a:hover, .main-nav ul li a.active {
  text-decoration: underline;
  color: #d9534f;
}

/* Content Area */
.main-content {
  /* padding: 60px 0; */
  min-height: 60vh;
}

/* Footer Styles */
.main-footer {
  background: #002147;
  color: #ffffff;
  padding: 30px 0 20px;
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li a {
  color: #bdc3c7;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9em;
  color: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
  .main-header .container, .footer-grid {
    flex-direction: column;
    text-align: center;
  }
  .main-nav ul {
    margin-top: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}