/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here...Remember to change the Version number above! */

/* Smooth background transition */
.hero-callout-card > .fl-col-content {
    transition: background-color 0.25s ease;
}

/* Red card background */
.hero-callout-card:hover > .fl-col-content {
    background-color: #E91520 !important;
}

/* White headings, descriptions, links and icons */
.hero-callout-card:hover .fl-callout-title,
.hero-callout-card:hover .fl-callout-title-text,
.hero-callout-card:hover .fl-callout-text,
.hero-callout-card:hover .fl-callout-text p,
.hero-callout-card:hover .fl-callout-cta-link,
.hero-callout-card:hover .fl-icon i,
.hero-callout-card:hover .fl-icon i::before {
    color: #FFFFFF !important;
}

/* Same effect when a keyboard user focuses a card link */
.hero-callout-card:focus-within > .fl-col-content {
    background-color: #E91520 !important;
}

.hero-callout-card:focus-within .fl-callout,
.hero-callout-card:focus-within .fl-callout * {
    color: #FFFFFF !important;
}

.hero-main-title {
    max-width: 700px;
}

.hero-intro-text {
    max-width: 480px;
}

/* Remove default paragraph spacing */
.hero-intro-text p {
    margin: 0;
}

/* Let the heading wrap naturally on phones */
@media (max-width: 767px) {
    .hero-main-title br {
        display: none;
    }
}


