/*
Theme Name: Health-Scripts
Theme URI: https://healthscripts.com
Author: Jon Masterson
Author URI: https://jonmasterson.com
Description: Health-Scripts is designed to take advantage of the new design tools introduced in WordPress 6.7.
Tested up to: 6.7
Requires PHP: 7.2
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthscripts
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

strong {
	font-weight: 600 !important;
}

:where(.wp-block-button__link) {
	border-radius: unset !important;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* Navigation Menu */

@media screen and (max-width: 375px) {
  .header-logo img.custom-logo,
  .header-talks-logo img {
    width: 220px !important;
	height: auto !important;
  }
  .header-briefings-logo img {
    width: 210px !important;
	height: auto !important;
  }
	
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
	font-size: 1.75rem;
	align-items: center;
	width: 100%;
	color: var(--wp--preset--color--contrast) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-page-list {
	font-size: 1.2rem;
}

/* Alignment */

@media screen and (max-width: 782px) {
  .has-text-align-right.footer-copyright,
	.has-text-align-right.right-to-mobile-center,
	.left-to-mobile-center {
		text-align: center !important;
		justify-content: center !important;
	}
	.wp-block-navigation.items-justified-right.right-to-mobile-center {
		--navigation-layout-justification-setting: center;
		--navigation-layout-justify: center;
	}
	.is-layout-flow > .alignright.footer-logo {
		float: none !important;
		text-align: center;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.wp-block-navigation.footer-nav {
		--navigation-layout-justify: center;
	}
	.has-text-align-right.footer-copyright,
	.has-text-align-right.right-to-mobile-center,
	.left-to-mobile-center {
		text-align: center !important;
		justify-content: center !important;
	}
	.wp-block-buttons.items-justified-right.right-to-mobile-center,
	.wp-block-buttons.left-to-mobile-center,
	.wp-block-navigation.items-justified-right.right-to-mobile-center,
	.wp-block-navigation.left-to-mobile-center {
		--navigation-layout-justification-setting: center;
		--navigation-layout-justify: center;
		align-items: center;
	}
	.wp-block-buttons.is-content-justification-right.right-to-mobile-center,
	.wp-block-buttons.left-to-mobile-center {
		justify-content: center !important;
	}
	.is-layout-flow > .alignright.footer-logo {
		float: none !important;
		text-align: center;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.wp-block-navigation.footer-nav {
		--navigation-layout-justify: center;
	}
	.top-nav-buttons {
		width: 100% !important;
	}
}

.right-to-center {
	text-align: center;
}

.is-layout-flow > .alignleft.left-to-center {
	float: none !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

@media (min-width:782px) {
	.is-layout-flow > .alignleft.left-to-center {
		float: left !important;
	}
	.right-to-center {
		text-align: right;
	}
}

/* Partner Styles */

.sunosi-outline-font {
    -webkit-text-stroke: 1.25px #6F2C91;
	text-stroke: 1.25px #6F2C91;
}

.auvelity-fast-box,
.auvelity-lasts-box,
.symbravo-rapid-box,
.symbravo-lasting-box,
.symbravo-fast-box,
.symbravo-safety-box,
.symbravo-63-box,
.symbravo-74-box,
.symbravo-or-box,
.wegovy-box,
.vowst-gloves-box,
.vowst-steps-box,
.vowst-clock-box,
.vowst-gray-arrow-box,
.vowst-blue-arrow-box,
.vowst-strong-box,
.vowst-safety-box {
	position: relative;
}

.symbravo-63-box,
.symbravo-74-box {
	padding: 2rem 2rem 2rem 120px;
}

.symbravo-or-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/Symbravo-or.svg');
	background-size: contain;
	position: absolute;
	top: -50px;
	left: -60px;
	width: 100px;
	height: 100px;
}

.symbravo-63-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/Symbravo-63_Percent-Chart.svg');
	background-size: contain;
	position: absolute;
	top: calc(50% - 98px);
	left: -98px;
	width: 196px;
	height: 196px;
}

.symbravo-74-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/Symbravo-74_Percent-Chart.svg');
	background-size: contain;
	position: absolute;
	top: calc(50% - 98px);
	left: -98px;
	width: 196px;
	height: 196px;
}

.symbravo-rapid-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/Symbravo-Rapid-Impact-Icon.svg');
	background-size: contain;
	position: absolute;
	top: -42px;
	left: 56px;
	width: 84px;
	height: 84px;
}

