body {
background: url(../images/bg01.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: #FFF;
}

@media (max-width: 767px) {
  body {
    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;

    width: 100%;
    font-family: 'Kanit', sans-serif;
    margin:0; padding:0;
    color: #FFF;
  }

}

h1,h2,h3{
  font-family: 'Kanit', sans-serif;
}
.navbar-default {
  background-color:transparent !important;
  border-color:transparent;
  background-image:none;
  box-shadow:none;
}

  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;
    }
  }
  @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: 30px;
    }
    .navbar-collapse .navbar-nav  li {
      padding-top : 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid transparent;
      border-color: #ef3c73;
      box-shadow: 0 3px 3px -3px #ef3c73;
    }
  }
  /*
  .navbar-nav  li a:hover {
      color: #d30000 !important;
  }
  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    color: #d30000 !important;
    background: transparent;
  }
*/
  .btn-file {
      position: relative;
      overflow: hidden;
      background-color: #ef3c73;
      border-color: #603917;
      color: #FFF;
      font-weight: 200;
   
  }

  .btn-file:hover,
  .btn-file:focus,
  .btn-file:active,
  .btn-file.active {
    background-color: #ED2524;
    border-color: #603917;
    color: #FFF;
  }
 
  .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%;
  }

  .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; }
.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: #FFF; line-height:15px; text-align: left; 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: #ef3c73;
  line-height:26px;
  text-align:center;
  font-weight: bold;
}
.font-subtopic{
  font-size: 18px;
  color: #ef3c73;
  line-height:20px;
  text-align:left;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
 }
.font-subtopic-black{
  font-size: 16px;
  color: #ef3c73;
  line-height:20px;
  text-align:left;;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
}


@media (max-width: 767px) {
  #slide-navbar-collapse {
    position: fixed;
    top: 0;
    left: 15px;
    z-index: 99;
    width: 280px;
    height: 100%;
    background-color: #f59795;
    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: 2px solid transparent;
  border-color: #ef3c73;
  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: 2px solid transparent;
      border-color: #ef3c73;
      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: 2px solid transparent;
  border-color: #ef3c73;
  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: 2px solid transparent;
  border-color: #ef3c73;
  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:  20px 10px 10px 10px;
  overflow-x: hidden;
  overflow-y: auto;

}

.content-box-policy {
  border: 2px solid transparent;
  border-color: #ef3c73;
  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: 2px solid transparent;
      border-color: #ef3c73;
      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: 2px solid transparent;
      border-color: #ef3c73;
      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-policy {
    border: 2px solid transparent;
    border-color: #ef3c73;
    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: 280px;
	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; */
}

 /*************************
*******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: #e35171;
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: #e35171;
  box-shadow: 0 3px 3px -3px #e35171;
}
#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: #e35171;
  box-shadow: 0 3px 3px -3px #e35171;
}
