:root {
    --brand-color: #57809E;
    --default-text-color: #000000;
    --default-back-color: #FFFFFF;
    --pale-text-color: #747475;
    --bright-border-color: #9B9B9B;
    --pale-border-color: #D3D2D3;
    --pale-back-color: #F5F6F8;
    --menu-hover-color: #F5FAFE;
    --button-light-color: #769EBB;
    --button-dark-color: #47708E;
    --red-color: #DD4545;
    --login-back-color: #F2F4F7;
    --news-bg: #E4EFF6;
}

@font-face {
    font-family: 'FreeSetC';
    src: url('../fonts/FreeSetC.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FreeSetC';
    src: url('../fonts/FreeSetC-Bold.otf') format("opentype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'FreeSetC';
    src: url('../fonts/FreeSetC-Italic.otf') format("opentype");
    font-weight: normal;
    font-style: italic;
}

body {
    margin: 0;
    padding: 0;
    font-family: "FreeSetC", FreeSetC;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    text-align: left;
    color: var(--default-text-color);
}

body div.login * {
    font-family: FreeSetC !important;
}

a, a:hover {
    font-size: 16px;
    line-height: 20px;
    color: var(--brand-color);
}

a {
    text-decoration: none;
}

p, div, span, label, a, li, dt, dd, input, textarea, pre, body, button, input.pnlbutton, input.file {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
}

.login_page{
    display: flex;
    width: 100%;
    height: 100vh;
}

.add_login_page{
    margin: 0 auto;
}

.login_body {
    display: flex;
    flex-direction: column;
    background: var(--login-back-color);
    background-image: url(../img/ib/login-background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    flex-grow: 1000;
    color: var(--default-text-color);
    font-size: 12px;
    overflow: auto
}

.login_body_wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
    width: 0;
}

.login {
    background: var(--default-back-color);
    box-shadow: 0px 4px 40px rgba(0, 81, 145, 0.1);
    display: flex;
    flex-flow: column;
    width: 450px;
    position: relative;
    z-index: 1;
    padding: 50px 30px 40px;
    box-sizing: border-box;
}

.winlogin {
    border: none;
    padding: 0;
    overflow: visible;
    background: var(--default-back-color);
    flex-grow: 1;
    display: flex;
    flex-flow: column;
}

.winlogin span {
    padding: 1px;
    line-height: 20px;
}

.login_caption {
    font-style: normal;
    font-weight: normal;
    font-size: 32px;
    line-height: 36px;
    color: var(--brand-color);
    text-align: center;
    margin-top: 50px;
}

.winlogin .input, .winlogin .inputact {
    width: 100%;
}

.login_info{
    padding-top: 20px;
    text-align: justify;
}

.winlogin_auth {
    display: flex;
    padding-top: 20px;
    justify-content: center;
    flex-direction: column;
}

.winlogin_auth #capsIndicator {
    font-size: 12px;
    text-align: left;
    margin-bottom: 10px;
}

.wr_phoneNumber {
    display: flex;
    align-items: center;
}

.winlogin .tooltips {
    background: none repeat scroll 0 0 var(--menu-hover-color);
    border-radius: 5px;
    color: var(--red-color);
    height: auto;
    left: 385px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    top: 0;
    width: auto;
    border-radius: 3px;
    z-index: 1000;
}

.spaceBerweenLogoAndCaption {
    height: 157px;
}

.red, span.red, .winlogin span.red {
    color: var(--red-color);
}

.input_box {
    margin-bottom: 15px;
}

.input.withErrors {
    border: 1px solid var(--red-color) !important;
    outline: none;
}

.login_sysname {
    color: var(--brand-color);
    font-size: 31px;
    font-weight: bold;
    text-align: left;
    height: 40px;
    background-size: contain;
}

input.input, input.inputact {
    background: var(--default-back-color);
    border: 1px solid var(--pale-text-color);
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 14px;
    line-height: 16px;
    color: var(--default-text-color);
    height: 44px !important;
    padding: 12px !important;
}

input.input:focus, input.inputact:focus {
    background: var(--default-back-color);
    border: 1px solid #266BA1 !important;
    box-sizing: border-box;
    border-radius: 5px;
    color: var(--default-text-color);
    outline: none;
}

input.input:focus-visible, input.inputact:focus-visible {
    background: var(--default-back-color);
    border: 1px solid #266BA1 !important;
    box-sizing: border-box;
    border-radius: 5px;
    color: var(--default-text-color);
    outline: none;
}

.login_label {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    text-align: left;
    color: var(--pale-text-color);
}

.btnRow a {
    display: flex;
    border: 2px var(--brand-color) solid;
    border-radius: 25px;
    color: var(--brand-color);
    cursor: pointer;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
    background: transparent;
    box-sizing: border-box;
}

.additional_links,
.btnRow {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding-bottom: 15px;
}

.additional_links > *,
.btnRow > * {
    min-width: 40%;
}

.btnRow a:hover {
    color: var(--button-light-color);
    background: var(--default-back-color);
    border-color: var(--button-light-color);
}

.btnRow a:active {
    color: var(--button-dark-color);
    background: var(--pale-back-color);
    border-color: var(--button-dark-color);
}

.btnRow a[disabled] {
    color: var(--pale-text-color);
    background-color: var(--default-back-color);
    border-color: var(--pale-text-color);
}

.ui_submit_button {
    border: 2px var(--brand-color) solid;
    border-radius: 25px;
    color: var(--default-back-color);
    background-color: var(--brand-color);
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    height: 40px;
    padding: 10px 20px;
    white-space: nowrap;
}

.ui_submit_button.disabled {
    opacity: .65;
}

.ui_submit_button.size-s {
    width: 83px;
}

.ui_submit_button:hover {
    background: var(--button-light-color);
    border-color: var(--button-light-color);
}

.ui_submit_button:active {
    background: var(--button-dark-color);
    border-color: var(--button-dark-color);
}

.ui_submit_button[disabled] {
    background-color: var(--pale-border-color);
    border-color: var(--pale-border-color);
}

.minor-button {
    border: 2px var(--brand-color) solid;
}

.minor-button {
    color: var(--brand-color);
    background: none repeat scroll 0 0 var(--default-back-color);
}

.minor-button:hover {
    color: var(--button-light-color);
    background: var(--default-back-color);
    border-color: var(--button-light-color);
}

.minor-button:active {
    color: var(--button-dark-color);
    background: var(--pale-back-color);
    border-color: var(--button-dark-color);
}

.minor-button.disabled {
    color: var(--pale-text-color);
    background-color: var(--default-back-color);
    border-color: var(--pale-text-color);
}

.phoneNumber {
    font-size: 16px;
    color: var(--default-text-color);
    margin-right: 59px;
    margin-left: 5px;
}

.phoneNumber_bank {
    font-size: 25px;
}

.copyright {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 12px;
    margin-top: 16px ;
}

.news {
    float: left;
    margin-top: 32px;
}

.news .date {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.news .text {
    padding-right: 20px;
}

.news .news-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.news .text, .news .text p {
    font-size: 16px;
    margin: 0;
    line-height: 20px;
    font-weight: 400;
}

.login_news, .login_banners {
    width: 55%;
    padding: 0 48px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
}

.login_news div {
    text-overflow: ellipsis;
    overflow: hidden;
}

.news-title {
    margin: 12px 0 12px 0;
}

.grow {
    flex-grow: 1;
}

.tooltips:after {
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--menu-hover-color);
    border-top: 8px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    right: 100%;
    top: 8px;
    width: 0;
}

.currCode {
    font-size: 14px !important;
    font-family: 'FreeSetC' !important;
    flex: 1 0 auto;
}

.curRates {
    padding: 0;
    font-weight: bold;
    margin: 0 auto;
    font-size: 14px;
    line-height: 16px;
}

.curRates div {
    display: inline-flex;
    margin-right: 12px;
    font-size: 14px;
    line-height: 16px;
    padding-bottom: 12px;
    color: var(--pale-text-color);
}

.logo_image {
    display: flex;
    align-items: center;
    justify-content: center;
}

#lang {
    height: 20px;
    padding: 30px 50px 30px 0px;
    display: inline-flex;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
}

