/* Google Font Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600;700;800;900&display=swap");
:root {
  --white: #ffffff;
  --top-gradient-start: #20272f;
  --grey: #b5b5b5;
  --bg-dark-blue: #000000;
  --bg-secondary-blue: #16181c;
  --bg-secondary-blue-focus: #21242a;
  --bg-active-grey: #292f37;
}
a {
  color: var(--grey) !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
::-webkit-scrollbar {
  height: 14px;
  width: 16px;
}
::-webkit-scrollbar-track {
  border-radius: 0;
  background: var(--bg-dark-blue);
}

::-webkit-scrollbar-thumb {
  border-radius: 25px;
  background: var(--grey);
  border: 4px solid var(--bg-dark-blue);
}
body {
  background: var(--bg-dark-blue) !important;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 78px;
  background: var(--bg-dark-blue);
  padding: 6px 14px;
  z-index: 99;
  transition: all 0.5s ease;
}
.sidebar.open {
  width: 250px;
}
.sidebar .logo-details {
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}
.sidebar .logo-details .icon {
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar .logo-details .logo_name {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar .logo-details .logo_name .logo-img {
  filter: brightness(0) invert(1);
  width: 150px;
  margin-left: 15px;
  margin-top: 25px;
}
.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .logo_name {
  opacity: 1;
}
.sidebar .logo-details #btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 22px;
  transition: all 0.4s ease;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
}
.sidebar.open .logo-details #btn {
  text-align: right;
}
.sidebar i {
  color: #fff;
  height: 60px;
  min-width: 50px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}
.sidebar .nav-list {
  margin-top: 20px;
  height: 100%;
}
.sidebar ul {
  padding-left: 0;
}
.sidebar li {
  position: relative;
  margin: 8px 0;
  list-style: none;
}
.sidebar li .tooltip {
  position: absolute;
  top: -20px;
  left: calc(100% + 15px);
  z-index: 3;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
}
.sidebar li:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar.open li .tooltip {
  display: none;
}
.sidebar input {
  font-size: 15px;
  color: #fff;
  font-weight: 400;
  outline: none;
  height: 50px;
  width: 100%;
  width: 50px;
  border: none;
  border-radius: 12px;
  transition: all 0.5s ease;
  background: var(--bg-dark-blue);
}
.sidebar.open input {
  padding: 0 20px 0 50px;
  width: 100%;
}
.sidebar .bx-search {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 22px;
  background: var(--bg-dark-blue);
  color: #fff;
}
.sidebar.open .bx-search:hover {
  background: var(--bg-dark-blue);
  color: #fff;
}
.sidebar .bx-search:hover {
  background: #fff;
  color: var(--bg-dark-blue);
}
.sidebar li a {
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  background: var(--bg-dark-blue);
}
.sidebar li a:hover {
  background: #fff;
}
.sidebar li a .links_name {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}
.sidebar.open li a .links_name {
  opacity: 1;
  pointer-events: auto;
}
.sidebar li a:hover .links_name,
.sidebar li a:hover i {
  transition: all 0.5s ease;
  color: var(--bg-dark-blue);
}
.sidebar li i {
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}
.sidebar li.profile {
  position: fixed;
  height: 60px;
  width: 78px;
  left: 0;
  bottom: -8px;
  padding: 10px 14px;
  background: var(--bg-secondary-blue);
  transition: all 0.5s ease;
  overflow: hidden;
}
.sidebar.open li.profile {
  width: 250px;
}
.sidebar li .profile-details {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.sidebar li img {
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}
.sidebar li.profile .name,
.sidebar li.profile .job {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}
.sidebar li.profile .job {
  font-size: 12px;
}
.sidebar .profile #log_out {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--bg-secondary-blue);
  width: 100%;
  height: 60px;
  line-height: 60px;
  border-radius: 0px;
  transition: all 0.5s ease;
}
.sidebar.open .profile #log_out {
  width: 50px;
  background: none;
}
.home-section {
  position: relative;
  background: var(--bg-dark-blue);
  top: 0;
  left: 78px;
  width: calc(100% - 78px);
  transition: all 0.5s ease;
  z-index: 2;
  padding-bottom: 50px;
}
.sidebar.open ~ .home-section {
  left: 250px;
  width: calc(100% - 250px);
}
.home-section .section-header {
  background-image: linear-gradient(
    to bottom,
    var(--top-gradient-start) 0%,
    var(--bg-dark-blue) 100%
  );
  height: 200px;
  padding-top: 100px;
  padding-left: 18px;
}
.home-section .section-body {
  padding-left: 2rem;
  padding-right: 2rem;
}
.home-section .text {
  display: inline-block;
  color: #ffffff;
  font-size: 45px;
  font-weight: 700;
}
@media (max-width: 420px) {
  .sidebar li .tooltip {
    display: none;
  }
}
.achievements-section .achievements {
  flex: 1 0 0%;
  color: #ffffff;
  text-align: center;
  background: var(--bg-secondary-blue);
  padding-top: 18px;
  padding-bottom: 18px;
  border-radius: 10px;
  cursor: pointer;
}
.achievements-section .achievements span {
  font-size: 16px;
  font-weight: 300;
  color: var(--grey);
}
.achievements-section .achievements h1 {
  font-size: 45px;
  font-weight: 800;
}
.achievements-section .achievements:hover{
  filter: brightness(1.5);
}
.classes-section .classes {
  margin-top: 25px;
  padding-bottom: 15px;
}
.classes-section a {
  text-decoration: none !important;
}
.classes-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
  margin-top: 50px;
}
.classes-section h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0;
  margin-top: 50px;
}
.classes-section span {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
}
.class-card {
  padding-top: 24px;
  padding-bottom: 24px;
  padding-right: 24px !important;
  padding-left: 24px !important;
  border-radius: 10px;
  background: var(--bg-secondary-blue);
  /* min-width: 250px; */
  margin: 10px;
  color: var(--grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}
