/*
	Theme Name: Rellion Health
	Theme URI: https://withwonderly.com
	Description: Wonderly Web starter child theme for the Genesis Framework. Beaver Builder and Beaver Themer handle all front-end layout.
	Author: Wonderly Web
	Author URI: https://withwonderly.com

	Version: 1.0.0

	Template: genesis
	Template Version: 3.5.0

	License: GPL-2.0+
	License URI: https://opensource.org/licenses/gpl-license.php
*/


/* =============================================================================
   BRAND COLORS
   Define project brand colors here as CSS custom properties.
   Reference throughout stylesheet and BB Global Styles as var(--name).
   e.g. --primary: #000; --accent: #e14d43;

   Kit form color variables are also defined here — see KIT FORMS section.
   Update these to match the project's brand before building out forms.
============================================================================= */

:root {
	
	--error: Red;
	--text: #000;

    /* Kit Form defaults — update per project */
    --kit-font: sans-serif;         /* form font family */
    --kit-primary: #000;            /* main accent: button bg, borders */
    --kit-primary-text: #fff;       /* text on --kit-primary backgrounds */
    --kit-bg: #fff;                 /* input background */
    --kit-input-text: #000;         /* input and placeholder text color */
    --kit-success-bg: #fff;         /* success message background */
    --kit-success-border: #000;     /* success message border and text color */

}


/* =============================================================================
   BASE RESET
   Minimal — modern browsers don't need much.
============================================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
}

img,
embed,
iframe,
object,
video,
.wp-caption {
	max-width: 100%;
	height: auto;
}

a img {
	display: block;
}




/* =============================================================================
   TYPOGRAPHY DEFAULTS
   Intentionally bare — set per-project via BB Global Styles.
   These are fallback/body defaults only.
============================================================================= */

body {
	font-family: "Haffer", sans-serif;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 0;
    font-weight: 400;
	-webkit-font-smoothing: antialiased;
	background: #F7F0E8;
}



h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	margin: 0 0 20px;
}

p {
	margin: 0 0 20px;
}

p:last-child,
.fl-rich-text p:last-child,
.uabb-text-editor p:last-child {
	margin-bottom: 0 !important;
}

/* H1 */
h1 {
    font-family: "Kalice Trial", serif;
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 400;
}

/* H2 */
h2 {
    font-family: "Kalice Trial", serif;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 400;
}

/* H3 */
h3 {
    font-family: "Kalice Trial", serif;
    font-size: 30px;
    line-height: normal;
    letter-spacing: 0;
    font-weight: 400;
}

/* H4 */
h4 {
    font-family: "Kalice Trial", serif;
    font-size: 24px;
    line-height: normal;
    letter-spacing: 0;
    font-weight: 400;
}

/* Accent */
.accent {
    font-family: "Haffer", sans-serif;
    font-size: 22px;
    line-height: 23px;
    letter-spacing: 0;
    font-weight: 400;
}

/* Script */
.script {
    font-family: "Oooh Baby", cursive;
    font-size: 30px;
    line-height: 34px;
    letter-spacing: 0;
    font-weight: 400;
}

/* In-text link styles — scoped to paragraph context only.
   Keeps nav, buttons, and other links unaffected. */
.entry-content p a,
.fl-rich-text p a,
.fl-theme-builder-footer .fl-rich-text a {
	color: #0000EE;
	text-decoration: underline;
}

.entry-content p a:hover,
.fl-rich-text p a:hover,
.fl-theme-builder-footer .fl-rich-text a:hover {
	color: #000;
}

a {
	transition: color 0.15s ease-in-out;
}

b,
strong {
	font-weight: 700;
}

input:focus::placeholder,
input:focus::-webkit-input-placeholder { 
	color: transparent !important; 
} 


/* =============================================================================
   BUTTON DEFAULTS
   
============================================================================= */

.fl-button,
.pp-button,
.uabb-button,
.nf-form-content input[type=submit] {
	line-height: 1 !important;
}

.fl-button:hover
.pp-button:hover,
.uabb-button:hover,
.nf-form-content input[type=submit]:hover {
	
}

