#hf-site-alert {
    /*opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideIn 0.6s ease-out forwards;*/
    /*background: var(--blue-gradient);*/
    background: linear-gradient(33deg, #037bc5 24%, #1055cc 56%, #5814c7 99%);
    margin-bottom: -50px;
    padding-bottom: 50px;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hf-site-alert.alert-pending {
    display: none;
}

#hf-site-alert-close {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.25rem;
    margin-left: auto;
    padding: 0;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

#hf-site-alert-text-wrap {
    position: relative;
}

#hf-site-alert-text {
    padding: 24px 0 20px;
    width: 100%;
    color: #fff;
    font-size: 16px;
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
}

#hf-site-alert-text a {
    border-bottom: 2px solid transparent !important
}

#hf-site-alert-text a:hover {
    border-bottom: 2px solid #d322ff !important
}

#hf-header-section {
    background: #000;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    z-index: 100;
}

#hf-header-container {
    margin-top: 0;
    margin-bottom: 15px;
    width: 100%;
    max-width: 1440px;
}

#hf-header-logo {
    margin-right: 10px;
    z-index: 1000;
    transition: opacity 0.6s;
}

#hf-header-logo:hover {
    opacity: 0.6;
}

#hf-header-nav {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.6s ease-in-out;
}

#hf-header-nav .brx-submenu-toggle button {
    display: none;
}

#hf-header-nav .sub-menu {
    background: #222;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 5px;
    left: 0;
}

#hf-header-nav #menu-main {
    gap: 45px;
    margin-right: 25px;
    align-items: center;
}

#hf-header-nav #menu-main > li:not(.button-header) {
    padding: 15px 25px 10px;
}

#hf-header-nav #menu-main > li:not(.button-header):hover {
    background-color: #222;
    border-radius: 10px;
}

#hf-header-nav #menu-main > li:not(.button-header) > a.header-link,
#hf-header-nav #menu-main .brx-submenu-toggle > a.header-link {
    padding-bottom: 5px;
}

#hf-header-nav #menu-main > li > a.header-link[aria-current="page"],
#hf-header-nav #menu-main .brx-submenu-toggle.aria-current > a.header-link {
    border-bottom: 2px solid #cc00ff;
}

#hf-header-nav .sub-menu a.header-link {
    padding-top: 10px;
    padding-right: 14px;
    padding-bottom: 10px;
    padding-left: 14px;
}

#hf-header-nav .sub-menu a.header-link:hover {
    background-color: rgba(255, 255, 255, .07);
    color: #fff;
    border-radius: 10px;
}

#hf-header-nav .sub-menu li:first-child {
    border-radius: 0;
}

#hf-header-nav .sub-menu li:last-child {
    border-bottom: 0;
    border-radius: 0;
}

#hf-header-nav .sub-menu sub {
    bottom: -1.75em;
    margin-right: .5em;
}

#hf-header-nav .menu-item:not(.button-header) > a,
#hf-header-nav .menu-item .brx-submenu-toggle {
    /*margin-top: 4px*/
}


/*#hf-header-nav .language .sub-menu li:first-child {*/
/*    border-top-right-radius: 0;*/
/*    border-top-left-radius: 20px;*/
/*}*/

/*#hf-header-nav .language .sub-menu {*/
/*    border-top-right-radius: 0;*/
/*    border-top-left-radius: 20px;*/
/*    border-bottom-right-radius: 20px;*/
/*    border-bottom-left-radius: 20px;*/
/*    right: 0;*/
/*}*/

/*#hf-header-nav .language .header-link {*/
/*    position: relative;*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    text-decoration: none;*/
/*    color: inherit;*/
/*}*/

/*#hf-header-nav .language .sub-menu > li {*/
/*    line-height: 40px;*/
/*    border-bottom-color: rgba(255, 255, 255, 0.15)*/
/*}*/

/*#hf-header-nav .language .sub-menu a {*/
/*    justify-content: flex-start;*/
/*}*/

/*#hf-header-nav .language button[aria-expanded="true"] .menu-item-icon {*/
/*    transform: none !important;*/
/*}*/

