@import url('./main.css');

:root {
  --card-border-radius: 0.75rem;
}

h1,
h2,
h3,
h4 {
  font-family: 'Baloo-Bold';
}

.messages > h4.success {
  color: var(--secondary-green);
}
.messages > h4.error {
  color: var(--primary-red);
}

/* Handle page content jumping when text logo loads in */
.base-card-page-container .text-logo-container {
  min-height: 100px;
}
@media only screen and (max-width: 436px) {
  .base-card-page-container .text-logo-container {
    min-height: 80px;
  }
}
@media only screen and (max-width: 378px) {
  .base-card-page-container .text-logo-container {
    min-height: 60px;
  }
}
/* ------------------------------------------------------ */

/* SEMANTIC CLASSES */
.text-logo-row {
  max-width: 800px;
  margin-bottom: 4rem;
}

@media only screen and (max-width: 768px) {
  .text-logo-row {
    margin-bottom: 0;
    text-align: center;
  }
}

.curly-arrow-logo {
  position: absolute;
  top: -97px;
  left: 435px;
  width: 200px;
}

.card-form-field {
  font-family: 'Ubuntu-Medium';
  font-size: 1.125rem;
  margin-top: 14px;
  margin-bottom: 0;
  padding: 0 0 0.25rem 0;
  border: none;
  border-bottom: 3px solid var(--secondary-mid-blue);
  color: var(--dark-text-grey);
}

.card-form-field::placeholder {
  color: var(--pale-grey);
}
.card-form-field:disabled {
  background-color: lightgrey;
}

#id_captcha_1.card-form-field {
  width: 55%;
}

img.captcha {
  border: 3px solid var(--secondary-mid-blue);
}

/* EXPERIMENTAL (FOR DROPDOWNS) */
select:required:invalid.card-form-field {
  color: var(--pale-grey);
}
select:required:not(:invalid).card-form-field {
  color: var(--dark-text-grey);
}
.card-form-field option[value=""][disabled] {
  display: none;
}
.card-form-field option {
  color: var(--dark-text-grey);
}

/* SEMANTIC CLASSES - END */


.line-height-1{
  line-height: 1.2em;
}

.card-border-radius {
  border-radius: var(--card-border-radius);
}

/* .rounded-box-shadow {
  box-shadow: 10px 10px 15px 8px rgba(0, 0, 0, 0.1);
} */

.border-bottom-mid-blue {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 3px solid var(--secondary-mid-blue);
}

.placeholder-pale-grey::placeholder {
  font-family: 'Ubuntu-Medium';
  font-size: 1.125rem;
  color: var(--pale-grey);
}

@media only screen and (max-width: 768px) {
  .curly-arrow-logo {
    display: none;
  }
}

/* below iPad width */
.border-rad-top-md-right,
.border-rad-top-md-left {
  border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
}
.border-rad-bottom-md-left,
.border-rad-bottom-md-right {
  border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
}
/* iPad width and above */
@media only screen and (min-width: 768px) {
  .border-rad-top-md-right,
  .border-rad-bottom-md-right {
    border-radius: 0 var(--card-border-radius) var(--card-border-radius) 0;
  }
  .border-rad-bottom-md-left,
  .border-rad-top-md-left {
    border-radius: var(--card-border-radius) 0 0 var(--card-border-radius);
  }
}

/* CUSTOM FORM UI STUFF */
.rv-custom-select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url('../UI/dropdown-arrow.svg') 96% 75% / 14px no-repeat transparent;
}

/* ROUND GREEN CHECKBOX */
 /* Customize the label (the container) */
 .rv-checkbox-container {
  display: block;
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default checkbox */
.rv-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 4px;
  left: 0;
  height: 16px;
  width: 16px;
  border-radius: 100px;
  border: 2.5px solid var(--secondary-mid-blue);
  background-color: white;
}
/* On mouse-over, add a grey background color */
.rv-checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.rv-checkbox-container input:checked ~ .checkmark {
  background-color: var(--secondary-mid-blue);
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.rv-checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.rv-checkbox-container .checkmark:after {
  left: 2.5px;
  top: -0.5px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.card-nav-selected::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  background: url('../UI/pointer.svg') no-repeat;
  width: 23px;
  height: 23px;
  margin-right: 0;
  margin-top: -6px;
}
.card-disabled {
  background-color: lightgrey !important;
}
.card-enabled {
  background-color: white !important;
}