/* BFZ_V302_VISUAL_HOTFIX_STYLES */
:root {
  --bfz-v302-system: var(--bfz-system-color, var(--user-blue, #1f6ca8));
}

body .bfz-v302-legacy-visual-hidden { display: none !important; }

/* V3.0.2 owns the employee/customer visuals after its image is available. */
body .bfz-v302-employee-identity-cell {
  vertical-align: middle !important;
}
body .bfz-v302-employee-name {
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: currentColor !important;
}

/* BFZ_V302_EMPLOYEE_ICON_GEOMETRY */
body .bfz-v302-employee-visual {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  margin: 0 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  overflow: hidden !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}
body .bfz-v302-employee-visual::before,
body .bfz-v302-employee-visual::after { display: none !important; content: none !important; }
body .bfz-v302-employee-image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
}
body .bfz-v302-employee-visual[data-source="system"] .bfz-v302-employee-image {
  object-fit: contain !important;
}

/* BFZ_V302_LEAVE_PLANNER_IDENTITY_CELL_ONLY */
body .bfz-v302-leave-calendar .bfz-v302-leave-employee-cell {
  position: sticky !important;
  left: 0 !important;
  z-index: 8 !important;
  min-width: 280px !important;
  width: 280px !important;
  max-width: 280px !important;
  white-space: normal !important;
  overflow: visible !important;
  background: #fff !important;
  background-image: none !important;
}
body .bfz-v302-leave-calendar .bfz-v302-leave-employee-cell > * {
  visibility: visible !important;
  opacity: 1 !important;
}
body .bfz-v302-leave-calendar .bfz-v302-leave-employee-cell .bfz-v302-employee-visual {
  vertical-align: middle !important;
}
body .bfz-v302-leave-calendar tbody td:not(.bfz-v302-leave-employee-cell) .bfz-v300-employee-visual,
body .bfz-v302-leave-calendar tbody td:not(.bfz-v302-leave-employee-cell) .bfz-v301-employee-visual,
body .bfz-v302-leave-calendar tbody td:not(.bfz-v302-leave-employee-cell) .bfz-v302-employee-visual {
  display: none !important;
}

/* BFZ_V302_PERSONAL_RECORD_HEADER_GEOMETRY */
body .bfz-v302-profile-visual {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 108px !important;
  height: 108px !important;
  min-width: 108px !important;
  min-height: 108px !important;
  max-width: 108px !important;
  max-height: 108px !important;
  flex: 0 0 108px !important;
  margin: 0 18px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}
body .bfz-v302-profile-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
}
body .bfz-v302-profile-visual[data-source="system"] .bfz-v302-profile-image {
  object-fit: contain !important;
}

/* BFZ_V302_CUSTOMER_ICON_GEOMETRY */
body .bfz-v302-customer-cell {
  vertical-align: middle !important;
}
body .bfz-v302-customer-visual {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  margin: 0 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  overflow: hidden !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}
body .bfz-v302-customer-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body .bfz-v302-customer-visual[data-source="uploaded"] .bfz-v302-customer-image {
  object-fit: cover !important;
  border-radius: 50% !important;
}
body .bfz-v302-customer-kind {
  display: inline-block !important;
  margin-left: 7px !important;
  color: #6d8193 !important;
  font-size: .86em !important;
  font-weight: 650 !important;
  vertical-align: middle !important;
}
body .bfz-v302-customer-number-cell img,
body .bfz-v302-customer-number-cell svg { display: none !important; }

@media (max-width: 760px) {
  body .bfz-v302-employee-visual,
  body .bfz-v302-customer-visual {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex-basis: 44px !important;
  }
  body .bfz-v302-profile-visual {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    flex-basis: 88px !important;
  }
}