.symbravo-lasting-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/Symbravo-Lasting-Results-Icon.svg');
	background-size: contain;
	position: absolute;
	top: -42px;
	left: 56px;
	width: 84px;
	height: 84px;
}

.symbravo-fast-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/Symbravo-Fast-Absorption-Icon.svg');
	background-size: contain;
	position: absolute;
	top: -42px;
	left: 56px;
	width: 84px;
	height: 84px;
}

.symbravo-safety-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/Symbravo-Demonstrated-Safety-Icon.svg');
	background-size: contain;
	position: absolute;
	top: -42px;
	left: 56px;
	width: 84px;
	height: 84px;
}

.vowst-gray-arrow-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/vowst-arrow-1.png');
	background-size: contain;
	position: absolute;
	top: 170px;
	right: -36px;
	width: 37px;
	height: 80px;
}

.vowst-blue-arrow-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/vowst-arrow-2b.png');
	background-size: contain;
	position: absolute;
	top: 107px;
	right: -36px;
	width: 37px;
	height: 80px;
}

.vowst-safety-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/shield_icon.png');
	background-size: contain;
	position: absolute;
	top: -60px;
	left: calc(50% - 60px);
	width: 120px;
	height: 120px;
}

.vowst-strong-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/arm_icon.png');
	background-size: contain;
	position: absolute;
	top: -60px;
	left: calc(50% - 60px);
	width: 120px;
	height: 120px;
}

.vowst-gloves-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/boxinggloves_icon.png');
	background-size: contain;
	position: absolute;
	top: -60px;
	left: calc(50% - 60px);
	width: 120px;
	height: 120px;
}

.vowst-steps-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/2-step_icon.png');
	background-size: contain;
	position: absolute;
	top: -60px;
	left: calc(50% - 60px);
	width: 120px;
	height: 120px;
}

.vowst-clock-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/clock_icon.png');
	background-size: contain;
	position: absolute;
	top: -60px;
	left: calc(50% - 60px);
	width: 120px;
	height: 120px;
}

.wegovy-box::after {
	content: "";
	position: absolute;
	top: 11px;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	box-shadow: 0 8px #80c8dd;
}

.auvelity-fast-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/rapid-symptom-a6e3a5d74607fa6bc095b15c9a741e05.gif');
	background-size: contain;
	position: absolute;
	top: -68px;
	left: calc(50% - 68px);
	width: 136px;
	height: 136px;
}

.auvelity-fast-box::after {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/Auvelity-And.png');
	background-size: contain;
	position: absolute;
	right: -44px;
	top: calc(50% - 37px);
	z-index: 1000;
	width: 74px;
	height: 74px;
}

.auvelity-lasts-box::before {
	content:'';
	background:url('https://healthscripts.com/wp-content/uploads/2025/10/sustained-improvement-b77f0c379488d228d0a66f5f5e70ce9d.gif');
	background-size: contain;
	position: absolute;
	top: -68px;
	left: calc(50% - 68px);
	width: 136px;
	height: 136px;
}

@media screen and (max-width: 782px) {
	.symbravo-or-box {
		padding-top: 60px !important;
	}

	.symbravo-or-box::before {
		top: -40px;
		left: calc(50% - 40px);
		width: 80px;
		height: 80px;
	}
	
	.symbravo-63-box,
	.symbravo-74-box {
		padding: 90px 2rem 2rem 2rem;
		margin-top: 60px !important;
	}
	
	.symbravo-63-box::before,
	.symbravo-74-box::before {
		top: -60px;
		left: 20px;
		width: 125px;
		height: 125px;
	}
	
	.vowst-after-gray-arrow-box {
		padding-top: 40px !important;
		border-radius: 0px !important;
	}
	
	.vowst-after-blue-arrow-box {
		padding-top: 60px !important;
	}
	
	.vowst-gray-arrow-box::before,
	.vowst-blue-arrow-box::before {
		transform: rotate(90deg);
		top: 100%;
		right: calc(50% - 18px);
	}
	
	.auvelity-fast-box::before {
		top: -34px;
		left: calc(50% - 34px);
		width: 68px;
		height: 68px;
    }
	
	.auvelity-lasts-box::before {
		top: -34px;
		left: calc(50% - 34px);
		width: 68px;
		height: 68px;
    }
	}

