/* Quicklinks */

.ql-navBar {
  min-width: 200px;
}
.ql-navItem {
  min-width: 240px;
  max-width: 240px;
  flex-grow: 1;
  font-weight: 400;
  text-align: center;
  padding: 16px;
  border: 1px solid White;
}
.nav-light {
  color: DimGrey;
  background-color: Whitesmoke;
}
.nav-dark {
  color: White;
  background-color: DimGrey;
}
.nav-thin {
  color: DimGrey;
  background-color: transparent;
  border: 1px solid DimGrey;
  &.ql-navItem {
    border: 1px solid DimGrey;
    margin-top: -1px;
    margin-right: -1px;
  }
}
.style-option-light {
  height: 20px;
  width: 20px;
  background-color: Gainsboro;
  border: 0px solid White;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  &:hover {
    box-shadow: 2px 2px 4px #969a9c inset;
  }
}
.style-option-dark {
  height: 20px;
  width: 20px;
  background-color: Grey;
  border: 0px solid White;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  &:hover {
    box-shadow: 2px 2px 4px #1F1F1F inset;
  }
}
.style-option-thin {
  height: 20px;
  width: 20px;
  background-color: white;
  border: 1px solid DimGrey;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  transition: all 0.2s;
  &:hover {
    border: 1px solid DodgerBlue;
  }
}
@media (hover: hover) {
  .ql-navItem.nav-light:hover {
    background-color: DimGrey;
    color: Whitesmoke;
    box-shadow: none;
  }
  .ql-navItem.nav-dark:hover {
    background-color: Gainsboro;
    color: DimGrey;
    box-shadow: none;
  }
  .ql-navItem.nav-thin:hover {
    border: 1px solid DimGrey;
    color: DodgerBlue;
  }
}

/* Blurb Card */

.blurb-card {
  max-width: 600px;
  border: 4px solid White;
  border-radius: 0px;
  background-color: WhiteSmoke;
  margin: 0px auto;
  box-shadow: 0px 10px 20px LightGrey;
}
.bottom-fade {
  mask-image: linear-gradient(to bottom, white 40%, transparent);
}
.card-header {
  transition: all 0.3s ease-in-out;
}
.blurb-card .card-header {
  border-radius: 0px;
  border-bottom: 2px solid White;
}
.card-active {
  transition: all 0.3s ease-in-out;
  background-color: Crimson;
  color: White;
}
#moreBtn {
  width: 140px;
  border: 0;
  border-top: 1px solid DimGrey;
  color: Black;
  background-color: WhiteSmoke;
}
#moreText {
  display: none;
}
@media (hover: hover) {
  #moreBtn:hover {
    color: DodgerBlue;
  }
}

/* Modals */

@media (hover: hover) {
  .modal-close-btn:hover {
    transform: scale(1.15);
  }
}
.blue-modal-btn:hover {
  box-shadow: 5px 5px rgba(30, 144, 255, 0.4), 10px 10px rgba(30, 144, 255, 0.3),
    15px 15px rgba(30, 144, 255, 0.2), 0px 0px 12px lightgrey;
  color: DodgerBlue !important;
}
.orange-modal-btn:hover {
  box-shadow: 5px 5px rgba(255, 140, 0, 0.4), 10px 10px rgba(255, 140, 0, 0.3),
    15px 15px rgba(255, 140, 0, 0.2), 0px 0px 12px lightgrey;
  color: DarkOrange !important;
}
.red-modal-btn:hover {
  box-shadow: 5px 5px rgba(255, 0, 0, 0.4), 10px 10px rgba(255, 0, 0, 0.3),
    15px 15px rgba(255, 0, 0, 0.2), 0px 0px 12px lightgrey;
  color: Red !important;
}
.animate-modal-lottie {
  transform-origin: 50% 100%;
  animation: animate-lottie 0.5s ease-in-out;
}
@keyframes animate-lottie {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 100%;
  }
}

/* Drawer */

#open-drawer-btn {
& i {
  left: -35px;
}
& p {
  left: -12px;
}
}
#open-drawer-btn:hover {
& i {
  left: 0;
}
& p {
  left: 0;
}
}

/* WA Custom Cards */

.wa-custom-card::part(media) {
  border-radius: 0;
}
.wa-custom-card::part(body) {
  padding: 0;
}

/* WA Custom Details */