/* Hide the text but keep it accessible for screen readers */
#hf-header-nav .language .header-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#hf-header-nav .language .brx-submenu-toggle .header-link::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M256 464c7.4 0 27-7.2 47.6-48.4c8.8-17.7 16.4-39.2 22-63.6l-139.2 0c5.6 24.4 13.2 45.9 22 63.6C229 456.8 248.6 464 256 464zM178.5 304l155 0c1.6-15.3 2.5-31.4 2.5-48s-.9-32.7-2.5-48l-155 0c-1.6 15.3-2.5 31.4-2.5 48s.9 32.7 2.5 48zm7.9-144l139.2 0c-5.6-24.4-13.2-45.9-22-63.6C283 55.2 263.4 48 256 48s-27 7.2-47.6 48.4c-8.8 17.7-16.4 39.2-22 63.6zm195.3 48c1.5 15.5 2.2 31.6 2.2 48s-.8 32.5-2.2 48l76.7 0c3.6-15.4 5.6-31.5 5.6-48s-1.9-32.6-5.6-48l-76.7 0zm58.8-48c-21.4-41.1-56.1-74.1-98.4-93.4c14.1 25.6 25.3 57.5 32.6 93.4l65.9 0zm-303.3 0c7.3-35.9 18.5-67.7 32.6-93.4c-42.3 19.3-77 52.3-98.4 93.4l65.9 0zM53.6 208c-3.6 15.4-5.6 31.5-5.6 48s1.9 32.6 5.6 48l76.7 0c-1.5-15.5-2.2-31.6-2.2-48s.8-32.5 2.2-48l-76.7 0zM342.1 445.4c42.3-19.3 77-52.3 98.4-93.4l-65.9 0c-7.3 35.9-18.5 67.7-32.6 93.4zm-172.2 0c-14.1-25.6-25.3-57.5-32.6-93.4l-65.9 0c21.4 41.1 56.1 74.1 98.4 93.4zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    vertical-align: -7px;
}

#hf-header-divider {
    margin-left: auto;
    margin-right: auto;
    padding-left: 54px;
    padding-right: 54px;
    max-width: 1440px;
}

#hf-subnav {
    padding-top: 7px;
    padding-bottom: 0;
    width: 100%;
    display: flex;
    align-self: stretch;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #fff;
}

#hf-subnav-list {
    list-style: none;
}

#hf-subnav-list li:before {
    display: none
}

#hf-subnav-list a.brxe-text-link[aria-current="page"],
#hf-subnav-list a.brxe-text-link:hover {
    border-bottom-color: #cc00ff;
}

#hf-subnav-list a.brxe-text-link {
    margin-bottom: -2px;
    padding-bottom: 6px;
    border-bottom: 3px solid transparent;
    transition: 0.4s ease-out;
}

#hf-subnav-list a.brxe-text-link sub {
    margin-left: -3px;
    bottom: -.4em;
}

#hf-header-topbar {
    margin-top: 25px;
    margin-bottom: 7px;
}

#topbar-nav .text,
#topbar-nav .brx-submenu-toggle > span {
    display: none;
}
#topbar-nav .brx-submenu-toggle::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M256 464c7.4 0 27-7.2 47.6-48.4c8.8-17.7 16.4-39.2 22-63.6l-139.2 0c5.6 24.4 13.2 45.9 22 63.6C229 456.8 248.6 464 256 464zM178.5 304l155 0c1.6-15.3 2.5-31.4 2.5-48s-.9-32.7-2.5-48l-155 0c-1.6 15.3-2.5 31.4-2.5 48s.9 32.7 2.5 48zm7.9-144l139.2 0c-5.6-24.4-13.2-45.9-22-63.6C283 55.2 263.4 48 256 48s-27 7.2-47.6 48.4c-8.8 17.7-16.4 39.2-22 63.6zm195.3 48c1.5 15.5 2.2 31.6 2.2 48s-.8 32.5-2.2 48l76.7 0c3.6-15.4 5.6-31.5 5.6-48s-1.9-32.6-5.6-48l-76.7 0zm58.8-48c-21.4-41.1-56.1-74.1-98.4-93.4c14.1 25.6 25.3 57.5 32.6 93.4l65.9 0zm-303.3 0c7.3-35.9 18.5-67.7 32.6-93.4c-42.3 19.3-77 52.3-98.4 93.4l65.9 0zM53.6 208c-3.6 15.4-5.6 31.5-5.6 48s1.9 32.6 5.6 48l76.7 0c-1.5-15.5-2.2-31.6-2.2-48s.8-32.5 2.2-48l-76.7 0zM342.1 445.4c42.3-19.3 77-52.3 98.4-93.4l-65.9 0c-7.3 35.9-18.5 67.7-32.6 93.4zm-172.2 0c-14.1-25.6-25.3-57.5-32.6-93.4l-65.9 0c21.4 41.1 56.1 74.1 98.4 93.4zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z'/%3E%3C/svg%3E") no-repeat center;
    background-size: auto;
    background-size: contain;
}

