/* CAUTION: your webbrowser can store these static files in its cache. So in order for applied changes to
the css file to take effect you may need to clear the cache. Or CTRL+f5 to reload without cached files.*/

/* MEDIA QUERIES MUST BE DECLARED AFTER THE NORMAL CSS IS DECLARED */
/* @font-face {
  font-family: 'montserrat';
  src: url("/static/fonts/montserrat/Montserrat-Thin.4b73d125bab5.ttf");
} */

html, body {
	margin: 0;
	padding: 0;
  /* position: absolute;
  width: 100vw; */
  /* height: 100%; */
  /* display: flex;
  flex-direction: column; */

  font-family:montserrat;
  /* overflow-x: scroll; */

  /* width: 100%;  */
  /* background-color: #fff; */

  height: 100%;
  /* border: #000; */
}

:root {
  --nova-purple: #53f;
  --nova-purple-decimal: 85, 51, 255;
  --nova-dark-purple: #00004a;
  --nova-dark-purple-decimal: 0, 0, 74;
  --nova-light-blue: #05d5ff;
  --nova-hot-pink: rgb(255, 43, 170);
  --background-grey: rgb(232, 232, 232);
  --btn-pill-color: white;

  --tutor-card-height: 12em;

  --off-white-background: rgb(251, 251, 251);

  --space-below-header: 75px;

  --index-tickmark-row-line-height: 1.5;
  --index-tickmark-text-font-size: 1.14em;
  --index-tickmark-height: 1em;
  /* Margin top and bottom places tickmark exactly in center of text line*/
  --index-tickmark-svg-margin-tb: calc((var(--index-tickmark-text-font-size)*var(--index-tickmark-row-line-height) - var(--index-tickmark-height)) / 2);  

}

  /* body > .site-header{
  flex: 0 1 auto;
}
body > .body-content{
  flex: 1 1 auto;
}
body > .site-footer{
  flex: 0 1 auto;
} */

/* DEBUGGING */
/* * { border: 1px solid red !important; } */
  
main {
  margin: 0;
  padding: 0;
  z-index: 1;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--nova-dark-purple);
}
h1.strong, h2.strong, h3.strong, h4.strong, h5.strong, h6.strong {
  font-weight: 700;
}
h1.underline, h2.underline, h3.underline, h4.underline, h5.underline, h6.underline {
  border-bottom: 1px var(--nova-dark-purple) solid;
}

.white-text {
  color: white
}
.background-blur {
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  filter: blur(0);
}
.fill-all {
  width: 100%;
  height: 100%;
}

#global-you-are-a-tutor-container-id{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.global-you-are-a-tutor-label {
  background-color: #F50C5A;
  padding: 2px;
  font-size: 0.8em;
  font-weight: 200;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.hyphens {
  hyphens: auto;
}

.section-wrapper {
  /* border: black solid 50px; */
  /* display: flex;
  flex-flow: column;
  overflow: hidden; */

  /* Needs to have a large height as this is where the cool blur effect will run to */
  height: 60%;
  width: 100%;
  /* height: 50%;
  width: 100%; */

  padding: 0;
  margin: 0;
  position: absolute;
  overflow-x: hidden;
  z-index: -1;
  /* border: 2px red solid; */
}

.block {
  /* display: flex;
  flex-flow: column; */
  z-index: -999;
  display: block;
  width: 100%;
  height: 80px;
  background: linear-gradient(150deg, #53f 15%, #05d5ff 70%, #a6ffcb 94%);
  position: absolute;
  top: 0;
  /* right: 0;
  bottom: 0;
  left: 0; */
  /* transform: skewY(-12deg);  */
  transform-origin: 0;

  padding: 30px;
}

.block span {
  height: 80px;
  position: absolute;
  border-radius: 1%;
}
@keyframes traverseScreen {
  0% {
    left: calc(calc(calc(100% / 3) / 2) * -1);
    bottom: 100%;
  }
  50% {
    left: 0%;
    bottom: 10%;
  }
  100% {
    bottom: 0;
    right: 0;
    background: rgba(177, 162, 254, 0.172);
  }
}
@keyframes traverseScreen2 {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}
@keyframes traverseScreen3 {
  0% {
    bottom: 100%;
    right: 50%;
  }
  60% {
    bottom: 0%;
  }
  80% {
    right:0;
  }
  100% {
    right:0;
    bottom: 50%;
  }
}
@keyframes opacity {
  0% {
    opacity: 0;
  }
  70% {
    opacity: 0.4;
    left: 60%;
  }
  100% {
    opacity: 0;
    border-radius: 50%;
    left: 60%;
  }
}

.block span:nth-child(1) {
	width: 33.3%;
	width: calc(100% / 3);
	left: calc(calc(calc(100% / 3) / 2) * -1);

	background: #53f;
  animation: traverseScreen 30s infinite alternate;

  z-index: 10;
}
.block span:nth-child(2) {
	width: calc(100% / 3);
	top: 0;
	left: calc(100% / 6) ;
	right: auto;
	background: #4553ff;
}
.block span:nth-child(3) {
	width: calc(100% / 3);
	right: 50%;
  /* transform: translate(-50%); */
	bottom: auto;
	background: #4f40ff;
  animation: traverseScreen3 24s infinite alternate;

}
.block span:nth-child(4) {
	width: 300px;
  height: 200px;
  border-radius: 10%;
	top: 0;
	left: 50%;
  transform: translate(0, -50%); 
  opacity: 0;
  animation: opacity 10s linear  1s forwards;
	background: #00fffb;
}
.block span:nth-child(5) {
	width: calc(100% / 3);
  height: 20px;
	bottom: 0;
  animation: traverseScreen2 40s infinite alternate;
	background: #1fa2ff;
}


a {
  text-decoration: none;
}
ul {
  margin: 0;
}

/* .bg-steel {
  background-color: transparent;
} */

header {
  transition: background-color 0.3s ease;
  background-color: transparent;
  /* background-color: #53f; */
  width: 100vw;
  /* height: 75px; */
  /* max-height: 10vh; */
  position: fixed;
  top: 0;
  margin: 0;
  padding: 0;
  text-align: center;
  z-index: 10;

  /* flex: 0 1 auto; */

}

/* This shit is important as it needs to be purple for mobile! */
.spacer-below-header{
  height: 75px;
}

/* #navbar {
  padding: 0;
} */

.site-header .navbar-nav .nav-link {
  color: #fff;
}

.site-header .navbar-nav .nav-link.navbar-linkage{
  color: #000 !important;
}
.navbar-brand.me-4.navbar-linkage{
  color: #000 !important;
}

#navbar-toggler-btn {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 5px 10px 5px 10px;
}

#navbar-toggler-icon{
  color: white;
  position: relative;

}

.navbar-lh .nav-item.nav-link {
  padding-left: 1em;
}

.navbar-rhside{
  background: rgba(255, 255, 255, 0.4);
  border-radius: 40px;
}

.navbar-rhside .nav-item.nav-link {
  padding: 8px;
}

.navbar-rhside .user-initials {
  border-radius: 40px;
  margin-left: 0.2em;
}
.navbar-rhside .nav-item.nav-link{
  color: rgb(39, 39, 39);
}
.login-reg-container {
  flex-direction: column;
}
@media screen and (max-width: 800px) {
  .login-reg-container {
    display: none;
  }
}


/* hamburger */
.hamburger-menu-icon{
  fill: white;
}

.nav-item.nav-link{
  font-weight: 500;
  
}

/* desktop hamburger/profile button */
:root {
  --burger-line-width: 18px;
  --burger-line-height: 2px;
  --burger-line-margin: calc(var(--burger-line-width)*5/50);
  --burger-translate: calc( var(--burger-line-height) + 2 * var(--burger-line-margin));
}
.navbar-profile{
  /* height: 40px; */
  padding: 4px;
  padding-left: 8px;
  border-radius: 40px;
  /* background-position: 0 -100%;  */
  /* background-repeat: repeat-x; */
  transition: background-color 0.15s linear;

}

#navbar-profile-wrapper-id.active{
  background-color: rgb(240,240,240);
}
#navbar-profile-wrapper-id:hover{
  -webkit-box-shadow: 0px 0px 2px 0px rgba(255,255,255,0.4);
  -moz-box-shadow: 0px 0px 2px 0px rgba(255,255,255,0.4);
  box-shadow: 0px 0px 2px 0px rgba(255,255,255,0.4);
}

.navbar-profile:hover{
  cursor: pointer;
  background-color: var(--nova-purple);
  /* background-position: 100% 100%; */
  
}
.navbar-profile:hover .hamburger .hb-line{
  background-color: white;
}


.navbar .hamburger {
  padding: 4px;
}

.user-initials {
  width: 3em;
  /* width: 2.6em; */
  /* height: 2.6em; */
  background-color: var(--nova-purple);
  color: white;
  font-size: 0.9em;
  font-weight: 600;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hamburger .hb-line{
  width: var(--burger-line-width);
  height: var(--burger-line-height);
  background-color: var(--nova-dark-purple);
  display: block;
  margin: var(--burger-line-margin) auto;
  -webkit-transition: transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, background-color 0.1s;
  border-radius: 8px;
}



#hamburger-1.is-active .hb-line:nth-child(2){
  opacity: 0;
}

#hamburger-1.is-active .hb-line:nth-child(1){
  /* -webkit-transform:  rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -o-transform: translateY(13px) rotate(45deg); */
  transform: translateY(var(--burger-translate)) rotate(45deg);
  /* transform: rotate(45deg); */
}

#hamburger-1.is-active .hb-line:nth-child(3){
  /* -webkit-transform: translateY(-13px) rotate(-45deg);
  -ms-transform: translateY(-13px) rotate(-45deg);
  -o-transform: translateY(-13px) rotate(-45deg); */
  transform: translateY(-9px) rotate(-45deg);
  transform: translateY(calc(-1*var(--burger-translate)))  rotate(-45deg);
}

/* Popup from desktop profile navbar click */
.profile-nav-popup {
  position: absolute;
  top: 100%;
  right: 0%;
  min-width: 18em;
  margin-top: 0.8em;
  /* margin-right: 2em; */
  padding: 1em;
  background-color: white;
  border-radius: 16px;

  -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,1);
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,1);
}

.profile-nav-popup .nav-item.nav-link {
  width: 100%;
  text-align: start;
  /* font-weight: 400; */
  padding: 0.3em 1em 0.3em 1em;

  font-size: 0.9em;
  font-weight: 500;
  color: var(--nova-dark-purple);
  cursor: pointer;
  border-radius: 1em;
  transition: background-color 0.15s ;

}

@media screen and (max-width:600px) {
  .profile-nav-popup {
    position: fixed;
    top: var(--space-below-header);
    left: 50%;
    transform: translate(-50%);
    width: 90%;
    min-width: none;
    overflow: auto;
    max-height: 80vh;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,1), 0px 0px 100px 100vw rgba(0,0,0,0.4);

  }
  .profile-nav-popup .nav-item.nav-link {
    padding-top: 0.8em;
    padding-bottom: 0.8em;
  }
}

.profile-nav-popup .nav-item.nav-link.smaller-text{
  /* font-size: 0.85em; */
  font-weight: 400;
}
.profile-nav-popup .nav-item:hover {
  background-color: #eee;
  color: #000;
}

/* svg icons in nav */
.profile-nav-popup .nav-item.nav-link .icon{
  max-height: 1.5em;
  width: 1.5em;
  margin-right: 1em;

  fill: var(--nova-dark-purple);
}

/* smaller text icons */
.profile-nav-popup .nav-item.nav-link.smaller-text .icon{
  max-height: 1.2em;

  width: 1.2em;
}

.profile-nav-popup .line{
  width: 100%;
  height: 1px;
  background-color: #000;
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

#modal-nav-menu {
  padding: 0;
}

.nav-menu-modal-body {
  justify-content: center;
  align-items: stretch;
}
.nav-item-modal {
  border-bottom: #eee solid 1px;
  text-align: center;
  padding: 1em;
  color: rgb(41, 41, 41);
}

.nav-item-modal:hover {
  color: black;
  background: rgb(240, 240, 240);
}

.nav-item-modal:nth-of-type(1){
  border-top: #eee solid 1px;
}
.nav-item-modal:nth-last-of-type(1){
  /* value from bootstrap modal */
  border-bottom: 0.5em;
  border-radius: inherit;
}

/* .fill-white {
}

.fill-black {
  fill: black;
} */
header.active, nav.active {
  transition: background-color 0.3s ease;
  background-color: #fff;
  opacity: 0.98;
  /* opacity: 1; */
  box-shadow: 0 3px 5px 0.3px rgba(0,0,0,0.1);
  color: black !important;
}

header.active2 {
  transition: background-color 0.3s ease;
  background-color: #12BAFF;
  opacity: 1;
  box-shadow: 0 3px 5px 0.3px rgba(0,0,0,0.1);
}

.site-header .navbar-nav .nav-link:hover {
  opacity: 0.6;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  /* margin-right: 20px;
  margin-bottom: 16px; */
}

.account-heading {
  font-size: 2.5rem;
}

.main-page-img {
    max-width: 100%;
}

/* ////////// */
.page-wrapper {
  margin: 0;
  /* border: #000 5px solid; */
  padding: 0;
  width: 100%;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: none;
}
/* UTILITY CLASSES */

/* ///////////////////////////////////////// */

/* DIsplay */

.inline-block {
  display: inline-block;
}

.nova-purple {
  color: #53f;
}

/* FLexbox stuff */

.flexbox, .flexbox.show {
  display: flex;
}

.col {
  flex-direction: column;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}
.flex-row-reverse, .flex-row.reverse {
  flex-direction: row-reverse;
}

.center {
  justify-content: center;
  align-items: center;
}

.stretch {
  align-self: stretch;
}
.as-end {
  align-self: flex-end;
}

.jc-center {
  justify-content: center;
}
.jc-start {
  justify-content: flex-start;
}
.jc-end {
  justify-content: flex-end;
}
.jc-sa {
  justify-content: space-around;
}
.jc-sb {
  justify-content: space-between;
}
.jc-se {
  justify-content: space-evenly;
}

.ai-center {
  align-items: center;
}
.ai-stretch {
  align-items: stretch;
}
.ai-end {
  align-items: flex-end;
}
.ai-start {
  align-items: flex-start;
}

.as-stretch {
  align-self: stretch;
}
.as-start {
  align-self: start;
}
.as-center {
  align-self: center;
}
/* Borders */
.red-border {
  border: 2px red solid;
}
.black-border {
  border: 2px black solid;
}
.yellow-border {
  border: 2px yellow solid;
}
.green-border {
  border: 2px green solid;
}
.blue-border {
  border: 2px blue solid;
}

.white-background {
  background: white;
}
.off-white-background {
  background: rgb(251, 251, 251);
}

.show{
  display: block;
}
.hide{
  display: none;
}

.hide.large-screen-flex, .hide.large-screen, .hide.small-screen, .hide.small-screen-flex{
  display: none;
}
.invisible{
  visibility: hidden;
  position: absolute;
}
.vis-hidden{
  visibility: hidden;
}

.transparent {
  opacity: 0;
}

.hover-pointer:hover{
  cursor: pointer;
}

.shadow-light {
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
}
.shadow-heavy {
  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.8);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.8);
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.8);
}

.curved-border-4px {
  border-radius: 4px;
}

.smooth-transition {
  transition: all 0.1s ease-in-out;
}

.selected-background {
  background-color: #ddd;
}
/* END OF UTILITY CLASSES */

/* .wave-divider {
  
} */

/* /////////////////////////// */
/* Login/register */
/* /////////////////////////// */

/* Holds entire sign-in card */
.sign-in-form-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 600px) {
  .sign-in-form-container {
    padding: 1em;
  }
}

/* Container for img, text, email and password inputs */
.login-form-container {
  padding: 10px;
  align-items: center;
}

/* sign-in-logo image */
.sign-in-logo-img{
  max-width: 260px;
  padding-bottom: 1em;
  width: 76%;
  /* margin: 4px; */
}

.subject-select-register {
  border: #00004a 1px solid;
  border-radius: 4px;
  padding: 4px;

  max-height: 10em;

}
.subject-select-register label {
  padding: 0.6em;
  font-weight: 500;
  align-self: center;
  margin: 0;
  cursor: pointer;
}
.subject-select-register label:hover {
  background-color: #eee;
}

.subject-select-register label.checked{
  background-color: #ddd;
}

.pop-up {
  background-color: #fff;
  width: calc(100% + 2px);
  /* box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.4); */
  transition: all 0.1s linear;
  opacity: 1;
  z-index: 1;

  top: 100%;
  left: -1px;
  right: 0;
}

.pop-up.removed{
  opacity: 0;
}

.uni-selection {
  box-sizing: border-box;

  border: 1px #ced4da solid;
  /* width: 100%; */
  align-self: stretch;
  padding: 1rem 0.75rem;
  border-radius: 0.375rem;

  margin: 0.2em 0 0.2em 0;
  transition: all 0.1s linear;
}

.remove-curved-bottom-radius {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.pop-up-list-container {
  transition: 0.1s linear all;
}
.down-arrow {
  fill: var(--nova-dark-purple);
  width: 1em;
  transform: rotate(90deg);
}
.pop-up-list-container {
  box-sizing: border-box;

  max-height: 14em;
  border: 1px #ced4da solid;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
#university-list-container-id input:checked + label {
  background-color: #ddd;
}
#subject-list-container-id label.checked {
  background-color: #ddd;
}



.pop-up-list-container label {
  font-weight: 500;
  padding: 1em;
}
.pop-up-list-container label:hover {
  background-color: #eee;
}

.custom-date-picker {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  text-align: center;
  width: 60%;

  padding: 0.6em 0.4em 0.6em 0.4em;
  border: var(--nova-purple) 1px solid;

  color: var(--nova-dark-purple);
  /* color: #666; */
  border-radius: 0.2em;
  position: relative;
  font-weight: 500;
}

input[type="date"].custom-date-picker::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}
/* Please sign in txt */
.sign-in-text {
  margin: 10px;
  padding: 8px;

  font-size: 2em;
}

.form-floating {
  margin: 0.2em 0 0.2em 0;
}

.form-control{
  transition: box-shadow 0.15s ease-in-out;
  border: none;
  box-shadow: 0 0 0 1px #999;
}
.form-control:focus{
  box-shadow: 0 0 0 1px rgba(var(--nova-purple-decimal), 1), 0 0 6px 0 rgba(var(--nova-purple-decimal), 0.94);
}

.form-control.error {
  box-shadow: 0 0 0 1px red;
}

.i-icon-container {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin: 0.2em;
  margin-right: 0;
  margin-bottom: 0;

}
.lessons.i-icon-container {
  top: 0;
  left: 100%;
  bottom: auto;
  right: auto;
  margin-top: 0;
  margin-left: 0.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  /* transform: translate(-100%); */
}

.i-icon {
  width: 1em;
  fill: #888;
  cursor: pointer;
}
.lessons .i-icon {
  width: 0.6em;
}
.i-icon:hover{
  fill: #999;
}

