/* Used to set iOS status bar and scroll-bounce page background color */
html {
  background-color: #1A2232;
}

/* Scrollbar styling works on Chrome, Edge, Safari */
html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-thumb {
  background-color: #CAC4D0;
  border-radius: 5px;
}

html::-webkit-scrollbar-track {
  background-color: #DEE6FF;
  /* background-color: black; */
}

html::-webkit-scrollbar-thumb:hover {
  background: '#555'
}

/* Scrollbar styling works on Firefox */
html {
  scrollbar-width: normal;
  /* scrollbar-color: #CAC4D0 #DEE6FF; */ 
}

.widget-scrollbar {
  scrollbar-color: #CAC4D0 #DEE6FF;
}

.widget-scrollbar::-webkit-scrollbar-track {
  width: 10px;
  border: 1px red solid
}

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 100;
    margin: 0;
}

.homeSubtitle {
  text-align:center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 20px 0;
  grid-gap: 20px;
  align-items: center;
  font-size: 30px;
  color: #40B3B5;
  font-weight: 400
}

.homeSubtitle:after, .homeSubtitle:before {
  content: " ";
  display: block;
  border-bottom: 1.5px solid #aaa;
  height:3px;
}

/***Nav Bar***/

.navBar {
    top: 0;
    left: 0;
    width: 4.5rem;
    height: 100vh;
    position: fixed;
    background-color: #F5F2F6;
    z-index: 100
  }
  
  .nav-list {
    list-style-type: none;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding-top: 10px
  }
  
  .nav-item {
    width: 100%;
    font-size: 26px
  }

  .nav-item:nth-child(1) {
     margin-bottom: 2rem;
  }
  
  .nav-item:nth-last-child(1) {
    margin-top: auto;
  }
  .nav-item:nth-last-child(1) {
    margin-bottom: 20%
  }
  
  .nav-link:hover {
   color: red;
  }

  .nav-link, .nav-link-selected{
    font-size: 1.15rem;
    text-decoration: none;
    font-weight: 400;
    margin-left: 1rem;
    color: black
  }

  .nav-link:visited {
    color: black
  }

  .nav-logo {
      height: 3rem;
      width: 3rem;
      margin-left: .15rem
  }

  .nav-icon {
      margin-left: 5px
  }

  .nav-link > .nav-icon{
    display: flex;
    align-items: center;
    height: 2rem;
    width: 2rem;
    color: #837F83;
    text-decoration: none;
    margin-bottom: 30px;
    padding: 5px;
    border-radius: 10px
  }
  
  
  .nav-link-selected > .nav-icon {
    display:flex;
    color: #F5F2F6;
    align-items: center;
    height: 2rem;
    width: 2rem;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 30px;
    background-color: #383439;
    padding: 5px;
    transition: all .5s ease-in-out
  }
  
/*** View ***/
.view {
    /* margin-left: 5rem; */
    padding: 10px;
    /* margin-left: 4.5rem;
    padding: 5px 5px 5px 10px;
    background: lightgoldenrodyellow; */
    margin-top: 60px;
}

.client-view {
  padding: 10px;
}

/*** Home ***/
.home-top-header {
    display: flex;
    flex-direction: row;
    width: 75%;
}

.home-top-header-dt {
    font-size: 20px;
    text-align: left;

}

.home-top-header-buttons {
    display: flex;
    margin-left: auto
}

.button-link {
    text-decoration: none;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    width: 75%
}

.card {
    margin: 10px;
    width: 20vw;
    height: 300px;
    background: rgb(115,115,115);
    background: linear-gradient(180deg, rgba(115,115,115,1) 0%, rgba(204,203,203,1) 100%);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 1px 1px 5px #5a595a;
    -webkit-transition-duration: .5s;
    -webkit-transition-timing-function: lienar;
    -webkit-transition-delay: 0s
}

.card:hover {
  margin-top:15px;
  margin-right:5px
}


/****Client****/
.client-action-icon-link {
  text-decoration: none;
  margin-right: 15px;
  
}

.client-action-icon-link:visited{
  color: inherit
}

.client-action-icon {
  color: #225fa5
}


/****Content Manager****/

.stepTitle {
  text-align: center;
}


.videoInput_input {
  display: none
}

.videoInput_video {
  display: flex;
  margin: auto
}

.errorText {
  color: red;
  font-weight: 500
}

/****Content Page****/
.content-row {
  cursor: pointer;
}

/****Plan Manager****/
.clientSearch {
  display: flex
}



/****Loading Modal****/
.loading-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  flex-direction: column
}

.loading-box p {
  font-size: 16px;
  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: 2s;
  -moz-transition-property: -moz-transform;
  -moz-transition-duration: 2s;
  -webkit-animation-name: grow;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: grow;
  -moz-animation-duration: 2s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
}

