/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
.info-icon {
  color: var(--color-text-medium-contrast);
  cursor: help;
  font-size: 16px;
  height: 18px;
  padding: 0 2px;
  vertical-align: middle;
}

.user-profiles--edit,
.user-profiles--new {
  background-color: var(--color-background-primary);
}
.user-profiles--edit .profile-name .mdc-text-field__input,
.user-profiles--new .profile-name .mdc-text-field__input {
  background: var(--color-background-primary);
  border-radius: 5px;
  color: var(--color-text-high-contrast);
  min-width: 300px;
}
.user-profiles--edit .mdc-text-field.mdc-text-field--dense.mdc-text-field--no-label input.mdc-text-field__input,
.user-profiles--new .mdc-text-field.mdc-text-field--dense.mdc-text-field--no-label input.mdc-text-field__input {
  padding: 12px;
}
.user-profiles--edit .setup-avatar-container,
.user-profiles--new .setup-avatar-container {
  height: 192px;
  position: relative;
  width: 192px;
}
.user-profiles--edit .setup-avatar-container .upload-link,
.user-profiles--new .setup-avatar-container .upload-link {
  align-items: center;
  display: block;
  height: 100%;
  margin: 0;
  padding: calc(50% - 10px) 0 0;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 2;
}
.user-profiles--edit .setup-avatar-container .upload-link:hover,
.user-profiles--new .setup-avatar-container .upload-link:hover {
  background: var(--color-background-tertiary);
  opacity: 0.9;
}
.user-profiles--edit .setup-avatar-container .upload-background,
.user-profiles--new .setup-avatar-container .upload-background {
  background: var(--color-background-tertiary);
  display: block;
  height: 100%;
  opacity: 0.5;
  position: absolute;
  width: 100%;
  z-index: 1;
}
.user-profiles--edit .radio-option,
.user-profiles--new .radio-option {
  margin-right: 10px;
  padding: 3px 6px;
}
.user-profiles--edit .radio-option label,
.user-profiles--new .radio-option label {
  cursor: pointer;
}
.user-profiles--edit .profile-instructions,
.user-profiles--new .profile-instructions {
  margin: 40px 0;
}
.user-profiles--edit .error-messages,
.user-profiles--new .error-messages {
  margin: 20px 0;
}
.user-profiles--edit .profile-field.full-width,
.user-profiles--new .profile-field.full-width {
  display: flex;
}
.user-profiles--edit .profile-field .mdc-text-field,
.user-profiles--edit .profile-field .mdc-text-field--textarea,
.user-profiles--new .profile-field .mdc-text-field,
.user-profiles--new .profile-field .mdc-text-field--textarea {
  background: var(--color-background-primary);
  color: var(--color-text-high-contrast);
  flex: 1;
}
.user-profiles--edit .profile-field .input-field-row,
.user-profiles--new .profile-field .input-field-row {
  align-items: center;
  display: flex;
  width: 100%;
}
.user-profiles--edit .profile-field .input-field-row .prefix,
.user-profiles--new .profile-field .input-field-row .prefix {
  margin-right: 8px;
}
.user-profiles--edit .profile-field .mdc-text-field--textarea,
.user-profiles--new .profile-field .mdc-text-field--textarea {
  height: 150px;
  width: 100%;
}
.user-profiles--edit .profile-field .mdc-text-field--textarea textarea,
.user-profiles--new .profile-field .mdc-text-field--textarea textarea {
  resize: none;
}
.user-profiles--edit .profile-inpso select,
.user-profiles--new .profile-inpso select {
  margin-left: 10px;
  padding: 5px 10px;
}
.user-profiles--edit .user-testimonial-content,
.user-profiles--new .user-testimonial-content {
  padding-top: 30px;
}
.user-profiles--edit .user-testimonial-content .mdc-text-field--textarea.mdc-text-field--dense,
.user-profiles--new .user-testimonial-content .mdc-text-field--textarea.mdc-text-field--dense {
  background: var(--color-background-primary);
  color: var(--color-text-high-contrast);
  height: 300px;
  width: 100%;
}
.user-profiles--edit .user-testimonial-content .testimonial-use-label,
.user-profiles--new .user-testimonial-content .testimonial-use-label {
  color: var(--color-text-low-contrast);
  font-size: 12px;
  margin-top: 8px;
}
.user-profiles--edit input[type=checkbox],
.user-profiles--new input[type=checkbox] {
  margin-right: 8px;
}
.user-profiles--edit .vertical-centered,
.user-profiles--new .vertical-centered {
  align-items: center;
  display: flex;
}
.user-profiles--edit .or-label,
.user-profiles--new .or-label {
  margin: 0 15px;
}

