/*
Client Name: Altera
Theme Name: Salient Child - Altera
Description: Custom child theme for Altera
Template: salient
Version: 1.0
*/

/* TEXT SIZE STUFF */
body,
p {
  font-size: max(18px, 1.5vw) !important;
  line-height: max(26px, 3vw) !important;
  margin-bottom: 18px !important;
}

h1 {
  font-size: max(32px, 5.2vw) !important;
  line-height: max(40px, 6.2vw) !important;
  font-weight: 400 !important;
}

h2 {
  font-size: max(40px, 3.5vw) !important;
  line-height: max(40px, 4.2vw) !important;
  font-weight: 400 !important;
}

h3 {
  font-size: max(36px, 3.5vw) !important;
  line-height: max(36px, 4vw) !important;
  font-weight: normal;
  letter-spacing: 2px;
}

h4 {
  font-size: max(15px, 1.8vw) !important;
  line-height: max(18px, 2.5vw) !important;
  font-weight: normal;
  letter-spacing: 2px;
}

h5 {
  font-size: max(14px, 1.55vw) !important;
  line-height: max(20px, 1.8vw) !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: normal;
}

h6 {
  font-size: max(12px, 1.004vw) !important;
  line-height: max(16px, 1.786vw) !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: normal;
}

.hero-header h1 {
  font-size: 46px !important;
  /* Mobile base size */
  line-height: 46px !important;
  font-weight: 400 !important;
  /* transform: translate(-10%, 0px); */
}

/* Tablet breakpoint */
@media only screen and (min-width: 768px) {
  .hero-header h1 {
    font-size: 122px !important;
    line-height: 130px !important;
  }
}

/* Desktop breakpoint */
@media only screen and (min-width: 1200px) {
  .hero-header h1 {
    font-size: 5.2vw !important;
    line-height: 6.2vw !important;
  }
}

.BigCaslon {
  font-family: 'Big Caslon';
}

.Arimo {
  font-family: 'Arimo' !important;
}

.gold {
  color: #CFAE5F !important;
}

.gold * {
  color: #CFAE5F !important;
}

.white {
  color: #fff !important
}

.white-ish {
  color: #F5EFDF !important
}

.white-ish * {
  color: #F5EFDF !important
}

.home-headline {
  opacity: 0;
}

.nectar-animated-gradient {
  opacity: 0;
  z-index: 1;
  transform: translateZ(0);
  transition: opacity 0.8s ease;
  mix-blend-mode: hard-light;
}

.about-header {
  max-width: 80%;
}

.about-copy {
  max-width: 86%;
}

/* BUTTONS */
.nectar-button {
  font-weight: 100;
}

.nectar-button.large {
  font-size: max(16px, 1.1vw);
  font-weight: 100;
}

.btn-width {
  min-width: 20%;
}

.btn-width-30 {
  min-width: 30%;
  text-align: center;
}

.btn-width-50 {
  min-width: 50%;
  text-align: center;
}

.btn-width-jumbo {
  min-width: 75%;
}

.btn-white {}

.btn-white:hover {
  background: #6e7b66 !important;
  color: #fff !important;
}

#extra-bottom-nav a {
  color: #fff;
}

#extra-bottom-nav a:hover {
  text-decoration: underline;
}

/* VIDEO PLAY BUTTONS */
.nectar_video_lightbox.play_button_with_text[data-style=bordered_top] svg,
.nectar_video_lightbox.play_button_with_text[data-style=small] svg {
  height: 50px;
  width: 50px;
}

.nectar_video_lightbox svg {
  width: 50px;
  height: 50px;
}

/* HOME PRICING CARDS */
#pricing-cards #pricing-card .column-image-bg {
  opacity: 0.15;
  background-position-x: 15px;
  background-repeat: no-repeat;
  background-size: 178%;
  background-position-y: 60px;
}

