/* DEFINITIVEFX custom layer. Loaded on every page after the theme styles. */

/* portfolio grid: fluid, fills the window at any width, 1px gaps */
body .portfolio-items[data-col-num="elastic"]{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:1px!important;
  position:static!important;height:auto!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;overflow:visible!important;
}
body .portfolio-items[data-col-num="elastic"]::before,
body .portfolio-items[data-col-num="elastic"]::after{display:none!important;content:none!important}
body .portfolio-items[data-col-num="elastic"] .col.elastic-portfolio-item{
  position:relative!important;left:auto!important;top:auto!important;
  right:auto!important;bottom:auto!important;transform:none!important;
  width:auto!important;max-width:none!important;height:auto!important;
  margin:0!important;padding:0!important;float:none!important;opacity:1!important;
}
body .portfolio-items[data-col-num="elastic"] .col.elastic-portfolio-item .work-item,
body .portfolio-items[data-col-num="elastic"] .col.elastic-portfolio-item .work-item img{width:100%!important}
@keyframes dfxFadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
body .portfolio-items .inner-wrap.animated{opacity:1!important;animation:dfxFadeIn .6s cubic-bezier(.2,.7,.3,1) both}
body .fw-pagination.infinite_scroll,body .portfolio-loading,body .loading-icon{display:none!important}
@media (max-width:1300px){body .portfolio-items[data-col-num="elastic"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:900px){body .portfolio-items[data-col-num="elastic"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:600px){body .portfolio-items[data-col-num="elastic"]{grid-template-columns:minmax(0,1fr)!important}}

/* project intro text */
body .dfx-intro{max-width:1080px;margin:0 auto 34px!important;text-align:left}
body .dfx-intro h1{
  font-size:30px!important;line-height:1.25!important;font-weight:700!important;
  letter-spacing:0!important;margin:0 0 14px!important;color:#fff!important;
  text-transform:none!important;opacity:1!important}
body .dfx-intro p{font-size:15px!important;line-height:28px!important;
  color:#c7c7ce!important;margin:0 0 10px!important;max-width:780px;opacity:1!important}
body .dfx-intro p.dfx-tools{font-size:13px!important;line-height:22px!important;color:#8a8a93!important}
@media (max-width:700px){body .dfx-intro h1{font-size:23px!important}}

/* intro sits under the video */
body .dfx-intro{margin-top:30px!important}

/* heading: small caps label under the video */
body .dfx-intro h1{
  font-size:13px!important;line-height:1!important;font-weight:500!important;
  letter-spacing:.24em!important;text-transform:uppercase!important;color:#fff!important;
  margin:0 0 16px!important;padding-bottom:14px!important;
  border-bottom:1px solid #26262c!important;display:block!important;max-width:780px}
@media (max-width:700px){body .dfx-intro h1{font-size:12px!important;letter-spacing:.2em!important}}