.show-on-hover.uni-additional-info {
  background-color: #fdfdfd;
  padding: 1em;
  margin: 0.4em;
  margin-right: 0;

  width: 20em;
  border-radius: 4px;

  right: 0;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 1);

  z-index: 2;
}

.show-on-hover.tutor-client-notes-popup{
  background-color: #fdfdfd;
  padding: 1.4em;
  margin: 0.4em;
  margin-right: 0;

  width: 20em;
  max-width: 60vw;
  border-radius: 4px;

  font-size: medium;
  left: 0;
  top: 0;

  transform: translate(-50%, 0);
  box-shadow: 0 0 2px 0 var(--nova-dark-purple);

  z-index: 2;
}

/* .show-on-hover.tutor-client-notes-popup .edit-btn{
  width: 50%;
} */

@media screen and (max-width: 450px) {

  .show-on-hover.uni-additional-info {
    width: 12em;
  }
  
}
/* Form errors */
ul.errorlist  {
  margin: 0.2em 0 0.2em 0;
  font-size: 0.8em;
  color: red;
}
.form-signin .form-floating:focus-within {
  z-index: 2;
}

.field-wrapper {
  position: relative;
  align-self: stretch;
}

.field-wrapper.as-center {
  align-self: center;
}

.form-floating.field-wrapper.country_code {
  width: 18%;
}
.form-floating.field-wrapper.country_code .phone_number_country_code_widget{
  width: 100%;
}

.form-floating.field-wrapper.phone_number {
  max-width: 78%;
}
.register-field {
  padding: 0;
  margin: 20px;
}
.login-form-label {
  color: #777;
}

/* #id_phone_number.login-form-input {
  margin-left: 1em;
} */

#reset-pwd-link {
  margin: 8px;
}

.form-header-container {
  text-align: center;
}

/* //////////////////////////////////// */
/* Landing Page */
/* //////////////////////////////////// */


@keyframes text_rotation_first_iteration {
  
  20% {
    transform: rotateX(0deg);
    opacity: 1;
  }
  50% {transform: rotateX(0deg);
  }
  70% {
    transform: rotateX(-30deg);
    opacity: 1;
  }
  96% {
    opacity: 0;
  }  
  100% {
    transform: rotateX(90deg);
    opacity: 0;

    }
}

@keyframes text_rotation {
  0% {
    transform: rotateX(-50deg);
    opacity: 0;
  }
  2% {
    opacity: 0;
  }
  20% {
    transform: rotateX(0deg);
    opacity: 1;
  }
  60% {transform: rotateX(0deg);
  }
  /* 60% {
    transform: rotateX(-30deg);
    opacity: 1;
   } */
  
  /* 80% {
    transform: rotateX(-30deg);
    opacity: 1;
  }  */
  70% {
    transform: rotateX(-30deg);
    opacity: 1;
  }
  96% {
    opacity: 0;
  }  
  /* 90% {
    transform: rotateX(85deg);
    color: orange;
  } */
  98% {
    transform: rotateX(90deg);
    /* opacity: 0.3; */
    /* color: #333; */
    }
  100% {
    transform: rotateX(90deg);
    opacity: 0;
  }
}

.landing-page-subject-cycle {
  color: rgb(255, 0, 89);
  display: inline-block;
  animation: text_rotation_first_iteration 2s linear;
  animation-delay: 1.6s;
  transform-origin: bottom;
  min-width: 8em; 
  text-align: start;
  font-weight: 700;
}

.subject-cycle-animation {

  animation: text_rotation 2s linear infinite;
  transform-origin: bottom;
}

.back-btn-lead-form{
  color: #53f;
}
.back-btn-lead-form:hover{
  color: rgb(76, 48, 220);
  cursor: pointer;
}
.back-btn-lead-form:active{
  color: rgb(70, 44, 200);
}

.back-btn-lead-form:hover svg{
  fill: rgb(76, 48, 220);
}
.back-btn-lead-form:active svg{
  fill: rgb(70, 44, 200);
}

.soft-btn {
  background-color: white;
  border-radius: 0.2em;
  border: 1px solid rgb(213, 213, 213);
  margin: 0.4em;
  padding: 0.4em;
  color: rgb(94, 94, 94);
  font-weight: 400;
  font-size: 0.9em;
}

.soft-btn:hover {
  border-color: rgb(153, 153, 153);
  background-color: rgb(240, 240, 240);
}

.soft-btn .follow-link-arrow-icon {
  fill: rgb(144, 144, 144);
}

/* LANDING PAGE SECTIONS */
.lp-section {
  --padding-lr: 10%;
  --padding-t: 6em;
  --padding-b: 4em;
  padding: var(--padding-t) var(--padding-lr) var(--padding-b) var(--padding-lr);
}

@media only screen and (max-width: 600px) {
  .lp-section {
    --padding-lr: 4%;
    padding-left: var(--padding-lr);
    padding-right: var(--padding-lr);
  }
}
.lp-section.alt {
  background-color: rgb(250,250,255);
}
.lp-section h2, .section-carousel h2{
  font-size: 4.8em;
  font-weight: 600;
  color: #00004a;
}
.lp-section.minor h2 {
  font-size: 3em;
}
.lp-section p{
  font-size: 2.4em;
  font-weight: 500;
}

.lp-section.minor p {
  font-size: 1.2em;
  font-weight: 500;

}

.swiper-button{
  margin: 1em;
  padding: 0.6em;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.name-subject-stars-container {
  padding: 0 0.2em 0 0.5em;
  margin-left: 0.5em;
  height: 80px;
  width: 6em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.wrap-text {
  white-space: wrap;
  overflow: hidden;
}
.name-subject-stars-container .tutor-name, .name-subject-stars-container .tutor-subject {
  width: 100%;
  /* border: 1px red solid; */
}

.name-subject-stars-container .tutor-name{
  font-size: large;
  font-weight: 800;
}

.opaque {
  opacity: 0;
}

.hidden-then-fade-in {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transition: opacity 0.12s linear;
}
.hidden-then-fade-in.fixed {
  position: fixed;
}



.hidden-then-fade-in.show{
  opacity: 1;
  visibility: visible;

  z-index: 2;
}

.swiper-slide-content {
  padding: 1.6em;
  padding-bottom: 0.6em;
}


.swiper-slide-content p {
  margin: 0;
}

.lp-review .tutor-subject {
  height: 2em;
  font-size: 0.8em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@keyframes background-color-on-click {
  0% {
    background-color: transparent;
  }
  100% {
    background-color: rgba(51, 255, 238, 1);
  }
}
@keyframes background-color-on-mouse-up {
  0% {
    background-color: rgba(51, 255, 238, 1);
  }
  100% {
    background-color: transparent;
  }
}

.swiper-button:active{
  animation: background-color-on-click 0.3s forwards;
}

.swiper-button-remove-background{
  animation: background-color-on-mouse-up 0.5s forwards;

}
.lp-review-arrow-icon{
  width: 2.5em;
  height: 2.5em;
}



@media only screen and (max-width: 961px) {
  .lp-section h2, .section-carousel h2{
    font-size: 2.8em;
  }
}
@media only screen and (max-width: 961px) {
  .lp-section h2, .section-carousel h2{
    font-size: 2.8em;
  }
  .lp-section p{
    font-size: 1.6em;
  }

}

/* swiper */
/* Mobile */
.mobile-reviews-swiper {
  width: 240px;
  height: 50vh;
}
.mobile-reviews-swiper .swiper-slide{
  background-color: white;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.7);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.7);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.7);
}

/* Desktop */
.swiper.desktop-reviews-swiper {
  /* padding: 3em 3em 3em 2em; */
  padding: 5em;
  margin-top: 2em;
  width: 100%;
  /* height: 27em; */
  height: 30em;
}

.section-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  --padding-t: 6em;
  --padding-b: 4em;
  padding: var(--padding-t) 0 var(--padding-b) 0;

  background-color: rgb(var(--nova-purple-decimal), 0.06);
}




.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  color: black;

  cursor: grab;
  min-width: 12em;

  background-color: white;

  /* -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.7);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.7);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.7); */
}

.swiper-slide:active {
  cursor: grabbing;
}

.square {
  width: 50%;
}

.square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
/* Review Cards on carousel */
.circle-img-wrapper{
  border-radius: 50%;
  overflow: hidden;
}
/* container for tutor review */
.review-tutor-img {
  border-radius: 0.5em;
}
/* tutor image on review carousel */
.square-container{
  width: 100%;
  padding-bottom: 100%;
  max-height: 100%;
  position: relative;
  overflow: hidden;

}

.square-container img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Review card */
/* parent name and date container */
.parent-name-date-container {
  padding-left: 1em;
  padding-right: 1em;
}
.parent-name-date-container p{
  margin: 0;
}
.swiper-slide-content .parent-name, .swiper-slide-content .review-date {
  font-weight: 600;
  text-align: center;
  font-size: 0.9em;
  color: #555;

}

/* stars container */
.lp-review .stars-wrapper{
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  /* border: red 1px solid; */
  width: 80%;
}

.rating-star-img-landing-page {
  width: 18%;
  max-width: 1.2em;
}

.swiper-slide-content p.review-content {
  /* This is what we need */
  flex-grow: 1; 
  /* border: 1px red solid; */


  margin: 0;
  /* white-space: normal; */
  
  margin-top: 1em;
  margin-bottom: 1em;
  
  --text-min-height: 8em;
  --text-max-lines: 5;

  min-height: var(--text-min-height);
  max-height: var(--text-min-height);
  line-height: calc(var(--text-min-height) / var(--text-max-lines));

  font-size: 0.9em;
  font-weight: 500;
  color: #222;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: var(--text-max-lines);
  -webkit-line-clamp: var(--text-max-lines);
  overflow: hidden;
}

@media only screen and (max-width: 1100px) {
  .desktop-reviews-swiper .swiper-slide-content {
    padding: 0.4em;
    padding-bottom: 0.2em;
  }
  .desktop-reviews-swiper .swiper-slide-content p.review-content {
    padding-left: 1em;
    padding-right: 1em;
  }
}
/* mobile */
.mobile-reviews-swiper .swiper-slide-content p.review-content {
  --text-height: 10em;
  --text-max-lines: 6;

  /* height: var(--text-height); */
  max-height: var(--text-height);
  min-height: var(--text-height);
  line-height: calc(var(--text-height) / var(--text-max-lines));
  line-clamp: var(--text-max-lines);
  -webkit-line-clamp: var(--text-max-lines);

}

/* //////////////////////////////////// */
/* Lessons */
/* //////////////////////////////////// */
#lesson-page-container {
  background: white;
  justify-content: center;

  text-align: center;
  margin-top: 0;
  padding: 60px;

  width: 100%;

}

.calendar-btn-container, .btn-pill.dark.calendar-btn-container {
  align-items: center;
  padding-left: 1em;
  padding-right: 1em;
  /* min-width: 9em; */
}
.calendar-btn-container .icon {
  fill: white;
  /* background-color: rgb(250, 250, 250); */
  width: 1.1em;
  /* margin-right: 0.8em; */
  margin-left: 0.8em;
  align-self: stretch;
}

/* Hide edit/delete buttons in the event details PopUp */
.toastui-calendar-popup-section.toastui-calendar-section-button {
  display: none;
}
.calendar-buttons-container .calendar-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.12s linear;
  border: 1px solid #ddd;
  color: var(--nova-dark-purple);
}

.nova-btn-hover {
  /* cursor: pointer; */
  transition: all 0.12s linear;
  border: 1px solid #ddd;
  color: var(--nova-dark-purple);
}
input.nova-btn-hover{
  cursor:auto;
}

input:focus.nova-btn-hover{
  outline: none;
}

.calendar-buttons-container .calendar-btn:hover{
  background-color: #fdfdfd;
  border-color: transparent;
}
.calendar-buttons-container .calendar-btn:hover, .nova-btn-hover:hover{
  box-shadow: 0px 0px 3px 0px var(--nova-purple);
}
.calendar-buttons-container .calendar-btn:active, .nova-btn-hover:active, input:focus.nova-btn-hover{

  box-shadow: 0px 0px 6px 0px var(--nova-purple);
}


.week-month-button{
  padding: 0.6em;
  margin: 0.4em;
  border-radius: 2em;
}
.forward-back-button {
  border-radius: 100%;
  width: 3em;
  height: 3em;
  margin: 0.4em;
}

.forward-back-button .icon {
  height: 1.4em;
}

.toastui-calendar-grid-cell-date .toastui-calendar-weekday-grid-date.toastui-calendar-weekday-grid-date-decorator {
  background-color: var(--nova-dark-purple) !important;
}

/* Event background in weekly view */
.toastui-calendar-week-view .toastui-calendar-event-time {
  background-color: white !important;
  border-color: var(--nova-purple) !important;
}

/* Event title Text in weekly view */
.toastui-calendar-week-view .toastui-calendar-template-time {
  color: var(--nova-dark-purple);
}
/* .calendar-btn-container .calendar-text{
  height: ;
} */

.bookings_list_container{
  /* max-height: 500px;
  overflow: scroll; */

  margin-bottom: 2em;
  /* background-color: rgba(248, 248, 248, 0.811); */
  background-color: transparent;
  /* box-shadow: 1px 0px 0px 0px rgba(0,0,0,0.2), -1px 0px 4px 0px rgba(0,0,0,0.2); */

  padding: 0 1em 1em 1em;
}

.current-time {
  width: 5em;
}

.upcoming-past-container{
  justify-content: space-evenly;
  align-self: stretch;
}

.progress-bar{
  background-color: #53f;
}

.border-bottom-blue {
  border-bottom: 1px #0000ff solid;
}


/* Message submit button */
.upcoming-past-buttons {
  font-family: 'Ubuntu', sans-serif;
  text-align: center;
  
  width: 170px;
  height: 40px;
  line-height: 1;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  border: 3px solid #8C82FC;
  background: #fff;
  color: #8C82FC;
  border-radius: 40px;
  cursor: pointer;
  overflow: hidden;

  transition: all .35s;

}

.upcoming-past-buttons :hover{
  background: #8C82FC;
  color: #fff;
}


.upcoming-past-container a {
  margin: 10px;
  padding: 10px;
  background: white;
}

.lesson-card {
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.341);
  color: black;
  padding: 8px;
  background-color: white;

  font-weight: 500;
}

.past_bookings_container .lesson-card {
  background: rgba(255, 255, 255, 0.6);
}

.cancelled-lesson {
  background-color: rgba(96, 96, 96, 0.23);
}

.past_bookings_container .lesson-card.cancelled-lesson {
  background-color: rgba(96, 96, 96, 0.23);
}
.past_bookings_container .lesson-card {
  background-color: rgba(201, 201, 201, 0.23);
}


/* .lesson-card:hover {
  background-color: rgb(236, 237, 241);
} */

/* .lesson-card div {
  align-self: stretch;
} */

.lesson-card-content {
  justify-content: space-evenly;
}

.lessons-card-content-level-2 {
  margin: 10px;
  padding: 10px;
}

@keyframes line_slide {
  0% {
    width: 0;
  }
  100% {
    width: 100%
  }
}

.tab_btn_container{
  position: relative;
}

.tab_btn_container .line {
  position: absolute;
  bottom: 0;
  height: 4px;
  background-color: transparent;
  width: 100%;
  pointer-events: none;

  /* animation-play-state:paused;  */
}

.upcoming_btn_container .line {
  right:0;
}

.past_btn_container .line {
  left:0;
}

.tab_btn_container:hover .line {
  
  background-color: rgba(185, 184, 184, 0.65);
}

.show_line.line {
  background-color: blue;

  animation: line_slide 0.2s forwards;
  animation-timing-function: easeOutSine;
  animation-play-state:running; 
}

.tab_btn_container:hover .show_line.line {
  background-color: blue;
}

.remove_line {
  background-color: transparent;
}
/* 
.past_btn_container:hover .line {
  background-color: green;
} */

.edit_menu {
  display: none;
  position: absolute;
  z-index: 4;
  right: 0;
  box-shadow: 0 0 4px 1px rgba(0,0,0,1);
  background-color: white;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.sticky {
  position: sticky;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}
.block-center{
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.absolute-center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.edit-lesson-item {
  /* border: red solid 1px; */
  width: 16em;
  text-align: start;
  /* font-weight: 400; */
  font-size: 1.2em;
  color: #222;
  cursor: pointer;
  border-bottom: solid 1px rgba(0, 0, 0, 0.688);
}

.edit-lesson-item:nth-last-child(1){
  border-bottom: none;
}

.edit-lesson-item:hover{
  color: blue;
}

#bookLessonModal .modal-body {
  max-height: 80vh;
  overflow-y: scroll;
}

.modal-body .tutor-selection-booking{
  padding: 1em 1em 1em 1em;
  position: relative;
  border-radius: 2px;
  font-size: 1.2em;
  font-weight: 500;
  color: black;
}

.tutor-selection-booking:before {
  content: "";
  position: absolute;
  margin: auto;
  left: 0;
  /* left: 10%; */
  right: 0;
  /* right: 10%; */
  bottom: 0;
  width: 90%;
  border-bottom: 1px solid black;
}


.modal-body .tutor-selection-booking:nth-last-child(1):before {
  border-bottom: none;
}

.modal-body .tutor-selection-booking:hover {
  background-color: #eee;
  cursor: pointer;
}

.tutor-selection-booking .subject-list {
  /* font-size: 0.9em; */
  color: #222;
  font-weight: 400;
}

input[type='number'].lesson_duration_input {
  appearance: auto;
  text-align: center;
  margin: 0 1em 0 1em;
  padding: 0.4em 0 0.4em 0;
  max-width: 6em;
  font-weight: 500;
  color: var(--nova-dark-purple);
  /* border: var(--nova-purple) 1px solid; */
  border-radius: 0.2em;
}

.custom-date-picker.reschedule-lesson{
  margin: 0 1em 0 1em;
  padding: 0.4em 0 0.4em 0;

}

input[type="datetime-local"].reschedule-lesson.custom-date-picker::-webkit-calendar-picker-indicator{
  width: 2em;
}

/* MOBILE LESSONS PAGE */
/* mobile lesson page */

.mobile.lesson-card{
  --borderWidth: 0.2em;
  margin: 0.4em;
  padding: 0;
  border-radius: var(--borderWidth);
  overflow: hidden;

  position: relative;
}

/* Edit lesson card content */
.mobile.lesson-card .lesson-edit{
  position: absolute;
  width: 100%;
  height: 100%;
}

.mobile.lesson-card .title-text-container{
  padding: 0;
}
.mobile.lesson-card .img-container{
  width: 20%; 
  max-height: 8em; 
  overflow:hidden; 
  border-radius: 0.2em;
}

.mobile.lesson-card .img-container img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.lesson-card-row {
  padding: 0;
}
.lesson-card-row.confirmation-info {
  padding: 2em 1em 2em 1em;
}

.confirmation-info .icon-container {
  width: 1em;
  margin: 0 1em 0 1em;
}

.lesson-card-row.edit-btn-container{
  padding: 2em 0.4em 2em 0.4em;
}

.join-lesson.inactive, .join-meeting.inactive{
  opacity: 0.2;
  pointer-events: none;
  cursor: default;
}

.btn.inactive, .btn-pill.inactive, .btn-nova.inactive {
  pointer-events: none;
  cursor: default;
  opacity: 0.3;
}

@keyframes animatedgradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.live-lesson-background {
  --borderWidth: 0.2em;

  position: relative;
  /* border-radius: var(--borderWidth); */
  background-color: #fff;
  z-index: 1;
  margin: 1em 0 2em 0;
}
.live-lesson-background:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: calc(100%);
  width: calc(100%);

  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  border-radius: calc(2 * var(--borderWidth));
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;

  z-index: -1;
}

