body {
    height: 100vh;
}

.page-title .title {
    margin-top: 0 !important;
}

.img-cover {
    object-fit: cover;
    object-position: center;
}

.circle {
    width: 100%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
}

.circle:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 100%;
}

img.fixaspect {
    position: absolute;
    height: 100%;
    left: 50%;
    transform: translateX( -50%);
    top: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
    opacity: 0;
    transition: opacity .4s;
}

img.fixaspect.tallAndNarrow {
    width: 100%;
    top: 50%;
    transform: translateX(0) translateY( -50%);
    left: 0;
    height: auto;
}

img.fixaspect.loaded {
    opacity: 1;
}

.blended-bg {
    background: linear-gradient(rgba(25,25,25,0.8), transparent);
}

.bg-reset_password_error, .bg-verify_email_error {
    background-color: red;
    color: white;
}

.alert {
    position: absolute;
    z-index: 99;
    top: 10px;
    width: 100%;
}

.theme-dark .profile-picture {
    background-image: url('/images/person-dark.png');
}

.theme-light .profile-picture {
    background-image: url('/images/person-light.png');
}

.small-profile-picture {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    background-size: cover;
}

.bg-red {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
    color: white !important;
}

.bg-red strong {
    color: white !important;
}

.color-red-dark {
    color: white !important;
}

.color-red-dark a strong {
    color: white !important;
}

.bg-green {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}

.bg-green strong {
    color: white !important;
}

.color-green-dark {
    color: white !important;
}

.color-green-dark a strong {
    color: white !important;
}

.styled-checkbox {
    position: absolute;
    opacity: 0;
  }
  .styled-checkbox + label {
    position: relative;
    cursor: pointer;
    padding: 0;
  }
  .styled-checkbox + label:before {
    content: "";
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    background: white;
  }
  .styled-checkbox:hover + label:before {
    background: #f35429;
  }
  .styled-checkbox:focus + label:before {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
  }
  .styled-checkbox:checked + label:before {
    background: #f35429;
  }
  .styled-checkbox:disabled + label {
    color: #b8b8b8;
    cursor: auto;
  }
  .styled-checkbox:disabled + label:before {
    box-shadow: none;
    background: #ddd;
  }
  .styled-checkbox:checked + label:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
  }

  .form-check-input {
    width: 1.5em !important;
    height: 1.5em !important;
  }

  .form-check .form-check-input {
    margin-right: 1em !important;
  }

  .theme-dark table {
    color: white;
  }