/** 
 *  (c) Art. Lebedev Studio | http://www.artlebedev.ru/
 *  Rozetkus test drive(tetris)
 *  Styles sheet
 *  Authors: spok@artlebedev.ru, m00n@artlebedev.ru
 */

html, body {
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  min-height: 100%;
  height: 100%;
  line-height: 1;
}

body {
  height: 100%;
  background: #fff;
}

.inline-block {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
}

#rosie_container {
  position: relative;
  min-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  border-spacing: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#rosie_container td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

#rosie {
  width: 865px;
  height: 1126px;
  margin: 0 auto;
  padding: 0 150px 0 0;
  background: url('../images/background.jpg') no-repeat;
  position: relative;
  overflow: hidden;
}

.plug {
  position: absolute;
  width: 1000px;
  height: 220px;
}

.plug.blue.horizontal {
  background: url('../images/plugs/blue_horizontal.png') no-repeat;
}

.plug.blue.vertical {
  background: url('../images/plugs/blue_vertical.png') no-repeat;
}

.plug.red.horizontal {
  background: url('../images/plugs/red_horizontal.png') no-repeat;
}

.plug.red.vertical {
  background: url('../images/plugs/red_vertical.png') no-repeat;
}

.plug.white.horizontal {
  background: url('../images/plugs/white_horizontal.png') no-repeat;
}

.plug.white.vertical {
  background: url('../images/plugs/white_vertical.png') no-repeat;
}

#controls_container {
  font-size: 130px;
  min-width: 270px;
}

#points_container {
  height: 130px;
}

#points {
  text-align: center;
}

#buttons {
  position: relative;
  margin: 20px auto 0 auto;
  width: 155px;
  height: 113px;
  font-size: 0;
}

#fader {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 150px;
  z-index: 101;
  background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, #ffffff));
  background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), #ffffff);
  background-image: -moz-linear-gradient(left, rgba(255, 255, 255, 0), #ffffff);
  background-image: -o-linear-gradient(left, rgba(255, 255, 255, 0), #ffffff);
  background-image: linear-gradient(left, rgba(255, 255, 255, 0), #ffffff);
  background: -ms-linear-gradient(left, rgba(255, 255, 255, 0), white);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#00FFFFFF, endColorStr=#FFFFFFFF, GradientType=1);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#FFFFFFFF, GradientType=1)";
}

.buttons {
  background: url('../images/buttons.png') no-repeat;
  height: 50px;
  width: 50px;
  cursor: pointer;
}

.up_down {
  vertical-align: bottom;
}

#down {
  background-position: 0 -190px;
}

#down.press {
  background-position: -50px -190px;
}

#left {
  background-position: -50px -140px;
}

#left.press {
  background-position: -50px -90px;
}

#right {
  background-position: 0 -140px;
}

#right.press {
  background-position: 0 -90px;
}

#up {
  background-position: 0 -240px;
}

#up.press {
  background-position: -50px -240px;
}

#start {
  height: 45px;
  width: 144px;
  margin: 40px 0 0 3px;
  background-position: 0 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 45px;
  text-align: center;
}

#start.press {
  background-position: 0 -45px;
  color: #fff;
}

body.blink .blink {
  display: none;
}
