html {
  scroll-behavior: smooth;
  font-family: "Kanit", Arial, Helvetica, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background-color: #dddddd;
  color: #010509;
}
hr {
  box-sizing: content-box;
  height: 0;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
p {
  margin-bottom: 10px;
}
img {
  max-width: 100%;
  height: auto;
}
.dark-mode hr {
  box-sizing: content-box;
  height: 0;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  border: 0;
  border-top: 1px solid #444444;
}
a:link {
  color: #0077b6;
}
a:hover {
  color: #159af3;
}
a:visited {
  color: #0077b6;
}
.dark-mode {
  background-color: #191919;
  color: #eee;
}
.dark-mode a:link {
  color: #a3cfec;
}
.dark-mode a:hover {
  color: #d3e5f1;
}
.dark-mode a:visited {
  color: #a3cfec;
}
.dark-mode #searchOption label {
  color: #000;
}
button {
  font-family: "Kanit", Arial, Helvetica, sans-serif;
  background-color: #eeeeee;
  border: 1px solid #888888;
  border-radius: 2px;
  cursor: pointer;
}
.dark-mode .card button {
  color: #eee;
  background-color: #333333;
  border: 1px solid #000000;
  border-radius: 4px;
}
li {
  padding: 0.3rem 0.5rem;
}
.fr {
  float: right;
}
.fl {
  float: left;
}
.clearfix {
  clear: both;
}
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-right {
  justify-content: right;
}
.logo-desktop {
  padding: 0 10px;
}
.logo-desktop a img {
  height: 18px;
  margin-bottom: -5px;
}
.bgnav {
  background-image: linear-gradient(
    64.5deg,
    rgba(245, 116, 185, 1) 50%,
    rgba(89, 97, 223, 1) 50%
  );
}
.bgdark {
  background-color: #000000;
}
#navbar {
  display: flex;
  padding: 0.3rem 0.5rem;
  background-color: #f8f9fa;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 25%,
    rgb(250, 235, 235) 75%
  );
  color: #000;
}
#navbar div img {
  height: 16px;
}
.navbar-desktop {
  background-color: #343a40 !important;
  background-image: linear-gradient(
    to right,
    #343a40 25%,
    #343a40 75%
  ) !important;
  color: #eeeeee !important;
}
#navbar a {
  color: #eeeeee;
}
.navbar-dark {
  background-color: #222222 !important;
  background-image: linear-gradient(
    to right,
    rgba(40, 40, 40, 1) 25%,
    rgba(20, 20, 20, 1) 75%
  ) !important;
  color: #eee !important;
}
#navbar2 {
  display: flex;
  padding: 0.3rem 0.5rem;
  background-image: linear-gradient(
    64.5deg,
    rgba(245, 116, 185, 1) 14.7%,
    rgba(89, 97, 223, 1) 88.7%
  );
  color: #eee;
}
#navbar2 .navbar2menu {
  margin-left: auto;
  display: flex;
}
#apps-icon {
  width: 1.2rem;
  height: 1.2rem;
  background-color: #000000;
  -webkit-mask: url(/image/apps-sharp-b.svg) no-repeat center;
  mask: url(/image/apps-sharp-b.svg) no-repeat center;
  cursor: pointer;
}
.apps-icon-dark {
  background-color: #eeeeee !important;
}
#apps-menu {
  background-color: #000000;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 40px;
  opacity: 97%;
}
#apps-menu .menu {
  padding: 0.4rem 1rem;
  color: #eeeeee;
}
#apps-menu .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #ffffff;
}
#apps-menu a {
  color: #eeeeee;
}
.show-apps {
  width: 150px !important;
}
.menu-active {
  background-color: #333333;
  padding: 0 8px;
  border-radius: 2px;
  margin: 4px 0;
}
.menu-active-desktop {
  background-color: #444c53;
  padding: 0 5px;
  border-radius: 2px;
  border: 1px solid #383838;
}
#arrow-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.3rem;
  margin-right: 0.5rem;
  background-color: #eeeeee;
  -webkit-mask: url(/image/caret-down-sharp.svg) no-repeat center;
  mask: url(/image/caret-down-sharp.svg) no-repeat center;
  transform: rotate(90deg);
}
#light-icon {
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.3rem;
  background-color: #222222;
  -webkit-mask: url(/image/sunny-sharp.svg) no-repeat center;
  mask: url(/image/sunny-sharp.svg) no-repeat center;
  display: inline-block;
  vertical-align: middle;
}
#dark-icon {
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.3rem;
  background-color: #eeeeee;
  -webkit-mask: url(/image/moon-sharp.svg) no-repeat center;
  mask: url(/image/moon-sharp.svg) no-repeat center;
  display: inline-block;
  vertical-align: top;
}
.lidropdown {
  position: relative;
}
.lidropdown:hover {
  background-color: #222;
}
.dropdown-menu {
  cursor: pointer;
  margin: 0 !important;
}
.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  margin-left: 0 !important;
  background-color: #f9f9f9;
  min-width: 210px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content a {
  float: none;
  color: #222 !important;
  padding: 5px 10px 10px 15px;
  text-decoration: none;
  display: block;
  text-align: left;
}
.dropdown-content a:hover {
  background-color: #ddd;
}
.arrow-icon {
  width: 1rem;
  height: 1rem;
  margin: 0.3rem 0 0.3rem 3px !important;
  background-color: #eeeeee;
  -webkit-mask: url(/image/caret-down-sharp.svg) no-repeat center;
  mask: url(/image/caret-down-sharp.svg) no-repeat center;
}
.dark-mode .dropdown-content {
  background-color: #111;
}
.dark-mode .dropdown-content a:hover {
  background-color: #333;
}
.dark-mode .dropdown-content a {
  color: #eee !important;
}
.show {
  display: block !important;
}
.hide {
  display: none;
}
.rotate90 {
  transition: 0.5s;
  transform: rotate(90deg);
}
.rotate180 {
  transition: 0.5s;
  transform: rotate(180deg);
}
.rotate270 {
  transition: 0.5s;
  transform: rotate(270deg) !important;
}
#menu-icon {
  width: 1.2rem;
  height: 1.2rem;
  vertical-align: middle;
}
#web-menu {
  background-color: #000000;
  color: #eee;
}
#web-menu div {
  margin: 0.3rem 1rem;
}
#web-menu ul {
  padding: 0 0.3rem;
  display: flex;
  flex-wrap: wrap;
}
#web-menu ul li strong {
  font-size: 12px;
  margin-top: 4px;
}
#web-menu ul li a {
  color: #eee;
  text-decoration: none;
}
#section-menu {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 40px;
  opacity: 97%;
}
#section-menu div {
  margin: 0.3rem 1rem;
}
#section-menu ul {
  margin-top: -20px;
  padding: 0 0.3rem;
  color: #eee;
}
#section-menu a {
  color: #a3cfec;
}
#section-menu a:hover {
  color: #d3e5f1;
}
#section-menu ul li strong {
  color: #cc4444;
  font-size: 16px;
  margin-top: 4px;
}
#section-menu ul li a {
  color: #eee;
  text-decoration: none;
}
#section-icon {
  width: 20px;
  margin: 7px 5px 0 0;
}
#section-menu-desk {
  color: #eeeeee;
}
#section-menu-desk a {
  color: #eeeeee;
}
#section-menu .closebtn {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 36px;
  margin-left: 50px;
  color: #ffffff;
}
.show-section {
  width: 200px !important;
}
#mode-light {
  border-radius: 4px;
  border: 1px solid #eeeeee;
  background-color: #eeeeee;
  color: #222;
  font-size: 10px;
  cursor: pointer;
}
#mode-dark {
  border-radius: 4px;
  border: 1px solid #222222;
  background-color: #222222 !important;
  color: #eee !important;
  font-size: 10px;
  cursor: pointer;
}
.mode-active {
  border: 2px solid #32cd32 !important;
}
#topad {
  width: 300px;
  height: 250px;
}
.ad {
  width: 336px;
  height: 280px;
}
.admobile {
  width: 336px;
  height: 280px;
}
#domainTitle {
  padding-left: 10px;
  color: #eee;
  font-weight: 600;
}
#domainTitle a {
  color: #eee;
  text-decoration: none;
}
#bc {
  font-size: 14px;
  margin-top: 5px;
  background-color: #f4f4f4;
  padding: 2px 5px 2px 12px;
  border-radius: 3px;
}
.dark-mode #bc {
  background-color: #191919;
}
#search {
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}
#searchOption {
  background-color: #ffffff;
  opacity: 0.9;
  width: fit-content;
  padding-right: 0.5rem;
}
#searchOption label {
  font-size: 12px;
}
input[type="text"] {
  width: 150px;
  padding: 2px 10px;
  box-sizing: border-box;
}
.social {
  vertical-align: middle;
  height: 34px;
  padding-left: 0;
  padding-right: 0;
  border-radius: 17px;
  width: fit-content;
  display: flex;
  float: right;
  margin-bottom: -5px;
}
.social-text {
  padding: 10px 2px;
  font-size: 12px;
}
.mshare {
  width: 30px;
  height: 30px;
  border-radius: 50% !important;
  background-color: #fff !important;
  margin: 2px 4px;
}
.dark-mode .mshare {
  background-color: #eee !important;
}
.social-icon-fb {
  font-size: 1rem;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  border-radius: 50% !important;
  text-align: center;
  margin: 0 5px;
  display: inline-block;
  background-color: #3b5998 !important;
  color: #fff;
  border: 0 !important;
}
.social-icon-line {
  font-size: 1rem;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  border-radius: 50% !important;
  text-align: center;
  margin: 0 5px;
  display: inline-block;
  background-color: #2ec927 !important;
  color: #fff;
  border: 0 !important;
}
.social-icon-x {
  font-size: 1rem;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  border-radius: 50% !important;
  text-align: center;
  margin: 0 5px;
  display: inline-block;
  background-color: rgb(64, 202, 255) !important;
  color: #fff;
  border: 0 !important;
}
.pmenu {
  padding: 5px;
  border: 1px solid #eee;
  border-radius: 5px;
  position: relative;
  font-size: 16px;
  margin-top: 20px;
}
.ipmenu {
  position: absolute;
  top: -12px;
  left: 25px;
  background-color: #eee;
  padding: 1px 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 3px;
}
.dark-mode .pmenu {
  border: 1px solid #555;
}
.dark-mode .ipmenu {
  background-color: #333;
}
#content {
  padding: 0 0;
}
#content .card h1 {
  color: #5961df;
  font-weight: 600;
  font-size: 22px;
}
#content .card h2 {
  color: #5961df;
  font-weight: 500;
  font-size: 20px;
}
#content .card h3 {
  color: #5961df;
  font-weight: 500;
  font-size: 18px;
}
.card {
  border-radius: 4px;
  padding: 0.3rem 0.7rem 0.7rem 0.7rem;
  background-color: #ffffff;
  margin-bottom: 0.3rem;
  margin-top: 4px;
}
.card img {
  max-width: 100%;
}
#footer {
  margin-top: 1rem;
  padding: 1rem;
  padding-bottom: 5rem !important;
  background-color: #222222;
  color: #eee;
}
#footer a {
  color: #ec61a7;
}
#cookiebar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #000;
  color: white;
  text-align: center;
  opacity: 80%;
  font-size: 0.8rem;
  padding: 3px 5px;
}
#cookiebar button {
  font-size: 12px;
  background-color: #eea317;
  width: 50px;
  height: 20px;
  margin: auto;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
