#draugusiena {
  width: 730px;
  height: 600px;
  background: url('img/background.jpg') no-repeat;
  position: relative;
}
#draugusiena .vlogo {
  text-indent: -9999px;
  background: url('img/logo.png') no-repeat;
  width: 137px;
  height: 86px;
  border: 0;
  position: absolute;
  top: 30px;
  left: 5px;
  z-index: 2;
}
#draugusiena .intro {
  font-family: 'Ebrima';
  font-size: 25px;
  color: white;
  width: 543px;
  position: absolute;
  top: 220px;
  left: 160px;
  line-height: 35px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #4c4b4a;
  letter-spacing: 1px;
}
#draugusiena .rules {
  position: absolute;
  bottom: 0;
  left: 0;
  background: url('img/rules-background.png');
  display: block;
  width: 530px;
  height: 24px;
  line-height: 24px;
  font-family: 'Ebrima';
  font-size: 15px;
  color: #4c4c4b;
  text-transform: uppercase;
  text-align: center;
  text-indent: 250px;
  z-index: 1;
  transition: height 1s ease;
}
#draugusiena .rules:hover {
  text-decoration: none;
  transition: height 1s ease;
  background-position: -20px 0;
  height: 22px;
}
#draugusiena #rules,
#draugusiena #winners {
  width: 730px;
  height: 600px;
  position: absolute;
  top: 0;
  left: 0;
  background: url('img/noteikumi_fade.png');
  z-index: 9999;
}
#draugusiena #rules p {
  margin: 0;
}
#draugusiena .addtogallerypopup {
  position: absolute;
  bottom: 35px;
  right: 155px;
  background: url('img/invite-button.png') #7d1b99 no-repeat;
  display: block;
  width: 170px;
  height: 24px;
  line-height: 25px;
  font-family: 'Ebrima';
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  text-align: center;
  z-index: 5;
  transition: width 1s ease;
}
#draugusiena .addtogallerypopup:hover {
  text-decoration: none;
  transition: width 1s ease;
  background-position: -20px 0;
  width: 175px;
}
#draugusiena .addtogallery {
  position: absolute;
  bottom: 0;
  right: 103px;
  background: url('img/invite-button.png') #7d1b99 no-repeat;
  display: block;
  width: 125px;
  height: 25px;
  line-height: 25px;
  font-family: 'Ebrima';
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  text-align: center;
  z-index: 1;
  transition: height 1s ease;
}
#draugusiena .addtogallery:hover {
  text-decoration: none;
  transition: height 1s ease;
  background-position: -20px 0;
  height: 28px;
}
#draugusiena .fbinvite {
  position: absolute;
  bottom: 0;
  left: 0;
  background: url('img/invite-button.png') no-repeat;
  display: block;
  width: 310px;
  height: 25px;
  line-height: 25px;
  font-family: 'Ebrima';
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  text-align: center;
  z-index: 99999;
  transition: background 1s ease;
}
#draugusiena .fbinvite:hover {
  text-decoration: none;
  transition: background 1s ease;
  background-position: -20px 0;
}
#draugusiena .title {
  background: url('img/header-background.png') no-repeat;
  width: 695px;
  height: 99px;
  position: absolute;
  right: 0;
  top: 95px;
  font-size: 66px;
  line-height: 99px;
  text-align: center;
  color: #8a3e82;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Ebrima';
}
#draugusiena .startButton {
  display: block;
  background: url('img/start-background.png') no-repeat;
  width: 451px;
  height: 99px;
  position: absolute;
  left: 0;
  top: 415px;
  font-size: 66px;
  line-height: 99px;
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Ebrima';
  transition: background 1s ease;
}
#draugusiena .startButton:hover {
  text-decoration: none;
  transition: background 1s ease;
  background-position: -20px 0;
}
#draugusiena .followaBox {
  position: absolute;
  top: 520px;
  left: 150px;
  font-weight: bold;
  font-family: 'Ebrima';
  font-size: 14px;
  line-height: 16px;
  color: white;
}
#draugusiena .followaBox input[type=checkbox] {
  width: 19px;
  height: 19px;
  background: none;
  margin-left: -9999px;
}
#draugusiena .followaBox input[type=checkbox]:checked::after {
  color: #8a3e82;
  border: 1px solid #8a3e82;
  text-indent: 0;
}
#draugusiena .followaBox input[type=checkbox]:checked + label {
  color: #8a3e82;
}
#draugusiena .followaBox input[type=checkbox]::after {
  margin-left: 9999px;
  display: block;
  margin-top: 5px;
  content: '✓';
  text-indent: -9999px;
  color: white;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  width: 16px;
  height: 16px;
  border: 1px solid white;
}
#draugusiena .followaBox input[type=checkbox]::after:hover {
  cursor: pointer;
}
#draugusiena .followaBox label {
  margin-left: 9999px;
  padding-left: 15px;
}
#draugusiena .followaBox label:hover {
  cursor: pointer;
}
#draugusiena .friendSay {
  position: absolute;
  bottom: 3px;
  right: 5px;
  z-index: 99999;
}
#draugusiena #wallContainer {
  width: 720px;
  height: 480px;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 30px;
  position: relative;
}
#draugusiena #wall {
  width: 100%;
  position: absolute;
  bottom: 0;
  transition: bottom 2s ease;
}
#draugusiena .wallPhoto {
  width: 28px;
  height: 28px;
  display: block;
  background: #acacac;
  transition: background 1s ease;
  position: relative;
}
#draugusiena .wallPhotoOverlay {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 0;
  left: 0;
  background: url('img/overlay.jpg') no-repeat;
  opacity: 0;
}
#draugusiena .wallPhotoWinnerOverlay {
  width: 56px;
  height: 56px;
  position: absolute;
  top: -14px;
  left: -14px;
  background: url('img/Dell_small.png') no-repeat;
  background-position: center center;
  opacity: 0.7;
  box-shadow: inset 0 0 0 6px #BDCE19;
  z-index: 6;
  border-radius: 50%;
}
#draugusiena .wallPhotoCntr {
  box-shadow: inset 0 0 0 2px #4c4c4b;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 30px;
  display: block;
  float: left;
  position: relative;
}
#draugusiena .menu {
  padding-left: 145px;
  width: 585px;
  height: 45px;
  border-top: 1px solid #e0f05c;
  border-bottom: 1px solid #929a16;
  position: absolute;
  top: 30px;
  background: #b8ca18;
  background: linear-gradient(to bottom, #b8ca18 0%, #b3c616 4%, #cedb1e 71%, #d6e121 100%);
}
#draugusiena .menu li {
  float: left;
  height: 45px;
  padding: 0 30px;
  line-height: 45px;
  color: #4c4b4a;
  font-size: 16px;
  font-family: 'Ebrima';
  text-shadow: 1px 1px 0 #e0f05c;
  border-left: 1px solid #dfe5a3;
  border-right: 1px solid #dfe5a3;
  font-weight: bold;
  transition: background 0.5s ease;
}
#draugusiena .menu li:hover {
  cursor: pointer;
}
#draugusiena .menu li.active,
#draugusiena .menu li:hover {
  background: #e2e98e;
  transition: background 0.5s ease;
}
#draugusiena .menu li.turns {
  position: absolute;
  right: -15px;
  border: 0;
}
#draugusiena .menu li.turns:hover {
  background: transparent;
  cursor: default;
}
#draugusiena #controlUp {
  width: 78px;
  height: 12px;
  background: url('img/controls.png') no-repeat;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -39px;
  z-index: 2;
}
#draugusiena #controlUp:hover {
  height: 71px;
  background-position: 0 -15px;
  transition: background 0.7s ease;
  transition: height 0.7s ease;
}
#draugusiena #controlDown {
  width: 78px;
  height: 12px;
  background: url('img/controls.png') no-repeat;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -39px;
  z-index: 2;
  background-position: -83px 0;
}
#draugusiena #controlDown:hover {
  height: 71px;
  background-position: -83px -15px;
  transition: background 0.7s ease;
  transition: height 0.7s ease;
}
#draugusiena .fwindow {
  background: rgba(223, 223, 223, 0.9);
  position: absolute;
  width: 530px;
  height: 300px;
  padding: 20px;
  top: 50%;
  margin-top: -150px;
  left: 50%;
  margin-left: -265px;
  font-family: 'Ebrima';
  font-size: 15px;
  color: #4c4c4b;
}
#draugusiena .fwindow h2 {
  font-size: 18px;
  text-align: center;
}
#draugusiena .fwindow p {
  padding: 10px 0;
}
#draugusiena .fwindow a.close {
  position: absolute;
  bottom: 20px;
  left: 50%;
  margin-left: -40px;
  width: 60px;
  display: block;
  color: #4c4c4b;
  background: #b8b91d;
  text-transform: uppercase;
  padding: 5px 10px;
  font-size: 13px;
  text-align: center;
}
#draugusiena #win {
  width: 355px;
  height: 206px;
  background: url('img/win-background.png') no-repeat;
  position: absolute;
  right: -660px;
  top: 50%;
  margin-top: -123px;
  padding: 40px 130px;
  color: #4c4c4b;
  font-family: 'Ebrima';
  font-size: 15px;
  transition: right 1s ease;
}
#draugusiena #win p {
  width: 270px;
}
#draugusiena #lost,
#draugusiena #taken {
  width: 475px;
  height: 119px;
  background: url('img/condition-background.png') no-repeat;
  position: absolute;
  top: 50%;
  margin-top: -99px;
  right: -660px;
  padding: 40px 50px 40px 130px;
  color: #4c4c4b;
  font-family: 'Ebrima';
  font-size: 15px;
  transition: right 1s ease;
}
#draugusiena #lost .finvite,
#draugusiena #taken .finvite {
  text-transform: uppercase;
  background: url('img/invite-condition-button.png') no-repeat;
  display: block;
  width: 480px;
  height: 26px;
  position: absolute;
  right: 0;
  text-indent: 40px;
  line-height: 25px;
  color: #4c4c4b;
  font-weight: bold;
  transition: background 0.7s ease;
}
#draugusiena #lost .finvite:hover,
#draugusiena #taken .finvite:hover {
  text-decoration: none;
  background-position: 10px 0;
  transition: background 0.7s ease;
}
#draugusiena .exit {
  position: absolute;
  top: 10px;
  right: 10px;
}
#draugusiena .clear {
  clear: both;
}
#draugusiena p.underImage {
  font-size: 10px;
  margin: 0;
  padding: 0;
  text-align: center;
}
#draugusiena .userWinner {
  display: block;
  float: left;
  margin-left: 30px;
  margin-bottom: 15px;
  margin-top: 15px;
}
#draugusiena .userWinner:hover {
  cursor: pointer;
}
#draugusiena .userWinner img {
  width: 78px;
  height: 78px;
  border: 1px solid #c2c2c2;
}
img[src='Error.src'] {
  display: none;
}
