html{ font-size:18px;}
@font-face {
    font-family: 'THSarabunChula-Regular';
    src: url('fonts/THSarabunChula-Regular.eot');
    src: url('fonts/THSarabunChula-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/THSarabunChula-Regular.woff') format('woff'),
         url('fonts/THSarabunChula-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'THSarabunChula-Bold';
    src: url('fonts/THSarabunChula-Bold.eot');
    src: url('fonts/THSarabunChula-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/THSarabunChula-Bold.woff') format('woff'),
         url('fonts/THSarabunChula-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body{
    font-family: 'THSarabunChula-Regular';
	cursor: default;
	position: relative;
	line-height:normal;
    color: #000;
	font-size: 1rem;
}

img{ border:0; margin:auto;}
a{ text-decoration:none;}
a:hover{ text-decoration: none;}
a{text-decoration:none;color:inherit;}
a:hover{color:#0ae5f3;}
ul{	padding-left: 0;margin-bottom: 0;}

#back-to-top {
    width: 50px;
    height: 25px;;
    position: fixed;
    z-index: 9999;
    bottom: 0;
    right: 50%;
    text-align: center;
    display: none;
    background-color: #13100d;
    transform: translate(50%,0);
    padding-top: 0;
    border-radius: 30px 30px 0 0;
}
#back-to-top:hover{
    opacity: 1;
}
#back-to-top a {
    color: #FFF;
}
button:focus {
    outline: none;
}

/*head--//////////////////////////////////////////////////////////////////////////*/
.headbar-top{
    z-index:300;
    width: 100%;
    padding: .5rem 0;
    background: #FFF;
}
.slim.headbar-top{
    box-shadow: 0px 0px 11.76px 0.24px rgba(0, 0, 0, 0.3);
}
.hamburgers-box{
    width: 100%;
    position: relative;
}
.navbar-brand {
    width:100%;
    padding: 0;
    text-align: center;
    margin-right: 0;
}
.navbar-brand img {
    width: auto;
    margin: 0 auto;
}
.contact-head ul{list-style: none;}
.contact-head ul li{
    text-align: center;
    padding: 0 5px;
    font-size: 1.4rem;
}
.contact-head ul li a:hover{color: #0ae5f3;}
.contact-head ul li:first-child img{width: 1rem;  box-shadow: none; border-radius:0;}
.contact-head ul li img{width: 2rem; box-shadow: 0 0 4px rgba(0,0,0,0.3); border-radius: 50%; transition: all 0.5s;}
.contact-head ul li img:hover{transform: translateY(-5px);}
/*slide-banner--//////////////////////////////////////////////////////////////////////////*/
#slide-zone{position: relative;}
#slide-zone .banner-slide{
    width: 100%;
    position: relative;
}
#slide-zone .banner-slide img{
    width: 100% !important;
}

#slide-zone .owl-dots{
	display: block !important;
	position: absolute;
    bottom: .5rem;
    left: 50%;
	transform: translate(-50%,0);
}
#slide-zone .owl-carousel button.owl-dot{
	width: 13px;
    height: 13px;
	margin: 0 4px;
    background: #FFF;
    border: 1px solid #9cd9f5;
    border-radius: 50%;
}
#slide-zone .owl-carousel button.owl-dot.active{
    background: #9cd9f5;
}
/*content--//////////////////////////////////////////////////////////////////////////*/
.text-bold{font-family: 'THSarabunChula-Bold';}
.text-blue{color: #0a4b83;}
.text-sky{color: #0ae5f3;}
.text-gray{color: #b6b6b6;}
.font-title{font-size: 2rem;}
.font-spacing{
    letter-spacing: 2px;
    font-size: .9rem;
}
.content-box1{
    background: url("../images/bg-1.png") bottom center no-repeat;
    padding: 10% 0;
    background-size: 100%;
}
.title-box{line-height: 1;}
.title-box h1{
    line-height: 1;
    font-size: 2rem;
}
.titel-box img{width: 1rem;}
.followus-detail img{
    width: 2rem; 
    margin: 0;
    box-shadow: 0 0 4px rgba(0,0,0,0.3); 
    border-radius: 50%;    
}
.followus-detail a{padding-left: .5rem;}
.img-box{width: 100; margin: auto; padding: 0 8px; overflow: hidden;}
.img-box img{transition: all .5s;}
.img-box:hover img{transform: scale(1.05);}
.img-box.all-img-box{margin-bottom: 1rem;}

.content-box2{padding: 10%0;}
.bg-black{
    background: url("../images/bg-2.png") top center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
.bg-sky{
    background: url("../images/bg-3.png") top center no-repeat;
    background-size: 100%;
}
.content-box3{
    padding:0 0 10%;
    background: url("../images/bg-4.png") center bottom no-repeat;
    background-size: 100%;
}
/*footer--//////////////////////////////////////////////////////////////////////////*/
.hotline-bt{
    width: 50%;
    margin:.5rem auto;
    padding: 5px;
    border: 2px solid #0a4b83;
    background: #FFF;
    border-radius: 20px;
}
.hotline-bt img{width: 1em;}
.social-footer{font-size: 1.1rem;}
.social-footer h1{
    font-size: 1.3rem;
    margin: 1rem auto 0;
    line-height: 1;
}
.social-footer img{
    width: 3rem;
    box-shadow: 0 0 4px rgba(0,0,0,0.3); 
    border-radius: 50%;    
    transition: all .5s;
}
.social-footer:hover img{
    transform: translateY(-5px);
}
.copyright-box{padding: 0 5%;}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .navbar-brand img {
        width: 183px;
    }
}

@-webkit-keyframes hvr-buzz {
  50% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  100% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }
}

@keyframes hvr-buzz {
  50% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  100% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }
}

.hvr-buzz {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.contact-head ul li a:hover .hvr-buzz, .contact-head ul li a:focus .hvr-buzz, .contact-head ul li a.active .hvr-buzz {
  -webkit-animation-name: hvr-buzz;
  animation-name: hvr-buzz;
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.hotline-bt:hover .hvr-buzz{
  -webkit-animation-name: hvr-buzz;
  animation-name: hvr-buzz;
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

