/* Import */
:root {
  /* Colors */
  --primary: #9bbf47;
  --secondary: #7d903c;
  --dark: #181818;
  --dark-alt: #505938;
  --light: #ffffff;
  --light-alt: #f7ffe0;

  --shadow: 0 0.5rem 1rem #ebf3d9;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  box-sizing: border-box !important;
  -webkit-box-sizing: border-box !important;
}
*::selection {
  background: var(--dark);
  color: var(--light);
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
b,
i,
u,
ul,
ol,
li,
span {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
img,
video {
  width: 100%;
}
p {
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-alt);
  letter-spacing: 0.3px;
}
.button {
  display: inline-block;
  background: var(--primary) !important;
  color: var(--light) !important;
  border: 1px solid var(--primary) !important;
  outline: none !important;
  box-shadow: 0 !important;
  padding: 10px 15px !important;
  transition: 0.5s ease all;
  border-radius: 5px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}
.button:hover {
  background: var(--dark) !important;
  color: var(--light) !important;
  border: 1px solid var(--dark) !important;
}

/* Dashboard */
#db-dashboard {
  width: 100%;
  min-height: 80vh;
  display: flex;
  overflow: hidden;
}
header {
  background: var(--light);
}

/* Sidebar */
#db-sidebar {
  width: 18rem;
  min-height: 100%;
  background: var(--dark);
  box-shadow: var(--shadow);
  display: inline-block;
  margin-left: -18rem;
  transition: 0.5s ease all;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
#db-sidebar.active {
  margin-left: 0;
  width: 18rem;
}
#db-sidebar ul {
  margin: 10px 0;
}
#db-sidebar ul .menu-item {
  padding: 0;
}
#db-sidebar ul .menu-item:hover {
  background: var(--dark);
}
#db-sidebar ul .menu-item .menu-link {
  display: block;
  transition: 0.5s ease all;
  padding: 10px 15px;
  color: var(--light-alt) !important;
  font-size: 18px;
  background: transparent;
}
#db-sidebar ul .menu-item .menu-link:hover {
  color: var(--light) !important;
}
#db-sidebar ul .menu-item .menu-link i {
  width: 40px;
  height: 40px;
  background: #9bbf4740;
  color: var(--light);
  display: inline-block;
  border-radius: 10px;
  text-align: center;
  line-height: 40px;
  transition: 0.5s ease all;
  margin-right: 10px;
}
#db-sidebar ul .menu-item .menu-link:hover i {
  background: var(--primary);
}
#db-sidebar ul .menu-item .collapse {
  margin: 0;
}
#db-sidebar ul .menu-item .collapse .menu-item {
  padding-left: 15px;
}

/* Dashboard Content */
#db-content {
  width: calc(100% - 18rem);
  margin-left: auto;
  transition: 0.5s ease all;
  background: var(--light-alt);
  position: relative;
  z-index: 2;
}
#db-content.active {
  width: 100%;
  margin-left: 0;
}

/* Nav */
.db-nav {
  width: 100%;
  background: var(--light);
  box-shadow: var(--shadow);
  padding: 10px 0;
  position: relative;
  z-index: 4;
}
.db-nav .nav-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.db-nav .nav-head h1 {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
}
.db-nav .nav-profile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.db-nav .nav-profile img {
  width: 40px;
  height: 40px;
  border-radius: 40px;
}
.db-nav .nav-profile h6 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

/* DB Container */
.db-container {
  background: var(--light-alt);
  padding: 30px 0;
}
.db-card {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  box-shadow: var(--shadow);
  border: 2px solid var(--primary);
  padding: 10px;
  margin: 0;
}
.db-card .icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: var(--light);
  text-align: center;
  line-height: 70px;
  font-size: 25px;
  margin-right: 15px;
  border-radius: 15px;
}
.db-card .text {
  width: calc(100% - 85px);
}
.db-card .text a:first-child {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  display: block;
  margin: 0 0 5px 0;
  line-height: 100%;
  text-transform: capitalize;
}
.db-card .text a:last-child {
  font-size: 16px;
  font-weight: 400;
  color: var(--primary);
}

.db-card-alt {
  padding: 0;
  border-radius: 10px;
}
.db-card-alt .card-header {
  background: var(--dark);
}
.db-card-alt .card-header h3 {
  color: var(--light);
  font-size: 16px;
  font-weight: 600;
}
.db-card-alt .card-body {
  border: 2px solid #0005;
  border-top: 0;
  background: var(--light);
}
.db-card-alt .card-body .table-responsive::-webkit-scrollbar {
  height: 2px;
}
.db-card-alt .card-body .news-content #ticker01 li {
  background: var(--light-alt);
}

.profile-card {
  box-shadow: var(--shadow);
  border: 0;
  height: 100%;
  position: relative;
  border-radius: 10px;
  border: 2px solid #0005;
}
.profile-card .card-header {
  background: var(--primary);
  border: 2px solid var(--primary);
}
.profile-card .card-header h6 {
  color: var(--light);
  font-size: 20px;
}
.profile-card h5 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  padding-bottom: 5px;
  margin-bottom: 15px;
  text-transform: lowercase;
  position: relative;
}
.profile-card h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--light));
}
.profile-card h5::first-letter {
  text-transform: uppercase;
}
.profile-card p {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.profile-card p span {
  color: var(--dark-alt);
  font-weight: 400;
}

.lecture-card {
  border-radius: 5px;
  border: 2px solid var(--primary);
}
.lecture-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
}
.lecture-card a,
.lecture-card button {
  border: 0;
  outline: 0;
  padding: 10px 15px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 10px;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
}
.lecture-card p {
  font-size: 14px;
  font-weight: 600;
}

