/* Native Avada navigation patterns. All rules are local to Counta components. */
/* Keep Avada's floating control below menus and out of open modal dialogs. */
.to-top-container #toTop {
    z-index: 90;
}

.to-top-container #toTop:focus-visible {
    outline: 2px solid var(--totop_background);
    outline-offset: 3px;
}

.to-top-container #toTop:not(.fusion-to-top-active),
.modal-open .to-top-container #toTop {
    visibility: hidden;
}

.counta-component.cb-header,
.counta-component.cb-footer,
.counta-component.cb-announcement {
    font-family: Inter, sans-serif;
}

.counta-component.cb-header,
.counta-component.cb-footer {
    padding-right: max(24px, calc((100vw - 1240px) / 2)) !important;
    padding-left: max(24px, calc((100vw - 1240px) / 2)) !important;
}

.counta-component.cb-header > .fusion-builder-row,
.counta-component.cb-footer > .fusion-builder-row,
.counta-component.cb-announcement > .fusion-builder-row {
    width: 100% !important;
    max-width: 1240px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.counta-component.cb-header .fusion-column-wrapper,
.counta-component.cb-footer .fusion-column-wrapper,
.counta-component.cb-announcement .fusion-column-wrapper {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.counta-component.cb-header .cb-header__brand {
    width: 140px !important;
    flex: 0 0 140px !important;
}

.counta-component.cb-header .cb-header__logo {
    display: block;
    margin: 0;
    line-height: 0;
}

.counta-component.cb-header .cb-header__logo--desktop {
    width: 140px;
    height: 59.818px;
}

.counta-component.cb-header .cb-header__logo--mobile {
    display: none;
    width: 110px;
    height: 47.001px;
}

.counta-component.cb-header .cb-header__navigation {
    width: auto !important;
    flex: 0 1 auto !important;
}

.counta-component.cb-header .cb-header__actions {
    width: auto !important;
    flex: 0 0 auto !important;
}

.counta-component.cb-header .cb-header__actions > .fusion-column-wrapper {
    gap: 16px;
    flex-wrap: nowrap;
}

.counta-component.cb-header .fusion-button {
    min-height: 48px;
    margin: 0;
    white-space: nowrap;
}

.counta-component.cb-header .cb-header__arrow {
    display: inline-block;
    margin-left: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 20px;
}

.counta-component.cb-header .awb-menu__main-a {
    white-space: nowrap;
}

/* Native Avada dropdown: match the navigation's type and link states. */
.counta-component.cb-header .cb-header__menu {
    --awb-submenu-color: #181313 !important;
    --awb-submenu-active-color: #bd171d !important;
    --awb-submenu-bg: transparent !important;
    --awb-submenu-active-bg: transparent !important;
    --awb-submenu-font-size: 11px !important;
    --awb-submenu-line-height: 17px !important;
    --awb-submenu-text-transform: uppercase !important;
    --awb-fusion-font-family-submenu-typography: Inter, sans-serif !important;
    --awb-fusion-font-weight-submenu-typography: 800 !important;
    --awb-submenu-items-padding-top: 12px !important;
    --awb-submenu-items-padding-bottom: 12px !important;
    --awb-submenu-items-padding-left: 18px !important;
    --awb-submenu-items-padding-right: 18px !important;
    --awb-submenu-sep-color: transparent !important;
}

.counta-component.cb-header .awb-menu_desktop .awb-menu__sub-ul_main {
    display: flex;
    padding: 8px 0;
    background: #fff;
    border: 1px solid rgba(24, 19, 19, .14);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(24, 19, 19, .12);
}

.counta-component.cb-header .awb-menu .awb-menu__sub-li {
    background: transparent !important;
}

.counta-component.cb-header .awb-menu .awb-menu__sub-li > .awb-menu__sub-a {
    color: #181313 !important;
    background: transparent !important;
    text-decoration: none !important;
}

.counta-component.cb-header .awb-menu .awb-menu__sub-li > .awb-menu__sub-a:is(:hover, :focus-visible) {
    color: #bd171d !important;
}

@media (min-width: 1101px) {
    .counta-component.cb-header .awb-menu .awb-menu__main-li:is(.current-menu-item, .current-menu-parent, .current-menu-ancestor) > .awb-menu__main-a,
    .counta-component.cb-header .awb-menu .awb-menu__sub-li.current-menu-item > .awb-menu__sub-a {
        --awb-active-color: #bd171d;
        color: #bd171d !important;
    }
}

.counta-component.cb-header .awb-menu__m-toggle {
    box-sizing: border-box;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    font-family: Inter, sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
}

.counta-component.cb-header .awb-menu__m-collapse-icon {
    display: none;
}

.counta-component.cb-header a:focus-visible,
.counta-component.cb-header button:focus-visible,
.counta-component.cb-footer a:focus-visible,
.counta-component.cb-announcement a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.counta-component.cb-footer .cb-footer__brand {
    width: 183px !important;
    flex: 0 0 183px !important;
}

.counta-component.cb-footer .cb-footer__logo {
    display: block;
    width: 160px;
    height: 68px;
    margin: 0 0 20px;
    line-height: 0;
}

.counta-component.cb-footer .cb-footer__tagline p {
    margin: 0;
}

.counta-component.cb-footer .cb-footer__navigation {
    width: calc(100% - 260px) !important;
    max-width: 788px;
    flex: 0 1 auto !important;
}

.counta-component.cb-footer .cb-footer__navigation .fusion-builder-row-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100% !important;
    margin: 0 !important;
}

.counta-component.cb-footer .cb-footer__group {
    width: 140px !important;
    flex: 0 0 140px !important;
}

.counta-component.cb-footer .cb-footer__heading h2 {
    min-height: 17px;
    margin: 0 0 17px;
    color: rgba(255, 255, 255, 0.62);
    font-family: Inter, sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 13.95px;
    letter-spacing: 1.62px;
    text-transform: uppercase;
}

.counta-component.cb-footer .cb-footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.counta-component.cb-footer .cb-footer__links li {
    min-height: 22px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 18.6px;
}

.counta-component.cb-footer .cb-footer__links a {
    color: #fff;
}

.counta-component.cb-footer a:hover,
.counta-component.cb-announcement a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.counta-component.cb-footer .cb-footer__bottom {
    width: 100% !important;
    flex: 0 0 100% !important;
}

.counta-component.cb-footer .cb-footer__legal {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
}

.counta-component.cb-footer .cb-footer__legal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 9px;
    font-weight: 400;
    line-height: 13.95px;
}

