.nf-field-label {
  display: none !important;
}

.nf-field-container {
  margin-bottom: 0 !important;
}

.nf-element {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  height: 37px !important;
  padding: 0 0 5px !important;
  margin: 0 0 15px !important;
  font-size: 14px !important;
  line-height: normal !important;
  transition: all 0.3s linear !important;
}

.nf-element:-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.nf-element::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.nf-element:-moz-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.nf-element::-moz-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.nf-element:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.nf-element::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.nf-element:placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.nf-element::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.nf-element:hover,
.nf-element:active,
.nf-element:focus {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
}

.nf-error .nf-element {
  border-bottom: 1px solid rgba(220, 176, 244, 0.5) !important;
}

.nf-error .nf-element:hover,
.nf-error .nf-element:active,
.nf-error .nf-element:focus {
  border-bottom: 1px solid rgba(220, 176, 244, 1) !important;
}

.nf-error .nf-element:-webkit-input-placeholder {
  color: rgba(220, 176, 244, 0.7) !important;
  transition: all 0.3s linear !important;
}
.nf-error .nf-element::-webkit-input-placeholder {
  color: rgba(220, 176, 244, 0.7) !important;
  transition: all 0.3s linear !important;
}
.nf-error .nf-element:-moz-placeholder {
  color: rgba(220, 176, 244, 0.7) !important;
  transition: all 0.3s linear !important;
}
.nf-error .nf-element::-moz-placeholder {
  color: rgba(220, 176, 244, 0.7) !important;
  transition: all 0.3s linear !important;
}
.nf-error .nf-element:-ms-input-placeholder {
  color: rgba(220, 176, 244, 0.7) !important;
  transition: all 0.3s linear !important;
}
.nf-error .nf-element::-ms-input-placeholder {
  color: rgba(220, 176, 244, 0.7) !important;
  transition: all 0.3s linear !important;
}
.nf-error .nf-element:placeholder {
  color: rgba(220, 176, 244, 0.7) !important;
  transition: all 0.3s linear !important;
}
.nf-error .nf-element::placeholder {
  color: rgba(220, 176, 244, 0.7) !important;
  transition: all 0.3s linear !important;
}

