.perspective (@value) {
  -webkit-perspective: @value;
  -moz-perspective: @value;
  perspective: @value;
}

.transform (@value) {
  -webkit-transform: rotateY(@value);
  -moz-transform: rotateY(@value);
  transform: rotateY(@value);
}

.border-radius (@value) {
  -webkit-border-radius: @value;
  -moz-border-radius: @value;
  border-radius: @value;
}


#lobbies {
  margin-top: 50px;
}

.flip-container {
  .perspective(1000);
  margin-bottom: 20px;
  &:hover .flipper {
    .transform(10deg);
  }
  &.flipped .flipper {
  .transform(180deg);
  }
}

.flipper {
  height: 250px;

  background-color: #fafafa;
  border: 1px solid #ddd;
  
  .border-radius(4px);
  
  cursor: hand;
  cursor: pointer;

  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  transition: 0.6s;
  
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  
  &:after {
    content: attr(data-content);
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    background-color: #ffffff;
    border: 1px solid #ddd;
    color: #9da0a4;

    .border-radius(4px 0 4px 0);
  }
}

.readyImg{
  height: 25px;
}

#playerName{
  color: white;
}

.banX{
  font-size: 128px;
  margin-top: -174px;
  left: 34px;
  color: red;
  position: absolute;
  z-index: 1;
}

.bannedMap{
  -webkit-filter: grayscale(1); /* Webkit браузеры */
}

.mapSelect{
  margin: 4px;
  position:relative;
  width: 175px;
  height: 155px;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 2px #074673;
  }
  50% {
    box-shadow: 0 0 9px #0e87de;
  }
  100% {
    box-shadow: 0 0 2px #094d7d;
  }
}
.warningButton {
  animation: glowing 1300ms infinite;
}

#chat{
  width: 354px;
  float: right;
}

#chatbox {
  text-align:left;
  margin:0 auto;
  margin-bottom:3px;
  padding:10px;
  background:#fff;
  height:200px;
  width:352px;
  border:1px solid #ACD8F0;
  overflow:auto; }

.inputMsg{
  width: 100%;
}

#usermsg {
  border: 1px solid #ACD8F0;
  width: 300px;
}


#submit { width: 60px; }

.error { color: #ff0000; }

#menu { padding:12.5px 25px 12.5px 25px; }