/* star ratings */
.star-icon {
  width: 24px;
  height: 24px;
}
.star-icon:hover ~ .star-icon .empty-star, .star-icon:hover .empty-star{
  display: none;
} 
.star-icon:hover ~ .star-icon .full-star, .star-icon:hover .full-star{
  display: inline-block;
  box-shadow: 0px 0px 4px 0px rgba(255,215,0,0.3), inset 0px 0px 4px 4px rgba(255,215,0,0.3);

} 


.choose_friend_pop_up {
  min-width: 320px;
}

/* #recurring_booking_pop_up_id {
  border: 1px rgb(169, 169, 169) solid;
} */

#recurring_booking_pop_up_id input, #recurring_booking_pop_up_id select {
  border-color: rgb(207, 207, 207);
  border: solid rgb(207, 207, 207) 1px;

  border-radius: 0.2em;
  padding: 0.2em 0.4em;
}
/* /////////// */
/* Lesson Detail */

#lesson-detail-page-container {
  background: white;
  padding: 20px;

  margin: 40px 0 0 0;
}
.lesson-detail-page-wrapper {
  background: white;
  padding: 20px;
  border-radius: 20px;

  box-shadow: 0px 0px 6px 1px rgba(0,0,0,0.29);
}
/* /////////// */
/* ///////////////////////////////////// */


/* Big container for entire marketplace */
.marketplace-container {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;

  /* background: linear-gradient(white, var(--off-white-background)); */

}

.marketplace-header-container{
  background: linear-gradient(transparent 50%, var(--off-white-background) 90%);
}
.marketplace-hero-header {
  margin-bottom: 3em;

  max-width: 100%;
  overflow: hidden;
}


@media screen and (min-width: 500px) {

  /* .thanks-arrange-call h3{
    font-size: 1.3em;
  } */
  .marketplace-hero-header .header-p-container{
    padding-left: 10%;
    padding-right: 10%;
  }
}

h1.marketplace-header{
  font-size: 4em;
  font-weight: 600;
  color: #00004a;
  max-width: 100%;
  overflow: hidden;
}

@media screen and (max-width: 800px) {
  .marketplace-hero-header {
    margin-bottom: 0;
  }

  h1.marketplace-header{
    font-size: 2.4em;
  }

}

.marketplace-header-para{
  color: #00004a;
}

.marketplace-search-form{
  flex-direction: row;
}

.marketplace-search-expand{
  color: #4f40ff;
  font-size: 1em;
  font-weight:600;
  /* margin-top: 0.5em; */
  background-color: rgba(0, 0, 0, 0);
  border-style: none;
  cursor: pointer;

  position: absolute;
  bottom: 0;
}
.marketplace-search-dropdown{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

  position: relative;
  margin: 0.8em;

  /* width: 100%; */
}


.marketplace-search-dropdown-label{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.marketplace-search-dropbtn{
  --btn-color: var(--nova-purple);

  justify-content: space-between;
  align-items: center;
  align-self: center;
  background-color: rgb(228, 228, 228, 0);
  color: var(--nova-purple);
  width: 15em;

  /* max-width: 100%; */
  height: 3rem;
  padding: 0.5em 1em;
  font-size: 1em;
  font-weight:600;
  border: var(--btn-color);
  border-style: solid;
  border-width: 0.2em;
  border-radius: 0.25em;
  transition: border-radius linear 0.12s, opacity linear 0.12s;

  overflow: hidden;
}

/* @media screen and (max-width: 500px) {
  .marketplace-search-dropbtn{
    width: 100%;
  }
} */
.option-item input:checked + label {
  color: var(--nova-purple);
  background: var(--background-grey);
}

.dropdown-arrow {
  transition: opacity 0.12s linear, transform 0.12s linear;
}

.availability-day-wrapper {
  font-weight: bold;
  padding-bottom: 1em;
}
.availability-day {
  font-weight: bold;
}

.select-all-btn{
  border-radius: 4px;
  background-color: #ddd;
  padding: 12px;
  margin: 0.4em;
  cursor: pointer;
  font-weight: bold;
}

.marketplace-dropdown-content .option-item.availability-time-input-wrapper {
  min-width: 32%;
  width: 32%;
  height: 100%;
  text-align: center;
  border-radius: 2px;
  margin: 3px;
  background-color: rgb(246, 246, 246);
  overflow: hidden;
}

/* .marketplace-dropdown-content .line-wrapper {
  transform: translateY(-100%);
} */
/* .marketplace-dropdown-content label {
  cursor: pointer;
} */

.marketplace-dropdown-content .line.availability{
  background-color: black;
  width: 50%;
}
/* .option-item.availability-time-input-wrapper input:checked + label {
  
  background: #ccc;
} */
#MoreFiltersDropdownArrow.marketplace-dropdown-arrow.is-active{
  transform: rotate(180deg);
}

.marketplace-dropdown-arrow{
  height: 0.8rem;
}

.more-marketplace-filters {
  display: none !important;
}

#LargeMoreMarketplaceFilters.more-marketplace-filters.is-active {
  display: flex !important;
}

#MediumMoreMarketplaceFilters.more-marketplace-filters.is-active {
  display: flex !important;
}

#SmallMoreMarketplaceFilters.more-marketplace-filters.is-active {
  display: flex !important;
}

#SmallestMoreMarketplaceFilters.more-marketplace-filters.is-active {
  display: flex !important;
}



.profile-card-container{
  margin: 1em;
  padding: 2em;
  border: 2px black solid; 
  border-radius: 5px; 
}

.profile-card-header {
  justify-content: space-between;
}

.dashboard .profile-card-header {
  margin: 1em;
}

.dashboard .profile-card-header .update-button{
  max-height: 3em;
  padding: 0.6em;
  margin: 0.8em;
  background-color: white;
  box-shadow: 0 0 0 1px var(--nova-purple);
  transition: all 0.1s linear;
  inset: none;
  border: none;
  border-radius: 0.4em;
  color: var(--nova-dark-purple);
}
.dashboard .profile-card-header .update-button:hover{
  box-shadow: 0 0 2px 1px var(--nova-purple);
}
.dashboard p.tutor-bio-sections {
  font-size: 0.8em;
  color: #666;
}

.marketplace-dropdown-content .option-item, .marketplace-dropdown-content .option-item label {
  width: 100%;
  border-bottom: 1px var(--background-grey) solid;
}

.option-item label {
  width: 100%;
  height: 100%;
  /* border: red solid 1px; */
}

.marketplace-dropdown-content .option-item label {
  padding: 0.3em;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.marketplace-dropdown-content .line {
  width: 80%;
  height: 1px;
  background-color: var(--background-grey);
}
/* MARKETPLACE */
.tutor-card {
  border-radius: 1em;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 2px 0px;
  top: 0;
  transition: top ease 0.1s;
  position: relative;
  background-color: #fff;
  z-index: 0;
  justify-content: flex-start;

  margin-bottom: 1em;

  transition: all linear 0.16s;


  max-width: 60em;
  color: var(--nova-dark-purple);
}

.large-screen-flex.tutor-card{
  height: var(--tutor-card-height);
  width: 70%;

}
.small-screen-flex.tutor-card{
  width: 90%;
}
.tutor-card:hover {
  /* box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; */
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 4px 0px;
  color: var(--nova-dark-purple);

  /* top: -3px; */
}

.tutor-card .tutor-img {
  width: var(--tutor-card-height);
  height: var(--tutor-card-height);
}

/* .large-screen-flex.tutor-card .tutor-university{
  color: white;
  white-space: nowrap;
  font-size: 1em;
}
.large-screen-flex.tutor-card .tutor-university-course{
  color: #eee;
  font-size: 0.8em;
  white-space: nowrap;
} */

.large-screen-flex.tutor-card .name-uni-bio-container {
  padding: 1em;
  padding-right: 0.4em;
  padding-bottom: 0.4em;
}
.large-screen-flex.tutor-card .tutor-university, .large-screen-flex.tutor-card .tutor-university-course{
  text-align: start;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.tutor-card .tutor-university, .tutor-card .tutor-university-course{
  text-align: center;
  font-weight: 600;
}
.tutor-card .tutor-university{
  color: rgba(var(--nova-dark-purple-decimal), 0.9);
  font-size: 0.94em;
}
.tutor-card .tutor-university-course{
  color: rgba(var(--nova-dark-purple-decimal), 0.8);
  font-size: 0.9em;
}

.tutor-card .short-bio {
  text-align: start;
  width: 100%;
  /* overflow: hidden; */
  hyphens: auto;
  white-space: normal;
  font-weight: 500;
  color: rgba(var(--nova-dark-purple-decimal), 0.86);
  /* word-break:break-all; */
  /* text-overflow: ellipsis; */
}

.large-screen-flex .short-bio {
  --text-height: 6em;
  --text-max-lines: 4;
  padding-top: 0.2em;

  min-height: var(--text-height);
  max-height: var(--text-height);
  line-height: calc(var(--text-height) / var(--text-max-lines));


  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--text-max-lines);
  overflow: hidden;

  /* border: red 1px solid; */
}

.marketplace-img-container {
  /* max-width: 10em;
  max-height: 10em;
  min-width: 10em;
  min-height: 10em; */
  width: var(--tutor-card-height);
  height: var(--tutor-card-height);
  overflow: hidden;
  border-radius: 1em;
  position: relative;
}

.marketplace-img-overlay {
  /* background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); FF3.6+ */
  /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0))); Chrome,Safari4+ */
  /* background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0,0,0,0) 70%, rgba(0, 0, 0, 1) 100%); Chrome10+,Safari5.1+ */
  /* background: linear-gradient(top, transparent 0%, rgba(0,0,0,1) 75%, rgba(0,0,0,1) 100%); */
  background: linear-gradient(transparent 0%, transparent 68%, rgba(0, 0, 0, 0.2) 75%);
  width: 100%;
  height: 100%;
  position: relative;
}

/* wrapper to contain the name and uni of tutors */
.overlayed-text-wrapper{
  position: absolute;
  padding: 0.2em 0 0.4em 0.8em;
  height: 30%;
  bottom: 0;
  text-align: left;
}
.tutor-card h1 {
  /* position: relative; */
  font-size: xx-large;
}

.tutor-card h2 {
  position: relative;
  margin: 0;
  margin-bottom: -0.1em;
  color: #fff;
  z-index: 4;
  font-size:x-large;
  text-align: left;
}

.tutor-card h3 {
  position: relative;
  color: #fff;
  margin: 0;
  /* bottom: 0; */
  /* left: 0.5em; */
  z-index: 4;
  font-size: small;
  text-align: left;
}

.tutor-card h4 {
  position: relative;
  font-size: medium;
  display: inline;
  vertical-align: middle;
  font-weight: bold;
}

.tutor-card h5 {
  position: relative;
  font-size: medium;
  color:rgb(138, 138, 138);
  display: inline;
  vertical-align: middle;
}

.tutor-card .tutor-price {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--nova-dark-purple);
}

.marketplace-img {
  position: relative;
  width: 100%;
  z-index: -1;
  /* transition: all 1s ease; */
}

/* On Hover Zoom in  */
@keyframes zoom-in {
  from {

  }
  to {
    transform: scale(1.08);
  }
}
@keyframes zoom-out {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
@keyframes gradual-overlay-in {
  from {
    opacity: 0;

  }
  to {
    opacity: 0.5;

  }
}

.tutor-card:hover .tutor-img {
  /* background-size: 2000px; */
  /* background-color: blue; */
  animation: zoom-in 0.4s forwards;
  animation-timing-function: easeOutExpo;
  /* transform: scale(1.4); */
}

.tutor-card .tutor-name {
  color: var(--nova-dark-purple);
  font-size: 1.8em;
  font-weight: 700;
}

.vertical-line {
  width: 2px;
  height: 90%;
  background-color: rgba(var(--nova-dark-purple-decimal), 0.6);
  margin: 0.2em;

  border-radius: 9999px;
}

.lessons-completed-container{
  padding: 0.2em;
  padding-left: 0;
}
.lessons-completed-icon{
  margin-right: 0.4em;
}

.tutor-card .tutor-subjects {
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* .tutor-card:hover .marketplace-img-overlay {
  animation: gradual-overlay-in 0.4s forwards;
  animation-timing-function: easeOutExpo;
} */

/* A darker image overlay for when tutor card is hovered over. */
.darker-img-overlay {
  display: none;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 35%;
  /* background-color: black; */
  animation: gradual-overlay-in 0.4s forwards;
  animation-timing-function: easeOutExpo;
  opacity: 0;
  background-color: #000;
}

.tutor-card:hover .darker-img-overlay {
  display: block;
}

/* 
.tutor-card:hover {
  background: linear-gradient(red, transparent);
} */
/* Class to control the zoom back out */
.tutor-card .tutor-img.zoom-out {
  animation: zoom-out 0.4s forwards;
  /* border: black 4px solid; */
}

.account-info-container {
  flex-direction: row;
}

.large-screen-flex .profile-txt-container {
  padding: 1em;
  text-align: left;
  max-width: 26%;

  font-weight: 600;

  color: rgba(var(--nova-dark-purple-decimal), 0.86);
}

.large-screen-flex .profile-txt-container .item{
  padding: 0.2em;
  padding-left: 0;
}
@media screen and (min-width: 900px) and (max-width: 1200px) {
  .tutor-card {
    width: 80%;
  }
  .profile-txt-container {
  padding-left: 0.6em;
  padding-right: 0.6em;
}
}
.profile-bio-container {
  color: black;
  padding: 1em;
  text-align: justify;
}

.header-p-container p {
  margin-bottom: 2px;
  font-weight: 700;
  color: #00004a;
  text-align: center;
}

.search-filter {
  padding: 20px;
  display: inline-block;
}

.search-filter-container {
  /* text-align: center; */
  display: flex;
  justify-content:center;
  align-items:center;
  align-self: stretch;
  /* box-shadow: 0 0 1px 0px black; */
  border-radius: 2px;
  padding: 1em 4px 1em 4px;
  margin: 1em 0 1em 0;
  /* background-color: rgb(252, 252, 252); */
}

@media screen and (max-width: 800px) {
  .search-filter-container {
    margin: 0 0 1em 0;
  }

  .header-p-container p {
    text-align: start;
  }
}
.search-filter-container + .line {
  width: 70%;
  height: 1px;
  background-color: #53f;
}

/* .search-filter-container form{
  box-shadow: 0px 0 4px 1px rgba(113, 113, 113, 0);
  border-radius: 2em;
  border: #4f40ff;
  border-style: solid;
  border-width: 0.35em;
  background: rgba(255, 255, 255, 0);
  padding: 0.5em 2em;
} */

.search-filter-container .small-screens form{
  border-style: none;
}


/* .form-element {
  display: inline-block;
} */

#marketplace-form-container {
  align-items: center;
  /* align-self: stretch; */
}

#marketplace-submit-btn-container{
  position: relative;
}

/* portrait tablets, landscape phones */
@media only screen and (min-width: 961px) {
  /* .tutor-profile-container {
    padding-right: 18em;
  } */
}

/*landscape tablets, lo-res laptops and desktops */
@media only screen and (min-width: 961px) {
}

/* laptops and desktops */
@media only screen and (min-width: 1025px) {
}


#chat-log-container{
  overflow-y: scroll;
  /* Start scroll bar at bottom of convo */
  display: flex;
  flex-direction: column-reverse;
}

.inbox-item-container {
  border: 5px solid rgba(189, 186, 186, 0.717);
  border-radius: 5px;
}

.border-box {
  border: 5px solid rgba(189, 186, 186, 0.717);
  border-radius: 5px;
}


.btn-marketplace-filter:hover {
  /* margin: 40px;
  padding: 10px;
  padding-top: 8px;
  padding-bottom: 12px; */
  background-color: #4134d1;
  box-shadow: 0px 9px 16px 0px rgba(0,0,0,0.2);
}


/* Message App */
/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.message-app-header-container {
  height: 12vh;
}
#message-app-header {
  /* transition: background-color 0.3s ease; */
  background-color: transparent;
  width: 100%;
  color: white;

  margin-top: 0;
  /* border: 5px red solid; */
  padding: 4px;

  align-items:center;
  justify-content: space-around;
}

#message-app-header a {
  color: white;
}

.message-title {
  margin: 0;
  padding: 0;
  /* max-width: 40%; */
  /* border: 5px red solid; */
  /* flex: 40%; */
  /* text-align:center; */
  font-size: 2em;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.message-title:hover {
  color: #ddd;
}

#chat_connection_message{
  display: none;
  text-align: center;
}

.header-profile-img-container {
  margin-left: 0.2em;
  margin-right: 0.2em;
  border-radius: 50%;
  /* box-shadow: 0 0 80% 0 rgba(0, 0, 0, 1); */


  /* border: 2px white solid; */
}

.header-profile-text-container {
  margin: 10px;
  color: black;
  /* font-weight:600; */
  /* border: 2px black solid; */
}

.header-profile-img {
  height: 2em;
  /* height: 80%; */

}
/* Request a lesson button */
.lesson-booking-btn {
  border-radius: 4px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: top ease 0.1s;
  padding: 0.8em;
  margin-bottom: 0.1em;
  margin-top: 0.1em;
  background-color: #53f;
  /* flex: 40%; */
  color: #fff;
  /* width: 90vw; */
  text-align: center;
  font-weight: 500;
  font-size: larger;
  transition: all 0.1s linear;
  cursor: pointer;
}

.lesson-booking-btn.not-active {
  background-color: grey;
  pointer-events: none;
  cursor: default;
}

/* Site buttons */
.btn-nova {
  border-radius: 4px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 0.8em;
  background-color: #53f;
  /* flex: 40%; */
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: larger;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;

  transition: all 0.1s linear;
}
.btn-nova.green{
  background-color: rgb(6, 169, 6);
  color: white;
}
.btn-nova.red{
  background-color: rgb(239, 0, 0);
  color: white;
}
.btn-nova.dull {
  background-color: rgb(127, 127, 127);
}
.btn-nova.dull:hover {
  background-color: rgb(86, 86, 86);
}

.nova-brand-border {
  border: 1.6em var(--nova-purple) solid;
}

.background-nova-purple {
  background-color: var(--nova-purple);
}

.btn-nova.hide {
  display: none;
}


.btn-pill {
  padding: 0.666em 1em 0.666em 1em;
  background-color: var(--nova-dark-purple);
  border-radius: 9999px;
  cursor: pointer;
  color: var(--btn-pill-color);
  transition: all 0.2s ease-out;
  text-align: center;
}

.btn-pill.dark {
  color: rgb(247, 247, 247);
}

.btn-pill.dark:hover{
  color: hsl(0, 0%, 100%);
}

