body {
background: url(../images/bg03.jpg) no-repeat top center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;

width: 100%;
font-family: 'Kanit', sans-serif;
margin:0; padding:0;
color: #333;
}

@media (max-width: 767px) {
  body {
    background: url(../images/bg04.jpg) no-repeat top center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    width: 100%;
    font-family: 'Kanit', sans-serif;
    margin:0; padding:0;
    color: #333;
  }

}

h1,h2,h3{
  font-family: 'Kanit', sans-serif;
}
  p { font: bold 20px;}
  .info { font: 14px; #c5161d; }
  .margin {margin-bottom: 2px;}
  .bg-1 {
      background-color: #D91A21; /* red c5161d */
      color: #ffffff;
  }
  .bg-2 {
      background-color: #DDDFE0; /* Dark Blue */
      color: #333;
  }
  .bg-3 {
      background-color: #ffffff; /* White */
      color: #555555;
  }
  .bg-4 {
      background-color: #9C782C; /* Black Gray */
      color: #fff;
  }
  .container-fluid {
      padding-top: 30px;
      padding-bottom: 30px;
  }
  .container-content {
      padding-top: 60px;
      padding-bottom: 60px;
  }
   .container-footer {
      padding-top: 30px;
      padding-bottom: 30px;
  }
 .navbar {
      padding-top: 5px;
      padding-bottom: 5px;
      border: 0;
      border-radius: 0;
      margin-bottom: 0;
      font-size: 12px;
  }
  .navbar-nav {
    display: inline-block;
    float: none;
  }
  .navbar-collapse {
      text-align: center;
  }

  .menu-color {
      font-size:20px; color: #FFF;
  }
  .navbar-brandicon {
    float: left;
    margin-top: 0px;
  }
  @media (max-width: 767px) { /*ver*/
    .navbar-nav-logo {
      float: left;
      margin: 0;
    }
    .navbar-nav-logo > li {
      float: left;
    }
    .navbar-nav-logo > li > a {
      padding-top: 0;
      padding-bottom: 0;
    }
    .brandlogo{
      display: none;
    }
    .navbar-brandicon {
      float: left;
      margin-top: 2px;
    }
  }
  @media (min-width: 768px) { /*land*/
    .navbar-nav-logo {
      float: left;
      margin: 0;
    }
    .navbar-nav-logo > li {
      float: left;
    }
    .navbar-nav-logo > li > a {
      padding-top: 0;
      padding-bottom: 0;
    }
    .brandlogo{
      display: block;
    }
  }

  @media (min-width: 767px) {
   .navbar-header {
      display:none;
    }
   }

   .font-margin-top {
     margin-top: 0px;
   }
  @media (max-width: 767px) {
    .menu-color {
        font-size:18px; color: #FFF;
    }
    .font-margin-top {
      margin-top: 5px;
    }
    .navbar-collapse .navbar-nav  li {
      padding-top : 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid transparent;
      border-color: #FFF;
      box-shadow: 0 3px 3px -3px #FFF;
    }
  }
  .navbar-nav  li a:hover {
      color: #FFF !important;
  }

  .navbar-default {
    background-color:transparent !important;
    border-color:transparent;
    background-image:none;
    box-shadow:none;
}

  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    color: #FFF !important;
    background: transparent;
  }
  .modal-body {
      max-height: calc(100vh - 110px);
      overflow-y: auto;
  }