.lang_links:empty{
    display: none;
}

div.language {
    color: var(--bright-border-color);
    float: right;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    margin: 0 5px;
    cursor: pointer
}

.language.current {
    color: var(--brand-color);
    text-decoration: none;
    cursor: default;
}

#keyboardInputMaster thead {
    margin: 0px !important;
    background: var(--default-text-color);
    overflow: auto;
}

#captchaImg {
    width: 195px;
    height: 49px;
    border: 1px solid #D7DCE4;
    box-sizing: border-box;
    border-radius: 5px;
}

.captcha-inp-lbl {
    display: none;
}

.capthca-renew {
    cursor: pointer;
    margin-left: 9px;
}

#g-recaptcha > div {
    margin: 14px auto 28px;
}

.password_icons {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 10px;
    height: 44px;
    top: 0;
    align-items: center;
}

.keyboardInputInitiator{
    width: 20px;
    height: 12px;
}

.pass-icon {
    display: block;
    width: 15px;
    height: 15px;
}

.pass-eye {
    margin-top: 1px;
    background: url(../img/new/eye.svg) no-repeat;
}

.pass-eye-slash {
    background: url(../img/new/eye-slash.svg) no-repeat;
}

.omniChatIcon {
    cursor: pointer;
    position: absolute;
    margin-top: -200px;
    left: 10px;
    width: 50px;
    height: 50px;
}