.btn-pill.dark .follow-link-arrow-icon{
  fill: rgb(228, 228, 228);
}
.follow-link-arrow-icon {
  width: 0.6em;
  margin-left: 0.4em;
  fill: var(--btn-pill-color);
  transition: all 0.2s ease-in-out;
  position: relative;
  left: 0;
}



.lp-section a {
  margin-top: 2em;
}
@media only screen and (min-width: 1000px) {
  .btn-pill:hover .follow-link-arrow-icon, .soft-btn:hover .follow-link-arrow-icon {
    left: 0.06em;
  }
  .btn-pill.dark:hover  .follow-link-arrow-icon{
    fill: rgb(255, 255, 255);
  }
}

.btn-pill:hover {
  background-color: rgb(0, 0, 99);
}

@keyframes horrible_color_animation {
  0% {
    background-color: rgb(255, 0, 212);
    transform: rotate(0deg);
    width: 100%;
  }
  40% {
    background-color: rgb(0, 255, 0);
  }
  60%{
    background-color: rgb(0, 255, 229);
    transform: rotate(360deg);

  }
  90% {
    transform: rotate(360deg);
  }
  100% {
    background-color: rgb(221, 255, 0);
    transform: rotate(200deg);
    width: 20%;

  }
  
}

.do-horrible-color-animation {
  animation: infinite alternate linear horrible_color_animation 1.7s;
}
.grey {
  color: #777;
}
.light-grey {
  color: #999;
}
.green-text {
  color: #07b39b;
}
.green {
  color: green;
}
.nova-dark-purple {
  color: var(--nova-dark-purple);
}

.red {
  color: red;
}
.font-smaller {
  font-size: 0.9rem;
}
.btn-nova.not-active, .btn-nova.not-active:hover {
  background-color: rgba(166, 166, 166, 0.577) !important;
  pointer-events: none;
  cursor: pointer;
}

.not-active {
  pointer-events: none;
  cursor: pointer;
}
input:checked + .btn-nova.selected, .btn-nova.checked, .btn-nova.checked.btn-nova:active, .btn-nova.checked.btn-nova:hover{
  background-color: hsl(250, 100%, 45%);
  /* border: 2px rgb(171, 171, 171) solid; */
  --shadow-colour: rgba(0, 0, 0, 0.1);
  --shadow-length: 1px;
  --shadow-blur: 2px;
  box-shadow: var(--shadow-length) 0 var(--shadow-blur) 0px var(--shadow-colour) inset, 0 var(--shadow-length) var(--shadow-blur) 0px var(--shadow-colour) inset, 
  calc(-1 * var(--shadow-length)) 0  var(--shadow-blur) 0px var(--shadow-colour) inset, 0 calc(-1 * var(--shadow-length))  var(--shadow-blur) 0px var(--shadow-colour) inset;
}


button.btn-nova{
  border: none;
}

.error-messages {
  color: red;
}
.adapt-width-30-45{
  width: 30%;
}
.adapt-width-30-80{
  width: 30%;
}
.adapt-width-40-45, .adapt-width-40-50{
  width: 40%;
}
.adapt-width-40-80{
  width: 40%;
}

.adapt-width-45-100{
  width: 45%;
}
.adapt-width-60-80{
  width: 60%;
}

.adapt-width-40-100 {
  width: 40%;
}

.adapt-width-50-100 {
  width: 50%;
}
.adapt-width-70-100{
  width: 70%;
}
.adapt-width-80-100{
  width: 80%;
}
.btn-nova:hover, a.btn-nova:hover{
  background-color: rgb(76, 48, 220);
  color: rgb(250, 250, 250);
}

.btn-nova.green:hover, a.btn-nova.green:hover{
  background-color: rgb(35, 150, 60);
}
.btn-nova.green:active, a.btn-nova.green:active{
  background-color: rgb(30, 134, 53);
}
.btn-nova.red:hover, a.btn-nova.red:hover{
  background-color: rgb(176, 40, 40);
}
.btn-nova.red:active, a.btn-nova.red:active{
  background-color: rgb(158, 36, 36);
}
.btn-nova:active{
  background-color: rgb(70, 44, 200);
  color: #eee;
}
.btn-nova.green:active{
  background-color: rgb(30, 103, 42);
}
.btn-nova.red:active{
  background-color: rgb(126, 35, 35);
}

.btn-nova:disabled{
  background-color: rgba(85, 51, 255, 0.439);
  color: rgba(255, 255, 255, 0.612);
}

.dark-theme{
  background-color: rgb(43, 43, 43);
  color: white;
}

.tutor-search-btn {
  border-radius: 4px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: top ease 0.1s;
  padding: 0.8em;
  margin-bottom: 0.1em;
  margin-top: 0.1em;
  background-color: #53f;
  /* flex: 40%; */
  color: #fff;
  width: 90vw;
  text-align: center;
  font-weight: bold;
  font-size: larger;
  cursor: pointer;

}

/* HEIGHTS */
.h-1px {
  height: 1px;
}
.h-10vh {
  height: 10vh;
}
.h-20vh {
  height: 20vh;
}
.h-30vh {
  height: 30vh;
}
.h-40vh {
  height: 40vh;
}
.h-50vh {
  height: 50vh;
}
.h-60vh {
  height: 60vh;
}
.h-70vh {
  height: 70vh;
}
.h-80vh {
  height: 80vh;
}
.h-90vh {
  height: 90vh;
}
.h-100vh {
  height: 100vh;
}

.h-100 {
  height: 100%;
}
.h-90 {
  height: 90%;
}
.h-80 {
  height: 80%;
}
.h-70 {
  height: 70%;
}
.h-60 {
  height: 60%;
}
.h-50 {
  height: 50%;
}
.h-40 {
  height: 40%;
}
.h-30 {
  height: 30%;
}
.h-25 {
  height: 25%;
}
.h-20 {
  height: 20%;
}
.h-10 {
  height: 10%;
}
.h50 {
  height: 5%;
}

.min-h-3em {
  min-height: 3em;
}
.min-h-30{
  min-height: 30%;
}

.min-h-100{
  min-height: 100%;
}

.max-h-30{
  max-height: 30%;
}
.max-h-20{
  max-height: 20%;
}

.max-h-50{
  max-height: 50%;
}
.max-h-70{
  max-height: 70%;
}
.max-h-80{
  max-height: 80%;
}
.max-h-50vh{
  max-height: 50vh;
}
.max-h-100{
  max-height: 100%;
}
/* WIDTHS */
.w-100 {
  width: 100%;
}

.mx-100, .mw-100 {
  max-width: 100%;
}
.mw-90 {
  max-width: 90%;
}
.w-90 {
  width: 90%;
}
.w-80 {
  width: 80%;
}
.w-70 {
  width: 70%;
}
.mw-70 {
  max-width: 60%;
}
.w-60 {
  width: 60%;
}
.w-40 {
  width: 40%;
}
.w-45 {
  width: 45%;
}
.w-49 {
  width: 49%;
}
.mw-40 {
  max-width: 40%;
}
.w-30 {
  width: 30%;
}
.mw-30 {
  max-width: 30%;
}
.w-20 {
  width: 20%;
}
.w-10 {
  width: 10%;
}

.w-0 {
  width: 0px;
}

.minw-0 {
  min-width: 0;
}
.minw-50, .min-w-50 {
  min-width: 50%;
}


.mw-600{
  max-width: 600px;
}
.fit-content {
  height: fit-content;
  width: fit-content;
}
/* PADDINGS */
.p-30{
  padding: 30px;
}
.p-10{
  padding: 10px;
}
.p-4px{
  padding: 4px;
}
.p-0_4em{
  padding: 0.4em;
}
.p-1em{
  padding: 1em;
}
.p-2em{
  padding: 2em;
}
.p-3em{
  padding: 3em;
}
.p-4em{
  padding: 4em;
}

.p-10per{
  padding: 10%
}
.p-20per{
  padding: 20%
}

.pt-10 {
  padding-top: 10px;
}
.pt-30 {
  padding-top: 30px;
}

.pt-2em {
  padding-top: 2em;
}
.pt-1em {
  padding-top: 1em;
}
.pb-30{
  padding-bottom: 30px;
}
.pb-20{
  padding-bottom: 20px;
}
.pb-10{
  padding-bottom: 10px;
}
.pb-10vh{
  padding-bottom: 10vh !important;
}
.pb-10em{
  padding-bottom: 10em;
}
.pb-2em{
  padding-bottom: 2em;
}
.pb-1em{
  padding-bottom: 1em;
}

.ptb-1em{
  padding-top: 1em;
  padding-bottom: 1em;
}
.pl-1em{
  padding-left: 1em;
}
.pr-1em{
  padding-right: 1em;
}

.plr-4em {
  padding-left: 4em;
  padding-right: 4em;
}
.plr-2em {
  padding-left: 2em;
  padding-right: 2em;
}
.plr-1em {
  padding-left: 1em;
  padding-right: 1em;
}
.plr-0_4em {
  padding-left: 0.4em;
  padding-right: 0.4em;
}
.plr-10per {
  padding-left: 10%;
  padding-right: 10%;
}
.plr-20per {
  padding-left: 20%;
  padding-right: 20%;
}

.p-adapt-2em-1em{
  padding: 2em;
}
@media only screen and (min-width: 0px) and (max-width: 600px) {
  .p-adapt-2em-1em{
    padding: 1em;
  }
}

/* MARGINS */
.m-auto{
  margin: auto;
}
.m-10{
  margin: 10px;
}
.m-1em{
  margin: 1em;
}
.m-30{
  margin: 30px;
}

.m-1em{
  margin: 1em;
}
.m-2em{
  margin: 2em;
}
.m-3em{
  margin: 3em;
}

.m-10per {
  margin: 10%
}
.mb-10{
  margin-bottom: 10px;
}
.mr-30{
  margin-right: 30px;
}
.mr-10{
  margin-right: 10px;
}
.ml-30{
  margin-left: 30px;
}
.mr-20pc{
  margin-right: 20%;
}
.ml-20pc{
  margin-left: 20%;
}

.ml-1em {
  margin-left: 1em;
}
.mr-1em {
  margin-right: 1em;
}
.mlr-1em {
  margin-left: 1em;
  margin-right: 1em;
}

.mt-100{
  margin-top: 100px;
}
.mt-50{
  margin-top: 50px;
}
.mt-10{
  margin-top: 10px;
}
.mt-1em{
  margin-top: 1em;
}
.mt-2em{
  margin-top: 2em;
}

.mtb-1em {
  margin-top: 1em;
  margin-bottom: 1em;
}
.mb-10em{
  margin-bottom: 10em;
}
.mb-10vh{
  margin-bottom: 10vh !important;
}
.mb-1em{
  margin-bottom: 1em;
}
.mb-2em{
  margin-bottom: 2em;
}

/*flex box to make sure entire screen is filled white*/
.white-box {
  background: rgb(255, 255, 255);
  /* display: flex;
  flex-direction: column; */
  /* height: 100%; */
  color: black !important;
}

.inherit {
  color: inherit;
}

.curved-corner {
  border-radius: 1em;
}

.text-center {
  text-align: center;
}
/* COntainer for the actual chat/messaging app/message */

.message-app-container{

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;

  height: 80vh;

}

.plus-icon {
  border-radius: 100em;
  /* background-color: transparent; */
  box-shadow: none;
  z-index: 1;
  height: 3em;
  width: 3em;

  transition: all 0.1s linear;


}

.plus-icon:hover {
  border-radius: 50%;
  /* box-shadow: 0 0 0 1px rgba(var(--nova-dark-purple-decimal), 0.2); */
}

.plus-icon svg {
  width: 3em;
  height: 3em;
}
/* conversation list. COntains the main container and the h3 heading */
.conversation-list {
  background-color: transparent ;
  overflow-y: scroll;
  overflow-x: hidden;
  /* border: 2px red solid; */
  box-shadow: 0 0 4px 0 rgb(156, 155, 155);

  border-right: 2px solid rgba(0,0,0,0.2);

}

.chat-list.small-screen-flex {
  display: none;
  position: absolute;
  background-color: white;
  width: 100%;
  height: 80vh;
  z-index: 4;
}

/* container for the h3 title */
.convo-list-title-container {
  padding: 1em;
}

.room.chat-list .convo-list-title-container{
  padding: 0.4em;
}

.convo-list-container {
  /* overflow-y: scroll; */
  max-width: 1000px;
  background-color: rgba(198, 196, 196, 0.2);
  /* box-shadow: 0 0 4px 0 rgb(156, 155, 155); */

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  /* border: 2px solid red; */
}


/* Each list item */
.convo-list-item {
  margin: 0;
  padding: 0;
  border-bottom: 2px rgb(195, 186, 186) solid;
  /* border-radius: 2px; */
  max-height: 100%;
  min-height:3em;
}



/* unread message in convo */

.convo-list-item.unread{
  position: relative;
}


/* container for convo name and image */
.convo-name-img-text-container {
  display:flex;
  flex-direction: row;
  /* overflow: hidden; */
  max-height: 50px;

}

.convo-list-img-container {
  /* background-color: red; */
  max-height: 100%;
  width: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* list to hold all chats */
.chat-list{
  border-top: 1px solid #e9edef;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 0.4em;

  flex-direction: column;
}

/* for the main room view on laptops */

.room.chat-list {
  max-width: 500px;
  border: none;

  /* box-shadow: 0 0 4px 0 rgb(156 155 155); */
}

.chat-list .date{
  font-size: 0.8em;
}
/* LINK TO EACH CHAT FROM MAIN MESSAGES PAGE */

.chat-link{
  position: relative;
  max-height: 5em;
  /* min-height: 1em; */
  /* padding: 0.6em 0 0.6em 0; */
}

.chat-link:hover, .chat-link:active{
  background-color: #efefef;
}
.chat-link:nth-child(1) .text-container{
  border: none;
}

.room .chat-link:nth-child(2) .text-container{
  border: none;
}
.small-screen-flex .chat-link:nth-child(2) .text-container{
  border: none;
}


/* container for profile pics */
.chat-list .img-container{
  min-width: 20%;
  max-width: 30%;
  /* width: 40px; */
  height: 90%;
  overflow: hidden;
}

/* profile pics */
img.convo-list-img {
  /* max-height: 100%; */
  /* height: 100%; */
  overflow: scroll;
  border-radius: 30%;
  /* width: 40px; */
}

.chat-list .text-container {
  /* background-color: blue; */
  max-height: 100%;
  overflow: hidden;
  margin: 0;
  padding-right: 1em;
  flex-grow: 1;

  display: flex;
  flex-direction: column;

  color: black;

  border-top: 1px solid #e9edef;
}

.convoListName {
  /* display: inline-block; */
  /* background-color: #05d5ff; */
  font-size: 1.1em;
  /* font-weight: bold; */
}

.convo-list-text {
  /* background-color: white; */
  font-size: 1em;
  font-weight: lighter;
  width: 90%;
  text-overflow: ellipsis;
  overflow: hidden;
}

strong .convo-list-text{
  font-weight: 500;
}

.convoListName h5 {
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* 
#clear {
  clear: both;
} */





/* Container to hold the actual chat conversation and title */
/* ////////////////////////////////////////////////////////////////// */
.big_fkn_container {
  overflow: hidden;
  margin: 0;


  /* flex-basis: 70%; */
  justify-content: space-between;
  /* border: 5px solid red; */


  box-shadow: 0 0 5px 0 rgba(184, 172, 172, 0.47);
  /* border: 2px red solid; */
}

.bigger-container {
  /* background:rgba(255, 0, 0, 0.7); */
  /* border: solid 2px rgb(98, 98, 98); */
  /* margin: 5px 50px 5px 5px; */
  border-radius: 1%;
  padding: 10px;
  /* Scrollbar is 17px */
  padding-right: 27px;
  overflow: hidden;
  position: relative;

  display: flex;
  flex-direction: column;
}

/* Blur container
.blur-backdrop-container {
  order: -1;
  max-height: 0;
  /* border: 2px black solid; */
  /* background: transparent;
  /* padding right to stop blurring of scrollbar */
  /* padding-right: 17px;
} */ 

/* Element that blurs content underneath */
/* .blur-backdrop-child {
  width: 100%;
  height: 8px;
  background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.3));
  /* border: 2px solid red; */

  /* position: relative;
} */ 


/* ///////////////////////////////////////////////////////////////////////////////////////////////////// */


/* COntainer that holds all of the message cards */
.convo-container {
  background:#EFEAE2;
  box-shadow: 0px 0px 5px 0 rgba(0,0,0,0.5);
  padding-top: 10px;
  padding-right: 10px;
  padding-left: 10px;
  margin: 0;
  height:80%;
  overflow-y: auto;
  /* Start scroll bar at bottom of convo */
  display: flex;
  flex-direction: column-reverse;
}

.date-info {
  align-self: center;
  text-align: center;
  background-color: #fff;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0.5em 0.8em 0.5em 0.8em;

  border-radius: 0.8em;
  font-size: small;

  color: #555;

  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

/* Chat app cards *EACH INDIVIDUAL MESSAGE* */
.msg-content-card {
  padding: 0.8em;
  padding-bottom: 0.3em;
  border-radius: 12px;
  margin-bottom: 0.6em;
  margin-top: 0.6em;
  max-width: 400px;

  display:flex;
  flex-direction: column;
  /* Children are positioned absolutely relative to their FIRST ANCESTOR THAT HAS "position: relative or abolute" */
  position: relative;
}

/* Have no margin between last sent message and the read receipt */
.msg-content-card:nth-child(2) {
  margin-bottom: 0;
}

/* Class for *SENT* message card */
.sender {
  background-color: #07D2FF;
  border-top-right-radius: 0;
  margin-left: 100px;
  align-self: end;

}

.receiver {
  border-top-left-radius: 0;
  background: rgb(255, 255, 255);
  margin-right: 100px;
  align-self: stretch;

}

/* Class for *RECEIVED* messages */
/* The before/after selector inserts something before/after the selected element. It is a pseudo element that acts like the first/last child of the parent. */
.msg-content-card.receiver:after {
  content: '';
  width:0;
  height:0;

  position:absolute;
  top: 0;
  /* same length as the border-left size */
  left: -18px;

  border-top: 24px solid rgb(255, 255, 255);
  border-left: 18px solid transparent;
}

/* SENDER TRIANGLE */
.msg-content-card.sender:after {
  content: '';
  width:0;
  height:0;

  position:absolute;
  top: 0;
  /* same length as the border-left size */
  right: -18px;

  border-top: 24px solid #07D2FF;
  border-right: 18px solid transparent;
}

/* Container for the message text */
.message-text-container {
  padding: 0px;
  overflow-wrap: break-word;
  white-space: pre-line;
  min-height: 20px;

}

.msg-hour-min {
  align-self: end;
  color: #555;
  font-size: smaller;
}
.read-receipt {
  /* width: 100%; */
  padding:0.1em;
  margin-right: 30px;
  /* position:relative; */
  /* border-radius: 10px; */
  /* box-shadow: 0 0 2px 0 #000; */
/*
  right: 200px;
  bottom: 0; */
  display: flex;
  justify-content: end;
  align-items: center;
  /* border: 2px red solid; */

  color: rgb(83, 83, 83)
}

.read-receipt-icon-svg {
  /* box-shadow: 0 0 2px 0 #000; */
  height: 30px;
}
.read-receipt-icon-svg path:nth-child(1) {
  fill: white;
}
.read-receipt-icon-svg path:nth-child(2) {
  fill: rgb(255, 255, 255);
}
.read-receipt-icon-svg path:nth-child(3) {
  fill: black;
}
.read-receipt-icon-svg path:nth-child(4) {
  fill: black;
}

/* container for input text and submit button */
.input-submit-container {
  /* border: 2px solid green; */
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
  padding: 10px;
  margin: 0;
  height: 20%;

  /* border-top: 2px solid rgba(0,0,0,0.2); */

}

/* container for input */
.input-container {
  /* border: red solid 2px; */
  padding: 10px;
}

/* container for submit */
.submit-container {
  /* border: red solid 2px; */
  margin: 10px;
}

.submit-container:hover {
  /* border: red solid 2px; */
  background-color: #05d5ff;
}


/* TextArea for chat input */
/* @media only screen and (min-width: 756px){ */

.chat-input {
  width: 100%;

  
  max-height: 140px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid red;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 1.2em;
  resize:none;

  overflow-y: auto;

  }
/* } */

@media only screen and (min-width: 0px) and (max-width: 844px) {
  .chat-input {
    min-width: 220px;
    font-size: 1em;
    }

    
}

/* dropdown attach media */
.attach-media-dropdown {
  position: relative;
  /* flex-basis: content; */
}

/* Show the dropdown menu on hover */
.attach-media-dropdown:hover .dropdown-content {
  display: block;
  max-height: 400px;
  overflow-y: scroll;
}

.attach-media-file-btn{
  background: transparent;
  border-radius: 50%;
  /* box-shadow: 0px 9px 16px 0px rgba(0,0,0,0.2); */
  width: fit-content;
  padding: 1em;
  transform: rotateZ(45deg);
  border: none;
}

.attach-media-file-btn:hover{
  background-color: #ddd;
}
.chat-attach-media-icons{
  width: 2.5em;
}
/* .custom-paperclip-icon {
  height: 2.5em;
  padding: 1em; 
} */

@keyframes fade_upwards {
  from {top: 0;}
  to {
    top: -250%;
  }
}
@keyframes fade_upwards_350 {
  from {top: 0;}
  to {
    top: -350%;
  }
}

/* container for the dropdown/popup content */
.attach-media-dropdown-content{
  display: none;
  position: absolute;
  background-color: transparent;
  z-index: 2;
  padding: 1em;
  top: 0;

  animation: fade_upwards 0.4s;
  animation-fill-mode: forwards;
}

.attach-media-dropdown-content .option-item{
  background-color: white;
  padding: 1em;
  border-radius: 50%;
  margin-bottom: 2em;
  -webkit-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.65);
  -moz-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.65);
  box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.65);
}
.attach-media-dropdown-content .option-item:nth-child(1){
  margin-bottom: 2em;
}
.attach-media-dropdown-content .option-item:nth-child(2){
  margin-bottom: 1em;
}

