/*===========================
  COMMON css 
===========================*/
:root {
  --font: "Kanit";
  --primary-color: #ffffff;
  --white: #ffffff;
  --bodycolor: #F0F6FB;
}

body {
  font-family: var(--font);
  font-weight: normal;
  font-style: normal;
  color: var(--body-color);
  overflow-x: hidden;
  font-family: "Kanit", sans-serif;
}

.container {
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  width: 93%;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

a,
button,
input,
textarea {
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

a,
a:focus,
input:focus,
textarea:focus,
button:focus,
.navbar-toggler:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

a:focus,
a:hover {
  text-decoration: none;
}

i,
span,
a {
  display: inline-block;
  line-height: normal;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--heading-color);
  margin: 0px;
  line-height: normal;
}

ul,
ol {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

p {
  font-size: 14px;
  font-weight: 400;
  margin: 0px;
  line-height: normal;
}

.bg_cover {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.mb-25 {
  margin-bottom: 45px !important;
}

.trans {
  transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -webkit-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

.clearboth {
  clear: both;
  min-height: 1px;
}

section {
  width: 100%;
  float: left;
}

h2 {
  color: #3B3B3B;
  font-size: 30px;
  font-weight: 700;
}
h2 span {
  display: block;
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 2px;
  line-height: normal;
}

.btn1,.btn2 {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  background: var(--primary-color);
  text-transform: uppercase;
  border-radius: 5px;
  padding: 11px 15px;
  cursor: pointer;
  min-width: 200px;
  text-align: center;
  border: 1px solid #000;
  font-family: "Kanit", sans-serif;
width:100%;
    margin:5px auto;
}
.btn1:hover,.btn2:hover {
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
input{padding:7px 0px;margin:5px 0px}
ul.humbrgr-menu li{display:inline-block}
@media only screen and (max-width: 1199px) {
  .btn1 {
    font-size: 14px;
    font-weight: 400;
    min-width: 150px;
    padding: 10px;
  }
}

header {
  background: url(../images/header-bg.jpg);
  position: relative;
  padding: 25px 0;
}
@media only screen and (max-width: 575px) {
  header .logo {
    width: 100px;
  }
}
@media only screen and (max-width: 1199px) {
  header {
    padding: 15px 0;
  }
}
@media only screen and (max-width: 575px) {
  header {
    padding: 9px 0;
  }
}
header::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.9;
}
header .container {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 9;
  align-items: center;
}
header aside {
  display: flex;
  align-items: center;
}
header aside a {
  display: inline-block;
  color: #000;
  font-size: 17px;
}
@media only screen and (max-width: 575px) {
  header aside a {
    font-size: 0;
  }
}
header aside a i {
  display: inline-block;
  margin-right: 5px;
}
header aside span {
  display: inline-block;
  margin-left: 15px;
}
@media only screen and (max-width: 575px) {
  header aside span {
    margin-left: 5px;
  }
}

footer {
  width: 100%;
  float: left;
  padding: 15px 0;
  background: #fff;
  box-shadow: 0px 4px 40px rgba(91, 91, 91, 0.09);
  position: fixed;
  bottom: 0;
}
@media only screen and (max-width: 768px) {
  footer {
    position: static;
  }
}
footer .container {
  display: flex;
  justify-content: space-between;
}
@media only screen and (max-width: 575px) {
  footer .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
footer p {
  color: #666666;
  font-size: 13px;
}

.foot-link li {
  display: inline-block;
  line-height: normal;
}
.foot-link li:first-child a::after {
  display: none;
}
.foot-link li a {
  color: #666666;
  font-size: 13px;
  position: relative;
  padding: 0 7px;
}
.foot-link li a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 80%;
  width: 1px;
  background: #666666;
  margin: auto;
}

.fitscreen {
  height: 100vh;
  width: 100%;
  background: var(--bodycolor);
  min-height: 700px;
}
@media only screen and (max-width: 768px) {
  .fitscreen {
    height: 100%;
    float: left;
  }
}

.body-sec {
  padding: 50px 0;
}
@media only screen and (max-width: 1199px) {
  .body-sec {
    padding: 40px 0;
  }
}
@media only screen and (max-width: 575px) {
  .body-sec {
    padding: 30px 0 15px;
  }
}
@media only screen and (max-width: 768px) {
  .body-sec .tabs {
    text-align: center;
  }
}
.body-sec ul#tabs-nav {
  list-style: none;
  margin: 0;
  display: inline-block;
  background: #fff;
  overflow: auto;
  border-radius: 5px 5px 5px 5px;
}
@media only screen and (max-width: 575px) {
  .body-sec ul#tabs-nav {
    width: 100%;
    background: none;
  }
}
.body-sec ul#tabs-nav li {
  float: left;
  font-weight: bold;
  margin-right: 2px;
  padding: 13px;
  border-radius: 5px 5px 5px 5px;
  min-width: 135px;
  text-align: center;
}
@media only screen and (max-width: 1199px) {
  .body-sec ul#tabs-nav li {
    padding: 10px;
    min-width: 120px;
  }
}
@media only screen and (max-width: 575px) {
  .body-sec ul#tabs-nav li {
    float: none;
    display: block;
    margin-right: 0;
    background: #fff;
    margin-bottom: 5px;
  }
}
.body-sec ul#tabs-nav li a {
  color: #464646;
  font-size: 15px;
  font-weight: 400;
}
.body-sec ul#tabs-nav li.active {
  background-color: var(--primary-color);
}
.body-sec ul#tabs-nav li.active a {
  color: #000;
}

