.begateway-logos {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 0;
  vertical-align: middle;
}

.begateway-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 24px;
  flex: 0 0 38px;
}

.begateway-logo img {
  display: block;
  width: 38px;
  height: 24px;
  max-width: 38px;
  max-height: 24px;
  object-fit: contain;
  object-position: center;
  margin: 0;
}

.begateway-logos--footer {
  gap: 10px;
}

.begateway-logos--footer .begateway-logo {
  width: 48px;
  height: 30px;
  flex-basis: 48px;
}

.begateway-logos--footer .begateway-logo img {
  width: 48px;
  height: 30px;
  max-width: 48px;
  max-height: 30px;
}

.begateway-blocks-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wc-block-components-payment-method-label .begateway-logos,
.wc-block-components-radio-control__label .begateway-logos,
.begateway-blocks-label .begateway-logos {
  margin-left: 0;
}

#payment .wc_payment_methods li label .begateway-logos .begateway-logo img {
  margin: 0;
}

.begateway-admin-section-li-header {
  width: 100%;
  font-weight: bold; }

.begateway-admin-section-li-header-small {
  width: 100%;
  font-weight: bold;
  font-size: small;
  margin-bottom: 0px; }

.begateway-admin-section-li {
  width: 100%; }

.begateway-admin-section-li-small {
  width: 100%;
  font-size: small;
  margin-top: 0px; }

.begateway-full-width, .begateway-full-width .button {
  width: 100%;
  display: block;
  text-align: center;
  clear: both; }

.begateway-balance {
  margin-bottom: 0; }

.begateway-balance.last {
  margin-bottom: 5px; }

.begateway-balance:after {
  clear: both;
  content: "";
  display: table; }

.begateway-balance__label,
.begateway-balance__amount {
  background-color: #f9f9f9;
  box-sizing: border-box;
  float: left;
  padding: 7px 10px;
  text-transform: uppercase;
  font-size: 10px;
  color: #8a8a8a; }

.begateway-balance__label {
  font-weight: bold;
  width: 60%;
  border-right: 2.5px solid #FFF; }

.begateway-balance__amount {
  border-right: 0;
  width: 40%;
  border-left: 2.5px solid #FFF;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex; }

.begateway-balance__currency {
  margin-right: 10px; }

.begateway-balance.last .begateway-balance__currency {
  margin-right: 0; }

.begateway-admin-card-logo {
  text-align: center;
  margin-right: 25px;
  max-width: 100px; }

.begateway-partly_capture_amount, .begateway-partly_refund_amount {
  background-color: #f9f9f9;
  box-sizing: border-box;
  float: left;
  padding: 4px 10px;
  text-transform: uppercase;
  font-size: 10px;
  color: #8a8a8a;
  border-right: 0;
  width: 40%;
  border-left: 2.5px solid #FFF;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  /* NEW, Spec - Firefox, Chrome, Opera */ }

.begateway-capture_partly_amount-field, .begateway-refund_partly_amount-field {
  width: 90px;
  font-size: small;
  max-height: 20px;
  min-height: 1px !important;
  text-align: center; }

#payment .wc_payment_methods li label {
  display: flex !important;
  align-items: center; }
  #payment .wc_payment_methods li label .begateway-logos {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 auto;
    justify-content: flex-end;
    max-width: 300px; }
    #payment .wc_payment_methods li label .begateway-logos .begateway-logo img {
      margin: .25rem; }

/* Размер слотов не должен зависеть от правил темы (Elementor ставит img {height:auto}) */
.begateway-logos .begateway-logo img {
  width: 38px !important;
  height: 24px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}

.begateway-logos--policies {
  gap: 10px;
  margin: 0.5em 0;
}

.begateway-logos--policies .begateway-logo,
.begateway-logos--footer .begateway-logo {
  width: 48px;
  height: 30px;
  flex-basis: 48px;
}

.begateway-logos--policies .begateway-logo img,
.begateway-logos--footer .begateway-logo img {
  width: 48px !important;
  height: 30px !important;
}
