.opacity {
  display: none !important;
}

.project-inner {
  padding: 0 4.75%;
}
.project-sort {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  padding-bottom: 2vw;
}
.project-sort-content {
  width: 170px;
  text-align: center;
  border-right: 1px dashed #ccc;
  font-size: 0.75rem;
  font-family: "PT Sans", Arial, Helvetica;
  letter-spacing: 0.1rem;
  cursor: pointer;
  opacity: 0;
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.project-sort-content.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.project-sort-content:nth-child(1) {
  border-left: 1px dashed #ccc;
}
.project-sort-content:hover .project-sort-btn {
  color: #000;
}
.project-sort-content.active .project-sort-btn {
  background: #f2f2f2;
  color: #000;
}
.project-sort-btn {
  margin: 0 10px;
  padding: 15px;
  position: relative;
  -moz-transition: background 0.3s, color 0.3s;
  -o-transition: background 0.3s, color 0.3s;
  -webkit-transition: background 0.3s, color 0.3s;
  transition: background 0.3s, color 0.3s;
}
.project-sort-btn span {
  display: block;
}
.project-sort-btn span.tw {
  padding-top: 5px;
}
.project-subdivision {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  padding-bottom: 2vw;
  -moz-transition: clip-path 1s, margin-bottom 1s;
  -o-transition: clip-path 1s, margin-bottom 1s;
  -webkit-transition: clip-path 1s, margin-bottom 1s;
  transition: clip-path 1s, margin-bottom 1s;
}
.project-subdivision.subdivision2 {
  display: none;
}
.project-subdivision.slideDown {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  margin-bottom: 0;
}
.project-subdivision.slideUp {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  margin-bottom: -80px;
}
.project-subdivision-content {
  width: 170px;
  text-align: center;
  border-right: 1px dashed #ccc;
  font-size: 0.75rem;
  font-family: "PT Sans", Arial, Helvetica;
  letter-spacing: 0.1rem;
  cursor: pointer;
}
.project-subdivision-content:nth-child(1) {
  border-left: 1px dashed #ccc;
}
.project-subdivision-content:hover .project-subdivision-btn {
  color: #000;
}
.project-subdivision-content.active .project-subdivision-btn {
  background: #f2f2f2;
  color: #000;
}
.project-subdivision-btn {
  margin: 0 10px;
  padding: 15px;
  position: relative;
  -moz-transition: background 0.3s, color 0.3s;
  -o-transition: background 0.3s, color 0.3s;
  -webkit-transition: background 0.3s, color 0.3s;
  transition: background 0.3s, color 0.3s;
}
.project-list {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  top: -2.5vw;
}
.project-item {
  padding: 5vw 1% 0;
  width: 33.3333%;
  box-sizing: border-box;
}
.project-item a:hover .project-img-inner img {
  -webkit-filter: saturate(1);
  filter: saturate(1);
}
.project-item a:hover .project-name {
  color: #000;
}
.project-img {
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  -moz-transition: clip-path 0.6s;
  -o-transition: clip-path 0.6s;
  -webkit-transition: clip-path 0.6s;
  transition: clip-path 0.6s;
}
.show .project-img {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.project-img-inner img {
  width: 100%;
  -webkit-filter: saturate(0.3);
  filter: saturate(0.3);
  -moz-transition: filter 0.6s, -moz-transform 1s;
  -o-transition: filter 0.6s, -o-transform 1s;
  -webkit-transition: filter 0.6s, -webkit-transform 1s;
  transition: filter 0.6s, transform 1s;
}
.project-content {
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
}
.project-name {
  color: #111;
  letter-spacing: 0.1rem;
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s, color 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s, color 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s, color 0.6s;
  transition: opacity 0.6s, transform 0.6s, color 0.6s;
}
.show .project-name {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.project-type {
  font-family: "PT Sans", Arial, Helvetica;
  font-size: 0.875rem;
  color: #999;
  letter-spacing: 0.1rem;
  padding: 0px 0 5px;
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.show .project-type {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.project-logo {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-top: 15px;
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.show .project-logo {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.project-logo img {
  height: 30px;
  border: 1px solid #eee;
  margin-right: 3px;
}
.project-logo img:last-child {
  margin-right: unset;
}
.project-logo img.white {
  border: unset;
}
.project-btn {
  font-size: 0.75rem;
  width: unset;
  padding-top: 30px;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.6s;
  -o-transition: clip-path 0.6s;
  -webkit-transition: clip-path 0.6s;
  transition: clip-path 0.6s;
}
.show .project-btn {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.project-btn .btn-link {
  text-align: right;
}

.commercial.active, .residential.active, .multi.active, .sizeS.active, .sizeM.active, .sizeL.active, .sizeXL.active {
  display: block;
}
.commercial.unactive, .residential.unactive, .multi.unactive, .sizeS.unactive, .sizeM.unactive, .sizeL.unactive, .sizeXL.unactive {
  display: none;
}

@media screen and (max-width: 1100px) {
  .project-list {
    top: unset;
  }
  .project-item {
    padding-top: 8vw;
    width: 50%;
  }
}
@media screen and (max-width: 800px) {
  .project-sort {
    padding-bottom: 10px;
    display: block;
  }
  .project-sort-content {
    width: 100%;
    border-right: unset;
    border-top: 1px dashed #ccc;
  }
  .project-sort-content:nth-child(1) {
    border-left: unset;
  }
  .project-sort-content:last-child {
    border-bottom: 1px dashed #ccc;
  }
  .project-sort-btn {
    margin: 5px 0;
    padding: 10px 0;
  }
  .project-subdivision.subdivision1 {
    display: none;
  }
  .project-subdivision.subdivision2 {
    display: flex;
  }
  .project-subdivision.slideUp {
    margin-bottom: -60px;
  }
}
@media screen and (max-width: 640px) {
  .project-sort {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding-bottom: unset;
  }
  .project-sort.slideUp {
    border-bottom: 1px solid #ccc;
    -moz-transition: border-bottom 0.6s;
    -o-transition: border-bottom 0.6s;
    -webkit-transition: border-bottom 0.6s;
    transition: border-bottom 0.6s;
  }
  .project-sort-content {
    text-align: left;
    border-bottom: unset;
    border-top: 1px dashed #ccc;
  }
  .project-sort-content:nth-child(1) {
    border-top: unset;
  }
  .project-sort-content:last-child {
    border-bottom: unset;
  }
  .project-sort-btn p {
    padding-left: 10px;
  }
  .project-sort-btn span.tw {
    padding-top: 3px;
  }
  .project-subdivision {
    padding-bottom: 10px;
    display: block;
  }
  .project-subdivision.subdivision2 {
    display: block;
  }
  .project-subdivision.slideUp {
    margin-bottom: -150px;
  }
  .project-subdivision-content {
    text-align: left;
    width: 100%;
    border-right: unset;
  }
  .project-subdivision-content:nth-child(1) {
    border-left: unset;
  }
  .project-subdivision-btn {
    margin: 0;
    padding: 8px 0;
  }
  .project-subdivision-btn p {
    padding-left: 25px;
  }
  .project-item {
    padding: 60px 0 0;
    width: 100%;
  }
  .project-name {
    color: #000;
  }
  .project-type {
    font-size: 0.75rem;
  }
  .project-logo {
    padding-top: 10px;
  }
  .project-logo-white {
    display: none;
  }
  .project-btn {
    padding-top: 20px;
  }
}
