section {
    padding: 40px 0
}

@media screen and (min-width:1025px) {
    section {
        padding: 80px 0
    }
}

@media screen and (max-width:834px) {
    img.brand-element {
        width: 292px;
        height: 29px;
        display: block;
        margin: 0 auto
    }
}

h2.title {
    font-size: 28px;
    font-weight: 300;
    line-height: 38px;
    color: var(--color-icon-01);
    margin-bottom: 28px
}

h3,
h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: var(--color-brand-Auxiliary);
    margin-bottom: 28px
}

h4 {
    margin-bottom: 20px
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-icon-03)
}

@media screen and (min-width:1025px) {
    h2.title {
        font-size: 48px;
        line-height: 64px;
        margin-bottom: 32px
    }

    h3 {
        font-size: 20px;
        line-height: 42px;
        margin-bottom: 16px
    }

    h4 {
        line-height: 42px;
        margin-bottom: 12px
    }
}

.innner-pc.swiper-container {}

.innner-pc .swiper-slide {
    background-size: cover
}

.innner-pc .pc-small-title {
    padding-top: 304px
}

.innner-pc .banner-text-title,
.innner-wap .banner-text-title {
    color: var(--color-icon-01);
    text-align: center;
    padding: 0 0 40px
}

.innner-pc .banner-text-content,
.innner-wap .banner-text-content {
    color: var(--color-icon-01);
    text-align: center;
    margin-left: auto;
    margin-right: auto
}

@media screen and (max-width:1024px) {
    .innner-wap.swiper-container {
        height: 675px
    }

    .innner-wap .wap-small-title {
        padding-top: 132px
    }

    .innner-wap .banner-text-content {
        max-width: 343px;
        margin: 0 auto
    }
}

@media screen and (min-width:835px) and (max-width:1024px) {
    .innner-wap .banner-text-content {
        max-width: 100%
    }
}

#overnight-interest-table {
    padding: 160px 0
}

@media screen and (max-width:1024px) {
    #overnight-interest-table {
        padding: 63px 0 58px
    }
}

.wf-wrap {}

.chevron::before {
    border-style: solid;
    border-width: .25em .25em 0 0;
    content: '';
    display: inline-block;
    height: .45em;
    left: .15em;
    position: relative;
    transform: rotate(-45deg);
    width: .45em
}

.chevron.right:before {
    left: 0;
    transform: rotate(45deg)
}

.chevron.left:before {
    left: .25em;
    transform: rotate(-135deg)
}

/* table */
.cms-table {
    width: 175%;
    table-layout: fixed;
    margin-bottom: 16px;
}

.cms-table thead th,
.cms-table tbody td {
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    border: 0;
    /* word-wrap: break-word; */
    padding: 12px;
}

.cms-table thead th {
    width: 25%;
    color: var(--color-icon-01);
    background-color: var(--color-brand-standard);
}

.cms-table thead th:nth-child(1), td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 1;
}

.cms-table tbody td:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: #f9fbfd;
    z-index: 1;
}

.cms-table tbody td {
    font-weight: normal;
    color: var(--color-brand-Auxiliary);
}

.cms-table tbody tr {
    background-color: #f9fbfd;
}

.cms-table tbody tr {
    border-top: 2px solid white;
}

@media screen and (min-width: 1025px) {
    .cms-table {
        width: 100%;
    }

    .cms-table thead th:nth-child(1) {
        width: 20%;
    }

    .cms-table thead th:nth-child(2) {
        width: 20%;
    }

    .cms-table thead th:nth-child(3) {
        width: 10%;
    }

    .cms-table thead th:nth-child(4) {
        width: 15%;
    }

    .cms-table thead th:nth-child(5) {
        width: 15%;
    }

    .cms-table thead th:nth-child(6) {
        width: 15%;
    }

    .cms-table thead th:nth-child(7) {
        width: 15%;
    }

    .cms-table thead th,
    .cms-table tbody td {
        font-size: 16px;
    }

    .cms-table thead th:first-child,
    .cms-table tbody td:first-child {
        padding-left: 32px;
    }

    .cms-table tbody td {
        vertical-align: middle;
    }
}


/* d2 */
.cms-table tbody .depth-2 td {
    font-size: 14px;
    font-weight: bold;
}


/* d4 */
.cms-table tbody .depth-epth-4 p:not(:last-child) {
    margin-bottom: 8px;
}