/* screen blocker */
.screen-blocker {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: '';
  background: rgba(0,0,0,0.01);
  display: none;
  /* z-index: 0; */
}

.screen-blocker.darker {
  background: rgba(0,0,0,0.1);
}
.screen-blocker-navbar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: '';
  background: rgba(0,0,0,0.01);
  /* z-index: 0; */
}

/* .z-index-1{
  z-index: 1;
  position: fixed;
}
.z-index-2{
  z-index: 20;
  position: fixed;
} */

/* Message submit button */
#chat-message-submit {
  font-family: 'Ubuntu', sans-serif;
  
  width: 170px;
  height: 40px;
  line-height: 1;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  border: 3px solid #8C82FC;
  background: #fff;
  color: #8C82FC;
  border-radius: 40px;
  cursor: pointer;
  overflow: hidden;

  transition: all .35s;

}

.cursor-pointer {
  cursor: pointer;
}
.cursor-default {
  cursor: default;
}

.media-input-container{
  display: none;
  position: relative;
  overflow: hidden;
}

@keyframes shadow-pulse {
  0% {
    box-shadow: 0 0 2px 1px rgba(var(--nova-purple-decimal), 0.6);
  }
  100% {
    box-shadow: 0 0 10px 2px rgba(var(--nova-purple-decimal), 1);
  }
}

.image-input-container{
  /* width: 100%; */
  /* height: 20px; */
  min-height: 46px;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 0);

  border-radius: 1em;

  box-shadow: 0 0 2px 1px rgba(var(--nova-purple-decimal), 0.3);

  /* background-image: url("/media/chat_media/10.0/Rkhof3amhcKE3XIZSA4pGzCDNKqNKs/2023_07_24_23_25_15.947470.png"); */
  background-color: white;
  animation: shadow-pulse 1.2s linear infinite alternate;
  transition: all 0.1s linear;
  /* display: inline-block; */
}

.floating.file-input-container{
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 0);

  border-radius: 0.4em;
  background-color: white;
  box-shadow: 0 0 2px 0 var(--nova-purple);
  padding: 0.4em;
}

.file-input-container {
  font-size: small;
  margin: 0.2em;

}
/* 
.image-input-container::before{
  content: "";
  display: block;
  padding-bottom: 100%;
  padding-left: 100%;
} */

/* file preview link*/
.file-input-preview{
  margin-left: 1em;
  margin-right: 1em;
}
/* image send preview */
img.image-input-preview {
  width: 240px;
  max-height: 240px;
  /* position: absolute; */
  /* top: 0;
  left: 0; */
  z-index: 1;

  /* object-fit: contain; */
}

.image-input-container .loading-spinner {
  display: block;
  position: relative;
  /* left: 50%;
  top: 50%; */
  width: 84px;
  height: 84px;
  /* margin: -75px 0 0 -75px; */
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--nova-purple);
  animation: 1.7s spin-clockwise linear infinite;
  z-index: 11;
}
.image-input-container .loading-spinner.hide {
  display: none;
}

.image-input-container .loading-spinner:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--nova-light-blue);
  animation:  .6s spin-reverse linear infinite;
}

.image-input-container .loading-spinner:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--nova-hot-pink);
  animation: 1s spin-clockwise linear infinite;
}


/* button to remove image input */
.img-input-remove-button{
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  /* border-top-left-radius: 0.5em; */
  border-bottom-left-radius: 0.5em;
  border: none;
  background-color: rgba(56, 56, 56, 0.172);
  padding: 0.4em;
}

.img-input-remove-button:hover{
  background-color: rgba(255, 255, 255)
  ;
}

/* button to remove file input */
.file-input-remove-button{
  border: none;
  background: transparent;

  padding: 0em;
  border-radius: 50%;
}
.file-input-remove-button:hover{
  background-color: rgba(255, 255, 255);
}

.file-input-remove-button .delete-preview-image-icon{
  fill: rgba(216, 0, 0, 0.498);
}
.file-input-remove-button:hover .delete-preview-image-icon{
  fill: rgb(216, 0, 0);
}

.delete-preview-image-icon{
  width: 2em;
  /* height: 1em; */
  fill: rgb(228, 228, 228);
}

.img-input-remove-button:hover .delete-preview-image-icon{
  fill: black;
}




.chat-message-submit-btn{
  border: none;
  background: transparent;
}

/* .message_send_icon{
  /* 8em by 6.8em */
  /* width: 4em; 
  height: 2.6em;
} */

/* .sidebar-container {
  max-width: 25%;
  overflow: hidden;
  float: right;
  border: solid black 5px;
  margin: 10px;
  right: 0;

} */



.lesson-booking-btn:hover {
  box-shadow: rgb(38, 57, 77) 0px 10px 15px -5px;
  margin-top: 0em;
  margin-bottom: 0.2em;
}
.tutor-search-btn:hover {
  box-shadow: rgb(38, 57, 77) 0px 10px 15px -5px;
  margin-top: 0em;
  margin-bottom: 0.2em;
}

.lesson-booking-container {
  margin-left: 15%;
  margin-right: 15%;
}

.lesson-booking-disclaimer {
  padding: 30px;
}
/* vertical line */
.vl {
  border-left: 1px solid rgb(12, 12, 12);
  height: 100px;
}

.convo-container-list-mode {
  display: flex;
  justify-content: center;
  align-items: center;
}

.message-image-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.message-image {
  max-width: 100%;
  max-height: 10em;
  border-radius: 0.2em;

}

.file-message{
  max-width: 100%;
  color: red;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  /* text-decoration: underline; */
  text-overflow: ellipsis;
  overflow: hidden;
}

.btn-clear-defaults {
  border: none;
  background: none;
}


a.clear-defaults {
  color: black;
}
a.clear-defaults:hover {
  color: #333;
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* TUTOR PUBLIC PROFILE */
/* /////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/* main element */
.tutorPP-main {
  margin: 0;
  margin-top: 20px;
  width: 100%;
  /* border: 5px solid black; */
  padding-top: 20px;
  background: #fff;
}
/* FLexbox to wrap entire content */
.tutor-public-profile-container {
  justify-content:space-around;
  align-items: stretch;
  gap: 1em;
  margin: 0 3em 0 3em;

  /* border: 4px dotted red; */
}

/* Flexbox to wrap all of the tutor information */
.tutor-info-flexbox {
  display: flex;
  flex-direction: column;
  /* width: 90vw; */

  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 1em;
  padding: 1em;
  /* flex-grow: 1;
  /* border: 3px dashed green; */
  align-self: stretch;

  /* background: white; */
  box-shadow: 0px 0px 5px 0px rgba(18, 18, 18, 0.186);
  align-items: stretch;

}


/* Header of tutor info. Name, img, price etc. */
.tutor-info-header {
  justify-content: space-evenly;
  /* align-items: center; */

  margin: 20px;
  padding: 10px;

  /* box-shadow: 0px 0px 5px 0px rgba(255, 0, 0, 0.5); */



}

/* Container for the tutor image and image background*/
.tutor-header-img-container {
  background: white;
  /* z-index: -10; */
  /* border: 4px rgb(255, 167, 167) solid; */

  border-radius: 10%;
  align-self: center;
  margin: 10px;
  padding: 0;

  position: relative;

  /* hide the image background that spills*/
  /* overflow: hidden; */
}



/* the background to the image */
.tutor-img-background {
  background-color: white;
  /* border: 2px red solid; */
  border-radius: inherit;
  height: 100%;
  width: 100%;

  margin: 0;
  /* padding: 10px;  */

  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;

  /* left:50%;
  transform: translate(-50%, -50%); */
  
  overflow: hidden;
}


.tutor-name-container {
  padding: 0.2em;
}

.tutor-info-header h1 {
  font-size: xx-large;
  font-weight: bold;
}

.tutor-info-header h2 {
  font-size: x-large;
}

.tutor-info-header h3 {
  font-size: large;
}

.tutor-info-header h4 {
  position: relative;
  font-size: medium;
  display: inline;
  vertical-align: middle;
  font-weight: bold;
}

.tutor-info-header h5 {
  position: relative;
  font-size: medium;
  color:rgb(138, 138, 138);
  display: inline;
  vertical-align: middle;
}

.layer {
  /* z-index: 0; */
  height: 20px;
  width: 30%;
  position: absolute;
  filter: blur(32px);

}
.layer:nth-child(1) {
  background-color: rgb(166,255,203);
  bottom: 50%;
  height: 30%;
  left: 0;
}
.layer:nth-child(2) {
  background-color: rgb(9,204,255);
  bottom: 0;
  right: 0;
}
.layer:nth-child(3) {
  background-color: rgb(85,51,255);
  top: 0;
  left: 37%;
}


/* wrapper for the image */
.tutor-header-img-wrapper {
  /* width: 100%;
  height: 100%; */
  /* z-index: 10; */
  position:relative;
  /* left: 0;
  top: 0;
  bottom: 0;
  right: 0; */
  /* margin: -160px;  */
  /* border: 1px black solid; */
  background-color: transparent;
  overflow: hidden;
/* 
  left:50%;
  transform:translate(-50%,-50%); */
}

/* image styling for tutor public profile page */
.tutor-public-profile-img {
  width: 13em;
  /* max-height: 160px; */

  /* The cool background is beneath the padding here */
  padding: 4px;
  /* border: 4px red solid; */
  border-radius: 10%;
  visibility: visible;
}

/* Container for the tutor's header info */
.tutor-header-info-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* border: 2px black solid; */
  /* box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1); */
  font-size: 1.4em;

}

/* container to hold the tutor's name and price in the header */
.tutor-price-name-container {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  
  font-weight: 600;
  font-size:1.8em;
  /* border: blue 2px solid; */
}

/* Tutor's name */
.tutor-header-name {
  margin-right: 40px;
  /* border: black 1px solid; */
}
/* Tutor's price */
.tutor-header-price {
  margin: 4px;
  /* border: black 1px solid; */
}

/* Tutor info sections */
.tutor-info-section {
  /* border: 2px blue solid; */
  margin: 4px;
  padding: 10px;
  text-align: left;
}

.table-div {
  text-align: center;
}

.tutor-header-rating-reviews {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  align-self: stretch;
  /* border: 2px solid red; */
}
/* wrapper for the stars */
.stars-wrapper {
  /* max-width: 100px; */
  /* border: 2px solid black; */
  padding-bottom: 1em;
}

.rating-star-img {
  width: 20px;
  height: 20px;
}

/* AVAILABILITY */
table, th, td {
  border: 1px solid;
}

table {
  width: 100%;
}

.av-table {
  height: 40px;
  width: 12.5%;
}

/* Reviews */

/* .tutor-review-container .header_div{
  border: red 2px solid;
} */
/* .tutor-review-container i{
  border: red 2px solid;
} */

/* Book lesson sidebar */
/* //////////////////////// */
.book-lesson-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.808);
  align-self: flex-start;
  flex-grow: 1;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.1);
  padding: 20px;
  min-width: 30%;
}

.tutor-info-flexbox-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}




#profile-page-img-container{
  display: grid;
  /* border: blue 2px solid; */
  padding: 0;
  margin: 1em;
}

#profile-page-img {
  /* border: 4px red solid; */
  z-index: 1;
  grid-area: 1/1;
  max-width: 100%;
  max-height: 250px;

  border-radius: 5%;
}

#profile-page-img:hover {
  opacity: 0.2;
}

.hidden-overlayer-container {
  display: none;
  /* border: 2px green dashed; */
  grid-area: 1/1;

  /* width: 100%;
  height: 100%; */
}

#overlay_profile_icon{
  /* border: #000 2px dashed; */
  /* opacity: 0.2; */
  z-index: 2;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

}

#overlay_profile_image {
  /* border: pink 2px solid; */
  width: 60px;
}

#profile-page-img:hover + .hidden-overlayer-container{
  display: block;  
  /* visibility: visible; */

}

.hide-overflow, .overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}
.overflow-scroll {
  overflow: scroll;
}
.overflow-x-scroll {
  overflow-x: scroll;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}

/* Container for the update account info form */
#account-info-form-container {
  align-items: flex-start;
  justify-content: center;
}
.update-account-info-row {
  margin: 20px;
  padding: 10px;
}

.update-account-info-row > div {
  margin: 5px;
}

.update-info-form-label-tag{
  padding: 4px;
  margin-right: 40px;
}

/* Customise widgets in account update form */
.phone_number_country_code_widget {
  border-radius: 4px;
  padding-right: 0;
  width: 100%;
}

.pagination {
  padding: 1em;
  max-width: 100%;
}


.pagination-btn {
  text-align: center;
  color: rgb(74, 74, 74);
  background-color: rgb(217, 217, 217);
  padding: 0.8em;
  border-radius: 8px;
  transition: all 0.1s linear;
  margin: 0.2em;
}
.pagination-btn:hover{
  background-color: rgb(179, 179, 179);
  color: rgb(11, 10, 10);
}
@media screen and (max-width: 600px) {
  .pagination {
    padding: 0.2em;
  }
  /* .pagination-btn {
    padding: 0.4em;
  } */
}
.next-arrow {
  width: 1em;
  margin: 0.2em;
  fill: var(--nova-dark-purple);
  transition: all 0.1s linear;
}
/* .pagination-btn:hover .next-arrow{
  width: 74%;
} */
/* FROM about.css. Nav bar etc */
/* //////////////////////////////////////////////// */
/* //////////////////////////////////////////////// */
/* //////////////////////////////////////////////// */

/* FOOTER */
.site-footer {
  /* position: absolute; */
  /* top: 100%; */
  /* transform: translate(0, -100%); */
  width: 100%;
  /* border: red 1px solid; */
  margin-top: auto;
}
footer {
  padding: 0.5em;
  /* background-color: rgb(247, 247, 255); */
  background-color: rgb(255, 255, 255);
}
.footer-main {
  justify-content: space-evenly;
  align-items: start;
}

.footer-secondary {
  padding: 8px 10px 0 10px;
  border-top: rgb(193, 193, 196) 1px solid;
}

.footer-secondary-socials {
  justify-content: space-evenly;
  align-items: end;
}

.footer-column{
  padding: 10px;
}

/* .footer-shortcuts{
  align-items: flex-start;
} */

.footer-column-items{
  margin: 2px;
  padding: 4px;
  color: #777;
  /* align-self: start; */
}

a.footer-column-items:hover {
  color: rgb(175, 174, 174);
}

.footer-social-icons{
  width: 40px;
  height: 40px;
}

/* Screen size for footer */
@media screen and (min-width: 0px) and (max-width: 900px) {
  #footer-quick_links-column { display: none; }  /* don't show it on small screens */
  #footer-search_shortcuts-column { display: none; }  /* don't show it on small screens */
}
@media screen and (min-width: 0px) and (max-width: 500px) {
  #footer-quick_links-column { display: none; }  /* don't show it on small screens */
  #footer-search_shortcuts-column { display: none; }  /* don't show it on small screens */
  #footer-company-column { display: none; }  /* don't show it on small screens */
}
/* //////////////////// */
/* IMG */
.img-wrapper-container{
  position: relative;
  width: fit-content;
  padding: 0.2em;
  height: 500px;
  width: 100%;
  align-items: flex-end;
  justify-content: center;

  z-index: -1;
}
.img-wrapper {
  position: relative;
  width: fit-content;
  opacity: 0;
  /* top: 0; */
  /* transform: translateY(100px) rotate(-12deg); */
  background: #fff;
  padding: 8px 38px;
  border-radius: 24px;
  margin: 1em;
  box-shadow: inset 0 4px 7px 1px #fff,
      inset 0 -5px 20px rgba(173, 186, 204, 0.25), 0 2px 6px rgba(0, 21, 64, 0.14),
  0 10px 20px rgba(0, 21, 64, 0.05);
  animation: up 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
}
.img-wrapper img {
    max-width: 25vw;
    height: auto;
}

/* TEXT */
.text {
    position: relative;
    height: 760px;
    display: flex;
    margin: -60px 0 0 150px;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 1024px;
}

.landing-page-hero {
  padding: 0.6em;
  padding-top: 2em;
}

