@media (min-width: 1711px) {
  .page-template-page-bank #page-menu {
    left: 75px;
  }
}
@media (max-width: 1450px) {
  .lang-ul li a {
    font-size: 9px;

    height: 28px;
    min-width: 29px;

    gap: 4px;

    border-radius: 9px;
  }
  .share-block {
    gap: 0;
  }
  .buttons-block a {
    font-size: 9px;
    line-height: 1;
  }

  .share-block a {
    height: 30px;
    max-width: 30px;
  }
  .share-block a:nth-child(2) {
    display: none;
  }
  #top-nav li.menu-item-has-children {
    background-position: 100% 10px;
  }
  .header-logo {
    margin-right: 15px;
  }
  #top-nav li a {
    font-size: 11px;
    font-family: var(--font-instrument-sans);
  }
}
@media (max-width: 1299px) {
  .header-share a svg {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 1200px) {
  .buttons-block {
    gap: 4px;
    margin: 0 7px 0 0;
  }
  .mob1199 {
    display: none;
  }
}
@media (max-width: 1199px) {
  #top-nav li.menu-item-has-children .sub-menu li:hover::before {
    left: -10px;
  }
  #top-nav li.menu-item-has-children:not(.is-open) {
    background: transparent;
  }
  #top-nav > li.menu-item-has-children.is-open::after {
    top: 12px;
    right: 9px;
    transform: rotate(90deg);
  }
  #top-nav > li.menu-item-has-children > a::after {
    display: none;
  }
  #top-nav > li.menu-item-has-children {
    display: flex;
    align-items: center;
  }
  #top-nav > li.menu-item-has-children .sub-menu {
    display: none;
  }
  #top-nav > li.menu-item-has-children.is-open {
    flex-direction: column;
    padding: 9px;
    border-radius: 9px;
    max-width: calc(100% - 28px);
    align-items: start;
  }
  #top-nav > li.menu-item-has-children.is-open .sub-menu {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 14px 0;
    margin: 0;
    border: none;
    border-radius: 0;
    position: relative;
  }

  #top-nav > li.menu-item-has-children::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(26, 68, 201, 1);
    background: rgba(26, 68, 201, 1) url(../image/li_arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
  }
  .lang-ul li a {
    font-size: 9px;
    height: 35px;
    min-width: 35px;
    min-width: 30px;
    border-radius: 9px;
    width: 35px;
  }
  .share-block a {
    height: 36px;
    max-width: 36px;
  }
  .share-block a:first-child {
    max-width: 41px;
  }
  .share-block a:nth-child(2) {
    display: flex;
  }
  .mob-menu-block {
    margin-left: 12px;
  }
  .hero-list-items li {
    white-space: normal;
  }
  
  #top-nav > li.menu-item-has-children > a::after {
    right: 0;
    transition: all 0.3s ease-in-out;
  }
  .menu-top-container,
  .ruka,
  .menu-top-en-container {
    display: none;
  }
  .mob-menu-button {
    cursor: pointer;
  }
  .mob-menu-slide {
    position: absolute;
    top: 48px;
    right: 0;
    display: none;
    width: 237px;
  }
  #top-nav {
    display: flex;
    padding: 11px 0 11px 11px;
    border-radius: 8px;
    background: rgb(15, 26, 61);
    margin-top: 0;
    border-radius: 0px 0px 25px 25px;
    background: rgba(15, 26, 61, 1);
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  #top-nav li {
    margin-bottom: 0;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
  #top-nav li.menu-item-has-children {
    min-width: 0;
  }

  .sub-menu li {
    border-bottom: 1px solid rgb(45, 57, 98);
    border-right: 1px solid rgb(45, 57, 98);
  }
  #top-nav li a,
  #top-nav li:hover a,
  #top-nav li.menu-item-has-children a,
  #top-nav li.menu-item-has-children:hover a {
    background: none;
    text-decoration: none;
    border: none;
    display: flex;
    text-align: left;
    justify-content: flex-start;
    position: relative;
    height: auto;
    font-size: 13px;
    max-width: 100%;
    width: auto;
  
  }

  #top-nav li.menu-item-has-children:hover li a {
    border: none;
    padding: 0;
  }
  #top-nav li.menu-item-has-children .sub-menu {
    gap: 0;
    padding: 0;
  }
}
@media (max-width: 1099px) {
  .page-template-page-bank #start {
    background-position: top center;
  }
  .page-template-page-bank .first-block {
    padding-top: 0;
  }
}
@media (max-width: 1024px) {
  .bank-top-image {
    order: 2;
    width: 513px;
    max-width: 100%;
  }
  .bank-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-template-default .contacts-title,
  .contacts-text {
    max-width: 100%;
    width: 100%;
  }
  .page-template-default .contacts-title span br {
    display: none;
  }
  .page-template-page-bank #start {
    background-position: 400px -19px;
    padding-top: 30px;
  }
  .first-block {
    padding-top: 400px;
  }
  .page-template-default .contacts-block {
    border-left: 1px solid rgb(20, 54, 99);
  }
  .page-template-default .contacts-title {
    margin-top: 0;
    border-right: 0;
    padding-right: 0;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1430px) {
  .header-logo {
    margin-right: 8px;
    max-width: 130px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .white_block {
    width: 30%;
  }
}
@media (min-width: 992px) {
  .news_buttons {
    display: none;
  }
}
@media (max-width: 991px) {
  .content {
    padding: 18px 0 120px 0;
  }
  .white_block {
    max-width: 100%;
    width: 100%;
  }
  #title-block {
    background-position: 53% center !important;
  }
  .service-item {
    width: 46%;
  }
  .service-item-image img {
    height: auto;
    width: 100%;
  }
  #top-nav li .sub-menu li a {
    font-size: 13px;
  }
}
@media (min-width: 769px) {
  .mob768 {
    display: none !important;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1710px) {
  .page-template-default .container {
    width: 100%;
    padding-right: 250px;
    flex: 1;
    padding-right: 30px;
  }
  .home.page-template-default .container {
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  a.page_menu_link.page_menu_link_active,
  a.page_menu_link:hover {
    font-weight: 500;
  }
  .share-block {
    gap: 2px;
  }
  .lang-ul {
    padding: 0;
    margin: 0 0 0 5px;
  }
  .desctop769,
  .footer-left a {
    display: none !important;
  }
  .footer-left,
  .footer-right,
  .service-item,
  .blog_image,
  .blog_desc,
  .bank-top-image,
  .bank-top-right {
    max-width: 100%;
    width: 100%;
  }
  .blog_image {
    text-align: center;
  }
  h1 {
    font-size: 25px;
  }
  #title-block {
    background-image: url(../image/bank-hero-sm.png) !important;
    background-position: center;
    height: 492px;
  }
  .footer-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links a {
    margin: 0 auto 13px;
  }
  .footer-right {
    padding-top: 10px;
    padding-bottom: 0;
  }
  a.footer-right-link {
    display: table;
    margin-bottom: 15px;
    font-weight: 500;
  }
  a.footer-right-link svg {
    margin-right: 8px;
  }
  .footer-buttons {
    flex-direction: column;
    align-items: center;
    gap: 11px;
  }
  .footer-buttons a {
    width: 100%;
    justify-content: center;
  }
  #page-menu,
  .page-template-page-bank #page-menu {
    position: relative;
    top: 0;
    left: 0;
    z-index: 0;
    padding: 36px 13px;
  }
  #page-menu p {
    color: #fff;
    margin-left: 24px;
  }
  .page-template-default #page-menu {
    left: 0;
  }

  td {
    padding: 15px 5px;
  }
  td:first-child {
    width: 10px;
    padding-left: 0;
    text-align: center;
  }

  a.custom-logo-link,
  .custom-logo-link {
    max-width: 120px;
  }
  #services h2 {
    max-width: 250px;
    margin: 0 auto;
  }
  #services.servises-en h2 {
    max-width: 100%;
  }
  #services p.subtitle {
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 15px;
    max-width: 350px;
    margin: 0 auto;
  }
  #services.servises-en p.subtitle {
    max-width: 270px;
  }
  .contact_photo {
    margin: 0 auto;
  }
  .contact_bottom_right p {
    max-width: 300px;
  }
  .contact_bottom_right a.title-button {
    width: 100%;
    padding: 10px 0;
  }
  .partners-block {
    text-align: center;
  }
  .partners-block img {
    margin-bottom: 26px;
  }
  .partners-block .news-title-block h3 {
    color: #fff;
  }
  .partners-block .title-line {
    border-bottom: 2px solid #fff;
  }
  .partners-block .news-title-block {
    max-width: 300px;
    margin: 0 auto 50px;
  }
  .content-block {
    padding-left: 0;
    padding-bottom: 15px;
  }

  #start .first-block.content-block {
    padding-left: 0;
    padding-bottom: 15px;
  }
  .page-template-page-contact .bank-top-image {
    margin-top: 30px;
  }
  .page-template-page-bank #title-block {
    background-repeat: no-repeat !important;
    background-position: center left !important;
  }
  .bank-top-title {
    margin-left: 0;
  }
  .page-template-page-bank #start {
    padding-top: 0;
    background: none;
  }
  .page-template-page-bank header {
    background: none;
    height: auto;
  }
  .faq {
    padding-right: 65px;
  }

  /*.philosophy-block {
        background: url(../image/philosophy.png) no-repeat;
        background-position-x: 0%;
        background-position-y: 0%;
        background-position:
                45% bottom;
        padding:
                97px 0 74px;
        padding-top: 97px;
    }*/
}
@media (max-width: 573px) {
  .contacts-title,
  .contacts-text {
    max-width: 100%;
    width: 100%;
  }
  .header-buttons,
  .contacts-title span br {
    display: none;
  }
  .contacts-block {
    border-left: 1px solid rgb(20, 54, 99);
  }
  .contacts-title {
    margin-top: 0;
    border-right: 0;
    padding-right: 0;
  }
  .page-template-page-bank .first-block {
    padding-top: 300px;
  }
}
@media (min-width: 526px) {
  .mob525 {
    display: none;
  }
}
@media (max-width: 525px) {
  .desctop526 {
    display: none;
  }
  .philosophy-block-left,
  .philosophy-block-right,
  .service-item-left,
  .service-item-image,
  .bank-top-image,
  .bank-top-right,
  .philosophy-block-item {
    max-width: 100%;
    width: 100%;
  }
  .header-logo {
    margin-right: 5px;
  }
  footer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .philosophy-block {
    background-position: right 120px;
    padding-top: 0;
  }
  .service-item {
    padding: 13px 20px 15px;
  }
  .service-item-bottom a.button {
    width: 100%;
    margin-top: 10px;
    border-radius: 40px;
    background: rgb(24, 59, 170);
    padding-right: 0;
  }
  .service-item-bottom a.button.button-more::after {
    right: 28px;
  }
  #bank .content-text {
    overflow-x: auto;
  }

  .page-template-page-bank .first-block {
    padding-top: 150px;
  }
}
@media (max-width: 380px) {
  h2,
  h3 {
    font-size: 17px;
  }
  .page-template-page-bank .title-block h2 {
    font-size: 17px;
  }
  .page-template-page-bank .first-block {
    padding-top: 150px;
  }
}
