/* User dropdown - profile css */
.loader {
  border: 3px solid #e0e0e0;
  border-top: 3px solid #5d5d5d;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: block;
  margin: auto;
  animation: spin 1s linear infinite;
}

#UserProfileEntry {
  background-color: white;
  border-radius: 6px;
}

.user-profile-modal .modal-header {
  height: 50px;
  border-bottom: none;
}

.user-profile-modal .close {
  color: black !important;
  opacity: 1 !important;
}

.user-profile-modal .FormErrorMessage p {
  margin-bottom: 0;
}

.p-0 {
  padding: 0px !important;
}

.user-profile-modal h1,
.user-profile-modal h2,
.user-profile-modal h3,
.user-profile-modal h4,
.user-profile-modal h5,
.user-profile-modal h6,
.user-profile-modal p,
.user-profile-modal .question-container * {
  font-family: inherit !important;
}

.user-profile-modal .modal-close:active,
.user-profile-modal .modal-close:focus,
.user-profile-modal .modal-close:hover {
  outline: none;
  box-shadow: none !important;
  background-color: transparent !important;
}

.user-profile-modal .modal-close svg {
  width: 9px;
  height: 9px;
  color: black;
}

.user-profile-modal {
  width: 440px !important;
  border-radius: 6px;
  margin-top: 1.75rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  background-color: white;
  padding: 0px !important;
}

.user-profile-modal .change-password-block {
  padding: 25px 40px;
  background-color: white;
}

.user-profile-modal .edit-profile-form label,
.user-profile-modal .change-password-block label {
  margin-bottom: 0px;
}

.loader {
  border: 3px solid #e0e0e0;
  border-top: 3px solid #5d5d5d;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: block;
  margin: auto;
  animation: spin 1s linear infinite;
}
  
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.user-profile-modal .text-center img {
  padding: 70px 0; /* Vertically aligning the loader */
}

.edit-profile-form {
  padding-top: 10px;
  border-radius: 6px;
  border-radius: 0 0 6px 6px;
  background-color: white;
}

.edit-profile-form .question-container {
  padding: 0 40px;
}

.edit-profile-form .question-container .TosQuestion,
.edit-profile-form .question-container .RadioButtonQuestion,
.edit-profile-form .question-container .CheckBoxQuestion {
  border: none;
  padding: 0;
  margin: 0;
}

.edit-profile-form .question-container label,
.edit-profile-form .question-container legend,
.edit-profile-form .question-container h4 {
  font-weight: bold;
  font-size: 16px;
}

.edit-profile-form .question-container div[role="radiogroup"] label,
.edit-profile-form .question-container div[role="group"] label {
  font-weight: normal;
  align-items: baseline;
}

.edit-profile-form .question-container .FormErrorMessage p {
  margin-bottom: 0;
}

.edit-profile-form .question-container .PasswordQuestion,
.edit-profile-form .question-container .TosQuestion {
  /* hide password and accept conditions question for edit profile */
  display: none;
}

.edit-profile-form .question-container .date-question {
  width: 100%;
  display: flex;
  height: 2.5rem;
  border: 1px solid #e7e7e7 !important;
  padding: 4px 10px;
  -moz-transition: 0.3s border-color;
  -o-transition: 0.3s border-color;
  -webkit-transition: 0.3s border-color;
  transition: 0.3s border-color;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  outline: none;
  font-size: 1rem;
  border-radius: 0.25rem;
  border-color: inherit;
  background-color: #fff;
}

.edit-profile-form .avatar-container {
  display: flex;
  padding: 20px 40px 25px 40px;
}

.edit-profile-form .avatar-container .avatar-file-hide {
  display: none;
}

.edit-profile-form .avatar-container .avatar-delete,
.edit-profile-form .avatar-container .avatar-delete:focus {
  border: 0;
  outline: none;
  font-size: 16px;
  margin-left: 20px;
  box-shadow: none;
  font-weight: bold;
  text-decoration: none;
  background-color: white;
}

.edit-profile-form .avatar-container .avatar-change {
  margin-left: 20px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  align-items: center;
  display: inline-flex;
}

.change-password-modal-footer {
  padding: 18px 40px;
  border-radius: 0 0 6px 6px;
  background-color: #f7f7f7;
}

.edit-profile-tabs [class^="tab-"] {
  width: 50%;
  outline: none;
  font-weight: bold;
  background-color: white;
}

.edit-profile-tabs [class^="tab-"]:focus {
  box-shadow: none;
  background-color: transparent;
}

.edit-profile-tabs [class^="tab-"][aria-selected=false] {
  color: #000000 !important;
  border-bottom: 3px solid transparent !important;
}

