


/* =======================================
    PORTFOLIO-START
  ======================================== */

.portfolio {
  width: 100%;
}

.portfolio .row {
  overflow-y: hidden;
}

/* =======================================
    GRID-START
  ======================================== */

.grid-item-wrap {
  margin: 0;
  height: auto;
  overflow: hidden;
}

.grid-item {
  position: relative;
  overflow: hidden;
}

.filter-container {
  width: calc(100% + 1px) !important;
}

.grid-item-margin {
  margin: 5px;
}

.grid-single-column .grid-item-margin {
  margin: 5px 0;
}

.grid-img-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.5);
  transition: transform 2000ms linear, filter 300ms linear;
}

.grid-item:hover .grid-img {
  transform: scale(1.5) translateX(-20px);
  filter: brightness(.4);
}

.grid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: translateX(-20px);
  transition: transform 2000ms linear, visibility 100ms ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.grid-overlay > p:nth-child(1), /* RENAME / renamed in portfolio*/ 
.grid-overlay > a > p {
  font-size: .8rem;
  font-weight: 700;
  color: #EEE;
  transition: color 200ms ease;
  text-align: center;
  text-transform: uppercase;
  line-height: 110%;
}

.grid-overlay > p:nth-child(1):hover, /* RENAME / renamed in portfolio */
.grid-overlay > a > p {
  color: #CCC;
}

.grid-overlay > p:nth-child(2), /* RENAME / renamed in portfolio */
.grid-overlay > p {
  color: #DDD;
  font-size: .8rem;
}

.grid-item:hover > .grid-overlay {
  transform: translateX(0px);
  visibility: visible;
}

.grid-icons,
.grid-icon,
.slide-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-icons {
  flex-direction: row;
  margin-top: 5px;
  text-align: center;
  transition: all 300ms ease;
  z-index: 20;
}

.grid-icons > a:first-child {
  margin-right: 5px;
}

.grid-icon {
  border: 1px solid rgba(255, 255, 255, .3);
  color: #EEE;
  font-size: 8px;
  height: 25px;
  opacity: 0;
  transition: all 300ms ease;
  width: 25px;
}

.grid-item:hover .grid-icon {
  opacity: 1;
}

.grid-icon:hover {
  background-color: #EEE;
  color: #999;
  transition: all 300ms ease;
}

/* =======================================
    GRID-END
  ======================================== */

/* =======================================
    OC-SLIDER-START
  ======================================== */

.slide-img-wrap {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide-img {
  height: auto;
  width: 100%;
  object-fit: cover;
  filter: grayscale(.6);
  cursor: pointer;
  transition: all 300ms ease;
}

.slide-img:hover {
  filter: grayscale(0);
}

/* =======================================
    OC-SLIDER-END
  ======================================== */

/* =======================================
    PORTFOLIO-BX-PAGER-START
  ======================================== */

.portfolio .bx-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
  border: 0;
  box-shadow: none;
}

.portfolio .bx-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 8% !important;
  height: auto;
  width: 100%;
  z-index: 1;
  padding: 0;
}

.portfolio .bx-pager-item {
  border-radius: 0;
  background-color: transparent;
  margin-right: 5px;
}

.portfolio .bx-wrapper .bx-pager.bx-default-pager a {
  height: 8px;
  width: 8px;
  background-color: transparent;
  border-radius: 50% !important;
  border: 1px solid #EEE;
  margin: 0 15px;
}

.portfolio .bx-wrapper .bx-pager.bx-default-pager a:hover,
.portfolio .bx-wrapper .bx-pager.bx-default-pager a.active,
.portfolio .bx-wrapper .bx-pager.bx-default-pager a:focus {
  background-color: #EEE;
}

/* =======================================
    PORTFOLIO-BX-PAGER-END
  ======================================== */

/* =======================================
    PORTFOLIO-CATEGORY-START
  ======================================== */

.item-category-nav,
.shuffle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.item-category-nav {
  flex-direction: row;
  flex-wrap: wrap;
  margin: 40px 0;
  list-style: none;
  padding-left: 0px;
}

/* .item-category-wrap { DELETE IF UNNECESSARY / non-existent in portfolio
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
} */

