.project-gallery {
  overflow: hidden;
}

.project-gallery .container {
  position: relative;
}

.pgallery-carousel-wrap {
  display: grid;
  flex-wrap: wrap;
  grid-template-columns: 85% 15%;
  margin: 0 -15px;
}

.pgallery-carousel-items-wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 0 15px;
}

.pgallery__right_col {
  width: 100%;
}

.pgallery-carousel-items {
  width: 100%;
  padding: 0;
}

.pgallery__controls {
  align-items: flex-end;
  display: flex;
  height: 100%;
  justify-content: flex-end;
  padding: 0 15px;
  width: auto;
}

.pgallery-arrow {
  background: #8dcec9;
  border: none;
  height: 80px;
  padding: 5px;
  width: 80px;
}

.pgallery-arrow svg {
  display: block;
  text-align: center;
  margin: 0 auto;
}

.pgallery-arrow.pgallery-arrow--prev {
  margin-right: 10px;
}

.pgallery-carousel-item {
  width: 100%;
}

.pgallery-carousel-img {
  padding-bottom: 37.5%;
  position: relative;
}

.pgallery-carousel-img img {
  width: 100%;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  object-fit: cover;
  object-position: center;
}

.pgallery-top-icon {
  position: absolute;
  right: 80px;
  top: 0;
}

.pgallery-top-icon svg {
  display: block;
}

.pgallery-icon2 {
  position: absolute;
  right: -60px;
  top: 60px;
}

@media (max-width: 1366px){
  .pgallery__controls {
    padding-right: 25px;
    justify-content: center;
  }
}
@media (max-width: 1199px){
  .pgallery-top-icon svg {
    width: 50px;
    height: 50px;
  }

  .pgallery-icon2 {
    right: -50px;
    top: 50px;
  }

  .pgallery-arrow {
    height: 60px;
    width: 60px;
  }

  /*   .pgallery__controls {
  width: 170px;
  margin: 0 0 0 auto;
}

  .pgallery-carousel-items-wrap {
  width: calc(100% - 170px);
}
} */

  @media (max-width: 991px){
    .pgallery-arrow {
      width: 50px;
      height: 50px;
    }

    .pgallery-arrow svg {
      width: 18px;
      height: 18px;
    }

    .project-gallery .container {
      padding: 0;
    }

    .project-gallery {
      overflow: hidden;
    }
  }

  @media (max-width: 767px){

    .pgallery-carousel-wrap {
      display: flex;
      margin: 0;
      flex-direction: column;
    }

    .pgallery-carousel-items-wrap {
      width: 100%;
      margin: 0;
      padding: 0;
    }

    .pgallery__controls {
      align-items: center;
      justify-content: flex-start;
      margin: 0;
      padding-top: 20px;
      width: 100%;
      padding-left: 20px;
    }

    .pgallery-top-icon {
      top: auto;
      bottom: 70px;
      right: 70px;
    }

    .pgallery-top-icon svg {
      height: 40px;
      width: 40px;
    }

    .pgallery-icon2 {
      right: -40px;
      top: 40px;
    }
    
    .pgallery-carousel-img {
    padding-bottom: 56.25%;
}
  }