
a.active, .active a, a:hover { color: rgb(235, 94, 40); }
h1, h2, h3, h4, h5, h6 { margin-bottom: 20px; color: rgb(140, 21, 21); font-weight: 300; }
ul { list-style: none; padding: 0px; margin-bottom: 0px; }
p { margin-bottom: 10px; }
[class^="hr-divider"] { clear: both; }
.hr-divider-sm { padding: 15px; }
.hr-divider-md { padding: 30px; }
.hr-divider-lg { padding: 50px; }
.no-padding { padding: 0px !important; }
.no-padding-top { padding-top: 0px !important; }
.no-padding-bottom { padding-bottom: 0px !important; }
.no-margin { margin: 0px !important; }
.no-margin-top { margin-top: 0px !important; }
.no-margin-bottom { margin-bottom: 0px !important; }
.view-all { clear: both; }
body { font-size: 16px; }
.font-size-16 { font-size: 16px; }
.font-size-14 { font-size: 14px; }
.paragraph { text-indent: 60px; }
h1, .h1 { font-size: 24px; }
h2, .h2 { font-size: 22px; }
h3, .h3 { font-size: 20px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 16px; }
h6 .h6 { font-size: 15px; }
.heading { border-bottom: 2px solid rgb(204, 197, 185); }
.list-underline > li, .ce-menu.ce-menu-1 li { font-size: 16px; }
.list-underline > li, .ce-menu.ce-menu-1 li { border-bottom: 1px solid rgb(230, 231, 232); }
.list-underline > li:last-child, .ce-menu.ce-menu-1 li:last-child { border-bottom: none; }
.list-underline a, .ce-menu.ce-menu-1 a { display: block; line-height: 2; text-decoration: none; }
.list-underline > li a::after, .ce-menu.ce-menu-1 > li a::after { content: ""; display: block; width: 0px; height: 1px; background: rgb(235, 94, 40); transition: width 0.3s ease 0s; }
.list-underline li a:hover::after, .ce-menu.ce-menu-1 li a:hover::after { width: 100%; }
.list-underline li ul, .ce-menu.ce-menu-1 li ul { margin-left: 10px; }
.list-underline > li.active a { font-weight: bold; }
ul.pagination > li > a { color: rgb(51, 51, 51); border: 0px; margin-right: 5px; margin-bottom: 5px; border-radius: 5px !important; }
ul.pagination > .active > a, ul.pagination > .active > a:focus, ul.pagination > .active > a:hover, ul.pagination > .active > span, ul.pagination > .active > span:focus, ul.pagination > .active > span:hover, ul.pagination a:focus, ul.pagination a:hover { background-color: rgb(170, 169, 165) !important; color: rgb(51, 51, 51) !important; }
.navbar-main .navbar-collapse { border: 0px; font-weight: 300; font-size: 16px; }
.navbar-main { border-radius: 0px; background-color: rgb(255, 255, 255); margin: 0px; border-width: 0px 0px 5px; border-top-style: initial; border-right-style: initial; border-left-style: initial; border-top-color: initial; border-right-color: initial; border-left-color: initial; border-image: initial; border-bottom-style: solid; border-bottom-color: rgb(64, 61, 57); }
.navbar-main .navbar-nav > li { margin-left: 5px; margin-right: 5px; }
.navbar-main .navbar-nav > li > a { color: rgb(0, 0, 0); padding: 5px 20px; border-radius: 5px; margin: 10px 0px; }
.navbar-main .navbar-nav > .active > a, .navbar-main .navbar-nav > .active > a:focus, .navbar-main .navbar-nav > .active > a:hover, .navbar-main .navbar-nav > li > a:hover, .navbar-main .navbar-nav > li > a:focus { color: rgb(255, 255, 255); background-color: rgb(235, 94, 40); border-radius: 5px; }
.navbar-main .navbar-toggle, .navbar-main .navbar-toggle:focus, .navbar-main .navbar-toggle:hover { background: none; border: 0px; }
.navbar-main .navbar-toggle .icon-bar { background-color: rgb(140, 21, 21); }
.navbar-header { float: none; clear: both; padding: 0px; background-image: url(""); background-repeat: no-repeat; background-position: right center; background-size: contain; }
.navbar-brand { height: auto; padding: 0px 15px; display: block; margin-right: -15px; }
.navbar-form .navbar-bnt-search { display: none; }
.navbar-form .navbar-search-input { border-radius: 50px; }
.navbar-form .navbar-search-input:focus { outline: none; }
.navbar-toggle { cursor: pointer; width: 45px; height: 40px; margin: auto; position: absolute; right: -8%; top: 0px; bottom: 0px; }
.navbar-toggle i { background-color: rgb(62, 62, 62); border-radius: 2px; content: ""; display: block; width: 100%; height: 3px; }
.navbar-toggle i:nth-child(1) { animation: 0.8s ease 0s 1 reverse backwards running outT; }
.navbar-toggle i:nth-child(2) { margin: 6px 0px; animation: 0.8s ease 0s 1 reverse backwards running outM; }
.navbar-toggle i:nth-child(3) { animation: 0.8s ease 0s 1 reverse backwards running outBtm; }
[aria-expanded="true"].navbar-toggle i:nth-child(1) { animation: 0.8s ease 0s 1 normal forwards running inT; }
[aria-expanded="true"].navbar-toggle i:nth-child(2) { animation: 0.8s ease 0s 1 normal forwards running inM; }
[aria-expanded="true"].navbar-toggle i:nth-child(3) { animation: 0.8s ease 0s 1 normal forwards running inBtm; }
@-webkit-keyframes inM { 
  50% { transform: rotate(0deg); }
  100% { transform: rotate(45deg); }
}
@keyframes inM { 
  50% { transform: rotate(0deg); }
  100% { transform: rotate(45deg); }
}
@-webkit-keyframes outM { 
  50% { transform: rotate(0deg); }
  100% { transform: rotate(45deg); }
}
@keyframes outM { 
  50% { transform: rotate(0deg); }
  100% { transform: rotate(45deg); }
}
@-webkit-keyframes inT { 
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(9px) rotate(0deg); }
  100% { transform: translateY(9px) rotate(135deg); }
}
@keyframes inT { 
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(9px) rotate(0deg); }
  100% { transform: translateY(9px) rotate(135deg); }
}
@-webkit-keyframes outT { 
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(9px) rotate(0deg); }
  100% { transform: translateY(9px) rotate(135deg); }
}
@keyframes outT { 
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(9px) rotate(0deg); }
  100% { transform: translateY(9px) rotate(135deg); }
}
@-webkit-keyframes inBtm { 
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(0deg); }
  100% { transform: translateY(-9px) rotate(135deg); }
}
@keyframes inBtm { 
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(0deg); }
  100% { transform: translateY(-9px) rotate(135deg); }
}
@-webkit-keyframes outBtm { 
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(0deg); }
  100% { transform: translateY(-9px) rotate(135deg); }
}
@keyframes outBtm { 
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(0deg); }
  100% { transform: translateY(-9px) rotate(135deg); }
}
.dropdown-menu { font-size: 16px; width: 100%; min-width: 280px; }
.dropdown-menu > li > a { white-space: normal; padding: 3px 15px; font-weight: 300; }
.dropdown-submenu { font-size: 16px; position: relative; }
.dropdown-submenu > .dropdown-menu { top: 0px; left: 100%; margin-top: -6px; margin-left: -1px; border-radius: 0px 6px 6px; }
.dropdown-submenu > a::after { display: block; content: ""; float: right; width: 0px; height: 0px; border-color: transparent transparent transparent rgb(204, 204, 204); border-style: solid; border-width: 5px 0px 5px 5px; margin-top: 5px; margin-right: -10px; }
.dropdown-submenu:hover > a::after { border-left-color: rgb(85, 85, 85); }
.dropdown-submenu.pull-left { float: none; }
.dropdown-submenu.pull-left > .dropdown-menu { left: -100%; margin-left: 10px; border-radius: 6px 0px 6px 6px; }
.dropdown-menu a:focus, .dropdown-menu a:hover, .dropdown-menu .active > a, .dropdown-menu .active a:focus, .dropdown-menu .active a:hover { color: rgb(235, 94, 40) !important; background: none !important; }
.dropdown-menu > .active > a { font-weight: 500; }
#footer { border-top: 5px solid rgb(64, 61, 57); padding-top: 15px; font-size: 14px; color: rgb(37, 36, 34); }
#footer header { border-left: 3px solid rgb(235, 94, 40); padding-left: 10px; }
#footer header h1, #footer header h4 { margin-bottom: 5px; }
#footer header h4 {margin-top: 0px;color: inherit;font-weight: 100;}
#footer ul { list-style: none; padding-left: 0px; }
#footer ul.mfu-social { text-align: center; font-size: 28px; margin-bottom: 20px; }
#footer .mfu-social li { display: table-cell; padding: 5px; }
#footer .mfu-social li a { width: 40px; height: 40px; border-radius: 50%; color: rgb(255, 255, 255); display: table-cell; vertical-align: middle; font-size: 24px; transition: background-color 0.5s ease 0s; background-color: rgb(140, 21, 21); }
#footer .mfu-social li a:hover { transition: background-color 0.5s ease-out 0s; }
#footer .mfu-social li .facebook-icon:hover { background-color: rgb(59, 89, 152); }
#footer .mfu-social li .twitter-icon:hover { background-color: rgb(85, 172, 238); }
#footer .mfu-social li .line-icon:hover { background-color: rgb(34, 172, 56); }
#footer .section { margin-bottom: 30px; }
#footer h1, #footer h4 {margin-bottom: 10px;color: rgb(140, 21, 21);font-weight: 200;}
#footer, .navbar-main .navbar-collapse, ul.pagination > li > a, .seminar-news li a, .album-page .list .content, .gallery-page .list .content { background-color: rgb(242, 241, 235); }
.panel { margin-top: 30px; border-radius: 0px; }
.information-news .detail .list { margin-bottom: 15px; }
.information-news .detail .date { color: rgb(147, 147, 147); }
.information-news .view-all a:hover { color: rgb(140, 21, 21); }
.information-news .detail a { text-decoration: none; display: block; }
.seminar-news { padding: 0px 30px; font-size: 16px; }
.seminar-news li { margin-bottom: 15px; }
.seminar-news li a { padding: 15px; display: block; text-align: center; height: 75px; border-radius: 10px; }
.seminar-news li a:hover { background-color: rgb(140, 21, 21); color: rgb(255, 255, 255); text-decoration: none; }
.about-section .list-underline li ul li { font-size: 14px; }
.album-page .list { margin-bottom: 15px; padding-right: 0px; }
.album-page .list .content { padding: 10px; }
.album-page a { text-decoration: none; }
.gallery-page .list { margin-bottom: 15px; padding-right: 0px; }
.gallery-page .list .content { padding: 10px; }
.gallery-page a { text-decoration: none; }
.gallery-page .date { margin-bottom: 30px; }
.news ul li ul { margin-left: 40px; }
.news ul li ul li { list-style: disc; }
.news ul li a { line-height: 25px; }
a.scroll-to-top { line-height: 20px; color: rgb(255, 255, 255); display: none; cursor: pointer; font-size: 80%; border-radius: 5px; width: 35px; position: fixed; right: 10px; bottom: 10px; background: rgb(235, 94, 40); height: 30px; text-align: center; padding: 5px; }
.space-5 { padding-bottom: 5px; }
.space-10 { padding: 5px; }
.space-20 { padding: 10px; }
.space-30 { padding: 15px; }
.space-40 { padding: 20px; }
.space-50 { padding: 25px; }
h1.home-news-headline, h1.news-headline { font-size: 16px; line-height: 20px; text-decoration: none; display: block; margin-bottom: 0px; margin-top: 0px; }
h1.home-news-headline a:hover, h1.news-headline a:hover { text-decoration: none; }
.page-navigation p { display: none; }
small.extra { color: rgb(238, 238, 238); }
.news-list-view .extra, .news-single .extra { color: rgb(135, 129, 120); font-size: 14px; line-height: 18px; font-weight: 300; }
.news-single h1 { color: rgb(0, 0, 0); display: block; padding: 0px 15px 15px 0px; margin-bottom: 15px; }
#twitter-widget-0 { padding: 4px 0px 0px !important; width: 60px !important; height: 24px !important; }
.news-single .social { display: table; width: auto; }
.news-single .social div { display: table-cell; vertical-align: top; }
.news-single .social div.gplus { padding: 3px 0px 0px !important; }
.news-single .social div .fb-share-button.fb_iframe_widget { padding: 2px 5px 0px 0px !important; }
.news-single a.btn-default { float: right; }
.news-single .mfu-gallery img { margin-bottom: 15px; }
.news-list-view .label-info { font-weight: 300; background-color: rgb(153, 153, 153); font-size: 12px; }
.news-text-wrap ul, .news-text-wrap ol, #pageid-524 ul, #pageid-524 ol { padding: 0px 0px 10px 40px; }
.news-text-wrap ul, #pageid-524 ul { list-style-type: disc; }
.news-text-wrap ol, #pageid-524 ol { list-style-type: decimal; }
.news-text-wrap p { margin-bottom: 10px; }
.label-info { font-weight: normal; background-color: rgb(160, 118, 23); }
.news-list-item .label-info { background-color: transparent; padding: 0px; border-radius: 0px; color: rgb(51, 51, 51); }
.tx-dftabs-tabContents .news .page-navigation { display: none; }
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover, .pagination > li > a, .pagination > li > span { border: 0px; margin-right: 5px; border-radius: 5px; background: rgb(238, 238, 238); color: rgb(51, 51, 51); margin-left: 0px; }
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover { background-color: rgb(140, 21, 21); color: rgb(255, 255, 255); }
.page-navigation p { display: none; }
.pagination > li > a, .pagination > li > span { border-radius: 5px; }
.f3-widget-paginator { display: table; padding-left: 0px; margin: 10px auto; border-radius: 4px; }
.f3-widget-paginator > li { display: inline; }
.f3-widget-paginator > li > a, .f3-widget-paginator > li.current {display: table-cell;position: relative;/* padding: 6px 12px; */margin-left: -1px;line-height: 1.42857;color: rgb(51, 51, 51);text-decoration: none;background-color: rgb(242, 241, 235);border-radius: 5px !important;}
.f3-widget-paginator > li.current {/* background-color: rgb(170, 169, 165); *//* color: rgb(51, 51, 51); */}
.f3-widget-paginator > li > a:hover, .f3-widget-paginator > li.current:hover { background-color: rgb(170, 169, 165); color: rgb(51, 51, 51); cursor: pointer; }
ul.tag-menu-view, ul.tag-menu-view li { display: inline; }
ul.tag-menu-view li { float: left; padding: 2px 5px; margin: 2px; background: rgb(238, 238, 238); font-size: 14px; }
ul.tag-menu-view li:hover, ul.tag-menu-view li a:hover { background: transparent; }
ul.tag-menu-view li a { display: block; padding: 0px; text-align: center; }
ul.tag-menu-view li.active { background: rgb(140, 21, 21); }
ul.tag-menu-view li.active a { color: rgb(255, 255, 255); }
.owl-nav { display: table; margin: 0px auto; }
.owl-nav div { background: rgb(238, 238, 238); display: inline-table; margin: 10px 5px; padding: 2px 15px; border-radius: 5px; }
.news-search-form input.btn-default { background-color: rgb(140, 21, 21); color: rgb(255, 255, 255); }
.box-link h1, .sidemenu h1 { margin-top: 0px; }
.tx-mfugallery { position: relative; clear: both; }
.tx-mfugallery .row div:nth-child(2n+1) { clear: none; }
.tx-mfugallery .row div:nth-child(1), .tx-mfugallery .row div:nth-child(5), .tx-mfugallery .row div:nth-child(11), .tx-mfugallery .row div:nth-child(15) { clear: both; }
.tx-mfugallery h1 { margin: 0px; color: rgb(62, 62, 62); padding: 10px; min-height: 70px; font-size: 16px; background-color: rgb(242, 241, 235); }
@media (max-width: 767px) {
  .seminar-news { padding: 0px; }
  .information-news .detail .list { font-size: 14px; }
  .navbar-header { margin-top: 15px; margin-bottom: 15px; background: none; }
  .navbar-brand { padding-left: 0px; }
  .gallery-page .gallery-section .row, .album-page .album-section .row { margin-right: -15px; }
  .gallery-page .gallery-section .list, .album-page .album-section .list { padding-right: 15px; }
}
@media (max-width: 767px) and (min-width: 412px){
  .gallery-page .gallery-section .list, .album-page .album-section .list { width: 50%; float: left; padding-right: 0px; }
  .gallery-page .gallery-section .row, .album-page .album-section .row { padding-right: 15px; }
}
@media (max-width: 992px) and (min-width: 768px) {
  .navbar-form .navbar-search-input { width: 200px !important; }
}
@media (min-width: 768px) {
  .cas-link .heading { margin-top: 0px; }
  .navbar-brand .logo { width: 85%; }
  .gallery-page .gallery-section .row, .album-page .album-section .row { margin-right: 0px; }
}
.img-border { border: 1px solid rgb(204, 197, 185); padding: 5px; background-color: rgb(255, 255, 255); margin-bottom: 10px; }
.img-news-index { height: auto; border: 1px solid rgb(242, 241, 235); padding: 3px; margin-bottom: 10px; width: 100%; }
.tx-mfugallerylink h1 { margin: 0px; color: rgb(62, 62, 62); padding: 10px; min-height: 70px; font-size: 16px; background-color: rgb(242, 241, 235); }
.box-link ul { list-style-type: none; font-size: 17px; text-align: left; line-height: 20pt; margin: 0px; padding: 0px; width: 100%; }
.box-link li a { display: block; padding: 10px; margin-bottom: 5px; border-radius: 5px; color: rgb(51, 51, 51); background-color: rgb(242, 241, 235); transition: all 0.3s ease 0s; text-align: center; }
.box-link li a.active { background-color: rgb(140, 21, 21); }
.box-link li a:hover:not(.active) { background-color: rgb(235, 94, 40); color: rgb(255, 255, 255); }
.sidemenu ul { font-family: Prompt, sans-serif; font-weight: 300; list-style-type: none; margin: 0px; padding: 0px; width: 100%; }
.sidemenu li a { display: block; color: rgb(48, 56, 65); padding: 5px; border-bottom: 3px solid rgb(229, 229, 229); background: rgb(255, 255, 255); margin-bottom: 15px; text-decoration: none; font-size: 17px; transition: all 0.1s ease 0s; }
.sidemenu li.active a { font-weight: bold; color: rgb(70, 43, 79); }
.sidemenu li a:hover { background-color: rgb(255, 255, 255); color: rgb(70, 43, 79); transition: all 0.3s ease 0s; }
h2.link-news a { font-size: 16px; }
#footer .copyright h4.heading {border-bottom: 1px solid rgb(204, 197, 185);}
/* ------------------------ */
/* GENERAL STYLES */
/* ------------------------ */

