


/* =======================================
    PORTFOLIO-START
  ======================================== */

.portfolio {
  width: 100%;
  box-sizing: border-box;
}

/* =======================================
    GRID-START
  ======================================== */

.grid-item-wrap {
  width: 100%;
  margin: 0;
  height: auto;
  overflow: hidden;
}

.grid-item {
  position: relative;
  overflow: hidden;
}

.grid-single-column .grid-item {
  height: 80vh;
}

.grid-item-margin {
  margin: 10px 5px 0 5px;
}

.grid-item-margin-1x {
  margin: 10px 16px 0 16px;
}

.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);
  transition: transform 2000ms linear;
  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) {
  font-size: .8rem;
  font-weight: 700;
  color: #EEE;
  transition: 200ms ease;
  text-align: center;
  text-transform: uppercase;
  line-height: 110%;
}

.grid-single-column .grid-overlay > p:nth-child(1) {
  font-size: 1.2rem;
}

.grid-overlay > p:nth-child(1):hover {
  color: #CCC;
}

.grid-overlay > p:nth-child(2) {
  color: #DDD;
  font-size: .8rem;
}

.grid-single-column .grid-overlay > p:nth-child(2) {
  font-size: .9rem;
}

.grid-item:hover > .grid-overlay {
  transform: translateX(0px);
  transition: transform 2000ms linear, visibility 100ms ease;
  visibility: visible;
}

.grid-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 300ms ease;
  z-index: 20;
  margin-top: 5px;
}

.grid-icons > a:first-child {
  margin-right: 5px;
}

.grid-icon {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8px;
  color: #EEE;
  transition: all 300ms ease;
  opacity: 0;
}

.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%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-img {
  height: auto;
  width: 100%;
  object-fit: cover;
  filter: grayscale(.6);
  cursor: pointer;
  transition: all 500ms 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: 0 !important;
  border: 1px solid #EEE;
  margin: 0;
}

.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 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  margin: 40px 0;
  list-style: none;
  padding-left: 0px;
}

.item-category-wrap {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.item-category {
  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 {
  color: #FF6633;
}

.category-active,
.category-active:hover {
  border-color: #FF6633;
  background-color: #FF6633;
  color: #FFF;
}

.shuffle {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 300ms ease;
  font-size: .7rem;
  margin-bottom: 3px;
  position: relative;
}

.shuffle:hover {
  color: #FFF;
  background-color: #FF6633;
}

/* =======================================
    PORTFOLIO-CATEGORY-END
  ======================================== */

/* =======================================
    PORTFOLIO-SINGLE-START
  ======================================== */

.portfolio-single-info-wrap,
.portfolio-single-info-card {
  border: 0;
}

.portfolio-single-info > li {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 5px 10px;
  border: 0;
}

.portfolio-single-info > li > div {
  width: auto;
  font-size: .7rem;
  color: #444;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.portfolio-info-icon {
  width: 20px;
  text-align: center;
  margin-right: 5px;
}

@media (min-width: 0px) {
  .portfolio-single-info-wrap {
    border-right: 0;
  }
  .portfolio-single-info > li {
    padding-left: 0;
  }
  .portfolio-single-info > li > div:nth-child(1) {
    width: auto;
  }
  .portfolio-single-info > li > div:nth-child(2) {
    width: auto;
  }
  .portfolio-single-info-card {
    margin-left: 10%;
    margin-right: 10%;
  }
  .portfolio-text-block {
    margin-left: 0;
    margin-top: 2rem;
  }
}

@media (min-width: 320px) {
  .portfolio-single-info > li > div:nth-child(1) {
    width: 50%;
  }
  .portfolio-single-info > li > div:nth-child(2) {
    width: 50%;
  }
}

@media (min-width: 768px) {
  .portfolio-single-info-wrap {
    border-right: 1px solid rgba(0, 0, 0, .2);
  }
  .portfolio-single-info > li {
    padding-left: 10px;
  }
  .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;
  }
}

/* =======================================
    PAGINATION-START
  ======================================== */

.pagination-text {
  width: 100%;
  height: auto;
  padding: 20px 0;
}

.page-previous,
.page-next {
  font-size: 1rem;
  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;
}

/* =======================================
    PAGINATION-END
  ======================================== */

/* =======================================
    GRID-START
  ======================================== */

.portfolio-masonry {
  margin-bottom: 10px;
  display: grid;
  grid-template: repeat(5, 150px) / repeat(2, 1fr);
  grid-column-gap: 10px;
  grid-template-areas:
    "a b"
    "a d"
    "a d"
    "a d"
    "c d";
}

.masonry-item {
  padding: 0 1rem;
  background-color: #EEE;
  box-shadow: 0 0 30px rgba(64,64,64,.2);
}

.masonry-content {
  display: grid;
}

.masonry-content-left {
  grid-template-rows: 150px 150px 300px;
}

.masonry-content-right {
  grid-template-rows: 150px 300px 150px;
}

.portfolio-masonry > .masonry-item:nth-child(1) {
  /* grid-row: 1 / 4; */
  grid-area: a;
}

.portfolio-masonry > .masonry-item:nth-child(2) {
  /* grid-column:  2 / -1; */
  grid-area: b;
}

.portfolio-masonry > .masonry-item:nth-child(3) {
  /* grid-column: 1 / 2; */
  grid-area: c;
}

.portfolio-masonry > .masonry-item:nth-child(4) {
  /* grid-column: 2 / -1;
  grid-row: 2 / -1; */
  grid-area: d;
}

.masonry-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 300ms ease;
}