.password-help {
  margin-top: 5px;
  padding-left: 5px;
  line-height: 23px;
  font-size: 12px;
  color: #8c8c8c;
  list-style-type: disc;
}

.password-help:before {
  content: attr(aria-label);
  font-size: 14px;
}

/* User dropdown - listing Css */
.ehq-participant-header .float-right {
  float: right;
}

.ehq-participant-header .header-icon {
  display: contents;
}

.ehq-participant-header--desktop-menu .bg-white {
  margin-bottom: 10px;
  background-color: white;
}

.ehq-participant-header button:focus:not(.avatar-button, .hamburger-icon) {
  outline: none;
}

.ehq-participant-header .mt-15 {
  margin-top: 15px;
}

.ehq-participant-header .heading {
  padding: 10px 0;
  margin-bottom: 5px;
}

.ehq-participant-header .dummy-avatar-icon {
  display: inline;
}

.ehq-participant-header .user-dropdown .link-color {
  font-weight: bold;
}

.ehq-participant-header .user-dropdown .view-all {
  margin-left: -20px !important;
}

.ehq-participant-header .user-dropdown .deleted-link-color {
  color: #555555 !important;
  pointer-events: none;
}

.ehq-participant-header .user-dropdown .back-arrow {
  display: inline;
  padding-right: 10px;
}

.ehq-participant-header .user-dropdown .grey-text {
  color: #888888;
  line-height: 22px;
}

.ehq-participant-header .user-dropdown .sub-grey-text {
  font-size: 12px;
  padding-left: 28px;
}

.ehq-participant-header .user-dropdown .grey-text .inline-text {
  width: 100% !important;
  font-size: 16px !important;
  font-weight: bold !important;
}

.ehq-participant-header .user-dropdown .grey-text .inline-text .sub-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
}

.ehq-participant-header .user-dropdown .d-inline .inline-icon {
  display: inline;
  vertical-align: top;
  margin-top: 4px;
}

.ehq-participant-header .user-dropdown .d-inline .envelope-img-bg {
  transform: scale(1.1);
}

.ehq-participant-header .user-dropdown .d-inline .vertical-middle {
  vertical-align: middle;
}

.ehq-participant-header .user-dropdown .heading .inline-text {
  width: auto !important;
}

.ehq-participant-header .user-dropdown .heading .back-arrow {
  margin-left: -10px !important;
  float: right;
}

.ehq-participant-header .user-dropdown .heading .d-flex {
  display: flex !important;
  padding-left: 10px;
  margin: 5px 0;
}

.ehq-participant-header .user-dropdown .d-inline .inline-text {
  width: 88%;
  color: #555555;
  font-size: 14px;
  line-height: 20px;
  margin-left: 10px;
  padding-right: 20px;
  vertical-align: middle;
  font-family: inherit;
  word-break: break-word;
  white-space: break-spaces;
  display: inline-block;
  overflow: hidden;
}

.ehq-participant-header .user-dropdown .d-inline .inline-text p {
  font-size: 16px;
  color: #3db8ed;
  font-weight: 500;
  font-family: inherit;
}

.ehq-participant-header .user-dropdown .d-inline .inline-text .login-name {
  font-size: 16px;
  color: #000;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.ehq-participant-header .user-dropdown .user-list {
  width: 400px !important;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #f7f7f7;
  margin-top: 35px;
  white-space: nowrap;
  z-index: 9999 !important;
}

.ehq-participant-header .user-dropdown .user-list .auth-links__list__list-item {
  border-bottom: none !important;
}

.ehq-participant-header .user-dropdown .user-list .auth-links__list__list-item__link {
  text-align: left;
  display: flex;
  align-items: center;
}

.ehq-participant-header .user-dropdown .user-block {
  overflow-y: auto;
  padding: 10px 20px;
  background-color: white;
  max-height: 65vh;
  overflow-x: hidden;
}

.ehq-participant-header .user-dropdown .user-block .span-text {
  color: #888;
  font-size: 12px;
  font-weight: normal;
  padding-right: 10px;
}

.ehq-participant-header .user-dropdown .user-block .font-bold {
  font-weight: 700;
}

.ehq-participant-header .user-dropdown .user-block .heading span {
  color: #555;
  font-weight: bold;
}

.ehq-participant-header .user-dropdown .user-block .heading .link {
  color: #3db8ed;
  font-weight: bold;
}

.ehq-participant-header .user-dropdown .user-block ul li {
  color: #555;
  padding: 4px 0;
  font-weight: normal;
  white-space: nowrap;
}

