#EUMPortal .profile fieldset {
  padding: 1rem 0;
}
#EUMPortal .profile legend {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}
#EUMPortal .profile label {
  display: flex;
  align-items: center;
}
#EUMPortal .profile label > svg {
  margin-right: 0.4rem;
  background-color: #ffcc66;
  border-radius: 50%;
  padding: 5px;
  color: var(--portal-primary-color);
  width: 21px;
  height: 21px;
}
#EUMPortal .profile :disabled label {
  opacity: 0.5;
}
#EUMPortal .profile .loading .form-control:disabled {
  color: transparent;
  border: 0;
}
#EUMPortal .profile .headshot {
  position: relative;
  overflow: initial;
  border: 0;
  border-radius: 0;
}
#EUMPortal .profile .headshot #ProfileImagePlaceholder {
  opacity: 0.33;
}
#EUMPortal .profile .headshot img {
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 50% !important;
  margin: 0;
  width: 100%;
  height: auto;
  max-width: none;
  box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.15);
  border: 0.25rem solid var(--portal-white);
}
#EUMPortal .profile .headshot > button {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background-color: var(--portal-primary-color);
  width: 2rem;
  height: 2rem;
  z-index: 1;
  color: var(--portal-white);
  display: flex;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease-in-out;
}
#EUMPortal .profile .headshot > button:hover {
  transform: scale(1.2);
}
#EUMPortal .profile .headshot > button > svg {
  object-fit: cover;
  aspect-ratio: 1/1;
  margin: auto;
  max-width: 38%;
}
#EUMPortal .profile .sidebar label {
  font-weight: bold;
  font-size: 1rem;
  padding-bottom: 0.5rem;
  text-align: center;
  display: block;
}
#EUMPortal .profile .sidebar .card label {
  margin: 0 -1rem 1rem;
  border-bottom: 1px solid #ddd;
}
#EUMPortal .profile .sidebar .nav-link {
  padding: 0;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  border-bottom: 1px dotted #ccc;
}
#EUMPortal .profile .sidebar .nav-link:last-child {
  border: 0;
  padding: 0;
  margin: 0;
}
#EUMPortal .profile .sidebar .nav-link.active {
  color: #000;
}
#EUMPortal .profile .sidebar .sticky-top {
  z-index: 1;
  top: 2rem;
}
#EUMPortal .profile .cta {
  display: flex;
  font-size: 0.775rem;
  align-items: center;
  font-weight: 500;
  margin: auto;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  background: #f4f4f4;
}
@media (min-width: 1200px) {
  #EUMPortal .profile .cta {
    border: 0;
    padding: 0;
    margin: 0;
    max-width: 24rem;
    background: none;
  }
}
#EUMPortal .profile .cta .icon {
  margin-right: 1rem;
  flex: 1 0 auto;
  background: #ffcc66;
  border-radius: 50%;
  padding: 2rem;
  color: var(--portal-primary-color);
}
#EUMPortal .profile .cta .icon svg {
  width: 3rem;
  height: 3rem;
  margin: auto;
}
#EUMPortal .profile .progress {
  width: 150px;
  height: 150px !important;
  line-height: 150px;
  background: none !important;
  margin: 20px;
  box-shadow: none;
  position: relative;
  margin: auto;
}
#EUMPortal .profile .progress:after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 12px solid #f0f0f0;
  position: absolute;
  top: 0;
  left: 0;
}
#EUMPortal .profile .progress > span {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 1;
}
#EUMPortal .profile .progress .progress-left {
  left: 0;
}
#EUMPortal .profile .progress .progress-left .progress-bar {
  left: 100%;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  border-left: 0;
  -webkit-transform-origin: center left;
  transform-origin: center left;
}
#EUMPortal .profile .progress .progress-bar {
  width: 100%;
  height: 100%;
  background: none;
  border-width: 12px;
  border-style: solid;
  position: absolute;
  top: 0;
}
#EUMPortal .profile .progress .progress-right {
  right: 0;
}
#EUMPortal .profile .progress .progress-right .progress-bar {
  left: -100%;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  border-right: 0;
  -webkit-transform-origin: center right;
  transform-origin: center right;
  animation: loading-1 0.6s linear forwards;
}
#EUMPortal .profile .progress .progress-value {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: var(--portal-white);
  font-size: 2.5rem;
  font-weight: 600;
  color: #000;
  line-height: 9rem;
  text-align: center;
  position: absolute;
  top: 5%;
  left: 5%;
  letter-spacing: 0.25rem;
}
#EUMPortal .profile .progress.blue .progress-bar {
  border-color: var(--portal-primary-color);
}
#EUMPortal .profile .progress.blue .progress-left .progress-bar {
  animation: loading-2 0.4s linear forwards 0.6s;
}
#EUMPortal .profile .progress.yellow .progress-bar {
  border-color: #fdba04;
}
#EUMPortal .profile .progress.yellow .progress-right .progress-bar {
  animation: loading-3 1.8s linear forwards;
}
#EUMPortal .profile .progress.yellow .progress-left .progress-bar {
  animation: none;
}
@keyframes loading-1 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}
@keyframes loading-2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
  }
}
@keyframes loading-3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }
}
#EUMPortal .profile .loading .form-control,
#EUMPortal .profile .person-header.loading [data-target] {
  animation-duration: 2.2s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: shimmer;
  animation-timing-function: linear;
  background: #ddd;
  background: linear-gradient(to right, #F6F6F6 8%, #F0F0F0 18%, #F6F6F6 33%);
  background-size: 1200px 100%;
  border: 0;
  height: 2rem;
  max-width: 100%;
  color: transparent !important;
}
#EUMPortal .profile .person-header.loading [data-target] {
  min-width: 20rem;
}
#EUMPortal .profile .person-header.loading .headshot button {
  display: none;
}
#EUMPortal .profile .loading textarea.form-control {
  height: auto;
}
#EUMPortal .profile .loading .form-control::placeholder {
  visibility: hidden;
}
@-webkit-keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}
@keyframes shimmer {
  0% {
    background-position: -1200px 0;
  }
  100% {
    background-position: 1200px 0;
  }
}