.cms-table tbody .depth-4 td:nth-child(2) {
    text-align: right;
}


/* toggle */
.cms-table tbody .depth-2,
.cms-table tbody .depth-3,
.cms-table tbody .depth-4 {
    display: none;
}

.cms-table tbody .depth-1.active+.depth-2,
.cms-table tbody .depth-1.active+.depth-2+.depth-3,
.cms-table tbody .depth-1.active+.depth-2+.depth-3+.depth-4 {
    display: table-row;
}

.cms-table tbody .depth-1 {
    cursor: pointer;
}

.cms-table tbody .depth-1 td:first-of-type {
    position: relative;
}

.cms-table tbody .depth-1 td:first-of-type::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translate(0, -50%);
    width: 8px;
    height: 8px;
    background: url("../inpageImg/contract-specification/arrow-right.svg") no-repeat scroll center / contain;
}

.cms-table tbody .depth-1.active td:first-of-type::before {
    background-image: url("../inpageImg/contract-specification/arrow-down.svg");
}

@media screen and (max-width:1024px) {
    .cms-table-container {
        overflow-x: auto;
        overflow-y: clip
    }
}

.cms-table-menu {
    margin-bottom: 8px
}

.cms-table-categories {
    display: flex;
    list-style: none !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    padding: 7px 8px;
    overflow: auto
}

@media screen and (max-width:834px) {
    .cms-table-categories {
        flex-wrap: wrap;
        justify-content: space-evenly
    }
}

.cms-table-categories .cms-category-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.5px;
    color: #000018;
    white-space: nowrap;
    align-self: center
}

.cms-table-categories .cms-category-item.active,
.cms-table-categories .cms-category-item:focus {
    color: #e72931;
    padding: 12px 24px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 2px 2px 6px 0 rgba(214, 214, 214, .5);
    background-color: #fff
}

@media screen and (max-width:1024px) {
    .cms-table-categories .cms-category-item {
        font-size: 12px;
        font-weight: 400;
        line-height: normal;
        letter-spacing: .9px;
        color: #000018
    }

    .cms-table-categories .cms-category-item.active,
    .cms-table-categories .cms-category-item:focus {
        color: #e72931;
        padding: 12px 24px;
        font-size: 12px;
        font-weight: 400;
        line-height: normal;
        letter-spacing: .9px;
        color: #d91d22;
        box-shadow: 2px 2px 6px 0 rgba(214, 214, 214, .5);
        background-color: #fff
    }
}

.cms-table-categories .cms-category-item:hover {
    color: #e72931
}

.cms-table-col.left-menu {
    display: block;
    border-radius: 6px;
    background-color: #f5f5f5
}

.cms-table-col.right-menu {
    display: flex;
    width: 100%;
    text-align: right;
    justify-content: flex-end;
    justify-content: space-between;
    margin-bottom: 9px
}

@media screen and (max-width:1024px) {
    .cms-table-col.right-menu {
        display: block;
        text-align: left
    }
}

.cms-filter-gmt,
.cms-filter-category,
.cms-filter-search {
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 14px 16px 12px;
    margin-bottom: 0 !important;
    font-size: 14px;
    line-height: 1.57;
    color: #000018;
    background-color: transparent;
    border-radius: 3px;
    border: solid 1px #e4e4e4;
    margin-bottom: 8px
}

.cms-filter-search {
    width: 100%;
    background: #fff !important
}

@media screen and (max-width:1024px) {
    .cms-filter-gmt {
        width: 100%
    }
}

.cms-filter-dropdown-container {
    position: relative
}

.cms-filter-dropdown-icon {
    position: absolute;
    top: 9px;
    right: 15px;
    background-image: url(/wp-content/uploads/2021/07/icon-common-more.svg);
    width: 15px;
    height: 15px;
    background-repeat: round
}

@media screen and (max-width:1024px) {
    .cms-filter-dropdown-groups {
        display: flex;
        margin-bottom: 12px
    }

    .cms-filter-dropdown-container {
        width: 100%
    }

    .cms-filter-dropdown-icon {
        right: 8px
    }
}

.cms-filter-search-container {
    position: relative;
    max-width: 310px;
    width: 100%
}

@media screen and (max-width:1024px) {
    .cms-filter-search-container {
        max-width: 100%
    }
}