/* Accent Font */

.accent-font {
  font-family: "Caveat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
}

/* Loader */
#loader-inner {
	width: 90%;
}

@media (min-width:782px) {
	#loader-inner {
		width: 40%;
	}
}

.loader-wrap {
	margin-top: 0 !important;
}

#loader,
#fader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	pointer-events: none;
	animation-duration: 700ms;
	animation-timing-function: ease-in-out;
}

#loader {
	background: var(--wp--preset--color--base);
	display: flex;
	align-items: center;
	justify-content: center;
}

#loader.primary-color {
	background: var(--wp--preset--color--accent-1);
}

#fader {
	background: var(--wp--preset--color--base);
}

@keyframes fade-out {
	from {
			opacity: 1;
	}

	to {
			opacity: 0;
	}
}

@keyframes fade-in {
	from {
			opacity: 0;
	}

	to {
			opacity: 1;
	}
}

#loader.fade-out,
#fader.fade-out {
	opacity: 0;
	animation-name: fade-out;
}

#loader.fade-in,
#fader.fade-in {
	opacity: 1;
	animation-name: fade-in;
}

.isIE #loader,
.isIE #fader {
	display: none !important;
}

#loading-icon-shell,
#member-search-loading-icon-shell,
#member-update-loading-icon-shell,
#location-search-loading-icon-shell,
#program-search-loading-icon-shell {
	min-height: 6rem;
	height: 30%;
	position: relative;
	text-align: center;
}

#loading-icon-shell > .loading-icon,
#member-search-loading-icon-shell > .loading-icon,
#member-update-loading-icon-shell > .loading-icon,
#location-search-loading-icon-shell > .loading-icon,
#program-search-loading-icon-shell > .loading-icon {
	position: absolute;
	left: 50%;
	top: -9999rem;
	opacity: 0;
	transform: translateX( -50% ) translateY( -50% );
	transition: opacity .4s, transform .4s ease-in-out;
}

#loading-icon-shell.loading > .loading-icon,
#member-search-loading-icon-shell.loading > .loading-icon,
#member-update-loading-icon-shell.loading > .loading-icon,
#location-search-loading-icon-shell.loading > .loading-icon,
#program-search-loading-icon-shell.loading > .loading-icon {
	top: 50%;
	opacity: 1;
	transition: opacity .4s, transform .4s ease-in-out;
}

.loader {
	animation: spin 1s linear infinite;
	border-radius: 50%;
	border-style: solid;
	border-width: .4rem;
  height: 4rem;
	margin: auto;
  width: 4rem;
	border-color: #CCCCCC;
}

.loader {
	border-top-color: #777777;
}

@keyframes spin {
	0% { 	transform: rotate( 0deg ); }
	100% { 	transform: rotate( 360deg ); }
}

/* Image Filters */

.gray-the-images {
  filter: grayscale(1.0);
}

/* Forms */

.human input:not([type="submit"]):not(.choices__input):not(.gform_next_button):not(.gform_previous_button),
select {
	font-size: 1rem;
	padding: 0.85rem;
	border-radius: 6px;
  border: solid 2px var(--wp--preset--color--contrast);
}

.human select {
  -webkit-appearance: none;
  appearance: none;
	font-size: 1rem;
	padding-right: 4rem;
  background: url(./assets/images/caret-black.svg) no-repeat right transparent;
  background-position-x: calc(100% - 10px);
	width: 100%;
}

.human select[multiple] {
  background: none;
  padding: 0;
}

