/*------------------------------Basics------------------------------*/

/* Backdrop */

.panel-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: black;
  opacity: 0.3;
}

/* Dash */

.dash {
  position: relative;
  width: 10rem;
  height: 0.5rem;
  border-radius: 5rem;
  left: 50%;
  transform: translateX(-50%);
}

.dash--dark {
  background: var(--color-theme-light);
}

.dash--light {
  background: var(--color-theme-lightest);
}

/* Flex */

.flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.flex-row-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Search Sort */

.sort-btn {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 5rem;
    flex: 1;
    border: 1px solid gainsboro;
}
.sort-btn.active {
    background: aliceblue;
    box-shadow: var(--box-shadow);
    border: 1px solid gray;
}

.form-input-control:has(.search-bar),
.form-input-control:has(.sort-bar) {
  /*flex: 1;*/
  margin: 0 !important;
  max-width: 30rem;
}

.form-input-control:has(.form__input.closed) {
  flex: inherit !important;
}

.form__input.closed {
  width: 0 !important;
  padding-right: 0 !important;
}

/* Icon Btn */

.icon-btn {
  border-radius: 50%;
  font-size: 1.8rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.icon-btn--dark {
  background: var(--color-theme-light);
  color: white;
}
.icon-btn--dark:focus,
.icon-btn--dark:hover,
.icon-btn--dark:active {
  background: var(--color-theme-light) !important;
  color: white !important;
}
.icon-btn--light {
  background: var(--color-theme-lightest);
  color: var(--color-text-sec);
}
.icon-btn--light:focus,
.icon-btn--light:hover,
.icon-btn--light:active {
  background: var(--color-theme-lightest) !important;
  color: var(--color-text-sec) !important;
}
.icon-btn--update {
  background: rgba(39, 125, 255, 0.822);
  color: white;
}
.icon-btn--update:focus,
.icon-btn--update:hover,
.icon-btn--update:active {
  background: rgba(39, 125, 255, 0.822) !important;
  color: white !important;
}

/* Accent Btn */

.accent-btn {
  background-image: linear-gradient(
    120deg,
    var(--color-theme) 0%,
    #6fb0f1 100%
  );
  color: white;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--box-shadow);
  border: none;
  border-radius: 0.5rem;
  font-size: 1.4rem;
  padding: 0.8rem 1rem;
}

.accent-btn:hover,
.accent-btn:focus,
.accent-btn:active {
  background-image: linear-gradient(
    120deg,
    var(--color-theme) 0%,
    #6fb0f1 100%
  ) !important;
  color: white !important;
}

.accent-btn--success {
  background: var(--color-success);
  color: white;
}

.accent-btn--success:hover,
.accent-btn--success:focus,
.accent-btn--success:active {
  background: var(--color-success) !important;
  color: white !important;
}

.accent-btn--critical {
  background: var(--color-danger);
  color: white;
}

.accent-btn--critical:hover,
.accent-btn--critical:focus,
.accent-btn--critical:active {
  background: var(--color-danger) !important;
  color: white !important;
}

.accent-btn--lg {
  font-size: 2rem;
  padding: 0.8rem 1rem;
}

.accent-btn--sm {
  font-size: 1rem;
  padding: 0.5rem .9rem;
}

/* Background */

.bg-success {
  background: var(--color-success) !important;
}

/* Critical Btn */

.critical-btn {
  background: var(--bs-danger);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--box-shadow);
  border: none;
  border-radius: 0.5rem;
  font-size: 1.4rem;
  padding: 0.6rem 1rem;
}

.critical-btn:hover,
.criticalBtn:focus,
.critical-btn:active {
  background: var(--bs-danger);
  color: white !important;
}

/* Menu Btn */

.menu-btn {
  border: 1px solid var(--color-theme-lightest);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu-btn img {
  height: 70%;
}
.menu-btn:hover,
.menu-btn:focus,
.menu-btn:active {
  border: 1px solid var(--color-theme-lightest) !important;
}

/* Fixed Btn */

.fixed-btn {
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  position: absolute;
  border-radius: 1rem;
  border: none;
}

.fixed-btn img {
  width: 100%;
  height: 100%;
  box-shadow: var(--box-shadow-float);
  border-radius: 50%;
  border: none;
}

.fixed-btn--br {
  bottom: 1.5rem;
  right: 1.5rem;
}

/* Round Btn */

.btn--round {
  border-radius: 50%;
  box-shadow: var(--box-shadow-float);
  height: 3rem;
  width: 3rem;
}

/* Gradient */

.gradient-custom {
  /* fallback for old browsers */
  background: #f6d365;

  /* Chrome 10-25, Safari 5.1-6 */
  background: -webkit-linear-gradient(
    to right bottom,
    rgba(246, 211, 101, 1),
    rgba(253, 160, 133, 1)
  );

  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background: linear-gradient(
    to right bottom,
    rgba(246, 211, 101, 1),
    rgba(253, 160, 133, 1)
  );
}

/*-----Status Icon-----*/

.status-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  border-radius: 50%;
}