.cms-filter-search-icon {
    position: absolute;
    top: 9px;
    right: 15px;
    background-image: url(/wp-content/uploads/2021/08/icon-common-search.svg);
    width: 20px;
    height: 15px;
    background-repeat: round
}

.cms-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 16px
}

@media screen and (max-width:834px) {
    .cms-table {
        width: 100%
    }
}

.cms-header-1 {
    background-color: #d91d22
}

.cms-header-1 th {
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
    width: calc(100%/6)
}

@media screen and (max-width:1600px) {

    .cms-table .cms-header-1 th:first-child,
    .cms-table .cms-header-1 th:last-child {
        max-width: 12%
    }
}

@media screen and (max-width:1024px) {
    .cms-header-1 th {
        border: none;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: 1.5px;
        color: #fff
    }

    cms-table .cms-header-1 th:last-child {
        width: calc(100%/6)
    }
}

.cms-header-1 th:not(:first-child) {
    text-align: center
}

.cms-header-2 {
    background-color: rgba(217, 29, 34, .21);
    border-bottom: 7px solid #fff
}

@media screen and (max-width:1024px) {
    .cms-header-2 {
        border-bottom: 1px solid #fff
    }
}

.cms-header-2 th {
    border: none;
    padding: 8px 32px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.71;
    letter-spacing: normal;
    text-align: center;
    color: #000018;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 24, .1)
}

@media screen and (max-width:1024px) {
    .cms-header-2 th {
        padding: 8px 12px
    }
}

.cms-header-2 th .flex {
    display: flex
}

.cms-header-2 th .flex>* {
    flex: 1;
    padding: 0
}

@media screen and (max-width:834px) {
    .cms-header-2 th .flex {
        flex-direction: column
    }

    .cms-header-2 th .flex>* {
        text-align: right !important;
        padding: 0
    }
}

.cms-data {
    padding: 34px 48px 26px 40px !important;
    font-size: 16px;
    line-height: 1.5;
    color: #131329;
    border-bottom: 1px solid #fff
}

@media screen and (max-width:1024px) {
    .cms-data:not(:first-child) {
        text-align: right !important
    }
}

@media screen and (max-width:1024px) {
    .cms-data {
        width: 25%;
        padding: 16px 8px !important;
        font-size: 14px;
        line-height: 1.5;
        color: #131329;
        border-bottom: 1px solid #fff;
        /* word-break: break-word */
    }
}

.cms-data .currency {
    color: #666
}

.cms-data-row {
    background-color: #f9fbfd;
    cursor: pointer
}

.cms-data-row:nth-child(even) {
    background-color: #f6f7fb
}

.cms-data-row:hover {
    background-color: #e4e4e4
}

.cms-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.cms-table-question {
    display: flex;
    position: relative;
    margin-right: 150px
}

.cms-table-question .question-icon {
    margin-right: 8px
}

.question-text {
    white-space: nowrap;
    font-size: 20px
}

.question-text-popup {
    position: absolute;
    left: 0;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(182, 182, 182, .3);
    min-width: 259px;
    font-size: 14px;
    font-weight: 500;
    color: #131329;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    transition: .3s
}

@media screen and (min-width:1024px) {
    .question-text-popup {
        top: 0
    }
}

@media screen and (max-width:1024px) {
    .question-text-popup {
        bottom: 0
    }
}

.cms-table-question:hover .question-text-popup {
    opacity: 1;
    pointer-events: all;
    transition: .3s
}

.cms-table-pg {
    display: flex
}

.cms-table-pg-numbers {
    display: flex;
    list-style: none !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important
}

.cms-table-pg-numbers li {
    width: 32px;
    height: 32px;
    margin: 0 2px;
    border-radius: 1px;
    border: solid 1px #e6e8eb;
    text-align: center;
    font-size: 14px;
    line-height: 2;
    color: #8a8f9a;
    cursor: pointer;
    display: none
}

.cms-table-pg-numbers li:hover,
.cms-table-pg-numbers li:focus,
.cms-table-pg-numbers li.active {
    color: #fff;
    background-color: #d91d22
}

.cms-table-pg-numbers li.show {
    display: block
}

.cms-table-pg-previous,
.cms-table-pg-next {
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 1px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer
}

.cms-table-pg-previous.active,
.cms-table-pg-previous:hover,
.cms-table-pg-next.active,
.cms-table-pg-next:hover {
    color: #d91d22
}