.user-profiles--index .content-wrapper .width-wrapper {
  padding: 20px 10px 50px;
}
@media only screen and (min-width: 1024px) {
  .user-profiles--index .content-wrapper .width-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
.user-profiles--index .profile-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}
.user-profiles--index .avatar {
  margin-right: 20px;
}
.user-profiles--index .avatar .avatar-image {
  height: 96px;
  object-fit: cover;
  width: 96px;
}
.user-profiles--index a.profile-container {
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--color-text-high-contrast);
  display: flex;
  margin: 0 20px 20px 0;
  overflow: hidden;
  padding: 15px;
  width: 320px;
}
@media only screen and (min-width: 1024px) {
  .user-profiles--index a.profile-container {
    width: 350px;
  }
}
@media only screen and (min-width: 1400px) {
  .user-profiles--index a.profile-container {
    width: 370px;
  }
}
.user-profiles--index a.profile-container:hover {
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-primary);
}
@media only screen and (min-width: 1024px) {
  .user-profiles--index a.profile-container .profile-basics {
    padding-top: 8px;
  }
}
.user-profiles--index a.profile-container .profile-name {
  align-items: center;
  display: flex;
  font-size: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-profiles--index a.profile-container .profile-name .material-icons {
  font-size: 14px;
  margin-left: 6px;
  width: 18px;
}
.user-profiles--index a.profile-container .profile-registered {
  color: var(--color-text-medium-contrast);
  font-size: 13px;
  margin-top: 3px;
}
.user-profiles--index .profile-status-icons {
  display: flex;
  flex-wrap: wrap;
  margin-top: 6px;
}
.user-profiles--index .status-label {
  align-items: center;
  display: flex;
  font-size: 13px;
  margin-right: 10px;
}
.user-profiles--index .status-label .material-icons {
  font-size: 16px;
  margin-right: 4px;
}
.user-profiles--index .pagination {
  margin: 50px 0;
}

.user-profiles--show .public-profile-label {
  color: var(--color-text-reversed-link);
  font-size: 12px;
  text-transform: uppercase;
}
.user-profiles--show .member-since-label {
  color: var(--color-text-medium-contrast);
  margin-bottom: 40px;
  margin-top: 15px;
}
.user-profiles--show .profile-field .label {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 0;
  padding-bottom: 0;
  text-transform: uppercase;
}
.user-profiles--show .profile-field .response p:first-of-type {
  margin-top: 0;
}
.user-profiles--show .profile-name {
  align-items: center;
  display: flex;
}
.user-profiles--show .edit-profile-button {
  background-color: transparent;
  color: var(--color-text-reversed);
  margin-bottom: 20px;
}
@media only screen and (min-width: 768px) {
  .user-profiles--show .edit-profile-button {
    bottom: 0;
    position: absolute;
    right: 16px;
  }
}
.user-profiles--show .social-icon-and-link {
  margin: 15px 0;
}
.user-profiles--show .social-icon-and-link .material-icons {
  font-size: 14px;
  width: 24px;
}
.user-profiles--show .profile-nothing-to-see {
  color: var(--color-text-medium-contrast);
  margin-top: 50px;
}
.user-profiles--show .profile-desert {
  height: auto;
  max-width: calc(100% - 24px);
  width: auto;
}
.user-profiles--show .message-pop-link {
  color: var(--color-text-link);
  cursor: pointer;
}
.user-profiles--show .user-testimonial-content {
  font-style: italic;
  margin-left: 20px;
}

.user-profiles {
  background-color: var(--color-background-tertiary);
}
.user-profiles .supporter-vote-progress-container {
  background-color: var(--color-background-action-low-contrast);
  padding-top: 20px;
  padding-bottom: 20px;
}
.user-profiles .profile-top-region {
  background-color: var(--color-background-nav-menu);
  padding-top: 10px;
  width: 100%;
}
.user-profiles .profile-top-region .width-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .user-profiles .profile-top-region .width-wrapper {
    align-items: baseline;
    height: 120px;
  }
}
.user-profiles .profile-top-region .profile-image,
.user-profiles .profile-top-region .avatar {
  background-color: var(--color-background-primary);
  border-radius: 200px;
  height: 192px;
  width: 192px;
}
.user-profiles .profile-top-region .profile-image .avatar {
  align-items: center;
  display: flex;
  left: 0;
  justify-content: center;
  position: absolute;
  top: 0;
}
.user-profiles .profile-top-region .profile-image .avatar .avatar-image {
  display: block;
  min-height: 192px;
  min-width: 192px;
  object-fit: cover;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .user-profiles .profile-top-region .profile-image {
    bottom: -96px;
    left: 0;
    position: absolute;
  }
}
.user-profiles .profile-top-region .profile-image .image-bordered {
  border-radius: 500px;
  border: 3px solid var(--color-background-primary);
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.3);
  height: 195px;
  overflow: hidden;
  position: relative;
  width: 195px;
}
.user-profiles .profile-top-region .profile-text {
  color: var(--color-text-nav-high-contrast);
  margin: 20px 0;
}
@media only screen and (min-width: 768px) {
  .user-profiles .profile-top-region .profile-text {
    bottom: 10px;
    left: 220px;
    margin: 0;
    position: absolute;
  }
}
.user-profiles .profile-top-region .profile-text .profile-name {
  font-size: 30px;
}
.user-profiles .profile-top-region .profile-text a {
  color: var(--color-text-nav-medium-contrast);
}
.user-profiles .profile-top-region .profile-text a:hover {
  text-decoration: underline;
}
.user-profiles .profile-questions.width-wrapper {
  padding-bottom: 50px;
}
@media only screen and (min-width: 768px) {
  .user-profiles .profile-questions.width-wrapper {
    padding-left: 220px;
  }
}
.user-profiles .profile-questions .profile-questions-and-testimonial {
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 1024px) {
  .user-profiles .profile-questions .profile-questions-and-testimonial {
    align-items: flex-start;
    flex-direction: row;
    margin-top: 0;
  }
}
@media only screen and (min-width: 1024px) {
  .user-profiles .profile-questions .profile-questions-and-testimonial .profile-question-content {
    flex: 2;
  }
}
.user-profiles .profile-questions .profile-field {
  margin: 25px 0;
}
.user-profiles .profile-questions .user-testimonial-content {
  background-color: rgba(var(--color-background-action-high-contrast-rgb), var(--opacity-overlay-low-contrast-hover));
  color: var(--color-text-medium-contrast);
  display: flex;
  flex-direction: column;
  flex: 1;
  font-size: 14px;
  line-height: 22px;
  margin-top: 50px;
  overflow: hidden;
  padding: 20px;
  word-wrap: break-word;
}
@media only screen and (min-width: 1024px) {
  .user-profiles .right-side-content {
    flex: 1;
    margin-left: 40px;
  }
}
@media only screen and (min-width: 768px) {
  .user-profiles .badge-region,
  .user-profiles .page-bottom-region {
    padding-left: 220px;
  }
}
.user-profiles .booster-objective-content {
  background-color: rgba(var(--color-background-action-high-contrast-rgb), var(--opacity-overlay-low-contrast-hover));
  padding: 10px 20px;
  margin-top: 20px;
  text-align: center;
}
.user-profiles .booster-objective-content .subtext {
  color: var(--color-text-low-contrast);
}
.user-profiles .page-bottom-region {
  margin-bottom: 70px;
}
.user-profiles .badge-region {
  border-top: var(--color-border-primary) 1px solid;
  margin-bottom: 150px;
  padding-top: 25px;
}
.user-profiles .badge-region .badge-teaser {
  align-items: center;
  font-size: 13px;
  display: flex;
  margin: 20px 0 50px 0;
}
.user-profiles .badge-region .empty-badge {
  margin-right: 10px;
}
.user-profiles .badge-region .badge-list {
  display: flex;
  flex-wrap: wrap;
}
.user-profiles .badge-region .badge-image {
  height: 105px;
  margin-bottom: 25px;
  margin-right: 25px;
  width: 90px;
}