.tab-content {
  width: 100%;
  float: left;
  margin-top: 35px;
}
@media only screen and (max-width: 1199px) {
  .tab-content {
    margin-top: 20px;
  }
}
.tab-content .col-l {
  width: 25%;
  float: left;
}
@media only screen and (max-width: 1199px) {
  .tab-content .col-l {
    width: 40%;
  }
}
@media only screen and (max-width: 575px) {
  .tab-content .col-l {
    width: 100%;
    margin-bottom: 15px;
  }
}
.tab-content .col-r {
  width: 75%;
  float: left;
  padding-left: 30px;
}
@media only screen and (max-width: 1199px) {
  .tab-content .col-r {
    padding-left: 15px;
  }
}
@media only screen and (max-width: 768px) {
  .tab-content .col-r {
    width: 60%;
  }
}
@media only screen and (max-width: 575px) {
  .tab-content .col-r {
    width: 100%;
    padding-left: 0;
  }
}

.main-profile {
  background: #FFFFFF;
  box-shadow: 0px 4px 40px rgba(91, 91, 91, 0.09);
  border-radius: 10px;
  padding: 30px 25px;
  text-align: center;
}
@media only screen and (max-width: 1199px) {
  .main-profile {
    padding: 30px 15px;
  }
}
.main-profile .image-box {
  margin-bottom: 15px;
}
.main-profile .image-box img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  position: relative;
}
.main-profile .image-box img::after {
  content: "";
  position: absolute;
  background: var(--primary-color);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media only screen and (max-width: 1199px) {
  .main-profile .image-box img {
    width: 70px;
    height: 70px;
  }
}
.main-profile .name {
  font-size: 22px;
  color: #000;
  font-weight: 500;
}
@media only screen and (max-width: 1199px) {
  .main-profile .name {
    font-size: 18px;
  }
}
.main-profile .mail {
  font-size: 15px;
  color: #505050;
}
@media only screen and (max-width: 1199px) {
  .main-profile .mail {
    font-size: 14px;
  }
}
.main-profile hr {
  margin: 12px 0;
  background: #F5F2F2;
  height: 2px;
  border: none;
}
@media only screen and (max-width: 1199px) {
  .main-profile hr {
    margin: 8px 0;
  }
}
.main-profile .btn1 {
  display: block;
  width: 100%;
}
.main-profile h4 {
  color: #313131;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
}
@media only screen and (max-width: 1199px) {
  .main-profile h4 {
    font-size: 15px;
  }
}
.main-profile .points {
  font-size: 40px;
  /* color: var(--primary-color); */
  font-weight: 500;
}
@media only screen and (max-width: 1199px) {
  .main-profile .points {
    font-size: 37px;
  }
}

.block {
  box-shadow: 0px 4px 40px rgba(91, 91, 91, 0.09);
  background: #fff;
  border-radius: 15px;
  padding: 30px 40px;
  width: 48%;
  padding-right: 30px;
  float: left;
  margin: 0 1%;
}
@media only screen and (max-width: 1199px) {
  .block {
    padding: 25px 25px;
  }
}
@media only screen and (max-width: 768px) {
  .block {
    width: 100%;
    margin-bottom: 15px;
  }
}
.block h3 {
  color: #1C1C1C;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
}
@media only screen and (max-width: 1199px) {
  .block h3 {
    font-size: 16px;
  }
}

.table-resp {
  overflow-y: auto;
  height: 315px;
  padding-right: 15px;
}
@media only screen and (max-width: 1199px) {
  .table-resp {
    padding-right: 10px;
  }
}
.table-resp table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  border-collapse: collapse;
}
.table-resp table thead {
  width: 100%;
  background: #F1F6FB;
}
.table-resp table thead th {
  font-size: 13px;
  font-weight: 400;
  padding: 8px 0;
  color: #271E4A;
  position: sticky;
  top: 0;
  z-index: 9;
  background: #F1F6FB;
}
.table-resp table tbody tr {
  border-bottom: #E0E9F4 solid 1px;
}
.table-resp table tbody tr:last-child {
  border-bottom: none;
}
.table-resp table tbody tr:hover {
  background: #f8fcff;
}
.table-resp table tbody tr td {
  font-size: 13px;
  font-weight: 500;
  color: #271E4A;
  padding: 8px 0;
  text-align: center;
}
.table-resp::-webkit-scrollbar {
  width: 5px;
}
.table-resp::-webkit-scrollbar-track {
  background-color: #F4F4F4;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.table-resp::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: var(--primary-color);
}