.cms-table-pg-total {
    display: none;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 1px;
    border: none;
    font-size: 14px;
    line-height: normal;
    color: #fff;
    cursor: pointer;
    background-color: #d91d22;
    white-space: nowrap
}

#overnight-interest-calculator {
    background-color: #131329
}

#overnight-interest-calculator .container {
    max-width: 1456px !important
}

#overnight-interest-calculator .title {
    margin-bottom: 32px
}

#overnight-interest-calculator .brand-element {
    margin-bottom: 80px
}

#oi-calculator {
    text-align: center
}

.calculator-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    text-align: left
}

@media screen and (max-width:834px) {
    .calculator-row {
        grid-template-columns: 1fr;
        gap: 32px
    }
}

.calculator-row label {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .95);
    margin-bottom: 8px;
    display: block
}

@media screen and (min-width:1300px) {
    .calculator-row label {
        white-space: nowrap
    }

    .translatepress-vi .calculator-row label {
        min-height: 48px
    }
}

@media screen and (max-width:1300px) {

    .translatepress-vi .calculator-row label,
    .translatepress-th .calculator-row label {
        min-height: 49px
    }
}

@media screen and (max-width:1150px) {

    .translatepress-vi .calculator-row label,
    .translatepress-th .calculator-row label {
        min-height: 72px
    }
}

.calculator-input {
    width: 100%;
    padding: 8px 16px
}

#oi-calculator input {
    margin-bottom: 0
}

#oi-calculator input,
#oi-calculator select {
    color: #131329
}

@media screen and (max-width:1024px) {

    #oi-calculator input,
    #oi-calculator select {
        margin-bottom: 0
    }
}

.input-with-suffix {
    width: 100%;
    position: relative
}

.input-with-suffix .suffix {
    position: absolute;
    color: #131329;
    right: 16px;
    top: 50%;
    transform: translateY(-50%)
}

.dot-strip-element {
    margin-bottom: 32px
}

.button-calculate {
    text-align: center;
    width: 180px;
    height: 56px;
    font-size: 16px;
    font-weight: 500;
    background-color: #d91d22;
    color: #fff;
    border: none;
    margin-bottom: 32px;
    border-radius: 4px;
    cursor: pointer
}

.result-row {
    display: flex;
    justify-content: center;
    margin-bottom: 64px
}

@media screen and (max-width:1024px) {
    .result-row {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0
    }

    .result-group {
        padding: 16px 24px 21px;
        background-color: rgba(255, 255, 255, .95);
        margin-right: 36px;
        margin-left: 36px;
        margin-bottom: 24px
    }
}

.result-group {
    padding: 16px 24px 21px;
    background-color: rgba(255, 255, 255, .95);
    margin-right: 12px;
    margin-left: 12px
}

.result-group label {
    font-size: 14px;
    line-height: 1.71;
    color: #131329
}

.result-text {
    margin-top: 16px
}

.result-swap-value {
    font-size: 24px;
    line-height: 1;
    color: #131329
}

.result-swap-currency {
    font-size: 12px;
    line-height: 2;
    color: #131329
}

input[name=swap-long],
input[name=swap-short] {
    padding-right: 60px
}

#tutorial-dropdown {
    overflow-y: hidden;
    margin-bottom: 16px
}

.tutorial-list {
    position: relative;
    font-size: 14px;
    line-height: 1.71;
    color: rgba(255, 255, 255, .95);
    margin-bottom: 8px
}

.tutorial-list::before {
    position: relative;
    display: inline-block;
    margin-right: 6px;
    content: "";
    width: 6px;
    height: 6px;
    background-color: #d91d22
}

#tutorial-dropdown.hide {
    height: 0
}

#tutorial-dropdown-button {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #16a0ff;
    cursor: pointer;
    margin-right: 24px
}

#tutorial-dropdown-button::after {
    content: "";
    position: absolute;
    background-image: url(../images/overnight-interest/icon-common-more.webp);
    display: inline-block;
    width: 20px;
    height: 20px;
    top: 3px;
    margin-left: 8px;
    transform: rotate(180deg)
}

#tutorial-dropdown-button.open::after {
    transform: rotate(0)
}

.br-hide-desktop {
    display: none
}

@media screen and (max-width:1024px) {
    .br-hide-desktop {
        display: block
    }
}