/* ------------------------ */
.imgdetail{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ulcircle{
  list-style-type:disc;
}
/* start overide column gap */
.ce-col,
.col-md-7,
.col-md-5
{
  padding-left: 2px;
  padding-right: 2px;
}

/* end overide column gap */


/* Red blink */
.blink {
  
  color: red;
  animation: blinking 1.5s infinite;
}

@keyframes blinking {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* End Red blink */

/* ------------------------ */
/* adobe */
/* ------------------------ */
.step {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.step h2 {
  color: #2c5282;
  margin-top: 0;
}
.step img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.instruction {
  margin-bottom: 15px;
}
/* END Adobe*/

/* ------------------------ */
/* TABLE STYLES */
/* ------------------------ */

/* TABLE STYLES A*/
.tablesylea {
  overflow: auto;
  width: 100%;
}

.tablesylea table {
  border: 1px solid #dededf;
  height: 100%;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 1px;
  text-align: left;
}

.tablesylea caption {
  caption-side: top;
  text-align: center;
}

.tablesylea th {
  border: 1px solid #dededf;
  background-color: #ffe8e8;
  color: #000000;
  padding: 5px;
}

.tablesylea td {
  border: 1px solid #dededf;
  padding: 5px;
}

.tablesylea tr:nth-child(even) td {
  background-color: #e3eff6;
  color: #000000;
}

.tablesylea tr:nth-child(odd) td {
  background-color: #ffffff;
  color: #000000;
}
/* END TABLE STYLES A*/

/* ------------------------ */

/* **************Button style ***************** */
.btn-grad {background-image: linear-gradient(to right, #FD8A8A 0%, #72AED4  60%, #FD8A8A  100%)}

.btn-grad {
  margin: 0 30px; /* ปรับระยะห่างระหว่างปุ่ม */
  padding: 10px 20px; 
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  box-shadow: 0 0 20px #eee;
  border-radius: 5px; 
  text-align: center; 
  font-size: 24px;

}

.btn-contact {
  margin: 0 30px; /* ปรับระยะห่างระหว่างปุ่ม */
  padding: 10px 20px; 
  text-decoration: none;
  text-transform: uppercase;
  text-align: center; 
  font-size: 24px;

}

/* --------------Center Container----------- */
.centercontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 8vh;
}

.btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}
         

/* ------------------------ */
/* start overide Carousel */
.bx-controls.bx-has-pager .bx-pager div a{
  border: 1px solid #FFAC00; 
}

.bx-controls.bx-has-pager .bx-pager div a.active {
  border: 1px solid #FFAC00;
  background :#FFAC00;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover{
  border: 1px solid #FFAC00;
  background :#FFAC00;
}
/* ------------------------ */
/* end overide Carousel */
.grid-1-cols{
  display: grid;
  grid-template-columns: 1fr;   
}

.page-1-col{
  padding-left: 50px;
  padding-right: 50px;
}

@media only screen and (min-width: 1260px) {
.grid-2-cols{
  display: grid;
  grid-template-columns: 60% 40%;
  /* width: 1170px;   */
  max-width: 1150px;
  margin: 0 auto;
  gap: 5px;
  row-gap: 33px;
}

.grid-4-cols {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1150px;
  margin: 0 auto;
  gap: 6px;
  row-gap: 10px;
}

.news-item{
  padding-top: 0px;
  margin-top: 40px;
}

}



.grid-5-cols-service{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;

}

.grid-5-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 690px;
  margin: 0 auto;
  gap: 10px;
}

.grid-5-cols-downloading{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 690px;
  margin: 0 auto;
  gap: 20px;
}

.service-bar{
  background-color: #FFF ;
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08); 
  border: 1px solid #F2F2F2;
  border-radius: 3px;  
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 7px;
  padding-right: 5px;
  margin-top: 30px;
  /* padding: 10px 15px; */
}

.all-service-bar{  
  /* background-color: #f7f7f700 ; */
  background-color: #FFF ;
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08); 
  border: 1px solid #F2F2F2;
  border-radius: 3px;  
  max-width: 940px;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 50px;
  /* width: 700px;   */
  /* margin-right: 0px; */
}

