{# ============================== #}
{#            CARD BASE           #}
{# ============================== #}

.filter-card.content-flow .c-card .flexi-card-outer
{
  height: auto;
}

.c-card .versa-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
  padding-top: 50px;
}
.c-card .versa-icon {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1000px;
}
.c-card .versa-icon svg {
  width: 64px;
  height: 64px;
}

.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
  padding-bottom: 25px;
}

.flexi-card-outer {
  height: 100%;
}

.c-card img {
  display: block;
  margin: auto;
}

.c-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.c-card-content blockquote {
  margin: 0 0 25px 0;
  padding-left: 0;
  border-left: 0;
}

{# ============================== #}
{#        TEAM CARD LAYOUT        #}
{# ============================== #}

.c-card-mod {
  position: relative;
  z-index: 1;
}

.c-card-mod .c-social-team-con {
  position: absolute;
  bottom: 25px;
  display: inline-flex;
}

.c-card-mod .c-social-team-con a {
  padding-left: 0;
  padding-right: 10px;
}

{# ============================== #}
{#            BUTTONS             #}
{# ============================== #}

.c-card-btn-con {
  padding-top: 30px;
  margin-top: auto;
}

.load-more-row {
  margin-top: 25px;
}

.load-more-btn {
  cursor: pointer;
}

{# ============================== #}
{#         FILTER + SEARCH        #}
{# ============================== #}

.filter-row {
  display: flex;
  flex-wrap: nowrap;
  flex-flow: nowrap !important;
  margin-bottom: 15px;
}

.search-bar {
  margin-left: 15px;
  width: 360px;
}

{# ============================== #}
{#        MOBILE RESPONSIVE       #}
{# ============================== #}

@media (max-width: 575px) {
  .filter-row {
    flex-direction: column;
    flex-flow: wrap !important;
    width: 100%;
    padding-right: 15px;
  }

  .filter-container {
    width: auto !important;
    flex-direction: column;
  }

  .filter-container .select-container {
    width: 100%;
  }

  .search-bar {
    width: auto;
    margin-bottom: 10px;
  }
}

{# ============================== #}
{#    EQUAL-HEIGHT OPACITY CLOAK  #}
{# ============================== #}

.portfolio-grid:not(.vc-heights-ready) .c-card {
  opacity: 0;
}
.portfolio-grid.vc-heights-ready .c-card {
  opacity: 1;
  transition: opacity 0.15s ease-in;
}

.filter-row:has(.timo-filter-tabs) {
  width: 100%;
}
.timo-filter-tabs {
  width: 100%;
  display: flex;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
  
  & button {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    flex: 1;
    border: 0;
    color: #0069b4;
    font-size: 20px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: 0.2s ease-in-out all;
    
    & svg {
      width: 64px;
      height: 64px;
    }
    
    &:hover, &.active {
      border-bottom-color: #0069b4;
      transform: scale(1.15);
      cursor: pointer;
      box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    }
  }
}

@media screen and (max-width: 1200px) {
  .timo-filter-tabs {
    flex-direction: column;
    
    & button {
      &:hover, &.active {
        transform: scale(1);
        background: #cce1f0;
        border-color: transparent;
      }
    }
  }
}