.status-icon[data-status="active"] {
  background-color: var(--bs-teal);
  box-shadow: 0px 0px 2px 2px #6bfdd1;
}

.status-icon[data-status="inactive"] {
  background-color: var(--bs-red);
  box-shadow: 0px 0px 2px 2px #ff8a95;
}

.status-icon[data-status="warning"] {
  background-color: var(--bs-warning);
  box-shadow: 0px 0px 2px 2px #ffdb6e;
}

/*-----Heading-----*/

.heading {
  margin-bottom: 2rem;
  color: #e70303;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.heading i {
  font-size: 2rem;
}
.heading span {
  font-size: 2rem;
  text-decoration: underline;
}

/*-----Icon Styles-----*/

.icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.icon img {
  width: 80%;
  height: auto;
}

/*-----Text Styles-----*/

.text {
  flex: 1;
  overflow: auto;
}
.text-main {
  color: var(--color-text-main);
}
.text-sec {
  color: var(--color-text-sec);
}
.text-success {
  color: var(--color-success) !important;
}
.text-danger {
  color: var(--color-danger) !important;
}
.text-right {
  text-align: right;
  text-align: -webkit-right;
}
.text-center {
  text-align: center;
  text-align: -webkit-center;
}
.text-left {
  text-align: left;
  text-align: -webkit-left;
}
.text-i {
  font-style: italic;
}
.text-c {
  text-transform: capitalize;
}

/*-----Error Element-----*/

/* .errorEl {
  position: absolute;
  z-index: 999;
  width: 80%;
  margin: 2rem auto;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.queryError {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.5rem;
} */

/*-----------------------------------------*/

#app_body .lifted-body-el {
  display: none;
}

#app_body.lifted-body {
  position: absolute;
  margin-top: var(--appPanel-mt);
  z-index: 2;
  height: -webkit-fill-available !important;
}

#app_body.lifted-body .lifted-body-el {
  display: block;
}

#app_body.lifted-body #content_main {
  height: auto !important;
}

/*-------------------Form------------------*/

textarea {
  margin: 0;
}
::file-selector-button {
  display: none;
}

.form-input-control {
  position: relative;
  display: flex;
  flex-direction: column;
  /*flex: 1;*/
  margin-bottom: 1rem;
}
.form-input-control .input__label {
  color: var(--color-text-main);
  font-weight: 700;
  font-size: 1.2rem;
  pointer-events: none;
  transition: all 0.3s ease;
  text-align: left;
}
.form-input-control .input__field {
  position: relative;
}
.form-input-control .input__field i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
}
.form-input-control .input__field i.input__icon {
  color: var(--color-theme);
  left: 1rem;
}
.form-input-control i.uil-shield-exclamation,
.form-input-control i.uil-shield-check {
  color: #e74c3c;
  visibility: hidden;
  right: 1rem;
}
.form-input-control.error i.uil-shield-exclamation {
  color: #e74c3c;
  visibility: visible;
}
.form-input-control.success i.uil-shield-check {
  color: #2ecc71;
  visibility: visible;
}
.form-input-control small {
  color: #e74c3c;
  font-size: 1.2rem !important;
  visibility: hidden;
  position: relative;
  height: 0;
  width: 0;
  text-align: left;
}
.form-input-control.error small {
  visibility: visible;
  height: auto;
  width: auto;
}

