/*
Theme Name:   Bricks Child
Description:  Child theme for Bricks
Author:       Prevu3D
Template:     bricks
Version:      1.0.0
Text Domain:  bricks-child
*/

.is-visisble {
  display: block !important;
}

.is-hidden {
  display: none !important;
}

.hbspt-form .legal-consent-container .field.hs-form-field {
  margin-bottom: 0;
}

.hbspt-form .hs-recaptcha {
  position: absolute !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.hbspt-form .hs-richtext {
  padding-top: 20px; /* from getRem(20) */
  font-size: 12px;
  line-height: 1.75;
  font-weight: 400;
  color: rgba(0,0,0,0.5);
}

.hbspt-form .hs-richtext p {
  color: #9e9d9d;
}

.hbspt-form .hs-richtext * {
  font-size: inherit;
  line-height: inherit;
}

.hbspt-form ul li {
  padding-left: 0;
}

.hbspt-form ul li::before {
  content: unset;
}

.hbspt-form .hs-error-msgs {
  list-style-type: none;
  padding-left: 0px;
  margin-top: 0;
}

.hbspt-form .hs-error-msg {
  margin-top: 0;
  color: black;
  font-size: 12px;
}

.hbspt-form .hs-form-booleancheckbox-display {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hbspt-form .legal-consent-container .hs-dependent-field {
  margin-top: 2rem;
}

.hbspt-form .legal-consent-container .hs-form-booleancheckbox-display > span {
  font-weight: 400;
  font-size: 16px; /* from $font-size-16 */
  line-height: 1.4;
  margin-left: 0;
  width: 90%;
  display: flex;
  align-items: flex-end;
}

.hbspt-form .legal-consent-container .hs-form-booleancheckbox-display > span span {
  width: 5px;
  color: red;
}

@media (max-width: 575.98px) {
  .hbspt-form .legal-consent-container .hs-form-booleancheckbox-display > span {
    font-size: 16px; /* xs-down */
  }
}

.hbspt-form .legal-consent-container .hs-form-booleancheckbox-display > span * {
  font-size: inherit;
  line-height: inherit;
  width: 100%;
  display: block;
}

.hbspt-form .input {
  border-width: 0px;
  padding: 0px;
}

.hbspt-form .hs-input {
  margin: 0;
  font-size: 16px; /* from $font-size-16 */
  line-height: 1.75;
}

.hbspt-form .hs-input[type="checkbox"] {
  width: 18px;  /* from getRem(18) */
  height: 18px;
  margin-right: 10px; /* from getRem(10) */
}

.hbspt-form .hs-button {
    font-size: 1rem;
    line-height: 25px;
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #196bf7;
    font-weight: 600;
    padding: .4375rem .9375rem;
    border-radius: 20px;
    border-width: 1px;
    border-color: #196bf7;
    transition: color .5s ease, background-color .5s ease, border .5s ease, box-shadow .5s ease;
  appearance: none;
  color: #fff; /* from $white */
  margin-top: 40px; /* from getRem(40) */
  cursor: pointer;
}

.hbspt-form .hs-button:hover {
    color: #196bf7;
    background-color: #fff;
    border-color: #196bf7;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.hbspt-form input[type=text],  .hbspt-form input[type=email],  .hbspt-form input[type=password], .hbspt-form input[type=tel], .hbspt-form select, .hbspt-form textarea {
    padding-left: 0;
    padding-top: 0;
    border: unset;
    border-bottom: 1px solid #000;
    width: 100%;
    outline: 0;
    font-weight: 400;
    border-radius: 0 !important;
    appearance: none !important;
    background-color: transparent;
    letter-spacing: .5px;
    padding-bottom: .3125rem;
    border-color: #9e9d9d;
    color: black;
}

.hbspt-form select.is-placeholder {
  color: rgba(0,0,0,0.5);
}

.hbspt-form input[type=text]:focus,  .hbspt-form input[type=email]:focus,  .hbspt-form input[type=password]:focus,  .hbspt-form input[type=tel]:focus, .hbspt-form select:focus, .hbspt-form textarea:focus {
    outline: 0;
    border-bottom-color: #196bf7;
}

.hbspt-form .hs-form-field + .hs-form-field {
  margin-top: 1.525rem;
}

.hbspt-form input::placeholder, .hbspt-form textarea::placeholder {
    color: rgba(0,0,0,0.5);
}

/* Rich text content */
main section .brxe-container .brxe-text ul,
main section .brxe-container .brxe-text ol,
.wp-block-list {
  padding-left: 0;
  list-style: none;
}

/* Spacing before lists inside rich text */
main section .brxe-container .brxe-text * + ul,
main section .brxe-container .brxe-text * + ol {
  margin-top: 1.25rem;
}

/* Shared list item styles */
main section .brxe-container .brxe-text ul li,
main section .brxe-container .brxe-text ol li,
.wp-block-list li {
  position: relative;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  margin-top: 1.25rem;
}

/* Unordered list items */
main section .brxe-container .brxe-text ul li,
.wp-block-list li {
  padding-left: 2.5rem;
margin-top: 1.25rem;
}

main section .brxe-container .brxe-text ul li::before,
.wp-block-list li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  display: inline-block;
  width: 28px;
  height: 16px;
  background: url(//www.prevu3d.com/wp-content/themes/bricks-child/assets/images/icons/arrow-right-short_8aae673f.svg)
    no-repeat 0 / 22px;
}

/* Ordered list items */
main section .brxe-container .brxe-text ol {
  counter-reset: ol-counter;
}

main section .brxe-container .brxe-text ol li {
  padding-left: 0.5rem;
  counter-increment: ol-counter;
}

main section .brxe-container .brxe-text ol li::before {
  content: counter(ol-counter) ".";
  position: static;
  width: auto;
  height: auto;
  padding-right: 3px;
  color: inherit;
  vertical-align: baseline;
  background: none;
}

/* Heading links */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #196bf7;
}

/* Bricks list */
.brxe-list .content {
  align-items: flex-start;
}

.brxe-list .icon {
  padding-top: 3px;
}

/* Text links */
.brxe-text a:not(.btn-chevron) {
  color: var(--Blue) !important;
}

/* Blockquotes */
.brxe-text blockquote,
.wp-block-quote {
  position: relative;
  margin-top: var(--space-s);
  margin-bottom: var(--space-s);
  padding: 5rem 3.75rem;
  border-left: 0;
  background-color: var(--Blue);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
}

.brxe-text blockquote::before,
.brxe-text blockquote::after,
.wp-block-quote::before,
.wp-block-quote::after {
  content: "";
  position: absolute;
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  background: url(//www.prevu3d.com/wp-content/themes/bricks-child/assets/images/icons/quote_white_2bb78605.svg)
    no-repeat 50% / 100% auto;
}

.brxe-text blockquote::before,
.wp-block-quote::before {
  top: 1.25rem;
  left: 1.5625rem;
}

.brxe-text blockquote::after,
.wp-block-quote::after {
  right: 1.5625rem;
  bottom: 1.25rem;
  transform: rotate(180deg);
}

/* Upper title */
.brxe-text .upper-title,
.brxe-heading.upper-title {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.125rem;
  text-align: center;
  text-transform: uppercase;
}

/* Chevron button link */
.brxe-text a.btn-chevron {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.brxe-text a.btn-chevron::after {
  content: "";
  width: 0.375rem;
  height: 0.6875rem;
  margin-left: 0.5625rem;
  background: url(//www.prevu3d.com/wp-content/themes/bricks-child/assets/images/icons/chevron-right-blue_bdf042e4.svg)
    no-repeat;
  transition: transform 0.5s;
}

.brxe-text a.btn-chevron:hover::after {
  transform: translateX(3px);
}

/* Ported over from Bricks CSS settings, should be recategorized to above sections */
main section .brxe-container .brxe-text ul li{
  margin-bottom: 1.3rem;
}

.hs-error-msg, .hs-error-msgs, .hs-error-msgs label {
  color: #ff0000 !important;
}

html {
  scroll-behavior: smooth;
}

/* FIXED: !important position */
.bricks-button.lg {
  font-weight: 500 !important;
}

.hbspt-form ul li {
  padding-left: 0px !important;
}
.hbspt-form ul li::before {
  content: unset !important;
}

.hbspt-form .hs-form-field label,
.hbspt-form .hs-richtext p  {
  color: black;
}

.hbspt-form .hs_firstname,
.hbspt-form .hs-dependent-field {
  margin-top: 1.5rem;
}

.search-wrapper .search-input-wrapper input {
  height: 100%;
}

table td {
  padding: .9375rem;
  border: 1px solid #000;
  border-collapse: collapse;
}
table {
  border-collapse: collapse;
}

.container-fluid{
  width: 100%;
}

@media (min-width: 991px) {
  .brxe-section.has-bg-video {
    background-image: none !important;
  }
}

/* FIXED: was `width: 100vw !important` — 100vw includes scrollbar width and
   was forcing horizontal overflow on any section using a background video.
   Changed to 100% so it respects its parent container instead. */
.brxe-section.has-bg-video video{
  width: 100% !important;
  object-fit: cover !important;
}

.header-card {
  display: inline !important;
}

.header-card .icon{
  display: inline-block !important;
  transition: ease-in-out 0.3s;
  color: var(--Blue) !important;
  fill: var(--Blue) !important;
  margin-left: 5px;
  height: 8px;
  width: 12px;
}
.header-card .icon i{
  height: 8px;
  width: 12px;
}

.header-card:hover .icon{
  margin-left: 8px;
}

@media (max-width: 991px) {
  .no-video-mobile video{
    display: none;
  }
}

.brxe-accordion-nested .accordion-title-wrapper{
  flex-wrap: nowrap;
}
@media (max-width: 991px) {
  .brxe-accordion-nested .accordion-title-wrapper{
    flex-wrap: nowrap;
    align-items: flex-start !important;
  }
}

.blue-link .btn-chevron {
  color: var(--Blue) !important;
}


/* Header banner variables when NO banner exists */
body:not(:has(.header-banner)) {
  --desktop-header-banner: 0px !important;
  --mobile-header-banner: 0px !important;
}


@media (max-width: 991px) {
  body:has(.header-banner) #brx-content > .brxe-section:first-child{
    padding-top: calc(
      var(--mobile-header-banner) +
      (var(--mobile-header-height) * 1.5)
    ) !important;
  }
}

.brxe-text p,
.brxe-text-basic p,
.wp-block p {
  margin-top: 20px;
}

.site-header {
  width: 100%;
  background: #000;
  z-index: 9999;
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Show header on desktop */
@media (min-width: 992px) {
  .site-header {
    display: block;
  }
}

/* Hide header on tablet + mobile */
@media (max-width: 991px) {
  .site-header {
    display: none;
  }
}

/* ==========================================================================
   HORIZONTAL SCROLL FIX — mobile overflow caused by 100vw usage
   Added: addresses page-level horizontal scroll on mobile devices.
   100vw includes scrollbar width, so any element sized with 100vw is
   reliably wider than the visible viewport. These rules override the
   theme's global-class 100vw declarations (from theme-generated CSS,
   not this file) plus the mega menu dropdown panels that also use 100vw.
   ========================================================================== */

/* Global section width — theme sets `.brxe-section { max-width: 100vw }`
   at the 1255px breakpoint. Override to 100% so it never exceeds viewport. */
@media (max-width: 1255px) {
  .brxe-section {
    max-width: 100% !important;
  }
}

/* Mega menu dropdown panels — each of these is set to `width: 100vw` at the
   478px breakpoint in the theme CSS. Even when visually hidden/collapsed,
   an element still in the DOM with 100vw width adds to total page scroll
   width. Overridden to 100% here. */
@media (max-width: 478px) {
  #brxe-iidgms,
  #brxe-uxnkvn,
  #brxe-vqjhtu,
  #brxe-xspvtc,
  #brxe-yfxxvl,
  #brxe-zavpdr,
  #brxe-dhtxuw,
  #brxe-kolhgw {
    width: 100% !important;
  }
}

/* Safety net — guarantees no page-level horizontal scroll regardless of
   source (including third-party embeds like HubSpot forms that aren't
   controlled by this stylesheet). Does not fix underlying overflow causes,
   just prevents them from being visible/scrollable. */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}