.stud-result {
  border-radius: 5px;
  border: 2px solid var(--primary);
}
.stud-result a {
  color: var(--dark);
}

.video-lec-form .form-control,
.video-lec-form .select2-selection,
.video-lec-form .select select {
  border-radius: 5px !important;
  height: 34px !important;
  overflow: hidden !important;
}
.video-lec-form .select2-selection__arrow {
  background: var(--primary);
  color: var(--dark);
  border-radius: 0 !important;
}
.video-lec-form .btn {
  background: var(--primary);
  border-color: var(--primary);
  padding: 10px 15px;
  border-radius: 5px;
  margin: 0;
}
.video-lec-end .pagination {
  margin: 0;
  padding: 0;
}
.video-lec-form .form-group,
.db-container .form-group {
  margin: 0;
}
.video-lec-form .custom-select,
.video-lec-form .krajee-datepicker {
  border-radius: 5px;
  padding: 10px 15px;
  height: auto !important;
  border: 2px solid var(--primary) !important;
}

.feedback-qtn {
  padding: 10px 15px;
  background: var(--light);
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: var(--shadow);
  border: 2px solid #9bbf4740;
}
.feedback-qtn:last-child {
  margin-bottom: 0;
}
.feedback-qtn p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.feedback-qtn p b {
  margin-right: 10px;
}
.feedback-qtn .form-group {
  margin: 0;
}
.feedback-qtn .sub-qtn {
  padding: 10px 15px;
  background: var(--light-alt);
  border-radius: 5px;
  box-shadow: var(--shadow);
  border: 2px solid #9bbf4740;
  margin: 0 0 10px 0;
}
.feedback-qtn .form-group label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 13px;
  background: var(--light-alt);
  border: 2px solid #18181817;
  border-radius: 10px;
  margin: 0 10px 0 0;
}
.feedback-qtn .form-group label input {
  margin-right: 10px;
  width: 15px;
  height: 15px;
}

.online-exam-card .card-header {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  background: #f0ffc7;
}
.online-exam-card .card-header h6 {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
}
.online-exam-card .card-header .badge {
  padding: 7px 13px;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 600;
  color: var(--light);
}
.online-exam-card .card-body table td {
  font-size: 16px;
  text-align: left !important;
}
.online-exam-card .card-body table th {
  font-size: 16px;
  text-align: left !important;
  width: 220px;
}
.online-exam-card .button {
  font-size: 16px !important;
  padding: 7px 13px !important;
}
.online-exam-card .button.noactive-span {
  background: #bc1707 !important;
  border-color: #bc1707 !important;
}

.online-exam-inst h4 {
  font-size: 25px;
  font-weight: 600;
  color: var(--dark);
}
.online-exam-inst p {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-alt);
}
.online-exam-inst .icon {
  background: var(--primary);
  color: var(--light);
  padding: 10px 30px 10px 15px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}
.online-exam-inst .icon i {
  width: 70px;
  height: 70px;
  border-radius: 70px;
  background: var(--secondary);
  color: var(--light);
  text-align: center;
  line-height: 70px;
  font-size: 30px;
  box-shadow: 0 0.1rem 0.5rem #8c8c8c;
}
.online-exam-inst .icon p {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--light);
}

.exam-page {
  background: var(--light-alt);
  box-sizing: border-box;
}
.exam-page h1 {
  background: var(--primary);
  width: 100%;
  padding: 15px;
  font-size: 20px;
  font-weight: 500;
  line-height: 150%;
  color: var(--dark);
  text-align: center;
}
.exam-page .card {
  height: 100%;
  border: 2px solid var(--primary);
  background: var(--light);
}
.exam-page .card .card-header {
  background: #eeffc6;
  border-bottom: 2px solid var(--primary);
}
.exam-page .card .card-header h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-alt);
}
.exam-page .card .card-body {
  background: var(--light);
}
.exam-page .card .card-body span,
.exam-page .card .card-body b {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
}
.exam-form {
  height: auto !important;
  padding: 0 !important;
}
.exam-form .card p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.exam-form .question label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 13px;
  background: var(--light-alt);
  border: 2px solid #18181817;
  border-radius: 10px;
  margin: 0 10px 0 0;
}
.exam-form .question label input {
  margin-right: 10px;
  width: 15px;
  height: 15px;
}
.exam-form .btn-row {
  position: static;
  border: 0;
  background: var(--light-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 50px;
}
.exam-form .btn-row .previous {
  background: var(--secondary) !important;
}
.exam-form .btn-row .finalButton {
  background: var(--dark) !important;
}

/* Responsive */
@media (max-width: 1080px) {
}
@media (max-width: 992px) {
  #db-sidebar.active {
    margin-left: -18rem;
  }
  #db-sidebar {
    margin-left: 0;
  }
  #db-content {
    width: 100%;
  }
  #db-content.active {
    margin-right: -18rem;
  }
  #menu {
    background: transparent !important;
  }
  #db-content .db-nav .col-lg-6 {
    width: 50%;
  }
  #db-sidebar ul .menu-item .menu-link {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
}