.form-input-control .input__field .form__input {
  border: 1px solid var(--color-theme-lightest);
  background-image: linear-gradient(175deg, white 0%, #dfe9f3 100%);
  padding: 0.8rem 3rem 0.8rem 3rem;
  width: 100%;
  outline: none;
  font-size: 1.2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  color: #424242;
  color: #000000;
  background: var(--bs-gray-200);
  font-weight: 700;
}
.form-input-control.error .input__field .form__input {
  border-color: #e74c3c;
}
.form-input-control.success .input__field .form__input {
  border-color: #2ecc71;
}

.form-input-control i.uil-times {
  display: none;
  right: 1rem;
}
.form-input-control:has(.form__input:not(:placeholder-shown)) i.uil-times {
  display: block;
}

/*-----------------------Checkbox---------------------------*/

.form-input-control .form__input.form__input--checkbox {
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.form-input-control .checkbox__label {
  padding: 1rem !important;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 1rem;
}

.form-input-control .checkbox__label--success {
  color: var(--color-success);
}

.form-input-control .checkbox__label--danger {
  color: var(--color-danger);
}

.form-input-control .checkbox__label--primary {
  color: var(--color-primary);
}

.form-input-control .checkbox__label {
  padding: 1rem !important;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 1rem;
}

.form-input-control .checkbox__label .label {
  flex: 1;
}

.form-input-control .checkbox__label input[type="checkbox"],
.form-input-control .checkbox__label input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.form-input-control .checkbox__label input[type="checkbox"] ~ .checkmark,
.form-input-control .checkbox__label input[type="radio"] ~ .checkmark {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 2px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(99, 99, 99);
}

.form-input-control .checkbox__label input[type="checkbox"] ~ .checkmark::after,
.form-input-control .checkbox__label input[type="radio"] ~ .checkmark::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.form-input-control
  .checkbox__label
  input[type="checkbox"]:checked
  ~ .checkmark::after,
.form-input-control
  .checkbox__label
  input[type="radio"]:checked
  ~ .checkmark::after {
  background: rgb(104 70 241);
}

.form-input-control
  .checkbox__label--success
  input[type="checkbox"]:checked
  ~ .checkmark::after,
.form-input-control
  .checkbox__label--success
  input[type="radio"]:checked
  ~ .checkmark::after {
  background: var(--color-success);
}

.form-input-control
  .checkbox__label--danger
  input[type="checkbox"]:checked
  ~ .checkmark::after,
.form-input-control
  .checkbox__label--danger
  input[type="radio"]:checked
  ~ .checkmark::after {
  background: var(--color-danger);
}

.form-input-control
  .checkbox__label--primary
  input[type="checkbox"]:checked
  ~ .checkmark::after,
.form-input-control
  .checkbox__label--primary
  input[type="radio"]:checked
  ~ .checkmark::after {
  background: var(--color-primary);
}

.mr-1 {
  margin-right: 1rem !important;
}

.flex-row:has(.form-input-control) {
  align-items: flex-end;
}

.flex-row:has(.form-input-control.error) {
  align-items: center;
}

table th, table td {
  white-space: nowrap;
}

/**********Switch--------------------------------------------------*/

/* .uk-switch {
  position: relative;
  display: block;
  height: 2rem;
  width: 4rem;
}

.uk-switch input {
  display: none;
}

.uk-switch-slider {
  background-color: rgba(0, 0, 0, 0.22);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-radius: 500px;
  bottom: 0;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 0.2s;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.07);
}

.uk-switch-slider:before {
  content: "";
  background-color: #fff;
  position: absolute;
  width: calc(2rem - 4px);
  height: calc(2rem - 4px);
  left: 2px;
  bottom: 2px;
  border-radius: 50%;
  transition-property: transform, box-shadow;
  transition-duration: 0.2s;
} */

/* Pointer active animation */
/* .uk-switch input:checked + .uk-switch-slider:before {
  transform: translateX(24px);
  left: -2px;
} */

/* .uk-switch-slider.uk-switch-on-off {
  background-color: #f0506e;
} */
/* .uk-switch input:checked + .uk-switch-slider.uk-switch-on-off {
  background-color: #32d296 !important;
} */

/* Inverse Modifier - affects only default */
/* .uk-light .uk-switch-slider:not(.uk-switch-on-off) {
  background-color: rgba(255, 255, 255, 0.22);
} */

/*------------------------------Card 3------------------------------*/

.card-3 {
  position: relative;
  background: #fff;
  /* box-shadow: 0px 14px 80px rgb(34 35 58 / 20%); */
  border: 1px solid gainsboro;
  padding: 1rem 2rem;
  border-radius: 2rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5rem;
  width: 100%;
  overflow: hidden;
  /* height: 100%; */
}
.card-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 1rem;
  border-radius: 3rem;
  background: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
}
.card-3__img {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  box-shadow: 4px 13px 30px 1px rgb(252 56 56 / 20%);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.card-3__img img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  display: block;
  transition: all 0.3s;
  z-index: 1;
}
.card-3__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.card-3__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  /*font-family: "Style Script";*/
  text-transform: capitalize;
  overflow-wrap: anywhere;
}
.card-3__title-sec {
  font-size: 1.4rem;
  font-weight: 600;
  color: #6351ce;
}
.card-3__title-sec p {
  margin-bottom: 0;
}
.card-3__text {
  color: #4e4a67;
  line-height: 1.5em;
}
.card-3__text p {
  margin-bottom: 1.4rem;
}
.card-3__btn {
  display: inline-flex;
  width: fit-content;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  padding: .8rem 2rem;
  border-radius: 5rem;
  color: #fff;
  box-shadow: 0px 14px 80px rgb(252 56 56 / 40%);
  text-decoration: none;
  font-weight: 700;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
}