.fl-button-text,
.fl-button-icon,
.fl-button:hover .fl-button-text,
.fl-button:hover .fl-button-icon {
	color: inherit !important;
}


/* =============================================================================
   LISTS
   Restore sensible list defaults inside content and BB rich text areas.
   (Genesis/resets strip these.)
============================================================================= */

.entry-content ol,
.entry-content ul,
.site-inner ol,
.site-inner ul,
.fl-rich-text ol,
.fl-rich-text ul {
	margin-bottom: 24px;
	margin-left: 36px;
	padding: 0;
}

.entry-content ol > li,
.site-inner ol > li,
.fl-rich-text ol > li {
	list-style-type: decimal;
	margin-bottom: 8px;
}

.entry-content ul > li,
.site-inner ul > li,
.fl-rich-text ul > li {
	list-style-type: disc;
	margin-bottom: 8px;
}

.entry-content ol ol,
.entry-content ul ul,
.fl-rich-text ol ol,
.fl-rich-text ul ul {
	margin-bottom: 0;
}


/* =============================================================================
   WORDPRESS ALIGN CLASSES
   Used by the block editor and classic editor image alignment.
============================================================================= */

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter,
img.centered {
	display: block;
	margin: 0 auto 24px;
}

.alignnone {
	margin-bottom: 16px;
}

.wp-caption-text {
	font-size: 14px;
	text-align: center;
}

/* =============================================================================
   Position/Relative Over/Under
============================================================================= */
.over {
	z-index: 10;
	position: relative;
}

.under {
	z-index: 1;
	position: relative;
}


/* =============================================================================
   GENESIS CHROME
   Hide default Genesis header/footer — Beaver Themer handles all of this.
============================================================================= */

.site-header,
.site-footer {
	display: none;
}


/* =============================================================================
   BEAVER BUILDER
============================================================================= */

/* Prevents Genesis list reset from stripping menu item list styles */
.fl-menu .menu li {
	list-style-type: none;
}

/* Prevents absolutely-positioned elements and animations bleeding outside rows.
   Safe to remove on a per-row basis using overflow: visible !important if needed.  */

.hide-overflow .fl-row-content-wrap {
	overflow: hidden;
}

/* =============================================================================
   NINJA FORMS
============================================================================= */

.contact .nf-form-fields-required {
	display: none;
}

.contact .ninja-forms-req-symbol {
	color: var(--text) !important;
}

/* ----------------------------------------
   ERROR STYLING
---------------------------------------- */
.contact .nf-error .nf-error-msg {
	color: var(--error) !important;
}

.contact .nf-error.field-wrap .nf-field-element:after {
	background: transparent !important;
	color: var(--error) !important;
}

.contact .nf-error .ninja-forms-field {
	border-color: var(--error) !important;
}

/* ----------------------------------------
   TEXT FIELDS
---------------------------------------- */
.contact .nf-form-content .list-select-wrap .nf-field-element>div, 
.contact .nf-form-content input:not([type=button]), 
.contact .nf-form-content textarea {
	background-color: transparent !important;
}

/* ----------------------------------------
   CHECKBOXES
---------------------------------------- */
.contact .listcheckbox-wrap .nf-field-element label:after, 
.contact .checkbox-wrap .nf-field-label label:after {
	background-color: transparent !important;
	border: 1px solid #000 !important;
	border-radius: 0 !important;
}

/* Checked */
.contact .checkbox-wrap .nf-field-element label:before, 
.contact .checkbox-wrap .nf-field-label label:before, 
.contact .listcheckbox-wrap .nf-field-element label:before, 
.contact .listcheckbox-wrap .nf-field-label label:before {
}


/* =============================================================================
   ADMIN BAR FIX
   Prevents admin bar from overlapping content on mobile.
============================================================================= */

@media only screen and (max-width: 782px) {
	html {
		margin-top: 0 !important;
	}

	.admin-bar .site-container {
		padding-top: 46px !important;
	}
}