.human select:invalid {
	color: darkgrey;
}

.human textarea, 
.human input:not([type="checkbox"]):not([type="radio"]):not([type="search"]):not(.choices__input):not(.gform_next_button),
.human select {
  background-color: unset;
	margin-bottom: 2.5rem;
}

.human fieldset,
.human textarea {
  border: solid 2px var(--wp--preset--color--contrast);
}

.human .search-form .search-field,
.human .search-form .search-submit {
	margin: 0 0 2.5rem 0.8rem;
}

.human input[type="checkbox"] {
	border: solid 2px var(--wp--preset--color--contrast);
	margin-right: 0.65rem;
}

.human input[type="radio"] {
  border: solid 2px var(--wp--preset--color--base);
}

.human label.human-inline {
	display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.human .input-group {
	margin-bottom: 2.5rem;
}

.human input[type="checkbox"] {
	font-size: normal;
	line-height: normal;
  -webkit-appearance: none;
  appearance: none;
  outline: 0;
  background: transparent;
	width: 30px;
	height: 30px;
	min-width: 30px;
	padding: 0 !important;
	display: inline-flex;
  justify-content: center;
  align-items: center;
}

.human input[type="radio"] {
	font-size: normal;
	line-height: normal;
  -webkit-appearance: none;
  appearance: none;
  outline: 0;
  background: transparent;
	width: 30px;
	height: 30px;
	min-width: 30px;
	display: inline-flex;
  justify-content: center;
  align-items: center;
}

.human input[type="checkbox"]:disabled:after, 
.human input[type="radio"]:disabled:after {
  content: "-";
  color: grey;
}

.human input[type="checkbox"]:after,
.human input[type="radio"]:after {
	content: " ";
  position: absolute;
	margin: 0;
	height: 20px;
	width: 20px;
}

.human input[type="radio"]:after {
	margin-top: -12px;
	margin-left: -10px;
}

.human input[type="checkbox"]:checked::before {
	content: " ";
	display: none;
}

.human input[type="checkbox"]:checked:after, 
.human input[type="radio"]:checked:after {
  content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg enable-background='new 0 0 16 16' version='1.1' viewBox='0 0 16 16' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle type='text/css'%3E.st0%7Bfill:%23FFFFFF%3Bstroke:%23000000%3Bstroke-width:1.2%3Bstroke-linecap:round%3Bstroke-linejoin:round%3Bstroke-miterlimit:10%3B%7D%3C/style%3E%3Cpath class='st0' d='m2.2 13.5c0.9-0.7 1.7-1.5 2.1-2.2 0.4-0.6 3.1-3.1 3.5-3.5s2.7-3.6 3.6-4.2c1-0.7 1.1-0.2 1.1-0.2'/%3E%3Cpath class='st0' d='m2 2.9s0.2 0.7 1.7 1.6c1.5 0.8 6.6 5.5 7.1 6.1s2.2 2.2 2.2 2.2'/%3E%3Cpath class='st0' d='m7.6 0.7s-0.2 6.5 0 8.9-0.2 5.5-0.2 5.5'/%3E%3Cpath class='st0' d='m15.1 7.7s-7.6 0.4-10.1 0.4-3.9-0.1-3.7-0.2'/%3E%3C/svg%3E");
}

.human input[type="button"],
.human input[type="reset"],
.human input[type="submit"] {
	color: var(--wp--preset--color--accent-1);
	background: var(--wp--preset--color--base);
	font-family: "Caveat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
	font-size: 2.5rem;
	line-height: 1;
	border-radius: 0;
	border: solid 2px var(--wp--preset--color--accent-1);
	padding: 0.85rem;
}

.human input:not([type="submit"]):not(.choices__input).error,
.human select.error,
.human fieldset.error,
.human textarea.error,
.human input[type="checkbox"].error,
.human input[type="radio"].error {
	color: red !important;
	border-color: red;
}

.human.no-bottom-margin select {
  margin-bottom: 0 !important;
}

.error::placeholder {
  color: red;
  opacity: 1; /* Firefox */
}

.error::-ms-input-placeholder { /* Edge 12 -18 */
  color: red;
}

/* Human Gravity Forms Message Customizations */

button.gfield_choice_all_toggle {
	color: var(--wp--preset--color--accent-1);
	background: var(--wp--preset--color--base);
	font-family: "Caveat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
	font-size: 2.5rem;
	line-height: 1;
	border-radius: 0;
	border: solid 2px var(--wp--preset--color--accent-1);
	padding: 0.85rem;
}

input.gform_next_button,
input.gform_previous_button {
	color: var(--wp--preset--color--accent-1) !important;
	background: var(--wp--preset--color--base) !important;
	font-family: "Caveat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
	font-size: 2rem !important;
	line-height: 1 !important;
	border-radius: 0 !important;
	border: solid 2px var(--wp--preset--color--accent-1) !important;
	padding: 0.85rem 1.5rem 0.85rem 1.3rem !important;
}

.gfield_description {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.gform_wrapper.gravity-theme .gf_progressbar {
  margin-bottom: 2.5rem;
	background:#F6F6F6;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_red {
    background-color: var(--wp--preset--color--accent-1);
    color: var(--wp--preset--color--base);
}

.human label,
.gfield_label {
	font-style: normal;
	font-weight: normal !important;
}

.gfield_required {
	color: var(--wp--preset--color--accent-1) !important;
}

.gform_previous_button.button,
.gform_save_link.button {
	color: var(--wp--preset--color--accent-1) !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors>h2 .gform-icon {
	display: none !important;
}

.gfield_error .gfield_repeater_cell label,
.gfield_error label,
.gfield_error legend,
.human [aria-invalid=true]+label,
.human label+[aria-invalid=true] {
	color: var(--wp--preset--color--contrast) !important;
}

.ginput_complex select,
.ginput_container_select select,
.gfield_checkbox,
.ginput_container_radio {
	margin-bottom: 2.5rem;
}

.field_description_below .gfield_checkbox {
	margin-bottom: 0.5rem;
}

#field_6_20 .ginput_container_checkbox {
  margin-bottom: 2.5rem;
}

.ginput_address_state {
	margin-bottom: 8px;
}

button.gfield_choice_all_toggle {
	font-family: "Caveat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--accent-1);
	background: var(--wp--preset--color--base);
	border-radius: 0;
	border: solid 2px var(--wp--preset--color--accent-1);
	padding: 0.85rem;
}

.gfield_error [aria-invalid=true],
.gfield_error .gchoice_other_control {
	border: solid 2px red !important;
	padding: 8px !important;
}

.gfield_error input[type="checkbox"] {
  border-image: url(./assets/images/checkbox-error.svg) 6 6 6 6 stretch stretch;
}

.gfield_error input[type="radio"] {
  border-image: url(./assets/images/radio-error.svg) 16 16 16 16 stretch stretch;
}

.gravity-theme .gform_validation_errors {
	background: none !important;
	color: red !important;
	border: solid 2px red !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 20px !important;
	margin-bottom: 2.5rem;
}

.gform_validation_errors>ol li,
.gform_validation_errors>ol a,
.gform_validation_errors>h2 {
	color: red !important;
}

.gfield_validation_message,
.validation_message {
	font-family: "Caveat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
	padding: 0 !important;
	font-size: 2rem !important;
	font-weight: 400;
	line-height: 1.2 !important;
	background: none !important;
	border: none !important;
	color: var(--wp--preset--color--accent-1) !important;
}

.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme input[type=email] {
	font-size: 1rem;
	margin-bottom: 0 !important;
	padding: 0.85rem !important;
}

/* Buttons */
.human button,
.human .button,
.human .wp-block-button__link,
.human .wp-block-file .wp-block-file__button {
	font-family: "Caveat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif !important;
	padding: 0.85rem 2rem;
}

.human button.gform_button button,
.gform_wrapper.gravity-theme input[type=submit] {
	padding: 0.85rem 1.5rem 0.85rem 1.3rem;
}

.not-human button,
.not-human .button,
.not-human .wp-block-button__link,
.not-human .wp-block-file .wp-block-file__button {
  border: 1px var(--wp--preset--color--contrast) solid;
  border-image: none;
	color: var(--wp--preset--color--contrast);
	background-color: transparent;
	font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	margin: 0.2rem;
	border-radius: 5px;
	padding: 0.4rem 0.7rem;
}

/* Spacing */
.no-top-margin {
	margin-top: 0 !important;
}
.no-bottom-margin {
	margin-bottom: 0 !important;
}
.x-small-top-margin {
	margin-top: .25rem !important;
}
.x-small-bottom-margin {
	margin-bottom: .25rem !important;
}
.small-top-margin {
	margin-top: .75rem !important;
}
.small-bottom-margin {
	margin-bottom: .75rem !important;
}
.medium-top-margin {
	margin-top: 1.5rem !important;
}
.medium-bottom-margin {
	margin-bottom: 1.5rem !important;
}
.wp-block-image.no-padding {
	margin: 0 !important;
	padding: 0 !important;
}

/* Popovers */
.mobile-popover {
	display: flex;
	position: absolute;
	bottom: 0;
	left: 0;
	top: 0;
}
.popover-right,
.popover-left {
	position: relative;
}
.popover-right ul {
	list-style: none;
	background: var(--wp--preset--color--contrast);
	border-radius: 0.4rem;
	color: var(--wp--preset--color--base);
	font-size: 1.7rem;
	font-weight: 500;
	opacity: 0;
	padding: 1rem 0;
	position: absolute;
	right: 9999rem;
	top: calc(100% + 2rem);
	transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
	transform: translateY(0.6rem);
	width: 20rem;
	z-index: 1;
	margin: 0;
}
.popover-left ul {
	text-align: left;
	list-style: none;
	background: var(--wp--preset--color--contrast);
	border-radius: 0.4rem;
	color: var(--wp--preset--color--base);
	font-size: 1.7rem;
	opacity: 0;
	padding: 1rem 0;
	position: absolute;
	left: 9999rem;
	top: calc(100% + 2rem);
	transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
	transform: translateY(0.6rem);
	width: 20rem;
	z-index: 1;
	margin: 0;
}
.popover-right ul::before,
.popover-right ul::after,
.popover-left ul::before,
.popover-left ul::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 100%;
}
.popover-right ul::before,
.popover-left ul::before {
	height: 2rem;
	left: 0;
	right: 0;
}
.popover-right ul::after {
	border: 0.8rem solid transparent;
	border-bottom-color: var(--wp--preset--color--contrast);
	right: 1.8rem;
}
.popover-left ul::after {
	border: 0.8rem solid transparent;
	border-bottom-color: var(--wp--preset--color--contrast);
	left: 1.8rem;
}
.popover-right ul li,
.popover-left ul li {
	margin: 0;
}
.popover-right ul a,
.popover-left ul a {
	background: transparent;
	border: none;
	color: inherit;
	display: block;
	padding: 1rem 2rem;
	transition: background-color 0.15s linear;
	width: 100%;
	text-decoration: none;
	word-break: normal;
	word-wrap: normal;
}
.popover-right a:hover,
.popover-right a:focus,
.popover-left a:hover,
.popover-left a:focus {
	text-decoration: underline;
}
.popover-right.active-popover ul {
	right: 1.6rem;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.15s linear, transform 0.15s linear;
}
.popover-left.active-popover ul {
	top: 90%;
	left: -.4rem;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.15s linear, transform 0.15s linear;
}
.popover-right.active-popover ul.label-on {
	top: 160%;
}
.popover-left.active-popover ul.label-on {
	top: 110%;
}

/* Messages */
.alert-message {
	color: #383d41;
	background-color: #e2e3e5;
	border-color: #d6d8db;
	border-image: none;
	font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	border-radius: 7px;
	font-size: 1rem;
	margin: 0 0.2em 1.5rem;
	padding: 0.4rem 0;
	text-align: center;
	position: relative;
	width: 100%;
}
#alert-message-dismiss {
	width: 1rem;
	height: 1rem;
	border: none;
	border-image: none;
	background-color: transparent;
	font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0.75rem;
	top: 0.8rem;
	cursor: pointer;
}
#alert-message-dismiss svg path {
	stroke: #000000;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-miterlimit: 10;
}
.message-fail {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}
.message-fail #alert-message-dismiss svg path {
	stroke: #721c24;
}
.message-problem {
	color: #856404;
	background-color: #fff3cd;
	border-color: #ffeeba;
}
.message-problem #alert-message-dismiss svg path {
	stroke: #856404;
}
.message-success {
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
}
.message-success #alert-message-dismiss svg path {
	stroke: #155724;
}

