
@import url('https://fonts.googleapis.com/css?family=Kanit');
body
  {
    background: #FFFFFF;
    color: #555555;
     font-family: 'Kanit', sans-serif;
   line-height: 24px;
    position: relative;
  
  }


/* COOKIE CONSENT */
.cookie-notice {
  /*display: none;*/
  width: 99%;
  background-color: rgba(0, 0, 0, 0.9);;
  position: fixed;
  bottom: 5px;  
  left: 50%;           /* เคลื่อนตัวไปยังจุดกึ่งกลางของหน้าจอ */
  transform: translateX(-50%); /* ปรับให้อยู่กึ่งกลางจริง ๆ โดยเลื่อนตัวเองออกจากจุดกลาง */
  z-index: 9999;
  border-top: 1px solid #222;
  padding-top: 20px;
  padding-bottom: 15px;
  color: #fff;
  font-family: "Kanit", sans-serif;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  .btn-outline-warning{
      color: #f0ad4e;
      border-color: #eea236;
  }

  .btn-outline-warning:hover{
    color: #fff;
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}
}

.cookie-notice h5 {
  color: #f0ad4e;
  margin-bottom: 5px;
  border-bottom: 2px solid;
  font-size: 18px;
  
}

.cookie-notice p {
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.cookie-notice .btn-outline {
  border: 1px solid;
  background-color: unset;
}

.cookie-notice .btn {
  border-radius: 5px;
  min-width: 100px;
  margin-bottom: 5px;
}


.swal2-title{
  font-family: 'Kanit', sans-serif;
}
.img-slide{
  margin: 10px;
}
ol, ul {
  list-style: none;
}
.swal2-show .btn{
  margin: 0px 5px;
}
.content-home{

}



.content-home h3{
  font-size: 18px;
  line-height: 18px;
  margin: 0px 0px 2px 0px;
  padding-bottom: 2px;
}

.content-home p{
  font-size: 14px;
  line-height: 16px;
  margin: 0px; 
}
.content-home .detail p{
  font-size: 16px;
  line-height: 24px;
  margin-top: 0px;
}


.icon-border{
  width: 150px;
}

.flexslider .slides {
    zoom: 1;
}
.slides, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

  .flexslider .slides img {
    width: 100%;
    display: block;
}

.head-info{
  background: #382b17 !important;
  color: white;
  font-size: 16px;
}

.head-info2{
  background: #382b17 !important;
  color: white;
  padding-top: 10px;
  padding-bottom: 0px;

}

/* social icon */
.social-icon2 {
  padding: 0;
}
.social-icon2 li {
  list-style: none;
  display: inline-block;
  padding: 0;

}
.social-icon2 li a {
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  width: 30px;
  height: 30px;
  text-align: center;
  text-decoration: none;
  position: relative;
  padding-top: 6px;
  padding-bottom: 0px;
  margin-bottom: 0;
}
.social-icon2 li a:hover {
  background: #fff;
  color: #000;
}

 .right{
  text-align: right;
}

.img-shadow{
  box-shadow: 1px 2px 3px 1px #eee;
  width: 100% !important;
}

.head-menu{
  background: #fff;
}
.heading {
  font-size: 22px;
  font-weight: 500;
}

.subheading {
  font-size: 16px;
  padding-bottom: 60px;
}

p {
  font-weight: 100;
  font-size: 16px;
  letter-spacing: 0.4px;
  line-height: 24px;
}

hr {
	border-top: 2px solid #828282;
	width: 120px;
}



/* aboutus section */
.aboutus,.contact,.course,.professor,.portfolio,.contributor{
  color:#000;
  margin-top: 120px;
  margin-bottom: 30px;
}

.course h3{
  font-size: 18px !important;
  margin: 0px;
  padding-bottom: 5px;
}


.course p{
  font-size: 14px !important;
  margin: 0px;
  line-height: 20px;
  color: #555;
  word-break: break-word;
}

.course .text-detail p{
  font-size: 16px !important;
  margin: 3px;
  line-height: 24px;
  color: #555;
  text-shadow: none;
  padding-top: 5px;
  text-align: justify;

}
.course .text-detail p>strong{
  font-size: 16px !important;
  margin: 3px;
  line-height: 20px;
  text-shadow: none;
}
.course .img_box{
  width: 180px;
}

.course .img_detail{
  width: 50%;
}


.contact .map-latitude{
  box-shadow: 1px 2px 3px 1px #eee;
  padding: 5px;
  margin-bottom: 30px;
}

.dark-bg {
  background: #eee;
}

.info-link{
  padding: 5px 10px;
  border-radius: 3px;
}


.info-link:hover{
  background: #382b17;
  color: #fff;
  box-shadow: 0px 2px 8px 0px #ccc;

}

.table{
  background: #fff;
  box-shadow: 0px 2px 8px 0px #ccc;
  border-radius: 3px;
}

th {
  text-align: center !important;
}



.parallax-section {
  background-attachment: fixed !important;
  background-size: cover !important;
}

/* preloader section */
.preloader  {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99999;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: row nowrap;
            -ms-flex-flow: row nowrap;
                flex-flow: row nowrap;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        background: none repeat scroll 0 0 #fff;
    }
.sk-spinner-pulse {
  width: 40px;
  height: 40px;
  background-color: #382b17;
  border-radius: 100%;
  -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;
          animation: sk-pulseScaleOut 1s infinite ease-in-out; }

@-webkit-keyframes sk-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0; } }

