/*xs for phones (<768px)
sm for tablets 979px to ≥768px
md for desktops ≥992px
lg (for larger desktops) ≥1200px*/
body > div.navbar-top{
  background-color: #17a504;
  /*background-color:#dbdbdb;*/
  /*background-color:#f2f2f2;*/
  text-align: right;
}
body > div.navbar-top a{
  color: #fff;
}
body > div.navbar-top a:hover{
  background-color: #17a504;
  /*background-color: #dbdbdb;*/
  /*color: #acacac;*/
  color:#fafafa;
}

/*เมนูบนslide*/
body > div.navbar {

  }
  .navbar{
    margin-bottom: 0px !important;
    background-color: #fff;
    width: 100%;
  }
.navbar-brand {
    position: absolute;
    color: #fff;
    font-size: 15px;
    line-height: 20px;
}
.navbar-brand:hover{
  color: #000;
}
.navbar-toggle{
  background-color: #000;
}
span.icon-bar{
  background-color:#fff;
}
ul.nav.navbar-nav>li>a{
  color:#000;
  font-size: 16px;

}
ul.nav.navbar-nav>li>a:hover{
 background-color: #d3d1d1;
}

.affix {
        top:0;
        width: 100%;
         background-color:#F9F9F9;
        z-index: 9999 !important;
         -webkit-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
}
.affix-top {
        position: static !important;
        top: -35px !important;
}
.affix .navbar-brand{
      position: absolute;
    font-size: 15px;
      color: #000;
}
.affix ul.nav.navbar-nav>li>a{
   font-size: 17px;
}
.affix ul.nav.navbar-nav>li>a:hover{
   background-color:#d3d1d1;/*F9F9F9*/
}
.navbar .navbar-nav {
    display: inline-block;
    float: none;
}

b.navbar .navbar-collapse {
    text-align: left;

}
@media (min-width: 768px) {/*น้อยสุด 768 md*/
  .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

  .navbar .navbar-collapse {
        text-align: center;
    }
    .navbar-brand {
font-size: 19px;
}
ul.nav.navbar-nav>li>a{
color:#000;
font-size: 17px;
}
}
/*จบเมนูบน slide*/
/*ปุ่ม go to top*/
  #myBtn {
      display: none;
      position: fixed;
      bottom: 20px;
      right: 30px;
      z-index: 99;
      border: none;
      outline: none;
     background-color: #ddd;
      color:#000;
      cursor: pointer;
      padding: 5px;
      border-radius: 10px;
    }

  #myBtn:hover {
      background-color: #555;
      color:#fff;
    }
    @media (min-width: 768px) {
        #myBtn {
          padding: 15px;
        }
    }
    /*จบ go to top*/



/*body > div.content-inner.container > div > div.col-md-9 > div > div > div.row > div > div{
    display: block;
    border-bottom: 1px solid #ddd;
}
body > div.content-inner.container > div > div.col-md-9 > div > div > div.row > div > div >ul {
  margin-bottom: 15px;
}
body > div.content-inner.container > div > div.col-md-9 > div > div > div.row > div > div >ul >li {
    border-right:  1px solid #000;

}
body > div.content-inner.container > div > div.col-md-9 > div > div > div.row > div > div >ul >li a{
  color: #000;

}
body > div.content-inner.container > div > div.col-md-9 > div > div > div.row > div > div >ul >li:last-child {
  border-right:0;
}
body > div.content-inner.container > div > div.col-md-9 > div > div > div.row > div > div >ul >li.active a{
  background-color: #fff;
  color: #5ac7f8;
  border-radius: 4px 4px 0 0;
}*/

.dropdown-submenu {
  position: relative;
}
.dropdown-submenu:hover > .dropdown-menu  {
  position: absolute;
  display: block;
  top: 0;
  left: 98%;
  margin: 0;
}


#slide-01 {
  max-height: 414px;
}
.carousel-inner {
  height: 414px;
}
.carousel-inner > .item {
  height: 100%;
   margin: auto;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  margin: auto;
  height:414px;
}
@media (max-width: 1280px) {
  .carousel-inner {
    height: 100%;
  }
  .carousel-inner > .item > img,
  .carousel-inner > .item > a > img {
    height:auto;
  }

}
.carousel-control{
  background: #ffffff;
background: none !important;
  color: #fff !important;
}

.carousel-caption2 {
  background-color: rgba(0,0,0,.5);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  z-index: 10;
  padding: 0 0 30px 25px;
  color: #fff;
}
.content-inne #owl-example a> img{
width: 100%;
}
#owl-example .item h4{
  background-color: rgba(0,0,0,.3);
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  /*width: 94.5%;*/
  height: 70px;
  bottom: -20px;
  z-index: 10;
  padding: 0 0 30px 25px;
  color: #fff;


}
#owl-example .item img{
  max-height:394px;
  width:100%;

}

