@font-face {
  font-family: Kanit-Regular;
  src: url(Kanit/Kanit-Regular.ttf);
}
@font-face {
  font-family: Kanit-Light;
  src: url(Kanit/Kanit-Light.ttf);
}

* {
  font-family: "Kanit-Light";
}
nav {
  padding-right: 2em;
  padding-left: 2em;
}

.box-top {
  display: flex;

  width: 100%;
  height: 44px;
  /* background-image: url("public/image/สไลด์1_0.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; */
  object-fit: cover;
  position: relative;
  align-items: center;
  justify-content: center;
  background-color: #504e76;
}
.header-top {
  color: #ffffff;
  display: inline;
  margin: 0;
  margin-left: 10px;
}
.navbar {
  background: rgb(255, 255, 255) !important;
  box-shadow: 0px 10px 10px #8888882c;
}

.dropdown-large {
  width: 283px;
  display: none;
}
/* ปุ่มlogin */
.btnLogin0 {
  width: 32px;
  height: 32px;
  background-color: #fbd601;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btnLogin0:active {
  background-color: #d3b300;
}

li:link {
  text-decoration: none;
}

/* visited link */
li:visited {
  text-decoration: none;
}
li.active {
  font-family: "Kanit-Regular" !important;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
}
li.btn {
  display: none;
}
/* mouse over link */
.nav-item:hover .nav-link {
  color: hotpink;
  border-bottom: 1px solid hotpink;
}
.navbar-collapse .collapse .show .nav-item a {
  text-align: center;
}
.nav-item {
  text-align: center;
  padding-right: 1em;
}
/* selected link */
a:active {
  color: black;
}

/* ปุ่มlogin respondsive */
.btnLogin {
  display: none;
}
img {
  cursor: pointer;
}
@media screen and (max-width: 600px) {
  .header-top {
    display: none;
  }
  .coeLogoMain {
    width: 200px;
  }
}
@media screen and (max-width: 992px) {
  .navbar-nav .nav-item {
    text-align: center;
  }
  .navbar {
    padding-left: 2em;
    padding-right: 2em;
    background: rgb(255, 255, 255) !important;
  }
  .dropdown-menu {
    width: 100%;
    display: none;
  }
  img.login {
    display: none;
  }
  a.btnLogin {
    color: #fff;
    text-decoration: none;
    width: 200px;
    background-color: #1f6adb;
    display: block;
    margin: auto;
    padding: 10px;
    border-radius: 16px;
    cursor: pointer;
  }
  a.btnLogin:active {
    background-color: #2053a0;
  }
  .btnLogin0 {
    display: none;
  }
  p {
    margin: 0;
  }
}
