/* =========================================
   CFRC BEFORE / AFTER PROJECT CARDS
========================================= */

.cfrc-before-after-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 30px;
  overflow: hidden;

  background: #ffffff;

  border: 1px solid #d9dee7;
  border-radius: 18px;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}


/* BEFORE / AFTER IMAGE GRID */

.cfrc-before-after-grid {
  display: flex;
  width: 100%;
}

.cfrc-before-after-panel {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.cfrc-before-panel {
  border-right: 2px solid #ffffff;
}

.cfrc-before-after-image {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}


/* BEFORE / AFTER BADGES */

.cfrc-before-after-badge {
  position: absolute;
  top: 16px;
  z-index: 5;

  padding: 8px 18px;

  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;

  color: #ffffff;

  font-size: 20px;
  font-weight: 800;
  line-height: 1;

  text-transform: uppercase;
  letter-spacing: 0.4px;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.cfrc-badge-before {
  left: 16px;
  background: #24c217;
}

.cfrc-badge-after {
  right: 16px;
  background: #0d4f9e;
}


/* PROJECT INFORMATION BAR */

.cfrc-before-after-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  width: 100%;
  min-height: 66px;

  padding: 13px 24px;

  background: #0d315f;
  color: #ffffff;
}

.cfrc-before-after-project {
  min-width: 0;

  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.cfrc-before-after-location {
  display: flex;
  align-items: center;
  gap: 9px;

  flex: 0 0 auto;

  white-space: nowrap;

  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.cfrc-before-after-pin {
  flex: 0 0 auto;

  width: 24px;
  height: 24px;

  color: #31bf18;
}

.cfrc-before-after-pin svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}


/* TABLET */

@media (max-width: 992px) {

  .cfrc-before-after-image {
    height: 340px;
  }

  .cfrc-before-after-badge {
    font-size: 18px;
    font-weight: 800;

    padding: 7px 16px;

    border-width: 2px;
  }

  .cfrc-before-after-meta {
    min-height: 60px;

    padding: 12px 20px;

    gap: 20px;
  }

  .cfrc-before-after-project,
  .cfrc-before-after-location {
    font-size: 17px;
  }

  .cfrc-before-after-pin {
    width: 22px;
    height: 22px;
  }

}


/* MOBILE */

@media (max-width: 767px) {

  .cfrc-before-after-grid {
    display: block;
  }

  .cfrc-before-after-panel {
    width: 100%;
  }

  .cfrc-before-panel {
    border-right: 0;
    border-bottom: 2px solid #ffffff;
  }

  .cfrc-before-after-image {
    width: 100%;
    height: auto;
  }

  .cfrc-before-after-badge {
    top: 12px;

    font-size: 16px;
    font-weight: 800;

    padding: 7px 14px;

    border-width: 2px;
  }

  .cfrc-badge-before {
    left: 12px;
  }

  .cfrc-badge-after {
    right: 12px;
  }

  .cfrc-before-after-meta {
    padding: 12px 16px;

    gap: 14px;
  }

  .cfrc-before-after-project,
  .cfrc-before-after-location {
    font-size: 15px;
  }

  .cfrc-before-after-pin {
    width: 20px;
    height: 20px;
  }

}


/* SMALL MOBILE */

@media (max-width: 520px) {

  .cfrc-before-after-meta {
    flex-direction: column;
    justify-content: center;

    gap: 6px;

    padding: 12px 14px;

    text-align: center;
  }

  .cfrc-before-after-location {
    justify-content: center;

    font-size: 14px;
    font-weight: 500;
  }

}


/* =========================================
   END CFRC BEFORE / AFTER PROJECT CARDS
========================================= */

/* ==================================================
   CFRC CASE STUDY LANDING PAGE CARDS
   GLOBAL MASTER STYLES
   ================================================== */


/* ========================================
   GRID / COLUMN STRUCTURE
======================================== */

.cfrc-case-grid,
.cfrc-case-grid .fl-row-content-wrap,
.cfrc-case-grid .fl-row-content,
.cfrc-case-grid .fl-col-group,
.cfrc-case-grid .fl-col,
.cfrc-case-grid .fl-col-content,
.cfrc-case-grid .fl-module,
.cfrc-case-grid .fl-module-content,
.cfrc-case-grid .fl-html {
    box-sizing: border-box;
}

.cfrc-case-grid .fl-row-content {
    width: 100%;
    max-width: 100%;
}

.cfrc-case-grid .fl-col-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.cfrc-case-grid .fl-col {
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow: visible;
}

.cfrc-case-grid .fl-col-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.cfrc-case-grid .fl-module-html,
.cfrc-case-grid .fl-module-html .fl-module-content,
.cfrc-case-grid .fl-html {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-width: 0;
    overflow: visible;
}


/* ========================================
   CASE STUDY CARD
======================================== */

.cfrc-case-grid .cfrc-case-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 480px;
    height: 100%;

    margin: 0 auto;

    box-sizing: border-box;

    background: transparent;

    overflow: visible;

    filter: drop-shadow(
        0 5px 9px rgba(0, 0, 0, 0.15)
    );
}


/* ========================================
   PROJECT IMAGE AREA
======================================== */

.cfrc-case-grid .cfrc-case-image {
    position: relative;

    width: 100%;
    height: 270px;

    flex: 0 0 270px;

    overflow: visible;

    z-index: 2;
}


/* ========================================
   MAIN PROJECT PHOTO
======================================== */

.cfrc-case-grid .cfrc-project-photo {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 42px 42px 0 0;

    z-index: 1;
}


/* ========================================
   GENERAL IMAGE OVERLAY
======================================== */

.cfrc-case-grid .cfrc-image-overlay {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    z-index: 10;
}

.cfrc-case-grid .cfrc-image-overlay img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ========================================
   UPPER LEFT INDUSTRY / FACILITY ICON
======================================== */

.cfrc-case-grid .cfrc-industry-badge {
    top: 15px;
    left: 16px;

    width: 70px;
    height: 70px;

    padding: 5px;

    background: #087db9;

    border: 3px solid #ffffff;
    border-radius: 18px;

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.24);

    overflow: hidden;
}


