/* @import url("https://fonts.googleapis.com/css2?family=Prompt:wght@400;600&display=swap"); */

div,
p,
li,
span,
b,
a,
td,
th {
  word-break: break-word;
  /* overflow-wrap: break-word; */
}

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

.rsm-name {
  font-size: var(--fontDisplay);
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.exp-grid {
  gap: 5px;
  display: grid;
  grid-template-columns: 0.3fr 1fr;
}

.flex-20 {
  flex: 0 0 20%;
}

.pview-rsm-container {
  width: 860px;
  height: auto;
  gap: 20px;
}

#pview-rsm-container-Header h1 {
  font-size: var(--font28);
}

.pview-rsm-container-Body {
  background-color: #fff;
  box-shadow: 2px 4px 40px rgba(154, 170, 207, 20%);
  padding: 32px;
  /* height: 1216px; */
  /* overflow: hidden; */
}

.premium-badge {
  background-image: linear-gradient(to right, #ff1111, #d00000);
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: var(--font12) !important;
  border-radius: 4px;
  padding: 4px 12px;
  margin-block: 5px;
  color: #fff;
}

.resume-progress-bar {
  /* min-width: 320px; */
  width: 100%;
  margin-block: 4px;
}

.data-member-detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.grop-seeker {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.grop-button-seeker {
  display: grid;
  gap: 16px;
}

.head-select-resume {
  display: flex;
  justify-content: end;
}

.button-select-resume {
  border: 1px solid #FF1111;
  background-color: #fff;
  color: #FF1111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  height: 36px;
  padding-inline: 12px;
}

.button-select-resume:focus {
  border: 1px solid #FF1111 !important;
}

.icon-select-resume {
  padding-right: 8px;
  font-size: var(--font12) !important;
}

.badge-select-resume {
  background: linear-gradient(90deg, #fe4c5c, #7202f2);
  font-size: 1.2rem;
  color: #ffffff;
  transform: rotate(35deg);
  position: absolute;
  top: -8px;
  right: -9px;
  padding: 3px 4px;
  letter-spacing: 0.15rem;
  border-radius: 3px;
}

.table-member > tbody > tr {
  vertical-align: baseline;
}

.table-member > tbody > tr > th {
  width: 30px;
}

.table-member > tbody > tr > td {
  padding: 6px;
}

.table-lang-skill > thead > tr > th {
  vertical-align: baseline;
}

.table-lang-skill > tbody > tr > td {
  vertical-align: baseline;
}

.resume-progress-bar .progress-bar {
  box-shadow: none;
  background: linear-gradient(
    90deg,
    rgba(255, 17, 17, 1) 12%,
    rgba(208, 0, 0, 1) 100%
  );
  border-radius: 4px;
  height: 20px;
  position: relative;
  -webkit-animation: animate-positive 2s;
  animation: animate-positive 2s;
}

.progress-bar {
  background-color: #d40101 !important;
}

.mng-button-resume {
  text-align: right;
  /* z-index: 999; */
}

.mng-button-resume ul {
  display: flex;
  gap: 20px;
}

.mng-button-employer ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.mng-button-resume ul li a,
.mng-button-employer ul li a {
  border: 1px solid #333;
  background-color: #fff;
  color: #333;
  padding-inline: 12px;
  border-radius: 8px;
  text-decoration: none;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mng-button-resume ul li a:hover {
  box-shadow: 2px 4px 8px rgba(154, 170, 207, 40%);
}

.rsm-btmLine {
  border-bottom: 1px solid #dbdfec;
}

#profile-pic-and-contact {
  width: 234px; /*268px*/
  height: 234px; /*268px*/
}

#js-name-and-watermark {
  width: 550px; /*516px*/
}

.pview-rsm-container-Body .no-introduce #profile-pic-and-contact {
  width: 350px; /*auto*/
  height: auto;
}

/* .pview-rsm-container-Body .no-introduce .pic-profile {
  width: 160px;
  height: 160px;
}

.pview-rsm-container-Body .no-introduce .pic-profile img {
  max-width: 160px;
  height: 160px;
} */

.pview-rsm-container-Body .no-introduce #js-name-and-watermark {
  width: 554px;
}

.pview-rsm-container-Body .no-introduce #js-name-and-watermark.gap-4 {
  gap: 0.8rem;
}