.nf-pass .nf-element {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.nf-pass .nf-element:hover,
.nf-pass .nf-element:active,
.nf-pass .nf-element:focus {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
}

textarea.nf-element {
  resize: none !important;
  height: 90px !important;
}

/* NF Submit Buttons */

/* .nf-field-container.submit-container .field-wrap.submit-wrap {
  background-color: transparent !important;
} */

/* .nf-field-container.submit-container .field-wrap.submit-wrap {
  background-color: #00000000 !important;
} */

.nf-field-container.submit-container
  .field-wrap.submit-wrap
  .nf-field-element
  .nf-element {
  background-color: #ffffff !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #ffffff !important;
  color: #0D2F3D !important;
  border-radius: 50px !important;
  width: 100% !important;
  text-transform: uppercase !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  padding: 12px !important;
  cursor: pointer !important;
  height: 50px !important;
}

.nf-field-container.submit-container
  .field-wrap.submit-wrap
  .nf-field-element
  .nf-element:hover {
  background-color: #0D2F3D !important;
  color: #ffffff !important;
}

.nf-cell {
  line-height: normal !important;
}

.nf-form-content select.ninja-forms-field {
  background: transparent !important;
  background-color: transparent !important;
  /* background-color: #0D2F3D !important; */
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  height: 37px !important;
  padding: 0 0 15px !important;
  margin: 0 0 16px !important;
  font-size: 14px !important;
  transition: all 0.3s linear !important;
  padding: 0 0 5px !important;
  margin: 0 0 15px !important;
}

.nf-form-content select.ninja-forms-field:hover,
.nf-form-content select.ninja-forms-field:focus,
.nf-form-content select.ninja-forms-field:active {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.nf-form-content select.ninja-forms-field option {
  background-color: #0D2F3D !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

/* .nf-form-content select.ninja-forms-field option:hover {
  background-color: #358399 !important;
  color: rgba(255, 255, 255, 0.6) !important;
} */

.nf-form-content select.ninja-forms-field option.is-selected {
  background-color: #0D2F3D !important;
  color: rgba(255, 255, 255, 1) !important;
}

.nf-form-content
  select.ninja-forms-field.default-placeholder.default-value-selected {
  color: rgba(255, 255, 255, 0.6) !important;
}

.field-wrap.listselect-wrap.list-wrap.list-select-wrap
  .nf-field-element
  div[for^="nf-field-"] {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  border: 0 !important;
}

.field-wrap.listselect-wrap.list-wrap.list-select-wrap
  .nf-field-element
  div[for^="nf-field-"]:after {
  color: rgba(255, 255, 255, 0.2) !important;
  line-height: normal !important;
  height: 45px !important;
}

.field-wrap.listselect-wrap.list-wrap.list-select-wrap:hover
  .nf-field-element
  div[for^="nf-field-"]:after {
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: normal !important;
  height: 45px !important;
}

.form-note {
  margin: 0 0 40px;
  opacity: 0.4;
  font-size: 14px;
  line-height: 150%;
}

.nf-field-container.html-container .nf-field-element .form-note {
  color: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
  line-height: normal !important;
}

.nf-field-container.html-container .nf-field-element .form-note a,
.nf-field-container.html-container .nf-field-element .form-note a:visited {
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.4) !important;
  border: 0 !important;
}

.nf-field-container.html-container .nf-field-element .form-note a:hover,
.nf-field-container.html-container .nf-field-element .form-note a:active,
.nf-field-container.html-container .nf-field-element .form-note a:focus {
  color: rgba(255, 255, 255, 0.6) !important;
  /* text-decoration: underline !important; */
}

.nf-pass.field-wrap .nf-field-element:after,
.nf-error.field-wrap .nf-field-element:after {
  display: none !important;
  content: "" !important;
}

.nf-error-wrap.nf-error {
  display: none !important;
}

.nf-form-layout .nf-before-form-content .nf-form-fields-required {
  display: none !important;
}

.margin-top-tiny {
  margin-top: 30px !important;
}

.margin-bottom-tiny {
  margin-bottom: 30px !important;
}

.nf-error-msg.nf-error-field-errors {
  margin-top: 10px;
  margin-bottom: 0;
  width: 100%;
  text-align: center;
  line-height: 24px;
  color: rgba(220, 176, 244, 1) !important;
}

@media screen and (max-width: 767px) {
  .form-note {
    width: 270px;
    margin: -15px auto 40px;
    padding: 5px 0 0;
  }

  .nf-field-container.html-container .nf-field-element .form-note {
    text-align: center;
  }

  .cf-turnstile {
    text-align: center !important;
  }
}

/*start modal blur*/

body.cgm-modal .cgm-modal-bg {
  display: block;
}

.cgm-modal-bg {
  display: none;
  background: #0000009c;
  opacity: 0.5;
  filter: alpha(opacity=70);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  backdrop-filter: blur(15px);
}

/*end modal blur*/

/*start Bayli - search button in nav*/

.search-icon {
  position: relative;
  margin-left: 15px;
  display: inline-block;
}

.search-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px 17px;
  color: #0D2F3D;
  font-weight: 500;
  font-size: var(--button);
  line-height: 120%;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: 1px solid #0D2F3D;
  border-radius: 15px;
  transition: all 0.3s linear;
  text-decoration: none;
  box-sizing: border-box;
  height: 100%;
  white-space: nowrap;
}

.search-icon:hover a {
  background: #0D2F3D;
  color: white;
  border-color: #0D2F3D;
}

.search-icon i {
  margin-right: 5px;
}

.search-icon:hover a i {
  color: white;
}

#search-form {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 30px 30px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
}

#search-form .close-search-modal {
  position: absolute;
  right: 0;
  margin-right: 14px;
  margin-top: -21px;
  font-size: 30px;
  color: #8C99A2;
  cursor: pointer;
  z-index: 1001;
}

#search-form h2 {
  border: 0;
  margin-top: 0;
  font-size: 24px;
}

#search-form input[type="search"] {
  display: inline-block;
  width: calc(85% - 2px);
  padding: 12px;
  font-size: 16px;
  border: 0;
  border-bottom: 1px solid #8C99A2;
  border-radius: 0;
  margin-bottom: 15px;
  box-sizing: border-box;
}