.all-service-container{  
 padding: 0px 10%;
}

.all-service-container .fixed-shape{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.03;
} 

.downloadspace{
  margin: 100px 0px;
}

.bartext{
  font-size: 22px;
  font-weight: 400;  
  color: #2E2E34;
  text-align: center;
  line-height: 1.3;
}

.detailtext{
  font-size: 16px;
  font-weight: 300;
  color: #2E2E34;
  text-align: center;
  line-height: 1.2;
}

.titlename{ 
  display: inline-block;
  background-color: #FF8C00;
  color: #FFFAF2;
  font-size: 36px;
  text-align: center;
  font-weight: 400;   
  padding: 15px;
}

.service-icon-text{
  padding-top: 15px;
  font-size: 14px;
  font-weight: 500;
}

.indexpading{
  margin: 30px 0px;
}

.BG{   
  background: linear-gradient(180deg, #FFC277 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, #fff38a 100%);
}

.BGHOME{
  background:#FFF;
}

.glyph svg.icon {
  width: 45px;
  height: 45px;
  margin-top: 25px;
  /* margin-bottom: 12px; */
}

ol.decimalOl{ counter-reset: item }
LI.decimalLi { display: block }
LI.decimalLi:before { content: counters(item, ".") " "; counter-increment: item }

.imgalign{
  margin-top: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================== 
     # Services Version Nine
=================================================================== */
/* .sv9{
  grid-column: 2 / 3;
}
.sv10{
  grid-column: 3 / 4;
} */
.fonticonalign{
  display: block;
  text-align: center;
  padding-top: 30px;
}

/* .services-svgicon{    
  width: 68px; 
  stroke: #2E2E34;

} */

/* .service-container { 
  width: 900px;  
  margin: 0 auto;
} */

.servicebar-top{
  /* padding-top: 10px; */
}
.service-text{
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #2E2E34;
}

.services-style-nine {
  display: block;
  text-align: center; 
  border: 1px solid #F2F2F2;
  width: 160px;
  height: 135px; 
  position:relative;
}

.services-style-nine .item {
  width: 160px;
  height: 135px;
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08); 
  border-radius: 3px;
  overflow: hidden;
  background: #FFE8CC;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.services-style-nine .item::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: -100%;
  content: "";
  height: 100%;
  width: 100%;
  background:  #FFAC00;
  transition: all 0.15s ease-in-out;
  z-index: -1;
}

.services-style-nine .item:hover::before {
  bottom: 0;
}

.services-style-nine .item:hover a,
.services-style-nine .item:hover p {
  color: #ffffff;
}


.services-style-nine .item p {
  /* margin: 0px; */
  margin-bottom: 20px;
}

.services-style-nine .item a,
.services-style-nine .item p {
  transition: all 0.15s ease-in-out;
}

.services-style-nine .item i {
  display: inline-block;
  margin-top: 15px;
  font-size: 45px;
  /* color
  : #FF8C00;  */
  transition: all 0.1s ease-in-out;  
  background: linear-gradient(180deg,#F2CB57,#F28444); 
  -webkit-background-clip:text;
  color:transparent;    
}

.services-style-nine .item:hover i {
  color: #ffffff;
}

.service-link:link, 
.service-link:visited, 
.service-link:focus, 
.service-link:hover, 
.service-link:active
{  
  text-decoration:none;
  font-weight: 600;
  color: #2E2E34;
  cursor:pointer;
}

/* ============================================================== 
     # Download Index
=================================================================== */
.download-detailtext{
  font-size: 16px;
  font-weight: 300;
  color: #2E2E34;
  text-align: center;
  line-height: 0.6;
  margin-bottom: 35px;
}


.download-bar{
  background: #FFF;
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08);  
  border: 1px solid #F2F2F2;  
  border-radius: 3px;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 36px;
  margin-bottom: 35px;
  margin-top: 30px;
}

.svgalign{
  display: block;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 10px;
}

.download-svgicon{    
  width: 50px;
  /* stroke: #2E2E34; */
  fill: #2E2E34;
}
.download-container {
  /* width: 900px;  
  margin: 0 auto; */
}

.download-area .fixed-shape-bottom {
  z-index: -1;
  opacity: 0.2;
}

.download-area .download-item {
  margin-bottom: 20px;
}

.download-area a {
  background: #ffffff;
  width: 120px;
  height: 110px;
  padding: 0px 0px;
  text-decoration: none;
  border: 1px solid #F2F2F2;
  display: block;
  padding-bottom: 0;
  position: relative;
  /* margin-bottom: 15px; */
  border-radius: 5px;
}

.download-area a h5 {
  display: grid;  
  font-weight: 700;
  margin: 0px auto; 
  text-align: center;
  font-size: 12px;  
  color: #2E2E34;
  background: #D9D9D9;
  padding-top: 5px;
  padding-bottom: 5px;  
  border-radius: 30px;
  position: relative;  
  z-index: 1;  
  /* bottom: -25px; */
  border: 1px solid #D9D9D9;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}
.download-area a h5::after {
  position: absolute;
  left: -100%;
  bottom: 0;
  content: "";
  height: 100%;
  width: 100%;  
  background: linear-gradient(
    90deg,
    rgb(255, 172, 0) 0%,       
    rgb(255, 172, 0) 56%    
  ); 
  z-index: -1;
  border-radius: 30px;
  transition: all 0.1s ease-in-out;
}

.download-area a:hover h5 {
  color: #ffffff;
  border: 1px solid transparent;
}

.download-area a:hover h5::after {
  left: 0;
}
/* h2.font-16 {
  font-size: 14px !important;
  line-height: 20px !important;
} */

/* ============================================================== 
     # Carousel
=================================================================== */
/* * {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
img {vertical-align: middle;} */
.mySlides {display: none;}

/* BG carousel */
.carousel-bar{
  display: grid;
  grid-template-columns: 1fr;  
}
.carousel-img{
  vertical-align: middle;
  border-radius: 5px;
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08); 
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: red;  
  border-radius: 50%;
  border: 1px solid #FFAC00;
  display: inline-block;
  /* transition: background-color 0.6s ease; */
  position: absolute;
  top: 3px;
  right: 3px;
}

.dotdisplay{
  text-align:center;
  margin-top: 2px;
}  

.active-carousel {
  background-color: #FFAC00;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}



/* Start Statistics Area */
.service-stat-bar{
  background: #FFF;
  border-radius: 3px;
  padding-top: 10px;
  padding-bottom: 10px;    
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08); 
  border: 1px solid #F2F2F2;
  margin: 0 auto;
  max-width: 1150px;
}
.service-stat-item{
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.stattext{
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #2E2E34;
}

.value{
  font-size: 22px;
  font-weight: 700;  
  color: #2E2E34;
  text-align: center;
}

/* End Statistics Area */

/* ============================================================== 
     # News
=================================================================== */
.grid-2-cols-news{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  max-width: 800px;
  margin: 0 auto;
  gap: 10px;
  margin-top: 20px;
}
.space01{
  margin-top: 35px;
}
.main-news-item{
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
  gap: 10px;
  margin-bottom: 100px;
  margin-top: 30px;
}
.news-bar{
  background-color: #F7F7F7;
  margin-top: 5px;
}

/* .news-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  
} */


.news-item li{
  display: grid;  
  grid-template-columns: 40% 60%;  
  background-color: #FFF;    
  margin-bottom: 10px;  
  height: 138px;
  /* width: 460px; for create version */
  width: 496px;
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08);   
}

.article-item{
  margin-top: 0px;
}
.article-item li{
  display: grid;  
  grid-template-columns: 40% 60%;  
  background-color: #FFF;    
  margin-bottom: 10px;  
  height: 138px;
  /* width: 460px; for create version */
  width: 496px;
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08);   
}