/* ========================================
   LOWER LEFT FULL CLIENT LOGO
   NO DECORATION
======================================== */

.cfrc-case-grid .cfrc-client-logo-badge {
    left: 20px;
    bottom: 16px;

    width: 112px;
    height: 55px;

    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    overflow: visible;
}

.cfrc-case-grid .cfrc-client-logo-badge img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter: none;
}


/* ========================================
   UPPER RIGHT CLIENT BRAND ICON
   BLUE FILL + WHITE SUPPLIED ICON
======================================== */

.cfrc-case-grid .cfrc-brand-icon-badge {
    top: -22px;
    right: -24px;

    width: 78px;
    height: 78px;

    padding: 7px;

    background: #08699b;

    border: 3px solid #ffffff;
    border-radius: 18px;

    box-shadow:
        0 5px 11px rgba(0, 0, 0, 0.26);

    overflow: hidden;

    z-index: 20;
}

.cfrc-case-grid .cfrc-brand-icon-badge img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transform: none;
}


/* ========================================
   LEGACY FACILITY TYPE BADGE
   RETAINED FOR OLDER CARDS
======================================== */

.cfrc-case-grid .cfrc-case-type {
    position: absolute;

    left: 50%;
    bottom: -24px;

    transform: translateX(-50%);

    width: 76%;

    box-sizing: border-box;

    padding: 10px 18px;

    background: #087db9;

    border: 3px solid #ffffff;
    border-radius: 14px;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.15;

    font-weight: 900 !important;

    -webkit-text-stroke: 0.2px currentColor;

    text-align: center;
    text-transform: uppercase;

    letter-spacing: 0.5px;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.2);

    z-index: 5;
}