.loginscreen {
  height: 100vh;
  min-height: 700px;
  position: relative;
  padding: 80px 0;
}
@media only screen and (max-width: 1199px) {
  .loginscreen {
    padding: 50px 0;
  }
}
@media only screen and (max-width: 575px) {
  .loginscreen {
    min-height: auto;
  }
}
.loginscreen::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.7);
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.97;
}
.loginscreen .container {
  position: relative;
  z-index: 1;
}
.loginscreen .login-wrap {
  background: #fff;
  width: 100%;
  max-width: 410px;
  margin: auto;
  padding: 45px;
  border-radius: 10px;
}
@media only screen and (max-width: 575px) {
  .loginscreen .login-wrap {
    padding: 40px 30px;
  }
}
.loginscreen .login-wrap h2 {
  color: #444;
  font-weight: 600;
  font-size: 27px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 5px;
  line-height: normal;
}
.loginscreen .login-wrap h3 {
  color: #444;
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 500;
  text-align: center;
}
.loginscreen .login-wrap p {
  font-size: 13px;
  color: #6B6B6B;
  text-align: center;
  margin-bottom: 25px;
}
.loginscreen .login-wrap p i {
  display: inline-block;
  margin-right: 5px;
}
.loginscreen .login-wrap .btn1 {
  width: 100%;
}
.loginscreen .login-wrap a {
  font-size: 12px;
  color: #7D7D7D;
  margin-top: 10px;
}
.loginscreen .form-group {
  margin-bottom: 10px;
}
.loginscreen .form-group input {
  width: 100%;
  border: #EBEBEB solid 1px;
  height: 45px;
  margin-bottom: 5px;
  border-radius: 5px;
  padding: 15px;
}
.logo img{width:140px}
.loginscreen .form-group input:focus {
  border-color: var(--primary-color);
}
.loginscreen .logo {
  text-align: center;
  margin-bottom: 50px;
}
@media only screen and (max-width: 1199px) {
  .loginscreen .logo {
    margin-bottom: 40px;
  }
}
@media only screen and (max-width: 575px) {
  .loginscreen .logo {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 575px) {
  .loginscreen .logo img {
    width: 120px;
  }
}
.loginscreen .foot-text {
  position: fixed;
  bottom: 30px;
  text-align: center;
  width: 100%;
  left: 0;
  color: #000;
}
@media only screen and (max-width: 575px) {
  .loginscreen .foot-text {
    font-size: 12px;
    font-weight: 400;
  }
}
/********************************* DEVELOPER *********************************/
.validation_messages { margin-bottom:25px; }
.validation_messages p { margin:0 !important; text-align: left !important; }
.validation_messages p.error { color:#cc0000; }
.validation_messages p.success { color:#00cc00; }
.block100 { width:100%; }

.pagging { margin: 25px 10px; }
.pagination {
  display: inline-block;
}
.pagination .page-item {
  color: black;
  float: left;
  text-decoration: none;
  display: block;
}
.pagination .page-item.active .page-link, .pagination .page-item:not(.active) a {
  padding: 8px 16px;
}
.pagination .page-item a {
  color: black;
  text-decoration: none;
}
.pagination .page-item.active span.page-link {
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(145, 92, 182, 0.4);
  color: white;
  border-radius: 5px;
}
.pagination .page-item .page-link:hover{
  background-color: #ddd;
  border-radius: 5px;
}
.recharge_fm { width:50%; }
.recharge_fm .form-group {
  margin-bottom: 10px;
}
.recharge_fm .form-group input {
  width: 100%;
  border: #EBEBEB solid 1px !important;
  height: 45px;
  margin-bottom: 5px;
  border-radius: 5px;
  padding: 15px;
}
.recharge_fm .form-group input:focus {
  border-color: var(--primary-color);
}
.modal {
  display: none; 
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 0px;
  width: 80%;
}
.close {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal-header {
  padding: 2px 16px;
  background-color: var(--primary-color);
  color: #000;
}
.modal-header h2 { 
  color: rgb(0, 0, 0);
  padding: 10px 0px;
  font-size: 20px;
}
.modal-body {padding: 20px 16px;}
.modal-content .form-group {
  margin-bottom: 10px;
}
.modal-content .form-group input {
  width: 100%;
  border: #EBEBEB solid 1px !important;
  height: 45px;
  margin-bottom: 5px;
  border-radius: 5px;
  padding: 15px;
}
.modal-content .form-group input:focus {
  border-color: var(--primary-color);
}