.search-project-archive {
  display: flex;
  align-items: center;
  max-width: 51.5625rem;
  margin: 0 auto 1rem;
  position: relative;
}
.search-project-archive:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 44.75rem;
  height: 100%;
  background: linear-gradient(270deg, #fffce9 0%, #e7ffdf 75.5%);
  border-radius: 0.3125rem 0rem 0rem 0.3125rem;
}
.search-project-archive .col-left {
  border-radius: 0.3125rem 0rem 0rem 0.3125rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 9;
  flex: 1;
  padding-left: 1rem;
}
.search-project-archive .col-left .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-right: 0.85rem;
}
.search-project-archive .col-left .icon:before {
  width: 0.0625rem;
  height: 1.3125rem;
  content: "";
  background: #cecece;
  position: absolute;
  right: 0;
}
.search-project-archive .select-industry {
  position: relative;
  margin-right: 1.5rem;
}
.search-project-archive .input-text {
  margin: 0;
  border: 0;
  background-color: transparent !important;
  box-shadow: none !important;
  height: 2.625rem;
  outline: none !important;
  color: #5b5b5b;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.375rem; /* 157.143% */
  padding: 0 1rem;
}
.search-project-archive .input-text::placeholder {
  color: #5b5b5b;
  opacity: 1;
}
.search-project-archive .industry-text {
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: #5b5b5b;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.375rem; /* 157.143% */
  padding-left: 1rem;
  padding-right: 2rem;
  position: relative;
  cursor: pointer;
  width: 100%;
}
.search-project-archive .industry-text:before {
  width: 0.0625rem;
  height: 1.3125rem;
  content: "";
  background: #cecece;
  position: absolute;
  left: 0;
}
.search-project-archive .industry-results {
  position: absolute;
  z-index: 99;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  min-width: 13.75rem;
  border-radius: var(--10);
  box-shadow: 0.1rem 0.1rem 1rem var(--theme-color2);
  overflow: hidden;
  top: 2.5rem;
}
.search-project-archive .industry-search {
  padding: var(--10);
}
.search-project-archive .industry-search input {
  height: var(--32);
  border-radius: var(--5);
}
.search-project-archive .select-industry.active .industry-results {
  opacity: 1;
  visibility: visible;
}
.search-project-archive .industry-select {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--10);
  max-height: 19.75rem;
  overflow-y: auto;
}
.search-project-archive .industry-select .industry-select__item {
  margin: 0;
  padding: var(--6) var(--10);
  font-size: var(--14);
  cursor: pointer;
}
.search-project-archive .industry-select .industry-select__item.select,
.search-project-archive .industry-select .industry-select__item:hover {
  background: linear-gradient(90deg, #71bf43 0%, #1f8038 100%);
  color: #fff;
}
.search-project-archive .col-right {
  display: flex;
  flex-shrink: 0;
}
#main .search-project-archive .col-right .button-search {
  min-width: 9.3125rem;
  margin: 0;
  height: 2.625rem;
  border-radius: 0rem 0.3125rem 0.3125rem 0rem;
  width: fit-content;
}
#main .row-project-main {
  margin-top: 3.125rem;
}

.row-project-main .tab-project-archive .container {
  margin-bottom: 0;
  border-bottom: 0.0625rem solid #cecece;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  max-width: unset;
}

.row-project-main .tab-project-archive .container:after {
  display: none;
}

.admin-bar .row-project-main .tab-project-archive.fix-tab {
  top: 2rem;
}

.admin-bar .row-project-main .tab-project-archive.fix-tab .container {
  padding: 0 0.9375rem;
}

.row-project-main .tab-project-archive.fix-tab {
  z-index: 9999;
  left: 0;
  background-color: #fff;
  height: 5rem;
}

.tab-project-archive .tab-project button {
  margin: 0;
  font-weight: normal;
  color: #7b7b7b;
  font-size: 1.125rem;
  line-height: 1.375rem;
  padding: 0;
  min-height: auto;
  border: 0;
  position: relative;
}

.tab-project-archive .tab-project button:hover,
.tab-project-archive .tab-project .active button {
  color: var(--theme-color2);
}

.tab-project-archive .tab-project .active button:before {
  content: "";
  width: 100%;
  height: 0.125rem;
  background-color: var(--theme-color2);
  position: absolute;
  bottom: -1.8125rem;
  left: 0;
}

.tab-project-archive .tab-project li {
  margin: 0 1.25rem;
}

.tab-project-archive .select-industry {
  position: relative;
}

.tab-project-archive .select-industry__content {
  z-index: 10;
  position: absolute;
  top: calc(100% + 0.625rem);
  right: 0;
  min-width: 15.625rem;
  background-color: #fff;
  box-shadow: 0 0.1875rem 1.5625rem rgba(0, 0, 0, 0.1);
  display: none;
}

.tab-project-archive .select-industry.show .select-industry__content {
  display: block;
}

.tab-project-archive .select-industry__content ul {
  list-style: none;
  margin: 0;
  padding: 0 1.25rem;
}

.tab-project-archive .select-industry__content ul li {
  margin: 0;
}

.tab-project-archive .select-industry__content ul li:not(:last-child) {
  border-bottom: 0.0625rem solid #e8e8e8;
}

.tab-project-archive .select-industry__content a {
  height: 3.4375rem;
  line-height: 3.4375rem;
  text-align: right;
  color: #2b2b2b;
  cursor: pointer;
  transition: all 0.3s;
  display: block;
  font-size: 1rem;
}