#search-form button {
  width: 50px;
  float: right;
  background-color: transparent;
  color: #0D2F3D;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
}

#search-form button:hover {
  background-color: transparent;
  color: #358399;
}

.search-results-page {
  padding-top: 120rem;
  padding-bottom: 120rem;
}

.screen-reader-text {
  display: none;
}

.search-results-page .navigation.pagination {
  margin-top: 40px;
}

.mobile-search-nav {
  display: none !important;
}

@media screen and (max-width: 1024px) {
  .search-icon {
    display: none;
  }

  .mobile-search-nav {
    display: block !important;
  }

  .button-search {
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 14px 20px;
    margin-top: 15px;
    font-size: var(--button);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
  }

  .button-search .fa-search {
    margin-right: 8px;
  }

  .button-search:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/*end Bayli - search button in nav*/

/* AG3 button comparison CSS */

.header a.button.cgm-bayli-compare-search {
  background: transparent;
  color: #0D2F3D;
  border: 1px solid #0D2F3D;
  margin-left: 15px;
}

.header a.button.cgm-bayli-compare-search:hover {
  background: #0D2F3D;
  color: #ffffff;
  border: 1px solid #0D2F3D;
}

.header a.button.cgm-bayli-compare-search i.fas {
  margin-right: 5px;
}

/*NXT|MBR page*/

/*NF FIX FOR LOCATIONS*/

/* 1. Clear backgrounds and the 'stacked lines' effect */

.cgm-custom-dropdown,
.cgm-custom-dropdown .nf-field-element,
.cgm-custom-dropdown .nf-field-element div[for^="nf-field-"],
.cgm-custom-dropdown select.ninja-forms-field {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* 2. Apply the single bottom line to match Entity Type */

.cgm-custom-dropdown .nf-element,
.cgm-custom-dropdown select.ninja-forms-field {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  padding: 0 0 5px !important;
  margin: 0 0 15px !important;
  height: 37px !important;
}

/* 3. Dropdown Options Styling */

.cgm-custom-dropdown select option {
  background-color: #0D2F3D !important;
  color: #fff !important;
}

/* .nf-form-layout {
  padding-bottom: 1250px !important;
  margin-bottom: -1250px !important;
  overflow: visible !important;
} */

/*END NF FIX FOR LOCATIONS*/

.page-id-19874 .media-photo {
  display: none !important;
}

.nxt-mbr-logos {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

.page-id-19874 .bullet-icon img {
  width: 80px;
}

.page-id-19874 .bullet-4x .bullet-col h4 {
  font-size: 24rem;
}

.page-id-19874 .bullet-col {
  text-align: center;
}

.page-id-19874 .bullet-list {
  flex-wrap: nowrap;
}

.page-id-19874 .holder .nxt-mbr-video {
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .page-id-19874 .bullet-list {
    flex-wrap: wrap;
  }

  .page-id-19874 .bullet-4x .bullet-col h4 {
    font-size: 114rem;
  }

  .page-id-19874 .media-photo {
    display: none !important;
  }

  .page-id-19874 .holder .nxt-mbr-video {
    display: block;
    margin: 0 auto;
    width: 100%; /* Shrinks the video to fit the screen width on mobile */
    max-width: 1000px; /* Stops the video from getting wider than 1000px on desktop */
    height: auto; /* Overrides the 550px height in your HTML */
    aspect-ratio: 16 / 9; /* Keeps the standard YouTube widescreen shape so it doesn't squish */
  }
}

/*endNXT|MBR page*/

/* Hero Item 12 youtube video Styles */

.hero-12 {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.hero-12 .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden; /* ADD THIS: Hides anything that bleeds off the edges */
}

.hero-12 .video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  /* UPDATE THIS: Added scale(1.15) to push the YouTube UI off-screen */
  transform: translate(-50%, -50%) scale(1.15);
  pointer-events: none;
}

.hero-12 .video-background iframe,
.hero-12 .video-background div {
  width: 100% !important;
  height: 100% !important;
}

.hero-12 .holder {
  position: relative;
  z-index: 2;
}