.showMore {
    border: none;
    color: var(--brand-color);
    background: transparent;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    margin: 18px 0 6px 0;
    padding: 0;
    font-family: 'FreeSetC';
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    cursor: pointer;
}

.additional_links a {
    display: inline-block;
    text-align: center;
    text-decoration: underline;
}

#errorMessage {
    display: inline-flex;
    padding-bottom: 15px;
    font-size: 14px;
    line-height: 16px;
    color: var(--red-color);
}

#captchaErrorMessage {
    display: inline-flex;
    padding: 0 0 15px;
    font-size: 14px;
    line-height: 16px;
    color: var(--red-color);
}

.tooltips#errorFrame {
    width: 189px;
    background: var(--menu-hover-color);
}

.info-box {
    text-align: center;
    white-space: pre-line;
    display: flex;
    flex-direction: column;
}

.chat-button {
    position: absolute;
    bottom: 150px;
    right: 10px;
    width: 50px;
    height: 50px;
    padding: 0;
    background: url("../img/chat_icon_login.png") no-repeat center/cover;
    border: none;
    cursor: pointer;
}

.oauth-info > div {
    width: 380px;
    padding: 20px 30px 0 30px;
}

.add_login_page{
    display: flex;
    padding: 20px;
    box-sizing: border-box;
    flex-direction: column;
    width: 450px;
    margin: 0 auto;
    height: 100vh;
}

.captcha-wrap {
    margin: 0 0 15px;
    display: flex;
    justify-content: center;
}

.bold {
    font-weight: bold;
}
#timeoutTimer.warning {
    border-bottom: 2px solid var(--red-color);
}

.delim {
    border-left: 1px solid var(--default-back-color);
    flex: none;
    height: 16px;
    margin: 35px 32px 0 12px;
}

.delim:empty {
    display:none;
}

.modalMask {
    cursor: wait;
    z-index: 1800;
    background: none repeat scroll 0 0 #E0E1E3;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    position: absolute;
}

.phoneImg {
    width: 18px;
    height: 18px;
    margin-top: -2px;
    mask-image: url('../img/ib/phone.svg');
    -webkit-mask-image: url('../img/ib/phone.svg');
    background: var(--brand-color);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
}
.langBlock,
.phoneBlock {
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mobileNews_wrapper, .to_news{
    display: none;
}

.form_container{
    flex-grow: 1;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
@media screen and (max-width: 760px) {
  .mobileNews_wrapper {
    display: block;
    z-index: 60;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--news-bg);
    bottom: 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.5s;
  }
  .mobileNews_wrapper{
    width: 100%;
  }
  .showNews .mobileNews_wrapper {
    transform: translateY(0);
  }

  .mobileNews_wrapper:has(.news_list:empty) {
    display: none;
  }

  .mobileNews {
    overflow: auto;
    padding: 0 20px;
    height: 100%;
    box-sizing: border-box;
  }

  .news-title {
    margin: 10px 0;
  }

  .news {
    float: unset;
    margin-top: 0;
    margin-bottom: 30px;
  }

  .to_news, .to_form {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .to_form {
    position: sticky;
    padding-top: 30px;
    top: 0;
    background: var(--news-bg);
  }

  .to_news svg, .to_form svg {
    width: 50px;
    height: 50px;
    fill: var(--brand-color);
  }

  .to_form svg {
    transform: rotate(90deg);
  }

  .to_news svg {
    transform: rotate(-90deg);
  }

  .showMore {
    margin: 15px 0 0;
  }

  .news .text {
    padding-right: 0;
  }

  .add_login_page {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow-y: auto;
  }

  .login_page {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    flex-direction: column-reverse;
  }

  .login {
    margin: 0;
    width: 100%;
    flex-grow: 1;
    justify-content: flex-end;
    padding: 20px;
    box-shadow: none;
  }

  .login_body_wrap {
    height: auto;
    flex-grow: 0;
    width: auto;
  }

  #lang {
    padding: 20px 0 0;
    flex-direction: row;
    display: flex;
    width: auto;
    justify-content: center;
    gap: 30px;
  }

  .phoneNumber {
    margin-right: 0;
  }

  .login_body {
    display: none;
  }

  .keyboardInputInitiator {
    display: none;
  }

  .apple-share-icon {
    display: inline;
    height: 1.2em;
    line-height: 1em;
    vertical-align: sub;
  }

  .pwa-install-hint-block {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    background: rgba(28, 28, 30, 0.95);
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .pwa-install-hint-title {
    margin: 0;
    font-size: 18px;
  }

  .pwa-install-hint-text {
    margin: 8px 0;
  }
  .pwa-install-hint-text ul {
    margin: 0;
    padding: 0 16px;
  }
  .pwa-install-hint-text li {
    margin: 0;
  }
}