.lead-gen-form {
  justify-content: space-between;
  /* justify-content: flex-start; */
  /* min-height: 80vh; */

  /* height: 80vh; */
  min-height: 700px;
}
.lead-gen-form.specific-height {
  height: 1px;
}

@media only screen and (max-width: 600px) {
  .landing-page-hero {
    padding: 0.6em;
    /* min-height: 80vh; */

  }

  .lead-gen-form {
    justify-content: flex-start;
    min-height: 600px;
  }

}


/* #lp-hero-title {
  background: linear-gradient(white, #05d5ff ,  #53f  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

  font-size: 4em;
  font-weight: 700;

  text-shadow: 1px 1px 2px rgb(10, 0, 157);
  text-shadow: 4px 0  rgb(0, 0, 0), -4px 0 rgb(0, 0, 0), 0 4px rgb(0, 0, 0), 0 -4px rgb(0, 0, 0);
} 
/* 
.glowy-white-shit {
  text-shadow: 10px 10px 6px white;
} */
.landing-page-hero h1 {
  color: #00004a;
  font-size: 3.4em;
  font-weight:600;
  opacity: 0;
  animation: fadein 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  text-align: center;
}

/* .landing-page-hero h1.mobile {
  font-weight:400;
  
} */

.landing-page-hero .tickmark-row {
  padding-bottom: 0.8em;
  margin-bottom: 0.8em;

  line-height: var(--index-tickmark-row-line-height);

  list-style: none;
  align-items: flex-start;
  /* font-size: 1.1em; */
}
.landing-page-hero .tickmark-text {
  color: #555;
  font-size: var(--index-tickmark-text-font-size);
  font-weight: 500;
}

.landing-page-hero .tickmark-svg {
  padding: 0 0.4em 0 0.4em;
  margin-top: var(--index-tickmark-svg-margin-tb);
  margin-bottom: var(--index-tickmark-svg-margin-tb);
  /* width: 1.6em; */
  height: var(--index-tickmark-height);
}
.check-solid-svg {
  /* width: 1.5em; */
  color: #53f;
}

@media only screen and (min-width: 600px) {
  :root {
    --index-tickmark-row-line-height: 1.5;
    --index-tickmark-text-font-size: 1.5em;
    --index-tickmark-height: 1.3em;
    /* Margin top and bottom places tickmark exactly in center of text line*/
    --index-tickmark-svg-margin-tb: calc((var(--index-tickmark-text-font-size)*var(--index-tickmark-row-line-height) - var(--index-tickmark-height)) / 2);    
  }
  .landing-page-hero .tickmark-row {
    padding-bottom: 1em;
    margin-bottom: 0.8em;

  }
  /* .landing-page-hero .tickmark-text {
    font-size: 1.4em;
  } */
  
  .landing-page-hero .tickmark-svg {
    padding: 0 0.8em 0 0.8em;
  } 

  .chat-link.unread::after, .convo-list-item.unread::after{
    content:"";
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(-100%, 100%);
    
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background-color: red;
  }

  .main-list.chat-list {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.8);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.8);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.8);
    margin-bottom: 2em;  
    border-radius: 0.4em;
    border-top: none;
  }

  .room.chat-link {
    width: 100%;
  }
}

.landing-page-hero .contact-us-container {
  color: rgb(14, 14, 14);
  font-size: 1.3em;
  /* line-height: 32px; */
  margin: 0;
  opacity: 0;
  animation: fadein 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  text-align: center;

}

.contact-us-container p {
  margin: 0;
  /* font-size: 1.3em; */
}
/* phone icon */
.phone-icon {
  width: 1.2em;
  margin-right: 0.6em;
}

@keyframes up {
    0% {
        transform: translateY(100px) rotate(-12deg);
        opacity: 0;
    }
    100% {
        transform: translateY(0) rotate(-12deg);
        opacity: 1;
    }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in {
  animation: fadein 0.8s ease-in-out;
}
.fade-in.slower {
  animation-duration: 1s;
}
/* LANDING PAGE SECTIONS */
.section-wrapper-lp {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  justify-content: center;
  align-items: center;
}

.section-wrapper-lp .text-wrapper {
  padding: 1em;
}

.section-wrapper-lp p {
  padding: 0.6em;
}

.section-wrapper-lp.reverse {
  flex-direction: row-reverse;
}

/* wrapper for section img */
.lp-section-img-wrapper {
  width: 50%;
  align-self: stretch;
  /* border: red 2px solid; */
  /* padding: 1em; */
}

.lp-section-img-wrapper div {
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: red 2px solid; */
  width: 100%;
  height: 80%;
}

.lp-section.minor .lp-section-img-wrapper div {
  width: 70%;
}

.lp-section-img-wrapper img {
  /* width: 100%; */
  /* height: 100%; */
  max-width: 100%;
  border-radius: 16px;
}

@media only screen and (max-width: 961px) {
  /* change section to column layout */
  .section-wrapper-lp, .section-wrapper-lp.reverse{
    flex-direction: column;
  }

  .lp-section-img-wrapper {
    width: 90%;
    align-self: center;
    /* border: red 2px solid; */
  }
}


/* landing page 3rd party reviews */
.review-row {
  /* width: 100%; */
  height: 8em;
  padding: 1em;
}

.review-row.parent {
  margin-top: 1em;
}

.absolute.review-row {
  width: 100vw;
  height: 100%;
  z-index: -1;
  /* background-color: red; */
}

/* Change if image updated. */
.reviews-img-small-screen{
  max-height: 90%;
}

.landing-page-3rd-party-review-container {
  height: 100%;
  width: 22%;
  overflow: hidden;
  /* object-fit: contain; */
}
.lp-3rd-party-review-img{
  width: 100%;
  max-height: 100%; 
  object-fit: contain;
}
@media screen and (min-width: 831px) and (max-width: 1100px) {
  .review-row{
    height: 8em;
  }
  .landing-page-hero h1 {
    font-size: 3em; 
  }
}
@media screen and (max-width: 830px) {
  .img-wrapper {
    display: none;
  }

  .landing-page-hero h1 {
    font-size: 3em; 
  }
  .content-title{
    font-size: 1em;
  }

  .reviews-img-small-screen{
    width: 50%;
    /* max-height: 4em; */
  }

  .review-row {
    height: 6em;
    padding: 0.5em;
  }

}

@media screen and (max-height: 600px) {
    .text {
        margin: -200px 0 0 150px;
    }
    
}

.search-box{
  opacity: 0;
  position: relative;
  animation: fadein 1s;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
  /* z-index: 0; */
}
  
@keyframes expandSearchBar {
  0% {
    width: 0;
  }
  100% {
    
  width: 11em;

  } 
}

.background-text-gradient{
  background: linear-gradient(150deg, #53f 15%, #05d5ff 70%, #a6ffcb 94%);
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
}
.searchbox-input-container {
  border: 3px solid rgba(72, 88, 95, 1); 
  padding: 0.2em;
  border-radius: 1em;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;

}

.searchbox-input {
  width: 0;
  background: none;
  box-sizing: border-box;
  font-size: 26px;
  color: rgb(0, 0, 0);
  outline: none;
  transition: .5s;
  border: none;
  padding: 0.2em;


  animation: expandSearchBar 0.4s;
  animation-fill-mode: forwards;
  animation-delay: 2s;
}

.searchbox-input::placeholder {
  /* background-color: rgba(0, 0, 0, 0.467); */
  color: rgba(72, 72, 72, 0.715);
}

#landing-page-search-input-mobile{
  color: rgba(72, 72, 72, 0.715);
  height: 1.8em;
}
.search-icon-landing-page{
  /* position: absolute;
  padding: 0.4em;
  top: 0;
  bottom: 0;
  right: 0; */

  color: rgb(0, 0, 0);
  width: 2em;
  padding: 0.2em;
  /* stroke-width: 400; */
  /* font-size: 1em; */
}
/* .search-box:hover input{
  width: 10em;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
} */
  
/* .search-box:focus-within input{
  width: 10em;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
} */
  
/* .search-box i {
  position: relative;
  left: 0.9em;
  top: 0.9em;
  font-size: 1.6em;
  color: #fff;
  transition: .4s;
} */

@keyframes moveLeft {
  from {}
  to {
    left: 11em;
  }
}
.search-box i{
  /* animation: moveLeft 0.4s;
  animation-fill-mode: forwards;
  animation-delay: 2s;   */
  font-size: 1.8em;
  padding: 0.2em;
  color: rgb(121, 121, 121);
  /* transform: translate(-50%,-50%); */

}
  
/* .search-box:focus-within i{
  left: 11em;
} */

/* 
.more-info{
margin: 5vw;
} */

.feature .main-page-content-img {
max-height: 14em;
/* width: 100px; */
z-index: 0;
}

.main-page-content-img-container {
  /* background-color: red; */
  /* object-fit: cover; */
  max-width: 100%;
  overflow: hidden;
  border-radius: 4px;
  height: fit-content;
  width: fit-content;

}

.content .content-title {
font-weight: bold;
font-size: 2.5em;
}

.content-title.lp-content-title {
  font-weight: 600;
  text-align: center;
}

.content .content-body {
font-size: 1.3em;
/* line-height: 1.4rem; */
text-align: start;
}

.feature{
  padding: 4em 2em 35px 2em;
  padding-bottom: 35px;
}

/* Your subjects selection display */
.subject-board-level-selection{
margin: 0 0.5em 0.25em 0.5em;
}

/* alternate background colour */
.alt-background {
  background-color: rgb(250, 250, 255);
}

.alt {
  background-color: #efefef;
}
@media only screen and (min-width: 680px) {
.landing-text {
  margin-left: 5em;
  margin-right: 5em;
}
}

@media only screen and (min-width: 900px) {
.more-info{
  margin-left: 10vw;
  margin-right: 10vw;
}

.feature{
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10vw;
  padding-bottom: 8em;
}

/* .feature .content-title{
  text-align: right;
} */

/* .feature .content-body {
  text-align: justify;
  text-align-last: right;
} */

/* .feature .main-page-content-img-container {
  min-width: 35vw;
} */

.feature.reversed {
  grid-template-areas:
    'left right';
}

/* .feature.reversed .content-title {
  text-align: left;
} */

/* .feature.reversed .content-body {
  text-align: justify;
  text-align-last: left;
} */

.feature.reversed .main-page-content-img {
  grid-area: left;
}
.feature.reversed .main-page-content-img-container {
  grid-area: left;
}
}

.search-filter-section {
  /* text-align: center; */
  display: flex;
  justify-content:center;
  align-items:center;
  align-self: stretch;
  padding: 10px;
  background-color: #fff;
  margin-left: 1em;
  margin-right: 1em;
}

.input-wrapper {
  width: fit-content;
  padding: 0.2em;
  margin-bottom: 1em;
  margin-top: 1em;
}
#subjectChoiceList{
  background: white;
  color: black;
  width: 100%;
  max-height: 12em;
  overflow-y: scroll;

  align-items: stretch;
  border-radius: 4px;
  display: none; 
  top: 100%; 

  position: absolute;

}
#subjectChoiceList-mobile{
  background: white;
  color: black;
  width: 100%;
  max-height: 80%;
  overflow-y: scroll;

  align-items: stretch;
  border-radius: 4px;

}

.subjectItemLandingPage{
  border-bottom: #222 1px solid;
  padding: 0.4em;
  text-align: center;
  cursor: pointer;
}

.subjectItemLandingPage:nth-child(1){
  padding-top: 0.4;
}
.subjectItemLandingPage:nth-last-child(1){
  border-bottom: none;
}

.subjectItemLandingPage:hover{
background: #ddd;
}

/* specific for mobile */
.subjectItemLandingPage-mobile{
  font-size: 1.4em;
  font-weight: 400;
  border-bottom: #222 2px solid;
  padding: 1em;
}

.slow-fade-in{
  opacity: 0;
  animation: fadein 1s;
  /* animation-delay: 3.8s; */
  animation-fill-mode: forwards;
  /* z-index: -1; */
  position: relative;
}

.smaller-screens{
  display: none;
}
.larger-screens{
  display: flex;
}

.landing-page-review-trusted-by-parents-container {
  font-size: 2.2em;
}

/* Progess bar */
/* .progress{
  height: 16px;
  border-radius: 6px;
} */
/* animation for lead-gen-slide */

@keyframes slide-transition-x-left {
  0% {
    /* left: 100%; */
    transform: translateX(100%);

    opacity: 0;


  }
  /* 50% {
    transform: translateX(50%);
  } */
  100% {
    opacity: 1;
    /* left: 0%; */
    transform: translateX(0%);


  }
}
@keyframes slide-transition-x-right {
  from {
    transform: translateX(-100%);
  }
  
  to {
    transform: translateX(0%);
  }
}
@keyframes slide-transition-out-x-right {
  0% {
    left: 0%;
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    left: 100%;
  }
}
@keyframes slide-transition-out-x-left {
  from {
    right: 0%;
    opacity: 1;
  }
  
  to {
    opacity: 0;
    right: 100%;
  }
}

.lead-gen-slide {
  /* height: 100%; */
  /* overflow-x: auto; */
  padding: 2em;
  margin-top: 1em;
  /* margin-left: auto; */
  /* left: 50%; */
  /* transition: visibility 0.2s; */

  height: 80%;
  width: 100%;
}

@media only screen and (min-width: 601px) {
  .lead-gen-slide {
    max-height: 90%;
  }

}

.lead-gen-slide .content-container {
  max-height: 100%;
}

.lead-gen-slide-1 {
  padding-left: 10%;
  padding-right: 10%;
}

@media screen and (max-width: 600px) {
  .lead-gen-slide-1 {
    padding-left: 2px;
    padding-right: 2px;
  }
}
.slide-in-from_left {
  transform: translateX(100%);
  /* position: absolute; */

  opacity: 0;
  animation: slide-transition-x-left cubic-bezier(0.61, 1, 0.88, 1) forwards 0.3s;
  animation-delay: 0s;
}
.slide-in-from_right {
  transform: translateX(-100%);
  animation: slide-transition-x-right forwards cubic-bezier(0.61, 1, 0.88, 1) 0.3s;
}

.slide-out-to_right {
  animation: slide-transition-out-x-right forwards cubic-bezier(0.61, 1, 0.88, 1) 0.3s;
}
.slide-out-to_left {
  animation: slide-transition-out-x-left forwards cubic-bezier(0.61, 1, 0.88, 1) 0.3s;
}

/* .slide-animation {
  transform: translateX(0%);
} */

.lead-gen-slide h3{
  text-align: center;
}

.lp-section p.caption-text,.lp-section.minor p.caption-text,  p.caption-text {
  color: grey;
  font-size: 1em;
  text-align: center;
}

/* container for options */

.lead-gen-options-container.jc-sa {
  justify-content: space-around;

}
.lead-gen-options-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.back-continue-container{
  /* position: absolute; */
  align-self: center;
  /* border: red 1px solid; */
  bottom: 0;
  width: 80%;
  /* background: rgb(241, 245, 250); */

}

.spinner-border-center {
  top: 50%;
  left: 50%;
  transform: (-50%, -50%);
}

/* Button styling */

.btn-nova.date-select-btn{
  margin: 0;
  margin: 2px;
}

.small-screen-flex .btn-nova.date-select-btn{
  width: 50%;
}
.large-screen-flex .btn-nova.date-select-btn{
  width: 33%;
}


/* lead gen slide sections/ img/text */
.lead-gen-section-wrapper{
  /* border: 1px red solid; */
  width: 100%;
  height: 100%;
  padding: 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}
.lead-gen-section-img{
  width: 5em;
  max-height: 5em;
  margin: 1em;
  margin-bottom: 2em;
}
.lead-gen-section-text{
  color: #555;
  font-size: larger;
}
@media screen and (max-width: 675px) {
  .btn-nova.date-select-btn{
    font-size: 0.8em;
  }
}

@media screen and (min-width: 1100px) {
  
  .large-marketplace-screen {
    display: flex;
  }

  .medium-marketplace-screen {
    display: none;
  }

  .small-marketplace-screen {
    display: none;
  }

  .smallest-marketplace-screen {
    display: none;
  }
  .search-filter-container form{
    box-shadow: 0px 0 4px 1px rgba(113, 113, 113, 0);
    
    /* border-radius: 2em;
    border: #4f40ff;
    border-style: solid;
    border-width: 0.35em; */

    background: rgba(255, 255, 255, 0);
    padding: 0.5em 2em;
  }

  .btn-marketplace-filter {
    justify-content: space-between;
    background-color: #4f40ff;
    color: white;
    width: 8em;
    height: 3rem;
    font-size: 1.3em;
    font-weight:600;
    border-radius: 0.25em;
    border-style: none;
    margin-left: 2em;
  }
}

@media screen and (min-width: 850px) and (max-width: 1099px) {
  

  .search-filter-container form{
    box-shadow: 0px 0 4px 1px rgba(113, 113, 113, 0);
    /* border-radius: 2em;
    border: #4f40ff;
    border-style: solid;
    border-width: 0.35em; */
    background: rgba(255, 255, 255, 0);
    padding: 0.5em 2em;
  }

  .btn-marketplace-filter {
    justify-content: space-between;
    background-color: #4f40ff;
    color: white;
    width: 8em;
    height: 3rem;
    font-size: 1.3em;
    font-weight:600;
    border-radius: 0.25em;
    border-style: none;
    margin-left: 2em;
  }
}

.marketplace-dropdown-container {
  flex-direction: row;
}

@media screen and (max-width: 849px) {
  .marketplace-dropdown-container {
    flex-direction: column;
  }
}

@media screen and (min-width: 450px) and (max-width: 849px) {
  .large-marketplace-screen {
    display: none;
  }

  .medium-marketplace-screen {
    display: none;
  }

  .small-marketplace-screen {
    display: flex;
  }

  .smallest-marketplace-screen {
    display: none;
  }

  .search-filter-container form{
    box-shadow: 0px 0 4px 1px rgba(113, 113, 113, 0);
    /* border-radius: 2em;
    border: #4f40ff;
    border-style: solid;
    border-width: 0.35em; */
    background: rgba(255, 255, 255, 0);
    padding: 0.5em 2em;
  }

  .btn-marketplace-filter {
    justify-content: space-between;
    background-color: #4f40ff;
    color: white;
    width: 8em;
    height: 3rem;
    font-size: 1.3em;
    font-weight:600;
    border-radius: 0.25em;
    border-style: none;
  }
}

@media screen and (min-width: 0px) and (max-width: 449px) {
  .large-marketplace-screen {
    display: none;
  }

  .medium-marketplace-screen {
    display: none;
  }

  .small-marketplace-screen {
    display: none;
  }

  .smallest-marketplace-screen {
    display: flex;
  }

  .btn-marketplace-filter {
    justify-content: space-between;
    background-color: #4f40ff;
    color: white;
    width: 8em;
    height: 3rem;
    font-size: 1.3em;
    font-weight:600;
    border-radius: 0.25em;
    border-style: none;
  }
}