/*บริการของเรา*/
ul.nav2 {
    padding: 0;
    list-style-type: none;
    color: #9CFA95;

}
ul.nav2 li {
    padding: 2px 2px;
    margin-bottom: 0;
    overflow: hidden;
}
/*ul.nav2 li:hover {
    padding: 0;
    list-style-type: none;
    color: #5ac7f8;
}*/
li {
    display: list-item;
    text-align: -webkit-match-parent;
}

a {
    color: #337ab7;
    text-decoration: none;
}
/*icon บริการของเรา*/
ul.nav2 li span.box {
    height: 40px;
    width: 40px;
    border-radius: 20px;
    background-color: #18BC03;
    /*background-color: #43b7f6;*/
    display: inline-block;
    float: left;
    text-align: center;
}
.nav2 .box {
    display: block;
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    /*background-color: #43b7f6;*/
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    color: #fff;
    margin-right: 10px;
}

li span.box {
  font-size: 22px;
    color: #FFF;
    line-height: 40px;
}


ul.nav2 li span.link {
    font-size: 16px;
    /* color: #666666; */
    color: #333;
    /*font-family: 'thaisans_neueregular';*/
    display: inline-block;
    float: left;
    margin-left: 10px;
    margin-top: 11px;

}
ul.nav1 li span.link:hover  {

}
 /*รูป icon เมนูข้างล่าง*/
.nav1 .clink .box {
    display: block;
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #bef18c;
    font-size: 25px;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    color: #fff;
    margin-right: 10px;
}
.nav1 .box {
    display: block;
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #bef18c;
    font-size: 28px;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    color: #FFF;
    margin-right: 10px;
}
.nav1 .clink .link {
  line-height: 50px;
  color: #333;
  display: inline-block;
font-size: 16px;
}
.nav1 .link {
  line-height: 50px;
  color: #333;
  display: inline-block;
  font-size: 14px;
}
.nav1 .clink {
  line-height: 50px;
  color: #333;
  display: inline-block;
  font-size: 18px;
/*}.nav1 .clink:hover {
  color: #e0e0e0;
}*/
.nav1 .clink .link-out {
  /*color: #e0e0e0e0;*/
  display: inline-block;
  font-size: 18px;
}
/*ชื่อประธาณ/ผู้จัดการ*/
}
.right-panel .staff-left .staff-left-detail {
    background-color: #f9f9f9;
    border-bottom: 5px solid #e8e8e8;
    padding: 10px;
    font-size: 14px;
    /*font-weight: bold;
    /* color: #838384; */*/
    color: #333;
    border-radius: 5px;
}

/*เเท็บข่าวประชาสัมพันธ์*/
.news-tab ul.nav li a{
  color:#333;
}
.news-tab ul.nav li.active a{
  color:#333;

}
.news-tab ul.nav li a:hover{
  /*background: #fff;*/
  color:#333;
}
.tab-content  .tab-pane .thumbnail {
  border: 1;
  border-color:#3c4650;
}
.tab-content .tab-pane .showpic {
    /*padding: 5px 10px;*/
    height: 150px;
    overflow: hidden;
}
.tab-content .tab-pane .showpic img  {
height: 180px;
width: auto;
}
@media (max-width: 767px) {
  .tab-content .tab-pane .showpic{
    height: 250px;
    overflow: hidden;
  }
    .tab-content .tab-pane .showpic img{
      height: 100%;
      width: auto;
    }

}
@media (max-width: 979px) {
  .caption h4{
    font-size: 17px;
  }
}
.tab-content .tab-pane .caption {
    padding: 5px 10px;
    height: 200px;/*ความยาวของแท็บตัวอักษร*/
    overflow: hidden;
    background:#f9f9f9;
}
.tab-content .tab-pane .caption h4{
    height: auto;
    color: inherit;
    text-indent:5px;
    line-height:17pt;
}
.tab-content .tab-pane .caption h5{
    line-height:15pt;
}
///////////
/*#navbar {
    padding: 0;
    list-style-type: none;
    color: #333;
    text-align: center;
}
#navbar li  {
    display: inline-block;
    float: none;
    text-align: center;
}
#navbar li  a{
    color:#333;
    display: inline-block;
    float: none;
    text-align: center;
     ห
}
#navbar li a:hover  {
    background: none;
    text-align: center;

}
#navbar ul li{
   text-align: center;
}*/
#nav-pills{
  width: 100%;
 text-align: center;
 > li {
   float: none;
   display: inline-block;
 }
}