/*------------------------------Profile------------------------------*/

.profile-section {
  background: white;
  margin: auto;
}

.profile-section__logo {
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  text-align: center;
}

.profile-section__logo img {
  width: 100%;
  height: auto;
}

.profile-header {
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 1;
  align-items: center;
  margin: 1rem 0;
}

.profile-header__img {
  width: 10rem;
  height: 12rem;
  border: 3px double black;
  box-shadow: var(--box-shadow-float);
  position: relative;
}

.profile-header__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.profile-header__text {
  flex: 1;
}

.profile-header__text-main {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.profile-header__text-sec {
  font-size: 1.4rem;
  margin: 0;
  color: #000;
}

/* Footer */

.profile-footer {
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 1;
  align-items: center;
  margin: 1rem 0;
}

.profile-footer__img {
  width: 10rem;
  height: 10rem;
  border: 3px double black;
  box-shadow: var(--box-shadow-float);
  position: relative;
}

.profile-footer__img img {
  width: 100%;
  height: 100%;
}

.profile-footer__text {
  flex: 1;
}

.profile-footer__text-main {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.profile-footer__text-sec {
  font-size: 1.4rem;
  margin: 0;
  color: #000;
}


/* Body */

.profile-body {
  padding: 2rem;
}

.profile-body__heading {
  color: #e11c26;
  font-size: 2rem;
  font-weight: 700;
}

.profile-section table, .profile-section td, .profile-section th {
    border-color: gray !important;
}

.profile-section td, .profile-section th {
    padding: .3rem 1rem !important;
    font-size: 1.2rem !important;
}

@media (max-width: 768px) {
  
}

@media print {
  body {
    background: none;
  }
  .profile-section {
      max-width: 100%;
  }
}

/*------------------------------------Receipt-----------------------------------*/

.receipt-main {
  background: #ffffff none repeat scroll 0 0;
  border-bottom: 10px solid #333333;
  /* border-top: 12px solid #9f181c; */
  /* margin-top: 50px; */
  /* margin-bottom: 50px; */
  padding: 1rem !important;
  position: relative;
  /* box-shadow: 0 1px 21px #acacac; */
  color: #333333;
  border: 1px solid black;
}
.receipt-main .c-name {
  font-size: 1.8rem;
  font-weight: 700;
}
.receipt-main .invoice-no {
  font-size: 1.8rem;
  font-weight: 700;
}
.receipt-main p {
  color: #333333;
  font-size: 1.2rem;
  margin-bottom: .2rem;
}
.receipt-footer h1 {
  font-size: 15px;
  font-weight: 400 !important;
  margin: 0 !important;
}
/* .receipt-main::after {
  background: #414143 none repeat scroll 0 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: -13px;
} */
.receipt-main thead {
  background: #414143 none repeat scroll 0 0;
}
.receipt-main thead th {
  color:#fff;
}
.receipt-main td {
  padding: 0.5rem 1rem !important;
  font-size: 1.2rem;
}
.receipt-main .qr {
  width: 8rem;
  border: 1px solid black;
  box-shadow: var(--box-shadow-float);
}
.receipt-main .paid-amt {
  font-weight: 700;
  font-size: 1.8rem;
}
.receipt-logo {
  height: auto;
  width: 100%;
  /* margin: auto; */
  display: block;
  /* border: 1px solid black; */
}

/*---------------------Search Lists-----------------------*/

#universal_student_search {
    font-size: 1.6rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.30s ease-in-out;
    padding-top: 1rem;
    padding-bottom: 1rem;
    z-index: 999;
    position: relative;
}

#universal_student_search:focus {
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    border: 1px solid rgba(81, 203, 238, 1);
}

