.idcom-page-locked #wp-admin-bar-so_live_editor,
.idcom-page-locked #wp-admin-bar-edit {
  display: none !important;
}
.project-gallery article {
  margin-bottom: 120px;
}
.project-gallery .title {
  font-size: 22px;
  font-family: 'Kaisei Decol', serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 25px;
  letter-spacing: 3.3px;
  margin-bottom: 40px;
}
.project-gallery .project-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.project-gallery .project-wrapper .btn-modal {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 3;
  background-color: transparent;
  border: none;
  outline: none;
}
.project-gallery .project-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000091;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s ease-in-out !important;
  -webkit-transition: all 0.3s ease-in-out !important;
  -moz-transition: all 0.3s ease-in-out !important;
  -o-transition: all 0.3s ease-in-out !important;
  transform: translateY(40%);
  -moz-transform: translateY(40%);
  -webkit-transform: translateY(40%);
}
.project-gallery .project-wrapper .overlay .overlay-title {
  color: #ffffff;
  font-size: 15px;
  font-family: 'Kaisei Decol', serif;
  margin-top: 30px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 30px;
}
.project-gallery .project-wrapper .overlay svg {
  color: #ffffff;
  width: 30px;
  height: 30px;
}
.project-gallery .project-wrapper:hover .overlay,
.project-gallery .project-wrapper:focus .overlay {
  opacity: 1;
  transform: translateY(0);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
}
.project-gallery .project-wrapper .modal .modal-dialog {
  max-width: 90%;
  margin: auto;
}
@media (min-width: 992px) {
  .project-gallery .project-wrapper .modal .modal-dialog {
    max-width: 950px;
  }
}
@media (min-width: 1200px) {
  .project-gallery .project-wrapper .modal .modal-dialog {
    max-width: 1000px;
  }
}
@media (min-width: 1400px) {
  .project-gallery .project-wrapper .modal .modal-dialog {
    max-width: 1200px;
  }
}
.project-gallery .project-wrapper .modal .modal-body {
  padding: 0;
}
.project-gallery .project-wrapper .modal .modal-content {
  border-radius: 0;
}
.project-gallery .project-wrapper .modal .modal-content .modal-body {
  position: relative;
}
.project-gallery .project-wrapper .modal .modal-content .modal-body:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: #333333;
}
.project-gallery .project-wrapper .modal .image-part {
  position: relative;
  min-height: 400px;
  aspect-ratio: 1;
  margin-top: auto;
  margin-bottom: auto;
}
.project-gallery .project-wrapper .modal .image-part .bg-image {
  height: 90%;
  top: 10%;
  width: 90%;
  left: 10%;
}
.project-gallery .project-wrapper .modal .row {
  margin-left: 0;
  margin-right: 0;
}
.project-gallery .project-wrapper .modal .text-part {
  position: relative;
  padding: 0;
}
.project-gallery .project-wrapper .modal .text-part .btn-close {
  position: absolute;
  right: 15px;
  top: 10px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(333deg) brightness(106%) contrast(101%);
  z-index: 3;
}
.project-gallery .project-wrapper .modal .text-part .project-title {
  padding: 50px 50px 15px 50px;
  color: #ffffff;
  font-size: 40px;
  position: relative;
  z-index: 2;
}
.project-gallery .project-wrapper .modal .text-part .project-title:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333333;
  z-index: -1;
}
.project-gallery .project-wrapper .modal .text-part .content-wrapper {
  padding-top: 110px;
  padding: 50px 50px 5px 30px;
  display: flex;
  align-items: center;
}
.project-gallery .project-wrapper .modal .text-part .content-wrapper .content {
  width: 100%;
}
.project-gallery .project-wrapper .modal .text-part .content-wrapper .info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.project-gallery .project-wrapper .modal .text-part .content-wrapper .info .key {
  font-weight: 700;
  text-transform: uppercase;
  width: 30%;
  text-align: right;
  padding-right: 20px;
  border-right: 1px solid #000000;
}
.project-gallery .project-wrapper .modal .text-part .content-wrapper .info .value {
  width: 70%;
  padding-left: 20px;
}
.project-gallery .project-wrapper .modal .text-part .content-wrapper .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.project-gallery .project-wrapper .modal .text-part .content-wrapper .links .btn {
  margin-bottom: 5px;
  font-size: 11px;
  line-height: 20px;
  padding: 15px 20px 13px 20px;
  min-width: 175px;
  letter-spacing: 1px;
}
.project-gallery .project-wrapper .modal .text-part .content-wrapper .links .btn:hover .inner-border,
.project-gallery .project-wrapper .modal .text-part .content-wrapper .links .btn:focus .inner-border {
  width: 150px;
  height: 25px;
}
.project-gallery .project-wrapper .modal .carousel-part {
  margin-top: 30px;
  padding: 50px;
  position: relative;
}
.project-gallery .project-wrapper .modal .carousel-part:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 40%;
  height: 1px;
  background-color: #000000;
  opacity: 0.5;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.project-gallery .project-wrapper .modal .carousel-part .title-secondary {
  margin-bottom: 50px;
  text-align: center;
}
.project-gallery .project-wrapper .modal .carousel-part .slide {
  height: 200px;
  position: relative;
}
.project-gallery .project-wrapper .modal .carousel-part .slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000091;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease-in-out !important;
  -webkit-transition: all 0.3s ease-in-out !important;
  -moz-transition: all 0.3s ease-in-out !important;
  -o-transition: all 0.3s ease-in-out !important;
  transform: translateY(40%);
  -moz-transform: translateY(40%);
  -webkit-transform: translateY(40%);
}
.project-gallery .project-wrapper .modal .carousel-part .slide .overlay svg {
  color: #ffffff;
  width: 30px;
  height: 30px;
}
.project-gallery .project-wrapper .modal .carousel-part .slide:hover .overlay,
.project-gallery .project-wrapper .modal .carousel-part .slide:focus .overlay {
  opacity: 1;
  transform: translateY(0);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
}
.project-gallery .project-wrapper .modal .carousel-part .owl-nav {
  position: absolute;
  right: 15px;
  top: 0;
  transform: translateX(100%);
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  padding-left: 30px;
  font-size: 70px;
  font-weight: 100;
  font-family: 'Source Sans Pro', sans-serif;
  height: 80px;
  width: 50px;
  display: flex;
  flex-direction: column;
}
.project-gallery .project-wrapper .modal .carousel-part .owl-nav button {
  position: absolute;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  left: 30px;
}
.project-gallery .project-wrapper .modal .carousel-part .owl-nav button:first-of-type {
  opacity: 0.4;
  bottom: 0;
  align-items: flex-end;
}
.project-gallery .project-wrapper .modal .carousel-part .owl-nav button:last-of-type {
  top: 0;
  align-items: flex-start;
}
@media (max-width: 991.98px) {
  .project-gallery .project-wrapper .modal {
    z-index: 9999;
  }
  .project-gallery .project-wrapper .modal .image-part {
    min-height: 200px;
    aspect-ratio: inherit;
    position: absolute;
  }
  .project-gallery .project-wrapper .modal .image-part .bg-image {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
  }
  .project-gallery .project-wrapper .modal .text-part .content-wrapper {
    padding: 50px 30px 0px 30px;
  }
  .project-gallery .project-wrapper .modal .text-part .project-title {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .project-gallery .project-wrapper .modal .text-part .project-title:before {
    opacity: 0.5;
  }
  .project-gallery .project-wrapper .modal .text-part .content-wrapper {
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  .project-gallery .project-wrapper .overlay .overlay-title {
    font-size: 10px;
    padding: 0 7px;
  }
  .project-gallery .project-wrapper .modal .carousel-part {
    padding-top: 30px;
    padding-left: 20px;
    padding-bottom: 10px;
  }
  .project-gallery .project-wrapper .modal .text-part .content-wrapper {
    padding-top: 30px;
  }
  .project-gallery .project-wrapper .modal .text-part .content-wrapper .info {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
  }
  .project-gallery .project-wrapper .modal .text-part .content-wrapper .info .key {
    width: 100%;
    text-align: center;
    padding-right: 0;
    border-right: none;
  }
  .project-gallery .project-wrapper .modal .text-part .content-wrapper .info .value {
    width: 100%;
    text-align: center;
    padding-left: 0;
  }
  .project-gallery .project-wrapper .modal .text-part .content-wrapper .links .btn {
    font-size: 10px;
    line-height: 20px;
    padding: 10px 15px 8px 15px;
    min-width: 225px;
    letter-spacing: 1px;
  }
}
