/*   
Theme Name: Ichange
Theme URI: https://premiumexchanger.com
Description: PremiumBox theme
Version: 2.5.0
Author: Premium
Author URI: https://premiumexchanger.com
*/

@import url('style_exch.css');
@import url('style_userwallets.css');
@import url('./css/main.min.css');

.banner-wrapper {
  position: relative;
  width: 100%;          /* or your desired width, e.g. 800px */
  height: 300px;        /* set the height you need */
  margin: 0 auto;
  overflow: hidden;
  
  /* This flexbox line centers the images inside the container */
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
}

.banner {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  
  /* This is the magic part for centering the image itself */
  object-fit: contain;     /* or object-fit: cover if you want it to fill */
  object-position: center; /* ensures the image is centered when contain is used */
  
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner.active {
  opacity: 1;
}

/* .banner-a {
  position: absolute;
  animation: fadeA 5s infinite;
}

.banner-b {
  position: absolute;
  animation: fadeB 5s infinite;
}

@keyframes fadeA {
  0%, 50%   { opacity: 1; }
  50.1%,100% { opacity: 0; }
}

@keyframes fadeB {
  0%, 50%   { opacity: 0; }
  50.1%,100% { opacity: 1; }
} */

/* bugfix для поля Город */
.town_txt {
  margin: 1em;
  color: white;
}

.merch_paybutton.i_receive_button {
  color: white;
  background: green;
}

.merch_paybutton.i_receive_button:hover {
  background: #64dd17;
}
