input[type='text']:valid:required,
input[type='email']:valid:required,
input[type='password']:valid:required,
input[type='tel']:valid:required,
input[type='time']:valid:required {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/check.svg);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: 98% 50%;
  background-color: #fff;
}

.gform_confirmation_message,
.alert-danger, .alert-info, .alert-success, .alert-warning {
  background-color: #fff !important;
  padding: 12px;
  border: 3px solid #1D5D92;
  color: #1D5D92;
}

.alert-danger {
  border: 3px solid #d21a1a !important;
  color: #d21a1a;
}

.content {
  padding-bottom: 10px;
}

#membership, #tutoring{
  margin-top: 20px;
}

.pointer {
  cursor: pointer;
}

.full-width {
  width: 100%;
  white-space: normal !important;
}

#changePassword {
  display: none;
  padding-bottom: 10px;
}

.course-select {
  margin-bottom: 10px;
}

/* .capitalize { */
/*   text-transform: capitalize; */
/* } */

.uppercase {
  text-transform: uppercase;
}

.list-odd {
  list-style: none;
  padding-left: 0px;
}

.list-odd div {
  word-wrap: break-word;
}

.list-odd li {
  padding: 5px;
}

.list-odd li:nth-child(odd) {
  background-color: #f1f1f1;
}

.list-even {
  list-style: none;
  padding-left: 0px;
}

.list-even div {
  word-wrap: break-word;
}

.list-even li {
  padding: 5px;
}

.list-even li:nth-child(even) {
  background-color: #f1f1f1;
}

.center {
  text-align: center;
}

.hidden {
  display: none;
}

.btn-remove {
  margin-right: 20px;
}

.course-action {
  width: 33%;
  white-space: normal !important;
}

.course-actions {
  height: 10%;
}

.btnNext {
  margin-top: 10px;
}

.btnPrev {
  margin-top: 10px;
}

.collapse-link:hover {
  text-decoration: none;
}

.loading {
  background-color: transparent !important;
  margin-bottom: 0px !important;
  border: none !important;
  padding: 0px !important;
}

.floating-menu {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 1000;
  min-width: 400px;
  visibility: hidden;
}

.course-proposal label, .application-form label:not(.switch),
.progress, btnNext, btnPrev {
  margin-top: 10px;
}

li.multiselect-selected a{
  background-color: #337ab7;
}
li.multiselect-selected a:hover{
  background-color: #337ab7 !important;
}
.multiselect-container>li>a>label {
  padding: 4px 20px 3px 20px !important;
}

.blue {
  color: #2196F3;
}

.required::after {
  color: #d21a1a;
  content: " *";
}

.margin-left-5 {
  margin-left: 5px;
}
/*
==============================================
slideLeft
==============================================
*/
.slideLeft{
  animation-name: slideLeft;
  -webkit-animation-name: slideLeft;

  animation-duration: 0.5s;
  -webkit-animation-duration: 0.5s;

  animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;

  visibility: visible !important;
}

@keyframes slideLeft {
  0% {
    transform: translateX(150%);
  }
  50%{
    transform: translateX(-8%);
  }
  65%{
    transform: translateX(4%);
  }
  80%{
    transform: translateX(-4%);
  }
  95%{
    transform: translateX(2%);
  }
  100% {
    transform: translateX(0%);
  }
}

@-webkit-keyframes slideLeft {
  0% {
    -webkit-transform: translateX(150%);
  }
  50%{
    -webkit-transform: translateX(-8%);
  }
  65%{
    -webkit-transform: translateX(4%);
  }
  80%{
    -webkit-transform: translateX(-4%);
  }
  95%{
    -webkit-transform: translateX(2%);
  }
  100% {
    -webkit-transform: translateX(0%);
  }
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Feedback button and form */
.feedback-btn {
  cursor: pointer;
  width: 200px;
  padding: 5px 10px;
  background-color: #005a97;
  color: #fff;
  border-radius: 5px;
}

.row-flex {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}

#course-tabs > .full-height {
  height: 100%;
}

#course-tabs > .full-height > a {
  height: 100%;
}

#applicationForm input[type='checkbox'] {
  scale: 1.3;
}

.show-password {
  border: none;
  padding: none;
  cursor: pointer;
  position: relative;
  top: -2px;
}

.show-password.active {
  opacity: 0.3;
}

#loginForm .show-password {
  top: 6px;
}

.is-invalid {
  border-color: #d21a1a !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 0.4rem rgba(210, 26, 26, 0.25);
}

.requirement-unmet {
  color: #dc3545;
  list-style: none;
  padding-left: 0;
  margin-bottom: 4px;
}

.requirement-met {
  color: #28a745;
  list-style: none;
  padding-left: 0;
  margin-bottom: 4px;
}

.requirement-icon {
  margin-right: 6px;
  font-weight: bold;
}

.password-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.password-submit-btn:enabled {
  cursor: pointer;
}

.password-input-wrapper {
  position: relative;
}

.password-input-wrapper .show-password {
    position: absolute;
    right: 7px;
    top: 5px;
}

/* "Viewing as member" banner (admins impersonating a member; includes/view-as-banner.php) */
.ViewAsBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
    background: #b91c1c;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.25);
}

.ViewAsBanner__label strong {
    color: #fff;
}

.ViewAsBanner__form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.ViewAsBanner__input {
    width: 140px;
    padding: 4px 8px;
    border: none;
    border-radius: 3px;
    font-size: 13px;
}

.ViewAsBanner__switch {
    padding: 4px 10px;
    border: none;
    border-radius: 3px;
    background: #7f1d1d;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.ViewAsBanner__exit {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

.ViewAsBanner__exit:hover,
.ViewAsBanner__exit:focus {
    color: #fecaca;
}

/* Stripe hosted Checkout pay button (replaces the old Accept Stripe Payments shortcode) */
.u3ac-stripe-pay {
    padding: 20px 0 30px;
}

.u3ac-stripe-pay__error {
    display: none;
    margin-top: 10px;
}
