/* template */

* {
  font-family: 'kanit', sans-serif !important;
}

html {
  font-size: 10px;
  /*font-size: 62.5%;*/
}

body {
  font-size: 1.6rem;
  overflow-x: hidden;
}

p {
  margin: 0px;
}

input {
  max-height: 32px;
}

img {
  cursor: pointer;
}

i {
  font-size: 2rem;
  top: 4px;
  position: relative;
}

label {
  font-weight: normal;
}

::-webkit-scrollbar {
  width: 0.2em;
}

::-webkit-scrollbar-thumb {
  background: #ff8700;
  -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: inherit;
}

.glyphicon {
  font-family: 'Glyphicons Halflings' !important;
}

h1, h2, h3, h4, h5 {
  line-height: 24px;
}

.swal2-popup .swal2-content {
  font-size: inherit !important;
}

.swal2-modal {
  max-width: 100%;
}

.pad-0 {
  padding: 0px;
}

.padTop-5 {
  padding-top: 5px;
}

.padTop-10 {
  padding-top: 10px;
}

.padTop-20 {
  padding-top: 20px;
}

.padTop-40 {
  padding-top: 40px;
}

.padBottom-10 {
  padding-bottom: 10px;
}

.padBottom-20 {
  padding-bottom: 20px;
}

.padLR-15 {
  padding-left: 15px;
  padding-right: 15px;
}

.marTop-20 {
  margin-top: 20px;
}

.marTop-40 {
  margin-top: 40px;
}

.marTop-80 {
  margin-top: 80px;
}

.marBottom-10 {
  margin-bottom: 10px;
}

.marBottom-20 {
  margin-bottom: 20px;
}

.marBottom-40 {
  margin-bottom: 40px;
}

.marRight-10 {
  margin-right: 10px;
}

.marRight-20 {
  margin-right: 20px;
}

.mainContainer {
  margin-top: 86px;
  /*overflow: hidden;*/
  /*position: relative;*/
  /*width: 100%;*/
  /*height: 100%;*/
  perspective: 1200px;
  transform-style: preserve-3d;
  margin-bottom: 40px;
}

.navbar-nav>li {
  float: left;
}

.navbar.navbar-bottom {
  /* position: absolute; */
  bottom: 0;
  margin: 0;
  width: 100vw;
  border-radius: 0px;
  height: 40px;
  background-color: #9c25b8;
  border: 0;
  padding: 0px 15px;
  max-height: 40px;
  min-height: 40px;
}

.navbar-bottom .navbar-collapse img {
  display: inline-block;
  max-height: 22px;
  max-width: 22px;
  margin-right: 10px;
}

.navbar-bottom .blockImgNav {
  text-align: center;
  height: 40px;
  padding: 5px 0px;
}

.navbar-bottom .blockImgNav a {
  margin-right: 10px;
  color: #FFF;
}

.navbar-bottom .blockImgNav a:hover, .navbar-bottom .blockImgNav a:focus, .navbar-bottom .blockImgNav a:active {
  color: #FFF;
  text-decoration: none;
}

.navbar-bottom .navbar-brand {
  color: #FFF;
  height: 40px;
  font-size: inherit;
  padding: 10px;
}

.navbar-bottom .navbar-brand img {
  display: inline-block;
  max-height: 22px;
  width: 88px;
}

.navbar.navbar-top {
  border-radius: 0px;
  height: 80px;
  background-color: rgba(255, 255, 255, .8);
  margin-bottom: 0px;
  border-bottom: 1px solid #DDD;
  -webkit-box-shadow: 0px 1px 1px #DDD;
  -moz-box-shadow: 0px 1px 1px #DDD;
  box-shadow: 0px 1px 1px #DDD;
  position: fixed;
  width: 100%;
  z-index: 999;
  top: 6px;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
}

.navbar-top .container {
  height: inherit;
}

.navbar-top .navbar-header {
  height: inherit;
}

.navbar-top .navbar-header a {
  padding: 0px;
  height: inherit;
}

.navbar-top .navbar-header img {
  height: 100%;
  width: auto;
  padding: 10px 60px 10px 40px;
}

.navbar-top .navbar-nav {
  padding: 10px 0px;
  height: inherit;
  transition: padding 1s;
}

.navbar-top .navbar-toggle {
  margin: 22px 30px;
}

.navbar-top .navbar-nav>li>a:not(.btn):not(.language) {
  color: #B4B4B4;
  padding: 0px;
  margin-right: 36px;
}

.navbar-top .navbar-nav>li>a:focus:not(.btn), .navbar-top .navbar-nav>li>a:hover:not(.btn), .navbar-top .navbar-nav>li>a:active:not(.btn) {
  color: #ff8700;
  background-color: inherit;
}

.navbar-top .navbar-nav>li>a.btn {
  height: 32px;
  padding: 5px 20px;
  position: relative;
  top: -4px;
  margin-right: 36px;
}

.navbar-top .navbar-nav>li.active>a {
  color: #ff8700 !important;
  background-color: inherit !important;
}

.navbar-top .navbar-right>li:first {
  padding-right: 36px;
}

.navbar-top .navbar-nav>li>a.language {
  padding: 0px;
  margin-right: 12px;
}

.navbar-top .navbar-nav>li>a.language>img {
  height: 20px;
  width: auto;
  display: initial;
}

.resShow .resDrop .language {
  display: inline;
  padding-left: 20px;
  padding-right: 10px;
}

.resShow .resDrop .language:nth-child(2) {
  padding-left: 0;
}

.resShow .resDrop .language img {
  max-width: 20px;
}

.navbar-top .navbar-nav>li>a.language.en {
  margin-right: 36px;
}

.navbar-top .navbar-header img {
  padding-left: 20px;
}

.navbar-right .dropdown-menu>li>a {
  color: #B4B4B4;
}

.navbar-right .dropdown-menu>li>a:hover, .navbar-right .dropdown-menu>li>a:focus, .navbar-right .dropdown-menu>li>a:active {
  color: #773E91;
  background-color: inherit;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
  background-color: inherit !important;
}

.backToTop {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.backToTop:hover, .backToTop:focus, .backToTop:active {
  background-color: rgba(255, 255, 255, 1);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transition: background-image 0.2s ease-in-out;
  -moz-transition: background-image 0.2s ease-in-out;
  transition: background-image 0.2s ease-in-out;
}

.navbar .navbar-bottom {
  position: fixed !important;
}

.copyright:hover {
  text-decoration: none;
}
