@font-face {
  font-family: "EarlSans-Regular";
  src: url("EarlSans-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "EarlSans-UltraLight";
  src: url("EarlSans-Thin.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
}
.pws-consultant__information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.pws_banner-modal {
  position: fixed;
  left: 10px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 500px;
  margin: 0 auto;
  z-index: 9999;
  background: #fff;
  text-align: center;
  min-height: 215px;
}

.pws_banner-modal--open::before {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  content: "";
}

.pws_banner-modal__header p {
  margin: 0;
}

.pws_banner-modal__header,
.pws_banner-modal__content {
  padding: 0.75rem 1rem;
}

.pws_banner-modal__content {
  margin-bottom: 1rem;
}

.pws_banner-modal__header {
  background-color: #f1f1f1;
  color: red;
  text-align: left;
  display: flex;
  justify-content: space-between;
}

.pws_banner-top {
  padding: 12px 8px;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-family: "EarlSans-Regular";
  letter-spacing: 0;
  color: #fff;
}

.pws-close--modal {
  color: #000;
  cursor: pointer;
}

.pws_banner-top__left {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.pws_banner-top__right {
  margin-bottom: 0.5rem;
}

a.pws_banner-top__text {
  text-decoration: none;
  color: inherit;
  font-size: 20px;
  font-family: "EarlSans-Regular", sans-serif;
  display: flex;
  flex-direction: row;
  justify-content: center;
  place-items: center;
}

a.pws_banner-top__text-party {
  font-size: 17px;
  text-decoration: none;
  color: inherit;
  font-family: "EarlSans-Regular", sans-serif;
  display: flex;
  flex-direction: row;
  justify-content: center;
  place-items: center;
}

.pws_banner-pre {
  color: inherit;
  font-size: 18px;
  font-family: "EarlSans-Regular", sans-serif;
  font-weight: 100;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 8px;
  margin-right: 8px;
}

.pws_banner-consultant {
  color: inherit;
  font-size: 18px;
  font-family: "EarlSans-Regular", sans-serif;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0;
}

.pws-banner-container {
  min-height: 40px;
  display: block !important;
  background-color: #47c1bf;
}

.default_banner-top {
  background-color: #f4f4f4;
  padding: 10px;
  text-align: center;
  font-size: 1.1em;
}

p.consultant-initials {
  font-size: 32px;
  display: flex;
  justify-content: center;
  -webkit-box-align: center;
  margin-top: 20%;
  font-family: "EarlSans-Regular";
  color: white;
}

.consultant-card___content {
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pws-consultant__information--image {
  border-radius: 62px;
  background-color: #47c1bf;
  width: 80px;
  height: 80px;
}

.consultant-information {
  place-self: center;
  text-transform: capitalize;
  width: 100px;
}

.consultant-card__info {
  margin-top: 10px;
  margin-left: 8px;
}

.pws-party__information--content {
  display: grid;
  margin-top: 16px;
  grid-template-columns: 33% 33% 33%;
  margin-top: 12px;
}

#warning-message, #warning-party-message {
  padding-top: 20px;
  color: red;
  font-weight: 600;
}

@media screen and (max-width: 1240px) {
  .consultant-card__container {
    height: fit-content;
  }
  .consultant-card__info {
    margin-top: 10px;
    /* margin-left: 8px; */
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .consultant-information {
    width: auto;
  }
  .pws-party__information--content {
    grid-template-columns: 100%;
    gap: 5px;
  }
  .pws-party__information-owner {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .pws-information .title {
    margin-bottom: 10px;
  }
  .pws-consultant__information {
    grid-template-columns: 100%;
  }
  .party-pagination {
    font-size: 10px;
  }
}
@media screen and (min-width: 768px) {
  .pws-information .title {
    font-size: 16px;
  }
  .pws-party {
    margin-top: 16px;
    height: 72px;
  }
  .pws-party__button--container {
    left: 67%;
    bottom: 57px;
    width: auto;
  }
  .pws-container {
    background-color: #F1F1F1;
    border-radius: 8px;
    padding: 16px;
    padding-top: 0;
  }
  .consultant-card___content {
    display: flex;
    gap: 8px;
    flex-direction: row;
    align-items: self-start;
    text-align: left;
    width: fit-content;
  }
  .pws-checkbox h3 {
    font-size: 18px;
  }
  .consultant-card__subHeading {
    font-size: 14px;
    font-weight: 500;
    font-family: "EarlSans-Regular", sans-serif;
    text-align: unset !important;
  }
  .pws-consultant__button--container {
    display: grid;
    justify-self: flex-end;
  }
  .pws-banner-container {
    min-height: 50px;
  }
  .pws_banner-top.flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: 4rem;
    height: 80px;
  }
  .pws_banner-top__left,
  .pws_banner-top__right {
    margin-bottom: 0;
  }
  .pws_banner-top {
    font-size: 1.4rem;
    font-family: "EarlSans-Regular";
  }
  .pws_banner-pre {
    color: inherit;
    font-size: 20px;
    font-family: "EarlSans-Regular", sans-serif;
    font-weight: 100;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 8px;
    margin-right: 8px;
  }
  .pws_banner-consultant {
    color: inherit;
    font-size: 20px;
    font-family: "EarlSans-Regular", sans-serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
  }
}
.pws-btn,
.pws_banner-top__right a {
  padding: 8px 10px;
  border: 1px solid;
  margin: 0 7px;
  font-size: 1.25rem;
  text-transform: uppercase;
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  font-family: "EarlSans-Regular", sans-serif;
}

.pws_banner-top.flex p {
  margin: 0;
}

.bg-banner-pws {
  background-color: #009A49;
}

.bg-purple {
  background-color: #ad1896;
}

.bg-pink {
  background-color: #fc5474;
}

.bg-black {
  background-color: #000;
  color: #fff !important;
}

.pws-information {
  background: #f1f1f1;
  padding: 1rem 1rem 0.5rem;
  margin: 1rem 0 3rem;
  border-radius: 8px;
}

.pws-information .title {
  font-family: "EarlSans-Regular";
  font-size: 14px;
  color: black;
  font-weight: 400;
  display: block;
}

.pws-party,
.pws-consultant {
  display: none;
  margin-bottom: 0.35rem;
}

.pws_banner-top__right .button {
  min-width: unset;
  min-height: unset;
  letter-spacing: unset;
}

.pws_banner-top__change.button--secondary {
  color: #fff;
  border-color: #fff;
  background-color: #fff;
}

.pws_banner-top__change.button--secondary::before {
  background-color: #47c1bf;
  color: #fff;
}

.field__icon {
  max-height: 48px;
}

.tooltip-control {
  outline: none !important;
}

button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.pws-container {
  background-color: #F1F1F1;
  border-radius: 8px;
  padding-top: 0;
}

.pws-checkbox h3 {
  color: black;
  font-size: 16px;
  font-weight: 600;
}

.pws-checkbox input[type=radio] {
  margin-top: 12px;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  color: #292929;
}

.radio-group {
  display: flex;
  flex-direction: column;
}

.pws__consultant-connect {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  width: 100%;
  height: 48px;
  margin-top: 12px;
}

.input-field {
  border: none;
  outline: none;
  padding: 16px;
  flex-grow: 1;
  background-color: white;
  border-top: 1px solid #B4B4B4;
  border-left: 1px solid #B4B4B4;
  border-bottom: 1px solid #B4B4B4;
  border-right: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: -webkit-fill-available;
}

.clear-button {
  background-color: black;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  width: 135px;
  height: 48px;
  border-radius: 0px 8px 8px 0px;
}

.pws-checkbox input[type=radio]:checked {
  border-width: 5px;
}

div#confirm_message {
  margin-top: 10px;
  color: red;
}

.pws__consultant-cards {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.consultant-card__container {
  background-color: white;
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #B4B4B4;
}

.consultant-card__confirm {
  background-color: black;
  color: white;
  width: 100%;
  border-radius: 8px;
  height: 36px;
  margin-top: 8px;
}

.party-card__confirm {
  background-color: black;
  color: white;
  width: 100%;
  border-radius: 8px;
  height: 36px;
  margin-top: 8px;
}

.pws-party__change-button {
  background-color: white;
  border: 1px solid black;
  border-radius: 8px;
  width: 181px;
  padding: 12px 24px;
  font-family: "EarlSans-UltraLight", sans-serif;
  font-weight: 600;
}

.pws-consultant__change-button {
  background-color: white;
  border: 1px solid black;
  border-radius: 8px;
  width: 181px;
  padding: 12px 24px;
  font-family: "EarlSans-UltraLight", sans-serif;
  font-weight: 600;
  height: max-content;
}

.consultant-card__subHeading {
  font-size: 14px;
  color: black;
  font-weight: 600;
  line-height: 21px;
  font-family: "EarlSans-UltraLight", sans-serif;
  text-align: center;
}

.consultant-image {
  border-radius: 62px;
  background-color: #47c1bf;
  width: 80px;
  height: 80px;
}

.pws-consultant--text {
  font-family: "EarlSans-UltraLight", sans-serif;
  color: black;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-transform: capitalize;
}

.pws-consultant__information--content {
  width: max-content;
}

.pws-consultant__button--container {
  position: relative;
  max-width: max-content;
}

.pws-consultant__content {
  display: flex;
  gap: 12px;
}

.pws__party-connect {
  display: flex;
  flex-direction: column;
  font-family: "EarlSans-UltraLight", sans-serif;
  color: black;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

.party-cards {
  margin-top: 14px;
  margin-left: 10px;
}

.pws__party-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.pws__party-search {
  margin-top: 20px;
}

input#input-connect-party {
  width: 70%;
}

.error-message {
  border-radius: 10px;
  margin-top: 30px;
  padding: 12px;
  font-size: 15px;
  background-color: white;
  width: 95%;
  text-align: center;
}

.clear-party-button {
  background-color: black;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  width: 115px;
  height: 50px;
  border-radius: 0px 8px 8px 0px;
}

.party-information {
  background-color: white;
  border-radius: 8px;
  border: 1px solid #B4B4B4;
  padding: 12px;
}

.party-information p {
  display: flex;
  gap: 10px;
  align-items: center;
}

.party-card__subHeading {
  margin-top: 2px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 21px;
  font-family: "EarlSans-UltraLight", sans-serif;
  font-weight: 600;
}

.pws-party__button--container {
  width: auto;
}

.pws-party {
  margin-top: 16px;
  height: auto;
}

.pws-party__information--detail {
  display: flex;
  gap: 4px;
  place-items: center;
  margin-bottom: 4px;
}

.pagination {
  text-align: center;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: "EarlSans-Regular", sans-serif;
  color: #696969;
}

.pagination__button--active {
  color: black;
  font-weight: 900;
}

.party-pagination {
  text-align: center;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: "EarlSans-Regular", sans-serif;
  color: #696969;
}

.active {
  font-weight: 900;
}

@media (-moz-touch-enabled: 0), (hover: hover) {
  .pws_banner-top__change.button--secondary:not([disabled]):hover {
    color: #47c1bf;
    background-color: white;
  }
}
/* skeleton loading */
.search_card--skeleton {
  background: linear-gradient(90deg, #D4D4D4 25%, #ADADAD 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1s infinite;
  height: 180px;
  margin-top: 20px;
  border-radius: 16px;
}

.search_result--skeleton {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 20px;
  width: 96%;
}

@keyframes loading {
  0% {
    background-position: -130% 0;
  }
  100% {
    background-position: 200% 0;
  }
}