.recent-news-item a{
  font-size: 22px;
  font-weight: 300;  
  color: #2E2E34;
}
.thumb {  
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumb img{
  display:grid;
  margin: 0 auto;
  width: 80%;
} 

.info{
  display: grid;
  grid-template-rows: 80% 20%;
  padding: 5px;
}

.info{
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;    
}

.info a{
  text-decoration: none;  
  border-bottom:  2px solid #F2F2F2;
}

.info a:hover{
  color:#FFAC00;
}
.meta-title {
  text-align: right;  
  font-size: 12px;
  font-weight: 300;
  margin-top: 5px;  
}

/* ============================================================== 
     # Article
=================================================================== */

/* BG carousel */
.article-bar{  
  /* width: 730px; */
  border-radius: 3px;
  padding: 1px 5px;    
  margin-bottom: 20px;   
}

.article-bartext{
  margin-top: 43px;
  font-size: 22px;
  font-weight: 400;  
  color: #2E2E34;
  text-align: center;
  line-height: 1.3;
}


/* ============================================================== 
     # OIT accordion
  =================================================================== */
/* Style the buttons that are used to open and close the accordion panel */
.accordionbar{
  margin-bottom: 100px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.oitaccordion {  
  /* background-color: #e9ecef; */
  /* background-color: #FFE8CC; */  
  background-image: linear-gradient(90deg, #fed0d0 0%, #c7dfee 60%);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.1);
  border-radius: 3px;  
  cursor: pointer;
  padding: 18px;
  width: 100%;
  font-size: 16px;
  font-weight: 700;  
  color: #2E2E34;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s; 
}

.accordiontitle{
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 24px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordionactive, .accordion:hover {
  background-image: linear-gradient(90deg, #FD8A8A 0%, #72AED4 60%);
  /* background-color: #FFAC00; */
}

/* Style the accordion panel. Note: hidden by default */
.oitpanel {
  /* padding: 0 18px; */
  background-color: white; 
  display: none;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  color: #2E2E34;
}

.oitpanel a:link,
.oitpanel a:visited {
  text-decoration: none;
  display: block; 
  /* box-shadow: 0 0 32px rgba(0, 0, 0, 0.1);  */
  margin-bottom: 2px;
  padding: 14px 0;
}

.oitpanel a:hover{
  /* color: #FF8C00; */
  color: #FD8A8A;
}

.oitdetailtext{
  margin-left: 55px;
}

/* -- About us Area =============================================    */
/* header */
.aspiration-container{
  display: grid;
  max-width: 800px;
  grid-template-columns:1fr;
  margin: 0px auto;
  margin-top: 50px;
  margin-bottom: 80px;
}
.grid-aspiration{
  display: grid;
  max-width: 800px;
  padding: 10px;
  grid-template-columns: 40% 60%; 
 
}

.grid-3-col-aspiration{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 10px;
  gap: 15px;
}

.img-aspiration{  
  max-width: 80%;  
}

.align-img-aspiration{
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-aboutus{
  text-align: right;
  font-size: 16px;
  font-weight: 700;  
  color: #2E2E34;
}

.headdetail-aboutus{
  text-align: right;
  font-size: 16px;
  font-weight: 300;  
  color: #2E2E34;
}

.vision-section,
.mission-section{
  margin-top: 80px;
}
.title-vision,
.title-mission{
  text-align:center;
  font-size: 16px;
  font-weight: 700;  
  color: #2E2E34;
}
.vision-item{
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08); 
  border-radius: 3px;
  background: #FFE8CC;
  padding: 10px 15px;
}
.vision-item i{
  font-size: 30px;
  color:#FFAC00;
}
.vision-detail{
  text-align: left;
  font-size: 16px;
  font-weight: 300;  
  color: #2E2E34;
}
.mission-section li{
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  /* background-color: #f2f2f2; */
  padding: 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  row-gap: 24px;
  align-items: center;
}
.missionnumber{
  font-size: 16px;
  font-weight: 700;  
  /* color: #2E2E34; */
  color: #FFAC00;
}

.animated { 
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInLeft {
  0% {
     opacity: 0;
     -webkit-transform: translateX(-20px);
  }
  100% {
     opacity: 1;
     -webkit-transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  0% {
     opacity: 0;
     transform: translateX(-20px);
  }
  100% {
     opacity: 1;
     transform: translateX(0);
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}
 
/* Organization Chart Area */
.orgchart-container{
  margin-top: 30px;
  margin-bottom: 80px;
}
.orgchart-section img{
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.orgchart-img{
  content: url("http://cits.mfu.ac.th/fileadmin/CITS_File/graphics/CITS_OrgChart20240730.png");
  max-width: 65%;
}

.orgchart-imgEN{
  content: url("http://cits.mfu.ac.th/fileadmin/CITS_File/graphics/CITS_OrgChartEN20240730.png");
  max-width: 65%;
}


/* ============================================================== 
     # Team area
  =================================================================== */

.team-container{
  margin-top: 30px;
  margin-bottom: 80px;
} 

.grid-1-col-team{
  display: grid;
  max-width: 281px;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0px auto; 
}

.grid-2-col-team{
  display: grid;
  max-width: 524px;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  margin: 0px auto;
}

.grid-3-col-team{
  display: grid;
  max-width: 835px;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 0px auto;
}

.grid-4-col-team{
  display: grid;
  max-width: 1139px;
  grid-template-columns: repeat(4,1fr);
  gap: 5px;
  margin: 0px auto;
}

.director-headertext{
  margin-top: 20px;
  font-size: 20px;
  font-weight: 300;  
  color: #2E2E34;
  text-align: center;
  line-height: 1.3;
}


.subteam-headertext{
  margin-top: 80px;
  font-size: 20px;
  font-weight: 400;  
  color: #2E2E34;
  text-align: center;
  line-height: 1.3;
}
.team-section{  
  border-radius: 3px;
  max-width: 1170px;
  margin: 0px auto;
}
.team-item{
  background-color: #FFF;
  border: 1px solid #F2F2F2; 
  box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.08); 
  border-radius: 3px;
  padding-left: 10px;
  padding-right: 10px; 
  /* padding: 10px; */
  width: 257px;
  height: 380px;
}

.team-image-wrapper{
  /* position: relative; */
  display: grid;
  margin: 0 auto;
  margin-top: 15px;  
  margin-bottom: 25px;
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 50%; 
  border: 2px solid #FFAC00; 
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
} 
.team-image-wrapper img { 
  width: 100%; 
  height: auto; 
}

.staff-details{  
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;  
}


.staff-name{
  text-align: center;
  font-size: 16px;
  font-weight: 700;  
  color: #2E2E34;
}

.staff-position{
  text-align: center;
  font-size: 16px; 
  color: #2E2E34;
}
.staff-email-sm{ 
  font-size: 14px; 
  color: #2E2E34;
}

/* ==============================================================
 tablets Layout: 993 to 1199px. new
 =================================================================== */
 @media only screen and (max-width: 1259px) and (min-width: 800px) {

  .grid-2-cols{
    display: grid;
    grid-template-columns: 1fr;  
    margin: 0 auto;
    gap: 10px;
  }
  
  .grid-4-cols {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 670px;
    margin: 0 auto;
    gap: 6px;
    row-gap: 10px;
  }
  .service-bar,
  .download-bar{
    max-width: 675px;
    margin: 0 auto;
    margin-top: 30px;
  }

  .service-stat-bar{    
    margin: 0 auto;
    max-width: 690px;
  }

  .grid-5-cols {    
    grid-template-columns: repeat(5, 1fr);
    max-width: 700px;
  }

  .news-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 5px;  
    max-width: 750px;
    margin: 0 auto;
  }

  .grid-5-cols-service{    
    grid-template-columns: repeat(3, 1fr);
    max-width: 500px;   
  }
  .all-service-bar{       
    max-width: 560px;    
  }

  .grid-5-cols-downloading{
    grid-template-columns: repeat(3, 1fr); 
    max-width: 400px;
    margin: 0 auto;    
  }
  .grid-4-col-team{    
    max-width: 570px;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;    
  } 
  .tabletdisplay{
    display:contents;
  }
  .article-container{
    grid-row: 3/4;
  }
  .download-container {
    grid-row: 4/5;
  }
 
  .news-item li{   
    grid-template-columns: 40% 60%;      
    height: 138px;    
    width: 370px;    
    margin: 0 auto;
  }

  .article-item li{   
    grid-template-columns: 40% 60%;      
    height: 138px;    
    width: 370px;    
    margin: 0 auto;
  }
 }

 /* ==============================================================
 tablets Layout: 993 to 1199px. new
 =================================================================== */
 @media only screen and (max-width: 799px) and (min-width: 531px) {

  .grid-2-cols{
    display: grid;
    grid-template-columns: 1fr;  
    margin: 0 auto;
    gap: 10px;
  }
  
  .grid-4-cols {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 500px;
    margin: 0 auto;
    gap: 6px;
    row-gap: 10px;
  }

  .service-bar,
  .download-bar{
    max-width: 505px;
    margin: 0 auto;
    margin-top: 30px;
  }

  .service-stat-bar{    
    margin: 0 auto;
    max-width: 520px;
  }

  .grid-5-cols {    
    grid-template-columns: repeat(3, 1fr); 
    max-width: 390px;
    gap: 10px;   
    row-gap: 50px;         
  }  
  .news-grid{
    display: grid;
    grid-template-columns: 100%;
    max-width: 496px;
    margin: 0 auto;     
  }
  .all-service-bar{       
    width: 360px;    
  }

  .grid-5-cols-service{    
    grid-template-columns: repeat(2, 1fr);
    max-width: 340px;  
    margin: 0 auto;  
  }
  
  .grid-5-cols-downloading{
    grid-template-columns: repeat(2, 1fr);
    max-width: 270px;    
  }
  .grid-2-cols-news{
    grid-template-columns: 1fr;
  }
  .recent-news-item a{
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;  
    color: #2E2E34;
  }  

  .grid-1-col-team,
  .grid-2-col-team,
  .grid-3-col-team,
  .grid-4-col-team{
    display: grid;    
    grid-template-columns: 1fr;    
    max-width: 260px;       
  }
 }
/* ==============================================================
 tablets Layout: 1200px. 
 =================================================================== */
 /* @media only screen and (max-width: 1199px) {
  .grid-2-cols{
    display: grid;
    grid-template-columns: 1fr;  
    margin: 0 auto;
    gap: 10px;
  }
  .grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 680px;
    margin: 0 auto;
    gap: 10px;      
  }
  .grid-5-cols {    
    grid-template-columns: repeat(5, 1fr);
    max-width: 700px;
  }

  .grid-5-cols-service{    
    grid-template-columns: repeat(3, 1fr);
    max-width: 500px;   
  }

  .all-service-bar{       
    max-width: 560px;    
  }

  .grid-5-cols-downloading{
    grid-template-columns: repeat(3, 1fr); 
    max-width: 400px;
    margin: 0 auto;    
  }
  .grid-4-col-team{    
    max-width: 570px;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;    
  } 
  .tabletdisplay{
    display:contents;
  }
  .news-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 5px;  
  }
  .article-container{
    grid-row: 3/4;
  }
  .download-container {
    grid-row: 4/5;
  }
  .carousel-bar,
  .article-bar{
    background: #F7F7F7 ; 
  }  

  .news-item li{   
    grid-template-columns: 40% 60%;      
    height: 138px;    
    width: 370px;    
    margin: 0 auto;
  }

  .article-item li{   
    grid-template-columns: 40% 60%;      
    height: 138px;    
    width: 370px;    
    margin: 0 auto;
  }

 }  */
 

/* ==============================================================
 Mobile Layout: 530 px. 
 =================================================================== */
 @media only screen and (max-width: 530px) and (min-width: 375px){ 
  /* .sv9{
  grid-column: 1 / 2;
  }
  .sv10{
    grid-column: 2 / 3;
  } */

  .grid-4-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 340px;
    margin: 0 auto;
    gap: 10px;  
  }

  .service-bar{
    max-width: 350px;
    margin: 0 auto;
    margin-top: 30px;
  }

  .service-stat-bar{    
    margin: 0 auto;
    max-width: 350px;
  }

  .download-bar{    
    margin: 0 auto;
    max-width: 330px;
    margin-top: 30px;
  }

  .all-service-bar{       
    width: 370px;    
  }

  .grid-5-cols {    
    grid-template-columns: repeat(2, 1fr); 
    max-width: 280px;    
    gap: 10px;   
    row-gap: 50px;  
  } 
  
  .news-grid{
    display: grid;
    grid-template-columns: 100%;
    max-width: 370px;
    margin: 0 auto;     
  }

  .news-item{
    margin-top: 10px;
  }

  .news-item li,
  .article-item li{   
    grid-template-columns: 40% 60%;      
    height: 138px;    
    width: 370px;    
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .grid-5-cols-service{    
    grid-template-columns: repeat(2, 1fr);
    max-width: 340px;   
    margin: 0 auto; 
  }

  .grid-5-cols-downloading{
    grid-template-columns: repeat(2, 1fr);
    max-width: 265px;    
  }

  .grid-3-col-aspiration{
    grid-template-columns: 1fr;
    row-gap: 30px;
    max-width: 500px; 
  } 
  
  .grid-1-col-team,
  .grid-2-col-team,
  .grid-3-col-team,
  .grid-4-col-team{
    display: grid;    
    grid-template-columns: 1fr;    
    max-width: 260px;       
  }

  .all-service-container{  
    padding: 0px 0%;
   }
  
 }  
 
/* ==============================================================
 Mobile Layout: 375px. 
 =================================================================== */
@media only screen and (max-width: 374px) {
  .grid-2-cols{
    display: grid;
    grid-template-columns: 100%;  
    margin: 0 auto;
    gap: 10px;
  }

  .grid-4-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 340px;
    margin: 0 auto;
    gap: 10px;  
  }

  .news-item li,
  .article-item li{   
    grid-template-columns: 1fr;      
    height: 370px;    
    max-width: 350px;    
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .thumb img {
    width: 60%;
  }

  .all-service-bar{       
    max-width: 400px;   
    margin: 0 auto;
  }
  .service-bar{
    max-width: 360px;
    margin: 0 auto;
  }

  .download-bar{    
    margin: 0 auto;
    max-width: 350px;
    margin-top: 30px;
  }
  

  .grid-5-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);     
    row-gap: 20px;
    max-width: 254px;
    margin: 0 auto;
    
  }

  .grid-5-cols-service{
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    max-width: 330px;
    margin: 0 auto;
    gap: 10px;
  }

  .all-service-container{  
    padding: 0px 3%;
   }

  .detailtext{
    display: none;    
  }

  .download-detailtext{
    display: none;    
  }

  .carousel-bar{
    /* background: linear-gradient(180deg, #FFC277 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, #F7F7F7 100%);     */
    background: #F7F7F7 ;    
  }

  .tabletdisplay{
    display:contents;
  }

  .article-bar{
  background: linear-gradient(180deg, #F7F7F7 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, #F7F7F7 100%);
  /* width: 730px; */
  border-radius: 3px;
  padding: 1px 5px;  
  margin-bottom: 20px; 
  }

  .page-1-col{
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ============================================================== 
     # News Mobile
  =================================================================== */
  .grid-2-cols-news{
    display: grid;
    grid-template-columns: 1fr;         
  }
  
  .recent-news-item{    
    margin-top: 15px;   
  }

  .main-news-item{   
    max-width: 365px; 
    margin-top: 5px;
  }

  /* ============================================================== 
     # OIT accordion
  =================================================================== */
  .accordionbar{
    margin-bottom: 50px;
    max-width: 365px; 
  }

  /* -- About us Area =============================================    */
  .aspiration-container{
    display: grid;
    max-width: 330px;
  }  
  .grid-aspiration{
    grid-template-columns: 1fr;
  }
  .grid-3-col-aspiration{
    grid-template-columns: 1fr;
    row-gap: 30px;
    max-width: 300px;
    margin: 0 auto;
  }  

  .headdetail-aboutus br{
    display: none;
  }

  /* Organization Chart Area */
  .orgchart-img{
    content: url("http://cits.mfu.ac.th/fileadmin/CITS_File/graphics/CITS_OrgChart_forMobile20240730.png");
    max-width: 95%;
  }
  .orgchart-imgEN{
    content: url("http://cits.mfu.ac.th/fileadmin/CITS_File/graphics/CITS_OrgChart_forMobileEN20240730.png");
    max-width: 95%;
  }

  /* ============================================================== 
     # Team area
  =================================================================== */
  .grid-1-col-team,
  .grid-2-col-team,
  .grid-3-col-team,
  .grid-4-col-team{
    display: grid;    
    grid-template-columns: 1fr;    
    max-width: 260px;       
  }
}