.ehq-participant-header .user-dropdown .user-block .blue {
  font-weight: bold;
  color: #3DB8ED !important;
}

.ehq-participant-header .user-dropdown .user-block .project-list {
  padding: 10px 0;
}

.ehq-participant-header .user-dropdown .user-list li>button {
  text-align: left;
  padding: 10px 15px;
  color: #555;
}

.ehq-participant-header .user-dropdown i:before {
  color: #3db8ed;
  padding-right: 18px;
  font-size: 20px;
}

.ehq-participant-header .user-dropdown .i-grey:before {
  font-size: 18px;
  color: #838383;
}

.ehq-participant-header .text-center {
  text-align: center;
}

.ehq-participant-header .c-pointer {
  cursor: pointer;
}

.user-icon-image {
  height: 40px;
  width: 40px;
  border-radius: 40px;
}

.ehq-participant-header .user-settings-avatar-small {
  width: 45px;
  height: 45px;
  display: inline;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
}

.user-settings-avatar {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 80px;
  object-fit: cover;
}

@media only screen and (max-width: 767px) {
  .user-profile-modal .change-password-modal-footer button{
    width: 45%
  }
}

@media only screen and (max-width: 992px) {
  .mobile-color-bar {
    height: 10px;
    border-radius: 4px 4px 0 0;
    background: #FFFAE3;
  }
  .user-profile-modal .modal-dialog {
    width: 98%;
  }

  .user-profile-modal {
    margin: 30px auto !important;
    max-width: 93% !important;
  }

  .ehq-participant-header {
    padding: 10px;
    margin-bottom: 0px;
    box-shadow: none;
  }

  .ehq-participant-mobile-over {
    top: 100%;
    position: absolute;
    z-index: 10;
  }

  .ehq-participant-header .bg-white {
    background-color: transparent;
  }

  .ehq-participant-header .ehq-participant-mobile-over .bg-white {
    background-color: white;
  }

  .ehq-participant-header .ehq-participant-mobile-over .auth-links {
    border-bottom: none;
  }
  .ehq-participant-header .ehq-participant-mobile-over .profile-links, .user-dropdown {
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  }

  .ehq-participant-header .ehq-participant-mobile-over .search-bar{
    margin: 10px 0;
    z-index: 1;
    padding: 20px;
    padding-top: 0px;
  }

  .ehq-participant-header .user-dropdown.activities .inline-text {
    cursor: text;
  }

  .ehq-participant-header .user-dropdown .user-block {
    padding: 10px 15px;
    margin-left: 0px;
  }

  .ehq-participant-header .user-dropdown .user-block-child {
    padding: 20px 0px 10px 20px;
  }

  .ehq-participant-header .user-dropdown .user-list {
    margin-top: 0px;
    width: 100% !important;
  }

  .ehq-participant-header__logo-container .hamburger-icon img {
    width: 35px;
  }

  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item {
    overflow: visible;
    border-bottom: none;
    padding: 15px 0 10px 20px;
    background-color: white;
    z-index: 1;
  }

  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item__child {
    width: auto;
    margin: 15px 0;
    padding-left: 20px;
    background-color: white;
  }

  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item__child .nav-links__list__list-item {
    line-height: 24px;
    padding: 0 !important;
  }

  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item__child .nav-links__list__list-item__child {
    padding-left: 20px;
    position: relative;
  }

  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item__child .nav-links__list__list-item:not(:last-child),
  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item__child .nav-links__list__list-item__child .nav-links__list__list-item:last-child,
  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item__child .nav-links__list__list-item__child .nav-links__list__list-item:not(:last-child) {
    border-bottom: none;
    margin-bottom: 0px;
  }

  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item__child .nav-links__list__list-item__child .nav-links__list__list-item:not(:last-child){
    margin-top: 10px;
  }
  
  .ehq-participant-header .ehq-participant-mobile-over .nav-links__list__list-item__link {
    padding: 0;
    letter-spacing: 0.1px;
    color: #555555;
  }

  .ehq-participant-header .user-dropdown .edit-profile-tabs [class^="tab-"],
  .ehq-participant-header .user-dropdown .edit-profile-tabs [class^="tab-"]:focus {
    padding: 10px;
    background-color: #fff;
  }
}

.activity{
  display: flex;
  align-items: flex-start;
}

/* Changing the width of the inline text in the activity to auto and setting the padding to 10px */

.activity-text .inline-text{
    width: auto !important;
}

.activity-text .time-text{
    padding-left:10px !important;
}

.modal-content {
  min-height: 200px;
}
.user-profile-modal .text-center img{
  padding: 70px 0; /* Vertically aligning the loader */
}

.display-none{
  display: none !important;
}