#topbar-nav #topbar-nav-items > li.menu-item {
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
}

#topbar-nav #topbar-nav-items > li.menu-item:hover {
    border-bottom: 2px solid #cc00ff;
}

#topbar-nav .brx-dropdown-content {
    padding: 10px 12px;
    background: #222;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    right: 0;
    margin-top: 2px;
}

#hf-language-dropdown {
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
}

#hf-language-dropdown:hover {
    border-bottom: 2px solid #cc00ff;
}

#hf-language-dropdown-list li:hover {
    background-color: rgba(255, 255, 255, .07);
    color: #fff;
    border-radius: 10px;
    border: none;
}

#hf-language-dropdown-list li a {
    padding-top: 10px;
    padding-right: 24px;
    padding-bottom: 10px;
    padding-left: 24px;
    white-space: nowrap;
}

#hf-search-wrapper {
    background: rgba(0, 0, 0, 0);
    border-radius: 20px;
}


#hf-search-inner {
    background: var(--dark-gray);
    border-radius: 20px;
}

#hf-search-form {
    padding: 9px;
    width: 100%;
    background-color: #fff;
    border-radius: 50px;
}

#hf-search-form input[type="search"] {
    border-radius: 50px;
    border-color: #fff;
    width: 95%;
    font-size: 20px;
    font-weight: 600;
    background-color: #fff;
}

#hf-search-form input[type="search"]:focus-visible {
    outline: none;
    box-shadow: none;
}

#hf-search-form button {
    background: url(/wp-content/themes/heartflow/img/cta3.png) no-repeat center/cover;
    height: 47px;
    width: 47px;
    border-radius: 50px;
}

#hf-search-form button:hover {
    opacity: 0.75;
}

.hide-on-desktop {
    display: none;
}

@media (max-width: 1230px) {
    #hf-header-nav #menu-main {
        gap: 25px;
    }
}

/*@media (max-width: 1080px) {*/
/*    #hf-header-nav #menu-main {*/
/*        gap: 15px;*/
/*    }*/
/*}*/