@media screen and (max-width: 1000px) {
  .content .content-title {
    font-size: 1.5em;
  }
  .larger-screens{
    display: none;
  }
  .smaller-screens{
    display: flex;
  }
}
@media screen and (max-width: 1200px) {
  .landing-page-review-trusted-by-parents-container {
    font-size: 2em;
  }

  .lesson-booking-container {
    margin-left: 5%;
    margin-right: 5%;
  }
  .lesson-booking-disclaimer {
    padding: 2px;
  }
}
@media screen and (max-width: 1100px) {
  .marketplace-search-form{
    flex-direction: column;
  }
  .landing-page-review-trusted-by-parents-container {
    display: none;
  }
  
  .landing-page-3rd-party-review-container{
    width: 45%;
    /* border: redv 2px solid; */
  }
  .lp-3rd-party-review-img {
    width:95%;
  }
  
  
}

/* SMALL SCREENS HERE */

@media only screen and (min-width: 330px) and (max-width: 961px) {
  .btn-nova {
    font-size: medium;
  }
}
@media only screen and (min-width: 0px) and (max-width: 961px) {

  .large-screen, .large-screen-flex{
    display: none;
  }

  /* header {
    background: #53f;
  } */

  /* .spacer-below-header{
    background: #53f;
  } */

  
  .convo-container{
    padding-top: 1em;
    padding-left: 0;
    padding-right: 0;

    height: 85%;
  }

  .input-submit-container {
    height: 15%;
  }
  .chat-attach-media-icons{
    width: 2em;
  }

  .attach-media-dropdown-content{
    animation: fade_upwards_350 0.4s;
    animation-fill-mode: forwards;

  }

  .attach-media-dropdown-content .option-item{
    padding: 0.6em;
  }
  
  .attach-media-file-btn{
    padding: 0.6em;
  }

  .sidebar-title {
    display: none;
  }

  .book-lesson-sidebar {
    position: fixed;
    width: 100vw;
    left:0;
    bottom: 0;
  }

  /* .section-wrapper{
    height: 90%;
  } */
  .tutor-search-btn{
    margin-top: 6em;
    margin-bottom: 10em;

    /* width: 100%; */
  }
  .tutor-search-btn:hover{
    margin-top: 5.9em;
    margin-bottom: 10.1em;
  }

  .profile-card-container{
    width: 90%;
  }

  .searchbox-input{
    font-size: 1.4em;
  }

  .account-info-container{
    flex-direction: column;
  }

  /* .landing-page-hero {
    padding-top: 1em;
    padding-bottom: 1em;
  } */


}

.small-screen-flex{
  display: none;
}
.very-small-screens {
  display: none;
}

.vv-small-screens{
  display: none;
}
.n-vv-small-screens{
  display:block;
}
.n-vv-small-screens.flexbox{
  display:flex;
}

@media only screen and (min-width: 0px) and (max-width: 300px) {

  .hide-300 {
    display: none;
  }
}
@media only screen and (min-width: 0px) and (max-width: 600px) {
  .wide-screen-tutor-availability {
    display: none;
    text-align: center;
  }

  .medium-screens {
    display: none;
  }
  .very-small-screens {
    display: block;
  }
  .very-small-screen-flex {
    display: flex;
  }
  .not-vs-screens {
    display: none;
  }
  
  .adapt-width-30-45, .adapt-width-40-45{
    width: 45%
  }
  .adapt-width-40-50{
    width: 50%
  }
  .adapt-width-40-80, .adapt-width-60-80, .adapt-width-30-80{
    width: 80%
  }
  .adapt-width-40-100, .adapt-width-45-100, .adapt-width-50-100, .adapt-width-70-100, .adapt-width-80-100{
    width: 100%
  }
  .lead-gen-slide{
    padding: 0 0.4em 0 0.4em;
  }
}

@media only screen and (min-width: 0px) and (max-width: 330px) {
  .chat-attach-media-icons{
    width: 1em;
  }

  .chat-input {
    min-width: 100px;
    font-size: 0.6em;
    }
  .input-wrapper{
    width: 90%;
  }
  .searchbox-input-container {
    width: 90%;
    
  }

  .search-icon-landing-page {
    display: none;
  }
  .searchbox-input{
    font-size: 1em;
    padding-left: 0.1em;
  }
  #landing-page-search-input-mobile {
    overflow: hidden;
    white-space: nowrap;
    align-self: stretch;
  }
  .label-landing-page-search {
    padding: 0.2em;
    overflow: hidden;
    
  }

  .btn-nova {
    font-size: 1em;
  }



}

@media only screen and (min-width: 331px) and (max-width:400px){
  .landing-page-hero h1 {
    font-size: 2.6em; 
  }

  .lp-section h2, .section-carousel h2{
    font-size: 2.6em;
  }

  .lp-section.minor h2 {
    font-size: 1.6em;
  }
}
@media only screen and (min-width: 0px) and (max-width:330px){
  .landing-page-hero h1 {
    font-size: 2.4em; 
  }

  .lp-section h2, .section-carousel h2{
    font-size: 2.4em;
  }

  .lp-section.minor h2 {
    font-size: 1.4em;
  }
}
@media only screen and (min-width: 0px) and (max-width:520px){
  .landing-page-sub-title {
    text-align: center;
  }
  
  .account-heading {
    font-size: 2em;
  }
}
@media only screen and (min-width: 401px) and (max-width:588px){
  .landing-page-subject-cycle{
    text-align: center;
  }
}
@media only screen and (min-width: 305px) and (max-width:401px){
  .landing-page-subject-cycle{
    text-align: start;
  }

}
@media only screen and (min-width: 332px) and (max-width:401px){
  #landing-page-search-input-mobile {
    text-align: start;
    font-size: 1em;
  }
}

@media only screen and (min-width: 0px) and (max-width:304px){
  .landing-page-subject-cycle{
    text-align: center;
  }
}



@media only screen and (min-width: 600px) {
  .narrow-screen-tutor-availability {
    display: none;
    text-align: center;
  }

  
}

@media screen and (min-width:962px) and (max-width:1200px){
  .hide-1200-961 {
    display: none;
  }
}


/* landscape tablets, lo-res laptops and desktops */
@media only screen and (min-width: 962px) {

  .room-chat-list {
    width: 20%;
    /* box-shadow: none; */
  }
  .message-app-container{
    padding: 10px 20px;
  }
  .small-screen{
    display: none;
  }
  .large-screen{
    display: block;
  }
  span.large-screen{
    display: inline-block;
  }
  .large-screen-flex{
    display: flex;
  }
  .sidebar-title {
    display: block;
    font-size: x-large;
    margin-bottom: 0.5em;
  }

  .book-lesson-sidebar {
    position: sticky;
    /* max-width: 360px; */
    top: 80px;
  }

  
  .lesson-booking-btn {
    max-width: 320px;
  }
  .tutor-search-btn{
    max-width: 320px;
    
  }

  .tutor-public-profile-container {
    margin: 0 2em 0 2em;
  }

}
@media only screen and (max-width: 961px) {
  .img-wrapper-container{
    display: none;
  }
  
  .small-screen {
    display: block;
  }

  .small-screen.hide {
    display: none;
  }

  .small-screen-flex{
    display: flex;
  }
  .small-screen-flex.hide{
    display: none;
  }

  .sender {
    margin-left: -20px;
    margin-right: 20px;
  }
  .receiver {
    margin-right: -20px;
    margin-left: 20px;
  }

}



/* Shape divider */

/* .custom-shape-divider-top-1666671985 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
} */

.custom-shape-divider-top-1666671985 svg {
  position: relative;
  display: block;
  width: calc(100%);
  height: 123px;
}

.custom-shape-divider-top-1666671985 .shape-fill {
  /* fill: #53f; */
  fill: #48DEF4;
}








/* WAVES WAVES WAVES */
/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
  background: linear-gradient(150deg, #53f 15%, #05d5ff 70%, #a6ffcb 94%);
}

.wave-content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .wave-content {
    height:30vh;
  }
}

.ultra-small-screen {
  display: none;
}

@media (max-width: 330px) {
  .ultra-small-screen {
    display: block;
  }

  .ultra-small-screen.hide{
    display: none;
  }

  .content .content-body {
    font-size: 1em;
    hyphens: auto;
  }
}

@media (max-width:330px) {
  .normal-screen {
    display: none;
  }
}

/* text only carousel */

.carousel button {
  max-width: 8%;
}

.carousel-text-only .carousel-item {
  min-height: 16em;
  /* border: black 1px solid; */

}
.carousel-text-only .carousel-item .text-container{
  padding: 1em 10% 1em 10%;
  /* border: red 1px solid; */
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 16em;

}

/* lessons-messages in navbar */
.nav-lessons-messages-container a{
  margin-left: 0.4em;
  margin-right: 0.4em;
  white-space: nowrap;
}
.nav-item-messages{
  position: relative;
}
.nav-item-lessons{
  position: relative;
}

.red-dot-notify::after{
  content: "";
  position: absolute;
  top: 0;
  border-radius: 50%;
}
 
/* Red dot for main laptop nav bar */
.nav-item.red-dot-notify::after{
  height: 1em;
  width: 1em;
  left: 0;
  transform: translate(0, 20%);
  background-color: rgba(255, 0, 0, 0.84);
}

/* red dot for hamburger icon - mobile */
#navbar-toggler-icon.red-dot-notify::after{
  height: 0.6em;
  width: 0.6em;
  right: 0;
  background-color: rgba(255, 0, 0, 1);

}

/* red dot for item in modal - mobile */
.nav-item-modal .red-dot-notify::after{
  height: 1em;
  width: 1em;
  left: 0;
  transform: translate(-75%, -50%);
  background-color: rgba(255, 0, 0, 01);
}
.nav-item-lessons.notify::after{
  content: "";

  height: 1em;
  width: 1em;

  position: absolute;
  top: 0;
  left: 0;

  /* transform: translate(0, -50%); */
  background-color: rgba(0, 174, 255, 0.84);

  /* z-index: -1; */
  border-radius: 50%;
}

/* How it works */
/* .how-it-works h1{
  width: 80%;
  /* background-color: #eeebf5; */
  /* border-radius: 0.2em; */
  /* border-top-right-radius: 0; */
  /* padding: 1em;
  text-align: center;
  font-weight: 700;
  position: relative;

  align-self: center;
}  */

/* @keyframes test {
  from {
    transform: translate(100%, 0) rotateX(0) rotateY(0) ;

  }
  to {
    transform: translate(100%, 0) rotateX(30deg) rotateY(-50deg) ;
  }
} */

/* .how-it-works h1::after{
  content: "";
  width: 1em;
  height: 50%;
  background-color: #eeebf5;
  background-color: red;

  position: absolute;
  top: 0;
  right: 0;

  transform: translate(0, 0) ;
  animation: test 2s infinite alternate;
  transform-origin: left top;
  /* border-top: 10px solid #5f26e4;
  border-right: 30px solid red; */

  /* border-radius: 0 0.2em 0 0; 
} */

/* .how-it-works h2 {
  text-decoration: underline;
  margin-top: 1em;
} */

.how-it-works {
  background: linear-gradient(transparent 50%, rgb(250,250,255) 90%);
}
.how-it-works section{

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  align-self: stretch;

  margin-bottom: 3em;
  /* border: red 1px solid; */
}

.boom-bold-title {
  font-size: 3em;
  text-align: center;
  font-weight: 600;
}

/* Blog app */
.blog-lv{
  padding: 2em;
}

.blog-lv .title-wrapper{
  background: rgb(47, 15, 202);
  color: white;
  padding: 2em;
  width: 100%;

  /* margin: -30px; */
  /* border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px; */
}
.blog-lv .title-wrapper h1{
  color:white;
  font-size: 4em;
  width: 100%;
  hyphens: auto;
}
.blog-lv .title-wrapper p{
  color:white;
  font-size: 1.2em;
}
.blog-list.audience-list{
  margin-top: 3em;
}

h2.recent-blogs-subtitle{
  margin: 1em;
}
.blog-audience-nav a{
  color: #53f;
}
.blog-audience-nav a:hover{
  color: rgba(85, 51, 255, 0.8);
  text-decoration: underline;
}
.blog-list a{
  text-decoration: none;
  color: #444;
  position: relative;

  margin: 1em;
  padding: 0;
  width: 16em;

  border-radius: 0.2em 0.2em 0.6em 0.6em;

  -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);

  /* background-color: #07D2FF; */
}

.blog-list a:hover{
  text-decoration: none;
  color: #222;
  background-color: rgb(252, 252, 252);
}

.blog-list.L-screens a{
  max-width: 31%;
}
.blog-list.M-screens a{
  max-width: 47%;
}
.blog-list.S-screens a{
  max-width: 94%;
}


.big-text {
  color: var(--nova-dark-purple);
  font-size: 2em;
  font-weight: 500;
}
@media screen and (max-width:600px) {
  .big-text {
    font-size: 1.4em;
    font-weight: 500;
  }
}
.blog-list .text-container{
  padding: 1em;
  white-space: normal;
  hyphens: auto;
}

.blog-list .text-container .title-container {
  min-height: 2em;
  color: #222;
  padding-bottom: 1em;
}

.blog-list h3 {
  font-size: 1.5em;
}
.blog-list .img-container{
  width: 100%;
}
.blog-list .img-container img{
  width: 100%;
  height: 13em;
  object-fit:cover;

}

.blog-list .grid-row {
  display: flex;
  justify-content: space-evenly;
  /* justify-content: center; */
  flex-direction: row;
}

/* BLOG DETAIL */

.blog-detail{
  padding: 1em;
  max-width: 100%;
  overflow: hidden;
}
.blog-detail img{
  max-width: 100%;
  height: auto;
}
.blog-feature-image{
  padding-bottom: 2em;
}
.blog-feature-image figure{
  width: 80%;
}
.feature-img-wrapper{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  max-height: 20em;
  background: rgb(245, 245, 245);
  margin-bottom: 0.5em;
}

.feature-img-wrapper .figure-img {
  margin: 0;
}
.blog-feature-image .figure-caption{
  position: relative;
  text-indent: 0.6em;
  white-space: pre-line;
}
.blog-feature-image .figure-caption::before{
  content:"";
  width: 0;
  height:0;
  border-left: 2px solid #555;
  border-top: 1.4em solid #555;
  position: absolute;
  top: 0;
  left: 0;
  /* transform: translate(-0.4em, 0); */
}

.blog-content{
  /* white-space: normal; */
  width: 100%;
  overflow: hidden;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  padding: 0.2em;
  overflow-wrap:break-word;
}

.blog-content a{
  max-width: 100%;
  hyphens: none;
  overflow-wrap:break-word;

}

/* DASHBOARDS */
.section {
  border-radius: 4px;
  box-shadow: 0px 0px 5px 0px rgba(18, 18, 18, 0.186);
  padding: 2em;
  margin: 1em;

  overflow-wrap: break-word;
  overflow: auto;

  width: 65%;
}

.section-background {
  border-radius: 4px;
  box-shadow: 0px 0px 5px 0px rgba(18, 18, 18, 0.186);
  padding: 2em;
  margin: 1em;
}
.section.allow-overflow {
  overflow: visible;
}

.section.dashboard h1, .section.dashboard h2, .section.dashboard h3, .section.dashboard h4 {
  margin-bottom: 1em;
  text-align: center;
} 

.section.dashboard h3.smaller-margin{
  margin-bottom: 0.4em;
}
@media only screen and (min-width: 601px) and (max-width: 1200px) {
  .section{
    width: 80%;
  }
}
@media only screen and (min-width: 0px) and (max-width: 600px) {
  .section{
    width: 96%;
    padding: 1em;
  }
  .section-background {
    padding: 1em;
  }
}

.unsuccessful-tutor-application-feedback {
  font-style: italic;
}
.file_input_container {
  /* position: relative; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* max-width: 95%; */
}

@media screen and (min-width: 800px) {
  .dashboard-upload-docs .file_input_container {
    width: 60%;
    align-self: center;
  }
}
.file_input_container label {
  align-self: stretch;
}

.file_input_container.hide {
  display: none;
}
/* .dashboard-upload-docs .file-upload-label {
  max-width: 90%;
} */
.file-upload-label {
  position: relative;
  cursor: pointer;
  box-shadow: 0px 0px 0px 1px var(--nova-purple);
  border-radius: 4px;
  padding: 1.2em;
  margin: 0.6em;
  color: var(--nova-dark-purple);
  text-align: center;

  font-weight: 600;
  /* background-color: rgb(240 242 255); */
  /* background-color: rgb(229, 229, 229); */

  transition: all 0.1s linear;
}

.file-upload-label:hover {
  background-color: rgb(254, 254, 254);
  box-shadow: 0px 0px 2px 1px var(--nova-purple);

  /* color: #000; */
}

/* .file-upload-label:hover .upload-icon {
  fill: black;
} */

.file-upload-label:active {
  background-color: #efefee;
}

.file-upload-label input {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.upload-icon {
  width: 1.2em;
  margin-left: 1.2em;
  fill: var(--nova-dark-purple);
  transition: all 0.1s linear;
}
.change_doc_btn {
  margin: 0.6em;
}

.upload-success{
  padding: 1em;
  background-color: #00fffb6e;
  color: rgb(27, 128, 27);
  border-radius: 4px;
  font-weight: bold;
}

/* CLIENT Dashboard */

.tutor-img-dashboard-container {
  width: 3em;
  min-width: 3em;
  height: 3em;
  overflow: hidden;
  border-radius: 0.4em;
  position: relative;
}
.user-img-dashboard-container {
  width: 80%;
  overflow: hidden;
  border-radius: 1em;
  position: relative;
}

.recently-viewed-tutors a {
  background-color: rgb(253, 253, 253);
  color: #555;
  transition: all linear 0.1s;
  font-weight: 500;
  border-radius: 0.4em;
}
.recently-viewed-tutors a .text-content-wrapper {
  padding-left:1em ;
  padding-right:1em ;
}

.recently-viewed-tutors a:hover {
  background-color: rgb(248, 248, 248);
  color: rgb(60, 60, 60);
}

.recently-viewed-tutors .tutor-name {
  color: var(--nova-dark-purple);
  margin: 0;
}

.recently-viewed-tutors a:hover .tutor-name {
  color: #01016c;
}


@media only screen and (min-width: 0px) and (max-width: 800px){
  .recently-viewed-tutors .name-price-subject-container{
    align-self: center;
    justify-content: center;
  }
  .recently-viewed-tutors a .text-content-wrapper {
    padding: 1em 0 1em 0;
  }
}

.recently-viewed-tutors .price{
  color: var(--nova-dark-purple);
}
.recently-viewed-tutors a:hover .price{
  color: #01016c;
}
.recently-viewed-tutors .price, .recently-viewed-tutors .subjects {
  padding-left: 1em;
  font-size: 1em;
}
/* STAFF DASHBOARED */

.staff-dashboard.edit-user .section-background{
  max-height: 40em;
  overflow: auto;
}
.interview-details-container {
  padding: 1em;
  margin: 1em 0 1em 0;
}

.section.dashboard .line {
  width: 80%;
  height: 1px;
  background-color: var(--nova-dark-purple);
  margin: 1em 0 1em 0;
}

.separating-line {
  height: 1px;
  background-color: #ccc;
  width: 100%;
}

.line {
  height: 1px;
  background-color: #ccc;
}

.current_document_anchor{
  align-self: center;
}
.show-child-on-hover:hover .show-on-hover {
  visibility: visible;
  opacity: 1;
}

.show-on-hover {
  visibility: hidden;
  position: absolute;
  opacity: 0;
  transition: opacity linear 0.12s;
}
.sub-selection-email{
  
  width: 20em;
  max-height: 24em;
  overflow: auto;
  border-radius: 4px;
  top: 100%;
  left: 50%;
  transform: translate(-50%);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.6);
}

