.bg-image {
  background-image: url(../images/bg01.jpg);
  background-color: #cccccc;
  width: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (max-width: 767px) {
    .bg-image {
        background: url(../images/bg02.jpg) no-repeat top center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
     }
}

body {

background-color: #EFEFEF;
font-family: 'Kanit', sans-serif;
margin:0; padding:0;
color: #333;
}

@media (max-width: 767px) {
  body {

background-color: #EFEFEF;
    font-family: 'Kanit', sans-serif;
    margin:0; padding:0;
    color: #333;
  }

}

  p { font: bold 20px;}
  .info { font: 14px; #c5161d; }
  .margin {margin-bottom: 2px;}

  .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: 0;
    padding-bottom: 0;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    font-size: 16px;
    text-align: center;
}

/*menu*/
.navbar-nav {
  display: inline-block;
  float: none;
  margin-bottom: -5px !important;
  margin-top: 0 !important;
}
  .navbar-collapse {
      text-align: center;
  }
  .menu-color {
      font-size:18px;
      text-align: center;
  }
  .img-mainlogo{
      width : 20%;
      padding-top : 10px;
      padding-bottom: 10px;
  }

  @media (min-width: 767px) {
   .navbar-header {
      display:none;
    }
    .navbar-nav {
      margin: 0 auto;
      display: inline-block;
    }
    .navbar-nav > li {
        display: inline-block;
    }
   }
   @media (min-width: 767px) and (max-width: 992px) {
       .img-mainlogo{
           width : 50%;
           padding-top: 10px;
           padding-bottom: 10px;
       }
       .menu-color {
           font-size:14px;
           text-align: center;
       }
     }

  @media (max-width: 767px) {
      .img-mainlogo{
          width : 50%
      }
    .menu-color {
        font-size:14px;
        color: #FFF !important;
    }

    .navbar-nav {
        margin: 0 auto;
        display: inline-block;
    }
    .navbar-nav > li {
        display: inline-block;
    }
    .navbar-collapse .navbar-nav  li {
      padding-top : 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid transparent;
      border-color: #fcb714;
      box-shadow: 0 3px 3px -3px #fcb714;
    }
  }
  @media (min-width: 768px) and (max-width: 991px) {
      .menu-color {
          font-size:14px;
          color: #FFF !important;
      }
   }

   .navbar-default {
    background-color: #ed1782;
    border-color:transparent;
    background-image:none;
    box-shadow:none;
}

.navbar-default .navbar-nav > li > a {
  color: #FFF;
  text-shadow: 1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000;
  padding: 19px 20px;
  min-height: 60px;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #FFF;
  background-color: #ce0071;
  text-shadow: 1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #FFF;
  background-color: #ce0071;
  text-shadow: 1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000;
}

@media (max-width: 767px) {
  .navbar-nav {
      margin: 0 auto;
      display: inline-block;
  }
  .navbar-collapse {
      text-align: left;
  }
  .navbar-default {
       background-color: #ed1782;
      border-color:transparent;
      background-image:none;
      box-shadow:none;
  }
.navbar-default .navbar-nav > li > a {
  color: #FFF;
  padding: 14px 10px;
  min-height: 50px;
 }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #FFF;
  background-color: #ce0071;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #FFF;
  background-color: #ce0071;
}
}


  .btn-file {
      position: relative;
      overflow: hidden;
  }
  .btn-file input[type=file] {
      position: absolute;
      top: 0;
      right: 0;
      min-width: 100%;
      min-height: 100%;
      font-size: 100px;
      text-align: right;
      filter: alpha(opacity=0);
      opacity: 0;
      outline: none;
      background: white;
      cursor: inherit;
      display: block;
  }

  #img-upload{
      width: 50%;
  }
  #img-upload2{
      width: 50%;
  }
