.converter-box {
    margin: 0 auto 32px;
    padding: 95px 24px 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/images/front/calculator/bg_curr_converter.png");
}

.calc-wrap {
    background: #ffffff;
    max-width: 1054px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    padding: 45px 12px;
    box-shadow: 0 24px 44px 0 #00084040;
}

.converter-heading {
    font-weight: 600;
    margin-bottom: 35px;
    text-align: center;
    color: #000000;
}

.select_div {
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
}

.input-section {
    display: flex;
    flex-direction: column;
    padding: 8px 24px;
    position: relative;
    border: 1px solid #D8DEEF;
    border-radius: 8px;
}

.input-section.sec1 input:focus-visible {
    outline: none;
    box-shadow: none;
}

.input-section.sec1 input {
    font-weight: 600;
    width: 100%;
    height: 42px;
    border: none;
}

.input-section label {
    position: absolute;
    color: #00000099;
}

.from-label,
span.currency {
    color: #00000099;
}

.input-section input {
    padding-top: 22px;
}

.input-section.sec1,
.sections.sec2,
.sections.sec4 {
    width: 316px;
}

.sections {
    padding: 8px 24px;
    position: relative;
    border: 1px solid #D8DEEF;
    border-radius: 8px;
}

.converter-container {
    display: flex;
    column-gap: 8px;
    position: relative;
}

.select_div .sec3 {
    position: absolute;
    left: calc(50% - 20px);
    top: calc(50% - 20px);
    z-index: 1;
}

.select_div .sec3 button {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #D8DEEF;
    border-radius: 50%;
}

.select_div .sec3:hover button {
    outline: 1px solid var(--ifc-green-600);
}

.select_div .sec3 button svg {
    position: relative;
    top: 1px;
    display: inline-block;
    width: 24px;
    height: 24px;
}


.select_div .sec3 button svg path{
    fill: var(--ifc-dark);
}

.select_div .sec3:hover button svg path {
    transition: .2s ease-in;
    fill: var(--ifc-green-600);
}

.select_text {
    text-align: center;
    background: #F8F8F8;
    max-width: 965px;
    width: 100%;
    margin: 0 auto 32px;
    color: #000000;
}

.rate_today {
    color: #000000;
}

.select_div .currency_flag {
    margin: 0 9px 0 0;
}

.dividing_line {
    background: #00000029;
    width: 392px;
    height: 1px;
    margin: 32px auto;
}