.wa-custom-details::part(base) {
  border: none;
}
.wa-custom-details::part(header) {
  font-size: 18px;
  font-weight: bold;
  background-color: Whitesmoke;
  border-start-start-radius: 0px;
  border-start-end-radius: 0px;
  border-end-start-radius: 0px;
  border-end-end-radius: 0px;
}
.wa-custom-details[open]::part(header) {
  color: White;
  background-color: DodgerBlue;
}
.wa-custom-details[open]::part(icon) {
  color: White;
}
.wa-custom-details[open]::part(content) {
  border-top-width: 2px !important;
  font-weight: 400;
  padding: 0px;
  border-top: 5px solid White;
}
#wa-custom-details-1::part(summary), 
#wa-custom-details-2::part(summary), 
#wa-custom-details-3::part(summary) {
  width: 100%;
  display: flex;
  justify-content: center;
}
#wa-custom-details-1::part(summary)::before {
  font: var(--fa-font-solid);
  font-size: 24px;
  content: "\f7ba";
  margin-right: 15px;
}
#wa-custom-details-2::part(summary)::before {
  font: var(--fa-font-solid);
  font-size: 24px;
  content: "\f52d";
  margin-right: 15px;
}
#wa-custom-details-3::part(summary)::before {
  font: var(--fa-font-solid);
  font-size: 24px;
  content: "\f752";
  margin-right: 15px;
}

/* WA Custom Tabs */

.wa-custom-tab {
  width: 180px;
  height: 45px;
  color: Black;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom-width: 0;
  background-color: Whitesmoke;
  --active-tab-color: White;
  --indicator-color: White;
}
.wa-custom-tab:before {
  content: "";
  display: block;
  position: absolute;
  width: 0px;
  height: 3px;
  left: 0px;
  top: 42px;
  background: DodgerBlue;
  border: none;
  transition: width 0.5s ease;
  z-index: 1;
  overflow: hidden;
}
.wa-custom-tab[active] {
  color: White;
  background-color: Dodgerblue;  
}
.wa-custom-tabs::part(tabs) {
  border: 0;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .wa-tab-text {
    border-top: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
      linear-gradient(90deg, White, DimGrey, White) border-box;
  }
}
@media only screen and (min-width: 767px) {
  .wa-tab-text {
    border-left: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
      linear-gradient(0deg, White, DimGrey, White) border-box;
  }
}
@media (hover: hover) {
   .wa-custom-tab:hover::before {
    width: 180px;
  }
}

/* Profile Cards */