#pricing-cards #pricing-card h3 {
  color: #13180D;
  font-size: max(32px, 3.2vw) !important;
  font-weight: 500;
  letter-spacing: 0;
}

#pricing-cards #pricing-card p {
  color: #6E7B66;
}

#pricing-cards .core-cards {
  min-height: 100% !important;
}

/* HEALTH SERVICES */
h5.image-link-headers {
  text-transform: none !important;
  font-size: max(24px, 1.4vw) !important;
  letter-spacing: 0 !important;
}

/* WEIGHT LOSS */
.meds-headers {
  font-size: max(24px, 5vw) !important;
  line-height: max(32px, 6vw) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  /* position: absolute;
  bottom: 20%;
  left: 5%; */
}

.meds-buttons:hover {
  background: transparent !important;
  color: #fff !important;
  border: solid 1px #fff !important;

}

h5.bottle-caption {
  padding-left: 20vw !important;
  padding-right: 20vw !important;
}

.tabs-notabs .tab-item {
  text-transform: uppercase;
  color: #8E6D46
}

.tabs-notabs .tab-item.active-tab {
  color: #fff
}

.tabs-notabs .tab-item:hover {
  color: #fff
}

.weightloss-toggles .toggle a {
  font-size: max(16px, 1.5vw) !important;
  text-transform: none !important;
}

.weightloss-toggles .toggle.open a {
  color: #B69A86 !important;
}

.meds-bg .column-image-bg-wrap {
  transition: filter 0.2s ease-in-out;
}

.meds-bg:hover .column-image-bg-wrap {
  filter: drop-shadow(0 0 10px rgba(207, 174, 95, 0.8));
}

#meds-hero h1,
#meds-hero p {
  color: #6e7b66 !important;
}

/* HORMONE OPTIMIZATION */
/* --- Base Card Styling --- */
.hormone-card .vc_column-inner {
  position: relative;
  z-index: 0;
  box-shadow: 0 0 0 0 rgba(255, 190, 0, 0);
  transition: border-color 0.45s ease, box-shadow 0.45s ease, color 0.45s ease;
}

/* --- Pseudo-element for the BACKGROUND gradient --- */
.hormone-card .vc_column-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom, #364B37 0%, #405D31 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: -1;
  pointer-events: none;
}

/* ----- HORMONE OPTIMEZATION (#HO) CAROUSEL ----- */
#ho .flickity-slider .cell {
  padding: 0 10vw !important;
}

#ho .nectar-flickity.nectar-carousel .flickity-slider .inner-wrap {
  border-radius: 80px;
  border: solid 2px #6E7B66;
  padding: 5vh 5vw !important;
}

.hormone-portfolio-item .vc_column-inner {
  border-width: 2px;
  border-style: solid;
  border-color: transparent;
  border-image-source: linear-gradient(to bottom, #6E7B66, #CAE1BA);
  border-image-slice: 1;
  background-clip: padding-box;
}

.hormone-portfolio-subheader {
  font-size: max(16px, 2.2vw) !important;
  line-height: max(20px, 2.5vw) !important;
  margin-bottom: 30px !important;
  letter-spacing: 0;
}

.hormone-portfolio-cols p {
  font-size: max(16px, 0.9vw) !important;
  line-height: max(20px, 1.3vw) !important;
  margin-bottom: 0 !important;
  padding-bottom: 8px;
}

/* --- HOVER STATE --- */
.hormone-card .vc_column-inner:hover {
  border-color: #6E7B66 !important;
  box-shadow: 0 0 18px 4px rgba(214, 149, 133, 0.5);
}

.hormone-card .vc_column-inner:hover::before {
  opacity: 1;
}

/* ASETHETICS AND ANTI-AGING */
.journey h3 {
  font-size: max(24px, 2.2vw) !important;
  line-height: max(28px, 2.5vw) !important;
  letter-spacing: 0;
  margin-bottom: 30px;
}

.journey p {
  font-size: max(16px, 1.1vw) !important;
  line-height: max(20px, 2.8vw) !important;
  margin-bottom: 50px !important;
  max-width: 85%
}

.journey.j-grid p {
  max-width: 90%;
}

/* FREQUENTLY ASKED QUESTIONS */
#toggle-faq .toggles {
  border: solid 1px #CAE1BA;
  border-radius: 75px;
  overflow: hidden;
}