.item-category,
.shuffle {
  border: 1px solid rgba(0, 0, 0, 0.07);
  width: auto;
  padding: 0 9px;
  height: 30px;
  line-height: 30px;
  font-size: .7rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 300ms ease;
  margin-right: 2px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.item-category:hover:not(.category-active) {
  color: #FF6633;
}

.shuffle {
  width: 30px;
  cursor: pointer;
}

.category-active,
.shuffle:hover {
  border-color: #FF6633;
  background-color: #FF6633;
  color: #FFF;
}

/* =======================================
    PORTFOLIO-CATEGORY-END
  ======================================== */

/* =======================================
    PORTFOLIO-SINGLE-START
  ======================================== */

.portfolio-single-info-wrap,
.portfolio-single-info-card,
.portfolio-single-info > li {
  border: 0;
}

.portfolio-single-info > li,
.portfolio-single-info > li > div {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
}

.portfolio-single-info > li {
  flex-wrap: wrap;
  padding: 5px 10px;
}

.portfolio-single-info > li > div {
  font-size: .7rem;
  color: #444;
  align-items: center;
}

.portfolio-info-icon {
  width: 20px;
  text-align: center;
}

.portfolio-info-icon,
.portfolio-single-info-card span {
  margin-right: 5px;
}

/* =======================================
    PAGINATION-START
  ======================================== */

.pagination-text {
  width: 100%;
  height: auto;
  padding: 20px 0;
}

.page-previous,
.page-next {
  color: #999;
}

.page-nav > p {
  margin: 0 10px;
  color: #666;
  letter-spacing: 2px;
  font-size: .7rem;
  transition: all 300ms ease;
}

.page-nav > i {
  transition: all 300ms ease;
}

.page-nav:hover p,
.page-nav:hover i {
  color: #FF6633 !important;
}

/* .pagination {
  padding: 40px 0;
} */

/* .pagination-link {
  display: inline-block;
  margin: 0 2px;
} */

/* .pagination-num,
.pagination-next,
.pagination-prev {
  min-width: 20px;
  height: 20px;
  border: 1px solid rgba(64,64,64,.2);
  color: #666;
  font-size: .7rem;
  line-height: 100%;
  margin: 0;
  padding: 0 15px;
}

.pagination-next,
.pagination-prev {
  width: auto;
  padding: 0 20px;
}

.pagination-num:hover,
.pagination-next:hover,
.pagination-prev:hover,
.pagination-num:focus,
.pagination-next:focus,
.pagination-prev:focus,
.active-pagination .pagination-num {
  background-color: #666;
  color: #EEE;
} */

.page_navigation {
  margin-left: 3px;
  display: flex;
  flex-direction: row;
  margin-top: 2rem;
}

.page_link,
.first_link,
.last_link,
.previous_link,
.next_link {
  min-width: 20px;
  height: 20px;
  border: 1px solid rgba(64,64,64,.2);
  color: #666;
  font-size: .7rem;
  line-height: 100%;
  margin: 0;
  padding: 0 15px;
  text-transform: uppercase;
  margin: 2px;
  padding: 2px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 20px;
  transition: all 300ms ease;
}

.active_page,
.page_link:hover,
.first_link:hover,
.last_link:hover,
.previous_link:hover,
.next_link:hover {
  background-color: #666;
  color: #EEE;
}


/* =======================================
    PAGINATION-END
  ======================================== */

/* =======================================
    PORTFOLIO-END
  ======================================== */


  @media (min-width: 0px) {
    .grid-single-column .grid-item {
      height: 40vh;
    }
    .grid-single-column .grid-overlay > a > p,
    .grid-single-column .grid-overlay > p {
      font-size: .8rem;
    }
    .item-category-nav,
    .page_navigation {
      justify-content: center;
    }
    .item-category-nav:not(.grid-single-column > .item-category-nav),
    .portfolio-text-block {
      margin-left: 0;
    }
    .portfolio-single-info-wrap {
      border-right: 0;
    }
    .portfolio-single-info > li > div:nth-child(1),
    .portfolio-single-info > li > div:nth-child(2) {
      width: auto;
    }
    .portfolio-single-info-card {
      margin-left: 10%;
      margin-right: 10%;
    }
    .portfolio-text-block {
      margin-top: 2rem;
    }
  }

  @media (min-width: 320px) {
    .portfolio-single-info > li > div:nth-child(1),
    .portfolio-single-info > li > div:nth-child(2) {
      width: 50%;
    }
  }
  
  @media (min-width: 768px) {
    .grid-single-column .grid-overlay > a > p {
      font-size: 1.2rem;
    }
    .grid-single-column .grid-overlay > p {
      font-size: .9rem;
    }
    .item-category-nav:not(.grid-single-column > .item-category-nav) {
      margin-left: 5px;
    }
    .portfolio-single-info-wrap {
      border-right: 1px solid rgba(0, 0, 0, .2);
    }
    .portfolio-single-info > li > div:nth-child(1) {
      width: 40%;
    }
    .portfolio-single-info > li > div:nth-child(2) {
      width: 60%;
    }
    .portfolio-single-info-card {
      margin-left: 0;
      margin-right: 0;
    }
    .portfolio-text-block {
      margin-top: 0rem;
      margin-left: 3rem;
    }
    .item-category-nav,
    .page_navigation {
      justify-content: flex-start;
    }
  }
  
  @media (min-width: 992px) {
    .grid-single-column .grid-item {
      height: 80vh;
    }
  }