.rt-profile-card {
  perspective: 150rem;
  height: 365px;
  width: 240px;
}
.rt-card-side {
  height: 365px;
  width: 240px;
  backface-visibility: hidden;
  position: absolute;
  transition: all 0.8s ease;
}
.rt-card-side.back {
  border-radius: 20px;
  transform: rotateY(-180deg);
}
.rt-profile-front {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 365px;
  width: 240px;
  border-radius: 20px;
  box-shadow: 0 15px 15px LightGrey;
}
.rt-profile-back {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 365px;
  width: 240px;
  border-radius: 20px;
  box-shadow: 0 15px 15px LightGrey;
  & p {
    color: DimGrey;
  }
}
.border-white {
  width: 94%;
  height: 96%;
  background: transparent;
  border-radius: 16px;
  position: relative;
  border: 1px solid white;
}
.border-dark {
  width: 94%;
  height: 96%;
  background: transparent;
  border-radius: 16px;
  position: relative;
  border: 1px solid Grey;
}
.rt-icon {
  position: absolute;
  top: 295px;
  left: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flip-light {
  height: 45px;
  width: 45px;
  background-color: WhiteSmoke;
  border: 1px solid DimGrey;
  outline: 2px solid Whitesmoke;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  & i {
    color: DimGrey;
  }
}
.flip-dark {
  height: 45px;
  width: 45px;
  background-color: DimGrey;
  border: 1px solid WhiteSmoke;
  outline: 2px solid DimGrey;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  & i {
    color: WhiteSmoke;
  }
}
.rt-card-1 {
  background: url("https://moodleportfolio.com/pluginfile.php/368/mod_folder/content/0/teacher_1.jpg") 50% 50%
    no-repeat;
  background-size: 300px;
}
.gradient-1 {
  background-image: linear-gradient(
    48deg,
    WhiteSmoke 0%,
    LightCyan 45%,
    WhiteSmoke 100%
  );
}
.rt-profile-card .title {
  text-shadow: 2px 2px 2px #383b3c60;
}
.hr-line {
  border-top: 1px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, White, DimGrey, White) border-box;
}
.hv-profile-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 365px;
  width: 240px;
  border-radius: 20px;
  transition: background 0.8s;
  overflow: hidden;
  box-shadow: 0 15px 15px LightGrey;
}
.hv-card-1 {
  background: url("https://moodleportfolio.com/pluginfile.php/368/mod_folder/content/0/teacher_2.jpg") 50% 50%
    no-repeat;
  background-size: 300px;
}
.hv-card-1:hover {
  background: url("https://moodleportfolio.com/pluginfile.php/368/mod_folder/content/0/teacher_2.jpg") 40% 20%
    no-repeat;
  background-size: 500px;
  & .hv-card-details {
    bottom: 0px;
    -webkit-backdrop-filter: blur(5px);
  }
}
.hv-card-details {
  position: relative;
  padding: 20px;
  height: 100%;
  width: 100%;
  color: #fff;
  bottom: -105%;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.7);
  outline: 8px solid rgba(0, 0, 0, 0.7);
  transition: 0.35s ease;
}
.hv-card-description {
  font-weight: 200;
}
.detail-profile-container {
  width: 160px;
  aspect-ratio: 1 / 1.2;
  position: relative;
  padding: 0;
  margin: 20px;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  border-radius: 0 0 100vw 100vw;
  overflow: hidden;
  transform-origin: bottom;
  transition: transform 0.25s ease-in-out;
}
.profile-person {
  position: absolute;
  width: 185px;
  max-width: 120% !important;
  top: 20px;
  left: -8px;
  transition: transform 0.25s ease-in-out;
  border-radius: 0!important;
}
.profile-background {
  position: relative;
  top: 0px;
  left: 0px;
  width: 160px !important;
  max-width: 120% !important;
  border-radius: 50% !important;
  transition: transform 0.25s ease-in-out;
}
.detail-card {
  min-width: 280px;
  max-width: 650px;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 15px LightGrey;
  padding: 20px 20px;
  background-color: #f8f8f8;
  border: 1px solid LightGrey;
}
.detail-card-body {
  min-width: 250px;
  max-width: 450px;
}
.detail-card-text {
  font-weight: 200;
}
.detail-card-body .footer {
  color: DimGrey;
}
.detail-icon {
  text-align: center;
}
.profile-icon-link {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid DimGrey;
  border-radius: 50%;
  padding: 12px;
  margin: 5px;
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
  & i {
    color: DimGrey;
    transition: color 0.2s;
  }
  &:hover {
    border: 1px solid DodgerBlue;
    transform: scale(1.3);
    &:hover i {
      color: DodgerBlue;
    }
  }
}
.detail-card:hover .detail-profile-container {
  transform: scale(1.15);
}
.detail-card:hover .profile-person {
  transform: translateY(-10px);
}

/* Timelines */

.accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
}
.icon-timeline {
  padding: 25px;
  margin: 0 auto;
}
.accordion-icon-item {
  border-radius: 0;
  padding-left: 38px;
  padding-bottom: 20px;
}
.timeline-icon {
  position: absolute;
  left: -65px;
  color: DimGrey;
  background-color: White;
  border: 1px solid DimGrey;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
#icon-item-1-thin,
#icon-item-2-thin,
#icon-item-3-thin {
  border-left: 1.5px solid DimGrey;
}
#icon-tl-btn-1-thin:not(.collapsed) {
  color: DodgerBlue;
  background-color: White !important;
  border: 1px solid DodgerBlue;
  & .timeline-icon {
    color: DodgerBlue;
    border-color: DodgerBlue;
  }
  &::after {
    filter: invert(48%) sepia(32%) saturate(5795%) hue-rotate(192deg)
      brightness(101%) contrast(102%);
  }
}
#icon-tl-btn-2-thin:not(.collapsed) {
  color: Orange;
  background-color: White !important;
  border: 1px solid Orange;
  & .timeline-icon {
    color: Orange;
    border-color: Orange;
  }
  &::after {
    filter: invert(55%) sepia(61%) saturate(2557%) hue-rotate(2deg)
      brightness(105%) contrast(106%);
  }
}
#icon-tl-btn-3-thin:not(.collapsed) {
  color: HotPink;
  background-color: White !important;
  border: 1px solid HotPink;
  & .timeline-icon {
    color: HotPink;
    border-color: HotPink;
  }
  &::after {
    filter: invert(64%) sepia(35%) saturate(3888%) hue-rotate(296deg)
      brightness(102%) contrast(101%);
  }
}
#icon-tl-btn-1-thin.collapsed,
#icon-tl-btn-2-thin.collapsed,
#icon-tl-btn-3-thin.collapsed {
  border: 1px solid DimGrey;
}
#icon-item-1-light,
#icon-item-2-light,
#icon-item-3-light {
  border-left: 1.5px solid #c1c1c1;
}
#icon-tl-btn-1-light:not(.collapsed) {
  color: White;
  background-color: DodgerBlue;
  border: 1px solid DodgerBlue;
  border-radius: 0;
  & .timeline-icon {
    background-color: DodgerBlue;
    border-color: DodgerBlue;
    color: White;
  }
  &::after {
    filter: invert(100%) brightness(200%);
  }
}
#icon-tl-btn-2-light:not(.collapsed) {
  color: White;
  background-color: Orange;
  border: 1px solid Orange;
  border-radius: 0;
  & .timeline-icon {
    background-color: Orange;
    border-color: Orange;
    color: White;
  }
  &::after {
    filter: invert(100%) brightness(200%);
  }
}
#icon-tl-btn-3-light:not(.collapsed) {
  color: White;
  background-color: HotPink;
  border: 1px solid HotPink;
  border-radius: 0;
  & .timeline-icon {
    background-color: HotPink;
    border-color: HotPink;
    color: White;
  }
  &::after {
    filter: invert(100%) brightness(200%);
  }
}
#icon-tl-btn-1-light.collapsed,
#icon-tl-btn-2-light.collapsed,
#icon-tl-btn-3-light.collapsed {
  border: 1px solid #eaeaea;
  border-radius: 0;
  background-color: #eaeaea;
  & .timeline-icon {
    background-color: #eaeaea;
    border-color: #eaeaea;
  }
}
#icon-item-1-dark,
#icon-item-2-dark,
#icon-item-3-dark {
  border-left: 1.5px solid DimGrey;
}
#icon-tl-btn-1-dark:not(.collapsed) {
  color: White;
  background-color: DodgerBlue;
  border: 1px solid DodgerBlue;
  border-radius: 0;
  & .timeline-icon {
    background-color: DodgerBlue;
    border-color: DodgerBlue;
    color: White;
  }
  &::after {
    filter: invert(100%) brightness(200%);
  }
}
#icon-tl-btn-2-dark:not(.collapsed) {
  color: White;
  background-color: Orange;
  border: 1px solid Orange;
  border-radius: 0;
  & .timeline-icon {
    background-color: Orange;
    border-color: Orange;
    color: White;
  }
  &::after {
    filter: invert(100%) brightness(200%);
  }
}
#icon-tl-btn-3-dark:not(.collapsed) {
  color: White;
  background-color: HotPink;
  border: 1px solid HotPink;
  border-radius: 0;
  & .timeline-icon {
    background-color: HotPink;
    border-color: HotPink;
    color: White;
  }
  &::after {
    filter: invert(100%) brightness(200%);
  }
}
#icon-tl-btn-1-dark.collapsed,
#icon-tl-btn-2-dark.collapsed,
#icon-tl-btn-3-dark.collapsed {
  color: White;
  border: 1px solid DimGrey;
  border-radius: 0;
  background-color: DimGrey;
  & .timeline-icon {
    color: White;
    background-color: DimGrey;
    border-color: DimGrey;
  }
  &::after {
    filter: invert(100%) brightness(200%);
  }
}
@media (hover: hover) {
  #details-1-thin:hover::before {
    background-color: Dodgerblue;
    outline-color: Dodgerblue;
  }
  #details-2-thin:hover::before {
    background-color: Orange;
    outline-color: Orange;
  }
  #details-3-thin:hover::before {
    background-color: HotPink;
    outline-color: HotPink;
  }
  #details-1-light:hover::before {
    background-color: Dodgerblue;
    outline-color: Dodgerblue;
  }
  #details-2-light:hover::before {
    background-color: Orange;
    outline-color: Orange;
  }
  #details-3-light:hover::before {
    background-color: HotPink;
    outline-color: HotPink;
  }
  #details-1-light:hover::before {
    background-color: Dodgerblue;
    outline-color: Dodgerblue;
  }
  #details-2-light:hover::before {
    background-color: Orange;
    outline-color: Orange;
  }
  #details-3-light:hover::before {
    background-color: HotPink;
    outline-color: HotPink;
  }
  #details-1-light:hover::before {
    background-color: Dodgerblue;
    outline-color: Dodgerblue;
  }
  #details-2-light:hover::before {
    background-color: Orange;
    outline-color: Orange;
  }
  #details-3-light:hover::before {
    background-color: HotPink;
    outline-color: HotPink;
  }
  #details-1-dark:hover::before {
    background-color: Dodgerblue;
    outline-color: Dodgerblue;
  }
  #details-2-dark:hover::before {
    background-color: Orange;
    outline-color: Orange;
  }
  #details-3-dark:hover::before {
    background-color: HotPink;
    outline-color: HotPink;
  }
  #icon-tl-btn-1-thin:hover .timeline-icon {
    color: Dodgerblue;
    border-color: Dodgerblue;
  }
  #icon-tl-btn-2-thin:hover .timeline-icon {
    color: Orange;
    border-color: Orange;
  }
  #icon-tl-btn-3-thin:hover .timeline-icon {
    color: HotPink;
    border-color: Hotpink;
  }
  #icon-tl-btn-1-light:hover .timeline-icon {
    color: White;
    background-color: Dodgerblue;
    border-color: Dodgerblue;
  }
  #icon-tl-btn-2-light:hover .timeline-icon {
    color: White;
    background-color: Orange;
    border-color: Orange;
  }
  #icon-tl-btn-3-light:hover .timeline-icon {
    color: White;
    background-color: HotPink;
    border-color: HotPink;
  }
  #icon-tl-btn-1-dark:hover .timeline-icon {
    color: White;
    background-color: Dodgerblue;
    border-color: Dodgerblue;
  }
  #icon-tl-btn-2-dark:hover .timeline-icon {
    color: White;
    background-color: Orange;
    border-color: Orange;
  }
  #icon-tl-btn-3-dark:hover .timeline-icon {
    color: White;
    background-color: HotPink;
    border-color: Hotpink;
  }
}
.dialog-tl-item {
  width: 50px;
  height: 50px;
  color: Whitesmoke;
  padding: 0;
  position: relative;
  z-index: 1;
  background-color: DimGrey;
  border: 5px solid White;
  border-radius: 50%;
  box-shadow: 4px 4px 12px Lightgrey;
  & > i {
    pointer-events: none;
  }
}
.dialog-btn-wrapper {
  transition: scale 0.3s ease;
  z-index: 2;
}
#dialog-btn-1::after {
  content: "1991";
  position: absolute;
  color: Dimgrey;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}