.class-card .ratio{
  border-radius: 10px;
  overflow: hidden;
}
.class-card img {
  border-radius: 10px;
  object-fit: cover;
  max-width: 100%;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.class-card:hover {
  /* background: var(--bg-secondary-blue-focus); */
  filter: brightness(1.5);
}


.class-card:hover img {
  -webkit-transform: scale(1.3) rotate(5deg);
  transform: scale(1.3) rotate(5deg);
  filter: brightness(0.75)!important;
}

.class-card h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--white) !important;
  margin-bottom: 0;
  margin-top: 25px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.class-card span {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey) !important;
}
.hoverCircle {
  color: var(--grey) !important;
  background-color: var(--bg-secondary-blue) !important;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transform: translate3d(0, 0, 0);
}
.hoverCircle:hover {
  color: white !important;
  background-color: var(--bg-active-grey) !important;
}
.options-section {
  text-align: end;
}
.btn-main {
  color: var(--grey) !important;
  background-color: var(--bg-secondary-blue) !important;
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transform: translate3d(0, 0, 0);
}
.btn-main:hover {
  color: white !important;
  background-color: var(--bg-active-grey) !important;
}

.btn-main:active {
  color: white !important;
  background-color: #1d1d1d !important;
}
.btn-main-lg {
  color: var(--grey) !important;
  background-color: var(--bg-secondary-blue) !important;
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.4rem 1.25rem;
  font-size: 24px;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transform: translate3d(0, 0, 0);
}
.btn-main-lg:hover {
  color: white !important;
  background-color: var(--bg-active-grey) !important;
}

.btn-main-lg:active {
  color: white !important;
  background-color: #1d1d1d !important;
}
.searchbar {
  color: white !important;
  background-color: var(--bg-secondary-blue) !important;
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-clip: padding-box;
  border: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.5rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 5px;
}
.searchbar :active {
  color: white !important;
  background-color: var(--bg-secondary-blue) !important;
  border: 1px solid white !important;
}
.searchbar :focus {
  color: white !important;
  background-color: var(--bg-secondary-blue) !important;
  border: 1px solid white !important;
}
.teachers-section {
  margin-top: 75px;
}
table thead tr th:after {
  position: absolute;
  right: 2px;
}

table thead tr th.sort-asc:after {
  content: "\25b4";
}

table thead tr th.sort-desc:after {
  content: "\25be";
}
table thead{
  background-color: var(--bg-secondary-blue) !important;
}
.table-head {
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 0.5rem;
  font-weight: normal !important;
}
.table-data {
  color: var(--grey);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table-data-row {
  cursor: pointer;
}
.table-data-row :hover {
  background-color: var(--bg-secondary-blue) !important;
}
tr td:first-child,tr th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  padding-left: 12px;
}
tr td:last-child,tr th:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
::-webkit-calendar-picker-indicator {
  filter: invert(1);
}
.total-section {
  color: var(--grey);
  margin-top: 50px;
}
.total-section-value {
  float: right;
  margin-left: 15px;
}
.total-value {
  color: #ffffff;
  font-size: xx-large !important;
  font-weight: 700 !important;
}
.total-value b {
  color: var(--grey);
  font-size: 16px;
  font-weight: 500;
}
hr {
  height: 3px !important;
  margin: 0.5rem 0 !important;
}
.center-head {
  color: var(--grey);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 1rem;
  text-align: center;
}
.attendance-section {
  margin-top: 50px;
  color: var(--grey);
}
.attendance-section h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0;
}
.attendance-section span {
  font-size: 14px;
  font-weight: 500;
}
.report-section {
  background-color: var(--bg-secondary-blue);
  padding: 16px;
  border-radius: 10px;
}
.monthinput {
  color: white !important;
  background-color: var(--bg-secondary-blue) !important;
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-clip: padding-box;
  border: 5px solid var(--bg-secondary-blue) !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 0.5rem !important;
}
.monthinput :active {
  color: white !important;
  background-color: var(--bg-secondary-blue) !important;
  border: 1px solid var(--bg-secondary-blue) !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}
.monthinput :focus {
  color: white !important;
  background-color: var(--bg-secondary-blue) !important;
  border: 1px solid var(--bg-secondary-blue) !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}
.payment-month input:focus {
  outline: none !important;
}
.subjects-container {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.subjects-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  top: 0;
  left: 0;
  color: var(--grey) !important;
  background-color: var(--bg-secondary-blue) !important;
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-clip: padding-box;
  border: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.5rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 5px;
  text-align: start;
}

/* On mouse-over, add a grey background color */
.subjects-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.subjects-container input:checked ~ .checkmark {
  background-color: var(--bg-active-grey) !important;
  color: #ffffff !important;
}

/* Create the checkmark/indicator (hidden when not checked) */
.subjects-container:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.subjects-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.subjects-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: none;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.radio-btn-section {
  color: var(--grey);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 1rem;
}
.text-xx-large {
  font-size: xx-large !important;
  font-weight: 700 !important;
}
.modal-section {
  background: var(--bg-dark-blue) !important;
  color: #ffffff !important;
  border-radius: 25px !important;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.login-section {
  background: var(--bg-dark-blue) !important;
  color: #ffffff !important;
  padding-top: 5rem;
}
.line-br {
  border: none !important;
  border-top: 1px dashed #000000 !important;
  color: #000000 !important;
  background-color: #000000 !important;
  height: 1px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
#printMe {
  display: none;
}

@media print {
  #printMe {
    display: block;
  }
  .home-section,
  .sidebar {
    display: none;
  }
}
