.card {
  border-radius: 16px;
  border: none;
  -webkit-box-shadow: 0 2px 8px #e4e8ee22;
          box-shadow: 0 2px 8px #e4e8ee22;
  margin-bottom: 1.5rem;
  background: #fff;
  -webkit-transition: -webkit-box-shadow 0.2s;
  transition: -webkit-box-shadow 0.2s;
  transition: box-shadow 0.2s;
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
}

.card:hover {
  -webkit-box-shadow: 0 4px 16px #c5c5c540;
          box-shadow: 0 4px 16px #c5c5c540;
}

.card .card-body {
  padding: 1.5rem 1.25rem;
}

.card h4 {
  font-size: 20px;
  margin-top: 5px;
  padding-left: 5px;
}

.card h5 {
  font-size: 15px;
  margin-top: 5px;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.navbar {
  min-height: 56px;
}

.navbar .logo-img {
  margin-right: 8px;
}

.navbar .school-name {
  font-weight: 600;
  font-size: 1.15rem;
}

.navbar .custom-badge {
  position: absolute;
  top: -10px;
  left: 18px;
  background: #f9b8b4;
  color: #91221F;
  font-weight: 700;
  font-size: 12px;
  border-radius: 99px;
  padding: 0.1em 0.5em;
  -webkit-box-shadow: 0 2px 6px #0001;
          box-shadow: 0 2px 6px #0001;
}

.navbar .mail-icon,
.navbar .gear-icon {
  position: relative;
}

.hint-red {
  background: #f9b8b4 !important;
  color: #a12832 !important;
}

.navbar-nav-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.navbar-nav-right .mail-icon,
.navbar-nav-right .gear-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.navbar-nav-right .mail-icon:hover img,
.navbar-nav-right .gear-icon:hover img {
  -webkit-filter: brightness(0.7) saturate(1.5);
          filter: brightness(0.7) saturate(1.5);
}

.navbar-nav-right .mail-icon:hover,
.navbar-nav-right .gear-icon:hover {
  cursor: pointer;
}

.navbar-nav-right .mail-icon {
  margin-right: 10px;
}

.navbar-nav-right .gear-icon {
  margin-left: 10px;
}

.navbar-nav-right .gear-icon:last-child {
  margin-right: 0;
}

.navbar-nav-right .nav-user-btn {
  margin-left: 1.2rem;
  margin-right: 0.5rem;
  background: #fff;
  color: #6D8DF2;
  font-weight: 600;
  border-radius: 5px;
  padding: 0.3em 0.7em;
  font-size: 1rem;
  -webkit-box-shadow: 0 2px 8px #1786ff11;
          box-shadow: 0 2px 8px #1786ff11;
  border: 2px solid #6D8DF2;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

.navbar-nav-right .nav-user-btn:hover, .navbar-nav-right .nav-user-btn:focus {
  border: 2px solid #0056b3;
  color: #0056b3;
}

.menu-btn {
  border-radius: 16px;
  padding: 7px 13px 7px 8px;
  border: none;
}

.menu-btn:focus {
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-filter: brightness(0.7) saturate(1.5);
          filter: brightness(0.7) saturate(1.5);
}

.main-content {
  padding-top: 32px;
  margin-left: 64px;
}

@media (max-width: 991.98px) {
  .main-content {
    margin-left: 0;
    padding-top: 65px;
  }
}

@media (max-width: 991.98px) {
  .side-menu {
    width: 200px;
    color: #BDD1F0;
    background: #2B3040;
  }
}

@media (max-width: 767.98px) {
  .card {
    border-radius: 10px;
  }
  .card .card-body {
    padding: 1.1rem 0.8rem;
  }
  .card h5 {
    font-size: 1.04rem;
  }
}

::-webkit-scrollbar {
  width: 8px;
  background: #ececec;
}

::-webkit-scrollbar-thumb {
  background: #d5d8df;
  border-radius: 99px;
}

body.login-bg {
  background: #f7f8fa;
}

.login-row {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

@media (max-width: 991.98px) {
  .login-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    min-height: 100vh;
  }
}

.login-left,
.login-right {
  width: 50vw;
  max-width: 50vw;
  min-width: 320px;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 991.98px) {
  .login-left,
  .login-right {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    height: auto;
    min-height: 0;
  }
}

.highlight-red {
  color: #d9302c;
  font-weight: 700;
}

.highlight-blue {
  color: #337ab7;
  font-weight: 700;
}

.d-block {
  font-size: 15px;
  font-weight: normal;
}

.login-left {
  background: #2E137C;
  color: #fff;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0 2vw;
}

.login-left .logo {
  height: 120px;
  margin-bottom: 1.2rem;
}

.login-left .login-title {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 1.2rem;
}

@media (max-width: 991.98px) {
  .login-left {
    -webkit-box-shadow: 0 2px 8px #062c4f10;
            box-shadow: 0 2px 8px #062c4f10;
    min-height: 30vh;
  }
  .login-left .login-title {
    margin-bottom: 40px;
  }
}

.login-right {
  background: #fff;
}

@media (max-width: 991.98px) {
  .login-right {
    background: #fff;
    -webkit-box-shadow: none;
            box-shadow: none;
    padding-bottom: 2rem;
  }
}

.login-panel {
  background: #fff;
  padding: 2.5rem 2rem 2rem;
  border-radius: 20px;
  max-width: 400px;
  width: 100%;
  -webkit-box-shadow: 0 6px 32px #ccd3db30;
          box-shadow: 0 6px 32px #ccd3db30;
  margin: 2rem 1rem;
}

@media (max-width: 991.98px) {
  .login-panel {
    padding: 2rem 1rem 1.7rem;
    max-width: 98vw;
    margin: 2rem auto;
  }
}

.login-panel .desc {
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .login-panel .desc {
    font-size: .98rem;
  }
}

.login-panel input::-webkit-input-placeholder {
  color: #b3b3b3;
  font-weight: 400;
  font-size: 1.01em;
  opacity: 1;
}

.login-panel input:-ms-input-placeholder {
  color: #b3b3b3;
  font-weight: 400;
  font-size: 1.01em;
  opacity: 1;
}

.login-panel input::-ms-input-placeholder {
  color: #b3b3b3;
  font-weight: 400;
  font-size: 1.01em;
  opacity: 1;
}

.login-panel input::placeholder {
  color: #b3b3b3;
  font-weight: 400;
  font-size: 1.01em;
  opacity: 1;
}

.login-panel .bottom-links {
  text-align: right;
  margin-top: .5rem;
  font-size: 1.07rem;
}

.login-panel .bottom-links .activate {
  color: #2085e3;
  font-weight: 400;
  font-size: 1.1rem;
  -webkit-transition: color .15s, -webkit-transform .18s, -webkit-box-shadow .22s;
  transition: color .15s, -webkit-transform .18s, -webkit-box-shadow .22s;
  transition: color .15s, transform .18s, box-shadow .22s;
  transition: color .15s, transform .18s, box-shadow .22s, -webkit-transform .18s, -webkit-box-shadow .22s;
  will-change: transform;
  display: inline-block;
}

.login-panel .bottom-links .activate span {
  font-size: 0.8rem;
  padding-left: 5px;
}

.login-panel .bottom-links .activate:hover {
  color: #1760af;
  text-decoration: underline;
  -webkit-transform: translateY(-2px) scale(0.97);
          transform: translateY(-2px) scale(0.97);
}

.login-panel .bottom-links .activate:active {
  color: #145099;
  -webkit-transform: translateY(0) scale(0.97);
          transform: translateY(0) scale(0.97);
}

.login-panel .bottom-links .forgot {
  color: #888;
  font-size: 0.8em;
  margin-top: 0.3em;
  display: block;
}

.login-panel .bottom-links .forgot span {
  font-size: 0.8rem;
  padding-left: 5px;
}

.login-panel .bottom-links .forgot:hover, .login-panel .bottom-links .forgot:focus {
  color: #3a3a3a;
  text-decoration: underline;
  -webkit-transform: translateY(3px) scale(0.97);
          transform: translateY(3px) scale(0.97);
}

.login-btn {
  background: #232426;
  color: #fff;
  font-size: 1.17rem;
  border-radius: 0;
  padding: .7rem 0;
  width: 100%;
  font-weight: 600;
  margin-top: 1.6rem;
  margin-bottom: .6rem;
  -webkit-box-shadow: 0 3px 16px #23242622;
          box-shadow: 0 3px 16px #23242622;
  border: none;
  -webkit-transition: background 0.19s cubic-bezier(0.4, 0.3, 0.2, 1), -webkit-box-shadow 0.24s cubic-bezier(0.4, 0.3, 0.2, 1), -webkit-transform 0.21s cubic-bezier(0.4, 0.3, 0.2, 1);
  transition: background 0.19s cubic-bezier(0.4, 0.3, 0.2, 1), -webkit-box-shadow 0.24s cubic-bezier(0.4, 0.3, 0.2, 1), -webkit-transform 0.21s cubic-bezier(0.4, 0.3, 0.2, 1);
  transition: background 0.19s cubic-bezier(0.4, 0.3, 0.2, 1), box-shadow 0.24s cubic-bezier(0.4, 0.3, 0.2, 1), transform 0.21s cubic-bezier(0.4, 0.3, 0.2, 1);
  transition: background 0.19s cubic-bezier(0.4, 0.3, 0.2, 1), box-shadow 0.24s cubic-bezier(0.4, 0.3, 0.2, 1), transform 0.21s cubic-bezier(0.4, 0.3, 0.2, 1), -webkit-box-shadow 0.24s cubic-bezier(0.4, 0.3, 0.2, 1), -webkit-transform 0.21s cubic-bezier(0.4, 0.3, 0.2, 1);
  will-change: transform;
}

.login-btn:hover, .login-btn:focus {
  background: #16181a;
  -webkit-box-shadow: 0 6px 24px #23242628;
          box-shadow: 0 6px 24px #23242628;
  -webkit-transform: translateY(-2px) scale(0.98);
          transform: translateY(-2px) scale(0.98);
  outline: none;
}

.side-menu {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  width: 64px;
  background: #2E2182;
  color: #c6cbff;
  z-index: 1030;
  -webkit-transition: width 0.3s cubic-bezier(0.6, 0, 0.3, 1), -webkit-box-shadow 0.2s;
  transition: width 0.3s cubic-bezier(0.6, 0, 0.3, 1), -webkit-box-shadow 0.2s;
  transition: width 0.3s cubic-bezier(0.6, 0, 0.3, 1), box-shadow 0.2s;
  transition: width 0.3s cubic-bezier(0.6, 0, 0.3, 1), box-shadow 0.2s, -webkit-box-shadow 0.2s;
  -webkit-box-shadow: 2px 0 12px #0001;
          box-shadow: 2px 0 12px #0001;
  overflow-x: hidden;
  overflow-y: auto;
}

.side-menu .menu-list {
  padding: 0 0 0;
  margin: 0;
  list-style: none;
}

.side-menu .menu-item {
  padding: 5px 0 0px 0;
  cursor: pointer;
}

.side-menu .menu-item .menu-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: background .18s;
  transition: background .18s;
  border-radius: 6px;
  margin: 10px;
  padding: .2rem .5rem;
}

.side-menu .menu-item .menu-row:hover {
  background: #38299b;
}

.side-menu .menu-item .icon {
  width: 28px;
  min-width: 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.side-menu .menu-item .icon img {
  height: 28px;
}

.side-menu .menu-item .icon:hover {
  -webkit-filter: brightness(1.8);
          filter: brightness(1.8);
  -webkit-transition: -webkit-filter 0.25s;
  transition: -webkit-filter 0.25s;
  transition: filter 0.25s;
  transition: filter 0.25s, -webkit-filter 0.25s;
}

.side-menu .menu-item .title {
  opacity: 0;
  margin-left: 0;
  max-width: 0;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transition: opacity .23s, margin-left .23s, max-width .23s;
  transition: opacity .23s, margin-left .23s, max-width .23s;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
}

.side-menu.expanded {
  width: 220px;
}

.side-menu.expanded .menu-item .title {
  opacity: 1;
  margin-left: 14px;
  max-width: 150px;
  -webkit-transition-delay: .06s;
          transition-delay: .06s;
}

.side-menu.collapsed {
  width: 64px;
}

.side-menu.collapsed .menu-item .title {
  opacity: 0;
  margin-left: 0;
  max-width: 0;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}

.side-menu {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  width: 64px;
  background: #2E2182;
  color: #c6cbff;
  z-index: 1030;
  transition: width 0.3s cubic-bezier(0.6, 0, 0.3, 1), box-shadow 0.2s;
  box-shadow: 2px 0 12px #0001;
  overflow-x: hidden;
  overflow-y: auto;
}

.side-menu .menu-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px;
  font-size: 15px;
  font-weight: 200;
  margin-bottom: .6rem;
  transition: background .2s, color .2s;
}

.side-menu .menu-item .icon img {
  height: 32px;
  filter: brightness(0.9) grayscale(0.2);
  transition: filter .2s;
}
.side-menu .menu-item:hover,
.side-menu .menu-item.active {
  background: #3d2ca4;
  color: #fff;
}
.side-menu .menu-item:hover .icon img,
.side-menu .menu-item.active .icon img {
  filter: brightness(2);
}

.side-menu .main-back {
  /* margin-bottom: 12px; */
  background: none !important;
    color: #fff;
}
.side-menu .main-back .icon img { filter: none; }

.side-menu.collapsed {
  width: 64px;
}
.side-menu.collapsed .title {
  opacity: 0;
  margin-left: 0;
  max-width: 0;
  pointer-events: none;
  transition-delay: 0s;
  display: inline-block;
}
.side-menu.collapsed .menu-item {
  justify-content: center;
  padding: 12px 0;
  margin-bottom: 0;
}

.side-menu.expanded {
  width: 220px;
}
.side-menu.expanded .menu-item .title {
  opacity: 1;
  margin-left: 14px;
  max-width: 150px;
  transition-delay: .08s;
  display: inline-block;
}

@media (max-width: 575.98px) {
  .side-menu.expanded {
    width: 92vw;
    max-width: 98vw;
  }
  .side-menu .menu-list {
    padding-top: 1.1rem;
  }
  .side-menu .menu-item { font-size: 1.1rem; padding: .7rem 1.2rem .7rem 1rem; }
  .side-menu .icon { width: 28px; min-width: 28px; }
  .side-menu .icon img { height: 22px; }
}