/* .pview-rsm-container-Body .no-introduce .contact-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
} */

.pview-rsm-container-Body
  .no-introduce
  .contact-detail
  .contact-detail-row.gap-3 {
  gap: 0.8rem;
}

.pview-rsm-container-Body
  .no-introduce
  .contact-detail
  .contact-detail-row:nth-child(2) {
  grid-template-columns: 30px 1fr;
}

.pview-rsm-container-Body
  .no-introduce
  .contact-detail
  .contact-detail-row:last-child {
  grid-column: span 2;
}

.pview-rsm-container-Body .pic-profile {
  width: 150px;
  height: 200px;
}

.pview-rsm-container-Body .pic-profile figure {
  width: min(100%, 15rem);
  height: 20rem;
}

.pview-rsm-container-Body .pic-profile img {
  max-width: 150px; /*120*/
  height: 200px; /*120*/
  position: relative;
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.pview-rsm-container-Body .contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pview-rsm-container-Body .contact-detail-row2 {
  display: flex;
  justify-content: flex-start;
  align-items: start;
  gap: 5px;
}

.pview-rsm-container-Body .contact-detail .contact-detail-row {
  display: grid;
  grid-template-columns: 85px 1fr;
}

/* .pview-rsm-container-Body .contact-detail .contact-detail-row {
  display: flex;
  justify-content: flex-start;
  align-items: start;
  gap: 5px;
} */

.contact-detail-row img {
  width: 5%;
}

#profile-pic-and-contact .contact-detail-row img {
  width: 10%;
}

.pview-rsm-container-Body .sec-header {
  font-size: var(--font22);
}

.pview-rsm-container-Body .watermark {
  opacity: 0.5;
}

.pview-rsm-container-Body .watermark img {
  width: 106px;
  height: 32px;
}

.pview-rsm-container-Body .box-gray {
  background-color: #ededed;
}

.box-introduce {
  padding: 15px;
  border-radius: 12px;
}

.box-skill {
  padding: 8px 12px;
  border-radius: 8px;
}

.pview-rsm-container-Body .work-request-group ul li {
  padding: 0 0px 8px 8px;
}

.pview-rsm-container-Body .work-request-group .work-request-group-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 4px;
}

.pview-rsm-container-Body .work-request-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*grid-template-rows: 80px auto 80px; */
  column-gap: 4px;
  row-gap: 8px;
}

.pview-rsm-container-Body .name-highlight {
  background-color: #333;
  color: #fff;
  padding-inline: 4px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pview-rsm-container-Body .position-and-salary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

#rsm-detail-secL {
  width: 476px;
}

#rsm-detail-secR {
  width: 300px;
}

.pview-rsm-container-Body .js-info-detail-row .js-info-detail-box:first-child {
  width: 120px; /*108*/
}

.pview-rsm-container-Body .js-info-detail-row .js-info-detail-box:last-child {
  width: 130px /*116*/;
}

/* .pview-rsm-container-Body #rsm-skill {
  font-size: var(--font14);
} */

.pview-rsm-container-Body .lang-skill ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* gap: 5px; */
}

/* .pview-rsm-container-Body .lang-skill ul li {
  word-break: break-word;
} */

.pview-rsm-container-Body .lang-skill-score #skill-other,
.pview-rsm-container-Body .lang-skill-score #skill-score {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.pview-rsm-container-Body .lang-skill-score #skill-score {
  margin-top: 5px;
}

.pview-rsm-container-Body #attach-zone ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.pview-rsm-container-Body #attach-zone ul li {
  width: auto;
  padding: 0;
}

.pview-rsm-container-Body #attach-zone ul li button {
  background: #eaedf0;
  border-radius: 40px;
  font-size: var(--font12);
  padding: 4px 7px;
  text-overflow: unset;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pview-rsm-container-Body #attach-zone ul li button i {
  font-size: var(--font12);
}

.pview-rsm-container-Body #attach-zone ul li button.disable-chat {
  background: #eaedf0 !important;
  border: 1px solid #eaedf0;
  color: #999 !important;
}

.pview-rsm-container-Body #attach-zone ul li button i {
  display: block;
  width: 14px;
  height: 14px;
  background-size: cover;
}

