.earthr-input, .earthr-powered {
  display: flex;
  align-items: center;
  gap: 10px;
}

.earthr-powered {
  font-size: small;
}

.earthr-input label.earthr-checkbox-label {
  cursor: pointer;
  margin-bottom: 0;
}

.earthr-logo {
  display: inline-block;
  width: 34px;
  height: 32px;
  background: url(earthr-logo-text-black.png) no-repeat center;
}

.earthr-palette-white .earthr-logo {
  background-image: url(earthr-logo-text-white.png);
}

.earthr-palette-all-white .earthr-logo {
  background-image: url(earthr-logo-all-white.png);
}

.earthr-globe {
  display: inline-block;
  min-width: 24px;
  width: 24px;
  height: 24px;
  background: url(globe.png) no-repeat center;
}

.earthr-palette-all-white .earthr-globe {
  filter: grayscale(1);
}

.earthr-help {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(i.png) no-repeat center;
}

.earthr-tooltip {
  cursor: pointer;
  display: inline-block;
  line-height: 1;
  position: relative;
}

.earthr-tooltip:after {
  background-color: rgba(51, 51, 51, 0.9);
  border-radius: 0.3rem;
  color: #ffffff;
  content: attr(data-earthr-tooltip);
  font-size: 14px;
  font-weight: normal;
  line-height: 1.15rem;
  opacity: 0;
  padding: 0.25rem 0.5rem;
  position: absolute;
  text-align: center;
  text-transform: none;
  transition: opacity 0.2s;
  visibility: hidden;
  z-index: 1;
  width: 300px;
  max-width: 20rem;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%);
}

.earthr-tooltip:before {
  border-style: solid;
  border-width: 0.3rem;
  content: "";
  opacity: 0;
  position: absolute;
  transition: opacity 0.2s;
  visibility: hidden;
  border-color: rgba(51, 51, 51, 0.9) transparent transparent transparent;
  top: 0;
  left: 50%;
  margin-left: -0.3rem;
}

@media (max-width: 767px) {
  .earthr-tooltip:before {
    display: none;
  }

  .earthr-tooltip:after {
    font-size: 1rem;
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    text-align: left;
    transform: translate(-50%);
    max-width: 70vw;
  }
}

.earthr-tooltip:hover::after, .earthr-tooltip:hover::before {
  visibility: visible;
  opacity: 1;
}
