/**
 * author: Michael Morris-Pearce <mikemp@mit.edu>
 * and Daniel Jackson
 * date: 25 April 2012
 */

.widget {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 5px 0px;
  border-radius: 15px;
  text-align: center;
  cursor: default;
  /* if font-size not zero, extra space added around buttons. why? */
  font-size: 0px;
  width: 0;
  margin: 0 auto;
}

/* prevents buttons overflowing vertically before fold out */
.widget-control-height {
  height:19px;
  overflow: hidden;
}

.widget-container {
  margin: 0 auto;
  width: 300px;
}

.widget-hider {
  width: 300px;
}

.widget-disprev, .widget-disnext {
  opacity: 0.5;
}

.widget-button {
  background-repeat: no-repeat;
  background-image: url(../images/widget.png);
  width: 19px;
  height: 19px;
  display: inline-block;
}

.widget-shiny:hover {
  cursor: pointer;
}

.widget-photo {
  background-position: -19px 0px;
}
.widget-photo:hover {
  background-position: -19px -19px;
}

.widget-grid {
  background-position: -57px 0px;
}
.widget-grid:hover {
  background-position: -57px -19px;
}

.widget-text {
  background-position: -38px 0px;
}
.widget-text:hover {
  background-position: -38px -19px;
}

.widget-prev, .widget-disprev {
  background-position: -95px 0px;
}
.widget-prev:hover {
  background-position: -95px -19px;
}

.widget-next, .widget-disnext {
  background-position: -114px 0px;
}
.widget-next:hover {
  background-position: -114px -19px
}

.widget-play {
  background-position: -76px 0px;
}
.widget-play:hover {
  background-position: -76px -19px;
}

.widget-pause {
  background-position: 0px 0px;
}
.widget-pause:hover {
  background-position: 0px -19px;
}