/* ========================================
   PROJECT HIGHLIGHT BAR
======================================== */

.cfrc-case-grid .cfrc-case-highlight {
    position: relative;

    flex: 0 0 auto;

    box-sizing: border-box;

    background: #ffffff;
    color: #16b900;

    padding: 10px 15px;

    font-size: 21px;
    line-height: 1.1;

    font-style: italic !important;
    font-weight: 900 !important;

    font-synthesis: style weight;

    -webkit-text-stroke: 0.45px currentColor;

    text-shadow:
        0 0 0 currentColor,
        0.2px 0 currentColor,
        -0.2px 0 currentColor;

    text-align: center;
    text-transform: uppercase;

    letter-spacing: 0.8px;

    z-index: 1;

    transform: skew(-1deg);
}


/* ========================================
   BLUE CONTENT AREA
======================================== */

.cfrc-case-grid .cfrc-case-content {
    position: relative;

    flex: 1;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    box-sizing: border-box;

    background: linear-gradient(
        135deg,
        #075487 0%,
        #087fbd 100%
    );

    padding: 25px 30px 26px;

    color: #ffffff;

    text-align: center;

    border-radius: 0 0 42px 42px;

    overflow: hidden;

    z-index: 1;
}


/* ========================================
   CASE STUDY TITLE
======================================== */

.cfrc-case-grid .cfrc-case-content h3 {
    margin: 0 0 22px;

    color: #ffffff !important;

    font-size: 27px;
    line-height: 1.18;

    font-weight: 700;

    text-transform: uppercase;

    overflow-wrap: anywhere;
}


/* ========================================
   DESCRIPTION
======================================== */

.cfrc-case-grid .cfrc-case-content p {
    width: 100%;
    max-width: 410px;

    margin: 0 auto 25px;

    color: #ffffff !important;

    font-size: 17px;
    line-height: 1.45;

    font-weight: 500;

    overflow-wrap: anywhere;
}


/* ========================================
   STATS WRAPPER
======================================== */

.cfrc-case-grid .cfrc-case-stats {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 45px;

    width: 100%;

    margin-top: auto;

    padding: 22px 5px 20px;

    box-sizing: border-box;

    border-top: 3px solid #ffffff;
}


/* ========================================
   INDIVIDUAL STAT
======================================== */

.cfrc-case-grid .cfrc-case-stat {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    flex: 1;

    min-width: 0;
}


/* ========================================
   STAT ICON CIRCLE
======================================== */

.cfrc-case-grid .cfrc-stat-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    box-sizing: border-box;

    border: 4px solid #19c400;
    border-radius: 50%;

    color: #ffffff;
}


/* ========================================
   INLINE SVG ICONS
======================================== */