#search_screen {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

#search_screen.show {
    display: flex;
}

.search-result-popup {
    min-width: 60rem;
    width: auto;
    background: white;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    z-index: 1;
    scale: 0;
    overflow: hidden;
    
    position: relative;
    transition: all 1s ease;
    scale: 0;
}

.search-result-popup.show {
    scale: 1;
}

.search-result-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #007bff;
    border-radius: 2rem 2rem 0rem 0;
    height: 7rem;
}

.search-result-popup__header .title {
    color: white;
    font-size: 2rem;
}

.search-result-popup__header .title i {
    font-size: 1.8rem;
    margin-right: 1rem;
}

.search-result-popup__header .btn.close {
    color: white;
    font-size: 2rem !important;
}

.search-result-popup__body {
    padding: 2rem;
    background: white;
    height:  30rem;
    max-height: 33rem;
    overflow-x: hidden;
    overflow-y: scroll;
}


#search_results {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

#search_results .spinner-border {
    font-size: 7rem;
}


/*---------------------Notice-----------------------*/

.notice {
    position: relative;
    margin: 0;
    background: #F9F9F9;
    padding: 3rem 1rem 0rem 3rem;
    border-left: 4px solid #0074D9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125);
    margin-top: 2.5rem;
}

.notice__title {
    position: absolute;
    top: -1.8rem;
    left: -4px;
    background: #0074d9;
    color: white;
    min-width: 20rem;
    padding: .8rem 2rem;
    box-shadow: 0px 1.7rem 1rem -1rem rgb(0 0 0 / 40%);
    border-radius: 0.5rem;
    font-size: 1.6rem;
    margin: 0;
}

.notice__dsc {
    font-weight: 700;
    font-size: 1.4rem;
}

.notice__date {
    text-align: end;
    color: #8b8989;
    font-style: italic;
    margin: 0;
    font-size: 1.2rem;
}

.notice__recipients {
    color: #8b8989;
    font-style: italic;
    margin: 0;
    text-transform: capitalize;
}

.notice__recipients span {
    margin-right: 1rem;
}

.notice__count {
    position: absolute;
    top: 50%;
    margin-top: -1.7rem;
    left: -1.7rem;
    background-color: #DDD;
    color: #FFF;
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
    text-align: center;
    line-height: 3rem;
    font-weight: bold;
    font-family: Georgia;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
    content: "i";
    background-color: #0074D9;
}

#matrix_rain {
          display: flex;
          max-width: 50vw;
          overflow: hidden;
          background: black;
          border-radius: 3rem;
          box-shadow: var(--box-shadow-float);
          height: 100%;
        }
        #matrix_rain p {
          line-height: 1;
        }
        #matrix_rain span {
          display: block;
          width: 2vmax; 
          height: 2vmax; 
          font-size: 2vmax; 
          color: #9bff9b11;
          text-align: center;
          font-family: "Helvetica Neue", Helvetica, sans-serif;
        }
        
        
.holiday-card {
        position: relative;
        display: inline-block;
        width: 40vw;
        min-width: 400px;
        max-width: 80%;
        animation: popFromBottom 0.5s ease-in-out;
    }
    
    .holiday-card__icon img {
        height: 22vmin;
        margin-left: -30%;
    }

    .holiday-card__icon {
        display: inline-block;
        width: 22vmin;
        height: 22vmin;
        border-radius: 50%;
        overflow: hidden;
        position: absolute;
        left: -16vmin;
        top: -1vmin;
        border: 1vmin solid #fff;
    }

    .holiday-card__text {
        background: #ffe271;
        padding: 2vmin 5vmin 2vmin 10vmin;
        border-radius: 0px 50px 50px 0px;
        font-size: 3vmin;
        text-align: left;
    }

    .holiday-card__date {
        text-align: left;
        padding: 2px 30px 5px 60px;
        border-radius: 0px 0px 20px;
        font-size: 3.2vmin;
        background: #fff;
        color: #83aebd;
        display: inline-block;
        float: left;
        font-weight: 600;
        font-style: normal;
    }
    
    /*-------------------Calendar------------------------*/
    
.fc-toolbar h2 {
    font-weight: 700 !important;
}
.fc-day-grid-event .fc-content {
    white-space: break-spaces !important;
    word-break: break-all !important;
}
.fc-event {
    background-color: #F44336 !important;
    border-color: #F44336 !important;
}


/**********Days Card--------------------------------------------------*/

.dayCardsContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  margin-bottom: -2rem;
}
.dayCardsContainer::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.dayCard {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--color-theme-lightest);
  background: white;
}

.dayCard .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}
.dayCard .icon img {
  width: 2rem;
}
.dayCard .text {
  border-top: 1px solid var(--color-theme-lightest);
  width: 100%;
  text-align: center;
}

.dayCard .text .textMain {
  color: var(--color-text-main);
  grid-column: 1 / span 2;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
}

.dayCard.active {
  background: var(--color-theme-light);
  box-shadow: var(--box-shadow-float);
}
.dayCard.active .textMain {
  color: white;
}
.dayCard.active img {
  filter: contrast(300%);
}

/*---------------------Accordion-----------------------------*/

.accordion-button {
    font-size: 2rem;
    gap: 1rem;
    font-weight: 700;
}
.accordion-button:focus {
    box-shadow: none;
}

/*--------------------Switch-----------------------*/

.switch-input {
  display: none;
}
.switch-input,
.switch-input:after,
.switch-input:before,
.switch-input *,
.switch-input *:after,
.switch-input *:before,
.switch-input + .switch-btn {
  box-sizing: border-box;
}
.switch-input::-moz-selection,
.switch-input:after::-moz-selection,
.switch-input:before::-moz-selection,
.switch-input *::-moz-selection,
.switch-input *:after::-moz-selection,
.switch-input *:before::-moz-selection,
.switch-input + .switch-btn::-moz-selection {
  background: none;
}
.switch-input::selection,
.switch-input:after::selection,
.switch-input:before::selection,
.switch-input *::selection,
.switch-input *:after::selection,
.switch-input *:before::selection,
.switch-input + .switch-btn::selection {
  background: none;
}
.switch-input + .switch-btn {
  outline: 0;
  display: block;
  width: 4em;
  height: 2em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.switch-input + .switch-btn:after,
.switch-input + .switch-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}
.switch-input + .switch-btn:after {
  left: 0;
}
.switch-input + .switch-btn:before {
  display: none;
}
.switch-input:checked + .switch-btn:after {
  left: 50%;
}

.switch-input + .switch-btn {
  background: #ff7070;
  border-radius: 2em;
  padding: 2px;
  transition: all 0.4s ease;
  border: 1px solid #e8eae9;
}
.switch-input + .switch-btn:after {
  border-radius: 2em;
  background: #fbfbfb;
  transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    padding 0.3s ease, margin 0.3s ease;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
}
.switch-input + .switch-btn:hover:after {
  will-change: padding;
}
.switch-input + .switch-btn:active {
  box-shadow: inset 0 0 0 2em #e8eae9;
}
.switch-input + .switch-btn:active:after {
  padding-right: 0.8em;
}
.switch-input:checked + .switch-btn {
  background: #86d993;
}
.switch-input:checked + .switch-btn:active {
  box-shadow: none;
}
.switch-input:checked + .switch-btn:active:after {
  margin-left: -0.8em;
}

/*------------------------------Card-----------------------------------*/

.dashboard-content .card {
    border-radius: 1.5rem !important;
    background: rgb(255, 255, 255);
    background: linear-gradient(176deg, rgba(255, 255, 255, 1) 0%, rgb(223 241 255) 100%);
    background: linear-gradient(176deg, rgba(255, 255, 255, 1) 0%, #74b9ff);
    padding: 1rem 2rem;
    border-top: 0;
    border-left: 0;
    font-size: 2rem;
}

.dashboard-content .card i {
    font-size: 4rem;
}

.dashboard-content .card .card-body {
    padding: 1rem;
}

.hamburger {
    font-size: 3rem;
    cursor: pointer;
}

.avatar-upload {
  position: relative;
}
.avatar-upload small {
  text-align: center;
}
.avatar-upload .avatar-edit {
  position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}
.avatar-upload .avatar-edit input {
  display: none;
}
.avatar-upload .avatar-edit label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-size: 3rem;
  color: #20c996;
  font-weight: 700;
}
.avatar-upload .avatar-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}
.avatar-upload .avatar-preview {
  width: 15rem;
  height: 15rem;
  position: relative;
  border-radius: 100%;
  border: 6px solid #F8F8F8;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}
.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*------------------------------Marksheet-----------------------------------*/

@media print {
    * {
        -webkit-print-color-adjust: exact;
    }
}

.font-designer {
    font-family: "Dancing Script";
}

.print-page {
    width: 100%;
    height: 100vh;
}