/*link ด้านล่าง */
.link a span.link{
  color:#333;
}
.link a span.link:hover{
  color: #acacac;
   display: inline-block;
}

/*head*/
#head{
  background: #b1ed8b;
  color: #000000;
  text-align:center;
  /*text-indent: 5%;*/
}
#head h3{
  align:center;
  padding: 10px;
}
#head h2{
  align:center;
  vertical-align: middle;
  padding: 10px;
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}
#list-head ul.breadcrumb li a{
color:black;
}
#text-head{
color:black;
}
#text-name h5{
  color:black;
  text-align:right;
}
#text-name h3{
  color:black;
}
#list-manu h4 a{
  color:black;
}
.show-gallery-grid-item p{
  color:black;
}

#view-all{
  padding-top: 0;
padding-right: 20px;
}
#view-all a{
  color: #000;
  font-size: 14px;
}
#view-all a:hover{
    text-decoration: none;
    color: #000;
    font-size: 14px;
}
/*หัวข้อคณะกรรมการ */
.header-title a#text-boss{
  color:#000;
}
.header-title a#text-boss:hover{
    color: #000;
  text-decoration: none;
}

/*VDO*/
.tab-content  .tab-pane-vdo .thumbnail {
  border: 1;
  border-color:#3c4650;

}


.tab-content .tab-pane-vdo .caption {
    padding: 5px 10px;
    height: 80px;/*ความยาวของแท้บตัวอักษร*/
    overflow: hidden;
    background:#f9f9f9;
}
.tab-content .tab-pane-vdo .caption h4{
    height: auto;
    color: inherit;
    text-indent:5px;
    line-height:17pt;
}
/*show youtude*/
.video-container {
position: relative;
padding-bottom: 50%;
padding-top: 30px;
height: 300px;
overflow: hidden;

}
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video-container video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.list-photo img{
  max-height:150px;
}
@media (max-width: 767px) {
  .list-photo img{
    height: 250px;
    width: auto;
    overflow: hidden;
    align: center;
  }
  #photo_head img{
        width: auto;
  }
  #ann {
    margin:10px;
  }
}
#photo_head img{
  /*max-width:630px;*/
}
#name_coop{
  padding-left: 60px;
  margin-top:34px;
  margin-bottom:3%;
  font-size: 100%;
}
#name_coop_th{
  color:#17a504;
  font-weight: bold;
  font-size: 35px;
}
#name_coop_en {
    color:#17a504;
    font-size: 25px;
}
@media (max-width: 1200px) {
  #name_coop_th{
    font-size: 26px;
  }
  #name_coop_en {
    font-size: 20px;
  }
}
@media (max-width: 992px) {

  #name_coop_th{
    font-size: 24px;
  }
  #name_coop_en {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  #name_coop{
    padding-left: 25px;
  }
  #name_coop_th{
    font-size: 22px;
  }
  #name_coop_en {
    font-size: 15px;
  }
}
@media (max-width: 523px) {
  #name_coop{
    padding-left: 25px;
  }
  #name_coop_th{
    font-size: 18px;
  }
  #name_coop_en {
    font-size: 12px;
  }
}
@media (max-width: 490px) {
  #name_coop{
    padding-left: 25px;
    margin-bottom:2%;
  }
  #name_coop_th{
    font-size: 15px;
  }
  #name_coop_en {
    font-size: 10px;
  }
}
#table_clock{
  /*background: #F2F2F2;*/
    text-align: center;
    border-radius: 5px;
margin-top: 5px;
}
#fullDate {
  font-size:18px;
  text-align:center;
}
#time{
    font-size:18px;
    margin-top: 5px;
}
#hours,#min,#sec{
  padding : 4px;
  /*color: #444444;*/
  color:#fff;
background:#474646;
border-radius: 5px;
text-align:center;
}
#ampm{
  margin-top: 8px;
}
#cam{
  margin-top: 5px;
}
@media (min-width: 1200px) {
  #fullDate {
    font-size:22px;
  }
  #time{
      font-size:22px;
  }
}

.show_listalbum{
  max-height:270px;
}
.show_listalbum img  {
height: 270px;
width: 100%;
}
.ques_listalbum {
  display: block;
  background: #F5F5F5;
  padding: 15px;
height: 70px;
width: 100%;
}

@media (max-width: 991px) {
  .show_listalbum{
    height:auto;
  }
  .show_listalbum img  {
  width: auto;
  }
  .ques_listalbum {
  padding: 12px;
  height: auto;
font-size: 12px;
  }
}