/*banner style*/
.banner-trading-container {
    width: 100%;
    margin-bottom: 80px;
    padding: 12px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-trading-container h2 {
    font-weight: 500;
    color: #ffffff;
}

.currency-converter .banner-trading-container {
    background: url("/images/front/calculator/trading_with_ifc.jpg");
}

.cryptocurrency-converter .banner-trading-container {
    background: url("/images/front/calculator/hit_the_jackpot.jpg");
}
/*END banner style*/








.mr-2 {
    margin-right: 10px;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
}


.sections {
    font-weight: 500;
    text-align: center;
    color: var(--ifc-dark);
    background: #ffffff;
}

.sections.sec1 {
    width: 220px;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.sections.sec1 input:focus-visible {
    outline: none;
}

.sections.sec1 input {
    font-weight: 600;
    width: 100%;
    height: 60px;
    border: none;
}



.selected {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 42px;
    text-align: left;
    align-items: center;
}

.dflag {
    position: absolute;
    visibility: visible;
    overflow-y: scroll;
    width: 316px;
    height: 246px;
    background: #ffffff;
    top: 107px;
    left: 0;
    box-shadow: 0 24px 44px 0 #00084040;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    scrollbar-width: thin; /* For macOS-style thin scrollbar */
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    z-index: 1;
}

.one_by_one {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.one_by_one:hover {
    background: #6F9B2729;
;
}

.one_by_one:before {
    content: "";
    height: 1px;
    width: 100%;
    background: #F5F5F5;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.one_by_one.zero-element {
    display: none;
}

.sections.sec3 {
    position: relative;
    top: 1px;
    width: 60px;
    margin: 0 10px;
    outline: 1px solid #ffffff;
    background: 0 0;
}

.sections button,
.sections .selected,
.sections .one_by_one {
    cursor: pointer;
}

.select_text span[data-currency],
span[data-currency] {
    color: #00000099;
}

.my_wrapper{
    display: flex;
    flex-wrap: wrap;
}

.one {
    width: calc(100% - 160px);
    padding-right: 20px;
}

.open_acc{
    width: 100%;
}

.rates_today {
    display: flex;
    overflow: hidden;
    width: 100%;
    margin-bottom: 50px;
    justify-content: space-between;
}

.profile_item.big_part {
    display: inline-block;
    width: 100%;
}

.fulllist_title {
    display: block;
    text-align: left;
}

.cur1 > a,
.cur2 a {
    color: currentColor;
}

.profile_item .item_section {
    font-size: .875rem;
    width: 100%;
}

.cur_name {
    color: var(--ifc-green-600);
}

.fulllist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.all_rates:nth-child(2n + 1) {
    margin-right: 50px;
}

.all_rates:nth-child(4n + 2),
.all_rates:nth-child(4n + 1) {
    background: var(--ifc-gray-100);
}

.all_rates {
    position: relative;
    display: flex;
    width: calc(50% - 25px);
    height: 40px;
    padding: 10px;
    align-items: center;
    justify-content: center;
}

.rates_flag_block {
    display: flex;
    width: 100px;
    align-items: center;
    justify-content: flex-end;
}

.all_rates .flag_24 {
    margin: 0 10px;
}

.all_rates > span {
    display: flex;
    width: 100px;
    justify-content: flex-start;
}

.all_rates > :last-child > .cur2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.all_rates:last-child {
    border-bottom: 1px solid #dadada;
}

.all_rates:last-child:after {
    position: absolute;
    bottom: 0;
    left: calc(-100% - 50px);
    display: inline-block;
    width: 100%;
    content: '';
    border-bottom: 1px solid #dadada;
}

.cur2 .rate {
    margin-right: 5px;
    white-space: nowrap;
}

.see {
    text-align: left;
}

@media (min-width: 1600px) {
    .two {
        width: 200px;
    }

    .one {
        width: calc(100% - 200px);
    }
}

/*phrase*/
.two .smart-banner-bottom .support_girl {
    display: none;
}

/*END phrase*/

.custom-search-box {
    position: absolute;
    left: 0;
    bottom: -50px;
    width: 316px;
    height: 40px;
    padding: 0 1px 1px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: auto;
    border: 1px solid #D8DEEF;
    background: #FBFBFB;
    z-index: 1;
}

.custom-search-box input {
    border: none;
}

.currency-select-dropdown {
    display: none;
}

@media (max-width: 992px) {
    .select_div {
        flex-direction: column;
        gap: 16px;
    }

    .converter-container{
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 16px;
    }

    .my_wrapper {
        display: block;
    }

    .one {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .two {
        max-width: inherit;
        margin: 0 auto 30px;
    }

    .three {
        margin: 0 auto;
    }

    .open_acc .smart-banner-bottom h2,
    .open_acc .smart-banner-bottom > div {
        width: auto;
    }

    .select_text {
        margin-bottom: 25px;
    }

    .right_text {
        padding-top: 15px;
    }

    .rates_today {
        flex-wrap: wrap;
    }

    .three {
        padding: 0;
    }

    .left_rate {
        width: 100%;
    }

    .exchange_list.fulllist {
        margin-bottom: 20px;
    }

    .all_rates:nth-child(2n + 1) {
        margin: 0;
    }

    .all_rates {
        width: 100%;
    }

    .all_rates:nth-child(4n + 1),
    .all_rates:nth-child(4n + 2) {
        background: none;
    }

    .all_rates:nth-child(odd) {
        background: #f6f6f6;
    }
}

@media (max-width: 768px) {
    .converter-box {
        padding: 0;
        background-image: none;
    }

    .input-section.sec1,
    .sections.sec2,
    .sections.sec4 {
        width: 100%;
    }

    .dividing_line {
        width: 100%;
    }

    .calc-wrap {
        padding: 24px 12px;
    }

    .sections.sec1 {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .arrow_d {
        right: 7px;
    }

    .see > a {
        margin: 0;
    }

    .sections.sec1 input,
    .sections.sec3,
    .selected {
        height: 48px;
    }

    .sections.sec3 button {
        width: 50px;
        height: 48px;
    }

    .sections.sec3 {
        width: 40px;
    }

    .sections.sec3 {
        height: 46px;
    }

    .sections.sec3 {
        width: 50px;
    }

    .all_rates {
        font-size: .875rem;
    }

    .rates_flag_block .flag_24 {
        display: none;
    }

    .rates_flag_block {
        width: auto;
    }
}

@media (max-width: 440px) {
    .all_rates {
        width: 100%;
    }

    .sections.sec1 input:focus {
        outline: none;
    }
}

/*--------------------------------*/

.some_values {
    font-size: 1rem;
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 10px;
    justify-content: flex-start;
}

.some_values:nth-child(2n) {
    background: var(--ifc-gray-100);
}

.some_values > td {
    flex-basis: 40%;
}

.some_values.head_name {
    font-size: .875rem;
}

.some_values.head_name .cur1 {
    font-weight: bold;
    z-index: 2;
    display: flex;
    border: none !important;
    align-items: center;
    justify-content: flex-end;
}

.some_values.head_name .cur2 {
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.some_values > td.cur1,
.some_values > td.cur2 {
    padding: 0;
    flex-basis: 40%;
}

.exchange-rate {
    display: flex;
    width: 100px;
    padding: 0 !important;
    cursor: pointer;
    border: none !important;
    align-items: center;
    justify-content: flex-end;
}

.horizontal_line {
    padding: 0 0 !important;
    border: none !important;
}

.__sums_block {
    padding: 0 !important;
    border: none !important;
}

.some_values.head_name > td:nth-of-type(2),
.some_values > td.horizontal_line {
    text-align: center !important;
    flex-basis: 20%;
    border: none;
}

.cur1_vs_cur2 {
    float: left;
    width: calc(50% - 25px);
    border-bottom: 1px solid #dadada;
}

.cur1_vs_cur2:first-child {
    margin-right: 50px;
}

.three h2 {
    font-size: 1.25rem;
    font-weight: normal;
}

.equal-symbol {
    margin: 0 10%;
}

@media (max-width: 768px) {
    .cur1_vs_cur2 {
        width: 100%;
    }

    .cur1_vs_cur2:first-child {
        margin-right: 0;
    }

    .cur1_vs_cur2:first-of-type {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .some_values.head_name > td:nth-of-type(2),
    .some_values > td.horizontal_line {
        flex-basis: 6%;
    }

    .some_values > td.cur1,
    .some_values > td.cur2,
    .some_values > td {
        flex-basis: 47%;
    }

    .exchange-rate,
    .some_values.head_name .cur1 {
        justify-content: flex-start;
    }

    .some_values.head_name .cur2 {
        justify-content: flex-end;
    }

    table.__sums_block > tbody > tr > td {
        text-align: right !important;
    }

    .all_rates {
        justify-content: initial;
    }
}
.custom-search {
    font-family: var(--bs-body-font-family);
    font-size: 1rem;
    width: 99%;
    height: 100%;
    padding-right: 10px;
    padding-left: 10px;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, .5);
    border-bottom: 1px solid rgba(0, 0, 0, .5);
}

.custom-search:focus-visible {
    box-shadow: none;
}

.custom-search::placeholder {
    font-style: normal;
}

.custom-search:focus {
    border: none;
}

.form-bg h2 {
    font-size: 1.625rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.crypto-rate-stat {
    margin-bottom: 50px;
}

.crypto-rate-stat table thead tr th {
    font-weight: bold;
    padding: 10px;
}

.crypto-rate-stat .status {
    font-weight: bold;
}

.topCryptoTable {
    width: 100%;
    margin-bottom: 1rem;
}

.topCryptoTable th,
.topCryptoTable td {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.topCryptoTable  td {
    text-align: right;
}

.topCryptoTable thead th {
    border-right: 1px solid #eaedf3 !important;
}