@-webkit-keyframes grow {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/**** Profile View ****/
.note-listItem {
  cursor: pointer;
  align-items: flex-start;
}

.note-listItem:hover {
  box-shadow: inset 0px 0px 5px 5px rgba(98,138,186,0.25);
}

/**** Reactivate/Deactivate Component ****/
.activate-box {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  flex-direction: column
}

.activate-button {
  display: flex;
  flex-direction: row;
}

/****Login****/
.loginPage {
  width: 100vw;
  height: 100vh;
  background: #e9e9e9;
  display: flex;
}

.loginBox {
  width: 100%;
  max-width: 400px;
  min-height: 400px;
  padding: 35px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  border-radius: 15px;
  box-shadow: 0 50px 70px -20px rgba(0, 0, 0, 0.8);
}

.loginLogo {
  width: 150px;
  margin: auto
}

.btnContainer {
  width: 100%;
  padding: 24px 0;
}

.loginButton {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 5px;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  background-color: rgb(253,200,133);
  cursor:pointer
}

.signupButton {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 5px;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  background-color: rgb(52,168,83);
  cursor:pointer
}

.loginButton:hover {
  background-color: rgba(253,200,133, .75);
}

.signupButton:hover {
  background-color: rgba(52,168,83, .75);
}

/****Client Profile****/
.profileInfo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 5px;
  max-height: 300px;
}

.profileBody {
  display: flex;
  flex-direction: row;
  justify-content: left;
  height: 70vh;
  max-height: 70vh;
  gap: 20px
}

.profileContainer {
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 5px 0 rgba(0,0,0,0.2);
  background-color: rgba(104, 109, 121, 0.45);
  border-radius: 8px;
  padding: 16px;
}

.profileTopBox {
  border-bottom: 1px solid #686D79;
  display: flex;
  flex-direction: row;
  padding-bottom: 8px;
}

.profileNumber, .profileEmail, .profileTrainer {
  word-break: break-all
}

/* .profileFirst, .profileLast, .profileCreated {
  width: 25%
} */

.profileMidBox {
  display: flex;
  flex-direction: row;
  gap: 60px;
  padding-top: 12px;
}

.profileTitle {
  font-size: 14px;
  color: #DEE6FF
}

.profileContent {
  font-size: 24px;
  color: black;
  word-break: break-all;
  margin-top: 0px;
  margin-bottom: 10px;
  word-break: normal;
}

.profileInput {
  color: black;
  border: 0px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 100;
  background: white;
  width: 100%;
  word-break: break-all;
}

.profileInputMid {
  font-size: 16px;
  color: black;
  padding: 5px
}

.profileEdit {
  color: black;
  border-bottom: 1px solid rgba(25,118,210, .50);
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 100;
  background: rgb(245,242,246);
  border-radius: 3px;
  width: 90%
}

.profileTrainer {
  background-color: white;
}

.profilePlan {
  display: block;
  box-shadow: 0 4px 5px 0 rgba(0,0,0,0.2);
  border-radius: 3px;
  margin-top: 20px;
  height: 68vh;
  max-height: 68vh;
}

/****Client Appointment Notes***/
.notesContainer {
  display: block;
  box-shadow: 0 4px 5px 0 rgba(0,0,0,0.2);
  border-radius: 3px;
  width: 100%;
  margin-left: 5px;
  margin-top: 20px;
  overflow: scroll
}

.notesBody {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

}

.notesLeft {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 50%;
}

.notesRight {
  display: flex;
  flex-direction: column;
  width: 50%;
}

/**** Plan Container ****/

.planSubtitle {
  text-align:center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 20px 0;
  grid-gap: 0px;
  align-items: center;
}

.planSubtitle:after, .planSubtitle:before {
  content: " ";
  display: block;
  border-bottom: 1.5px solid #aaa;
  height:3px;
}


/****Add Plan****/

.calendarHeader {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative
}

.plan-datePicker {
  display: inline-block;
  width: 80%;
  height: 20px;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
}

.plan-editor-datePicker {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 98%;
  height: 45px;
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  font-size: 1rem;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(180, 180, 180);
  border-radius: 4px;
}