/*
  .modal-body {
      max-height: calc(100vh - 100px);
      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; }
.margin-left-10 { margin-left: 10px; }
.pad-left-20 { padding-left: 20px; }
.font20center{ font-size: 20px; color: #D30000; line-height:20px; text-align:center; }
.font24center{ font-size: 24px; color: #ed1782; line-height:26px; text-align:center; }
.font20{ font-size: 20px; color: #333; line-height:20px; text-align: left;}
.font_checkbox { font-size: 16px; color: #333; line-height:18px; font-weight:normal; text-align: left;}
.font18{ font-size: 18px; color: #333; line-height:18px; text-align: left;}
.font18center{ font-size: 18px; color: #333; line-height:22px; text-align:center; font-weight: bold;}
.font16center{ font-size: 16px; color: #333; line-height:20px; text-align:center; font-weight: bold;}
.font18b { font-size: 18px; color: #ff2042; line-height:22px; text-align:left; font-weight: bold;}

.font13{ font-size: 13px; color: #333; line-height:16px; text-align: center; font-weight:normal;}
.font14{ font-size: 13px; color: #333; line-height:14px; text-align: left; font-weight:normal;}
.font14hilight{ font-size: 13px; color: #ff2042; line-height:14px; text-align: left; font-weight:normal;}
.font14b{ font-size: 13px; color: #333; line-height:14px; text-align: left; font-weight:bold;}
.font16{ font-size: 16px; color: #333; line-height:25px; text-align: center;}
.font16left{ font-size: 16px; color: #333; line-height:22px; text-align: left; font-weight:normal;}
.font16hilight{ font-size: 16px; color: #ff2042; line-height:25px; text-align: center;  font-weight:bold;}

.font12topic{ font-size: 12px; color: #333; line-height:20px; text-align: center; text-decoration: underline; font-weight:bold; }
.font14center{ font-size: 14px; color: #333; line-height:20px; text-align: center; }
.font12center{ font-size: 12px; color: #333; line-height:20px; text-align: center; }
.font12{ font-size: 13px; color: #333; line-height:20px; text-align: center; }
.font12left{ font-size: 12px; color: #333; line-height:18px; text-align: left; }
.font12remark{ font-size: 12px; color: #ff2042; line-height:20px; text-align: center; font-weight:normal;}
.font12red{ font-size: 11px; color: #ff2042; line-height:15px; text-align: left; font-weight:normal;}

.font16-topic{  font-size: 16px; color: #ed1782; line-height:16px; text-align:left; font-weight: bold;}

.font-right{
    text-align: right;
}
.font-padding {
  padding-top: 10px;
  padding-bottom: 10px;
}
.form-check-label{
    padding-left: 5px;
}


#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: 24px;
  color: #ed1782;
  line-height:22px;
  text-align:center;
  font-weight: bold;
  padding: 10px 5px;
/*  text-shadow: -2px 0 #FFF, 0 2px #FFF, 2px 0 #FFF, 0 -2px #FFF;*/
}
.font-subtopic{
  font-size: 16px;
  color: #ed1782;
  line-height:20px;
  text-align:left;;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
}
.font-subtopic-black{
  font-size: 16px;
  color: #333;
  line-height:20px;
  text-align:left;;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
/*  text-shadow: -2px 0 #FFF, 0 2px #FFF, 2px 0 #FFF, 0 -2px #FFF;*/
}

@media (max-width: 767px) {
  #slide-navbar-collapse {
    position: fixed;
    top: 0;
    left: 15px;
    z-index: 99;
    width: 280px;
    height: 100%;
    background-color: #0C2860;
    overflow: auto;
  }
  .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: 1px solid transparent;
    border-color: #CCC;
    border-radius: 8px;
    background-color: rgba(255, 255, 255);
    color: #333;
		width: 50%;
			padding: 30px 10px;
			margin: auto;
}

.header-topic-1 {
  display: block
}
.header-topic-2 {
  display: none
}
@media (max-width: 767px) {
		.content-box-50 {
		    border: 1px solid transparent;
		    border-color: #CCC;
		    border-radius: 8px;
		    background-color: rgba(255, 255, 255);
		    color: #333;
				width: 100%;
					padding: 5px 15px;
					margin: auto;
		}
    .header-topic-1 {
      display: none
    }
    .header-topic-2 {
      display: block
    }
    .font-topic{
      font-size: 22px;
      color: #ed1782;
      line-height:22px;
      text-align:center;
      font-weight: bold;
    /*  text-shadow: -2px 0 #FFF, 0 2px #FFF, 2px 0 #FFF, 0 -2px #FFF;*/
    }
}