@keyframes sk-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0; } }


/* start navigation */
.navbar-default {
  background: #ffffff;
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
  border: none;
  margin-bottom: 0;
}
.navbar-brand, .navbar-nav li a {
  line-height: 28px;
}
.navbar-default .navbar-nav>.active>a {
    color: #000;
    background-color: #eee !important;
}
.navbar-default .navbar-nav>.active>a:hover {
    color: #000;
    background-color: #eee !important;
}

.navbar-default .navbar-brand  {
  color: #5C5C5C;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
  height: 60px;
  padding: 5px;
}

.navbar-default .navbar-nav li a {
  font-size: 16px;
  letter-spacing: 1px;
}
.navbar-default .navbar-nav> li a:hover {
    color: #000;
}

/* home section */
#slide {
  
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
  text-align: center;
}
#home h1 {
  font-size: 20px;
  letter-spacing: 8px;
  font-style: normal;
  padding-top: 10px;
}
#home .btn {
  background: transparent;
  border-radius: 0;
  border: 3px solid #ffffff;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 16px 42px;
  margin-top: 40px;
  transition: all 0.4s ease-in-out;
}
#home .btn:hover {
  background: #ffffff;
  color: #202020;
}

/* course section */
#course {
  text-align: center;
}
#course h3 {
  font-size: 18px;
  line-height: 4px;
}
#course h4 {
  color: #5C5C5C;
  padding-top: 24px;
}
#course .col-md-4 {
 padding-top: 42px;
}

/* menu section */
#menu h4 {
	line-height: 1.5;
}
#menu .col-md-8 {
  padding-bottom: 42px;
}
#menu .col-md-6 {
  padding-bottom: 18px;
}
#menu span {
  color: #5C5C5C;
}



/* contact section */
#contact {
  padding-top: 80px;
  padding-bottom: 100px;
}
#contact .col-md-8 {
  margin-bottom: 32px;
}
#contact .form-control {
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
}
#contact .form-control:focus {
  border-color: #f9f9f9;
}
#contact input {
  height: 48px;
}
#contact input[type="submit"] {
  background: transparent;
  border: 2px solid #999;
  border-radius: 10px;
  letter-spacing: 2px;
  margin-top: 12px;
  height: 50px;
}
#contact input[type="submit"]:hover {
  background: #999;
  color: #ffffff;
}

.login-form{
  width: 50%;
}
.login-form .submit{
  width: 100%;
}



#course {
  padding-top: 60px;
  padding-bottom: 100px;
}


.policy-regis-form{
  margin-bottom: 1rem;
  border: 2px solid;
  border-color: #DB3545;
  padding: 1rem;
  background-color:#db35451a;
  color:#000;
  border-radius:5px;

}

/* contact2 section */
#contact2 {
  padding-top: 60px;
  padding-bottom: 100px;
  background: #fff;
}
#contact2 .col-md-8 {
  margin-bottom: 32px;
}
#contact2 .form-control {
  background: #ffffff;
  border: 2px solid #999;
  border-radius: 2px;
  box-shadow: none;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
}
#contact2 .form-control:focus {
  border-color: #f9f9f9;
}
#contact2 input {
  height: 48px;
}
#contact2 input[type="submit"] {
  background: transparent;
  border: 2px solid #999;
  border-radius: 10px;
  letter-spacing: 2px;
  margin-top: 12px;
  height: 50px;
}
#contact2 input[type="submit"]:hover {
  background: #999;
  color: #ffffff;
}

input[type="radio"],input[type="checkbox"]{
  height: 20px;
  width: 20px;
}

.link-info1{
  padding-bottom: 20px;
}

section.policy{
  color: #000;
  margin-top: 120px;
  margin-bottom: 30px;
  .container{
    background:#fff;
  }

}
section.policy ul{
  list-style: disc;
}