.sub-selection-email > div.flexbox{
  padding-bottom: 4em;
}

@keyframes pulse-animation {
  0% {
    transform: none;
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.94;
  }
  1000% {
    transform: none;
    opacity: 1;
  }
}
.btn-nova.pulse {
  animation: pulse-animation 0.16s linear
}
.copy-link{
  transition: all 0.2s linear;
}

/* .show-child-on-hover:hover .sub-selection-email {
  opacity: 0;
} */
/* .text-overflow div, .text-overflow span, .text-overflow p, .text-overflow small, .text-overflow strong {
  overflow-wrap: break-word;
} */
/* //////////////// */
/* //////////////// */
/* //////////////// */
@media only screen and (min-width: 0px) and (max-width: 500px) {
  .M-screens, .L-screens{
    display: none;
  }
  .blog-lv .title-wrapper{
    padding: 1em;
  }
  .blog-lv .title-wrapper h1{
    font-size: 3em;
  }
  .blog-lv .title-wrapper p{
    font-size: 1em;
  }

  .blog-lv {
    padding: 1em;
  }

}

@media only screen and (min-width: 0px) and (max-width: 320px){
  .blog-lv .title-wrapper h1{
    font-size: 2.4em;
  }
}
@media only screen and (min-width: 0px) and (max-width: 330px){
  .vv-small-screens{
    display: block;
  }
  .vv-small-screens.flexbox{
    display: flex;
  }
  .n-vv-small-screens, .n-vv-small-screens.flexbox{
    display: none;
  }
}
@media only screen and (min-width: 501px) and (max-width: 840px) {
  .S-screens, .L-screens{
    display: none;
  }
}
@media only screen and (min-width: 841px) {
  .S-screens, .M-screens{
    display: none;
  }
}
@media only screen and (min-width: 961px) {
  .blog-list.L-screens a{
    max-width: 255px;
  }
}

.price-input {
  /* border: none; */
  border-radius: 4px;
  border-color: #00004a;
  padding: 4px;
  width: fit-content;
  text-align: center;
  min-width: 4em;
  color: #00004a;
  font-weight: 600;
  font-size: 1.2em;
}

.price-preview, .white-space-nowrap{
  white-space: nowrap;
}

.top-up-btn-free-credit{
  --green: rgb(67, 199, 67);

  border: var(--green);
  background-color: var(--green);
  color: white;
  border-radius: 4px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  padding: 2px;
  font-size: small;
  width: 100%;
  border-top: none;
  text-align: center;
}

.btn-nova.top-up-btn.include-offer {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.confirm-btn {
  width: 8em;
  transition: all 0.2s linear;
}

.confirm-btn.alt-w {
  width: 3em;
}

/* locations */

.location-container{
  position: relative;
  flex-basis: 40%;
  padding: 2em;
  justify-content: start;
  max-width: 40%;

  margin-bottom: 2em;
}

.location-container h2 {
  text-align: center;
}
.location-link {
  margin: 0.2em;
  padding: 0.4em;
  border-radius: 4px;
  /* color: var(--nova-dark-purple); */
  background-color: #efefef;
  color: white;
  background-color: var(--nova-purple);
  align-self: center;
  transition: all 0.1s linear;

  display: flex;
  justify-content: center;

  width: 90%;
  max-width: 18em;

  text-align: center;
}

.location-link:hover {
  /* background-color: #f1f1f1; */
  background-color: rgba(var(--nova-purple-decimal), 0.9);
  background-color: rgb(66, 32, 235);
  color: #eee;
}

.adapt-row-col{
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.adapt-rc-large{
  display: flex;
}
.adapt-rc-small{
  display: none;
}

@media screen and (max-width: 800px) {

  .location-container{
    position: relative;
    padding: 2em;
    justify-content: start;
    max-width: 100%;
    width: 100%;
  
    margin-bottom: 2em;
  }
  .adapt-row-col{
    flex-direction: column;
    align-items: center;
  }
  .adapt-rc-large{
    display: none;
  }
  .adapt-rc-small{
    display: flex;
  }
  
  
}

/* LEARNING TOOLS */
.ai-chat-page-container {
  padding: 1em;
  padding-top: 2em;

  height: 90vh;

}
.chat-disconnected-error-container {
  width: 100%;
  border-top: #F50C5A solid 2px;
  top: 0;
  left: 0;
  right: 0;
}

.chat-disconnected-error-label {
  background-color: #F50C5A;
  color: white;
  padding: 1em;
  font-size: 0.9em;
  font-weight: 600;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  z-index: 2;
}

/* novaCHAT */
/* Chat container */
#chat-container-id{
  padding-bottom: 5em;
}

.new-chat-button.small-screen-flex.btn-pill{
  /* height: 2em; */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.9;
  margin: 0.4em;
  font-size: 0.7em;

  padding: 0.4em;
  padding-right: 0.8em;
  padding-left: 0.8em;


  z-index: 1;
  
}

.new-chat-button.small-screen-flex .follow-link-arrow-icon{
  width: 0.5em;
}

@media screen and (max-width:1100px) {
  .new-chat-button{
    font-size: 0.9em;
  }
}

.ai-convo-message {
  max-width: calc(64% - 2em);
  padding: 1.2em;
  font-weight: 600;
  font-size: 1em;

  border-radius: 1em;
  margin-top: 0.8em;

  hyphens: auto;
  white-space: normal;

}

.ai-convo-message.user {
  background-color: var(--nova-purple);
  color: white;
  align-self: end;

  border-bottom-right-radius: 0;

}

.ai-convo-message.assistant {
  background-color: rgb(244, 244, 244);
  align-self: flex-start;
  position: relative;
  left: 2em;

  border-bottom-left-radius: 0;
}

.ai-convo-message.assistant::after {
  position: absolute;
  content: "";
  /* border: #000 solid 1px; */
  /* background-color: var(--nova-purple); */

  /* This is relative to the location of styles.css*/
  background-image: url("../icons/novatutors_n_square.ad532148fb7b.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 1.6em;
  height: 1.6em;
  border-radius: 0.2em;

  --n-margin: 0.6em;

  top: calc(100% + var(--n-margin));
  left: calc(-1*var(--n-margin));
  transform: translate(-100%);

}
.ai-convo-message.assistant .ai-assistant-content {
  /* display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start; */

  hyphens: auto;
  white-space: normal;

}

/* style code */
.code-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  align-self: center;
  margin: 1em;

  width: 90%;

}
code {
  font-family: monospace;
  padding: 2em;
  font-weight: 400;

  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  
  color: white;
  background: #000;
}



.code-container .code-label {
  background-color: #777;
  color: white;
  width: 100%;
  font-size: 0.6em;
  font-weight: 400;
  padding: 6px;
  padding-left: 10px;

  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}


code.output {
  background-color: rgb(255, 233, 198);
  color: #000;
}

.ai-convo-message p, .ai-assistant-content {
  margin: 0.6em;
}

@media screen and (max-width:961px) {
  .ai-chat-page-container {
    padding: 2px;
    height: 80vh;

  }

  .ai-chat-page-container .section-background {
    width: 98%;
    padding: 0;
    padding-bottom: 2em;
  }
  .ai-convo-message{
    max-width: calc(98%);
    /* line-break: anywhere; */
  }

  .ai-convo-message.assistant{
    left: 0;
  }
  .ai-convo-message.assistant::after {
    display: none;
  }
}

/* Icon to scroll to bottom of chat */
.arrow-container{

  border-radius: 100%;
  overflow: hidden;
  width: 2em;
  height: 2em;

  cursor: pointer;

  transition: all 0.14s linear;
}

.arrow-icon{
  height: 1.4em;
  border-radius:100%; 
  fill: white;

  transition: all 0.14s linear;
}

/* scroll arrow */
.arrow-scroll-container {
  top:0;
  right: 0;

  transform: translate(0%, -180%);

  opacity: 1;
  visibility: visible;
  background-color: rgba(var(--nova-dark-purple-decimal), 0.94);

  transition: opacity 0.2s linear;

  --width-height: 1.6em;
  width: var(--width-height);
  height: var(--width-height);
}

@media screen and (max-width:800px){
  .arrow-scroll-container {
    top: 0;
    right: 0;

    transform: translate(0%, -180%);
  }
}
.arrow-scroll-container.opaque {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.arrow-scroll-container:hover {
  background-color: rgba(var(--nova-dark-purple-decimal), 1);
}

.arrow-scroll-icon {
  transform: rotateZ(180deg);
  --width-height: calc(100% * 1.2/2);
  width: var(--width-height);
  height: var(--width-height);

}
/* Chat input for user */
.text-input-container {
  /* border: red 1px solid; */
  background: linear-gradient(transparent, white 75%);
  width: calc(100% - 12px);
  bottom: 0;
  left: 0;
  /* left: 50%;
  transform: translate(-50%); */
}

/* Wrapper for textarea and icon */
.chat-prompt-input {
  width: 70%;
}

@media screen and (max-width:800px) {
  .chat-prompt-input {
    width: 90%;
  }
}
.chat-prompt-input textarea{
  outline: var(--nova-dark-purple) 2px solid;
  border: none;

  padding: 0.4em;
  padding-right: 3.6em;
  border-radius: 0.4em;
  transition: all 0.1s linear;
}
.chat-prompt-input textarea:focus{
  outline-color: rgb(209, 90, 211);
}
/* icon to submit chat */
.submit-arrow-container {
  position:absolute;
  top: 50%;
  right: 1em;
  transform: translate(0, -50%);


  background-color: white;
  /* border: 1px solid var(--nova-dark-purple); */
  overflow: hidden;

}
.submit-arrow {
  position: relative;

  cursor: pointer;
  fill: var(--nova-dark-purple);
  top: 0;

  transition: all 0.24s ease-in-out;
}

.submit-arrow-container:hover{
  background: rgb(239, 239, 239);  
  fill: rgb(253, 253, 253); 
}
.submit-arrow-container:hover .submit-arrow{
  position: relative;
  top: -1px;
}

/* List showing all of user's ai_convos */

.ai_convo_list {
  padding: 1em;
  color: #555;
  font-weight: 600;
  text-align: start;
}

.ai_convo_list.alt {
  background-color: #efefef;
}
/* .small-screen-ai-chat-list-container {

} */
.small-screen-ai-chat-list-container .close-button{
  position: absolute;
  left: 0;
  top: 0;

  --width-height: 2.4em;
  width: var(--width-height);
  height: var(--width-height);
  margin: 0.2em;
  padding: 0;
  /* border-radius: 100%; */
  /* border: var(--nova-dark-purple) 2px solid; */
  border-radius: 2px;
  background-color: white;
  color: var(--nova-dark-purple);
}

.small-screen-ai-chat-list-container .close-button .icon {
  fill: var(--nova-dark-purple);
  width: 50%;
}

/* Membership page */
.membership-page .page-title {
  font-weight: 700;
  font-size: 4em;
  padding: 0.4em 1em 0 1em;
  /* border: red solid 1px; */
  text-align: center;
  width: 100%;
}

/* Text below page title */

.membership-page .main-text-container {
  border-radius: 1em;
  background-color: white;
  padding: 1em;
  margin: 1em;
  /* border: 1px solid transparent; */
  border-radius: 0.8em;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  /* width: 100%; */

  font-weight: 500;
  font-size: 1.1em;

}
.membership-page .main-text-container-2 {
  /* background: linear-gradient(transparent 5%, rgb(243, 243, 243)); */
  padding: 2em 4em 2em 4em;
  margin: 1em;

  width: 100%;

  font-weight: 500;
  font-size: 1.2em;

}

/* Membership cards */
.subscription-card {
  /* height: 40em; */
  width: 94%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-grow: 1;
  margin: 1em;
  /* overflow: hidden; */

  padding: 2em;
  /* border: 1px solid transparent; */
  border-radius: 0.8em;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  background-color: white;
  transition: all 0.14s ease-in-out;
  z-index: 1;
}

.subscription-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: 0.8em;
  border-radius: 1em 1em 0 0;  
}
/* .subscription-card:nth-child(1):before {
  background: var(--nova-purple);
} */
.subscription-card:nth-child(2):before {
  background: rgb(255, 43, 170);
}
.subscription-card:nth-child(3):before {
  background: var(--nova-dark-purple);
}
.subscription-card:nth-child(4):before {
  background: rgb(31, 255, 162);
}

.subscription-card .title-price-container {
  height: 160px;
  margin-bottom: 1em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width:1400px) {
  .subscription-card .title-price-container {
    height: 140px;
  }
}
@media screen and (max-width:800px) {
  .subscription-card .title-price-container {
    height: 120px;
  }
  .membership-page .page-title {
    font-size: 3em;
  }
}
@media screen and (max-width:500px) {
  .membership-page .page-title {
    font-size: 2.2em;
  }

  .subscription-card {
    padding: 1em;
  }
}
@media screen and (max-width:400px) {
  .membership-page .page-title {
    font-size: 2em;
  }
}

.subscription-card .learning-membership-text {
  font-weight: 700;
  font-size: 2em;
  text-align: center;
  color: var(--nova-dark-purple);
}
.yearly-save-text {
  color: var(--nova-purple);
}
.yearly-save-text span {
  color: var(--nova-purple);
}

.subscription-card .price {
  font-weight: 700;
  font-size: 2em;
  text-align: start;
  white-space: nowrap;
  color: var(--nova-dark-purple);
}
/* .subscription-card .price small {
  font-weight: 600;
  font-size: 0.675em;
  color: grey;
} */

.subscription-card .start-trial-btn {
  padding: 0.8em;
  margin: 1em;
  margin-top: 2em;
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--nova-purple);
  /* background-color: #5433FF; */
  color: white;
  border-radius: 0.3em;
  font-weight: 600;
  font-size: 1em;
  position: relative;
  cursor: pointer;

  text-align: center;
  opacity: 1;
  transition: opacity 0.15s ease-in-out;
  /* z-index: 2; */
}

@media screen and (max-width:600px) {
  .subscription-card .start-trial-btn {
    width: 90%;
    margin-left: 0.2em;
    margin-right: 0.2em;
  }
}

.subscription-card .start-trial-btn:hover {
  opacity: 0.8;
}

.subscription-card .list-container {
  font-weight: 400;
  font-size: 1.1em;
}
.subscription-card .list-container .item {
  --margin-tb: 0.6em;
  margin: var(--margin-tb) 0 var(--margin-tb) 0;
}
@media screen and (max-width:600px) {
  .subscription-card .list-container .item {
    --margin-tb: 0.3em;
  }
}
.subscription-card img.checkmark {
  width: 16px;
  height: 16px;
  margin-right: 1.2em;
  margin-top: 0.4em;
  fill: var(--nova-purple);
}


/* Register PopUp */

.register-popup, .register-popup.hidden-then-fade-in.show{
  height: 42em;
  width: 38em;
  max-width: 90%;
  max-height: 80vh;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,1), 0px 0px 100px 100vw rgba(0,0,0,0.5);
  z-index: 10;
  background-color: white;
  padding: 3em 2em;
  border-radius: 0.8em;

  transition: all 0.12s ease-in-out;

  overflow: auto;
}

.register-popup .name-field-container{
  width: 49%;
}

@media screen and (max-width: 800px) {
  .register-popup, .register-popup.hidden-then-fade-in.show{
    padding: 2em 0.4em;
  }
  .register-popup .name-field-container{
    width: 100%;
  }
}

.register-popup .submit-btn {
  margin: 0.5em 0;
}
.register-popup.hidden-then-fade-in.show.showing-login {
  height: 32em;
  width: 38em;
}

.option-select-container.lesson-frequency{
  max-width: 750px;
}
.option-select-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  /* flex-grow: 0.9; */
  cursor: pointer;
  transition: all 0.12s linear;
  border: 1px solid #ddd;
  color: var(--nova-dark-purple);

  padding: 0.6em;
  margin: 0.4em;
  border-radius: 2em;
  width: 28%;
  max-width: 200px;
  /* height: 80%; */
}



.option-select-btn:hover{
  background-color: #fdfdfd;
  border-color: transparent;
  box-shadow: 0px 0px 3px 0px var(--nova-purple);
}

.option-select-btn.selected {
  background-color: rgba(var(--nova-purple-decimal), 1);
  box-shadow: 0px 0px 3px 0px var(--nova-purple);
  border-color: transparent;
  /* flex-grow: 1; */
  /* width: 30%; */
  /* height: 110%; */
  /* padding: 1em; */
  transform: scale(1.08, 1.08);
  /* transform-origin: bottom; */
  /* box-sizing: border-box; */

  
  color: white;
}
/* type input checkbox */
input.nova_checkbox {
  accent-color: var(--nova-purple);
}

a.underline:hover {
  text-decoration: underline;
}
a.underline.nova-purple:hover {
  text-decoration: underline;
  color: var(--nova-purple);
}

/* Membership success page */
.subject-selection-container{
  max-height: 20em;
  min-width: 30vw;
  box-shadow: 0 0 2px 0 var(--nova-purple);

}
.subject_checkbox+label{
  padding: 0.8em;
  margin: 0.2em 0;
  align-self: stretch;
  text-align: center;
  cursor: pointer;
  background-color: rgb(255, 255, 255);
  transition: all 0.1s linear;
}

.subject_checkbox+label:hover{
  background-color: #f7f7f7;
}
.subject_checkbox:checked + label {
  background-color: #efefef;
  color: var(--nova-purple);
}

.hidden-recommended-tutor-display {
  opacity:1;
  transition: all 0.2s ease-in-out;
}
.hidden-recommended-tutor-display.transparent{
  opacity: 0;
}

.recommended-tutor-container h2 {
  margin: 0.6em;
}

@media only screen and (max-width:1300px) and (min-width:901px) {
  .hidden-recommended-tutor-display .section-background.tutor-display-card {
    width: 40%;
  }
}
@media only screen and (max-width:900px) and (min-width:601px) {
  .hidden-recommended-tutor-display .section-background.tutor-display-card {
    width: 60%;
  }
}

.membership-success .spinner-container {
  opacity: 1;
  transition: all 0.14s ease-in-out;
}
.membership-success .spinner-container.transparent {
  opacity: 0;
}

@keyframes spin-clockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spin-reverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
.recommended-tutor-container #loading-spinner {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--nova-purple);
  animation: 1.7s spin-clockwise linear infinite;
  z-index: 11;
}

.recommended-tutor-container #loading-spinner:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--nova-light-blue);
  animation:  .6s spin-reverse linear infinite;
}

.recommended-tutor-container #loading-spinner:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--nova-hot-pink);
  animation: 1s spin-clockwise linear infinite;
}

.browse-other-tutors {
  font-size: 0.84em;
}
.browse-other-tutors a{
  color: var(--nova-purple);
}
.browse-other-tutors a:hover{
  color: #3517c9;
}

.grey-hover:hover {
  background-color: #efefef;
}