
.container {
  bottom: 0;
  position: fixed;
  margin: 1em;
  right: 0px;
}

.buttons {
  box-shadow: 0px 5px 11px -2px rgba(0, 0, 0, 0.18), 
              0px 4px 12px -7px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  display: block;
  width: 56px;
  height: 56px;
  margin: 10px;
  position: relative;
  -webkit-transition: all .1s ease-out;
          transition: all .1s ease-out;  
}

.buttons:active, 
.buttons:focus, 
.buttons:hover {
  box-shadow: 0 0 4px rgba(0,0,0,.14),
    0 4px 8px rgba(0,0,0,.28);
}

.buttons:not(:last-child) {
  width: 40px;
  height: 40px;
  margin: 20px auto 0;
  opacity: 0;
  -webkit-transform: translateY(50px);
      -ms-transform: translateY(50px);
          transform: translateY(50px);
}

.container:hover 
.buttons:not(:last-child) {
  opacity: 1;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  margin: 15px auto 0;
}

/* Unessential styling for sliding up buttons at differnt speeds */

.buttons:nth-last-child(1) {
  -webkit-transition-delay: 25ms;
          transition-delay: 25ms;
  background-size: 36px;
  background-position:center;
  background-repeat:no-repeat;
}

.buttons:not(:last-child):nth-last-child(2) {
  -webkit-transition-delay: 50ms;
          transition-delay: 20ms;
  background-image: url('https://base.club.plus.golf/images/ranking_icon.png');
  background-size: 24px;
  background-position:center;
  background-repeat:no-repeat;
}

.buttons:not(:last-child):nth-last-child(3) {
  -webkit-transition-delay: 75ms;
          transition-delay: 40ms;
  background-image: url('https://base.club.plus.golf/images/booking_icon.png');
  background-size: 24px;
  background-position:center;
  background-repeat:no-repeat;
}

.buttons:not(:last-child):nth-last-child(4) {
  -webkit-transition-delay: 100ms;
          transition-delay: 60ms;
  background-image: url('https://base.club.plus.golf/images/scoring_icon.png');
  background-size: 24px;
  background-position:center;
  background-repeat:no-repeat;
}

.buttons:not(:last-child):nth-last-child(5) {
  -webkit-transition-delay: 100ms;
          transition-delay: 60ms;
  background-image: url('https://base.club.plus.golf/images/calendar_icon.png');
  background-size: 24px;
  background-position:center;
  background-repeat:no-repeat;
}

.buttons:not(:last-child):nth-last-child(6) {
  -webkit-transition-delay: 100ms;
          transition-delay: 60ms;
  background-image: url('https://base.club.plus.golf/images/hom_ico.png');
  background-size: 24px;
  background-position:center;
  background-repeat:no-repeat;
}

/* Show tooltip content on hover */

[tooltip]:before {
  bottom: 25%;
  font-family: Cuprum;
  font-weight: 600;
  border-radius: 2px;
  background: #585858;
  color: #fff;
  content: attr(tooltip);
  font-size: 12px;
  visibility: hidden;
  opacity: 0;
  padding: 5px 7px;
  margin-right: 12px;
  position: absolute;
  right: 100%;
  white-space: nowrap;
}

[tooltip]:hover:before,
[tooltip]:hover:after {
  visibility: visible;
  opacity: 1;
}