#toggle-faq .toggles h3 {
  width: 100%;
  padding: 0;
}

#toggle-faq .toggles h3 a {
  font-size: max(20px, 2.75vw) !important;
  line-height: max(25px, 3vw) !important;
  letter-spacing: 0;
  text-transform: none !important;
  font-weight: 100;
  padding: 40px 50px;
}

#toggle-faq .toggles .toggle h3:before,
#toggle-faq .toggles .toggle h3:after {
  display: none;
}

#toggle-faq .toggles .toggle.open h3:before,
#toggle-faq .toggles .toggle.open h3:after {
  display: none;
}

#toggle-faq .toggles .toggle.default {
  border-bottom: solid 1px #CAE1BA !important;
}

#toggle-faq .toggles .toggle .inner-toggle-wrap {
  padding: 0 50px 20px;
  margin-top: 0;
}

/* Replace default icon with custom SVG and rotate it when open */
.light div[data-style*=minimal] .toggle>.toggle-title i {
  border: none;
  content: "";
}

.light div[data-style*=minimal] .toggle>.toggle-title i:after,
.light div[data-style*=minimal] .toggle>.toggle-title i:before {
  display: none;
}

.toggle>.toggle-title a i {
  width: 50px !important;
  height: 50px !important;
  background: url('/altera/wp-content/uploads/sites/4/2025/04/logo-mark.svg') no-repeat center center !important;
  background-size: contain !important;
  text-indent: -9999px;
  border-radius: 0 !important;
  transform: rotate(0deg) !important;
  transition: transform 0.3s ease !important;
}

.toggle>.toggle-title a i:hover {
  transform: scale(1.2) !important;
  filter: drop-shadow(0 0 3px rgba(207, 174, 95, 2));
}

.toggle.open>.toggle-title a i {
  transform: rotate(90deg) !important;
}

/* FOOTER ITEMS */
.stay-connected h3 {
  font-size: max(20px, 1.75vw) !important;
  line-height: max(20px, 1.75vw) !important;
  letter-spacing: 0;
}

.gform_wrapper {
  margin-bottom: 0 !important;
}

.disclaimer p {
  font-size: max(10px, 0.7vw) !important;
  line-height: max(12px, 1vw) !important;
  color: #606060;
  max-width: 60%;
  margin-top: 0 !important;
}

@media only screen and (max-width: 428px) {
  .disclaimer p {
    max-width: 100%;
  }
}

.nectar-button.large.footer-socials {
  display: block;
  font-size: max(16px, 1.1vw);
  text-transform: uppercase;
  padding: 5px 0;
  font-weight: 400;
}

.nectar-button.large.footer-socials:hover {
  color: #CFAE5F;
}

/* Define the fadeInRight animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer-menu ul {
  margin-left: 0;
}

.footer-menu ul li {
  list-style: none;
  text-align: left;
  line-height: max(18px, 2.1vw);
  margin-bottom: 10px;
}

/* FOOTER SUBSCRIBE GRAVITY FORM */
/* --- Style Footer Gravity Form (ID 1) - Revision 2 --- */

/* Use Flexbox for layout */
#gform_wrapper_1 .gform_fields {
  display: flex !important;
  /* Try center alignment instead of stretch */
  align-items: center !important;
  gap: 10px;
  /* Space between input and button */
  padding: 0 !important;
  margin: 0 !important;
  width: 80%
}

@media only screen and (max-width: 600px) {

  #gform_wrapper_1 .gform_fields {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%
  }
}