@media (max-width: 1100px) {
    .hide-on-desktop {
        display: block;
    }

    #hf-subnav-section {
        display: none;
    }
    
    #hf-header-topbar,
    #hf-subnav,
    .button-header {
        display: none;
    }

    #brx-header:has(.site-alert) .bricks-mobile-menu-wrapper {
        top: 91px;
    }

    body.admin-bar #brx-header:has(.site-alert) .bricks-mobile-menu-wrapper {
        top: 123px;
    }

       #hf-header-nav .bricks-mobile-menu {
        margin: 0 54px;
        padding-top: 75px;
        padding-bottom: 20px;
    }

    #hf-header-nav .bricks-mobile-menu > li.menu-item {
        border-top: 1px solid #fff;
        padding: 5px 0;
    }

    #hf-header-nav .bricks-mobile-menu > li.menu-item:last-child {
        border-bottom: 1px solid #fff;
    }

    #hf-header-nav .bricks-mobile-menu .menu-item a {
        display: inline-block
        padding-top: 0;
        padding-bottom: 0;
    }

    #hf-header-nav .bricks-mobile-menu > li > .brx-submenu-toggle > button {
        margin-left: 5px !important;
    }

    #hf-header-nav .current-menu-parent .brx-submenu-toggle {
        background-color: #000 !important;
        color: #fff;
    }

    #hf-header-nav .current-menu-parent .brx-submenu-toggle > * {
        color: #fff !important;
    }

    #hf-header-nav .sub-menu {
        margin-top: 0;
        padding: 0 0 10px 0;
    }

    #hf-header-nav .sub-menu li {
        padding: 0 20px;
    }

    #hf-header-nav .sub-menu li.current-menu-item {
        background-color: #222;
        border-radius: 10px;
    }
    #hf-header-nav .sub-menu a.header-link {
        padding-top: 7px;
        padding-bottom: 7px;
        line-height: 1.5 !important;
    }
    #hf-header-nav .sub-menu a.header-link:hover {
        background-color: transparent;
    }

    #hf-header-nav .sub-menu sub {
        bottom: -0.25em;
    }


    #hf-header-nav .bricks-mobile-menu .button-header a {
        margin-left: 0;
        width: 100% !important;
    }

    #hf-header-nav .bricks-nav-menu-wrapper {
        display: none;
    }

    #hf-header-nav .bricks-mobile-menu-toggle {
        display: block;
        color: #ffffff;
        background-color: #000;
        width: 28px !important;
        height: 20px !important
    }

    #hf-header-nav .bricks-mobile-menu-toggle .bar-top {
        width: 30px !important;
        top: 5px;
    }

    #hf-header-nav .bricks-mobile-menu-toggle[aria-expanded="true"] .bar-top {
        top: 50%;
    }

    #hf-header-nav .bricks-mobile-menu-toggle .bar-center {
        /*width: 30px !important;*/
        /*top: 9px;*/
        display: none;
    }

    #hf-header-nav .bricks-mobile-menu-toggle .bar-bottom {
        width: 30px !important;
        top: 15px
    }

    #hf-header-nav.show-mobile-menu .bricks-mobile-menu-toggle .bar-bottom {
        top: 10px;
    }

    #hf-header-nav .bricks-mobile-menu-wrapper:before {
        background-color: #000000;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    #hf-header-nav .bricks-mobile-menu > li > a {
        border-top-width: 2px;
        border-top-style: none;
        padding-right: 0;
        padding-left: 0;
        background-color: #000
    }

    #hf-header-nav .bricks-mobile-menu > li > .brx-submenu-toggle {
        border-top-width: 2px;
        border-top-style: none;
        background-color: #000;
        display: flex;
        justify-content: space-between;
    }

    #hf-header-nav a {
        border-top-width: 0;
        font-size: 20px;
        line-height: 50px !important;
    }

    #hf-header-nav .bricks-mobile-menu-wrapper {
        justify-content: flex-start;
        align-items: flex-start;
        top: 85px;
        width: 100%;
    }

    #hf-header-nav .bricks-mobile-menu .sub-menu > li > a {
        font-weight: 400;
        line-height: 1.5;
    }

    #hf-header-nav .bricks-mobile-menu .sub-menu > li > .brx-submenu-toggle > * {
        font-weight: 400;
        line-height: 1.5
    }

    #hf-header-nav .bricks-mobile-menu .sub-menu > .menu-item > a {
        padding-right: 0;
        padding-left: 0
    }

    #hf-header-nav .bricks-mobile-menu .sub-menu > .menu-item > .brx-submenu-toggle > * {
        padding-right: 0;
        padding-left: 0
    }

    /*#hf-header-nav .bricks-mobile-menu > li > a[aria-current="page"] {*/
    /*    background-color: #ffffff*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu > .current-menu-item > .brx-submenu-toggle {*/
    /*    background-color: #ffffff*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu [aria-current="page"] {*/
    /*    color: #000*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu [aria-current="page"] + button {*/
    /*    color: #000*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu > .current-menu-item > a {*/
    /*    color: #000*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu > .current-menu-parent > a {*/
    /*    color: #000*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu > .current-menu-item > .brx-submenu-toggle > * {*/
    /*    color: #000*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu > .current-menu-parent > .brx-submenu-toggle > * {*/
    /*    color: #000*/
    /*}*/
    #hf-header-nav .bricks-mobile-menu .menu-item-has-children .brx-submenu-toggle button {
        margin-left: 0
    }

    #hf-header-nav .bricks-mobile-menu > li > .brx-submenu-toggle > * {
        padding-right: 0;
        padding-left: 0;
    }

    /*#hf-header-nav .bricks-mobile-menu .sub-menu > .menu-item > a[aria-current="page"] {*/
    /*    background-color: #ffffff*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu .sub-menu .current-menu-item > .brx-submenu-toggle {*/
    /*    background-color: #ffffff*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu .sub-menu > .current-menu-item > a {*/
    /*    color: #000000*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu .sub-menu > .current-menu-item > .brx-submenu-toggle > * {*/
    /*    color: #000000*/
    /*}*/
    .bricks-mobile-menu {
        width: calc(100% - 108px);
        margin: 0 20px;
    }

    .brxe-nav-menu .bricks-mobile-menu > li > .brx-submenu-toggle > button {
        margin-left: 5px !important;
    }

    .current-menu-parent .brx-submenu-toggle {
        background-color: #000 !important;
        color: #fff;
    }

    .current-menu-parent .brx-submenu-toggle > * {
        color: #fff !important;
    }

    #hf-header-nav .sub-menu sub {
        bottom: -0.25em;
    }

    /*#hf-header-nav .language {*/
    /*    margin-top: 30px;*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu > .language.current-menu-item > .brx-submenu-toggle {*/
    /*    background-color: #000;*/
    /*}*/
    /*#hf-header-nav .bricks-mobile-menu > .language.current-menu-item > .brx-submenu-toggle button {*/
    /*    color: #fff*/
    /*}*/
    #hf-header-nav .bricks-mobile-menu-wrapper .brx-submenu-toggle {
        justify-content: flex-start
    }

    #hf-header-nav .bricks-mobile-menu-wrapper a {
        width: auto
    }

    #hf-header-nav .button-header {
        margin-top: 10px;
    }

    #hf-header-nav .brx-submenu-toggle button {
        display: inline-block;
    }

    #hf-site-alert-text-wrap {
        padding: 0 20px;
    }

    #hf-header-section {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    #hf-header-container {
        padding-left: 54px;
        padding-right: 54px;
        padding-top: 0;
        oadding-bottom: 0;
        margin-bottom: 0;
    }

    #hf-header-logo {
        margin: 0;
        z-index: 1000;
        transition: opacity 0.6s;
        display: block;
        height: 100%;
        width: calc(100% - 28px);
        background: #000;
        padding: 20px 0;
    }

    #hf-subnav-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /*#hf-header-divider.horizontal .line {*/
    /*    width: calc(100% - 108px);*/
    /*}*/
    #form-spacer {
        height: 20px;
    }

    #hf-search-form {
        margin-top: auto;
        margin-bottom: 54px;
        margin-left: 54px;
        margin-right: 54px;
        padding: 5px;
        width: calc(100% - 108px);
    }

    .bricks-mobile-menu-wrapper #hf-search-form input[type="search"] {
        font-size: 15px;
        line-height: 1.4;
    }

    .bricks-mobile-menu-wrapper #hf-search-form button {
        height: 35px;
        width: 35px;
    }

    .seopress-user-consent {
        z-index: 999 !important;
    }
}

