/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Description: Child theme for Twenty Twenty-Five
Author: HADA365
Version: 1.0
*/
/* tmeplate img wrap */

a[href^="tel:"] {
  pointer-events: auto;
  text-decoration: underline;
}

.full-with-img {
  min-height: 100vh;
}
.full-with-img img {
  background-size: contain;
  width: 100%;
  height: auto;
}

* {
  box-sizing: border-box;
  font-size: 14px;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

header {
  position: sticky !important;
  top: 0;
  background: #fff;
}

footer {
  position: sticky;
  bottom: 0;
  background: #fff;
}
body > .elementor {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  overflow-x: hidden;
}
header .fa-user-circle {
  font-size: 24px;
}
/* ============================ */
/* 로그인, 회원가입 폼 */
#user-type-selector {
  display: flex;
  align-items: center;
  gap: 4px;
}
#user-type-selector button {
  width: 110px;
  border-radius: 8px;
  border: 1px solid #dfdfdf;
  padding: 10px 0;
}
#user-type-selector button.selected {
  background: #1e3d6b;
  font-weight: bold;
  color: #fff;
}
#custom-login-form input:not([type="checkbox"]),
#registration-form-container input:not([type="checkbox"]),
#registration-form-container select {
  padding: 15px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #12121d1a;
  margin-bottom: 10px;
}
.submit-btn-wrap {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
#custom-login-form button[type="submit"],
#registration-form-container button[type="submit"] {
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 16px 50px;
  border-radius: 10em;
  background: #1e3d6b;
}
.password-info {
  margin: 0;
  font-size: 11px;
  color: #12121d4d;
}
/* ============================ */

/* ============================ */
/* 홈 화면 페이지 헤더 */
.page-header-title > p {
  margin: 0;
  font-weight: bold;
  font-size: 28px;
  line-height: 32px;
  color: #12121d;
}
.login-user-info .font-20 {
  font-size: 20px;
}
.login-user-info a {
  font-size: 12px;
  color: #00d3e0;
  margin-left: 10px;
}
.page-header-title .page-info {
  display: flex;
  align-items: center;
}
.page-header-title .page-info span + span {
  margin-left: 10px;
  color: #12121d4d;
}
/* ============================ */
/* 홈 화면 게시글 */
.category-posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-post-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-post-item .post-thumbnail {
  width: 88px;
  height: 88px;
  border-radius: 15px;
  overflow: hidden;
}
.empty-img {
  width: 100%;
  height: 100%;
  background: #dfdfdf;
}
.small-posts-wrap .post-thumbnail {
  width: 41px;
  height: 41px;
  border-radius: 5em;
}
.category-post-item h3 {
  font-size: 15px;
  font-weight: bold;
}
.category-post-content {
  flex: 1;
}
.category-post-more {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}
.small-posts-wrap .category-post-more {
  padding: 2px 18px;
  background: #ededed;
  border-radius: 15px;
  font-size: 12px;
  letter-spacing: 0;
}
/* ============================ */
/* 내 위치 찾기 */
#search-form-container {
  display: flex;
  flex-direction: column;
}
#find-location-button {
  width: 100%;
  appearance: none;
  padding: 15px 10px;
  border: none;
  background: #fff;

  text-align: left;
  font-size: 15px;
  font-weight: bold;
  color: #000;
}
#search-keyword {
  width: 100%;
  border: none;
  padding: 15px 10px;
  font-size: 15px;
  font-weight: bold;
  color: #000;
}
#search-keyword::placeholder {
  font-size: 14px;
  color: #000;
}
#search-form-container hr {
  border: none;
  border-bottom: 1px solid #dfdfdf;
}
#search-job-form hr {
  margin-bottom: 20px;
}
.btn-location-submit {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 15px;
  background: #2a3961;
  text-align: center;
  font-size: 15px;
  color: #fff;
}
.category-buttons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  overflow: auto;
  margin-bottom: 10px;
}
.category-button {
  flex: 1;
  background: #fff;
  padding: 10px 5px;
  border-radius: 8px;
  border: 2px solid #b5b5b5;

  color: #b5b5b5;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}
.category-button.active {
  background: #2a3961 !important;
  border-color: #2a3961;
  color: #FFF;
}
.category-list {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: auto;
  margin-bottom: 10px;
  padding: 0 10px;
  border-bottom: 1px solid #dfdfdf;
}
.category-list button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;

  white-space: nowrap;
  font-size: 12px;
  padding: 10px 0;
  min-width: 80px;
  border: none;
  background: none;
}
.category-list button i {
  font-size: 18px;
}
.category-btn.active {
  border-bottom: 2px solid #0073aa; /* 강조 배경색 */
  color: #0073aa; /* 강조 텍스트 색 */
  font-weight: bold;
}

