/* layout */
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;
    }
}

/* font */
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: bold;
    line-height: 20px;
    color: var(--color-brand-Auxiliary);
    margin-bottom: 28px;
}
h4 {
    margin-bottom: 20px;
}
p {
    font-size: 16px;
    font-weight: normal;
    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;
    }
}

/* banner */
.innner-pc.swiper-container {
    /* height: 465px; */
}
.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 */
#overnight-interest-table {
    padding: 160px 0;
}
@media screen and (max-width: 1024px) {
    #overnight-interest-table {
        padding: 63px 0 58px;
    }
}
 /* General */
 .wf-wrap {
    /* background: #ffffff; */
}
/* Shape */
.chevron::before {
  border-style: solid;
  border-width: 0.25em 0.25em 0 0;
  content: '';
  display: inline-block;
  height: 0.45em;
  left: 0.15em;
  position: relative;
  transform: rotate(-45deg);
  width: 0.45em;
}

.chevron.right:before {
  left: 0;
  transform: rotate(45deg);
}

.chevron.left:before {
  left: 0.25em;
  transform: rotate(-135deg);
}

/* Table Container */
@media screen and (max-width: 1024px) {
    .cms-table-container {
        overflow-x: auto;
        overflow-y: clip;
    }
}

/* Table Menu */
.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: normal;
  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, 0.5);
    background-color: #fff;
}
@media screen and (max-width: 1024px) {
    .cms-table-categories .cms-category-item {
        font-size: 12px;
        font-weight: normal;
        line-height: normal;
        letter-spacing: 0.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: normal;
        line-height: normal;
        letter-spacing: 0.9px;
        color: #d91d22;
        box-shadow: 2px 2px 6px 0 rgba(214, 214, 214, 0.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;
}
html[lang="ug"] .cms-filter-gmt{
    -webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
	background-image: url('../images/select_arrow_solid.svg');
	background-position: 2% center;
    background-repeat: no-repeat;
    outline: none;
    background-size: 17px;
}
html[lang="ug"] .cms-filter-search{
    background-image: url('../images/common/icon-common-search.svg') !important;
    background-repeat: no-repeat !important;
    padding: 14px 38px 12px;
    background-position: 98% 50% !important;
}
.cms-filter-search {
    width: 100%;
    background: #ffffff !important;
}
@media screen and (max-width: 1024px) {
    .cms-filter-gmt {
        width: 100%;
    }
    html[lang="ug"] .cms-filter-gmt{
        -webkit-appearance: none;
        -moz-appearance: none;
        -o-appearance: none;
        appearance: none;
        background-image: url('../images/select_arrow_solid.svg');
        background-position: 2% center;
        background-repeat: no-repeat;
        outline: none;
        background-size: 17px;
    }
}
@media screen and (max-width:834px) {
    html[lang="ug"] .cms-filter-search{
        background-position: 96% 50%;
    }
}

.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;
}
/* Table */
.cms-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 16px;
}
@media screen and (max-width: 834px) {
    .cms-table {
        width: 133%;
    }
}
.cms-header-1 {
    background-color: #d91d22;
}
.cms-header-1 th {
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: bold;
    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: bold;
        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, 0.21);
    border-bottom: 7px solid #ffffff;
}
@media screen and (max-width: 1024px) {
    .cms-header-2 {
        border-bottom: 1px solid #ffffff;
    }
}
.cms-header-2 th {
    border: none;
    padding: 8px 32px; /* 24px */
    font-size: 14px;
    font-weight: bold;
    line-height: 1.71;
    letter-spacing: normal;
    text-align: center;
    color: #000018;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 24, 0.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: 28px 32px;
    font-size: 16px;
    line-height: 1.5;
    color: #131329;
    border-bottom: 1px solid #e6e8eb;
    white-space: nowrap;
}
@media screen and (max-width: 1024px) {
    .cms-data {
        padding: 12px;
        vertical-align: middle;
        font-size: 12px;
        line-height: 1.5;
        color: #131329;
        border-bottom: 1px solid #e6e8eb;
        white-space: nowrap;
    }
}
.cms-data:not(:first-child) {
    text-align: center;
}
html[lang="ug"] .cms-data:not(:first-child) {
    text-align: right;
}
.cms-data .currency {
    color: #666;
}

.cms-data .flex {
    display: flex;
}
.cms-data .flex > * {
    flex: 1;
    padding: 0;
}

