.ridesims-ad-popout {
  position: fixed;
  z-index: 1000;
  bottom: 0;
  left: 50%;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8px 44px 8px 8px;
  overflow: hidden;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ddf6fe 0%, #bfe0f1 100%);
  border: 0;
  border-top: 2px solid #35aab6;
  border-radius: 0;
  box-shadow: 0 -6px 22px rgba(14, 79, 116, 0.32);
  color: #0e4f74;
  font-family: Arial, sans-serif;
  animation: ridesims-ad-popout-in 320ms ease-out both;
}

.ridesims-ad-popout__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  width: 28px;
  height: 28px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: #0e4f74;
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  font: 700 22px/1 Arial, sans-serif;
}

.ridesims-ad-popout__close:hover,
.ridesims-ad-popout__close:focus-visible {
  background: #35aab6;
  outline: 2px solid #fff;
  outline-offset: -3px;
}

body.ridesims-ad-popout-visible::after {
  content: "";
  display: block;
  width: 100%;
  height: var(--ridesims-ad-popout-height, 108px);
  flex: 0 0 var(--ridesims-ad-popout-height, 108px);
}

.ridesims-ad-popout__slot {
  display: flex;
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.38);
}

@media only screen and (max-width: 599px) {
  .ridesims-ad-popout {
    height: 78px !important;
    max-height: 78px !important;
  }

  .ridesims-ad-popout__slot {
    height: 60px;
    max-height: 60px !important;
  }

  .ridesims-ad-popout__slot .adsbygoogle,
  .ridesims-ad-popout__slot iframe {
    max-height: 60px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ridesims-ad-popout {
    animation: none;
  }
}

@keyframes ridesims-ad-popout-in {
  from {
    transform: translate(-50%, 100%);
  }

  to {
    transform: translate(-50%, 0);
  }
}