.tab-project-archive .select-industry__content a:hover {
  color: var(--theme-color);
}

.tab-project-archive .select-industry__header {
  display: flex;
  color: #5f5f5f;
  font-size: 1rem;
}

.tab-project-archive .f-label {
  margin-right: 0.625rem;
}

.tab-project-archive .select-industry .f-selected {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.tab-project-archive .select-industry .f-selected.active {
  color: var(--theme-color);
  font-family: var(--semi);
}

.tab-project-archive .select-industry.show .f-selected {
  color: var(--theme-color);
}

.tab-project-archive .select-industry.show .f-selected:after {
  content: "\f0d8";
}

.tab-project-archive .select-industry .f-selected:after {
  content: "\f0d7";
  font-family: var(--fa6);
  font-weight: bold;
  margin-left: 0.25rem;
}

#main .project-element-wrapper .row-isotope-project {
  max-width: unset;
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: var(--30);
}
.project-element-wrapper .project-item .box-text {
  padding: 1.25rem 0 1.25rem;
  display: flex;
  justify-content: space-between;
}
.project-element-wrapper .project-item a {
  cursor: pointer;
}
.project-element-wrapper .project-item .project-name {
  width: 65%;
  flex-shrink: 0;
  margin: 0;
}

.project-element-wrapper .project-item .project-name a {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  margin: 0;
  color: #2b2b2b;
  font-size: 1.125rem;
  font-family: var(--semi);
  line-height: 1.4375rem;
  min-height: var(--50);
}

.project-element-wrapper .project-item .project-name a:hover {
  color: var(--theme-color2);
}

.project-element-wrapper .project-item .tag-project {
  margin: 0;
  padding-top: 0.1875rem;
}

.project-element-wrapper .project-item img {
  transition: all 1s;
}

.project-element-wrapper .project-item .image-cover:hover img {
  transform: scale(1.08);
}

.fix-tab {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Form search */

.search-project-archive .col-right {
  display: flex;
  align-items: center;
}

.search-project-archive .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.search-project-archive .input-text:focus {
  border-color: #61bc3f;
  box-shadow: 0 0 0 1px #61bc3f;
}

/* Dropdown industry */

.search-project-archive .industry-text:after {
  content: "\f107";
  font-family: "FontAwesome";
  margin-left: 10px;
  transition: transform 0.3s;
  color: #61bc3f;
  font-size: var(--12);
  position: absolute;
  right: 1rem;
  margin-top: 3px;
  display: inline-block;
}

.search-project-archive .select-industry.active .industry-text:after {
  transform: rotate(180deg);
}

.search-project-archive .select-industry.active .industry-results {
  display: block;
}

.search-project-archive .industry-search {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.search-project-archive .industry-search input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
  margin: 0;
}

.search-project-archive .industry-select {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-project-archive .industry-select__item {
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-project-archive .industry-select__item:hover {
  background-color: #f5f5f5;
}

/* Button search */
.search-project-archive .button-search {
  padding: 10px 20px;
  background-color: #61bc3f;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-project-archive .button-search:hover {
  background-color: #4ea032;
}

/* Loading */
.loading-projects {
  width: 100%;
  text-align: center;
  padding: 30px;
  font-size: 16px;
  color: #777;
}

/* No results */
.no-results {
  width: 100%;
  text-align: center;
  padding: 30px;
  font-size: 16px;
  color: #777;
  grid-column: span 2;
}

/* Dashboard Pagination */
.dashboard-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.dashboard-pagination .pagination-nav {
  display: flex;
  align-items: center;
}

.dashboard-pagination .pagination-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-family: var(--medi);
  color: var(--theme-color);
  background: #fff;
  border: 0;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  padding: 0;
  min-width: 2rem;
  margin: 0 0.3125rem;
}

.dashboard-pagination .pagination-btn:hover {
  border-color: #61bc3f;
  color: #61bc3f;
}

.dashboard-pagination .pagination-btn.active {
  background: var(--Linear, linear-gradient(180deg, #f1fde9 0%, #b4f2a1 100%));
  border: var(--theme-color);
  border-radius: 0.3125rem;
  color: var(--theme-color);
}

.dashboard-pagination .pagination-prev,
.dashboard-pagination .pagination-next {
  padding: 8px 15px;
}

.dashboard-pagination .pagination-prev svg,
.dashboard-pagination .pagination-next svg {
  margin: 0 4px;
}

.dashboard-pagination .pagination-dots {
  margin: 0 8px;
  color: #666;
}

/* Responsive */

@media (max-width: 767px) {
  .no-results {
    grid-column:span 1
  }
  .search-project-archive {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-project-archive .col-left,
  .search-project-archive .col-right {
    width: 100%;
    margin-right: 0;
  }
  #main .search-project-archive .col-right .button-search {
    min-width: 8rem;
    border-radius: 0.3125rem;
  }
  .search-project-archive .col-right {
    margin-top: 15px;
  }
  .search-project-archive .select-industry {
    flex: 1;
    height: 2.625rem;
    border: 1px solid #cecece;
    border-radius: 0.3125rem;
    margin-right: 1rem;
  }
  .search-project-archive .industry-text:before {
    display: none;
  }
  .search-project-archive .button-search {
    width: 100%;
  }

  .row-isotope-project .grid-item {
    width: 100%;
  }

  .dashboard-pagination .pagination-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dashboard-pagination .pagination-btn {
    margin-bottom: 8px;
  }
}