.pview-rsm-container-Body #attach-zone ul li button .icon-vdo {
  filter: brightness(0) saturate(100%) invert(20%) sepia(11%) saturate(10%)
    hue-rotate(1deg) brightness(93%) contrast(96%);
}

.pview-rsm-container-Body #attach-zone ul li button .icon-vdo,
.pview-rsm-container-Body ul li button.disable-chat .icon-vdo {
  background-image: url(../images/icon_vdo_cam.svg);
}

.pview-rsm-container-Body #attach-zone ul li button.disable-chat .icon-vdo {
  filter: brightness(0) saturate(100%) invert(64%) sepia(6%) saturate(11%)
    hue-rotate(335deg) brightness(94%) contrast(91%);
}

.pview-rsm-container-Body #attach-zone ul li button .icon-file {
  filter: brightness(0) saturate(100%) invert(20%) sepia(11%) saturate(10%)
    hue-rotate(1deg) brightness(93%) contrast(96%);
}

.pview-rsm-container-Body #attach-zone ul li button .icon-file,
.pview-rsm-container-Body ul li button.disable-chat .icon-file {
  background-image: url(../images/icon_file.svg);
}

.pview-rsm-container-Body #attach-zone ul li button.disable-chat .icon-file {
  filter: brightness(0) saturate(100%) invert(64%) sepia(6%) saturate(11%)
    hue-rotate(335deg) brightness(94%) contrast(91%);
}

.pview-rsm-container-Body #attach-zone ul li button .icon-cert {
  filter: brightness(0) saturate(100%) invert(20%) sepia(11%) saturate(10%)
    hue-rotate(1deg) brightness(93%) contrast(96%);
}

.pview-rsm-container-Body #attach-zone ul li button .icon-cert,
.pview-rsm-container-Body ul li button.disable-chat .icon-cert {
  background-image: url(../images/icon_certification.svg);
}

.pview-rsm-container-Body #attach-zone ul li button.disable-chat .icon-cert {
  filter: brightness(0) saturate(100%) invert(64%) sepia(6%) saturate(11%)
    hue-rotate(335deg) brightness(94%) contrast(91%);
}

/*css มุมมอง ผู้ประกอบการ}*/
.pview-rsm-container.employer-view {
  width: 1280px;
}

.pview-rsm-container.employer-view .sec-header {
  font-size: var(--font22);
}

.pview-rsm-container.employer-view.flex-column.justify-content-center {
  flex-direction: row-reverse !important;
  justify-content: space-between !important;
  gap: 3.2rem;
}

/* .pview-rsm-container.employer-view .pview-rsm-container-Body {
  max-width: 860px;
} */

.employer-view #pview-rsm-container-Header {
  flex-direction: column;
}

.employer-view #pview-rsm-container-Header h1 {
  font-size: var(--font22);
}

.employer-view-menu {
  width: 100%;
  height: 530px;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 2px 4px 40px rgba(154, 170, 207, 20%);
}

.employer-view-menu.justify-content-between {
  justify-content: flex-start !important;
}

.employer-view-menu .resume-progress .font-default {
  font-size: var(--font14);
}

.employer-view-menu .mng-button-resume {
  text-align: left;
}

.employer-view-menu .mng-button-resume ul {
  flex-direction: column;
  gap: 12px;
}

.employer-view-menu .mng-button-resume ul li a {
  border: none;
  padding-inline: 0;
  justify-content: start;
  gap: 12px;
}

.employer-view-menu .mng-button-resume ul li a .font-detail {
  font-size: var(--font16);
}

.employer-view-menu .mng-button-resume ul li a img {
  width: 20px;
  height: 20px;
}

#hidden-badge {
  width: 388px;
  border-radius: 8px;
  padding-block: 8px;
  box-shadow: 2px 4px 40px rgba(154, 170, 207, 20%);
  background-image: linear-gradient(to right, #ff1111, #d00000);
}

#hidden-badge .inner-badge {
  background-color: #fff;
  padding: 12px;
}

#hidden-badge .inner-badge a {
  color: #333;
}

.swap-flexcol {
  flex-direction: column;
}

.gap7-to-5 {
  gap: 3.2rem;
}

.handicapped {
  margin-left: 5px;
}

.handicapped img {
  max-width: 30px;
}

.icon-data {
  width: 25px;
}