.item-slider {
  height: 100%;
}

.portfolio-masonry .bx-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-masonry {
  margin-bottom: 10px;
  display: grid;
  grid-template: repeat(5, 150px) / repeat(2, 1fr);
  grid-column-gap: 10px;
  grid-template-areas:
    "a b"
    "a d"
    "a d"
    "a d"
    "c d";
}

.home-portfolio-grid-container {
  display: grid;
  grid-template: repeat(1, 1fr) / repeat(3, 1fr);
  grid-gap: 10px;
  margin: 10px;
}

.home-portfolio-grid-container .grid-img {
  height: 100%;
}

@media (min-width: 0px) {
  .home-portfolio-grid-container {
    grid-template: repeat(1, 1fr) / repeat(1, 1fr);
  }
}

@media (min-width: 768px) {
  .home-portfolio-grid-container {
    grid-template: repeat(1, 1fr) / repeat(2, 1fr);
    grid-template-areas:
      "a b"
      "c d"
      "e f"
      "g h"
      "i j"
      "k l"
  }

  #grid-item-1 {
    grid-area: a;
  }

  #grid-item-2 {
    grid-area: b;
  }

  #grid-item-3 {
    grid-area: d;
  }

  #grid-item-4 {
    grid-area: c;
  }

  #grid-item-5 {
    grid-area: e;
  }

  #grid-item-6 {
    grid-area: f;
  }

  #grid-item-7 {
    grid-area: h;
  }

  #grid-item-8 {
    grid-area: g;
  }

  #grid-item-9 {
    grid-area: i;
  }

  #grid-item-10 {
    grid-area: j;
  }

  #grid-item-11 {
    grid-area: l;
  }

  #grid-item-12 {
    grid-area: k;
  }
}

@media (min-width: 992px) {
  .home-portfolio-grid-container {
    grid-template: repeat(1, 1fr) / repeat(3, 1fr);
    grid-template-areas:
      "a b c"
      "d e f"
      "g h i"
      "j k l"
  }

  #grid-item-1 {
    grid-area: a;
  }

  #grid-item-2 {
    grid-area: b;
  }

  #grid-item-3 {
    grid-area: c;
  }

  #grid-item-4 {
    grid-area: d;
  }

  #grid-item-5 {
    grid-area: e;
  }

  #grid-item-6 {
    grid-area: f;
  }

  #grid-item-7 {
    grid-area: g;
  }

  #grid-item-8 {
    grid-area: h;
  }

  #grid-item-9 {
    grid-area: i;
  }

  #grid-item-10 {
    grid-area: j;
  }

  #grid-item-11 {
    grid-area: k;
  }

  #grid-item-12 {
    grid-area: l;
  }
}

/* =======================================
    GRID-END
  ======================================== */

/* =======================================
    PORTFOLIO-END
  ======================================== */
