.help-doc-widget__button {
    margin-left: 4px;
}

.help-doc-widget__button:focus {
    outline: none;
}

.help-doc-widget-modal.bbh-modal {
    z-index: 2200;
}

.help-doc-widget-modal .modal-dialog {
    width: calc(100vw - 48px);
    max-width: 1040px;
    margin: 4vh auto;
}

.help-doc-widget-modal__content {
    position: relative;
    height: 84vh;
    max-height: 84vh;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(47, 51, 56, .22);
}

.help-doc-widget-modal__header {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    border-bottom: 1px solid #D8DFE2;
    background: #fff;
    padding: 0 62px 0 24px;
}

.help-doc-widget-modal__title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #2f3338;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

.bbh-modal .help-doc-widget-modal__title {
    margin: 0;
}

.help-doc-widget-modal__toc-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin: 0 14px 0 0;
    border: 1px solid #F56363;
    border-radius: 8px;
    background: #F56363;
    color: #fff;
    cursor: pointer;
    padding: 0;
}

.help-doc-widget-modal.is-with-toc .help-doc-widget-modal__toc-toggle {
    display: inline-flex;
}

.help-doc-widget-modal.is-toc-collapsed .help-doc-widget-modal__toc-toggle {
    background: #fff;
    color: #F56363;
}

.help-doc-widget-modal__toc-toggle:hover,
.help-doc-widget-modal__toc-toggle:focus {
    box-shadow: 0 0 0 3px rgba(245, 99, 99, .14);
    outline: none;
}

.help-doc-widget-modal__toc-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 15px;
    height: 12px;
}

.help-doc-widget-modal__toc-toggle-icon span {
    display: block;
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.help-doc-widget-modal.is-toc-collapsed .help-doc-widget-modal__toc {
    display: none;
}

.help-doc-widget-modal.is-toc-collapsed .help-doc-widget-modal__content-area {
    max-width: 900px;
}

.help-doc-widget-modal__close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 0;
    background: #fff url(/bbh-template/img/close.svg) 0 0 no-repeat;
    background-size: 24px 24px;
    cursor: pointer;
    opacity: 1;
    padding: 0;
}

.help-doc-widget-modal__body {
    display: flex;
    height: calc(84vh - 72px);
    min-height: 0;
    background: #fff;
}

.help-doc-widget-modal__toc {
    flex: 0 0 260px;
    border-right: 1px solid #D8DFE2;
    overflow: auto;
    padding: 24px 20px;
}

.help-doc-widget-modal.is-without-toc .help-doc-widget-modal__toc {
    display: none;
}

.help-doc-widget-modal.is-without-toc .help-doc-widget-modal__content-area {
    max-width: 820px;
}

