.pinBottom-container {
  position: absolute;
  bottom: 10px;
  width: 100%;
  transition: all 0.5s;
  z-index: var(--z-index-top);

  &.open {
    bottom: 140px;

    &.playing {
      bottom: 160px;
    }
    &.noScroll {
      bottom: 120px;

      &.playing {
        bottom: 140px;
      }
    }
  }
  &.playing:not(.open) {
    bottom: 30px;
  }
}

.pinBottom {
  position: absolute;
  bottom: 0;
  line-height: 1;
  transition: all 0.5s;

  &.left {
    left: 10px;
    bottom: 0;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
  }
  &.right {
    right: 0;
    bottom: 0;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.6);

    .ui-icon {
      margin-right: 10px;
    }
    > div {
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.2);
    }
  }
  > div {
    float: left;
    width: 94px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    &.active,
    &:hover,
    &.opened {
      background: rgba(0, 0, 0, 0.25);
    }
    img {
      width: 24px;
      height: 24px;
    }
  }
}

#volume > a,
#gui-fullscreen > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.icon-fullscreen:before {
  content: '';
  background: url('/images/enlarge_on.png') center top no-repeat;
  background-size: 100%;
  display: inline-block;
  width: 24px;
  height: 24px;
}

@media only screen and (max-width: 600px) {
  .pinBottom-container {
    bottom: 5px;

    &.open {
      bottom: 105px;

      &.noScroll {
        bottom: 95px;

        &.playing {
          bottom: 115px;
        }
      }
    }
    &.playing:not(.open) {
      bottom: 25px;
    }
  }
  .pinBottom {
    display: flex;

    &.left {
      flex-direction: column;
      left: 5px;
    }
    &.right .ui-icon {
      margin-right: 5px;
    }
    > div {
      width: 64px;
    }
  }
  #play,
  #pause {
    width: 64px;
  }
}