/* Field containers reset */
#gform_wrapper_1 #field_1_1,
#gform_wrapper_1 #field_submit {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}

/* Email field container */
#gform_wrapper_1 #field_1_1 {
  flex-grow: 1;
}

/* Submit button container */
#gform_wrapper_1 #field_submit {
  flex-grow: 0;
  flex-shrink: 0;
  width: auto !important;
}

/* Ensure input container fills height */
#gform_wrapper_1 #field_1_1 .ginput_container {
  width: 100%;
  display: flex;
}

/* Email input styling */
#gform_wrapper_1 #input_1_1 {
  background-color: transparent !important;
  color: #ffffff !important;
  border: solid 1px #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 5px;
  font-size: max(16px, 1.1vw) !important;
  height: 48px;
}

/* Email input placeholder text */
#gform_wrapper_1 #input_1_1::placeholder {
  color: #fff !important;
  opacity: 1;
}

/* Submit button styling */
#gform_wrapper_1 #gform_submit_button_1 {
  background-color: transparent !important;
  color: #ffffff !important;
  border: solid 0px #fff !important;
  border-radius: 8px !important;
  /* Adjusted padding - might need tweaking */
  padding: 12px 25px !important;
  cursor: pointer !important;
  font-weight: bold !important;
  /* Remove fixed height, rely on padding */
  /* height: 45px !important; */
  box-sizing: border-box !important;
  /* Crucial */
  font-size: 14px !important;
  line-height: 1.2 !important;
  /* Match input line-height */
  transition: background-color 0.3s ease !important;
  white-space: nowrap;
  display: inline-block;
  /* Ensure button behaves predictably */
  min-height: 45px;
  /* Add min-height as fallback */
  display: inline-block;
  transform: scale(1.0) !important;
  filter: drop-shadow(0 0 0 transparent);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    filter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  will-change: transform, filter;
}

/* Submit button hover state */
#gform_wrapper_1 #gform_submit_button_1:hover,
#gform_wrapper_1 #gform_submit_button_1:focus {
  transform: scale(1.2) !important;
  filter: drop-shadow(0 0 3px rgba(207, 174, 95, 0.7)) !important;
}

#gform_wrapper_1 #gform_submit_button_1:focus {
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
  outline-color: none !important;
  outline-style: none !important;
  outline-width: 0 !important;
  transform: scale(1) !important;
}

.gform_validation_errors {
  padding: 0 20px !important;
  outline: none !important;
}

h2.gform_submission_error {
  font-size: max(16px, 1.1vw) !important;
}

.gfield_validation_message {
  margin-left: 10px !important;
}

.gform_confirmation_message {
  color: #a5dea5 !important;
}

/* CONTACT US FORM */
#form-holder .wpb_wrapper>div {
  margin-bottom: 0;
}

.gform-theme--foundation #field_submit,
.gform-theme--foundation .gform_footer,
.gform-theme--foundation .gform_page_footer {
  justify-content: flex-end;
}

.gform_wrapper #gf_progressbar_wrapper_3 p.gf_progressbar_title {
  font-size: max(14px, 1.1vw) !important;
  line-height: max(20px, 2.5vw) !important;
  letter-spacing: 3px;
  text-transform: uppercase !important;
  font-weight: normal !important;
  color: #fff !important;
}

.gform_wrapper #gf_progressbar_wrapper_3 p.gf_progressbar_title .gf_step_current_page,
.gform_wrapper #gf_progressbar_wrapper_3 p.gf_progressbar_title .gf_step_page_count {
  color: #CFAE5F !important;
}

.gform-theme--framework .gf_progressbar {
  background-color: #ffffff50;
}

.gform-theme--framework .gf_progressbar .percentbar_blue {
  background-color: #CFAE5F
}

.gform_wrapper .gfield_label,
.gform-field-label.gform-field-label--type-sub {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: left !important;
}