.map-location {
  padding-bottom: 10px;
  border-bottom: 1px solid #dfdfdf;
}
/* 카테고리 */
.row-image-wrap > div {
  flex-wrap: nowrap !important;
}
.row-image-wrap > div > div {
  flex: 1;
  gap: 13px;
}
.row-image-wrap img {
  width: 70px;
  height: 66px !important;
}
.section-title > div {
  flex-wrap: nowrap !important;
}
/* 추천 특수검진 아이템 */
.post-item-wrap > div {
  flex-wrap: nowrap !important;
}
.post-item-wrap > div > div {
  flex: 1;
}
.post-item-wrap > div > div.width-65 {
  max-width: 65px;
}
.post-item-wrap > div > div.width-100 {
  max-width: 100px;
}
.post-item-wrap .post-item-info .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-item-wrap .post-item-info p {
  margin: 0;
}
.post-item-wrap .post-item-info .title {
  font-weight: bold;
  font-size: 15px;
}
.post-item-wrap .post-item-info .category {
  font-weight: bold;
  font-size: 12px;
  margin-top: 6px;
}
.post-item-wrap .post-item-info .address {
  font-size: 11px;
  color: #12121d4d;
}
.post-item-wrap .post-item-info > a {
  font-size: 12px;
  padding: 2px 18px;
  border-radius: 15px;
  background: #ededed;
}
/* ============================ */
/* 지도 */
#map {
  height: 50vh;
}
/* 지도 컨트롤 버튼 스타일 */
.map-control-button {
  z-index: 999;
  position: absolute;
  top: 10px;
  right: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.map-control-button:hover {
  background: #0056b3;
}

/* 슬라이드 메뉴 스타일 */
#location-list-container {
  height: 50vh;
  display: none;
  width: 100%;
  background: white;
  z-index: 100;
  overflow-y: auto;
}

#location-list-container.visible {
  display: block;
}

/* 리스트 헤더 스타일 */
#location-list-header {
  position: sticky;
  top: 0;
  background: #f9f9f9;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#location-list {
  padding: 0 15px 50px;
  overflow: auto;
  background: #f9f9f9;
}
#distance-filter,
#region-filter,
#category-filter {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
#toggle-map-list {
  position: absolute;
  z-index: 1000;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
#toggle-map-list button {
  padding: 12px 20px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #afafaf;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);

  font-size: 14px;
  font-weight: bold;
}
.dropdown-container {
  position: absolute;
  right: 0;
  top: 35px;
  z-index: 1000;
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 리스트 아이템 스타일 */
.location-item {
  padding: 5px 10px;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.location-item + .location-item {
  margin-top: 10px;
}
.location-item .title {
  font-size: 16px;
  font-weight: bold;
}
.location-item .address {
  font-size: 14px;
}
.location-item:hover {
  background: #f9f9f9;
}
.leaflet-popup-content {
  width: 150px !important;
}

.category-btn-group {
  margin-right: 10px;
}

.category-btn-group button {
  background: #2a3961;
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
}

/* ============================ */
/* 스토어 페이지 */
#store-header > div {
  flex-wrap: nowrap;
  align-items: center;
  padding: 25px;
}
.store-product-slider .image-wrap {
  width: 345px;
  height: 345px;
  border-radius: 15px;
}
.product-categories-wrap {
  overflow: auto;
  width: 100%;
}
.product-categories {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}
.product-categories div {
  flex: 1;
  min-width: 72px;
}
.product-category-item {
  text-align: center;
}
.product-category-item h3 {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 13px;
  font-weight: bold;
  color: #12121d;
}
.product-category-item span {
  font-size: 11px;
  color: #12121d4d;
}
.store-recommend-product .image-wrap {
  width: 150px;
  height: 150px;
  border-radius: 15px;
}
.store-rank-product .eael-product-wrap {
  align-items: center;
}
.store-rank-product .eael-product-wrap del {
  display: none;
}
.store-rank-product .product-image-wrap {
  width: 88px !important;
  height: 88px !important;
  border-radius: 15px;
}
.store-rank-product .product-details-wrap {
  padding: 15px !important;
}
.store-rank-product .icons-wrap {
  display: none;
}

/* 검색 인풋 */
.aws-container {
  border-radius: 100px;
  background-color: #2020300d;
  border: none;
  overflow: hidden;
}

.aws-container input,
.aws-search-btn {
  border: none !important;
  background: #2020300d !important;
}
.aws-container input {
  padding-left: 25px !important;
}
/* ============================ */
/* 채용 페이지 */
.jobsearch-job-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.job-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: #fff;
}
.job-thumbnail {
  width: 88px;
  height: 88px;
  border-radius: 15px;
  background-color: #dfdfdf;
}
.job-thumbnail img {
  width: 100%;
  height: auto;
}
.job-details {
  flex: 1;
}
.job-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}
.job-location,
.job-category {
  font-size: 14px;
  margin: 0;
}
.job-more-btn {
  padding: 8px 12px;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  letter-spacing: 2px;
}