.cfrc-case-grid .cfrc-stat-icon svg {
    display: block;

    width: 25px !important;
    height: 25px !important;

    max-width: 25px !important;
    max-height: 25px !important;

    fill: none !important;

    stroke: #ffffff !important;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ========================================
   STAT TEXT
======================================== */

.cfrc-case-grid .cfrc-stat-text {
    display: flex;

    flex-direction: column;
    align-items: flex-start;

    min-width: 0;

    color: #ffffff;

    line-height: 1.05;

    text-align: left;
    text-transform: uppercase;
}

.cfrc-case-grid .cfrc-stat-text strong {
    color: #ffffff;

    font-size: 23px;
    line-height: 1;

    font-weight: 800;
}

.cfrc-case-grid .cfrc-stat-text span {
    margin-top: 4px;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.05;

    font-weight: 700;
}


/* ========================================
   VIEW CASE STUDY BUTTON
======================================== */

.cfrc-case-grid .cfrc-case-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    align-self: center;

    gap: 13px;

    min-width: 235px;

    margin: 3px auto 0;

    padding: 10px 24px;

    box-sizing: border-box;

    background: #16c900;

    border: 2px solid #ffffff;
    border-radius: 999px;

    color: #ffffff !important;

    font-size: 18px;
    line-height: 1.1;

    font-weight: 900 !important;

    -webkit-text-stroke: 0.2px currentColor;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.cfrc-case-grid .cfrc-case-button:hover {
    background: #13ad00;

    color: #ffffff !important;

    transform: translateY(-2px);

    text-decoration: none !important;
}


/* ========================================
   BUTTON ARROW
======================================== */

.cfrc-case-grid .cfrc-button-arrow {
    display: inline-block;

    width: 10px;
    height: 10px;

    flex: 0 0 10px;

    border-top: 4px solid #ffffff;
    border-right: 4px solid #ffffff;

    transform: rotate(45deg);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 992px) {

    .cfrc-case-grid .cfrc-case-image {
        height: 240px;
        flex-basis: 240px;
    }

    .cfrc-case-grid .cfrc-industry-badge {
        width: 64px;
        height: 64px;

        top: 12px;
        left: 12px;
    }

    .cfrc-case-grid .cfrc-client-logo-badge {
        width: 104px;
        height: 51px;

        left: 16px;
        bottom: 13px;
    }

    .cfrc-case-grid .cfrc-brand-icon-badge {
        width: 70px;
        height: 70px;

        top: -17px;
        right: -18px;

        padding: 6px;

        border-width: 3px;
    }

    .cfrc-case-grid .cfrc-case-highlight {
        font-size: 19px;
    }

    .cfrc-case-grid .cfrc-case-content h3 {
        font-size: 24px;
    }

    .cfrc-case-grid .cfrc-case-content p {
        font-size: 16px;
    }

    .cfrc-case-grid .cfrc-case-stats {
        gap: 20px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .cfrc-case-grid,
    .cfrc-case-grid .fl-row-content-wrap,
    .cfrc-case-grid .fl-row-content,
    .cfrc-case-grid .fl-col-group,
    .cfrc-case-grid .fl-col,
    .cfrc-case-grid .fl-col-content,
    .cfrc-case-grid .fl-module-html,
    .cfrc-case-grid .fl-module-html .fl-module-content,
    .cfrc-case-grid .fl-html {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box;
    }

    .cfrc-case-grid .fl-col-group,
    .cfrc-case-grid .fl-col,
    .cfrc-case-grid .fl-col-content,
    .cfrc-case-grid .fl-module-html,
    .cfrc-case-grid .fl-module-html .fl-module-content,
    .cfrc-case-grid .fl-html {
        display: block !important;
    }


    /* CARD */

    .cfrc-case-grid .cfrc-case-card {
        width: calc(100% - 32px);
        max-width: 430px;
        height: auto;

        margin: 0 auto;
    }


    /* IMAGE */

    .cfrc-case-grid .cfrc-case-image {
        width: 100%;

        height: auto;
        aspect-ratio: 16 / 9;

        flex-basis: auto;
    }

    .cfrc-case-grid .cfrc-project-photo {
        border-radius: 30px 30px 0 0;
    }


    /* UPPER LEFT INDUSTRY ICON */

    .cfrc-case-grid .cfrc-industry-badge {
        top: 9px;
        left: 9px;

        width: 56px;
        height: 56px;

        padding: 4px;

        border-width: 3px;
        border-radius: 15px;
    }


    /* LOWER LEFT CLIENT LOGO */

    .cfrc-case-grid .cfrc-client-logo-badge {
        left: 11px;
        bottom: 9px;

        width: 92px;
        height: 45px;

        padding: 0;

        background: transparent;
        border: 0;
        box-shadow: none;
    }


    /* UPPER RIGHT BRAND ICON */

    .cfrc-case-grid .cfrc-brand-icon-badge {
        top: -10px;
        right: -9px;

        width: 62px;
        height: 62px;

        padding: 5px;

        background: #08699b;

        border: 3px solid #ffffff;
        border-radius: 15px;
    }


    /* PROJECT HIGHLIGHT */

    .cfrc-case-grid .cfrc-case-highlight {
        padding: 10px 12px;

        font-size: 17px;

        font-style: italic !important;
        font-weight: 900 !important;

        -webkit-text-stroke: 0.4px currentColor;
    }


    /* BLUE CONTENT */

    .cfrc-case-grid .cfrc-case-content {
        width: 100%;

        padding: 24px 18px 24px;

        box-sizing: border-box;

        border-radius: 0 0 30px 30px;
    }


    /* TITLE */

    .cfrc-case-grid .cfrc-case-content h3 {
        font-size: 21px;
        line-height: 1.2;

        margin-bottom: 20px;
    }


    /* DESCRIPTION */

    .cfrc-case-grid .cfrc-case-content p {
        width: 100%;
        max-width: 100%;

        font-size: 16px;
        line-height: 1.45;

        margin-bottom: 24px;
    }


    /* STATS */

    .cfrc-case-grid .cfrc-case-stats {
        width: 100%;

        gap: 10px;

        margin-top: 22px;

        padding: 18px 0 18px;

        box-sizing: border-box;
    }

    .cfrc-case-grid .cfrc-case-stat {
        gap: 7px;
    }

    .cfrc-case-grid .cfrc-stat-icon {
        width: 42px;
        height: 42px;

        flex: 0 0 42px;

        border-width: 3px;
    }

    .cfrc-case-grid .cfrc-stat-icon svg {
        width: 19px !important;
        height: 19px !important;

        max-width: 19px !important;
        max-height: 19px !important;
    }

    .cfrc-case-grid .cfrc-stat-text strong {
        font-size: 17px;
    }

    .cfrc-case-grid .cfrc-stat-text span {
        font-size: 12px;
    }


    /* BUTTON */

    .cfrc-case-grid .cfrc-case-button {
        min-width: 0;

        max-width: calc(100% - 20px);

        padding: 10px 22px;

        font-size: 16px;
    }
}


/* ========================================
   WIDE CLIENT LOGOS
   For horizontal client logos that need
   additional visual size
======================================== */

.cfrc-client-logo-badge.cfrc-client-logo-wide {
    width: 250px;
    max-width: 42%;
}

.cfrc-client-logo-badge.cfrc-client-logo-wide img {
    width: 100%;
    height: auto;
    max-height: none;

    object-fit: contain;
}

@media (max-width: 768px) {

    .cfrc-client-logo-badge.cfrc-client-logo-wide {
        width: 210px;
        max-width: 48%;
    }
}


/* ========================================
   DARK PROJECT IMAGE VARIANT
   Used ONLY on cards whose HTML includes:
   cfrc-case-card-dark-image

   Light 14% overlay improves visibility
   of white client logos without making
   the project photo look heavily shaded.
======================================== */

.cfrc-case-grid
.cfrc-case-card-dark-image
.cfrc-case-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.14);

    border-radius: 42px 42px 0 0;

    z-index: 2;

    pointer-events: none;
}