/* footer section */
footer {
  background: url('../images/footerbg.jpg') 50% 0 repeat-y fixed;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: 30px;
  padding-bottom: 30px;


}
footer h2 {
  padding-bottom: 14px;
}
footer h3 {
  padding-top: 8px;
}
footer p {
  color: #ffffff;
  font-size: 16px;
}
footer span {
  font-weight: bold;
  padding-left: 24px;
}
footer .ph, footer .address {
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 16px !important;
}
footer .fa {
  font-size: 12px;
  padding-right: 10px;
}

#copyright ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  li {
    margin: 0 10px;
    position: relative;
  }
  li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -10px;
  }
  li a {
    text-decoration: none;
    color: #fff;
  }
}


/* social icon */
.social-icon {
  padding: 0;
}
.social-icon li {
  list-style: none;
  display: inline-block;
  padding: 0;
}
.social-icon li a {
  background: #f0f0f0;
  border-radius: 50%;
  color: #5C5C5C;
  font-size: 16px;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  margin-top: 12px;
  margin-right: 16px;
  top: 0;
  position: relative;
  padding: 0;
}
.social-icon li a:hover {
  background: #F6D76B;
  top: 5px;
}

/* copyright section */
#copyright {
  background: #382b17;
  color: #eee;
  padding-top: 10px;
  padding-bottom: 0px;
  text-align: left;
  margin:0px !important; 
}
#copyright p {
  color: #eee;
  font-size: 13px;
  line-height: 18px;
  font-weight: 100 !important;
}
#copyright a {
  color: #eee;
}
#copyright a:hover {
  color: #FF8C00;
}

#copyright .container {
  margin-left: 0px;
}

.powered a{
  color: #6b4a16 !important;
}
.powered a:hover{
  color: #eee !important;
}
.flexslider {
  margin-top: 114px;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  overflow: hidden;
}

.flex-direction-nav a {
  color: #444444;
  width: 40px;
  height: 40px;
  background-color: white;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  margin: -20px 0 0 0;
  text-align: center;
  line-height: 40px;
}

.flex-caption {
  position: absolute;
  top: 39%;
  width: 100%;
  text-align: center;
  z-index: 999;
  color: white;
}
.flex-caption h2 {
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 700;
  color: white;
  margin-bottom: 45px;
}
.flex-caption p {
  font-size: 18px;
  font-family: 'Droid Serif', serif;
  line-height: 28px;
}
.flex-caption span {
  background: url(../images/slider-dec.png) no-repeat;
  width: 60px;
  height: 9px;
  display: block;
  margin: 30px auto;
}
.mmm{
    display: none;
  }

@media(max-width: 500px){
  .aboutus,.contact,.course,.professor,.portfolio,.contributor{
  margin-top: 90px !important;
}
.agencies,.agencies:hover{
  padding-left:1px;
  padding-right: 1px; 
  text-decoration: none !important;

}
.agencies a:hover{
  text-decoration: none !important; 
}
  .detail p{
    font-size: 13px;
  }
.slide_banner{
    padding-top: 0px;
  }
  .head-info2{
  display: none;
  }
  .mmm{
    display: block;
    font-size: 13px;
  }
  .navbar-default .navbar-brand{
    height: 40px;
  }
  .container>.navbar-header {
     margin-left: 0px;
}
  .course h3 a{
    font-size: 16px;
  }
  .content-home h3 a{
    font-size: 16px;
  }
  .course p{
    font-size: 12px !important;
  }
  .content-home p{
    font-size: 12px !important;
  }
  .content-home .detail p{
    font-size: 14px;
  }
  .course .text-detail p {
    font-size: 14px !important;
  }
   .content-home .text-detail p {
    font-size: 14px !important;
  }
  .navbar-toggle{
    margin-top: 0px;
    padding: 7px 8px;
    font-size: 12px;
  }
  .heading{
    font-size: 18px;
  }
  .course .text-detail p>strong {
    font-size: 14px !important;
  }
    .head-info-mobile{
    background: #382b17;
  }
  .img_box{
    width: 100%;
  }
  footer .heading{
    font-size: 20px;
  }
  footer .detail{
    font-size: 14px;
  }

}

@media(max-width:768px){
  .icon-border{
  width: 100px;
}
  .login-form{
    width: 95%;
  }
  .slide_banner{
    padding-top: 0px;
  }
  .head-info2{
  display: none;
  }
  .mmm{
    display: block;
  }
    .head-info-mobile{
    background: #382b17;
  }
  .img_box{
    width: 100%;
  }
   
}

