#slide-container, #multiple-slide-container {
  position: relative;
  overflow: hidden;
  margin: 0px auto;
  width: 938px;
  height: 336px;
}

.item, .item-triple {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.foreground {
  position: absolute;
}

.background {
  position: absolute;
  overflow: hidden;
}



#slide-container {
  background-color: #fff;
}

.item a, .item-triple a {
  display: block;
  width: 960px;
  height: 336px;
}

.item .background img {
  max-width: 960px; /* to avoid max-width: 100% of Twitter Bootstrap */
}

.item-triple .background img {
  max-width: 320px; /* to avoid max-width: 100% of Twitter Bootstrap */
}

.foreground .element, .foreground-triple .element {
  color: #fff;
  text-shadow: 1px 1px 2px #000000;
  width: 900px;
  position: relative;
  left: 40px;
}

.foreground .element.icon, .foreground-triple .element.icon {
  top: 140px;
  left: 60px;
  width: 114px;
  height: 114px;
  background: transparent url(../img/play.png) no-repeat;
  background-position: 0 0;
}

.background .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, transparent), color-stop(80%, rgba(0, 0, 0, 0.8)));
  background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.8) 80%);
  background: -moz-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.8) 80%);
  background: -o-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.8) 80%);
  background: -ms-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.8) 80%);
  background: linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.8) 80%);
}

.foreground .element.title, .foreground-triple .element.title {
  text-transform: uppercase;
  font-size: 40px;
  top: 140px;
}


.ui-loader {
  display: none;
}

#multiple-slide-container .triple-slides {
  width: 320px;
  height: 336px;
  float: left;
  overflow: hidden;
  position: relative;
}

#multiple-slide-container .triple-slides .foreground-triple .element.title {
  font-size: 25px;
}

#multiple-slide-container .triple-slides .item-triple a {
  width: 320px;
  height: 336px;
}