@import url('https://fonts.googleapis.com/css?family=Mitr');
@font-face {
  font-family: 'Mitr', sans-serif;
}
@font-face {
  font-family: "ThaiSansNeue";
  src: url("../thaisansneue/ThaiSansNeue-Regular.eot");
  src: url("../thaisansneue/ThaiSansNeue-Regular.eot?#iefix") format("embedded-opentype"), 
  url("../thaisansneue/ThaiSansNeue-Regular.woff") format("woff"), 
  url("../thaisansneue/ThaiSansNeue-Regular.ttf") format("truetype"), 
  url("../thaisansneue/ThaiSansNeue-Regular.svg") format("svg");
}

body {
  position: relative; /* For scrollyspy */
  /*font-family: 'Lato', sans-serif !important;*/
  font-family: 'Mitr', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  /*font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; */
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  /*font-family: 'Lato', sans-serif !important;*/
  /*font-family: 'ThaiSansNeue','Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;*/
  font-family: 'Mitr','Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
/* ----------------------------------
 * home
 * ---------------------------------- */
.home {
    background: url(../img/b2.jpg) no-repeat 50% 100px;
}
@media (max-width: 767px) {
    .home {
        background: url(../img/b2.jpg) no-repeat 50% 100px;
    }
}
/* ----------------------------------
 * navbar
 * ---------------------------------- */
 .navbar-custommain {
    position: fixed;
    top: 0;
    left: 0;
    border: none;
    border-radius: 0;
	padding: 10px 0 0 0;
	background-image:url(../img/bgmenu.jpg);
    width: 100%;
	z-index: 2000;
}
.navbar-custom {
    position: fixed;
	color: #ffffff;
    top: 0;
    left: 0;
    border: none;
    border-radius: 0;
	background-image:url(../img/bgmenu.jpg);
    width: 100%;
    z-index: 2000;
}
.navbar-custom .nav li a {
    display: block;
    color: #ffffff;
}
.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:hover {
    color: #ffffff;
}
.navbar-custom .nav li a:active,
.navbar-custom .nav li a.current {
    border-bottom: 3px solid #ffffff;
}
.navbar-custom .navbar-toggle {
    position: relative;
    background-color: #990000;
    border-color: #ffffff;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #990000;
}
.navbar-custom .navbar-toggle .icon-bar {
    background-color: rgba(255, 255, 255, .9);
}
.navbar-custom .navbar-brand {
    padding: 5px 15px;
    opacity: .7;
    filter:alpha(opacity=70);
    transition: opacity .4s ease-in-out;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:active {
    opacity: 1;
    filter:alpha(opacity=100);
}
.navbar-default .navbar-collapse {
    border-color: #e7e7e7;
}
@media (max-width: 992px) {
  .navbar-custom .navbar-brand {
    width: 63px;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  .navbar-custom {
    position: fixed;
    top: 0;
  }
  .navbar-custom .navbar-nav > li > a:hover,
  .navbar-custom .navbar-nav > li > a:focus {
    color: #fff;
    background-color:#990000;
  }
}
/* ----------------------------------
 * index
 * ---------------------------------- */
 .index {
    text-align: center;
    background-color: rgba(255, 255, 255, .85);
    min-height: 600px;
}
.index h2 {
    margin-top: 10px;
    color: rgba(0, 0, 0, .8);
    font-size: 24px;
    line-height: 26px;
    font-weight: normal;
	font-style: normal;
}
.index h3 { 
	color:#006600;
    margin-top: 18px;
    font-size: 20px;
    font-style: normal;
}
.index h4 { 
	color:#CC0000;
    margin-top: 20px;
    font-size: 18px;
	font-style:normal;
}
.index h5 { 
	color:#333333;
    margin-top: 20px;
    font-size: 18px;
	line-height: 25px;
	font-style:normal;
}
.thai-16{
 font-size: 16px;
 font-weight: normal;
}
.thai-18{
 font-size: 18px;
 font-weight: normal;
}
.thai-18-head{
 font-size: 18px;
 font-weight: normal; 
 color:#FFFFFF;
}
.thai-20{
 font-size: 20px;
 font-weight: normal;
}
.thai-30{
 font-size: 30px;
 font-weight: normal;
}
.thai-31b{
  font-size: 16px;
  padding:10px; 
  text-align:center; 
  font:700 18px; 
  color:rgb(206, 25, 12); 
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 1), 0px 2px 0px rgba(255, 255, 255, 1), -1px 1px 0px rgba(255, 255, 255, 1), -2px 0px 0px rgba(255, 255, 255, 1), -1px -1px 0px rgba(255, 255, 255, 1), 0px -2px 0px rgba(255, 255, 255, 1), 1px -1px 0px rgba(255, 255, 255, 1), 2px 0px 0px rgba(255, 255, 255, 1);
 }
/* --time line----
----------------- */
.events-body h4{
	font-size: 20px;
}
.events-body p{
	font-size: 16px;
}
.colorgary{ background:#f5f5f5; }
.even1{ border-radius: 5px; color:#fff; background:#4A89DC; }
.even2{ border-radius: 5px; color:#fff; background:#8CC152; }
.even3{ border-radius: 5px; color:#fff; background:#E9573F; }
.even4{ border-radius: 5px; color:#fff; background:#37BC9B; }
.even5{ border-radius: 5px; color:#fff; background:#F6BB42; }
.colorBack{
	color:#000000;
}

/* ----------------------------------
 * topic
 * ---------------------------------- */
.topicapp {
    position: relative;
    padding: 10px 0 10px;
}
.topicapp h3 {
    margin-top: 2px;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
}
.topicapp h4 {
    margin-top: 15px;
    color: rgba(255, 255, 255, .8);
    font-weight: normal;
}
.topicapp h5 {
    margin-top: 5px;
    color: #fff;
    font-weight: normal;
}
.topicapp .topicapp__infos {
    position: absolute;
    bottom: 0;
    padding-bottom: 15px;
    padding-top: 14px;
    background: rgba(255, 255, 255, 0.25);
    width: 100%;
}
.topicapp .container {
    position: relative;
    color: rgba(0, 0, 0, .8);
}
.topicapp .container a {
    color: #fff;
    filter:alpha(opacity=100);
    opacity: 1;
    text-decoration: underline;
    padding: 0;
    font-weight: normal;
}
.topicapp .container a.btn {
    padding: 10px 16px;
    text-decoration: none;
}
.topicapp .github {
    position: relative;
    top: 10px;
}
/* ----------------------------------
 * docs
 * ---------------------------------- */
.docs-headerapp {
    padding-top: 50px;
    border-top: 1px solid #50c1e9;
    background: url(../img/wild_flowers.png) repeat 0 0;
}
.docs-headerapp.header--noBackground {
    background: none;
}
@media (max-width: 768px) {
    .docs-headerapp {
        padding-top: 0;
    }
}
/* ----------------------------------
 * mainapp
 * ---------------------------------- */
.mainapp {
    padding: 10px;
    border-top: 1px solid #50c1e9;
}
/* ----------------------------------
 * ban SKRU
 * ---------------------------------- */
.banskru {
    padding: 10px;
    border-top: 1px solid #50c1e9;
}
/* ----------------------------------
 * block
 * ---------------------------------- */
.alert-while {
	background-color:#FFFFFF;
}

.alert-show {
	background-color:#CCCCCC;
	padding: 2px 2px 2px 5px;
}

.alert-showend {
	background-color:#FFFFFF;
	padding: 2px 2px 0px 5px;
}
/**
 * accordion SKRU
 * -------------------------------------------
 */
.panel-group .panel {
  background-color: transparent;
          border-radius: 0;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;

  -webkit-border-radius: 0;
     -moz-border-radius: 0;
}
.panel-group .panel + .panel {
  margin-top: 0;
}
.panel-group .panel-heading {
  padding: 0;
  border-bottom-color: transparent;
}
.panel-group .panel-heading + .panel-collapse .panel-body {
  padding: 15px;
  border-top-color: transparent;
}
.panel-group .panel-title a {
  display: block;
  padding: 10px 0px;
}

.panel-group-lists .panel {
  background-color: white;
  border-bottom: 1px solid #e6e9ed;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
     -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.panel-group-lists .panel:first-child {
          border-radius: 4px 4px 0 0;

  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
}
.panel-group-lists .panel:last-child {
  border-bottom: none;
          border-radius: 0 0 4px 4px;

  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
}
.panel-group-lists .panel-heading + .panel-collapse .panel-body {
  padding: 0 0 15px 15px;
  border-top-color:#FFFFFF;
}
.panel-group-lists .panel-title a {
  padding: 10px 15px;
  color: #434a54;
}
.panel-group-lists .panel-title a:hover {
  color:#6699CC;
}
.panel-group-lists .panel-title a:focus {
  color:#0066CC;
  text-decoration:underline;
}
.panel-group-lists .panel-title a:active {
  color:#0066CC;
}
.panel-group-lists .panel-title a:visited {
  color:#0066CC;
}
/* panel SKRU*/
.panel-while {
  border-color:#FFFFFF;
}
.panel-while > .panel-heading {
  color: white;
  background-color:#FFFFFF;
  border-color: #FFFFFF;
}

.panel-blues {
  border-color:#4A89DC;
}
.panel-blues > .panel-heading {
  color: white;
  background-color: #4A89DC;
  border-color: #4A89DC;
}

.panel-green {
  border-color:#37BC9B;
}
.panel-green > .panel-heading {
  color: white;
  background-color: #37BC9B;
  border-color: #37BC9B;
}

.panel-blaw {
  border-color:#E9573F;
}
.panel-blaw > .panel-heading {
  color: white;
  background-color: #E9573F;
  border-color: #E9573F;
}

.panel-grass {
  border-color:#8CC152;
}
.panel-grass > .panel-heading {
  color: white;
  background-color: #8CC152;
  border-color: #8CC152F;
}

.panel-pink {
  border-color:#D770AD;
}
.panel-pink > .panel-heading {
  color: white;
  background-color: #D770AD;
  border-color: #D770AD;
}

/* btn SKRU */
.btn-listgreen{
	background-color:#006600;
}
.btn-listgreen:hover, .btn-listgreen:focus, .btn-listgreen:active, .btn-listgreen.active, .open > .dropdown-toggle.btn-listgreen {
    background-color:#009900;
}