.job-more-btn:hover {
  background: #005177;
}
.show-all-jobs {
  width: 100%;
  border-radius: 15px;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #555555;
  background-color: #dfdfdf;
  padding: 15px;
}
/* 인력사무소 */
.sector-job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sector-job-item .job-thumbnail {
  width: 42px;
  height: 42px;
  border-radius: 25px;
}
.sector-job-item .job-detail {
  flex: 1;
}
.job-title {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
}
.job-location {
  margin: 4px 0;
  font-size: 11px;
  color: #12121d4d;
}
.sector-job-item .job-more-btn {
  font-size: 11px;
  padding: 2px 20px;
  border-radius: 20px;
  background-color: #ededed;
}
/* 많이 찾은 채용 글 */
.popular-job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================ */
/* 마이페이지 */
.mypage-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mypage-wrap div + div {
  border-top: 1px solid #f5f5f5;
}
.mypage-wrap a {
  padding: 20px 10px;
}
#btn-logout a {
  padding: 20px 10px;
}
#mypage-tab-wrap li {
  border-bottom: 1px solid #333;
}
#mypage-tab-wrap li.active {
  background: #fff;
  color: #102967;
  font-weight: bold;
  border-width: 2px;
  border-color: #102967;
}
#user-update-form {
}
#user-update-form .form-group {
  display: flex;
  flex-direction: column;
}

/* 임시 팝업 */
#image-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#image-popup-content {
  position: relative;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  max-width: 90%;
  max-height: 90%;
}
#image-popup-content img {
  max-width: 100%;
  max-height: 100%;
}
#popup-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}
#image-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  padding: 10px 0;
  font-family: Arial, sans-serif;
}

.pagination a {
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #0073aa;
  transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
  background-color: #0073aa;
  color: #fff;
}

.pagination a.current-page {
  background-color: #0073aa;
  color: #fff;
  font-weight: bold;
  cursor: default;
  border-color: #0073aa;
}

.list-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  border: 1px solid #dfdfdf;
  border-radius: 8px;
  padding: 8px;
}

.list-wrap .image-container {
  overflow: hidden;
  border: 1px solid #efefefef;
}
.list-wrap .image-container img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  background: #fff;
}
.list-wrap.small .image-container {
  width: 41px;
  height: 41px;
  border-radius: 25px;
  background: #efefef;
}
.list-wrap.small .item-content {
  flex: 1;
}
.list-wrap.small .post-title {
  font-size: 15px;
  font-weight: bold;
  margin: 0;
}
.list-wrap.small .post-address {
  font-size: 11px;
  color: #12121d4d;
  margin: 0;
}
.list-wrap.small .btn-more a {
  font-size: 11px;
  padding: 2px 18px;
  border-radius: 20px;
  background: #ededed;
}

.list-wrap.normal.type- {
  flex-direction: row !important;
}
.list-wrap.normal {
  flex-direction: row-reverse;
}
.list-wrap.normal .image-container {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: #efefef;
}
.list-wrap.normal .item-content {
  flex: 1;
}
.list-wrap.normal .post-title {
  font-size: 15px;
  margin: 0;
}
.list-wrap.normal .post-address {
  font-size: 11px;
  color: #12121d4d;
  margin: 0;
}
.list-wrap.normal .post-category {
  font-size: 12px;
  font-weight: bold;
  margin: 0;
}
.list-wrap.normal .btn-more a {
  font-size: 11px;
  padding: 2px 18px;
  border-radius: 20px;
  background: #ededed;
}

.gallery-list-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.list-wrap.gallery {
  flex-direction: column;
  align-items: flex-start !important;
}
.list-wrap.gallery .image-container {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  background: #efefef;
}
.list-wrap.gallery .item-content {
  flex: 1;
  text-align: left;
}
.list-wrap.gallery .post-title {
  font-size: 15px;
  margin: 0;
}
.list-wrap.gallery .post-address {
  font-size: 11px;
  color: #12121d4d;
  margin: 0;
}
.list-wrap.gallery .post-category {
  font-size: 12px;
  font-weight: bold;
  margin: 0;
}

.search-wrap {
  display: flex;
  align-items: center;
}
#search-keyword-input {
  flex: 4;
  border: none;
  padding: 5px 20px;
  height: 30px;
}
#search-keyword-submit {
  flex: 1;
  border: none;
  background: #0073aa;
  color: #fff;
  height: 30px;
}

.jobsearch-jobdetail-list .jobsearch-jobdetail-listthumb img {
  object-fit: contain !important;
  width: 100%;
  height: 100%;
}
