header#main-header {
    display: none;
}

footer#main-footer {
    display: none;
}

/* Fix for the transax form and incompatibility with divi popup class */
.trx-tab-content-content > .popup {
    display: block;
}
.tf-doc-fee-note {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.8;
}

#trailer_funnel .tf-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

#trailer_funnel .tf-price-block.is-centered {
    align-items: center;
    text-align: center;
}

#trailer_funnel .items .item > .tf-price-block,
#trailer_funnel .items .item > a.item-link > .tf-price-block {
    grid-area: price;
    align-items: stretch;
}

#trailer_funnel .items .item > .tf-price-block .tf-doc-fee-note,
#trailer_funnel .items .item > a.item-link > .tf-price-block .tf-doc-fee-note {
    width: 70%;
    margin: 2px auto 0;
}

.tf-doc-fee-breakdown {
    box-sizing: border-box;
    width: 100%;
    max-width: 365px;
    margin: 10px 0;
    padding: 10px 14px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.tf-doc-fee-breakdown .tf-doc-fee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
}

.tf-doc-fee-breakdown .tf-doc-fee-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.tf-doc-fee-breakdown .tf-doc-fee-amount {
    flex-shrink: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.tf-doc-fee-breakdown .tf-doc-fee-total {
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid #d1d5db;
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.tf-doc-fee-breakdown .tf-doc-fee-info {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #9ca3af;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
}

.tf-doc-fee-breakdown .tf-doc-fee-info::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    z-index: 10;
    width: max-content;
    max-width: min(240px, 70vw);
    padding: 6px 10px;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    transform: translateX(-30%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.tf-doc-fee-breakdown .tf-doc-fee-info:hover::after,
.tf-doc-fee-breakdown .tf-doc-fee-info:focus::after,
.tf-doc-fee-breakdown .tf-doc-fee-info:active::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    .tf-doc-fee-breakdown {
        max-width: none;
        font-size: 15px;
    }

    .tf-doc-fee-breakdown .tf-doc-fee-total {
        font-size: 18px;
    }
}