:root :where(.is-layout-flow.briefings-content) > * {
	margin-top:0 !important;
	margin-block-start:0 !important;
}

/* WP Navigation */
a {
  text-decoration-thickness: 1px !important;
  text-underline-offset: .1em;
}
:where(.wp-block-button__link) {
	border-radius: unset !important;
}
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/* ISI Section */
#isi-section.fixed {
	position:fixed;
    right:0;
    left:0;
    bottom:0;
	height:110px;
	max-height:110px;
	z-index:1999;
	box-shadow:0px -20px 10px -15px rgba(0,0,0,.15);
	padding-top:0 !important;
	transition: all 0.5s ease-in-out;
}
#isi-section.fixed.expanded {
	height: 95%;
	max-height:95%;
	overflow:scroll;
}
#isi-col-1,
#isi-col-2 {
	position:relative;
}
#isi-columns {
	gap:0 !important;
	margin-top: 0 !important;
}
#isi-col-1-content.expanded,
#isi-col-2-content.expanded {
	height: auto;
	margin-top: 0 !important;
}
.isi-display-button {
	padding:0 !important;
	margin:0 !important;
	text-decoration: none !important;
}
.hide {
	display:none;
}
#isi-expand-button {
	display: none;
}

@media (max-width:782px) {
	#isi-col-1-heading,
	#isi-col-2-heading {
		padding:0.8rem 0 !important;
		margin:0 !important;
	}
	#isi-section.fixed .isi-heading-block {
		margin: 0 !important;
		padding: 0 !important;
		gap:0 !important;
		border-bottom: 1px solid #e2e2e2;
	}
	#isi-col-1-content,
	#isi-col-2-content {
		transition: all 0.5s ease-in-out;
		height: 0;
		overflow: hidden;
		margin-top: 0 !important;
	}
	#isi-col-1-heading.has-medium-large-font-size,
	#isi-col-2-heading.has-medium-large-font-size {
		font-size: var(--wp--preset--font-size--small) !important;
	}
	#isi-col-1-heading.has-medium-large-font-size.scrolled,
	#isi-col-2-heading.has-medium-large-font-size.scrolled {
		font-size: var(--wp--preset--font-size--medium-large) !important;
		padding-right: 0 !important;
	}
	#isi-col-1-content.scrolled,
	#isi-col-2-content.scrolled,
	#isi-col-1-content.expanded,
	#isi-col-2-content.expanded {
		height: auto;
		margin-top: 1.5rem !important;
		margin-bottom: 1.5rem !important;
	}
}

@media (min-width:782px) {
	#isi-section.fixed {
		padding-top: var(--wp--preset--spacing--30) !important;
		height: 160px;
		max-height:160px;
	}
	#isi-section.fixed.expanded {
		height: 90%;
		max-height:90%;
	}
	#isi-section.fixed.is-scrolling {
		height:210px;
		max-height:210px;
	}
	.isi-display-button {
		display: none;
	}
	#isi-columns {
		margin-top: 1.5rem !important;
		gap:1.5rem !important;
	}
	.isi-heading-block {
		border-bottom: none;
	}
	#isi-col-1-content,
	#isi-col-2-content {
		height: auto;
	}
	#isi-expand-button {
		display: block;
		padding-bottom:0;
		margin-bottom: 0;
		padding-top: 0;
		margin-top: 0;
		position:absolute;
		right: 90px;
		top: 15px;
	}
	#isi-expand-button.hide {
		display: none;
	}
}