@media (max-width: 767px) {
    #hf-site-alert {
        background: linear-gradient(21deg, #037bc5 24%, #1055cc 56%, #5814c7 95%);
    }

    #hf-site-alert-text {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    #hf-header-container {
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    #hf-header-divider.horizontal {
        padding-left: 0;
        padding-right: 0;
    }

    #hf-header-divider.horizontal .line {
        width: calc(100% - 40px);
    }

    #hf-header-nav .bricks-mobile-menu {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding-top: 74px;
    }

    #hf-header-nav .sub-menu a.header-link {
        padding-top: 7px;
        padding-bottom: 7px;
        line-height: 1.5 !important;
    }

    #hf-header-nav .bricks-mobile-menu > li.menu-item {
        padding: 0;
    }

    #hf-search-form {
        margin: auto 20px 26px;
        width: calc(100% - 40px);
    }

    #brx-header:has(.site-alert) .bricks-mobile-menu-wrapper {
        top: 135px;
    }

    body.admin-bar #brx-header:has(.site-alert) .bricks-mobile-menu-wrapper {
        top: 135px;
    }

    /* the number is the post id for the template
    it will likely be different for each environment */
    .brxe-popup-313683 .brx-popup-content.brxe-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    #hf-search-form {
        padding: 4px;
    }

    #hf-search-form input[type="search"] {
        padding-left: 10px;
        padding-right: 10px;
    }

    #hf-header-nav {
        border-top-width: 0;
        font-size: 20px;
        line-height: 1.15;
    }

    #hf-header-nav .language .brx-submenu-toggle .header-link::after {
        height: 20px;
        width: 20px;
        vertical-align: -4px;
    }

    #hf-header-nav .bricks-mobile-menu-wrapper li a {
        line-height: 54px;
    }
}

@media (max-width: 478px) {
    #hf-subnav {
        display: none;
    }


}