/* =============================================================================
   RESPONSIVE TYPOGRAPHY
   Uncomment and adjust per project. Values below are starting point examples.
   Primary breakpoint for heading size reduction is typically 768px.
============================================================================= */

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

	/* h1 { font-size: 40px; } */
	/* h2 { font-size: 32px; } */
	/* h3 { font-size: 24px; } */
	/* h4 { font-size: 20px; } */
	/* h5 { font-size: 18px; } */
	/* h6 { font-size: 16px; } */
	/* body { font-size: 16px; } */

}



/* =============================================================================
   KIT FORMS
   Class-based styling system for embedded Kit (formerly ConvertKit) forms.
   Apply wrapper classes in BB to trigger variants. Colors inherit from
   --kit-* custom properties defined in :root above.

   VARIANTS:
     .kit-form-inline     — single-line input + button side by side
     .kit-form-stacked    — input and button stacked vertically

   USAGE:
     1. Set --kit-* variables in :root to match project brand colors.
     2. Wrap the Kit embed in a BB HTML module and add .kit-form-inline
        or .kit-form-stacked as a class on that module's row or column.
     3. For a color variant that differs from the project default (e.g. a
        white form on a dark background), override --kit-primary etc. with
        a project-specific selector in the PROJECT-SPECIFIC STYLES section.
     4. Per-form data-uid overrides go in PROJECT-SPECIFIC STYLES below.

   NOTE: Not using Kit? Delete this section.
============================================================================= */

/* ----------------------------------------
   SHARED — applies to all Kit form variants
---------------------------------------- */

.kit-form-inline .formkit-form,
.kit-form-stacked .formkit-form {
    max-width: 100% !important;
}

.kit-form-inline .formkit-input,
.kit-form-stacked .formkit-input {
    font-family: var(--kit-font);
    font-size: 18px;
    color: var(--kit-input-text);
    background-color: var(--kit-bg);
    height: 56px;
    padding: 12px 11px 8px !important;
}

.kit-form-inline ::placeholder,
.kit-form-stacked ::placeholder {
    font-family: var(--kit-font);
    color: var(--kit-input-text);
    opacity: 0.7;
}

.kit-form-inline .formkit-button,
.kit-form-inline .formkit-submit,
.kit-form-stacked .formkit-button,
.kit-form-stacked .formkit-submit {
    font-family: var(--kit-font) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
    border: 1px solid var(--kit-primary) !important;
    background-color: var(--kit-primary) !important;
    outline: 1px solid var(--kit-primary) !important;
    outline-offset: 7px;
    padding: 8px 24px !important;
    text-transform: lowercase;
    cursor: pointer;
}

.kit-form-inline .formkit-submit > span,
.kit-form-stacked .formkit-submit > span {
    font-family: var(--kit-font);
    font-size: 18px;
    color: var(--kit-primary-text);
    padding: 0 24px;
}

.kit-form-inline .formkit-button:hover,
.kit-form-inline .formkit-submit:hover,
.kit-form-stacked .formkit-button:hover,
.kit-form-stacked .formkit-submit:hover {
    background-color: transparent !important;
}

.kit-form-inline .formkit-submit:hover > span,
.kit-form-stacked .formkit-submit:hover > span {
    color: var(--kit-primary) !important;
    background-color: transparent !important;
}

.kit-form-inline .formkit-alert-success,
.kit-form-stacked .formkit-alert-success {
    background: var(--kit-success-bg);
    border-color: var(--kit-success-border);
    color: var(--kit-success-border);
}

.kit-form-inline .formkit-alert,
.kit-form-stacked .formkit-alert {
    font-family: var(--kit-font);
}


/* ----------------------------------------
   INLINE — input + button side by side
---------------------------------------- */

.kit-form-inline .formkit-fields {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.kit-form-inline .formkit-field,
.kit-form-inline .formkit-submit {
    margin: 0;
}

@media (max-width: 445px) {
    .kit-form-inline .formkit-fields {
        grid-template-columns: 1fr;
    }
}


/* ----------------------------------------
   STACKED — input above button
---------------------------------------- */

.kit-form-stacked .formkit-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}


/* =============================================================================
   PROJECT-SPECIFIC STYLES
   Add per-project CSS below this line (or in a separate enqueued stylesheet).
   Kit data-uid overrides (per-form success messages, color variants) go here.
============================================================================= */
.equal-button-column .fl-module-button {
    margin-top: auto;
}