/* Keep ALL image logos/icons above overlay */

.cfrc-case-grid
.cfrc-case-card-dark-image
.cfrc-image-overlay {
    z-index: 10;
}


/* Upper-right logo always stays highest */

.cfrc-case-grid
.cfrc-case-card-dark-image
.cfrc-brand-icon-badge {
    z-index: 20;
}


/* Mobile radius for dark image overlay */

@media (max-width: 600px) {

    .cfrc-case-grid
    .cfrc-case-card-dark-image
    .cfrc-case-image::after {
        border-radius: 30px 30px 0 0;
    }

}


/* ==================================================
   END CFRC CASE STUDY LANDING PAGE CARDS
   ================================================== */

.badge-overlay-row .fl-row-content-wrap {
  position: relative;
  overflow: visible;
}

.center-badge {
  position: absolute;
  top: 50%;
  left: 48%;
  transform: translate(-45%, -54%);
  z-index: 99;
  width: 220px;
}

.center-badge img {
  width: 100%;
  height: auto;
}

/* ===== DESKTOP LOGO (tighter) ===== */
.wpbf-logo a {
    display: inline-block;
    background: #ffffff !important;
    padding: 6px !important; /* reduced from 12px */
    border-radius: 14px !important;
    box-shadow:
        0 0 0 10px #0F73B8,
        0 0 0 14px #4CA830,
        0 4px 12px rgba(24, 55, 88, .15) !important;
}

