:root {
  --primary-color: rgb(14, 41, 83);
  --overlay-color: rgba(24, 39, 51, 0.85);
  --menu-speed: 0.75s;
  --blue-1: #5b8edb;
  --orange-1: #ff6f4c;
}

@font-face {
  font-family: "Prompt-Light";
  src: url("/cmt2563/fonts/Prompt/Prompt-Light.ttf");
}
@font-face {
  font-family: "Prompt-Medium";
  src: url("/cmt2563/fonts/Prompt/Prompt-Medium.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
  -ms-overflow-style: none;
}
:-webkit-scrollbar {
  display: none;
}

body {
  font-family: "Prompt-Light", sans-serif !important;
  line-height: 1.4;
}

.show-navbar {
  font-family: "Prompt-Light", sans-serif;
  background: var(--primary-color);
  color: #fff;
  height: 160px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  z-index: 20;
}
.nav-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.nav-logo > img {
  width: 100%;
}
.right-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-items: center;
}
.show-menu {
  position: relative;
  line-height: 10px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.show-menu > ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
}
.show-menu > ul > li {
  list-style: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  /* padding: 0.2rem; */
  margin: auto;
}
.show-menu > ul > li > a {
  text-decoration: none;
  color: inherit;
  transition: 0.4s;
}
.show-menu > ul > li > a:hover {
  color: var(--orange-1);
  transition: 0.4s;
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: middle;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.menu-dd {
  position: relative;
  height: auto;
}
#label-menu {
  color: #ffffff;
  cursor: pointer;
  transition: color 0.1s ease;
  margin: 0;
}
#label-menu:hover {
  color: #ff6f4c;
  transition: color 0.1s ease;
}

#menuCheck {
  display: none;
  opacity: 0;
  cursor: pointer;
}
.menu-group {
  position: absolute;
  display: none;
  flex-direction: column;
  background-color: #0e2953;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 0.5em 1em;
  width: max-content;
  right: 0;
  top: 1rem;
  z-index: 21;
}
.menu-group > a {
  color: #fff;
  text-transform: uppercase;
  margin: 0.5em 0;
  text-align: left;
  text-decoration: none;
  line-height: initial;
}
.menu-group > a:hover {
  color: #ff6f4c;
  text-decoration: underline;
}

/* student-dropdown-style */
.menu-std {
  position: relative;
}
#label-menuStd {
  color: #ffffff;
  cursor: pointer;
  transition: color 0.1s ease;
  margin: 0;
}
#label-menuStd:hover {
  color: #ff6f4c;
  transition: color 0.1s ease;
}

#menuCheckStd {
  display: none;
  opacity: 0;
  cursor: pointer;
}
.menu-group-std {
  position: absolute;
  display: none;
  flex-direction: column;
  background-color: #0e2953;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 0.5em 1em;
  width: max-content;
  right: 0;
  top: 1rem;
  z-index: 21;
}
.menu-group-std > a {
  color: #fff;
  text-transform: uppercase;
  margin: 0.5em 0;
  text-align: left;
  text-decoration: none;
  line-height: initial;
}
.menu-group-std > a:hover {
  color: #ff6f4c;
  text-decoration: underline;
}

/* MENU STYLES */
.menu-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 21;
}

.menu-wrap .toggler {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 25;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.menu-wrap .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 21;
  width: 60px;
  height: 60px;
  padding: 1rem;
  /* background: var(--primary-color); */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Line */
.menu-wrap .hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* Hamburger Lines - Top & Bottom */
.menu-wrap .hamburger > div::before,
.menu-wrap .hamburger > div::after {
  content: "";
  position: absolute;
  z-index: 21;
  top: -10px;
  width: 100%;
  height: 2px;
  background: inherit;
}

/* Moves Line Down */
.menu-wrap .hamburger > div::after {
  top: 10px;
}

/* Toggler Animation */
.menu-wrap .toggler:checked + .hamburger > div {
  transform: rotate(135deg);
}

/* Turns Lines Into X */
.menu-wrap .toggler:checked + .hamburger > div:before,
.menu-wrap .toggler:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}

/* Rotate On Hover When Checked */
.menu-wrap .toggler:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}

/* Show Menu */
.menu-wrap .toggler:checked ~ .menu {
  visibility: visible;
}

.menu-wrap .toggler:checked ~ .menu > div {
  transform: scale(1);
  transition-duration: var(--menu-speed);
}

.menu-wrap .toggler:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}

.menu-wrap .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  background-color: transparent;
}

.menu-wrap .menu > div {
  background: var(--overlay-color);
  border-radius: 0;
  width: 200vw;
  height: 100vh;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.4s ease;
}

.menu-wrap .menu > div > div {
  /* text-align: center; */
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-wrap .menu > div > div > ul > li {
  list-style: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem;
}

.menu-wrap .menu > div > div > ul > li > a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}
.staff-dd > a {
  color: #fff;
  text-decoration: none;
}
.staff-choice {
  display: none;
  flex-direction: column;
  margin-top: 0.4em;
}
/* .dp-none {
  display: none;
}
.dp-flex {
  display: flex;
} */
.staff-choice > a {
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  text-indent: 1em;
  margin-top: 0.6em;
}
.std-dd > a {
  color: #fff;
  text-decoration: none;
}
.std-choice {
  display: none;
  flex-direction: column;
  margin-top: 0.4em;
}
.std-choice > a {
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  text-indent: 1em;
  margin-top: 0.6em;
}

@media (max-width: 991px) {
  .show-navbar {
    height: 60px;
    position: sticky;
    top: 0;
  }
  .nav-logo {
    display: flex;
    margin: 0 auto;
    position: relative;
    align-items: center;
    justify-content: center;
    /* left: 0; */
  }
  .nav-logo > img {
    width: 70px;
  }
  .nav-logo > span {
    display: none;
  }
  .show-menu {
    display: none;
  }
  .menu-wrap {
    display: block;
  }
  .regis_menu {
    display: none;
  }
}

.link_regis {
  padding: 0.4rem 1rem;
  border-radius: 1.5rem;
  background-color: #ff6f4c;
  color: #000000b3;
  text-decoration: none;
}
.link_regis:hover {
  background-color: #5b8edb;
  transition: 0.3s ease-out;
  text-decoration: none;
  color: #f9f9f9;
}
.tel_regis {
  position: relative;
  margin-left: 1rem;
  padding-left: 1.5rem;
}
.tel_regis::before {
  content: " ";
  position: absolute;
  top: 5px;
  left: 0;
  /* background-color: #e33c09; */
  background-image: url(/cmt2563/imgs/icon/phone-alt-solid.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 1rem;
  height: 1rem;
}