.icon-data-last {
  width: 27px;
}

@media (max-width: 1280px) {
  .pview-rsm-container.employer-view {
    width: 860px;
  }

  .pview-rsm-container.employer-view.flex-column.justify-content-center {
    flex-direction: column !important;
  }

  .employer-view-menu {
    width: 100%;
  }

  #hidden-badge {
    width: 100%;
  }

  .swap-flexcol {
    flex-direction: column-reverse;
  }

  .gap7-to-5 {
    gap: 2rem;
  }
}

@media (max-width: 899px) {
  .pview-rsm-container,
  .pview-rsm-container.employer-view {
    width: 100%;
  }
}

@media (max-width: 859px) {
  .pview-rsm-container-Body {
    zoom: 0.9;
    transition: transform 0.4s;
    height: auto;
    min-height: 1216px;
  }

  .resume-progress-bar {
    width: 80%;
  }

  .grop-seeker {
    grid-template-columns: 1.5fr 2fr;
  }

  .head-select-resume {
    align-items: center;
  }
}

@media (max-width: 825px) {
  .mng-button-resume {
    display: none !important;
  }

  .employer-view-menu .mng-button-resume {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  #pview-rsm-container-Header h1 {
    font-size: var(--font22);
  }

  .sticky-menu-resume.mng-button-resume {
    display: block !important;
  }

  .sticky-menu-resume {
    position: sticky;
    bottom: 0;
    overflow: hidden;
    padding: 12px 15px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 25%);
    background-color: #fafbfd;
  }

  .sticky-menu-resume ul {
    display: grid;
    grid-template-columns: 0.8fr 0.45fr 0.8fr;
    gap: 10px;
  }

  .pview-rsm-container.employer-view.flex-column.justify-content-center {
    gap: 2rem;
  }

  .employer-view-menu .fa-angle-left {
    display: none !important;
  }

  .resume-progress-bar {
    width: 80%;
  }

  .grop-seeker {
    grid-template-columns: 1.5fr 1fr;
  }

  .head-select-resume {
    align-items: center;
  }
}

@media (max-width: 625px) {
  .pview-rsm-container-Body {
    zoom: 0.75;
    transition: transform 0.4s;
  }
}

@media (max-width: 550px) {
  .pview-rsm-container-Body {
    zoom: 0.6;
    transition: transform 0.4s;
  }
}

@media (max-width: 480px) {
  .pview-rsm-container-Body {
    zoom: 0.5;
    transition: transform 0.4s;
  }

  .employer-view-menu .resume-progress-bar {
    min-width: fit-content;
  }

  .is-header-ios {
    font-size: 16px !important;
  }

  .is-ios {
    font-size: 12px !important;
  }

  .data-member-detail {
    align-items: center;
  }

  .grop-seeker {
    grid-template-columns: auto;
  }

  .head-select-resume {
    align-items: center;
    justify-content: start;
  }

  #profile-pic-and-contact {
    height: auto;
  }

  .exp-grid.is-ios {
    grid-template-columns: 1fr 1fr !important;
  }

  .pview-rsm-container-Body .lang-skill ul {
    gap: 5px;
    font-size: 1.2rem !important;
  }

  .click_to_postjob, .btnNoLogin {
    font-size: var(--font16) !important;
  }

  .icon-data {
    width: 25px;
  }

  .icon-data-last {
    width: 27px;
  }
}

@media (min-width: 352x) {
  .resume-progress-bar {
    min-width: 100% !important;
  }

  .is-header-ios {
    font-size: 16px !important;
  }

  .is-ios {
    font-size: 12px !important;
  }

  .data-member-detail {
    align-items: center;
  }

  .grop-seeker {
    grid-template-columns: auto;
  }

  .head-select-resume {
    align-items: center;
    justify-content: start;
  }

  #profile-pic-and-contact {
    height: auto;
  }

  .exp-grid.is-ios {
    grid-template-columns: 1fr 1fr !important;
  }

  .pview-rsm-container-Body .lang-skill ul {
    gap: 5px;
    font-size: 1.2rem !important;
  }

  .click_to_postjob, .btnNoLogin {
    font-size: var(--font16) !important;
  }

  .icon-data {
    width: 25px;
  }

  .icon-data-last {
    width: 27px;
  }
}