.exerciseContainer {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.exerciseSelect {
  display: flex;
  flex-direction: row;
  gap: 15px;
  height: 40vh;
  max-height: 40vh;
  margin-bottom: 10px;
  justify-content: space-around;
}

.exerciseSearch {
  margin-top: 10px
}

.exerciseSearchTable {
  display: flex;
  flex-direction: column;
  max-height: 80%;
  width: 35vw;
  margin-top: 10px;
  overflow-y: auto;
}

.exerciseTable {
  max-height: 50%;
  height: 50%
}

.selectedExercise {
  display: flex;
  flex-direction: column;
  width: 50vw;
  max-height:20vh;
  height: 20vh;
  text-align: left;
}

.exerciseSetting {
  display: flex;
  flex-direction: row;
  border-top: 1px solid black;
  padding: 5px
}

.dayCheckbox {
  width: 70vw;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.exerciseButtons {
  display: flex;
  flex-direction: row;
  height: 50px;
  gap: 5px
}

.weekContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-top: 10px
}

.dayofWeek {
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  border-radius: 3px;
  height: 200px;
  margin-top: 20px
}

.exBottomRight {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: space-around;
}

.setsReps {
  display: inline
  
}

.setsReps > input {
  width: 50px;
  height: 40px;
  margin-right: 10px;
  font-size: 16px
}

.exerciseItem {
  border: 1px solid black;
  background-color: lightgrey;
  border-radius: 5px;
  width: 95%;
  margin: 5px auto;
}

.milestoneContainer {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-top: 30px;
}

.milestoneRight, .milestoneLeft {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestoneLeft {
  width: 35vw
}

.milestoneRight {
  width: 55vw
}

.mlsModalContainer {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.mlsModalTop, .mlsModalBottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 45vh;
  max-width: 500px;
}

.react-calendar {
  width: 100%;
  background: white;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.125em;
}
.react-calendar--doubleView {
  width: 700px;
}
.react-calendar--doubleView .react-calendar__viewContainer {
  display: flex;
  margin: -0.5em;
}
.react-calendar--doubleView .react-calendar__viewContainer > * {
  width: 50%;
  margin: 0.5em;
}
.react-calendar,
.react-calendar *,
.react-calendar *:before,
.react-calendar *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.react-calendar button {
  margin: 0;
  border: 0;
  outline: none;
}
.react-calendar button:enabled:hover {
  cursor: pointer;
}
.react-calendar__navigation {
  display: flex;
  height: 44px;
  margin-bottom: 1em;
}
.react-calendar__navigation button {
  min-width: 44px;
  background: none;
  color: #222;
  font-size: 16px;
  margin-top: 8px;
}

.react-calendar__navigation button:enabled:hover,
.react-calendar__navigation button:enabled:focus {
  background-color: #f8f8fa;
}

.react-calendar__navigation button:disabled {
  background-color: #f0f0f0;
}

.react-calendar__month-view__weekdays {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.75em;
}
.react-calendar__month-view__weekdays__weekday {
  padding: 0.5em;
}
.react-calendar__month-view__weekNumbers .react-calendar__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: bold;
}
.react-calendar__month-view__days__day--weekend {
  color: #d10000;
}
.react-calendar__month-view__days__day--neighboringMonth {
  color: #757575;
}
.react-calendar__year-view .react-calendar__tile,
.react-calendar__decade-view .react-calendar__tile,
.react-calendar__century-view .react-calendar__tile {
  padding: 2em 0.5em;
}
.react-calendar__tile {
  max-width: 100%;
  padding: 10px 6.6667px;
  background: none;
  text-align: center;
  line-height: 16px;
}
.react-calendar__tile:disabled {
  background-color: #f0f0f0;
}
.react-calendar__tile:enabled:hover,
.react-calendar__tile:enabled:focus {
  background: #f8f8fa;
  color: black;
  border-radius: 6px;
}
.react-calendar__tile--now {
  background: #ffff76;
  border-radius: 6px;
  font-weight: bold;
}
.react-calendar__tile--now:enabled:hover,
.react-calendar__tile--now:enabled:focus {
  background: #6f48eb33;
  border-radius: 6px;
  font-weight: bold;
  color: #ffff76;
}
.react-calendar__tile--hasActive {
  background: #76baff;
}
.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
  background: #f8f8fa;
}
.react-calendar__tile--active {
  background: #ffff76;
  border-radius: 6px;
  font-weight: bold;
  color: black;
}
.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
  background: #1087ff;
}
.react-calendar--selectRange .react-calendar__tile--hover {
  background-color: #e6e6e6;
}

abbr[title] {
    text-decoration: none;
}

.highlight {
    background: #6f48eb;
  border-radius: 6px;
  font-weight: bold;
  color: white;
}

@keyframes slideBounce {
  0% {left: 0px;}
  25% {left: 3px; background-color: #cfcecf; }
  100% {left: 3px; background-color: #b8b5b8;} 
}

@keyframes rotate {
  25% {transform: rotate(10deg)}
  100% {transform: rotate(10deg)}
}

.appointmentList:hover {
  cursor: pointer;
  border-radius: 5px;
  animation-name: slideBounce;
  animation-duration: .75s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.appointmentList:hover .icon {
  animation-name: rotate;
  animation-duration: .75s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

@keyframes blinkingBorder {
  0% {
    border-color: red;
  }
  50% {
    border-color: transparent;
  }
  100% {
    border-color: red;
  }
}

