@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all");
@import url("https://fonts.googleapis.com/css?family=Kanit:400,300,700&subset=latin,thai");
html {
  height: 100%;
}

body {
  font-family: "Open Sans", "Kanit", sans-serif;
  min-height: 100%;
  background-color: #f4f6f9;
}

.top-bar {
  height: 90px;
  background-color: #fff;
  padding: 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1039;

  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 5px 5px rgba(0, 0, 0, 0.05) !important;
}

.top-bar h1 {
  font-size: 24px;
  font-weight: bold;
  line-height: 21px;
}

.top-bar h3 {
  font-size: 18px;
  line-height: 16px;
}

.logo {
  display: inline-block;
  vertical-align: middle;
}

.logo > img {
  width: 60px;
}

.brand-text {
  padding: 0 15px;
  white-space: normal;
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
}

.top-menu {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.top-menu i {
  font-size: 24px;
}

.top-menu img {
  height: 44px;
}

.top-menu .list-group-item {
  border: 0;
  margin-right: 25px;
}

.top-menu .list-group-item {
  padding: 0.35rem 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.top-menu ul {
  padding: 0 !important;
}

.top-menu ul > li {
  padding: 0.35rem 1.25rem;
}

[class*="sidebar-dark-"] {
  background-color: #252e5b;
}

.content-wrapper {
  /* margin-left: 0 !important; */
  width: 100%;
}

.wrapper,
.main-sidebar {
  padding-top: 90px;
}

.content {
  padding-top: 15px !important;
}

.sidebar-collapse .brand-text {
  display: none;
}

.sidebar-mini.sidebar-collapse .main-sidebar:hover .brand-text {
  display: block;
}

.search-form {
  background-color: #e8e8e8;
  padding: 15px;
  border-radius: 10px;
}

.search-form input[type="text"] {
  border: 0;
  background-color: #e8e8e8;
  height: 24px;
}

.search-form i,
.search-form input[type="text"] {
  color: #7a7a7a;
}

#searchdiv {
  display: none;
  margin-bottom: 15px;
  border: 1px solid #eee;
  padding: 10px;
}

#btn_delete {
  display: none;
}

button .fa-spinner {
  padding-right: 10px;
}

.action_btns > * {
  margin-left: 5px;
  padding: 5px 7px;
}

.action_btns > *:first-child {
  margin-left: 0px;
}

.action_btns > *:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.table tr th.sort-by,
.table thead tr th.sort-by {
  position: relative;
  cursor: pointer;
  padding-right: 30px;
}

.table .sort-by::before,
.table .sort-by::after {
  position: absolute;
  bottom: 0.9em;
  display: block;
  opacity: 0.3;
}

.table .sort-by::before {
  content: "\2191";
  right: 1em;
}

.table .sort-by::after {
  content: "\2193";
  right: 0.5em;
}

.table .sort-asc::before {
  opacity: 1;
}

.table .sort-desc::after {
  opacity: 1;
}

.table .hl td {
    background-color: #f7d7f6;
}

.table-filter {
  text-align: right;
}

.table-filter > * {
  white-space: nowrap;
}

.table-filter input {
  display: inline-block;
  width: auto;
}

.pagination .page-item span {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.item-sort-msg {
  display: none;
}

.loading {
  padding: 25px;
  text-align: center;
}

img {
  max-width: 100%;
}

.bg-corner {
  background-image: url("/images/corner1.png");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: auto 150%;
}

.custom-logo-box {
  width: auto;
  font-size: 21px;
  max-width: 90%;
}

.custom-logo-box .txt {
  padding-top: 25px;
  padding-bottom: 25px;
  text-align: center;
}

.custom-logo-box .logo {
  max-width: 200px;
  width: 100%;
}

.custom-logo-box img {
  max-width: 500px;
  width: 100%;
}

.login-page .txt > span {
  display: block;
}

.find_match {
  text-align: right;
}

.login-page,
.register-page {
  margin-top: 15px;
  margin-bottom: 15px;
  height: auto;
}

#mb-menu {
  position: absolute;
  top: 10px;
  right: 10px;
}

#mb-menu-dd {
  display: none;
  width: 250px;
  margin-left: auto;
}

#mb-menu-dd ul {
  padding-left: 25px;
}

.export-bar>ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.export-bar>ul>* {
    padding: 5px 10px;
    border-radius: 15px;
    background-color: rgba(255,255,255,0.5);
    margin: 0px 2px;
    font-size: 14px;
}

.export-bar>ul>*:hover {
    background-color: #007bff;
    color: #fff;
}

.export-bar>ul>*:hover a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1024px) {
  .login-page .custom-logo-box {
    width: 500px;
    font-size: 16px;
  }
  .login-page .custom-logo-box .txt {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .top-menu {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .custom-logo-box {
    font-size: 18px;
  }

  #btn-login {
    font-size: 14px;
  }

  .top-menu ul > li {
    padding-top: 0;
  }
}

@media (max-width: 425px) {
  .custom-logo-box {
    font-size: 14px;
  }

  .login-page .txt > span > span {
    display: block;
  }

  #btn-login {
    font-size: 10px;
  }

  .top-bar {
    height: 80px;
    /* position: relative; */
    padding: 5px 15px;
  }

  .top-bar h1 {
    font-size: 16px;
    line-height: 16px;
  }

  .top-bar h3 {
    font-size: 14px;
    line-height: 14px;
  }

  .top-bar > .row > * + * {
    margin-top: 10px;
  }

  .wrapper,
  .main-sidebar {
    padding-top: 0;
  }

  .top-menu {
    /* display: none; */
    justify-content: center !important;
    align-items: flex-start;
  }

  .top-menu.list-group {
    flex-direction: row !important;
  }

  .top-menu img {
    height: 24px;
  }

  .top-menu .list-group-item {
    font-size: 14px;
  }

  .top-menu .list-group-item i,
  .top-menu .list-group-item img {
    padding-right: 10px;
  }

  .search-form {
    padding: 10px;
  }
}

@media (max-width: 375px) {
}