#overnight-interest-formula h2.title {
    color: var(--color-brand-Auxiliary)
}

#overnight-interest-formula img.brand-element {
    margin-bottom: 40px
}

#overnight-interest-formula .grid:last-of-type {
    margin-bottom: 24px
}

#overnight-interest-formula .grid-content {
    background-color: #ebebec;
    padding: 24px 8px 44px 16px
}

#overnight-interest-formula .grid-content ul {
    display: flex;
    justify-content: space-between;
    margin: 46px 0 40px
}

#overnight-interest-formula .grid-content li {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666
}

#overnight-interest-formula .grid-content span.digit {
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
    color: #131329;
    margin-top: 12px
}

#overnight-interest-formula .grid-content span.red {
    color: #83191c
}

#overnight-interest-formula .grid-content span.black {
    color: var(--color-brand-Auxiliary);
    word-break: keep-all
}

#overnight-interest-formula .grid-content img {
    vertical-align: middle
}

#overnight-interest-formula .grid-content hr {
    height: 1px;
    background-color: #d8d8d8;
    margin: 28px auto 24px
}

#overnight-interest-formula .question {
    position: relative
}

#overnight-interest-formula .tooltip {
    opacity: 0;
    transition: .3;
    width: 200px;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #1280cc;
    color: #fff;
    padding: 16px
}

#overnight-interest-formula .question img:hover+.tooltip {
    opacity: 1
}

@media screen and (min-width:835px) {
    #overnight-interest-formula {
        padding-bottom: 80px
    }

    #overnight-interest-formula .container {
        max-width: 1340px !important
    }

    #overnight-interest-formula .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px
    }

    #overnight-interest-formula .grid-content {
        padding: 24px
    }

    #overnight-interest-formula .grid-content li:not(:last-child) {
        margin-right: 44px
    }

    #overnight-interest-formula .grid:not(:last-of-type) {
        margin-bottom: 40px
    }
}

@media screen and (min-width:1025px) {
    #overnight-interest-formula {
        padding-bottom: 160px
    }

    #overnight-interest-formula .grid {
        gap: 80px
    }

    #overnight-interest-formula .grid:not(:last-of-type) {
        margin-bottom: 80px
    }

    #overnight-interest-formula .grid-content ul {
        justify-content: flex-start
    }

    #overnight-interest-formula .grid-content li:not(:last-child) {
        margin-right: 88px
    }

    #overnight-interest-formula .question {
        position: relative;
        cursor: help
    }
}

@media screen and (max-width:834px) {
    #overnight-interest-formula {
        padding-bottom: 86px
    }

    #overnight-interest-formula h2.title {
        text-align: center
    }

    #overnight-interest-formula .grid:not(:last-of-type),
    #overnight-interest-formula .grid-item:not(:last-of-type) {
        margin-bottom: 40px
    }

    #overnight-interest-formula .tooltip {
        left: unset;
        right: 100%
    }
}

#overnight-interest-acknowledge {
    background-color: #131329
}

#overnight-interest-acknowledge .container {
    max-width: 1540px !important
}

#overnight-interest-acknowledge p {
    color: var(--color-icon-01)
}

#overnight-interest-acknowledge p:not(:last-child) {
    margin-bottom: 16px
}

@media screen and (max-width:834px) {
    #overnight-interest-acknowledge {
        padding: 80px 0
    }

    #overnight-interest-acknowledge h2.title {
        text-align: center;
        margin-bottom: 40px
    }

    #overnight-interest-acknowledge p:not(:last-child) {
        margin-bottom: 24px
    }
}

html[lang=ar] .innner-pc .banner-text-title {
    text-align: center
}



li.cms-category-item {
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
    vertical-align: middle;
}

li.cms-category-item.active {
    border: 1px solid #ddd;
    border-bottom-color: #fff;
    /* border-bottom: none; */
}

.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>li>a {
    border: none !important;
}

@media (max-width:834px) {
    .cms-table {
        min-width: 500px !important;
        text-align: center !important;
    }

    .cms-table td,
    .cms-header th:not(:first-child),
    .cms-data:not(:first-child) {
        text-align: center !important;
    }

    #overnight-interest-table .tab-content {
        overflow-x: scroll;
    }

    li.cms-category-item {
        border-bottom: none;
    }

    li.cms-category-item.active {
        border-bottom-color: #ddd;
    }
}

