.new-portfolio {
  background-color: #fcfcff;
  overflow: hidden;
}
.new-turnkey-portfolio {
  border-radius: 30px 30px 0 0;
  background: #fcfcff;
  padding-top: 115px;
  padding-bottom: 120px;
  position: relative;
  z-index: 1;
}
.new-turnkey-portfolio.design {
  background-color: #f1f3ff;
  border-radius: 0;
}
.new-turnkey-portfolio.landing {
  background-color: #f1f3ff;
  border-radius: 0 0 30px 30px;
}
.new-turnkey-portfolio .portfolio {
  border-radius: 30px 30px 0 0;
}

.new-body .portfolio.portfolio_home {
  padding-top: 0;
}
.new-body .portfolio.portfolio_home .portfolio-desc {
  display: none;
}
.new-portfolio-container {
  padding: 120px 0;
}
.container.portfolio-examples {
  margin-top: 10px;
  max-width: 1440px;
  padding-left: 0;
  padding-right: 0;
}
.portfolio-content {
  position: relative;
}

@media screen and (max-width: 480px) {
  .container.portfolio-examples {
    margin-top: 0px;
  }
}

/*.new-portfolio-title {*/
/*  color: #0e1020;*/
/*  font-family: 'Gilroy', 'Gilroy-Regular', sans-serif;*/
/*  font-size: 64px;*/
/*  font-style: normal;*/
/*  font-weight: 400;*/
/*  line-height: 100%;*/
/*  padding-left: 100px;*/
/*}*/

.portfolio-title {
  color: #0e1020;
  font-family: 'Gilroy', sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  text-align: center;
}
.portfolio-title span {
  color: #0e1020;
  font-style: italic;
  font-weight: 700;
  line-height: 100%; /* 64px */
}

.portfolio-title__decor,
.blog-title__decor {
  position: absolute;
  top: -100px;
  left: -86px;
  font-size: 200px;
  font-weight: 600;
  line-height: 230px;
  color: white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05), 0 -1px 0 rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.05),
    -1px 0 0 rgba(0, 0, 0, 0.05), 1px 0 0 rgba(0, 0, 0, 0.05),
    -1px 0 0 rgba(0, 0, 0, 0.05), 1px 0 0 rgba(0, 0, 0, 0.05),
    -1px -1px 0 rgba(0, 0, 0, 0.05), 1px -1px 0 rgba(0, 0, 0, 0.05),
    -1px 1px 0 rgba(0, 0, 0, 0.05), 1px 1px 0 rgba(0, 0, 0, 0.05),
    -1px -1px 0 rgba(0, 0, 0, 0.05), 1px -1px 0 rgba(0, 0, 0, 0.05),
    -1px 1px 0 rgba(0, 0, 0, 0.05), 1px 1px 0 rgba(0, 0, 0, 0.05);
  z-index: -1;
  display: none;
}

.portfolio-desc {
  font-size: 20px;
  line-height: 34px;
  color: #0e0e0e;
  text-align: center;
}

.portfolio-desc br {
  display: none;
}

.portfolio .decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  min-height: 150px;
}

.portfolio .decor-icon {
  position: absolute;
}

.portfolio-decor .decor-red {
  top: 4.7em;
  right: -6em;
  fill: #d62829;
}

.portfolio-decor .decor-blue {
  top: -2.5em;
  left: 19.5em;
}

.portfolio-decor .decor-circle {
  top: 4.7em;
  left: 15.5em;
}

.portfolio-settings {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  /*padding-left: 100px;*/
  margin-bottom: 20px;
}

.portfolio-settings__btn,
.quiz-content__btn,
.blog-item__btn {
  margin-right: 10px;
  min-width: 90px;
  max-height: 50px;
  padding: 14px 28px;
  white-space: nowrap;
  color: #46570f;
  font-family: 'Gilroy', 'Gilroy-Semibold', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  background: transparent;
  border-radius: 8px;
  border: 1.5px solid #c0e449;
  cursor: pointer;
  transition: all 0.3s linear;
}

.portfolio-settings__btn::before,
.portfolio-settings__btn::after,
.quiz-content__btn::before,
.quiz-content__btn::after,
.blog-item__btn::before,
.blog-item__btn::after {
  content: none;
}

/* .portfolio-settings__btn:nth-last-child(1),  */
.quiz-content__btn:nth-last-child(1) {
  margin-right: 30px;
  display: none;
}

.portfolio-settings__btn:hover,
.quiz-content__btn:hover,
.blog-item__btn:hover {
  color: #0e1020;
  background: #def58b;
}

.portfolio-settings__btn.active,
.quiz-content__btn.active,
.blog-item__btn.active {
  color: #0e1020;
  background: #c0e449;
}

.portfolio-examples__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 0;
  grid-row-gap: 0;
}

