#loading-overlay {
  align-items: center;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  /* background-color: rgba(255, 255, 255, 0.8); */
  z-index: 999;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

img {
  width: 100%;
}

.gallery {
  position: relative;
}

#main-content.gallery {
  background-color: #0e281d;
  padding-top: 16px;
}

.gallery .discussion-section-2-wrapper .slick-track,
.gallery .other-projects-list .slick-track {
  margin-right: -12px;
}

.gallery .discussion-section-2-wrapper .slick-slide,
.gallery .other-projects-list .slick-slide {
  margin-right: 12px;
}

.gallery .other-projects {
  margin-left: 16px;
}

.gallery .gallery-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background: #0b4628;
  border-radius: 24px;
  padding-top: 16px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 24px;
}

.gallery .header-title {
  font-weight: 600;
  font-size: 32px;
  color: orange;
  margin-top: 16px;
  margin-bottom: 12px;
}

.gallery .header-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.01em;
  color: #f2f2f2;
}

.stationary-section-2 {
  margin-top: 16px;
  margin-bottom: 64px;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.stationary-section-2-wrapper {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.section-2-filter,
.section-2-sort,
.section-2-job {
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  color: #f2f2f2;
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  background-color: #0b4628;
  cursor: pointer;
}

.gallery-section-2-pagination {
  width: 195px;
  max-width: 195px;
  color: white;
  height: fit-content;
  min-width: max-content;
  transition: 0.2s;
  border: 1px solid #00642d;
  margin-left: auto;
  mask-image: linear-gradient(
    transparent,
    black 20%,
    black 80%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent 100%
  );
}
.gallery-bottom-pagination .gallery-section-2-pagination {
  margin-right: auto;
  margin-left: 0;
}
.gallery-section-2-pagination .gallery-section-2-gallery-wrapper {
  /* display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; */
  background-color: #0b4628;
}
.gallery-section-2-pagination
  .gallery-section-2-gallery-wrapper
  .slick-list.draggable {
  max-width: 195px;
}
.gallery-section-2-pagination .gallery-section-2-gallery-wrapper .index {
  width: 29px;
  text-align: center;
  padding: 4px;
  margin: 2px;
  border-radius: 8px;
  cursor: pointer;
}
/* .gallery-section-2-pagination .gallery-section-2-gallery-wrapper .current {
  background-color: #00642d !important;
} */

.gallery-section-2-pagination .slick-active.slick-center .index {
  background-color: #00642d !important;
}

.gallery-bottom-pagination {
  display: flex;
  flex-direction: row-reverse;
}
.gallery .next-prev-button {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.gallery .next-prev-button p {
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  color: #f2f2f2;
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  background-color: #0b4628;
  cursor: pointer;
}

.gallery .next-prev-button .prev-pagination {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  width: 40px;
}

.gallery .next-prev-button p .arrow-left {
  border: solid white;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.gallery .gallery-list {
  display: flex;
  flex-direction: row;
  margin: 16px 5px;
}
.gallery .gallery-list p {
  margin: 0;
}

.gallery .gallery-list svg {
  width: 14px;
  height: 14px;
}

.gallery .list-filter,
.gallery .list-order {
  color: #ffff;
  display: flex;
  flex-direction: row;
  padding: 12px;
  background: #0b4628;
  border-radius: 24px;
}

.gallery .list-order {
  margin-left: 12px;
}

.gallery .gallery-items {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-around;
}

.gallery .gallery-item {
  position: relative;
  text-decoration: none;
  width: 45%;
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  cursor: pointer;
}

.gallery .item-img {
  width: 100%;
}

.gallery img.item-img {
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery p.item-text {
  color: #f2f2f2;
  margin-top: 15px;
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.gallery .post-status .inner-status {
  border-top-right-radius: 19px;
}

.gallery .detail-header-img {
  width: 100%;
  border-radius: 24px 24px 0px 0px;
}

.gallery .detail-footer-img {
  width: 100%;
  margin-top: 8px;
  border-radius: 0 0 24px 24px;
}

.gallery .detail-img {
  width: 100%;
  margin-top: 8px;
}

.gallery img.detail-img,
.gallery img.detail-header-img {
  width: 100%;
}

.gallery .text-area {
  padding: 0px 16px 16px;
}

.gallery p.main-title {
  font-size: 32px;
  font-weight: 600;
}

.gallery .text-title {
  font-size: 16px;
  font-weight: 600;
}

.gallery .row-img {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 8px;
}

.gallery .row-img img {
  max-width: 260px;
}

.gallery .more-button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

button.more-button {
  width: 103px;
  height: 40px;
  padding: 12px 16px;
  background: #00642d;
  border-radius: 24px;
  border: 1px solid #00642d;
  color: #f2f2f2;
  cursor: pointer;
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 16px;
  letter-spacing: 0.01em;
}

.section-2-sort {
  position: relative;
}

.section-2-sort .sort-menu-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  opacity: 0;
  transition: 0.4s;
  z-index: 0;
  pointer-events: none;
  background-color: #d3d3d3;
  border-radius: 24px;
}

.section-2-sort .title-sort {
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  color: #f2f2f2;
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  color: #0b4628;
  cursor: pointer;
  background-color: #d3d3d3;
}

.section-2-sort .sort-menu {
  background-color: #d3d3d3;
  padding: 6px 12px;
  border-radius: 24px;
  margin-top: 0px;
}

.section-2-sort .filter-menu-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: 0.4s;
}

.section-2-sort .first-line {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 6px;
  padding-right: 20px;
  color: #00642d;
  font-weight: 600;
}

.section-2-sort .filter-menu {
  background-color: #d3d3d3;
  display: flex;
  gap: 24px;
}

.section-2-sort .filter-menu-container {
  background-color: #d3d3d3;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
}

.section-2-sort:hover .sort-menu-wrapper,
.section-2-sort .sort-menu-wrapper:hover {
  z-index: 2;
  opacity: 1;
  transition: 0.4s;
  pointer-events: all;
}

.section-2-sort:hover .filter-menu-wrapper,
.section-2-sort:hover .filter-menu-wrapper:hover {
  z-index: 2;
  opacity: 1;
  transition: 0.4s;
  pointer-events: all;
}

.section-2-sort .menu-col-1-row-2 {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #00642d;
  width: 85%;
}

.section-2-sort .filter-menu p {
  margin: 12px 0;
  color: #00642d;
  cursor: pointer;
}

.section-2-sort .sort-menu a {
  text-decoration: none;
  color: #00642d;
}

.section-2-sort .sort-menu p {
  margin: 12px 0;
  cursor: pointer;
}

.section-2-sort .menu-col-label {
  color: #acacac !important;
  text-transform: uppercase;
  cursor: default !important;
}

.gallery .gallery-bottom {
  margin-top: 20px;
}

.gallery .other-projects-list {
  padding-left: 0px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  overflow-x: auto;
  overflow: hidden;
}

.gallery .other-project-selling-item {
  margin-right: 30px;
}

@media (max-width: 1200px) {
}

@media (max-width: 768px) {
  .gallery p.item-text {
    margin-top: 4px;
  }
}

@media (max-width: 450px) {
  .gallery .section-2-sort .filter-menu {
    display: flex;
    flex-direction: column;
    width: 240px;
  }
  #main-content.gallery {
    margin-top: 40px;
  }
}

.card-skeleton {
  margin-bottom: 12px;
  position: relative;
  text-decoration: none;
  width: 45%;
  animation: shimmer 1.5s infinite;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    rgba(15, 82, 45, 1) 25%,
    rgba(5, 72, 35, 1) 50%,
    rgba(15, 82, 45, 1) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-text {
  width: 90%;
  height: 14px;
  margin: 10px 0;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    rgba(15, 82, 45, 1) 25%,
    rgba(5, 72, 35, 1) 50%,
    rgba(15, 82, 45, 1) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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