.counta-component.cb-footer .cb-footer__legal-row p {
    margin: 0;
}

.counta-component.cb-footer .cb-footer__legal-row a {
    color: inherit;
}

.counta-component.cb-announcement {
    padding-right: 24px !important;
    padding-left: 24px !important;
}

.counta-component.cb-announcement .cb-announcement__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 17px;
    text-transform: uppercase;
}

.counta-component.cb-announcement .cb-announcement__badge {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fff;
    color: #bd171d;
    white-space: nowrap;
}

.counta-component.cb-announcement .cb-announcement__link {
    flex-shrink: 0;
    color: #fff;
    white-space: nowrap;
}

@media (max-width: 1200px) and (min-width: 1101px) {
    .counta-component.cb-header .cb-header__menu {
        --awb-gap: 14px;
    }

    .counta-component.cb-header .cb-header__actions > .fusion-column-wrapper {
        gap: 8px;
    }
}

@media (max-width: 1100px) {
    .counta-component.cb-header {
        position: relative;
        z-index: 100;
        min-height: 60px;
        padding: 6.5px 20px !important;
    }

    .counta-component.cb-header .cb-header__brand {
        width: 110px !important;
        flex-basis: 110px !important;
    }

    .counta-component.cb-header.fusion-flex-container > .fusion-builder-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Avada adds responsive display rules to visible columns at render time. */
    .counta-component.cb-header.fusion-flex-container .fusion-layout-column.cb-header__actions,
    .counta-component.cb-header .cb-header__logo.cb-header__logo--desktop {
        display: none !important;
    }

    .counta-component.cb-header .cb-header__logo.cb-header__logo--mobile {
        display: block !important;
    }

    .counta-component.cb-header .cb-header__navigation {
        position: static;
        min-width: 0;
        margin-left: auto !important;
    }

    .counta-component.cb-header .cb-header__navigation > .fusion-column-wrapper {
        position: static;
    }

    .counta-component.cb-header .cb-header__menu.collapse-enabled {
        z-index: 1000;
    }

    .counta-component.cb-header .cb-header__menu.collapse-enabled > .awb-menu__main-ul {
        background: #fff !important;
    }

    .counta-component.cb-header .cb-header__menu.collapse-enabled.expanded > .awb-menu__main-ul {
        z-index: 1001 !important;
    }
}

@media (max-width: 767px) {
    .counta-component.cb-footer {
        padding: 48px 24px 24px !important;
    }

    .counta-component.cb-footer .cb-footer__brand {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 24px !important;
    }

    .counta-component.cb-footer .cb-footer__brand > .fusion-column-wrapper {
        align-items: center;
        text-align: center;
    }

    .counta-component.cb-footer .cb-footer__tagline {
        width: 100%;
    }

    .counta-component.cb-footer .cb-footer__navigation {
        width: 100% !important;
        max-width: none;
        flex: 0 0 100% !important;
    }

    .counta-component.cb-footer .cb-footer__navigation .fusion-builder-row-inner.fusion-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 304px !important;
        justify-content: start !important;
        gap: 24px;
    }

    .counta-component.cb-footer .cb-footer__group {
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .counta-component.cb-footer .cb-footer__bottom {
        margin-top: 48px !important;
    }

    .counta-component.cb-footer .cb-footer__legal-row {
        font-size: 11px;
    }

    .counta-component.cb-announcement {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .counta-component.cb-announcement .cb-announcement__row {
        gap: 12px;
        font-size: 9px;
    }
}

@media (max-width: 359px) {
    .counta-component.cb-footer .cb-footer__legal-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .counta-component.cb-announcement .cb-announcement__row {
        flex-wrap: wrap;
        gap: 4px 12px;
    }
}
