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

  .pinBottom.playing {
    bottom: 20px;
  }
}

#gui .pinBottom.open.noScroll.playing {
  bottom: 135px;
}

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

  &.open {
    bottom: 140px;

    &.noScroll {
      bottom: 117px;

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

    .rightViewContainer > div:hover {
      background: rgba(0, 0, 0, 0.25);
    }
    .ui-icon {
      float: left;
      padding: 0;
      margin-right: 10px;
      background: rgba(0, 0, 0, 0.2);
      border-radius: 10px;
    }
  }
}

.viewContainer {
  float: left;
  position: relative;

  > div {
    float: left;
  }
}

#play,
#pause {
  position: relative;
  width: 94px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;

  &:hover {
    background: rgba(0, 0, 0, 0.25);
  }
}

#gui-modes-map > div {
  float: left;
  width: 94px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;

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

#pullTab {
  display: block;
  position: relative;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  text-align: center;
}

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

.terms2 {
  display: none;
}

.icon-fullscreen:before {
  content: '';
  background: url('/public/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.right,
  .pinBottom.left {
    bottom: 5px;
  }
  .pinBottom.left {
    left: 5px;
  }
  .pinBottom.right .ui-icon {
    margin-right: 5px;
  }
  #play,
  #pause {
    width: 64px;
  }
  #gui-modes-map > div {
    width: 64px;
  }
  .viewContainer,
  #gui-modes-map {
    display: flex;
    flex-direction: column;
  }
}

@media only screen and (max-width: 487px), (max-height: 487px) {
  .pinBottom-container.drawerOpen.duringTour {
    bottom: 6px;
  }
  #gui .pinBottom.open.noScroll {
    bottom: 93px;
  }
  .pinBottom.open.noScroll.playing {
    bottom: 108px;
  }
}