.is-mobile{
    display: none !important;
}
@media screen and (max-width: 834px) {
    .cms-data .flex {
        flex-direction: column;
    }
    .cms-data .flex > * {
        text-align: right !important;
        padding: 0;
    }
    
}
@media screen and (max-width: 580px) {
    .cms-table-footer{
        display: block !important;
    }
    .is-mobile{
        margin-top: 24px;
        display: flex !important;
        text-align: left;
    }
    html[lang="ug"] .is-mobile{
        margin-top: -0px;
        margin-bottom: 15px;
    }
 
    .not-mobile{
        display: none !important;
    }
}

.cms-table tbody tr:last-child .cms-data {
    border-bottom: 1px solid #000018;
}

.cms-data-row {
    background-color: #f9fbfd;
}
.cms-data-row:nth-child(even) {
    background-color: #f6f7fb;
}
.cms-data-row:hover {
    background-color: #e4e4e4;
    cursor: pointer;
}

/* Table Footer */
.cms-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Question Popup */
.cms-table-question {
    display: flex;
    position: relative;
    margin-right: 150px;
}
html[lang="ug"] .cms-table-question {
    margin-right: inherit;
}
.cms-table-question .question-icon {
    margin-right: 8px;
}
.question-text {
    white-space: nowrap;
}
.question-text-popup {
    position: absolute;
    left: 0;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 2px 16px 0 rgba(182, 182, 182, 0.3);
    min-width: 259px;
    
    font-size: 14px;
    font-weight: 500;
    color: #131329;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    transition: 0.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: 0.3s;
}

/* Table Pagination */
.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: #ffffff;
    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: #ffffff;
    cursor: pointer;
    background-color: #d91d22;
    white-space: nowrap;
}

/* overnight-interest-calculator */
#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, 0.95);
    margin-bottom: 8px;
    display: block;   
}
html[lang="ug"] .calculator-row label  {
    text-align: right;
}
@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%);
}
html[lang="ug"] .input-with-suffix .suffix {
    left: 16px;
    right: inherit;
    top: 56%;
}
.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: #ffffff;
    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, 0.95);
        margin-right: 36px;
        margin-left: 36px;
        margin-bottom: 24px;
    }
    
}
@media screen and (max-width:834px) {
    html[lang="ug"] .result-group {
        width: 70%;
    }
}
.result-group {
    padding: 16px 24px 21px;
    background-color: rgba(255, 255, 255, 0.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;
}
html[lang="ug"] input[name="swap-long"],
html[lang="ug"] input[name="swap-short"] {
    padding-right: 16px;
    text-align: right;
}
#tutorial-dropdown {
    overflow-y: hidden;
    margin-bottom: 16px;
}
.tutorial-list {
    position: relative;
    font-size: 14px;
    line-height: 1.71;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
}
.tutorial-list::before {
    position: relative;
    display: inline-block;
    margin-right: 6px;
    content: "";
    width: 6px;
    height: 6px;
    background-color: #d91d22;
}
html[lang="ug"] .tutorial-list::before {
    margin-left: 6px;
    margin-right: inherit;
}
#tutorial-dropdown.hide {
    height: 0;
}
#tutorial-dropdown-button {
    position: relative;
    font-size: 16px;
    font-weight: bold;
    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;
    }
}
@media screen  and (max-width:834px) {
    html[lang="ug"] .tutorial-list {
      text-align: right;
      padding-right: 14px;
    }
    html[lang="ug"] .tutorial-list::before {
        position: absolute;
        right: 0;
        top: 10px;
    }
}

/* overnight-interest-formula */
#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: #666666;
}
#overnight-interest-formula .grid-content span.digit {
    font-size: 28px;
    font-weight: normal;
    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: #ffffff;
    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;
    }
    html[lang="ug"] #overnight-interest-formula .grid-content li:first-child {
        margin-right: 0;
    }
    html[lang="ug"] #overnight-interest-formula .grid-content li {
        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;
    }
    /* tooltip */
    #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 */
#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;
    }
}

/* uyghur style */
html[lang="ug"] .innner-pc .banner-text-content{
    text-align: center;
}

html[lang="ug"] .innner-pc .banner-text-title {
    text-align: center;
}

html[lang="ug"] #overnight-interest-table .has-text-left{
    text-align: right !important;
}

html[lang="ug"] #overnight-interest-table .cms-header-1 th:not(:first-child){
    text-align: right;
}
html[lang="ug"] #overnight-interest-table select#calculator-input-symbol {
    padding-left: 200px;
}
html[lang="ug"] #global-globe p.subtitle {
    max-width: inherit;
}
