@viewport { width: 320px; }

@font-face {
    font-family: 'Aachen';
    src: url('Aachen Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*::selection {
  background: #1D1D1D;
  color: #fff;
}
*::-moz-selection {
  background: #1D1D1D;
  color: #fff;
}

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

  height: 100%;
  width: 100%;

  font-size: 11.0pt;
  font-family: 'PT Sans', sans-serif;
  font-size: 11.0pt;

  /*overflow: hidden;*/
  max-height: 550px;
}

body {
 display: block;
 min-width: 360px;
}

.bg {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #f9f9f9;
  /*background-image: -webkit-linear-gradient(rgba(252, 254, 255, 0.7), rgba(245, 245, 245, 0.99) 100%), url('../images/back1.jpg');
  background-image: linear-gradient(rgba(252, 254, 255, 0.8), rgba(245, 245, 245, 0.99) 100%), url('../images/back1.jpg');
  background-size: cover;*/
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

a{
  color: #cb0c2f;
  font-size: 11.0pt;
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
 margin: 0;
 font-weight: normal;
}

.clear {clear: both; width: 100%;}

img.icon {
vertical-align: middle;
width: 24px;
height: 24px;
}

#wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;

  position: relative;
  z-index: 2;
}

#content {
  margin: 0 auto;
}
#overflow {
 width: 100%;
 height: 100%;
 position: fixed;
 z-index: 999;
 background: rgba(0, 0, 0, 0.5);
 top: 0;
 left: 0;
 display: none;
}

#avatar {
  width: 150px;
  height: 150px;
  display: inline-block;
  background: url('../images/machete.png') no-repeat;
  border-radius: 100%;
  background-position: 50% 50%;
  background-size: 100%;

  margin-top: 20px;
}

h1#main_title span {
font-size: 50pt;
font-family: 'Aachen';
font-weight: normal;
    color: rgb(249 249 249);
letter-spacing: 8px;
}
.logo_title_letter {
-webkit-transition-property: All;
-webkit-transition-duration: 0.5s;
-webkit-transition-timing-function: ease;
-moz-transition-property: All;
-moz-transition-duration: 0.5s;
-moz-transition-timing-function: ease;
-o-transition-property: All;
-o-transition-duration: 0.5s;
-o-transition-timing-function: ease;
color: rgb(26, 26, 26);
}
.logo_title_letter.hovered {
 /*color: rgb(240, 238, 238) !important;
 text-shadow: 0px 1px 3px #cb0c2f;*/
 color: #cb0c2f !important;
}
#logo_title_container a, #logo_title_container a:hover {
  text-decoration: none;
}

#main_block {
 color: #373737;
 /*margin: 10% auto;*/
 text-align: center;

 /*min-width: 360px;*/
 /*height: 356px;*/

  /*margin: 40px auto;*/
}

#main_block h1 {
    margin: 10px auto 15px auto;
    font-family: 'Aachen';
    background: #000000;
    color: #ffffff;
    width: 460px;
}
.subtitle {
  font-size: 15pt;
  margin: 0 0 8px 0;
}
.subtitle a {
  font-size: 15pt;
  color: #373737;
}

#info {
float: left;
width: 300px;
height: 82px;
/* background: url('../images/table.png'); */
text-align: left;
border-left: 5px solid #1D1D1D;
background-color: #eee;
}
#info p {
margin: 6px 0 0px 20px;
font-size: 11pt;
line-height: 1;
}
#info p:first-child{
margin-top: 11px;
}

.error {
  border: 1px solid rgb(203, 45, 45) !important;
}
#contacts {
 float: right;
 height: 82px;
 text-align: right;
}
#contacts p {
margin: 6px 0 0px 20px;
font-size: 11pt;
line-height: 1;
}
#contacts p:first-child{
margin-top: 0px;
}

.margin {
  height: 45px;
}
#vk_link {
 overflow: hidden;
 width: 32px;
 height: 32px;
 display: inline-block;
 background: url('../images/vk.png');

-webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
#vk_link:hover {
 background-position: 0 -32px;
}

#mail_link {
overflow: hidden;
 width: 42px;
 height: 32px;
 display: inline-block;
 background: url('../images/convert.png');

-webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
#mail_link:hover {
 background-position: 0 -32px;
}

#popup {
 border: 4px solid rgb(221, 221, 221);

 width: 466px;
 height: 356px;
 position: absolute;
 left: 50%;
 top: 50%;
 margin-left: -237px;
 margin-top: -178px;
 z-index: 1000;
 background: #fff;
 text-align: center;
 overflow: hidden;

-webkit-transition-duration: 0.3s;
-o-transition-duration: 0.3s;
-moz-transition-duration: 0.3s;
transition-duration: 0.3s;
}

#popup h1{
 margin: 10px 0;
}
#popup textarea{
padding: 10px;
border: 1px solid #fff;
width: 440px;
height: 230px;
margin-bottom: 9px;
outline: none;
}
button {
  border: none;
  outline: none;
  background: #cb0c2f;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: bold;
  color: #ffffff;
  width: 200px;
  transition-duration: 0.15s;
}
button:hover {
  background: #373737;
  color: #fff;
}
button:active {
  background: #eee;
  color: #373737;
}

#popup.hidden {
 width: 0;
 height: 0;
 margin: 0;
 border: none;
}
#popup.thanks {
 width: 180px;
 height: 40px;
 margin-top: -20px;
 margin-left: -90px;
}


#block1 {
 display: block;
}
#block2 {
 display: none;
display: inline-block;
padding: 10px;
}

#partners {
  width: 415px;
  margin: 10px auto 20px auto;
}
#partners p{
   margin: 5px 0;
}
#partners p .icon {
 width: 20px;
 height: 20px;
}
#partners p a{
 vertical-align: middle;
 font-size: 90%;
 text-decoration: none;
}
#partners p a:hover{
 text-decoration: underline;
}

#partners h3{
 font-weight: bold;
}
#countdown {
  font-size: 90%;
  margin: 0 auto 25px auto;
  width: 100%;
  max-width: 460px;
  height: 18px;
  overflow: hidden;
  /*padding-left: 34px;*/
  color: #cb0c2f;
}
#online {
 /*float: left;*/
}
#defaultCountdown {
  /*float: right;
  width: 290px;*/
  text-align: left;
}
#defaultCountdown span{
 text-align: left;
 display: inline-block;
 vertical-align: top;
 text-transform: lowercase;
 margin: 0 5px 0 0;
}

.form {
 margin: 15px 0 0 0;
}
.form input[type='text']{
  display: block;
      padding: 10px 10px;
      width: 250px;
      outline: none;
      border-radius: 0px;
      border: 1px solid #cccccc;
      text-align: center;
      font-weight: bold;
      color: #616161;
}
.form input[type='text'].error {
  border-color: #ff8c8c;
}

.form .send_info {
  display: none;
  width: 300px;
    height: 50px;
    margin: 10px auto 0 auto;
    background: #292929;
    line-height: 47px;
    font-weight: bold;
    color: #ffffff;
}

.form .input {
  width: 272px;
  height: 41px;
  margin: 0 auto;
  margin: 0 auto 10px auto;
  position: relative;
}

.form .input:before {
  content: "";
  display: none;
  position: absolute;
  background: #ffffff url('../images/send.gif') no-repeat;
  background-position: 50% 50%;
  width: 100%;
  height: 100%;
}
.form .input.sending:before{
  display: block;
}




.player_wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  opacity: 0.27;
  transition-duration: 0.5s;
}
.player_wrapper:after {
  content: " ";
  display: block;
  width: 100%;
  height: 100%;
  z-index: 10;
  position: fixed;
} 

#player {
  display: block;
  width: 130%;
  height: 130%;
  position: fixed;
  top: -15%;
  left: -15%;
  z-index: 9;
}