.content-box {
    border: 1px solid transparent;
    border-color: #CCC;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
		width: 50%;
    padding: 0 10px 20px 10px;
			margin: auto;
}
.content-box-data {
  border-color: #CCC;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  width: 100%;
      height: 80vh;
      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, 0.9);
  color: #333;
      width: 100%;
      padding-bottom: 50px;
      padding:  20px 10px;
}
.content-box-policy {
  border: 1px solid transparent;
  border-color: #CCC;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  width: 80%;
    padding:  20px 10px;
    margin: auto;
}
@media (max-width: 767px) {
  .content-box {
    border: 1px solid transparent;
    border-color: #CCC;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 100%;
			padding: 0 10px 20px 10px;
      margin: auto;
}
    .content-box-data {
      border-color: #CCC;
      border-radius: 8px;
      background-color: rgba(255, 255, 255, 0.9);
      color: #333;
      width: 100%;
          height: 45vh;
          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, 0.9);
      color: #333;
      width: 100%;
          padding-bottom: 50px;
      padding:  20px 10px;
   }
   .content-box-policy {
    border: 1px solid transparent;
    border-color: #CCC;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 100%;
      padding:  20px 10px;
      margin: auto;
}
}

.img-float {
  margin-top: -7px;
}

#tableList {
  width: 100%;
	height: 360px;
	overflow: auto;
}


.img-resize {
		width: 55%;
}
@media (max-width: 767px) {
  .img-resize {
      width: 100%;
  }
}

.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; */
 }
 
 .btn-center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

 .btn-link {
  background-color: #ed1782;
  border-color: #cb0e6c;
   color: #FFF;
   font-weight: 200;
   font-size: 16px;
   text-shadow: 1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000;
   height: 46px
 }
 .btn-link:hover,
 .btn-link:focus,
 .btn-link:active,
 .btn-link.active {
  background-color: #ed1782;
  border-color: #cb0e6c;
   color: #FFF;
   text-decoration: none
 }
 .btn-link[disabled] {
  background-color: #cb0e6c;
  border-color: #b41363;
   color: #FFF;
 }
 .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: #ed1782;
  border-color: #cb0e6c;
   color: #FFF;
 }
 
 /*************************
*******maintopic******
**************************/
#maintopic .plan {
  position: relative;
  margin-bottom: 20px;
}

#maintopic .col-xs-6 {
position: relative;
min-height: 5px;
padding-right:5px; /*jib 2090207 15px; */
padding-left:5px; /*jib 2090207 15px; */
}

#maintopic .point {
  background-color: #ed1782;
border-radius: 4px;
width: 90%;
  padding: 8px 5px;
  margin: auto;
}
#maintopic .border {
  padding-top : 0px;
  padding-bottom: 10px;
  border-bottom: 1px solid transparent;
  border-color: #ed1782;
  box-shadow: 0 3px 3px -3px #ed1782;
}
#maintopic .choice-area ul {
/*background: url(../images/bg-topic-1.png);*/
background-color: rgba(255, 255, 255, 0.8);
background-repeat: no-repeat;
background-size: 100%;
border-radius: 8px;
width: 100%;
  padding: 0;
  margin: auto;
}
@media (max-width: 767px) {
#maintopic .choice-area ul {
  /*background: url(../images/bg-topic-mob2.png);*/
  background-color: rgba(255, 255, 255, 0.8);
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 8px;
  width: 100%;
    padding: 0;
    margin: auto;
}
}

#maintopic .choice-area ul li {
  list-style: none;
  font-size: 14px;
  padding: 10px 0;
  margin: auto;
}
#maintopic .choice-area ul li .padding{
  padding-top: 10px;
}

#maintopic .choice-area ul li .font-point {
font-size: 16px;
color: #FFF;
  font-weight: bold;
  text-shadow: 1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000;
}
#maintopic .choice-area ul li .font-toppoint {
font-size: 18px;
color: #FFF;
  font-weight: bold;
  text-shadow: 1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000,1px 1px 1px #000;

}

#maintopic .choice-area ul li  span {
font-size: 14px;
  color: #333;
}

.border {
  padding-top : 0;
  padding-bottom: 15px;
  border-bottom: 1px solid transparent;
  border-color: #ed1782;
  box-shadow: 0 3px 3px -3px #ed1782;
}