.portfolio-examples__list.hidden-all--js > :nth-child(n + 10) {
  display: none;
}

.hide--js {
  display: none !important;
}

.show--js {
  display: block !important;
}

/* .portfolio_page .portfolio-examples__list.hidden-all--js > :nth-child(n + 7) {
    display: block;
    } */
@media screen and (min-width: 768px) {
  .about-btn.btn_mob {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  .portfolio-title {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 32px !important;
  }
}

.portfolio_page .portfolio-all__btn--js.btn_mob {
  display: none;
}

.portfolio-examples__item.mango {
  background: linear-gradient(248.41deg, #ff000a 0%, #ffa925 100%);
}

.portfolio-examples__item.costflow {
  background: #2c41b7;
}

.portfolio-examples__item.sitniks {
  background: linear-gradient(248.41deg, #171529 0%, #3b3a54 100%);
}

.portfolio-examples__item.utor {
  background: #212121;
}

.portfolio-examples__item.yavse {
  background: linear-gradient(180deg, #ffd950 0%, #ffc121 100%);
}

.portfolio-examples__item.systemator {
  background: linear-gradient(248.41deg, #5f5adf 0%, #817ee3 100%);
}

.portfolio-examples__link {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 23px;
  padding-left: 24px;
  padding-bottom: 45px;
  padding-right: 24px;
}

/*  .portfolio-examples__link:hover .portfolio-examples__img {
        transform: scale(1.06) !important;
    }
  */
.portfolio-examples__link:hover .portfolio-examples__icon {
  opacity: 1;
  visibility: visible;
}

.portfolio-examples__img {
  width: 100%;
  /* object-fit: cover; */
  border-radius: 6px;
  transition: all 0.5s !important;
}

.portfolio-examples__img img {
  width: 100%;
  /*height: auto;*/
  height: 100%;
  max-height: 254px;
  border-radius: 6px;
  object-fit: cover;
  object-position: 0 0;
  /* min-height: 240px;
      max-height: 240px; */
}

.portfolio-examples__wrap {
  width: 100%;
  margin-top: 24px;
  padding: 0 23px;
  align-self: baseline;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-examples__title {
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.portfolio-examples__desc {
  /*max-width: 235px;*/
  max-width: 345px;
  font-size: 14px;
  font-weight: 400;
  color: white;
}

.portfolio-examples__icon {
  align-self: baseline;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  flex-shrink: 0;
}
.portfolio-examples__btn,
.blog-btn {
  display: block;
  max-width: 245px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  padding: 21px 40px;
}
.portfolio-examples__btn {
  display: none;
}
.portfolio_page {
  padding-top: 0;
}

.new-portfolio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 245px;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 40px;
  text-align: center;
  border-radius: 8px;
  border: 1.5px solid #c0e449;
  color: #0e1020;
  font-family: 'Gilroy', 'Gilroy-Bold', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  transition: all 0.3s linear;
  background: #c0e449;
  position: relative;
  overflow: hidden;
}

.new-portfolio-btn span {
  color: #0e1020;
  position: relative;
  z-index: 1;
}
.new-portfolio-btn:hover {
  background-color: transparent;
}
.new-portfolio-btn:hover span {
  color: #0e1020;
  position: relative;
  z-index: 1;
}

.new-portfolio-btn .btn-txt-green,
.new-portfolio-btn .btn-txt-black {
  position: relative;
  font-family: 'Gilroy', 'Gilroy-Bold', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  transform: translateY(-110%);
  transition: all 0.2s linear;
}

.new-portfolio-btn .btn-arr-black {
  margin-bottom: 2px;
}
.new-portfolio-btn:hover .btn-txt-green,
.new-portfolio-btn:hover .btn-txt-black {
  transform: translateY(-10%);
}

.new-portfolio-btn .btn-txt-black {
  color: #0e1020;
}
.new-portfolio-btn .btn-txt-green {
  color: #0e1020;
}

.btn-arr-mob {
  opacity: 0;
  visibility: hidden;
  margin-left: -26px;
  transition: all 0.3s linear;
}

.new-portfolio-btn:hover .btn-arr-mob {
  opacity: 1;
  visibility: visible;
}
.portfolio-examples__btn .btn-icon {
  display: none;
}

.portfolio-examples__btn.show-all--js .btn-icon,
.show-all--js.blog-btn .btn-icon {
  transform: rotate(-90deg);
}

.portfolio_page {
  padding-top: 0;
}

.sort-show--js {
  display: block !important;
}

.sort-hide--js {
  display: none !important;
}
.flipper {
  position: relative;
}

.flipper .front,
.flipper .back {
  height: 255px;
  position: absolute;
  left: 0;
  transition: all 0.5s ease;
}
.flipper .front,
.flipper .back img {
  object-fit: cover;
  object-position: 0 0;
}

.flipper {
  width: 100%;
}

.front {
  z-index: 2;
}

.back {
  z-index: 1;
  transform: rotateY(-180deg);
}

.flip-container:hover .front {
  transform: rotateY(180deg);
  z-index: 1;
}

.flip-container:hover .back {
  transform: rotateY(0deg);
  z-index: 2;
}
.flip-container:hover .front {
  transform: rotateY(180deg);
  z-index: 1;
}

.flip-container:hover .back {
  transform: rotateY(0deg);
  z-index: 2;
}
.back {
  z-index: 1;
  opacity: 0;
  transform: unset;
  /*transform: rotateY(-180deg);*/
}
.flip-container:hover .front {
  /*transform: rotateY(180deg);*/
  transform: unset;
  z-index: 1;
  opacity: 0;
}

.flip-container:hover .back {
  transform: unset;
  opacity: 1;
  z-index: 2;
}
.page-template-portfolio,
.page-template-disign,
.page-template-ui_ix,
.page-template-turnkey .flip-container:hover .front {
  transform: unset;
  z-index: 1;
  opacity: 0;
}
.page-template-portfolio,
.page-template-disign,
.page-template-ui_ix,
.page-template-turnkey .flip-container:hover .back {
  transform: unset;
  opacity: 1;
  z-index: 2;
}

@media (max-width: 1024px) {
  .portfolio-settings {
    /* position: absolute; */
    padding-left: 20px;
    width: 100%;
    padding-bottom: 12px;
    overflow-y: hidden;
    overflow-x: auto;
    margin-bottom: 0px;
    margin-top: 20px;
    justify-content: flex-start;
  }
  .new-turnkey-portfolio {
    border-radius: 20px 20px 0 0;
    background: #fcfcff;
    padding-top: 50px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
  }
  .new-portfolio-title {
    padding-left: 20px;
  }

  .portfolio-settings__btn,
  .quiz-content__btn {
    min-width: unset;
  }

  .portfolio-examples {
    margin-top: 0;
  }

  .portfolio-examples__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-examples__img {
    min-height: unset;
  }
}
@media (max-width: 768px) {
  .portfolio {
    /* padding-top: 20px; */
  }
  .new-portfolio-container {
    padding: 70px 0;
  }
  .new-portfolio-title {
    font-size: 32px;
  }

  .portfolio-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .portfolio-title {
    margin-left: 20px;
    margin-right: 20px;
  }

  .portfolio-title__decor {
    font-size: calc(70% + 75px);
    left: 20px;
  }
  .portfolio-desc {
    margin-left: 20px;
  }
  .portfolio-desc span {
    font-weight: 700;
  }

  .portfolio-desc br {
    display: inline;
  }

  .portfolio-examples__wrap {
    padding: 0;
    margin-top: 10px;
  }

  .portfolio-examples__icon {
    visibility: visible;
  }

  .portfolio_page {
    padding-top: 0;
  }
}
@media (max-width: 576px) {
  .portfolio-examples__list {
    grid-template-columns: repeat(1, 1fr);
  }

  .ui-portfolio__section .portfolio-examples__wrap {
    margin-top: 0;
  }

  .ui-portfolio__section .portfolio-examples__link {
    padding-bottom: 24px;
  }

  .ui-portfolio__section .portfolio-examples__title {
    margin-bottom: 10px;
  }

  .portfolio-examples__img {
    min-height: unset;
    max-height: unset;
  }
  .services_blocks_title,
  .portfolio-examples__title,
  .slider-static .slide_info_title,
  .about_items_block_title,
  .top-features__title .txt {
    font-size: 20px;
    /* width: 80%;*/
    margin: 0 auto;
    margin-bottom: 15px;
    margin-top: 10px;
  }
  .portfolio {
    /* padding-top: 70px; */
  }

  .portfolio-title__decor {
    top: -90px;
  }
  .portfolio.portfolio_page {
    padding-top: 0px !important;
    padding-bottom: 50px !important;
  }
  .portfolio_home .portfolio-examples__list li.none_portfolio {
    display: none !important;
  }
}

@media screen and (max-width: 575px) {
  .flipper .front,
  .flipper .back {
    height: 100%;
  }
}
@media screen and (max-width: 480px) {
  .portfolio-examples__link {
    padding-left: 10px;
    padding-right: 10px;
  }
  .portfolio-examples__title,
  .portfolio-examples__desc {
    margin-left: 14px;
  }
}
@media screen and (max-width: 460px) {
  .ui-portfolio__section .portfolio-settings__btn {
    padding: 10px;
  }
  .new-portfolio-btn {
    margin-top: 30px;
    width: 90%;
    max-width: 100%;
    margin-left: 20px;
    margin-right: 20px;
  }
}
.portfolio .decor {
  display: none;
}
.swiper-pagination {
  z-index: 9 !important;
}
