@import 'fontello/css/fontello.css';
@font-face {
  font-family: 'pix';
  src: url('/land/pix/Uni0553.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.modalDialog {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  opacity:1;
  pointer-events: auto;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;

  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;

  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

.modalDialog > div {
  color: white;
  position: relative;
  background-color: #3d3d3d;
  width: 340px;
  /*height: 160px;*/
  border-radius: 4px;
  padding: 12px;
}

.modalDialog > div:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  border-radius: 4px;
  border: 1px solid #ffd31f;
  margin:2px;
}

.modalDialog header {
  color: #ffd31f;
  font-size: 22px;
  font-weight: bolder;
}

.modalDialog .hwrapper{
  margin-top: 4px;
  text-align: center;
}

.modalDialog .form.default{
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;

  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 10px 20px 0 20px;
  position: relative;
}

.modalDialog .enter {
  margin-bottom: 8px;
  font-size: 14px;
}

.modalDialog .sent {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;

  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.modalDialog .text-wrapper {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  height: 75px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

.modalDialog input, .modalDialog button, .modalDialog .switch{
  position: relative;
  z-index: 999999;
}
.modalDialog .form input:first-child{
  width: 250px;
  margin-bottom: 8px;
}

.modalDialog .error{
  color: #ff8100;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 2px;
}



a.close:link, a.close:visited, a.close {
  //background: #ffd31f;
  color: #3d3d3d;
  line-height: 23px;
  position: absolute;
  right: 12px;
  text-align: center;
  top: 12px;
  width: 22px;
  text-decoration: none;
  font-weight: bolder;
  border-radius: 1px;
  cursor: pointer;
  z-index: 1000005;
  display: inline-block;
  background-image: url('/i/close_window.png');
}

a.close:link:hover, a.close:visited:hover, a.close:hover {
  //background: #ddd31f;
  background-image: url('/i/close_window.png');
}


html,
body {
  height: 100%;
  font-size: 13px;
}

body {
  font-family: 'Open Sans', 'Tahoma', 'Arial';
  font-size: 13px;
  color: #333;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  /*overflow: hidden;*/
  background-color: #eaeaea;
}

form {
  position: relative;
}
.remember-me {
  color: #fff;
  display: block;
} 
.form .remember-me input {
  width: auto;
}
.form .remember-me span{
  vertical-align: top;
}

body.body-black {
  /*overflow: hidden; */
background-color: black;
}

body.body-black .wrap-inner {
  background-color: transparent;
}

input:focus,
input:active {
  outline: none;
}

a:link,
a:visited {
  color: #facf3d;
}

a:hover,
a:active {
  color: #facf3d;
}

button {
  position: relative;
  background-color: #252525;
  width: 130px;
  border: 0;
  color: #facf3d;
  border-radius: 4px;
  padding: 11px 0;
  cursor: pointer;
}

button.pale {
  color: #9b832d;
}

button:before{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  border-radius: 4px;
  border: 1px solid #fbe7a6;
  margin:2px;
}

.autorization_buttons{
  color: #facf3d;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;

  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 16px;
  background: linear-gradient(to bottom, #323232, #3a474a);
}


button:hover {

}

button:active {
  background-color: #363636;
}

button:disabled:not(.processing) {
  background-color:#353535;
  cursor: default;
  color: #dfdfdf;
}

input{
  font-family: Tahoma, Arial;
}

.wrap-outer {
  height: 100%;
  /*overflow: auto;*/
}

.wrap-inner {
  height: 100%;
  /*overflow: hidden;*/
  /*min-height: 100%;
	width: 720px;*/
  /*width: 70%;*/
  margin: 0 auto;
  background-color: white;
  box-sizing:padding-box;
}

.wrap-inner .page-login {
  height: 100%;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

@keyframes mousemove {
  0% {
    top: 60px;
    left: 0px;
  }

  100% {
    top: 55px;
    left: 5px;
  }
}

@-webkit-keyframes mousemove {
  0% {
    top: 60px;
    left: 0px;
  }

  100% {
    top: 55px;
    left: 5px;
  }
}

.page-login #bg {
  /*display: none;*/
  position: absolute;
  opacity: 0.6;
  z-index: -1;
  top: 0;
  left: 0;
}

.landing {
  position: relative;
  border-radius: 12px;
  width: 769px;
  height: 654px;
  background-image: url("/i/land/logo.png"), url("/i/land/background.png");
  background-position: 208px 20px, left top;
  background-repeat: no-repeat, no-repeat;
}

.landing:before {
  position: absolute;
  content: "";
  display: block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: auto;
  padding: 0.4rem;
  margin: 2px;
  border: 1px solid #facf3d;
  border-radius: 12px;
  -webkit-border-radius: 12px;
}


.social {
  font-size: 12px;
  position: absolute;
  top: 560px;
  left: 280px;

  width: 240px;
  height: 60px;

  font-family: tahoma;
  font-size: 0.9rem;
}

.social .social-msg{
  color: white;
  font-size: 14px;
  font-family: Tahoma, Arial;
}

.social .signin {
  color: #7cd8e2;
}

.social ul {
  position: relative;
  padding: 0;
  margin: 0;
  margin-top: 6px;
  display: -ms-Flexbox;
  -ms-box-orient: horizontal;

  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;

  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;

  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

.social ul li {
  padding: 5px;
  list-style: none;
  width: 36px;
  min-width: 16px;
  max-width: 36px;
}

.social ul li a {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #1f1f1f;
  border-radius: 7px;
}

.social ul li a div {
  width: 100%;
  padding-top: 100%;
  background-size: 100%;

}
.social ul li a div:hover {
  background-position-y: 0px;
}

.social ul li a div.has {
  background-position-y: 0px;
}

.social ul li a .g {
  background-image: url("/i/social/gl.png");
  background-position-y: 32px;
  /*background-size: 80%, 80%;*/
}

.social ul li a .f {
  background-image: url("/i/social/fb.png");
  background-position-y: 32px;
}

.social ul li a .tw {
  background-image: url("/i/social/tw.png");
  background-position-y: 32px;
}

.social ul li a .vk {
  background-image: url("/i/social/vk.png");
  background-position-y: 32px;
}

.social ul li a .id {
  background-image: url("/i/social/id.png");
  background-position-y: 0;
}

/* input placeholders */
::-webkit-input-placeholder { /* WebKit browsers */
  color: #898989;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #898989;

}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #898989;

}
:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #898989;
}

.register{
  position: absolute;
  left: 65px;
  top: 240px;
  width: 300px;
  color: white;
}

.register header{
  height: 30px;
  margin-bottom: 6px;
}

.register .online{
  color: #7cd8e2;
  font-size: 21px;
  font-weight: bold;
}

.register .players{
  font-size: 17px;
  font-weight: bold;
}

.landing-form{
  position: relative;
  background-color: #323232;
  border-radius: 3px;
  border: 1px solid #04eae8;
}

.login{
  position: absolute;
  left: 434px;
  top: 304px;
  width: 220px;
  color: white;
  background-color: #323232;
  border-radius: 3px;
  border: 1px solid #facf3d;
  padding: 10px 20px 10px 20px;
  display: -ms-Flexbox;
  -ms-box-orient: horizontal;

  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;

  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;

  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.bomb{
  position: absolute;
  left: 382px;
  top: 420px;
  width: 103px;
  height: 102px;
  background-image: url("/i/land/bomb_full.png");
  z-index: 1;
}

.hand{
  position: absolute;
  left: 300px;
  top: 267px;
  width: 39px;
  height: 24px;
  background-image: url("/i/land/hand1.png");
  z-index: 1;
}

.character{
  position: absolute;
  left: 434px;
  top: 177px;
  width: 32px;
  height: 263px;
  background-position: top right;
  background-image: url("/i/land/character.png");
  z-index: 1;
}

.landing-form .form {
  padding: 20px 30px 10px 30px;
}

.form input {
  width: 100%;
  background-color: #252525;
  color: #facf3d;
  border: none;
  margin-bottom: 6px;
  padding: 6px 18px 8px 18px;
  box-sizing: border-box;
  font-size: 16px;
}

.form input:focus {
  outline: 2px solid #facf3d;
}

.form input:last-child{
  margin-bottom: 4px;
}

.tooltips-base{
  position: relative;
  display: block;
}

.tooltips.error {
  font-size: 11px;
  z-index: 2000;
  position: absolute;
  background-color: #3D3D3D;
  right: 4px;
  bottom: 30px;
  border-radius: 4px;
  /*border: 1px solid #ff3500;*/
  color: #ff3500;
  padding: 8px 10px;
}

.tooltips.error.common{
  top: -36px;
  bottom: inherit;
  right: inherit;
}

.tooltips.error t:nth-child(1){
  z-index: 3000;
  display: block;
  position: absolute;
  right: 18px;
  bottom: -20px;
  width: 0;
  height: 0;
  border: 11px solid;
  border-top-color: #3D3D3D;/**/
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-left-color: transparent;
}
.tooltips.error t:nth-child(2){
  z-index: 3000;
  display: block;
  position: absolute;
  right: 21px;
  bottom: -14px;
  width: 0;
  height: 0;
  border: 8px solid;
  border-top-color: #ff3500;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-left-color: transparent;
}

.tooltips.error t:nth-child(3){
  z-index: 3000;
  display: block;
  position: absolute;
  right: 21px;
  bottom: -13px;
  width: 0;
  height: 0;
  border: 8px solid;
  border-top-color: #3D3D3D;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-left-color: transparent;
}

.tooltips.error:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  border-radius: 4px;
  border: 1px solid #ff3500;
  margin:2px;
}

.form input.invalid {
  outline-offset: -2px;
  outline: 2px solid #ff3500;
}

.logo-txt {
  color: #FCEAA2;
  position: absolute;
  font-size: 12.4px;
  top: 165px;
  //left: 255px;
  width: 100%;
  line-height: 16px;
  font-family: pix, 'Open Sans', Tahoma, Arial;
  text-align: center;
}
