/*!
* Version: 5.2.3
* Template: SocialV - Responsive Bootstrap 5 Admin Dashboard Template
* Author: iqonic.design
* Design and Developed by: iqonic.design
* NOTE: This file contains the styling for responsive Template.
*
*/
.offcanvas.live-customizer {
  border: 0;
}

.offcanvas.live-customizer .btn.btn-border {
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}

.offcanvas.live-customizer .btn.btn-border:hover {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.offcanvas.live-customizer .btn.btn-border:active {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.offcanvas.live-customizer .btn-check:active + .btn.btn-border,
.offcanvas.live-customizer .btn-check:checked + .btn.btn-border,
.offcanvas.live-customizer .btn.btn-border.active,
.offcanvas.live-customizer .btn.btn-border:active {
  color: var(--bs-white);
  border-color: var(--bs-primary);
}

.offcanvas.live-customizer .btn-check:active + .btn.btn-border.bg-transparent,
.offcanvas.live-customizer .btn-check:checked + .btn.btn-border.bg-transparent,
.offcanvas.live-customizer .btn.btn-border.active.bg-transparent,
.offcanvas.live-customizer .btn.btn-border:active.bg-transparent {
  color: var(--bs-primary);
}

@media (min-width: 768px) {
  .offcanvas.live-customizer {
    width: 450px;
  }

  .theme-fs-lg .offcanvas.live-customizer {
    width: 500px;
  }
}

@media (min-width: 768px) {
  .live-customizer {
    width: 450px;
  }

  .theme-fs-lg .live-customizer {
    width: 500px;
  }
}

.notification .content-inner {
  padding-top: 1.5rem;
}

.create-post-data ul li {
  line-height: 0;
}

.right-sidebar-close .content-inner {
  margin-right: 0 !important;
  transition: all 0.3s ease-in;
}

.social-connect-card .card-body {
  border-radius: 0.5rem;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 991px) {
  .social-connect-card .card-body {
    top: 20%;
  }
}

@media (max-width: 768px) {
  .social-connect-card .card-body {
    top: 5%;
  }
}

@media (max-width: 991px) {
  .social-connect-card .card-body p {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .social-connect-card .card-body p {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
}

.social-connect-card .card-body img {
  height: 40px;
}

@media (max-width: 768px) {
  .social-connect-card .card-body img {
    height: 35px;
  }
}

.social-connect-card .card-body .btn {
  border-radius: 0.2rem;
  transition: all 0.3s ease;
  background-color: var(--bs-white);
  color: var(--bs-black);
}

@media (max-width: 991px) {
  .social-connect-card .card-body .btn {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .social-connect-card .card-body .btn {
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  .fixed-suggestion {
    position: sticky;
    top: 80px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: capitalize;
}

.font-size-10 {
  font-size: 0.625rem;
}

.font-size-12 {
  font-size: 0.75rem;
}

.font-size-14 {
  font-size: 0.875rem;
}

.font-size-16 {
  font-size: 1rem;
}

.font-size-18 {
  font-size: 1.125rem;
}

.font-size-20 {
  font-size: 1.25rem;
}

.font-size-24 {
  font-size: 1.5rem !important;
}

.font-size-21 {
  font-size: 1.313rem;
}

.font-size-30 {
  font-size: 1.875rem;
}

.fw-500 {
  font-weight: 500;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

.letter-spacing-3 {
  letter-spacing: 3px;
}

.letter-spacing-4 {
  letter-spacing: 4px;
}

.cursor-pointer {
  cursor: pointer;
}

.auto-vh-100 {
  height: 100vh;
}

.iq-error-img {
  margin-left: auto;
  margin-right: auto;
  width: 70%;
}

.img-light {
  display: block;
}

.img-dark {
  display: none;
}

@media (max-width: 991px) {
  .auto-vh-100 {
    height: auto;
  }
}

@media (min-width: 1551px) and (max-width: 1800px) {
  .content-inner {
    padding-right: 3rem !important;
  }

  .custom-chat-spacing .content-inner {
    padding-right: 0 !important;
  }

  .right-sidebar-close .content-inner {
    padding-right: 0.5rem !important;
  }
}

[dir="rtl"] .breadcrumb-item:not(.active):before {
  padding-right: var(--bs-breadcrumb-item-padding-x);
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  padding-right: var(--bs-breadcrumb-item-padding-x);
}

[data-bs-theme="light"] .custom-text-dark:hover {
  color: #fff !important;
}

.list-group-item-action:focus,
[data-bs-theme="dark"] .list-group-item-action:hover {
  background-color: transparent;
  color: #fff;
}

.text-inherit {
  color: inherit;
}

/* Common */
/* Button */
.but-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 50%;
  margin: 0 auto;
}

.button-xs {
  background-color: #f5f5f5;
  border: 1px solid #f0f0f0;
  padding: 2px 5px;
  border-radius: 5px;
}

/* Input */
.form-label {
  color: #333333 !important;
}

[data-bs-theme="dark"] .form-label {
  color: #ffffff !important;
}

input {
  color: #000000 !important;
}

[data-bs-theme="dark"] input {
  color: #ffffff !important;
}

input::placeholder {
  color: #a0a0a0 !important;
}

[data-bs-theme="dark"] input::placeholder {
  color: #b0b3b8 !important;
}

textarea::placeholder {
  color: #808080 !important;
}

[data-bs-theme="dark"] textarea::placeholder {
  color: #b0b3b8 !important;
}

/* 메인 - 키비쥬얼 */
.main-keyvisual-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.main-keyvisual-text h2 {
  color: #fff;
  z-index: 1;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}

.main-keyvisual-text p {
  color: #fff;
  z-index: 1;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .main-keyvisual-text h2 {
    font-size: 2rem;
    line-height: 1;
  }

  .main-keyvisual-text p {
    font-size: 1.2rem;
    line-height: 1;
  }
}

/* 메인 - 랭킹 */
.aptrank {
  padding: 20px 10px;
  cursor: pointer;
}

.aptrank .aptrank-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.aptrank .aptrank-header img {
  height: 20px;
  margin-right: 10px;
}

.aptrank .aptrank-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.aptrank .aptrank-img {
  text-align: center;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #f8f8f8;
}

.aptrank .aptrank-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 1;
  display: block;
}

.aptrank-point ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-top: 10px;
}

.aptrank-point-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aptrank-point .graph {
  background-color: #eee;
  height: 7px;
  border-radius: 7px;
  position: relative;
  width: 100%;
}

.aptrank-point .graph .bar {
  background-color: #e74c3c;
  height: 100%;
  border-radius: 7px;
}

.aptrank-point2 {
  align-items: center;
}

.aptrank-point2 .item1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.aptrank-point2 .star-box {
  display: flex;
  font-size: 1.2rem;
}

.aptrank-point2 .item1 i {
  color: #e74c3c;
}

.aptrank-point2 .item1 span {
  font-size: 1.2rem;
  color: #333333;
  font-weight: 700;
}

.aptrank-point2 .item2 {
  text-align: left;
}

.aptrank-point2 .item3 ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-top: 0;
}

.aptrank-point2 .item3 ul li {
  white-space: nowrap;
  max-width: 98%;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 아파트랭킹 커뮤니티 시설 리뉴 - 최근게시글 */
.aptrank-review {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: start;
}

.aptrank-review .box {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem 0.2rem 0;
}

.aptrank-review .box span {
  color: gray;
  padding: 0 0.3rem;
  border-radius: 0.25rem;
  border: 1px solid lightgray;
}

.aptrank-reply h6 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 14px;
}

.review-image {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 3px;
}

/* main.php : 우리아파트 이야기 */
#pills-tabContent-1 .card-body {
  padding: 10px 0 10px 0 !important;
}

#pills-tabContent-1 .weapt img {
  height: 150px;
  object-fit: cover;
}

@media (max-width: 768px) {
  #pills-tabContent-1 .weapt img {
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }
}

/* Footer */
@media (max-width: 768px) {
  .mobile-fixed-menu {
    display: flex;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1050;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ececec;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
    justify-content: space-around;
    align-items: center;
    padding: 13px 0;
  }

  .mobile-fixed-menu a {
    flex: 1 1 0;
    text-align: center;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: color 0.16s;
    font-weight: 500;
  }

  .mobile-fixed-menu a .menu-icon {
    font-size: 30px;
    margin-bottom: 1px;
    display: block;
    line-height: 1;
  }

  .mobile-fixed-menu a.active,
  .mobile-fixed-menu a:active,
  .mobile-fixed-menu a:focus {
    color: #e8b92a;
  }

  body {
    padding-bottom: 60px !important;
  }
}

@media (min-width: 769px) {
  .mobile-fixed-menu {
    display: none !important;
  }
}

.pc-floating-menu {
  position: fixed;
  right: 25px;
  bottom: 55px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pc-floating-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  box-shadow: 0 2px 17px rgba(52, 58, 64, 0.13);
  border: none;
  font-size: 11px;
  transition:
    box-shadow 0.16s,
    color 0.16s,
    background 0.16s;
  text-align: center;
  padding: 0;
  text-decoration: none;
  line-height: 13px;
  color: #333333;
}

.pc-floating-menu a:hover,
.pc-floating-menu a:focus {
  background: #ffe9a6;
  color: #e8b92a;
  box-shadow: 0 4px 20px rgba(232, 185, 42, 0.15);
  text-decoration: none;
  outline: none;
}

.pc-floating-menu i {
  font-size: 25px;
  display: block;
  margin-bottom: 0;
  color: #333333;
}

.pc-floating-menu .menu-label {
  font-size: 12px;
  margin-top: 2px;
  display: block;
  white-space: nowrap;
  line-height: 1.15;
}

/* 커뮤니티 페이지 헤더 */
.commu-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 10px 0;
}

.commu-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.commu-header-title {
  flex: 1;
}

.commu-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
  font-size: 1.1rem;
}

.commu-breadcrumb .active {
  font-weight: 700;
}

.commu-breadcrumb-item + .commu-breadcrumb-item::before {
  display: inline-block;
  padding: 0 0.5rem;
  content: "/";
  color: var(--bs-secondary-color);
}

.commu-breadcrumb-item .commu-share-link {
  color: var(--bs-body-color);
  text-decoration: none;
}

.commu-breadcrumb-item a:hover {
  text-decoration: underline;
}

.commu-header-title h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-body-color);
}

.commu-share-wrap {
  padding-right: 20px;
}

.commu-share-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--bs-body-color);
}

.commu-share-link img {
  max-height: 25px;
  display: block;
  margin: 0 auto;
}

.commu-share-label {
  margin-bottom: 0;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}