.help-doc-widget-modal__toc-title {
    margin: 0 0 12px;
    color: #2f3338;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

.help-doc-widget-modal__toc a,
.help-doc-widget-modal__mobile-toc a {
    display: block;
    color: #e83c3c;
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 10px;
    text-decoration: underline;
}

.help-doc-widget-modal__toc a.is-level-3,
.help-doc-widget-modal__mobile-toc a.is-level-3 {
    margin-left: 14px;
    font-size: 13px;
}

.help-doc-widget-modal__scroll {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: auto;
    padding: 26px 32px 42px;
}

.help-doc-widget-modal__mobile-toc {
    display: none;
}

.help-doc-widget-modal__content-area {
    max-width: 760px;
}

.help-doc-widget-modal__content-area,
.help-doc-widget-modal__content-area p,
.help-doc-widget-modal__content-area li,
.help-doc-widget-modal__content-area td,
.help-doc-widget-modal__content-area th {
    color: #4e4e4e;
    font-size: 15px;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
}

.help-doc-widget-modal__content-area h1,
.help-doc-widget-modal__content-area h2,
.help-doc-widget-modal__content-area h3 {
    color: #2f3338;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.help-doc-widget-modal__content-area h1 {
    margin: 0 0 18px;
    font-size: 30px;
}

.help-doc-widget-modal__content-area h2 {
    margin: 30px 0 12px;
    font-size: 22px;
}

.help-doc-widget-modal__content-area h3 {
    margin: 22px 0 10px;
    font-size: 18px;
}

.help-doc-widget-modal__content-area p {
    margin: 0 0 12px;
}

.help-doc-widget-modal__content-area ul,
.help-doc-widget-modal__content-area ol {
    margin: 0 0 18px 22px;
    padding: 0;
}

.help-doc-widget-modal__content-area ul {
    list-style: disc outside;
}

.help-doc-widget-modal__content-area ol {
    list-style: decimal outside;
}

.help-doc-widget-modal__content-area li {
    display: list-item;
    margin: 0 0 6px;
    padding-left: 2px;
    font-weight: 400;
}

.help-doc-widget-modal__content-area table {
    width: 100%;
    margin: 14px 0 20px;
    border-collapse: collapse;
    font-size: 14px;
}

.help-doc-widget-modal__content-area th,
.help-doc-widget-modal__content-area td {
    border: 1px solid #D8DFE2;
    padding: 8px 10px;
    vertical-align: top;
}

.help-doc-widget-modal__content-area th {
    background: #f5f5f5;
    color: #2f3338;
    font-weight: 700;
}

.help-doc-widget-modal__content-area code,
.help-doc-widget-modal__content-area pre {
    background: #f7f7f7;
    border: 1px solid #D8DFE2;
    border-radius: 6px;
    color: #2f3338;
    font-family: Menlo, Consolas, monospace;
}

.help-doc-widget-modal__content-area code {
    padding: 2px 5px;
}

.help-doc-widget-modal__content-area pre {
    overflow: auto;
    padding: 14px;
}

.help-doc-widget-modal__content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.help-doc-widget-modal__message {
    color: #9A9A9A;
}

.help-doc-widget-modal__top {
    position: sticky;
    right: 0;
    bottom: 16px;
    float: right;
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid #D8DFE2;
    border-radius: 8px;
    background: #fff;
    color: #2f3338;
    cursor: pointer;
    font-size: 20px;
    line-height: 34px;
    padding: 0;
    box-shadow: 0 6px 18px rgba(47, 51, 56, .16);
}

.help-doc-widget-modal__top:hover,
.help-doc-widget-modal__top:focus {
    border-color: #F56363;
    color: #F56363;
    outline: none;
}

.help-doc-widget-modal__top.is-visible {
    display: block;
}

@media (max-width: 767px) {
    .help-doc-widget-modal.show {
        align-items: center;
        display: flex !important;
        justify-content: center;
    }

    .help-doc-widget-modal.show .modal-dialog {
        transform: none !important;
    }

    .help-doc-widget-modal .modal-dialog {
        width: 95vw;
        max-width: 95vw;
        height: 95vh;
        height: 95dvh !important;
        margin: 0 auto !important;
    }

    .help-doc-widget-modal__content {
        height: 95vh;
        height: 95dvh !important;
        max-height: 95vh;
        max-height: 95dvh !important;
    }

    .help-doc-widget-modal__header {
        min-height: 64px;
        padding: 0 52px 0 16px;
        align-items: center;
    }

    .help-doc-widget-modal__title {
        font-size: 18px;
    }

    .help-doc-widget-modal__toc-toggle {
        display: none !important;
    }

    .help-doc-widget-modal__body {
        display: block;
        height: calc(95vh - 64px);
        height: calc(95dvh - 64px) !important;
        overflow: hidden;
    }

    .help-doc-widget-modal__toc {
        display: none;
    }

    .help-doc-widget-modal__scroll {
        height: 100%;
        padding: 20px 18px 34px;
    }

    .help-doc-widget-modal__mobile-toc {
        display: block;
        margin: 0 0 24px;
        border-bottom: 1px solid #D8DFE2;
        padding: 0 0 14px;
    }

    .help-doc-widget-modal.is-without-toc .help-doc-widget-modal__mobile-toc {
        display: none;
    }

    .help-doc-widget-modal__content-area,
    .help-doc-widget-modal.is-without-toc .help-doc-widget-modal__content-area {
        max-width: none;
    }

    .help-doc-widget-modal__content-area h1 {
        font-size: 24px;
    }

    .help-doc-widget-modal__content-area h2 {
        font-size: 20px;
    }


    .help-doc-widget-modal__content-area p,
    .help-doc-widget-modal__content-area li {
        color: #4e4e4e !important;
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .help-doc-widget-modal__content-area ul,
    .help-doc-widget-modal__content-area ol {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .help-doc-widget-modal__content-area table {
        display: block;
        border: 0;
    }

    .help-doc-widget-modal__content-area table thead {
        display: none;
    }

    .help-doc-widget-modal__content-area table tbody,
    .help-doc-widget-modal__content-area table tr,
    .help-doc-widget-modal__content-area table td {
        display: block;
        width: 100%;
    }

    .help-doc-widget-modal__content-area table tr {
        margin: 0 0 12px;
        border: 1px solid #D8DFE2;
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
    }

    .help-doc-widget-modal__content-area table td {
        display: grid;
        grid-template-columns: minmax(118px, 42%) minmax(0, 1fr);
        column-gap: 14px;
        align-items: start;
        min-height: 0;
        border: 0;
        border-bottom: 1px solid #D8DFE2;
        padding: 10px 12px;
        text-align: left !important;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .help-doc-widget-modal__content-area table td:last-child {
        border-bottom: 0;
    }

    .help-doc-widget-modal__content-area table td:before {
        content: attr(data-help-doc-label);
        min-width: 0;
        color: #2f3338;
        font-weight: 700;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }
}

.last-days-price-changed-block .help-doc-widget__button {
    align-self: center;
    display: inline-block;
    flex: 0 0 auto;
}

.last-days-price-changed-block .help-doc-widget__button + div {
    align-self: center;
    flex: 0 0 auto;
    line-height: 0;
}

.last-days-price-changed-block .help-doc-widget__button + div .on-off-info-question-mobile {
    display: inline-block;
    vertical-align: text-top;
}

@media (max-width: 767px) {
    .last-days-price-changed-block {
        align-items: center;
    }
}

.last-days-price-changed-block .help-doc-widget__button {
    align-self: center;
    display: inline-block;
    flex: 0 0 auto;
}

.last-days-price-changed-block .help-doc-widget__button + div {
    align-self: center;
    flex: 0 0 auto;
    line-height: 0;
}

.last-days-price-changed-block .help-doc-widget__button + div .on-off-info-question-mobile {
    display: inline-block;
    vertical-align: text-top;
}

@media (max-width: 767px) {
    .last-days-price-changed-block {
        align-items: center;
    }
}

.last-days-price-changed-block .help-doc-widget__button {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
}

.last-days-price-changed-block .price-days-popover {
    cursor: pointer;
    display: inline-block;
}

.last-days-price-changed-block .price-days-popover:focus {
    outline: none;
}

.last-days-price-changed-block .price-days-popover {
    cursor: pointer;
    display: inline-block;
}

.last-days-price-changed-block .price-days-popover:focus {
    outline: none;
}