.equal-button-column .fl-module-button i {
    font-size: 17px;
}
.health_left_img .fl-row-content-wrap {
    position: absolute;
    left: 0;
    z-index: 9;
    bottom: -100px;
}

.health_left_img * {
    padding: 0;
    margin: 0;
}

.health_left_img {
    position: relative;
}

.custom-blog-card .fl-node-custom-button {
    font-family: ooohbaby, Verdana, Arial, sans-serif;
    margin-top: auto !important;
    font-size: 30px;
    color: var(--fl-global-text);
}

.custom-blog-card .fl-node-custom-button a {
    color: var(--fl-global-text);
}

.custom-blog-card .fl-node-custom-button i {
    font-size: 20px;
}

.custom-blog-card .fl-module {
    margin: 0;
}

.custom-blog-card {
    background: #ff000000;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
	height: 100%;
}

article.fl-post-grid-post {
    background: transparent;
    border: none;
}

.custom-blog-card,.custom-blog-card a {
    color: var(--fl-global-text);
}
.custom-blog-card img {
    border-radius: 8px;
}

.custom-blog-card a>img {
	aspect-ratio: 400/280;
	object-fit: cover;
	object-position: center top;
}
	
.fl-builder-pagination .page-numbers li span {
    background: var(--fl-global-light-green);
}

.fl-builder-pagination .page-numbers li span, .fl-builder-pagination .page-numbers li a {
    padding: 10px 16px;
    border-radius: 30px;
    border: 1px solid var(--fl-global-dark-green);
    color: var(--fl-global-dark-green);
}

.fl-builder-pagination .page-numbers li a:hover {
    background: var(--fl-global-light-green);
}

.fl-builder-pagination .page-numbers li {
    margin: 0 12px;
}

.blog-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.blog-card-link svg {
    margin-bottom: -6px;
}
.gform-theme--foundation .gfield.gfield--type-text input, .gform-theme--foundation .gfield.gfield--type-email input, .gform-theme--foundation .gfield textarea {
    border: 1px solid var(--fl-global-text);
    padding: 16px 24px;
    border-radius: 8px;
    height: auto;
    line-height: 1;
    background: transparent;
    resize: none;
}

.gform-body .gfield_label.gform-field-label {
    color: var(--fl-global-text);
    font-size: 18px;
    font-family: var(--fl-global-text-font-family);
}

.gform-theme--foundation .gfield textarea {
    height: 100px;
}


.gform-theme--framework input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {background: var(--fl-global-dark-green);}

.gform-theme--foundation .gfield .gchoice input {
    background: transparent;
}
.gform-theme--foundation input[type=submit] {
    border: 1px solid var(--fl-global-text);
    background-color: var(--fl-global-text) !important;
    padding: 10px 24px !important;
    font-family: haffer, Verdana, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px !important;
    border-radius: 30px !important;
}
.new_field_note .fl-post-title a {
    font-family: 'ooohbaby';
    font-size: 30px;
    line-height: 34px;
    color: var(--fl-global-text);
}

.new_field_note .fl-post-title {
    text-align: center;
}


