@use "../../../../styles/int.scss";
@use "../../theme/maps.scss";

.container {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
}

.button {
  $border-radius: 4px;

  align-items: center;
  background: maps.$white;
  border: 1px solid maps.$politico-line;
  display: flex;
  font-size: 24px;
  color: maps.$politico-grey;
  cursor: pointer;
  justify-content: center;
  height: 32px;
  width: 32px;
  opacity: 1;
  padding: 0px;
  pointer-events: auto;
  transition: .25s all;
  position: relative;
  top: 0px;

  @include int.shadow();
  @include int.breakpoint-at-most("sm") {
    display: none;
  }

  &.top {
    border-radius: $border-radius $border-radius 0 0;
    border-bottom: 0;
  }

  &.bottom {
    border-radius: 0 0 $border-radius $border-radius;
  }
}