@media (max-width: 767px) {

  /* Let the complete row grow with the stacked cards */
  .hero-background-row > .fl-row-content-wrap {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-image: none !important;
    background-color: #f6f6f2 !important;
  }

  /* Remove the row-wide overlay on mobile */
  .hero-background-row > .fl-row-content-wrap::after {
    display: none !important;
  }

  /* Background behind the heading and introduction only */
  .hero-background-row .fl-node-rzkqvgsfc695 {
    box-sizing: border-box;
    min-height: 450px;
    padding: 35px 20px;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
      url("/wp-content/uploads/2026/10/Hero-Banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Callouts below the image */
  .hero-background-row .fl-node-qb0gw9ut23zn {
    padding: 20px;
    background: #f6f6f2;
  }

  .hero-background-row .hero-callout-card + .hero-callout-card {
    margin-top: 20px !important;
  }
}


/* ==========================================
 HEADING
========================================== */

/* Page heading */
h1.page-intro {
  color: #541D3D !important;
  font-size: 54px;
  font-weight: 300;
  line-height: 1.15;
}

/* Description below the heading */
.page-description p {
  color: #505762;
  font-size: 20px;
  line-height: 1.65;
}

/* Tablet */
@media (max-width: 991px) {
  h1.page-intro {
    font-size: 46px;
  }

  .page-description p {
    font-size: 19px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  h1.page-intro {
    font-size: 38px;
  }

  .page-description p {
    font-size: 17px;
  }
}
/* ==========================================
   SECTION
========================================== */


/* Section heading bar */
.section-heading {
  margin-bottom: 0;
  padding: 16px 20px;
  background: #541D3D;
  border-radius: 8px 8px 0 0;
}

.section-heading .fl-heading {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Section menu */
.section-menu {
  overflow: hidden;
  background: #fff;
  border: 1px solid #E0E2E5;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.section-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-menu li {
  margin: 0;
  border-top: 1px solid #ECEDEF;
}

.section-menu li:first-child {
  border-top: 0;
}

/* Normal links */
.section-menu li a {
  display: block;
  padding: 16px 20px;
  border-left: 4px solid transparent;
  color: #555B65;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
}

/* Hover and keyboard focus */
.section-menu li a:hover,
.section-menu li a:focus {
  border-left-color: #E52E36;
  background: #F1F2F4;
  color: #541D3D;
}

/* Current page */
.section-menu li.current-menu-item > a,
.section-menu li.current_page_item > a {
  border-left-color: #E52E36;
  background: #F1F2F4;
  color: #541D3D;
  font-weight: 700;
}

/* ==========================================
CSS for displaying files in the webpage
========================================== */

/* Transparent library background */
.forms-resources-list .dlp-dataview,
.forms-resources-list .barn2-dataview.data-view,
.forms-resources-list .dataview-container,
.forms-resources-list .data-table {
  background: transparent !important;
}

/* Table layout and spacing between document cards */
.forms-resources-list .dlp-dataview .data-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 14px !important;
}

.forms-resources-list .dlp-dataview .table-header {
  display: none !important;
}

.forms-resources-list .dlp-dataview .col-image {
  display: none !important;
}

/* Each document card */
.forms-resources-list .dlp-dataview .table-row {
  position: relative;
  display: grid !important;
  grid-template-columns: max-content max-content minmax(0, 1fr) 48px !important;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 82px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e2e5e9;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.05);
  margin:20px;
}

.forms-resources-list .dlp-dataview .table-row > .table-cell {
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* Title and file icon */
.forms-resources-list .dlp-dataview .col-title {
  grid-column: 1 / 4;
  grid-row: 1;
  min-width: 0;
  padding: 0 0 0 62px !important;
}

.forms-resources-list .dlp-dataview .col-title a {
  display: block;
  width: 100%;
  color: #292d32;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.forms-resources-list .dlp-dataview .col-title a::before {
  content: "PDF";
  position: absolute;
  top: 50%;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid #e0e4e9;
  border-radius: 6px;
  background: #f7f8fa;
  color: #d54848;
  font-size: 10px;
  font-weight: 700;
}

/* Word icon for rows with the file_type-docx class */
.forms-resources-list .dlp-dataview .table-row.file_type-docx .col-title a::before {
  content: "W";
  color: #2b65b1;
  font-size: 17px;
}

/* PDF file icon */
.forms-resources-list .dlp-dataview .table-row.file_type-pdf
.col-title a::before {
  content: "" !important;
  background-color: #f7f8fa !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath d='M5 1.5h9l5 5v18H5z' fill='white' stroke='%23737b85' stroke-width='1.5'/%3E%3Cpath d='M14 1.5v5h5' fill='none' stroke='%23737b85' stroke-width='1.5'/%3E%3Ctext x='6' y='19' font-family='Arial,sans-serif' font-size='5.5' font-weight='700' fill='%23737b85'%3EPDF%3C/text%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 22px 24px !important;
}

/* Word file icon */
.forms-resources-list .dlp-dataview .table-row.file_type-docx
.col-title a::before {
  content: "" !important;
  background-color: #f7f8fa !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath d='M5 1.5h9l5 5v18H5z' fill='white' stroke='%23737b85' stroke-width='1.5'/%3E%3Cpath d='M14 1.5v5h5' fill='none' stroke='%23737b85' stroke-width='1.5'/%3E%3Ctext x='8' y='19' font-family='Arial,sans-serif' font-size='9' font-weight='700' fill='%232b65b1'%3EW%3C/text%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 22px 24px !important;
}

.forms-resources-list .dlp-dataview
.table-row.file_type-xlsx .col-title a::before,
.forms-resources-list .dlp-dataview
.table-row.file_type-xls .col-title a::before {
  content: "" !important;
  background-color: #f7f8fa !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath d='M5 1.5h9l5 5v18H5z' fill='white' stroke='%23737b85' stroke-width='1.5'/%3E%3Cpath d='M14 1.5v5h5' fill='none' stroke='%23737b85' stroke-width='1.5'/%3E%3Ctext x='8' y='19' font-family='Arial,sans-serif' font-size='9' font-weight='700' fill='%232e8b57'%3EX%3C/text%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 22px 24px !important;
}

/* File type and size on the same line */
.forms-resources-list .dlp-dataview .col-file_type,
.forms-resources-list .dlp-dataview .col-file_size {
  grid-row: 2;
  align-self: start;
  padding: 3px 0 0 !important;
  color: #767d86;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.forms-resources-list .dlp-dataview .col-file_type {
  grid-column: 1;
  margin-left: 62px !important;
}

.forms-resources-list .dlp-dataview .col-file_size {
  grid-column: 2;
  margin-left: 8px !important;
}

.forms-resources-list .dlp-dataview .col-file_size .cell-content::before {
  content: "•";
  margin-right: 6px;
}

/* Download button */
.forms-resources-list .dlp-dataview .col-link {
  grid-column: 4;
  grid-row: 1 / 3;
  justify-self: end;
  padding: 0 !important;
}

.forms-resources-list .dlp-dataview .dlp-download-link {
  color: #737b85;
}

.forms-resources-list .barn2-dataview table.data-table {
  border-bottom: none !important;
}

.forms-resources-list .dlp-dataview .col-file_size .cell-content > div {
  display: inline !important;
  white-space: nowrap;
}

.forms-resources-list .dlp-dataview .col-file_size .cell-content::before {
  display: inline;
  margin-right: 6px;
}

/* Smaller screens */
@media (max-width: 600px) {
  .forms-resources-list .dlp-dataview .table-row {
    padding: 12px;
  }

  .forms-resources-list .dlp-dataview .col-title {
    padding-left: 54px !important;
  }

  .forms-resources-list .dlp-dataview .col-title a::before {
    left: 12px;
    width: 36px;
    height: 44px;
  }

  .forms-resources-list .dlp-dataview .col-file_type {
    margin-left: 54px !important;
  }
}