.gform-field-label.gform-field-label--type-sub {
  color: #ffffff80;
  text-align: left !important;
}

.charleft.ginput_counter.gfield_description {
  color: #ffffff90;
  text-align: left !important;
}

/* inputs & textarea */
.gform_wrapper input,
.gform_wrapper .ginput_container textarea {
  width: 100%;
  background: #ffffff05 !important;
  border: none !important;
  border-bottom: 1px solid #fff !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-size: 1rem;
  line-height: 1.3;
  padding: 8px 4px;
  margin-bottom: 0;
  padding-bottom: 0;
  box-shadow: none !important;
  resize: vertical;
  text-align: left;
}

body .gform_wrapper .gfield_description {
  color: #ffffff90;
  text-align: left !important;
}

/* --- Gravity Forms Radio/Checkbox Styling --- */

/* Base style - Hide default appearance */
.gform_wrapper .gfield-choice-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  /* Needed for pseudo-element */
  display: inline-block;
  width: 1.15em;
  /* Adjust size as needed */
  height: 1.15em;
  border: 1px solid #fff !important;
  border-radius: 50%;
  /* Default to round (for radio) */
  vertical-align: middle;
  /* Align with label text */
  margin-right: 0.5em;
  /* Space between input and label */
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, filter 0.2s ease, outline 0.2s ease;
  background-color: transparent;
  /* Ensure transparent base */
}

/* Checkbox specific shape */
.gform_wrapper .gfield_checkbox .gfield-choice-input {
  border-radius: 3px;
  /* Square corners for checkboxes */
}

/* Stronger Focus/Hover State */
.gform_wrapper .gfield-choice-input:hover,
.gform_wrapper .gfield-choice-input:focus,
.gform_wrapper input[type=text]:hover,
.gform_wrapper input[type=text]:focus,
.gform_wrapper input[type=email]:hover,
.gform_wrapper input[type=email]:focus,
.gform_wrapper textareaa:hover,
.gform_wrapper textarea:focus {
  border-color: rgba(207, 174, 95, 0.9) !important;
  /* Change border color */
  outline: 2px solid rgba(207, 174, 95, 0.5) !important;
  /* Corrected outline */
  outline-offset: 1px;
  /* Optional space between border and outline */
  filter: drop-shadow(0 0 4px rgba(207, 174, 95, 0.8)) !important;
  /* Slightly stronger glow */
}

/* Checked State - Background */
.gform_wrapper .gfield-choice-input:checked {
  background-color: #CFAE5F !important;
  /* Gold background when checked */
  border-color: #CFAE5F !important;
  /* Gold border when checked */
}

/* Checked State - Custom Dot/Checkmark (using ::before) */
.gform_wrapper .gfield-choice-input:checked::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  /* White color for the dot/checkmark */
}

/* Radio Button Dot */
.gform_wrapper .gfield_radio .gfield-choice-input:checked::before {
  width: 0.5em;
  /* Size of the inner dot */
  height: 0.5em;
  border-radius: 50%;
}

/* Checkbox Checkmark */
.gform_wrapper .gfield_checkbox .gfield-choice-input:checked::before {
  width: 0.65em;
  /* Checkmark dimensions */
  height: 0.35em;
  background-color: transparent;
  /* Checkmark is made of borders */
  border-left: 2px solid #fff;
  /* White checkmark */
  border-bottom: 2px solid #fff;
  border-radius: 0;
  /* Not rounded */
  transform: translate(-50%, -60%) rotate(-45deg);
  /* Position and rotate */
}

/* Keep label style */
.gchoice .gform-field-label {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: left !important;
  display: inline-block;
  /* Ensure label aligns correctly */
  vertical-align: middle;
  cursor: pointer;
  /* Make label clickable */
}

.gchoice .gform-field-label {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-align: left !important;
}


