:root {
  --navbar-height: 80px;
  --main-color: #f62244;
  --main-bg-color: #111111;
  --main-font-color: #ffffff;
  --second-bg-color: #ffffff;
  --second-font-color: #111111;
  --third-bg-color: #000000;
}

@media (max-width: 991.5px) {
  :root {
    --navbar-height: 70px;
  }
}

body {
  font-family: 'IBM Plex Sans Thai', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
}

body.modal-open, body.compensate-for-scrollbar {
  padding-right: 0px !important;
}

.bg-gray{
  background: rgba(255, 255, 255, 0.2);
}

.color-main{
  color: var(--main-color);
}

.form-label {
  font-weight: 600;
}

.toggle-password {
  position: absolute;
  top: 18px;
  right: 2px;
  font-size: 18px;
  padding: 0 15px;
  color: #c6c6c6;
  cursor: pointer;
}

.frm-success {
  display: flex;
  padding: 15px;
  background-color: rgb(25 135 84 / 15%);
  color: #198754;
  -webkit-clip-path: polygon(3% 0, 100% 0, 100% 0, 100% 70%, 97% 100%, 0 100%, 0 100%, 0% 30%);
  clip-path: polygon(3% 0, 100% 0, 100% 0, 100% 70%, 97% 100%, 0 100%, 0 100%, 0% 30%);
}

.frm-success i.frm-success-icon {
  font-size: 20px;
  line-height: 0;
}

.frm-success a, .frm-error a {
  text-decoration: underline;
}

.frm-error {
  display: flex;
  padding: 15px;
  background-color: rgba(192, 13, 13, 0.15);
  color: #ff0000;
  -webkit-clip-path: polygon(3% 0, 100% 0, 100% 0, 100% 70%, 97% 100%, 0 100%, 0 100%, 0% 30%);
  clip-path: polygon(3% 0, 100% 0, 100% 0, 100% 70%, 97% 100%, 0 100%, 0 100%, 0% 30%);
}

.frm-error i.frm-error-icon {
  font-size: 20px;
  line-height: 0;
}

.link-on-input{
  position: absolute;
  right: 0;
  margin: 1.2rem 1rem 1rem 0;
  font-weight: bold;
  z-index: 5;
}

.form-control{
  border-radius: 0px;
  display: inline-block;
  border: 1px solid #e9e9e9;
  height: 48px;
  font-size: 14px;
  padding: 15px;
  caret-color: var(--main-color);
  -webkit-clip-path: polygon(3% 0, 100% 0, 100% 0, 100% 70%, 97% 100%, 0 100%, 0 100%, 0% 30%);
  clip-path: polygon(3% 0, 100% 0, 100% 0, 100% 70%, 97% 100%, 0 100%, 0 100%, 0% 30%);
}

.form-control:disabled {
  background-color: rgb(0 0 0 / 20%) !important;
  border-color: rgb(0 0 0 / 20%) !important;
  color: #ffffff;
}

/* Recommend Menu */

.recommend-menu{
  padding: 30px 15px;
  background-color: rgb(0 0 0 / 80%);
  border-radius: 10px;
  text-align: center;
}

.recommend-menu .icon-menu{
  background-color: #fff;
  padding: 5px;
  border-radius: 50%;
}

/* End Recommend Menu */

/* Avatar */

.avatar-img {
  position: relative;
  display: flex;
  height: 20px;
  width: 20px;
  background-color: #f2f2f2;
  overflow: hidden;
}

.avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-x2 {
  height: 30px;
  width: 30px;
}

.avatar-x3 {
  height: 50px;
  width: 50px;
}

.avatar-x4 {
  height: 60px;
  width: 60px;
}

.avatar-x5 {
  height: 80px;
  width: 80px;
}

.avatar-x6 {
  height: 100px;
  width: 100px;
}

/* End Avatar */

/* Dropdown- Profile */

.dropdown-profile{
  background: rgb(27, 15, 35);
  border: 1px solid var(--base);
  color: #ffffff;
}

.dropdown-profile .dropdown-divider{
  border-color: var(--base);
}

.dropdown-profile .dropdown-item{
  color: #ffffff;
}

.dropdown-profile .dropdown-item:focus, 
.dropdown-profile .dropdown-item:hover{
  background-color: unset;
  color: var(--base);
}

/* End Dropdown- Profile */

/* Card */

.card {
  border-radius: 0px;
}

.card-blank {
  background-color: unset;
  border: unset;
}

/* End Card */

/* User Menu */

.user-menu .nav-link {
  color: var(--main-color-font);
  /* padding: 0.6rem 0; */
  font-weight: bold;
}

.user-menu .nav-link:hover, .user-menu .nav-link.active {
  color: var(--main-color);
}

/* End User Menu */

/* Modal */

.modal-game .modal-content{
  /* -webkit-clip-path: polygon(9% 0, 100% 0, 100% 0, 100% 80%, 91% 100%, 0 100%, 0 100%, 0% 20%);
  clip-path: polygon(9% 0, 100% 0, 100% 0, 100% 80%, 91% 100%, 0 100%, 0 100%, 0% 20%); */
  background: #504558;
  border-color: #504558;
  border-radius: unset;
}

/* End Modal */

/* Live Toast */

.live-toast {
  position: fixed;
  top: 20px;
  right: 15px;
  z-index: 1031;
}

.toast {
  width: max-content;
  min-width: 240px;
  max-width: 300px;
  border-radius: 0;
  -webkit-clip-path: polygon(9% 0, 100% 0, 100% 0, 100% 70%, 91% 100%, 0 100%, 0 100%, 0% 30%);
  clip-path: polygon(9% 0, 100% 0, 100% 0, 100% 70%, 91% 100%, 0 100%, 0 100%, 0% 30%);
}

.toast .toast-body {
  padding-right: 35px;
}

.toast .btn-close-absolute {
  position: absolute;
  top: 0;
  right: 0;
  margin: 12px 10px;
}

/* End Live Toast */

/* Loading */

.preloader.processing {
  opacity: unset !important;
  visibility: unset !important;
  background-color: rgb(11 2 49 / 40%);
}

/* End Loading */

/* Skitter */

.skitter .image {
  height: 100%;
}

.container_skitter .label_skitter {
  padding: unset;
  height: 100%;
}

.banner .text-box {
  text-align: center;
  margin-bottom: unset;
  position: absolute;
  top: 50%;
  left: 50%;
  right: unset;
  transform: translate(-50%, -50%);
  bottom: unset;
  color: unset;
  width: 100%;
}

/* End Skitter */

/* Navbar */

.navbar-main .navbar-brand {
  height: var(--navbar-height);
  display: flex;
  align-items: center;
}

#navbarNav.show {
  max-height: calc(100vh - var(--navbar-height));
  overflow: auto;
}

@media (max-width: 991.5px) {
  #navbarNav .navbar-nav {
    padding-top: 20px;
  }
}

.navbar-sticky-space {
  height: calc(var(--navbar-height));
}

/* End Navbar */

/* Cookie Tab */

.cookie-tab{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 10px 5px rgb(0 0 0 / 5%);
}

/* End Cookie Tab */

/* Nav category */

.nav-category > .nav-item{
  padding-left: 0;
}

.nav-category .nav-link{
  padding: 5px 0;
  color: var(--main-font-color);
}

.nav-category .nav-link:hover,
.nav-category .nav-link.active{
  color: var(--main-color);
}

.nav-category .dropdown{
  color: var(--main-font-color);
}

/* End Nav category */