p.clr, .clr { clear:both; padding:0; margin:0; }
p.padding, .padding { clear:both; padding:2px 0 2px 0; margin:2px 0 2px 0; }
.pad-left-10 { padding-left: 10px; }
.pad-left-20 { padding-left: 10px; }
.pad-left-30 { padding-left: 22px; }
.margin-left-10 { margin-left: 10px; }
.font20center{ font-size: 20px; color: #FFF; line-height:20px; text-align:center; }
.font20{ font-size: 20px; color: #FFF; line-height:20px; text-align: left;}
.font_checkbox { font-size: 16px; color: #FFF; line-height:18px; font-weight:normal; text-align: left;}
.font18{ font-size: 18px; color: #FFF; line-height:18px; text-align: left;}
.font18center{ font-size: 18px; color: #333; line-height:22px; text-align:center; }
.font18red{ font-size: 18px; color: #d30000; line-height:22px; text-align:center; }

.font13{ font-size: 13px; color: #333; line-height:15px; text-align: center; font-weight:normal;}
.font14{ font-size: 13px; color: #333; line-height:15px; text-align: left; font-weight:normal;}
.font14c{ font-size: 13px; color: #333; line-height:15px; text-align: center; font-weight:normal;}
.font16{ font-size: 16px; color: #333; line-height:25px; text-align: center;}
.font12topic{ font-size: 12px; color: #333; line-height:20px; text-align: center; }
.font14center{ font-size: 14px; color: #333; line-height:20px; text-align: center; font-weight:bold;}
.font-padding {
  padding-top: 10px;
  padding-bottom: 10px;
}


#myModal .font18{ font-size: 18px; color: #d30000; line-height:18px; text-align: left; font-weight:bold;}
#myModal .font14{ font-size: 14px; color: #333; line-height:18px; text-align: left; font-weight:normal;}
#myModal .font14 span { font-size: 14px; color: #003fb3; line-height:18px; text-align: left; font-weight:bold;}


.font-topic{
  font-size: 22px;
  color: #d30000;
  line-height:26px;
  text-align:center;
  font-weight: bold;
}
.font-subtopic{
  font-size: 18px;
  color: #d30000;
  line-height:20px;
  text-align:left;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
 }
.font-subtopic-black{
  font-size: 16px;
  color: #d30000;
  line-height:20px;
  text-align:left;;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
}

.font-subtopic-red{
  font-size: 16px;
  color: #d30000;
  line-height:16px;
  text-align:left;;
  font-weight: normal;
 text-decoration: underline;
}

  .footer-img {
   display: none;
}
@media (max-width: 767px) {
  #slide-navbar-collapse {
    position: fixed;
    top: 0;
    left: 15px;
    z-index: 99;
    width: 300px;
    height: 100%;
   /* background-color: #c1272d;*/
    /*background-image: linear-gradient(180deg, #f55753 , #fc7562, #fb8f75, #f37473, #fe8a58, #df98a2, #c6b7b8,#2b7890);*/
    background: url(../images/bgmenu.png) no-repeat  ;
    background-size: 100% auto;
    height: 100vh;
    overflow: auto;
  }

  #slide-navbar-collapse { 
    .footer-img {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    }
  }
  
    .footer-img-all {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
     z-index: -1;
    }

  .menu-overlay {
    display: none;
    background-color: #000;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    filter: alpha(opacity=50);
    /* IE7 & 8 */
    position: fixed;
    right: 0;
    top: 0;
    z-index: 49;
  }
}

.content-box-50 {
    border: 3px solid transparent;
    border-color: #d30000;
    border-radius: 12px;
    background-color: rgba(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
    color: #333;
		width: 50%;
			padding: 30px 10px;
			margin: auto;
}
@media (max-width: 767px) {
		.content-box-50 {
		    border: 3px solid transparent;
		    border-color: #d30000;
		    border-radius: 12px;
		    background-color: rgba(255, 255, 255);
        box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
		    color: #333;
				width: 100%;
					padding: 5px 10px;
					margin: auto;
		}
}

.content-box {
  border: 3px solid transparent;
  border-color: #d30000;
  border-radius: 12px;
  background-color: rgba(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
  color: #333;
		width: 50%;
    padding: 0 10px 20px 10px;
			margin: auto;
}
.content-box-data {
  border: 3px solid transparent;
  border-color: #d30000;
  border-radius: 12px;
  background-color: rgba(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
  color: #333;
 
  width: 100%;
  height: 70vh;
  padding:  20px 10px 10px 10px;
  overflow-x: hidden;
  overflow-y: auto;

}
.content-box-land {
  border: 3px solid transparent;
  border-color: #d30000;
  border-radius: 12px;
  background-color: rgba(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
  color: #333;
 
  width: 100%;
  height: 50vh;
  padding:  20px 10px 10px 10px;
  overflow-x: hidden;
  overflow-y: auto;

}
.content-box-data-sub {
  border-color: #CCC;
  border-radius: 0px;
  background-color: rgba(255, 255, 255);
  color: #333;
      width: 100%;
      padding-bottom: 50px;
      padding:  20px 10px;
}
.content-box-policy {
  border: 3px solid transparent;
  border-color: #d30000;
  border-radius: 12px;
  background-color: rgba(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
  color: #333;
  height: 80vh;
  width: 100%;
  padding:  20px 10px 10px 10px;
      margin: auto;

}
@media (max-width: 767px) {
		.content-box {
      border: 3px solid transparent;
      border-color: #d30000;
      border-radius: 12px;
      background-color: rgba(255, 255, 255);
      box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
          color: #333;
				width: 90%;
					padding: 0 10px 20px 10px;
					margin: auto;
		}
    .content-box-data {
      border: 3px solid transparent;
      border-color: #d30000;
      border-radius: 12px;
      background-color: rgba(255, 255, 255);
      box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
        color: #333;
      width: 100%;
          height: 80vh;
          padding-bottom: 50px;
        padding:  20px 10px;
               overflow-x: hidden;
               overflow-y: auto;
  }
  .content-box-land {
    border-color: #CCC;
    border-radius: 8px;
    background-color: rgba(255, 255, 255);
    color: #333;
    width: 100%;
        height: 40vh;
        padding-bottom: 50px;
      padding:  20px 10px;
             overflow-x: hidden;
             overflow-y: auto;
}
  .content-box-data-sub {
    border-color: #CCC;
    border-radius: 0px;
    background-color: rgba(255, 255, 255);
    color: #333;
    width: 100%;
        padding-bottom: 50px;
    padding:  20px 10px;
 }
  .content-box-policy {
    border: 3px solid transparent;
    border-color: #d30000;
    border-radius: 12px;
    background-color: rgba(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 7px;
      color: #333;
    width: 100%;
        height: 80vh;
        padding-bottom: 50px;
      padding:  20px 10px;
             overflow-x: hidden;
             overflow-y: auto;
}
}


.img-float {
  margin-top: -7px;
}

#tableList {
  width: 100%;
	height: 200px;
	overflow: auto;
}

.img-resize {
		width: 45%;
}
@media (max-width: 767px) {
  .img-resize {
      width: 90%;
  }
}

 .col-xs-3, .col-xs-4, .col-xs-5 {
  position: relative;
  min-height: 1px;
  padding-right:2px; /*jib 2090207 15px; */
  padding-left:2px; /*jib 2090207 15px; */
}

.border {
  padding-top : 0;
  padding-bottom: 15px;
  border-bottom: 1px solid transparent;
  border-color: #c1272d;
  box-shadow: 0 3px 3px -3px #c1272d;
}

.btn-link {
  background-color: #ED2524;
  border-color: #333;
  border-radius: 12px;
  color: #FFF;
  font-size: 20px !important;
  height: 46px
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active,
.btn-link.active {
  background-color: #ED2524;
  border-color: #333;
  color: #FFF;
  text-decoration: none
}
.btn-link[disabled] {
  background-color: #bababa;
  border-color: #333;
  color: #ED2524;
}
.btn-link.disabled:hover,
.btn-link.disabled:focus,
.btn-link.disabled:active,
.btn-link.disabled.active,
.btn-link[disabled]:hover,
.btn-link[disabled]:focus,
.btn-link[disabled]:active,
.btn-link[disabled].active,
fieldset[disabled] .btn-link:hover,
fieldset[disabled] .btn-link:focus,
fieldset[disabled] .btn-link:active,
fieldset[disabled] .btn-link.active {
  background-color: #bababa;
  border-color: #333;
  color: #ED2524;
}