.wpbf-logo img {
    display: block;
    border-radius: 8px !important; /* tighter inside */
    box-shadow: none !important;
    border: none !important;
}


/* ===== MOBILE LOGO (tighter) ===== */
.wpbf-mobile-logo a {
    display: inline-block;
    background: #ffffff !important;
    padding: 0px !important;
    border-radius: 10px !important;
    border: none !important;
    outline: none !important;
    box-shadow:
        0 0 0 7px #0F73B8,
        0 0 0 11px #4CA830,
        0 3px 8px rgba(24, 55, 88, .15) !important;
}

.wpbf-mobile-logo img,
.wpbf-mobile-logo a img {
    display: block;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
    border-radius: 6px !important;
}

/* ===== CLEANUP (keep this) ===== */
.wpbf-logo,
.wpbf-logo-container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.cfrc-badge-logo {
    display: inline-block;
    background: #ffffff;
    padding: 6px;
    border-radius: 14px;
    box-shadow:
        0 0 0 10px #0F73B8,
        0 0 0 14px #4CA830,
        0 4px 12px rgba(24, 55, 88, .15);
}

.cfrc-badge-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    border-radius: 8px;
    background: transparent;
}

/* ===== FOOTER BADGE LOGO ===== */
.cfrc-badge-logo--footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;

    width: 200px; /* adjust size here */
    aspect-ratio: 1 / 1;

    background: #ffffff;
    padding: 3px;
    border-radius: 12px;

    box-shadow:
        0 0 0 6px #0F73B8,
        0 0 0 10px #4CA830,
        0 3px 8px rgba(24, 55, 88, .15);
}

/* IMAGE INSIDE BADGE */
.cfrc-badge-logo--footer img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    display: block;
    border-radius: 8px;

    box-shadow: none !important;
    border: none !important;
}

/* ===== ENSURE CENTERING IN BEAVER BUILDER ===== */
.fl-module-photo.cfrc-badge-logo--footer {
    text-align: center;
}

.fl-module-photo.cfrc-badge-logo--footer .fl-photo {
    display: flex;
    justify-content: center;
}

.gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	min-height:46px !important;
}

.gform-theme--foundation .gform_fields {
    grid-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 20px !important;
    display: grid;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(auto-fill,auto);
    inline-size: 100%;
    grid-row-gap: 20px;
    row-gap: 20px;
}

/* Bold only where you used strong/b (incl. Beaver modules) */
.fl-rich-text strong,
.fl-module-content strong,
.fl-rich-text b,
.fl-module-content b {
  font-weight: 700 !important;
}
.fl-module-content strong,
.fl-rich-text b,
.fl-module-content b {
  font-weight: 700 !important;
}


/* Gallery Page */
.fl-module.fl-module-rich-text.gallery-description {display: flex; justify-content: center;}

.gallery-description .fl-module-content.fl-node-content {
    padding: 15px 24px;
    background: #EFEFEF;
    border-radius: 0 0 40px 40px;
}

.gallery-description .fl-module-content.fl-node-content p{
    font-weight: 600 !important;
}

@media screen and (max-width: 767px){.gallery-description img {
    width: 20px;
    height: 20px;
}}