.popup-custom {
  display: none;
  position: fixed;
  width: calc(100vw - 2 * 15px); /* 2x, x is a margin of the popup */
  max-width: 430px;
  z-index: 2147483647;
}

.adsbygoogle-noablate {
  z-index: 2147483646 !important;
}

.popup-custom.x-left,
.popup-custom.x-right {
  margin: 15px;
}

.popup-custom__content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 15px;
  background: var(--color-white-100);
  border-radius: 5px;
  border: 1px var(--color-blue-110) solid;
}

.popup-custom__content-inner {
  display: flex;
  height: 100%;
}

.popup-custom__block-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  font-size: 16px;
}

.popup-custom__logo {
  display: flex;
  align-items: center;
  padding: 8px;
}

.popup-custom__logo svg {
  width: 75px;
  height: 75px;
  padding-right: 15px;
}

.popup-custom__block p {
  margin-bottom: 10px;
}

.popup-custom__actions {
  padding: 4px 0;
}

.popup-custom__actions .btn {
  width: 45%;
  margin-right: 8px;
}

.popup-custom__actions a {
  color: var(--color-white-100);
}

.popup-custom .popup-custom__header .popup-close {
  opacity: 1;
  color: var(--color-blue-110);
  font-size: 24px;
  padding: 0 0 2px 3px;
}

.popup-custom.popup-banner .img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.popup-custom.popup-banner .popup-custom__actions {
  display: flex;
  justify-content: center;
  padding-top: 15px;
}

.popup-custom.popup-banner .popup-custom__header .popup-close {
  position: absolute;
  background: var(--color-white-100);
  right: 15px;
}

@media (min-width: 576px) {
  .popup-custom {
    width: calc(100vw - 2 * 15px); /* 2x, x is a margin of the popup */
  }
}

@media (min-width: 992px) {
  .popup-custom {
    margin: 15px;
    width: calc(100vw / 4 - 2 * 15px);
    min-width: 400px;
  }
  .popup-custom.popup-banner {
    margin: 15px;
    width: calc(100vw / 3 - 2 * 15px);
  }
}