.new_field_note {
    background: url('../../uploads/fieldbg.png');
    position: absolute;
    right: -50px;
    top: -250px;
    transform: rotateZ(-5deg);
    padding: 20px 20px 370px;
    width: auto;
}
.rough-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.rough-highlight::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.highlight-1::before {
  top: 0%;
  left: 0px;
  right: 0px;
  bottom: 0%;
  background-image: url('../../uploads/highlight-1.png');
}
.highlight-2::before {
    top: 25%;
    left: 0px;
    right: 20px;
    bottom: 2%;
    background-image: url(../../uploads/hghlight-2.png);
}
.circle-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.circle-highlight::before {
  content: "";
  position: absolute;
  top: -15%;
  left: -20px;
  right: -12px;
  bottom: -45%;
  background-image: url('../../uploads/circle.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.blog-highlight-circle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.blog-highlight-circle::before {
  content: "";
  position: absolute;
  top: -15%;
  left: -20px;
  right: -12px;
  bottom: -45%;
  background-image: url('../../uploads/hihglightcircle.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
@media (max-width: 760px) {
    .mobile-menu .fl-menu {
        container-type: unset!important;
    }
}
.blog-card-link{
	position: relative;
  display: inline-block;
  text-decoration: none;
  padding-bottom: 8px;
}
.blog-card-link:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    bottom: 0;
    right: 0;
    height: 7px;
    background-image: url(../../uploads/Line.svg);
    background-repeat: no-repeat;
}
.blog-traingledesign {
    z-index: 1;
    position: relative;
}
.rough-highlight-green {
  position: relative;
  display: inline-block;
  white-space: nowrap;
	z-index:1;
}
.rough-highlight-green::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.highlightgreen-1::before {
  top: 0%;
  left: 0px;
  right: 0px;
  bottom: 0%;
  background-image: url('../../uploads/highlight-green.png');
}

.decor-article-container {
  position: relative;
}
.decor-icon {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.icon-zigzag {
 width: 38px;
    height: 45px;
    right: -40px;
    top: 200px;
  background-image: url('../../uploads/draw-line-vector.png');
}

.icon-x {
  width: 38px;
  height: 45px;
  top: 530px;
  left: -40px; 
  background-image: url('../../uploads/cross.png');
}
article.post-7.page.type-page.status-publish.entry {
    overflow: hidden;
}
@media (max-width: 767px) {
.icon-zigzag {
    top: -151px;
    right: 0px;
}
.icon-x {
	right: 0px;
    left: unset;
    top: 250px;
}
.health-system .fl-builder-top-edge-layer {
    top: -20px;
}
.who-this-section .fl-builder-top-edge-layer {
    top: -10px;
}
.who-this-section .fl-builder-bottom-edge-layer {
    bottom: -13px;
}	
.fieldnote-linedraw img.fl-photo-img {
    position: relative;
    right: -20px;
    bottom: 0;
    top: 130px;
    z-index: 2;
    overflow: visible;
    display: inline-block;
}
.new_field_note article.fl-post-grid-post {
    margin-bottom: 0;
    width: 100%;
    visibility: visible;
}
.new_field_note {
    position: relative;
    right: -45px;
    top: 2px;
    transform: rotateZ(-4deg);
    padding: 20px 20px 30px;
    width: auto;
    background-repeat: repeat;
}
.health-system{
    margin-top: -45px;
}
.new_field_note .fl-post-title a {
    font-size: 21px;
    line-height: 26px;
}
.field-blog-section .fl-node-custom-image {
    text-align: center;
    margin: 0 auto;
}
.field-blog-section .fl-post-grid-post {
    height: auto !important;
}
.field-blog-section .custom-blog-card {
    height: auto;
}
.post-arrow {
    display: none;
}
	fotter .menu a:hover {
    text-decoration: underline;
}
	.zindex{
		z-index:99;
	}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .health-system .fl-builder-top-edge-layer {
    top: -20px;
}
.who-this-section .fl-builder-top-edge-layer {
    top: -10px;
}
.who-this-section .fl-builder-bottom-edge-layer {
    bottom: -13px;
}
}
@media screen and (min-width: 1024px) and (max-width: 1440px) {
.health_left_img .fl-row-content-wrap {
    width: 150px;
}
	.new-fild-main-row {
    margin-top: 80px;
}

.new_field_note {
    right: -90px;
    transform: rotateZ(346deg);
}
}
@media screen and (max-width: 780px) {
.health_left_img .fl-row-content-wrap {
    width: 100px;
    bottom: -130px;
    left: -20px;
}
}

@media only screen and (max-width: 760px) {
    .footer-bottom .fl-row-content-wrap {
        background-position: right top 25px, center !important;
    }
}

.gform_button {
	border-radius: 30px !important;
	background-color: var(--Text, #241700) !important;
	padding: 10px 24px !important;
	color: var(--Cream, #FFF6EC) !important;
	font-size: 18px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: 0.18px !important;
}

.gform_button:hover {
	background-color: #B87C3D !important;
}

.gform_required_legend {
	display: none;
}