/*
 Theme Name:   Medicare Child
 Theme URI:    http://medicare.bold-themes.com
 Description:  Medicare Child Theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     medicare
 Version:      1.0.0
 Tags:         one-column, right-sidebar, fluid-layout, responsive-layout, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  medicare_child
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* Footer intro paragraph under the logo: justified (client request).
   Medicare's Text Image widget has no alignment option, so this needs CSS. */
.btSiteFooterWidgets .widget_bt_text_image .widget_sp_image-description p {
	text-align: justify;
}


/* Gravity Forms spacing + required marker. GF's style settings cover colors, size and
   radius but have no option for the field gap or the required-label color, so these two
   set GF's own variables. Orbital's 40px gap is sized for full-page forms. The extra
   .gform_wrapper class matters: a form rendered in the footer enqueues GF's stylesheet
   after this one, so an equal-specificity rule loses on source order. */
.gform_wrapper.gform-theme--foundation {
	--gf-form-gap-y: 20px;
}
.btSiteFooterWidgets .gform_wrapper.gform-theme--foundation {
	--gf-ctrl-label-color-req: #3bd4e5;
	/* GF's default error red (#c02b0a) is ~3:1 on the dark footer; this is ~7:1. */
	--gf-color-danger: #ff8a73;
	/* Medicare widgets carry no bottom margin; on mobile the next widget heading
	   would sit directly under the Send button. */
	margin-bottom: 30px;
}

/* Anchor links from another page (e.g. Home "Why Us?" -> /about-us/#why-everthrive)
   land under the fixed sticky header. Medicare has no anchor-offset setting, and its
   own scrollPageToId() offset only runs for same-page clicks, not for a hash on page
   load, so the browser's native jump needs scroll-margin. Heights match the parent's
   sticky header: 151px from 1400px up, 55px from 993-1399px (max-width:1399px block),
   and the header is not fixed at 992px and below. jQuery animate ignores
   scroll-margin, so same-page clicks are not offset twice. */
@media (min-width: 993px) {
	.btStickyEnabled .boldSection[id] {
		scroll-margin-top: 55px;
	}
}
@media (min-width: 1400px) {
	.btStickyEnabled .boldSection[id] {
		scroll-margin-top: 151px;
	}
}