#dialog-btn-2::after {
  content: "2001";
  position: absolute;
  color: Dimgrey;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}
#dialog-btn-3::after {
  content: "2020";
  position: absolute;
  color: Dimgrey;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}
.dialog-image {
  margin-bottom: 10px;
  border: 8px solid White;
  box-shadow: 0px 0px 20px 5px Lightgrey;
}
.timeline-dialog::part(body) {
  pointer-events: none;
}
.timeline-dialog::part(header) {
  pointer-events: none;
}
.timeline-dialog::part(close-button) {
  pointer-events: auto;
}
.timeline-dialog::part(dialog)::backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}
.dialog-btn-wrapper:hover {
  scale: 1.2;
}
.dialog-tl-item:hover {
  background-color: Dodgerblue;
}
.dialog-active {
  background-color: dodgerblue;
}
.tl-line {
  position: absolute;
  z-index: 0;
}
.tl-line::before {
  content: "";
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  position: absolute;
  background-color: DimGrey;
}
.tl-line::after {
  font: var(--fa-font-solid);
  font-size: 16px;
  color: DimGrey;
  content: "\f04b";
  position: absolute;
}
@media only screen and (max-width: 600px){
  .tl-flex-direction {
    flex-direction: column;
    height: 420px;
  }
  .tl-line {
    height: 420px;
    border-left: 2px dashed Dimgrey;
    top: 0;
    left: 50%;
  }
  .tl-line::before {
    top: 0;
    left: -7px;
  }
  .tl-line::after {
    top: 100%;
    left: -8px;
    rotate: 90deg;
  }
  .dialog-tl-item::after {
    top: 8px;
    left: 60px;
  }
}
@media only screen and (min-width: 600px) {
  .tl-flex-direction {
    flex-direction: row;
  }
  .tl-line {
    width: 96%;
    height: 2px;
    top: 50%;
    left: 0;
    border-top: 2px dashed Dimgrey;
  }
  .tl-line::before {
    top: -7px;
    left: 0px;
  }
  .tl-line::after {
    top: -9px;
    left: 100%;
  }
  .dialog-tl-item::after {
    top: 60px;
    left: 0px;
  }
}