.text-white {
  color: #fff !important;
}
.tabs-portfolio ul.tabs {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  margin-top: 10px;
}
.tabs-portfolio ul.tabs li {
  margin: 0 5px;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 10px 20px !important;
  border: 1px dashed #d4d9de !important;
  text-transform: uppercase !important;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  display: inline-block !important;
}
.tabs-portfolio ul.tabs li.active {
  background-color: #f6115a !important;
  border-color: #f6115a !important;
  color: #fff !important;
}
.tabs-portfolio ul.tabs li:hover {
  border: 1px dashed #f6115a !important;
}
.portfolio-content img {
  width: 100% !important;
  min-height: 375px !important;
  max-height: 375px;
  height: 100% !important;
  object-position: center;
  object-fit: cover;
}
.portfolio-content {
  position: relative;
  width: 100%;
  min-height: 375px;
  max-height: 375px;
  height: 100% !important;
  margin: auto;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.tabs-portfolio .portfolio-content .content-overlay {
  position: absolute;
  max-height: 375px;
  max-height: 375px;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
  opacity: 0;
}
.tabs-portfolio .portfolio-content.portfolio-style1 .content-overlay {
  background: transparent
    linear-gradient(181deg, rgba(4, 16, 28, 0.2) 0%, rgba(4, 16, 28, 0.7) 100%)
    0% 0% no-repeat padding-box !important;
}
.tabs-portfolio .portfolio-content.portfolio-style2 .content-overlay {
  background: transparent
    linear-gradient(180deg, rgba(48, 78, 109, 1) 0%, rgba(13, 40, 67, 1) 100%)
    0% 0% no-repeat padding-box !important;
}

.tabs-portfolio .portfolio-content .tab-content-absolute {
  position: absolute;
  text-align: center;
  width: 100%;
  opacity: 0;
  padding: 0 20px;
}
.tabs-portfolio .portfolio-content.portfolio-style1 .tab-content-absolute {
  bottom: 10%;
  left: 0;
  right: 0;
}
.tabs-portfolio .portfolio-content.portfolio-style2 .tab-content-absolute {
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
}

.portfolio-content:hover .content-overlay {
  opacity: 1;
}
.portfolio-content:hover .tab-content-absolute {
  opacity: 1;
}
.tabs-portfolio .content-title {
  margin-bottom: 10px;
  font-weight: 600;
}
.tabs-portfolio .content-desc {
  margin-bottom: 10px;
}
.tabs-portfolio a.content-link {
  color: #fff !important;
  text-decoration: none !important;
}
.tabs-portfolio a.content-link:focus {
  outline: none !important;
}
.tab_accordion_heading {
  display: none;
}

.tabs-portfolio .portfolio-flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex !important;
  flex-flow: row wrap !important;
  -moz-flex-flow: row wrap !important;
  -webkit-flex-flow: row wrap !important;
  -o-flex-flow: row wrap !important;
  justify-content: flex-start;
  width: 100%;
  padding-top: 20px;
}
.tabs-portfolio .flex-item {
  flex-basis: 33.33%;
  -moz-flex-basis: 33.33%;
  -webkit-flex-basis: 33.33%;
  -o-flex-basis: 33.33%;
  padding: 10px;
}
@media (max-width: 950px) {
  .tabs-portfolio .flex-item {
    flex-basis: 50%;
    -moz-flex-basis: 50%;
    -webkit-flex-basis: 50%;
    -o-flex-basis: 50%;
    padding: 15px;
  }
  ul.tabs li {
    margin: 10px;
    padding: 10px 30px;
  }
}
@media (max-width: 550px) {
  .tabs-portfolio .flex-item {
    flex-basis: 100%;
    -moz-flex-basis: 100%;
    -webkit-flex-basis: 100%;
    -o-flex-basis: 100%;
    padding: 15px;
  }
  .portfolio-content {
    position: relative;
    width: 100%;
    min-height: 280px !important;
    height: 100% !important;
  }
  .tabs-portfolio .portfolio-content .tab-content-absolute {
    padding: 0 20px;
  }
}
.border-content {
  border: 3px double #fff;
  position: absolute;
  top: 230px;
  left: 15px;
  right: 15px;
  bottom: 15px !important;
  display: table-cell;
  opacity: 0;
  background-color: color-mix(in srgb, #f6115a, transparent 50%);
  border-radius: 3px;
}
.portfolio-content:hover .border-content {
  opacity: 1 !important;
}
