.element__ready__portfolio__layout__3 .portfolio__thumb,
.element__ready__portfolio__layout__4 .portfolio__thumb,
.element__ready__portfolio__layout__5 .portfolio__thumb {
  margin-bottom: 0;
}
.element__ready__portfolio__layout__3,
.element__ready__portfolio__layout__5,
.element__ready__portfolio__layout__6,
.element__ready__portfolio__layout__7,
.element__ready__portfolio__layout__8 {
  position: relative;
  overflow: hidden;
}
.element__ready__single__portfolio {
  transition: 0.5s;
}
.portfolio__thumb {
  margin-bottom: 30px;
}
.portfolio__carousel__flex {
  display: flex;
  border: 1px solid #ededed;
  border-radius: 5px;
  overflow: hidden;
}
.portfolio__carousel__flex > div {
  flex: 1;
  margin: 0;
}
.portfolio__carousel__flex .portfolio__content {
  padding: 30px;
}
.element__ready__portfolio__layout__3 a {
  color: #fff;
}
.element__ready__portfolio__layout__3 a:focus,
.element__ready__portfolio__layout__3 a:hover {
  color: #fff;
  text-decoration: underline;
}
.element__ready__portfolio__layout__3 .portfolio__content {
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 33, 73, 0) 1%, #002149 100%);
  width: 100%;
  height: 40%;
  color: #fff;
  color: #fff;
  transition: 0.3s;
  padding: 30px;
}
.element__ready__portfolio__layout__3 .portfolio__btn,
.element__ready__portfolio__layout__3 .portfolio__title {
  margin: 0;
}
.element__ready__portfolio__layout__3 .portfolio__btn a {
  margin: 0;
  position: absolute;
  bottom: 40px;
  transition: 0.5s;
  display: inline-block;
  opacity: 0;
  visibility: hidden;
  left: 0;
  text-decoration: none;
  min-width: 40px;
  height: 40px;
  padding-top: 6px;
  border-radius: 50%;
}
.element__ready__portfolio__layout__3:hover .portfolio__btn a {
  opacity: 1;
  visibility: visible;
  left: 30px;
}
.element__ready__portfolio__layout__3:hover .portfolio__btn a:hover {
  background: #fff;
  color: #006de8;
  padding-left: 13px;
}
.element__ready__portfolio__layout__3:hover .portfolio__content {
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 102, 255, 0.8) 0,
    rgba(96, 170, 255, 0.5) 100%
  );
}
.element__ready__portfolio__layout__4 {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.element__ready__portfolio__layout__4 .portfolio__thumb img {
  width: 100%;
}
.element__ready__portfolio__layout__4 .portfolio__content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  background: linear-gradient(rgb(255 171 74 / 50%), #000);
  color: #fff;
  transition: 0.3s cubic-bezier(0.46, -0.01, 0.5, 1.01);
  transition-delay: 0.6s;
  opacity: 0;
  visibility: hidden;
}
.element__ready__portfolio__layout__4:hover .portfolio__content {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.element__ready__portfolio__layout__4 .portfolio__title a {
  color: #fff;
}
.element__ready__portfolio__layout__4 .portfolio__title a:hover {
  color: #ffab4a;
}
.element__ready__portfolio__layout__4 .portfolio__title {
  transform: translateY(50px);
  transition: 0.4s cubic-bezier(0.76, 0.21, 0.32, 0.85);
  transition-delay: 0.3s;
  font-size: 30px;
  opacity: 0;
}
.element__ready__portfolio__layout__4 p {
  transition: 0.4s cubic-bezier(0.76, 0.21, 0.32, 0.85);
  transition-delay: 0.2s;
  transform: translateY(50px);
  opacity: 0;
}
.element__ready__portfolio__layout__4 .portfolio__btn {
  transform: translateY(50px);
  transition: 0.4s cubic-bezier(0.76, 0.21, 0.32, 0.85);
  transition-delay: 0.1s;
  opacity: 0;
}

a.readmore__btn {
  display: flex;
  align-items: center;
  gap: 8px;
}
.element__ready__portfolio__layout__4 a.readmore__btn {
  padding: 10px 30px;
  background: #fff;
  margin-top: 30px;
  border-radius: 5px;
}
.element__ready__portfolio__layout__4 a.readmore__btn:hover {
  background: #ffab4a;
  color: #fff;
}
.element__ready__portfolio__layout__4:hover .portfolio__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.element__ready__portfolio__layout__4:hover p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.element__ready__portfolio__layout__4:hover .portfolio__btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
.element-ready-filter-activation {
  display: flex;
  flex-wrap: wrap;
  height: auto;
}
.element__ready__portfolio__item__parent {
  display: inline-block;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}
.element__ready__portfolio__layout__5 {
  border-radius: 10px;
  margin: 0;
}
.element__ready__portfolio__layout__5 .portfolio__thumb img {
  width: 100%;
}
.element__ready__portfolio__layout__5 .portfolio__content {
  position: absolute;
  left: 1px;
  bottom: 20px;
  background: #fff;
  padding: 30px 20px;
  max-width: 70%;
  border-radius: 0 10px 10px 0;
  min-width: 300px;
  transform-origin: left;
  transform-style: preserve-3d;
  transition: 0.5s cubic-bezier(0.79, 0.07, 0.17, 0.83);
  perspective: 200px;
}
.element__ready__portfolio__layout__5:hover .portfolio__content {
  transform: translateX(-100%) rotateX(45deg) scale(0.8);
}
.element__ready__portfolio__layout__5 .portfolio__hover__content {
  position: absolute;
  top: 0;
  transform: translateY(-80%) perspective(300px) rotateX(80deg);
  width: calc(100% - 80px);
  left: 0;
  right: 0;
  margin: auto;
  padding: 40px 30px;
  text-align: center;
  background: linear-gradient(135deg, #fad029, #ff564f);
  border-radius: 10px;
  transition: 0.5s;
  opacity: 0;
}
.element__ready__portfolio__layout__5:hover .portfolio__hover__content {
  opacity: 1;
  transform: translateY(-50%) perspective(300px) rotateX(0);
  top: 50%;
}
.element__ready__portfolio__layout__6:hover .portfolio__thumb,
.element__ready__portfolio__layout__8:hover .portfolio__thumb img {
  transform: scale(1.2);
}
.element__ready__portfolio__layout__5 .portfolio__title {
  font-weight: 600;
  margin-bottom: 0;
  font-size: 22px;
}
.element__ready__portfolio__layout__5 .portfolio__category {
  color: #ff564f;
  font-size: 14px;
  text-transform: capitalize;
  line-height: 1;
  margin-top: 10px;
}
.element__ready__portfolio__layout__5
  .portfolio__hover__content
  .portfolio__title {
  font-size: 25px;
  font-weight: 700;
}
.element__ready__portfolio__layout__5
  .portfolio__hover__content
  .portfolio__title
  a {
  color: #fff;
}
.element__ready__portfolio__layout__5
  .portfolio__hover__content
  .portfolio__title
  a:hover,
.element__ready__portfolio__layout__5
  .portfolio__hover__content
  .readmore__btn
  i,
.element__ready__portfolio__layout__5
  .portfolio__hover__content
  .readmore__btn:hover {
  color: #000;
}
.element__ready__portfolio__layout__5
  .portfolio__hover__content
  .portfolio__category {
  margin-top: 20px;
  color: #fff;
  font-weight: 500;
}
.element__ready__portfolio__layout__5
  .portfolio__hover__content
  .readmore__btn {
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  font-size: 14px;
}
.element__ready__portfolio__content__layout__6
  .element__ready__portfolio__item__parent,
.element__ready__portfolio__content__layout__7
  .element__ready__portfolio__item__parent {
  max-width: 25% !important;
}
.element__ready__portfolio__content__layout__6
  .element__ready__portfolio__item__parent:nth-child(3),
.element__ready__portfolio__content__layout__6
  .element__ready__portfolio__item__parent:nth-child(4),
.element__ready__portfolio__content__layout__6
  .element__ready__portfolio__item__parent:nth-child(8) {
  max-width: 50% !important;
}
.element__ready__portfolio__layout__6 {
  transition: 0.5s;
}
.element__ready__portfolio__layout__6:hover {
  border-radius: 10px;
}
.element__ready__portfolio__layout__6 .portfolio__thumb {
  margin-bottom: 0;
  transition: 0.6s;
}
.element__ready__portfolio__layout__6 .portfolio__thumb img,
.element__ready__portfolio__layout__7 .portfolio__thumb img {
  width: 100%;
}
.element__ready__portfolio__layout__6 .portfolio__content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  background: linear-gradient(
    0deg,
    rgba(98, 73, 239, 0.85) 0,
    rgba(40, 149, 221, 0.85) 100%
  );
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}
.element__ready__portfolio__layout__6:hover .portfolio__content {
  opacity: 1;
  visibility: visible;
}
.element__ready__portfolio__layout__6 .portfolio__category {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.element__ready__portfolio__layout__6 .readmore__btn {
  position: absolute;
  left: -30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  background: #fff;
  font-size: 22px;
  text-align: center;
  padding-top: 15px;
  border-radius: 50%;
  transition: 0.5s;
  opacity: 0;
}
.element__ready__portfolio__layout__6:hover .readmore__btn {
  opacity: 1;
  left: 30px;
}
.element__ready__portfolio__content__layout__7
  .element__ready__portfolio__item__parent:first-child,
.element__ready__portfolio__content__layout__7
  .element__ready__portfolio__item__parent:nth-child(5),
.element__ready__portfolio__content__layout__7
  .element__ready__portfolio__item__parent:nth-child(6) {
  max-width: 50% !important;
}
.element__ready__portfolio__layout__7 .portfolio__content {
  position: absolute;
  left: 30px;
  bottom: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
  width: calc(100% - 60px);
}
.element__ready__portfolio__layout__7:hover .portfolio__content {
  opacity: 1;
  visibility: visible;
}
.element__ready__portfolio__layout__7 .portfolio__thumb {
  margin-bottom: 0;
}
@media (min-width: 768px) and (max-width: 991px) {
  .element__ready__portfolio__content__layout__6
    .element__ready__portfolio__item__parent,
  .element__ready__portfolio__content__layout__6
    .element__ready__portfolio__item__parent:nth-child(3),
  .element__ready__portfolio__content__layout__6
    .element__ready__portfolio__item__parent:nth-child(4),
  .element__ready__portfolio__content__layout__6
    .element__ready__portfolio__item__parent:nth-child(8),
  .element__ready__portfolio__content__layout__7
    .element__ready__portfolio__item__parent,
  .element__ready__portfolio__content__layout__7
    .element__ready__portfolio__item__parent:first-child,
  .element__ready__portfolio__content__layout__7
    .element__ready__portfolio__item__parent:nth-child(5),
  .element__ready__portfolio__content__layout__7
    .element__ready__portfolio__item__parent:nth-child(6) {
    max-width: 50% !important;
  }
}
@media only screen and (max-width: 767px) {
  .portfolio__carousel__flex {
    display: block;
  }
  .element__ready__portfolio__content__layout__6
    .element__ready__portfolio__item__parent,
  .element__ready__portfolio__content__layout__7
    .element__ready__portfolio__item__parent {
    max-width: 100% !important;
    padding-right: 0 !important;
  }
  .element__ready__portfolio__content__layout__6
    .element__ready__portfolio__item__parent:nth-child(3),
  .element__ready__portfolio__content__layout__6
    .element__ready__portfolio__item__parent:nth-child(4),
  .element__ready__portfolio__content__layout__6
    .element__ready__portfolio__item__parent:nth-child(8) {
    max-width: 100% !important;
  }
  .element__ready__portfolio__content__layout__7
    .element__ready__portfolio__item__parent:first-child,
  .element__ready__portfolio__content__layout__7
    .element__ready__portfolio__item__parent:nth-child(5),
  .element__ready__portfolio__content__layout__7
    .element__ready__portfolio__item__parent:nth-child(6) {
    max-width: 100% !important;
  }
}
.element__ready__portfolio__layout__8 {
  border-radius: 10px;
  background: #fff;
}
.element__ready__portfolio__layout__8 .portfolio__thumb {
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  margin-bottom: 0;
}
.element__ready__portfolio__layout__8 .portfolio__thumb img {
  transition: 1.5s;
  width: 100%;
}
.element__ready__portfolio__layout__8 .portfolio__btn {
  position: absolute;
  top: 40%;
  width: 100%;
  text-align: center;
  margin: -20px;
}
.element__ready__portfolio__layout__8 .portfolio__content {
  padding: 20px;
}
.element__ready__portfolio__layout__8 .readmore__btn {
  background: #fff;
  padding: 8px 25px;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  transition: 0.6s;
}
.element__ready__portfolio__layout__8:hover .readmore__btn {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}
.sldier-content-area ul.slick-dots {
  display: flex;
  text-align: justify;
  align-items: center;
  gap: 4px;
}
.sldier-content-area.cfull .portfolio__thumb a {
  width: 100%;
  height: 100%;
}
.sldier-content-area.cfull .portfolio__thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.element__ready__portfolio__layout__9 {
  position: relative;
  padding-bottom: 50px;
}
.element__ready__portfolio__layout__9 .portfolio__thumb {
  margin-bottom: 0;
}
.element__ready__portfolio__layout__9 .portfolio__content {
  position: absolute;
  bottom: -25px;
  background-color: #ddd;
  /* width: calc(100% - 40px); */
  width: 90%;
  border-radius: 15px;
  right: -28px;
  z-index: 9;
  padding: 30px;
}

.element__ready__portfolio__layout__9 .portfolio__counter {
  width: 40px;
  height: 40px;
  text-align: center !important;
  border: 2px solid #d90a2c;
  line-height: 38px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
}
.element__ready__portfolio__layout__9 .portfolio__btn {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: all 0.5s linear 0s;
}
.element__ready__portfolio__layout__9:hover .portfolio__btn {
  max-height: 60px;
  overflow: inherit;
  visibility: inherit;
}
.element__ready__portfolio__content__layout-9.bottom_center_nav {
  text-align: center;
}
.element__ready__portfolio__content__layout-9.bottom_center_nav * {
  text-align: initial;
}

.element__ready__portfolio__content__layout-9.bottom_center_nav .owl-controls {
  text-align: center;
  display: inline-block;
  position: relative;
  margin-top: 22px;
}

.sldier-content-area.element__ready__portfolio__content__layout-9 .owl-dots {
  text-align: center;
  margin-top: 30px;
  display: inline-block;
  width: auto !important;
}
.sldier-content-area.sldier-content-area.element__ready__portfolio__content__layout-9
  .slick-dots
  li
  button {
  text-indent: -999999px;
}
.sldier-content-area.sldier-content-area.element__ready__portfolio__content__layout-9
  .owl-nav {
  margin-top: 0;
}
.sldier-content-area.sldier-content-area.element__ready__portfolio__content__layout-9
  .owl-nav
  > div {
  position: absolute;
  width: 30px;
  height: 30px;
  bottom: -8px;
  border-radius: 50%;
  border: 1.2px solid #ddd;
  padding: 0;
}
.sldier-content-area.sldier-content-area.element__ready__portfolio__content__layout-9
  .owl-nav
  > div
  i {
  line-height: 29px;
}
.sldier-content-area.sldier-content-area.element__ready__portfolio__content__layout-9
  .owl-prev {
  left: 0;
}
.sldier-content-area.sldier-content-area.element__ready__portfolio__content__layout-9
  .owl-next {
  right: 0;
}
.element__ready__portfolio__layout__9 .readmore__btn {
  position: relative;
}
.element__ready__portfolio__layout__9 .readmore__btn:after {
  content: "";
  height: 1.5px;
  width: 0;
  position: absolute;
  background: #000;
  display: block;
  left: 0;
  bottom: 0;
  transition: width 0.6s linear 0s;
}
.element__ready__portfolio__layout__9:hover .readmore__btn:after {
  width: 100%;
}

.er-portfolio-image-gal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.er-gallery-container .portfolio__thumb {
  margin: 0;
  height: 100%;
}
.er-portfolio-gallery-img-container {
  overflow: hidden;
}

.er-gallery-container {
  height: 550px;
  position: relative;
}
.er-portfolio-gallery-img-container:hover .er-gallery-abs-meta {
  visibility: visible;
  bottom: 40px;
  transition: all 0.4s ease-out; /* Only transition left property */
}
.er-gallery-abs-meta {
  position: absolute;
  bottom: -400px;
  left: 5%;
  visibility: hidden;
  background: #ffffff;
  width: calc(100% - 10%);
  transition-delay: 5ms;
  transition: all 0.4s;
}
.er-gallery-nested-container {
  padding: 40px;
}

a.er-port-image-abs-icon {
  position: absolute;
  top: 0;
  list-style: none;
}

a.er-port-image-abs-icon {
  width: 65px;
  height: 65px;
  background: #1befa2;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  top: -33px;
  right: 5%;
}

.er-gallery-nested-container p {
  color: #666666;
  font-size: 18px;
}

.er-gallery-container img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.er-portfolio-gallery-img-container:nth-child(6n + 3),
.er-portfolio-gallery-img-container:nth-child(6n + 4) {
  grid-column: span 2;
}
/* .er-portfolio-gallery-img-container:nth-child(3) {
  grid-column: span 2;
}
.er-portfolio-gallery-img-container:nth-child(4) {

} */
@media only screen and (max-width: 480px) {
  .element__ready__portfolio__layout__9 .portfolio__content {
    right: 0;
  }
  .er-portfolio-image-gal-grid {
    grid-template-columns: 1fr !important;
  }
}

@media only screen and (max-width: 350px) {
  .element__ready__single__portfolio.element__ready__portfolio__layout__9.slick-slide {
    width: 100% !important;
  }
}

/* @media only screen and (max-width: 700px) {
  .er-portfolio-image-gal-grid {
    grid-template-columns: 1fr 1fr;
  }
} */

@media only screen and (max-width: 800px) {
  .er-portfolio-image-gal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .er-portfolio-gallery-img-container:nth-child(6n + 3),
  .er-portfolio-gallery-img-container:nth-child(6n + 4) {
    grid-column: span 1;
  }
}