/* placeholder text */
.gform_wrapper ::placeholder {
  color: rgba(255, 255, 255, 1) !important;
  opacity: 1;
  font-size: 18px !important;
}

/* name field spans both sub‑fields */
.gform_wrapper .gfield--type-name .ginput_complex {
  display: flex;
  gap: 20px;
}

.gform_wrapper .gfield--type-name .ginput_complex .gform-grid-col {
  flex: 1 1 0;
}

/* submit button wrapper */
.gform_wrapper .gform_footer {
  text-align: center;
  margin-top: 40px;
}

/* button styling */
.gform_wrapper .gform_button,
.gform_wrapper .gform-footer .gform_button,
.gform-page-footer .gform_next_button {
  background: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  padding: 12px 50px !important;
  border-radius: 999px;
  font-size: 16px !important;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.5s ease !important;
  min-width: 180px !important;
}

.gform_wrapper .gform-footer .gform_button:hover,
.gform_wrapper .gform-footer .gform_button:focus,
.gform_next_button:hover,
.gform_next_button:focus {
  background: rgba(255, 255, 255, 1) !important;
  color: #000 !important;
  outline: none !important;
}

#terms,
#hipaa {
  height: 20vh;
}

.privacy-links {
  float: left;
  margin-right: 14px;
}

.privacy-links a {
  font-size: 12px;
  color: #ffffff75;

}

.gform_required_legend {
  font-size: 12px !important;
  font-weight: 100;
  text-align: left;
}

/* POPUPS */
#popmake-541+.pum-close,
#popmake-541 .pum-content+.pum-close {
  color: #000 !important;
  top: 10px !important;
}

@media only screen and (max-width: 600px) {

  .vc_custom_heading.vc_do_custom_heading.wpb_animate_when_almost_visible.wpb_fadeInLeft.fadeInLeft.animated.wpb_start_animation {
    display: none !important;
  }
}

.off-canvas-menu-container .privacy-menu {
  display: none;
}

/* Improved lightbox styling */
.portfolio-lightbox-wrapper {
  padding: 25px;
  max-width: 90vw;
  width: 90vw;
  max-height: 80vh;
  height: 80vh;
  overflow-y: auto;
}

.portfolio-content {
  margin-top: 20px;
}

.meta-content {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.error-message {
  color: red;
  padding: 20px;
  text-align: center;
}

body .pum-content+.pum-close,
body .pum-theme-content-only .pum-content+.pum-close,
button.pum-close {
  position: absolute;
  height: 18px;
  width: 18px;
  left: auto;
  right: 26px;
  bottom: auto;
  top: 45px;
  padding: 0px;
  color: #fff !important;
  font-family: inherit;
  font-weight: 700;
  font-size: 50px;
  line-height: 20px;
  border: 1px none #ffffff;
  border-radius: 15px;
  box-shadow: 0px 0px 0px 0px rgba(2, 2, 2, 0.00);
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.00);
  background-color: rgba(255, 255, 255, 0.00);
}

#mypopups h3 {
  font-size: max(24px, 2.5vw) !important;
  line-height: max(28px, 2.5vw) !important;
  letter-spacing: 0;
}

.what-to-expect h5 {
  margin-top: 20px;
}

.what-to-expect p {
  color: #fff;
  font-size: max(14px, 0.8vw) !important;
  line-height: max(16px, 1vw) !important;
}

.what-to-expect-button {
  float: right
}

/* FUNCTIONAL HEALTH ANIMATED CAROUSEL */
/* #fh-carousel .flickity-slider .cell {
  min-width: 35vw !important;
} */

#fh-carousel .nectar-flickity.nectar-carousel .flickity-slider .inner-wrap {
  border-radius: 80px;
  border: solid 2px #6E7B66;
  padding: 50px !important;
}

#fh-carousel #fh-carousel-item .fh-carousel-content p {
  font-size: max(16px, 1.1vw) !important;
  line-height: max(18px, 1.5vw) !important;
}