/*Currency-block
*******************************************************************************************************************************/
.b-currency{padding:20px 10px;position:relative;zoom:1;z-index:12;background:#fff;font:13px/1.31 'Open Sans', Arial, Helvetica, Verdana, sans-serif}

/*Currency-converter
*******************************************************************************************************************************/
.b-currency-converter{container-type:inline-size;margin:-30px -20px 0;padding:20px;background:#f4f4f4;color:#000}
#currency-converter{--switch-width:200px;--amount-width:134px;--source-width:72px;--target-width:86px;--input-columns:var(--switch-width) var(--amount-width) var(--source-width);display:grid;grid-template-columns:var(--input-columns) 33px var(--target-width) minmax(0,1fr);grid-template-areas:"heading heading heading heading heading heading" "mode    amount  from    arrow   to      result" ".       bank    bank    bank    bank    bank" ".       nbrb    nbrb    nbrb    nbrb    nbrb";align-items:center}
.b-currency-converter__in,.b-currency-converter__out,.b-currency-converter-i,.b-currency-converter__form,.b-currency-converter__rates{display:contents}
#converter-in{margin:0;padding:0;list-style:none}
.b-currency-converter__in .title{grid-area:heading;margin:0 0 0.5em;font-size:26px;line-height:1.23}
.b-currency-converter .switch{grid-area:mode;display:flex;margin-right:15px}
.b-currency-converter .switch label{position:relative;display:grid;place-items:center;flex:1;box-sizing:border-box;height:40px;border:1px solid #ccc;border-radius:5px 0 0 5px;background:#fff;font-size:15px;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.b-currency-converter .switch label+label{margin-left:-1px;border-radius:0 5px 5px 0}
.b-currency-converter .switch .selected,.b-currency-converter .switch label:active{z-index:1;border-color:#66b500;background:#66b500;color:#fff;cursor:default}
.b-currency-converter .switch input{position:absolute;width:1px;height:1px;opacity:0}
.b-currency-converter :is(input,select,a):focus{outline:none}
.b-currency-converter .amount{grid-area:amount;min-width:0}
.b-currency-converter .select{grid-area:from}
.b-currency-converter .currency{grid-area:to}
#amount-in,.b-currency-converter select{box-sizing:border-box;width:100%;height:40px;padding:0 16px;border:1px solid var(--field-border-color,#ccc);transition:border-color .2s ease;border-radius:5px;background-color:#fff;font-size:15px;color:#333}
#amount-in{border-right:0;border-radius:5px 0 0 5px}
.b-currency-converter select{appearance:none;padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10'%3E%3Cpath d='m0 3 3-3 3 3zm0 4h6l-3 3z'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;cursor:pointer}
#currency-in{padding-left:8px;border-left:0;border-radius:0 5px 5px 0}
#currency-converter::after{content:"";grid-area:arrow;justify-self:center;width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%23999' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h12m-5-5 5 5-5 5'/%3E%3C/svg%3E") center no-repeat}
.b-currency-converter .result{grid-area:result;margin-left:15px;font-size:20px;line-height:1.1;white-space:nowrap}
.b-currency-converter .bank{grid-area:bank;margin-top:4px;color:#999;font-size:14px;line-height:20px}
.b-currency-converter .bank i,.b-currency-converter .bank b{font-style:normal;font-weight:normal}
.b-currency-converter .bank p{display:inline}
.b-currency-converter .bank .pseudolink{display:inline-block;max-width:100%;border:0;color:#1a6dbb;transition:color .2s ease}
#converter-in:has(:is(.amount,.select):is(:focus-within,:active)),#currency-out:is(:focus,:active){--field-border-color:#999}
.b-currency-converter .bank .pseudolink:active{color:#004d99;text-decoration:underline}
.b-currency-converter__out .title{grid-area:nbrb;margin-top:4px;color:#999;font-size:12px;line-height:16px}
.b-currency-converter__out .title b{white-space:nowrap}

/*Currency-main
*******************************************************************************************************************************/
.b-currency-main{background:#fff}
.b-currency-main__top{padding:15px 0 27px;position:relative;zoom:1}
.b-currency-main__top h1{padding:0 20px 0 0;border:0;display:inline;font-size:40px;color:#000}
.b-currency-main__top-upd{display:inline-block;position:relative;zoom:1;top:-6px;font-size:11px;color:#808080}
.b-currency-main__top-upd .preloader{top:4px;left:10px}
/*Currency-table*/
.b-currency-table-bg{min-width:960px;background:url(/assets/currency_table_bg.gif) repeat-x 0 0;position:relative;zoom:1; margin-bottom: 10px;}
.b-currency-table-bg-i {
    position: relative;
}
.b-currency-table-bg-ii{min-width:800px;position:relative;zoom:1; border-bottom: 1px solid #d1d1d1;}
.b-currency-table{width:100%}
.b-currency-table colgroup{display:none}


.b-currency-table thead{text-align:left}
.b-currency-table th,
.b-currency-table td{position:relative;vertical-align:top;text-align:inherit;font:15px 'Open Sans', Arial, Helvetica, Verdana, sans-serif!important;empty-cells:show}
.b-currency-table th{padding:0 10px 6px 0;vertical-align:middle;color:#808080;font-weight:700!important}
.b-currency-table .th-first{color:#000}
.b-currency-table .th-last{font-size:13px!important}
.b-currency-table tbody{}
.b-currency-table tbody tr{}
.b-currency-table tbody td{}

.b-currency-table thead th{width:16%}
.b-currency-table thead th.th-first{width:21%}
.b-currency-table thead th.th-last{width:31%}

@media only screen and (max-width:1200px){
    .b-currency-table thead th{width:24%}
    .b-currency-table thead th.th-first{width:28%}
    .b-currency-table thead th.th-last{display:none}

}



/*Best*/
.b-currency-table__best{width:100%;table-layout:fixed}
.b-currency-table__best:nth-child(6n+7):not(:first-child) {
    border-top: 1px solid #ccc;
}
.b-currency-table__best colgroup{display:none}


.b-currency-table__best .tr-main{}
.b-currency-table__best .tr-main td{padding:20px 25px 25px 0}
.b-currency-table__best .abbr{padding:0 0 50px;}
.b-currency-table__best .abbr.rate{font-size:40px}
.b-currency-table__best .abbr.conversion{font-size:23px}
.b-currency-table__best .value{padding:11px 0;white-space:nowrap;position:relative}
.b-currency-table__best .value:before{position:absolute;top:13px;left:-19px;font-size:18px}
.b-currency-table__best .value.rise:before{content:"↑";color:#3cb200}
.b-currency-table__best .value.fall:before{content:"↓";color:#f33}
.b-currency-table .value b{font-size:25px}
.b-currency-table__best .delta{font:11px 'Open Sans', Arial, Helvetica, Verdana, sans-serif;color:#808080}
.b-currency-table__best .delta.rise{color:#3cb200}
.b-currency-table__best .delta.fall{color:#c00}
.b-currency-table__best .bank{font-size:13px}
.b-currency-table__best .bank-caption-short{display:none}

.b-currency-table__best .tr-main td{width:16%}
.b-currency-table__best .tr-main td:first-child{width:21%}
.b-currency-table__best .tr-main td:last-child{width:31%}

@media only screen and (max-width:1200px){
    .b-currency-table__best .tr-main td{width:24%}
    .b-currency-table__best .tr-main td:first-child{width:28%}
    .b-currency-table__best .tr-main td:last-child{display:none}
    .b-currency-table__best .tr-main td.b-currency-chart-overlay{position:fixed;width:100%;padding:48px}
    .b-currency-table__best .tr-main td.b-currency-chart-overlay_open{display:flex}
    .b-currency-table__best .b-currency-chart__trigger{display:block;margin-top:6px}
}

/*More*/
.b-currency-table__more{width:100%;margin:0 0 -4px;border-top:1px solid #d1d1d1;display:none;position:relative;top:-4px}
.b-currency-table__more thead{}
.b-currency-table__more thead tr{}
.b-currency-table__more th{padding:11px 12px 12px;background:#e4e4e4;background:-moz-linear-gradient(top,rgba(245,245,245,1) 0%,rgba(228,228,228,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(245,245,245,1)),color-stop(100%,rgba(228,228,228,1)));background:-webkit-linear-gradient(top,rgba(245,245,245,1) 0%,rgba(228,228,228,1) 100%);background:-o-linear-gradient(top,rgba(245,245,245,1) 0%,rgba(228,228,228,1) 100%);background:linear-gradient(to bottom,rgba(245,245,245,1) 0%,rgba(228,228,228,1) 100%);font:11px 'Open Sans', Arial, Helvetica, Verdana, sans-serif !important;color:#000}
.b-currency-table__more th .arrow{height:3px;width:5px;border:5px solid transparent;background:url(/assets/currency_sprites.gif) no-repeat -14px 0;display:inline-block;position:relative;top:3px;left:1px;visibility:hidden}
.b-currency-table__more th.bank{width:20%;position:relative;zoom:1}
.b-currency-table__more th.bank .top-arrow{width:19px;height:11px;background:url(/assets/currency_sprites.gif) no-repeat 0 -15px;display:inline-block;position:absolute;top:-11px;left:20px}
.b-currency-table__more th.header{cursor:pointer}
.b-currency-table__more th.headerSortUp{}
.b-currency-table__more th.headerSortUp .arrow{visibility:visible}
.b-currency-table__more th.headerSortDown{}
.b-currency-table__more th.headerSortDown .arrow{background-position:-14px -8px;visibility:visible}
.b-currency-table__more tbody{}
.b-currency-table__more strong{color:#ff2400}
.b-currency-table__more tr{border-top:1px solid #ddd;background:#f6f6f6}
.b-currency-table__more .merge{border-color:#f6f6f6}
.b-currency-table__more.res .merge{border-color:#ddd !important}
.b-currency-table__more td{padding:7px 10px;font-size:13px!important;vertical-align:middle;color:#191919;}
.b-currency-table__more .bank{color:#474747!important}
.b-currency-table__more .merge .bank b{color:#bdbdbd}
.b-currency-table__more.res .merge .bank b{visibility:inherit !important}
.b-currency-table__more .address{font-size:11px!important}

/*Currency-chart
*******************************************************************************************************************************/
.b-currency-chart__trigger{display:none;width:max-content;max-width:100%;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.b-currency-chart__trigger::before{content:"";display:inline-block;width:16px;height:16px;margin-right:4px;vertical-align:middle;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23004d99' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v14h14M6 12l3-4 3 2 5-5'/%3E%3C/svg%3E") no-repeat center/16px 16px}
.b-currency .pseudolink.b-currency-chart__trigger{border:0;outline:none;color:#004d99}
.b-currency-chart__trigger span{border-bottom:1px dotted}
.b-currency-chart{height:60px;width:260px;padding:17px 15px 20px;margin:0 0 0 73px;border:1px solid #a3a3a3;background:#fff;display:inline-block}
.b-currency-chart__header{display:none}
.b-currency-chart-overlay .b-currency-chart{display:block;width:720px;height:auto;padding:32px 24px!important;overflow:visible;border:0}
.b-currency-chart-overlay .b-currency-chart__header{display:block}
.b-currency-chart-overlay .b-currency-chart__toggle{display:flex;float:none;flex-wrap:wrap;justify-content:flex-start;gap:8px 16px;width:auto;margin:0 0 16px;font-size:14px}
.b-currency-chart-overlay .b-currency-chart__toggle li{padding:0}
.b-currency-chart-overlay .b-currency-chart__toggle .selected:after{content:none}
.b-currency-chart-overlay .b-currency-chart-i{height:clamp(180px,40dvh,360px)}
.b-currency-chart-overlay .b-currency-chart__dates{display:flex;width:100%!important;left:auto!important;font-size:10px}
.b-currency-chart-overlay .b-currency-chart__dates span{flex:1;min-width:0;width:auto!important}
.b-currency-chart__empty{margin:0;padding:24px 0;color:#666}
.b-currency-chart-i{position:relative}
.b-currency-chart-i canvas{touch-action:pan-y;touch-action:pan-y pinch-zoom}
.b-currency-chart__tooltip{padding:0 5px;margin:-9px 0 0;background:#ff3919;position:absolute;visibility:hidden;white-space:nowrap;font-family:'Open Sans', Arial, Helvetica, Verdana, sans-serif;font-size:11px;color:#000}
.b-currency-chart__selection{position:absolute;inset:0;pointer-events:none}
.b-currency-chart__selection .b-currency-chart__tooltip{transform:translateX(-50%)}
.b-currency-chart__selection-line{position:absolute;width:1px;background:#ff3919}
.jqsfield{font-size:11px!important;z-index:10000}
.b-currency-chart__dates{width:100%;position:relative;zoom:1;/*text-align:justify;-ms-text-justify:distribute-all-lines;text-justify:distribute-all-lines;*/font:9px 'Open Sans', Arial, Helvetica, Verdana, sans-serif;color:#8c8c8c}
.b-currency-chart__dates span{display:block;float:left;overflow:hidden;text-align:center}
.b-currency-chart__dates .stretch{width:100%;display:inline-block;font:0/0 a}
.b-currency-chart__dates .dayoff{color:#ff8c8c}
.b-currency-chart__loading{height:60px;background:url(/assets/loader_whitebg.gif) no-repeat 50% 50%}
.b-currency-chart__toggle{width:73px;margin:0 0 0 -89px;display:block;float:left;font-size:11px}
.b-currency-chart__toggle-2{font-size:11px}
.b-currency-chart__toggle li{padding:0 0 10px;display:block}
.b-currency-chart__toggle .selected a,
.b-currency-chart__toggle-2 .selected a{font-weight:700;color:#191919;border:0}
.b-currency-chart__toggle .selected:after{content:"—";position:relative;zoom:1;float:right;color:#a3a3a3}
/*Currency-chart
*******************************************************************************************************************************/
:is(.b-currency-map,.b-currency-chart-overlay){position:fixed;inset:0;z-index:1000!important;display:flex;box-sizing:border-box;width:100%;height:100%!important;padding:48px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:rgba(14, 21, 26, .60) transparent;background-color:rgba(14, 21, 26, .60)!important;visibility:hidden;opacity:0;pointer-events:none;transition:.35s ease-in-out;transition-property:opacity,visibility,display;transition-behavior:allow-discrete}
.b-currency-map:has(.b-currency-map-i[style*="visibility: visible"]),.b-currency-chart-overlay_open{visibility:visible;opacity:1;pointer-events:auto}
:is(html,body):has(.b-currency-map-i[style*="visibility: visible"],.b-currency-chart-overlay_open){height:100%;overflow:hidden!important;position:static;scrollbar-gutter:stable}
:is(.b-currency-map-i,:where(.b-currency-chart-overlay) .b-currency-chart){position:relative;inset:auto!important;display:flex;flex-direction:column;box-sizing:border-box;width:880px;max-width:100%;height:clamp(360px,100%,760px);margin:auto;padding:32px 24px;border-radius:24px;background-color:#FFF;color:rgba(14, 21, 26, .90);box-shadow:0 4px 12px 0 rgba(0, 0, 0, .12), 0 24px 48px 0 rgba(0, 0, 0, .32);font-family:'nbrb', 'Open Sans', Arial, Helvetica Neue, Helvetica, sans-serif;font-size:14px;line-height:20px;text-align:left;white-space:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-size-adjust:100%;text-rendering:optimizeLegibility;visibility:inherit!important}
:is(.b-currency-map,.b-currency-chart-overlay) h2{padding:0;font-size:24px;line-height:28px;font-weight:700;overflow-wrap:anywhere}
.b-currency-map h2{margin:0}
.b-currency-chart-overlay h2{margin:0 0 16px}
.b-currency-map .address{margin:2px 0 16px;font-style:normal;overflow-wrap:anywhere}
.b-currency-map .address:empty{margin-top:0}
:is(.b-currency-map .close,.b-currency-chart__close){position:absolute;inset:auto -10px calc(100% - 2px) auto;display:block;box-sizing:border-box;width:44px;height:44px;margin:0;padding:0;border:0;background:transparent;color:rgba(14, 21, 26, .50);cursor:pointer;font-size:0;line-height:0;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:color .2s ease}
.b-currency-map .close .icon{position:absolute;inset:0;margin:auto;display:block;width:24px;height:24px;padding:0;border-radius:50%;background:currentColor}
.b-currency-map .close .icon::before,.b-currency-map .close .icon::after{content:"";position:absolute;top:50%;left:50%;width:13px;height:2px;border-radius:1px;background:#FFF;transform:translate(-50%,-50%) rotate(45deg)}
.b-currency-map .close .icon::after{transform:translate(-50%,-50%) rotate(-45deg)}
.b-currency-chart__close::before,.b-currency-chart__close::after{content:"";position:absolute;inset:0;margin:auto;width:24px;height:24px}
.b-currency-chart__close::before{background:currentColor;border-radius:50%}
.b-currency-chart__close::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m8 8 8 8m0-8-8 8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center}
:is(.b-currency-map .close,.b-currency-chart__close):active{color:rgba(14, 21, 26, .15)}
.b-currency-map .maparea{flex:1;min-height:200px;height:auto!important;overflow:hidden}
.g-middle:has(.b-currency-chart-overlay_open),.g-middle-i:has(.b-currency-chart-overlay_open),.b-currency:has(.b-currency-chart-overlay_open){z-index:1000}
@starting-style{.b-currency-map:has(.b-currency-map-i[style*="visibility: visible"]),.b-currency-chart-overlay_open{opacity:0}}

/*Currency-common
*******************************************************************************************************************************/
.b-currency table{font-family:'Open Sans', Arial, Helvetica, Verdana, sans-serif;margin:0 0 10px}
.b-currency input,
.b-currency select,
.b-currency button{margin:0;font-family:'Open Sans', Arial, Helvetica, Verdana, sans-serif}
.b-currency .pseudolink,
.b-currency__compact .pseudolink{border-bottom:1px dotted;text-decoration:none;position:relative}
.b-currency .pseudolink:hover,
.b-currency__compact .pseudolink:hover{text-decoration:none}
/*Preloader*/
.b-currency .preloader{height:16px;width:16px;background:url(/assets/loader_whitebg.gif) no-repeat 0 0;display:inline-block;position:relative;zoom:1;visibility:hidden}
.b-currency .orange{color:#ff2400}
.b-currency .pseudolink.orange{border-bottom-color:#ff2400}
.b-currency .pseudolink .arrow{height:3px;width:5px;border:5px solid transparent;background:url(/assets/currency_sprites.gif) no-repeat 0 0;display:inline-block;position:absolute;bottom:1px;right:-15px}
.b-currency .pseudolink.open .arrow{background-position:0 -8px}
.b-currency .legal{display:block;text-align:center}

/*Currency-teaser
*******************************************************************************************************************************/
.b-currency__compact{padding:0 0 25px}
.b-currency__compact-table{width:100%;border:1px solid #999}
.b-currency__compact-table.table-2{margin:0 0 18px}
.b-currency__compact .title{padding:0 0 18px;font:11px 'Open Sans', Arial, Helvetica, Verdana, sans-serif;color:#4c4c4c}
.b-currency__compact-table a{height:auto!important;margin:auto!important;background:none!important;display:inline!important;position:relative!important;color:#004d99!important;text-decoration:none!important}
.b-currency__compact-table thead{text-align:left}
.b-currency__compact-table thead .icon{height:16px;width:16px;background:url(/assets/loader_bluebg.gif) no-repeat 0 0;display:inline-block;position:relative;zoom:1;float:right;visibility:hidden}
.b-currency__compact-table th{padding:6px 10px;background:#eff3fd;text-align:inherit!important;font:700 15px 'Open Sans', Arial, Helvetica, Verdana, sans-serif}
.b-currency__compact-table .link{float:left}
.b-currency__compact-table tbody{font:11px 'Open Sans', Arial, Helvetica, Verdana, sans-serif}
.b-currency__compact-table tr{}
.b-currency__compact-table .col-name{}
.b-currency__compact-table .col-name td{padding:7px;text-transform:uppercase;font-weight:700;font-size:8px;color:#7f7f7f}
.b-currency__compact-table td.nbrb{padding-right:3px !important}
.b-currency__compact-table td span{position:relative}
.b-currency__compact-table td span:after{position:absolute;top:-1px;right:-8px}
.b-currency__compact-table td.rise span:after{content:"↑";color:#3cb200}
.b-currency__compact-table td.fall span:after{content:"↓";color:#f33}
.b-currency__compact-table td.delta{padding-left:0 !important;text-align:left;font-size:9px}
.b-currency__compact-table .last td.delta{padding-left:0 !important}
.b-currency__compact-table td.delta.rise{color:#3cb200}
.b-currency__compact-table td.delta.fall{color:#f33}
.b-currency__compact-table.table-2 .col-name td{padding:10px 7px 6px;text-transform:uppercase;font-weight:700;font-size:8px;color:#7f7f7f}
.b-currency__compact-table .currency-name{text-align:left}
.b-currency__compact-table .last{}
.b-currency__compact-table .last td{padding:2px 7px 6px!important}
.b-currency__compact-table td{padding:2px 7px;text-align:right}
.b-currency__compact-table.table-2 td{padding:4px 7px 7px}
.b-currency__compact-block{padding:0 31px 0 0}
.b-currency__compact .b-currency-chart{width:100%;margin:20px 0 31px;position:relative;zoom:1}
.b-currency__compact .currency-update{font-size:11px;color:#808080}
.b-currency__compact .b-currency-chart canvas{width:100%!important}
.b-currency__compact .b-currency-chart__toggle.toggle-curr{height:20px;width:auto;padding:0;margin:auto;position:absolute;top:-20px;bottom:auto;left:0;overflow:hidden}
.b-currency__compact .b-currency-chart__toggle{width:auto;padding:7px 0 2px;margin:auto;position:absolute;bottom:-20px;left:0;overflow:hidden}
.b-currency__compact .b-currency-chart__toggle li{padding:0 10px 0 0;float:left;position:relative}
.b-currency__compact .b-currency-chart__toggle .selected:after{content:"|";width:10px;margin:0 0 0 -10px;position:absolute;top:-6px;left:50%;overflow:hidden;color:#a3a3a3;text-align:center;font-size:5px}
.b-currency__compact .toggle-curr .selected:after{content:"|";width:10px;margin:0 0 0 -10px;position:absolute;top:auto;bottom:-8px;left:50%;overflow:hidden;color:#a3a3a3;text-align:center;font-size:5px}


/*YMap*/
.y-bankname{padding:10px;font-weight:700}
.y-bankaddress{padding:0 10px 10px}
@media only screen and (min-width:0) and (max-width:1000px),
only screen and (min-device-width:0) and (max-device-width:1000px){
    .b-currency__compact-table.table-teaser td{max-width:43px;padding:2px}
    .b-currency__compact-table.table-teaser .col-name td{padding:7px 2px}
    .b-currency__compact-table.table-teaser .last td{padding:2px 2px 6px!important}
}

@media only screen and (min-width:0) and (max-width:1100px),
only screen and (min-device-width:0) and (max-device-width:1000px){
    .b-currency-table{}

}

/*Layout crop specify fix*/
html{background-color:#e3e3e3;}
body{background-image:none;}
.bnr-top-wide, .b-top-line-1{background-color:#fff;}
.bnr-top-wide ins iframe, .b-top-line-1 ins iframe{min-width:0;}
.l-gradient-wrapper{min-width:1000px;background:#e3e3e3 linear-gradient(to bottom,#fff,#fff 50%,#e3e3e3) repeat-x 0 0 / 100% 190px;}

@media screen and (any-pointer: coarse) {
    #amount-in,.b-currency-converter select{font-size:16px}
}

@media only screen and (hover: hover) and (pointer: fine) {
    :is(.b-currency-map .close,.b-currency-chart__close):hover:not(:active){color:rgba(14, 21, 26, .30)}
    .b-currency-converter .switch label:where(:hover){background-color:#f3f3f3}
    #converter-in:has(:is(.amount,.select):where(:hover)),#currency-out:where(:hover){--field-border-color:#b3b3b3}
    .b-currency-converter .bank .pseudolink:where(:hover){color:#06c;text-decoration:underline}
    .b-currency-table__more tbody tr:hover{background:#e8e8e8}
    .b-currency-table__more .merge .bank b{visibility:hidden}
    .b-currency-table__more .merge:hover .bank b{visibility:visible}
    .b-currency-table__more.res .merge:hover .bank b{visibility:inherit !important;color:inherit !important}
}

@media screen and (min-width: 768px) {
    #amount-in{padding-right:0}
    #currency-converter{--result-offset:calc(var(--amount-width) + var(--source-width) + 34px + var(--target-width) + 20px);display:flex;flex-wrap:wrap;align-items:center;padding-left:var(--switch-width);gap:4px 10px}
    .b-currency-converter__in .title,#converter-in{margin-left:calc(-1 * var(--switch-width))}
    .b-currency-converter__in .title{flex-basis:calc(100% + var(--switch-width))}
    #converter-in{display:grid;grid-template-columns:var(--input-columns);grid-template-areas:"mode amount from"}
    #currency-converter::after{order:1}
    .b-currency-converter .currency{order:2;flex:0 0 var(--target-width)}
    .b-currency-converter .result{min-width:0;font-size:clamp(12px,calc((100cqi - var(--switch-width) - var(--result-offset)) / 14),20px);order:3;max-width:calc(100% - var(--result-offset));margin-inline:5px}
    .b-currency-converter__rates{display:block;order:4;flex:1 1 max-content;min-width:0;overflow-wrap:anywhere}
    .b-currency-converter .bank{margin-top:0}
}

@media screen and (max-width: 1000px) {
    .b-currency-converter{padding:16px}
    .b-currency-main{margin-inline:-4px}
    .b-currency-table-bg,.b-currency-table-bg-ii{min-width:0}
    .b-currency-table{table-layout:fixed}
    .b-currency-table__best .tr-main td{box-sizing:border-box;padding:16px 24px 16px 0;overflow-wrap:anywhere}
    .b-currency-table__best .abbr{padding:0 0 8px}
    .b-currency-table__best .abbr.rate{font-size:28px}
    .b-currency-table__best .abbr.conversion,.b-currency-table__best .value b{font-size:20px}
    .b-currency-table__best .value{padding:4px 0;white-space:normal}
    .b-currency-table__best .value:before{top:auto}
    .b-currency-table__more tbody tr:nth-child(even){background-color:#e8e8e8}
    .b-currency-table__more th.header{white-space:nowrap}
    .b-currency-table__more th.bank .top-arrow{display:none}
    .b-currency-table__more thead th{width:auto}
    .b-currency-table__more td{overflow-wrap:anywhere}
    :is(.b-currency-map,.b-currency-chart-overlay){height:100dvh!important;padding:0}
    .b-currency-table__best .tr-main td.b-currency-chart-overlay{padding:0}
    .b-currency-map-i{width:100%;height:100%;min-height:min-content;padding:16px 16px calc(16px + env(safe-area-inset-bottom)) 16px;border-radius:0}
    .b-currency-chart-overlay .b-currency-chart{width:100%;min-height:100%;padding:16px 16px calc(16px + env(safe-area-inset-bottom)) 16px!important;border-radius:0}
    .b-currency-chart-overlay .b-currency-chart__header{display:flex;flex-direction:column}
    .b-currency-map .maparea{flex-basis:0px;min-height:120px;contain:size}
    :is(.b-currency-map .close,.b-currency-chart__close){position:relative;inset:auto;order:-1;align-self:flex-end;margin:6px -10px 22px 0}
}

@media screen and (min-width: 601px) {
    .b-currency-table__more th:nth-child(-n+3),.b-currency-table__more td:nth-child(-n+3){width:1%;white-space:nowrap}
}

@media screen and (max-width: 767px) {
    .b-currency-converter__in .title{font-size:min(5cqi,26px);white-space:nowrap}
    #currency-converter{display:flex;flex-wrap:wrap;align-items:center}
    .b-currency-converter__in .title,#converter-in,.b-currency-converter .bank,.b-currency-converter__out .title{flex-basis:100%}
    #converter-in{display:grid;grid-template-columns:minmax(0,1fr) 72px;grid-template-areas:"mode mode" "amount from";row-gap:15px}
    .b-currency-converter .switch{margin:0}
    .b-currency-converter .bank{order:5;font-size:12px}
    #currency-converter::after{order:2;margin:12px calc(100% - 14px) 8px 0;transform:rotate(90deg)}
    .b-currency-converter .result{order:3;flex:1 1 0;min-width:0;margin:0 8px 0 0;font-size:clamp(12px,calc((100cqi - var(--target-width) - 8px) / 14),20px);line-height:40px}
    .b-currency-converter .currency{order:4;flex:0 0 var(--target-width);margin-left:auto}
    .b-currency-converter__out .title{order:5}
}

@media screen and (max-width: 600px) {
    .b-currency-main__top{padding:20px 0 12px}
    .b-currency-main__top h1{display:block;padding:0;font-size:28px}
    .b-currency-main__top-upd{top:0}
    .b-currency-table-bg{--table-gutter:16px;margin-inline:calc(-1 * var(--table-gutter));background:none}
    .b-currency-table,.b-currency-table>:is(thead,tbody),.b-currency-table>:is(thead,tbody)>tr,.b-currency-table-list,.b-currency-table__best,.b-currency-table__best>tbody{display:block}
    .b-currency-table-list{padding:0}
    .b-currency-table>thead th.th-first{width:auto;padding-inline:var(--table-gutter)}
    .b-currency-table>thead th:not(.th-first){display:none}
    .b-currency-table__best{border-top:1px solid #d1d1d1}
    .b-currency-table__best .tr-main{display:grid;font-size:clamp(0.6875rem,3vw,0.8125rem);grid-template-columns:repeat(3,minmax(0,1fr));row-gap:4px;padding:16px var(--table-gutter)}
    .b-currency-table__best .tr-main td,.b-currency-table__best .tr-main td:first-child{width:auto;padding:0;font-size:inherit !important}
    .b-currency-table__best .tr-main td:nth-child(-n+4){display:contents}
    .b-currency-table__best .abbr{grid-column:1 / -1;padding-bottom:6px}
    .b-currency-table__best .abbr.rate{font-size:2em}
    .b-currency-table__best .abbr.conversion,.b-currency-table__best .value b{font-size:1.35em}
    .b-currency-table__best .bank{font-size:inherit}
    .b-currency-table__best .bank-caption-short{display:inline}
    .b-currency-table__best .bank-caption-long{display:none}
    .b-currency-table__best .delta{font-size:0.9375em}
    .b-currency-table__best .tr-main td:first-child>.bank{grid-column:1 / -1;order:1;display:flex;align-items:baseline;column-gap:24px;padding:8px 0 0}
    .b-currency-table__best .b-currency-chart__trigger{flex:none;margin-top:0}
    .b-currency-table__best .tr-main td:before,.b-currency-table__best .tr-main td:not(:first-child)>p{margin-right:10px}
    .b-currency-table__best .tr-main td:before{grid-row:2;color:#808080}
    .b-currency-table__best .tr-main td:nth-child(2):before{content:"Банк покупает"}
    .b-currency-table__best .tr-main td:nth-child(3):before{content:"Банк продаёт"}
    .b-currency-table__best .tr-main td:nth-child(4):before{content:"Курс НБРБ"}
    .b-currency-table__best .value{grid-row:3;padding:0 1em 0 0}
    .b-currency-table__best .tr-main td:not(:first-child)>:is(.bank,.delta){grid-row:4}
    .b-currency-table__best .value:before{left:-0.65em;font-size:1.25em;margin-top:-1px}
    .b-currency-table__best .value b{white-space:nowrap}
    .b-currency-table__more{table-layout:fixed}
    .b-currency-table__more tr{display:grid;grid-template-columns:minmax(0,1fr) 72px calc(72px + var(--table-gutter))}
    .b-currency-table__more thead tr{border-top:0}
    .b-currency-table__more th,.b-currency-table__more td{padding:6px 4px}
    .b-currency-table__more tr>:first-child{padding-inline-start:var(--table-gutter)}
    .b-currency-table__more tr>:nth-child(3){padding-inline-end:var(--table-gutter)}
    .b-currency-table__more th.bank{width:auto}
    .b-currency-table__more th:nth-child(n+4){display:none}
    .b-currency-table__more td:nth-child(n+4){grid-column:1 / -1;font-size:11px !important;padding:0 var(--table-gutter) 6px}
    .b-currency-table__more td:nth-child(4):before{content:"Адрес: "}
    .b-currency-table__more td:nth-child(5):before{content:"Филиал: "}
}