#closecookiebar {
  float: right;
  padding-right: 15px;
  width: 1rem;
  height: 1rem;
  background-color: #ffffff;
  -webkit-mask: url(/image/close-sharp.svg) no-repeat center;
  mask: url(/image/close-sharp.svg) no-repeat center;
  cursor: pointer;
}
.btn {
  display: inline-block;
  padding: 0 15px;
}
.pd-1 {
  padding: 0.5rem !important;
}
.pd-2 {
  padding: 1rem !important;
}
.pdt-1 {
  padding-top: 0.5rem !important;
}
.pdt-2 {
  padding-top: 1rem !important;
}
.pdl-1 {
  padding-left: 0.5rem !important;
}
.pdl-2 {
  padding-left: 1rem !important;
}
.pdl-2 {
  padding-left: 1rem !important;
}
.pdl-10p {
  padding-left: 10px !important;
}
.pdr-1 {
  padding-right: 0.5rem !important;
}
.mg-1 {
  margin: 0.5rem !important;
}
.mgl-1 {
  margin-left: 0.5rem !important;
}
.mgl-2 {
  margin-left: 1rem !important;
}
.mgl-a {
  margin-left: auto;
}
.mgr-1 {
  margin-right: 0.5rem !important;
}
.mgr-2 {
  margin-right: 1rem !important;
}
.mgt-1 {
  margin-top: 0.5rem !important;
}
.mgt-2 {
  margin-top: 1rem !important;
}
.mgt-2px {
  margin-top: 2px;
}
.mgt-4px {
  margin-top: 4px;
}
.mgt-5px {
  margin-top: 5px;
}
.mgt-7px {
  margin-top: 7px;
}
.mgt--15px {
  margin-top: -15px;
}
.mgb-1 {
  margin-bottom: 0.5rem !important;
}
.mgb-2 {
  margin-bottom: 1rem !important;
}
.fw-2 {
  font-weight: 500;
}
.fs-s {
  font-size: 0.8rem;
}
.fs-11p {
  font-size: 11px;
}
.fs-12p {
  font-size: 12px;
}
.fs-13p {
  font-size: 13px;
}
.fs-14p {
  font-size: 14px;
}
.fs-16p {
  font-size: 16px;
}
strong {
  font-weight: 600;
}
.tl {
  text-align: left !important;
}
.tr {
  text-align: right !important;
}
.tc {
  text-align: center !important;
}
.warning {
  background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
  padding: 10px 10px;
  margin: 10px 5px;
  border: 1px solid #e7c3c3;
  border-radius: 5px;
  color: #721c24;
}
.dark-mode .warning {
  color: #cccccc;
  background-image: linear-gradient(to bottom, #5e1313 0%, #3b1313 100%);
  border: 1px solid #3b1313;
}
.dark-mode .card {
  background-color: #222222 !important;
  color: #eee !important;
}
.dark-mode .card .textHead {
  background-color: #cccccc !important;
}
.textred {
  color: #ff3333 !important;
}
.nice-select {
  color: #010509;
}
.flex80 {
  flex: 0 0 80px;
}
.flex80 img {
  border-radius: 10%;
}
.art-img {
  width: 80px;
  height: 80px;
  border-radius: 10%;
  margin-right: 10px;
  margin-bottom: 5px;
}
.dark-mode .art-img {
  border: 0;
  box-shadow: 0 0 0 #222;
}
.end {
  padding: 0.5rem 0.5rem;
  margin-top: 10px;
  margin-bottom: 20px;
  background-color: #555;
  color: #eee;
  font-size: 0.8rem;
  text-align: center;
}
@media (min-width: 992px) {
  .card {
    padding: 0.3rem 1rem 1rem 1.5rem;
  }
  #content .card h1 {
    font-size: 24px;
  }
  #content .card h2 {
    font-size: 22px;
  }
  #content .card h3 {
    font-size: 20px;
  }
  li {
    padding: 0.3rem 0.8rem;
  }
  input[type="text"] {
    width: 250px;
    padding: 5px 15px;
    box-sizing: border-box;
    font-size: 1rem;
  }
  #searchOption {
    vertical-align: middle;
    padding: 8px 10px;
  }
  #searchOption label {
    font-size: 16px;
  }
  .lg-pdl-3 {
    padding-left: 2rem !important;
  }
  .warning {
    padding: 15px 15px;
    margin: 15px 10px;
  }
  .recommend {
    width: 50%;
  }
}
