/* GAME.CSS*/
h1, h2, h3 {
    color: #faf2cc;
}

.row {
    margin: 0;
}
.progress-bar {
    color: #ffffff;
}

body, html {
    width: 100%;
    height: 100%;
}
#bg {
    width: 100%;
    height: 100%;
    background: url('..game/background.jpg?3') center top;
    background-size: 0px 0px;
    background-repeat: no-repeat;
}
#bg.state-boot {
    background: none;
    background-color: #fff6d4;
}
#bg.state-menu {
    background: none;
    background-color: #fff6d4;
}

@font-face {
    font-family: 'EtelkaNarrow';
    src: url('../fonts/EtelkaNarrowTextPro.eot');
    src: local('☺'), url('../fonts/EtelkaNarrowTextPro.woff') format('woff'), url('../fonts/EtelkaNarrowTextPro.ttf') format('truetype'), url('../fonts/EtelkaNarrowTextPro.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'EtelkaNarrowBold';
    src: url('../fonts/EtelkaNarrowTextPro-Bold.eot');
    src: local('☺'), url('../fonts/EtelkaNarrowTextPro-Bold.woff') format('woff'), url('../fonts/EtelkaNarrowTextPro-Bold.ttf') format('truetype'), url('../fonts/EtelkaNarrowTextPro-Bold.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}


#game {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: context-menu;
    position: relative;
    margin: 0 auto;
}
#game canvas {
    margin: 0 auto;
}

#facebook-like {
    position: absolute;
    top: 500px;
    left: 1000px;
    opacity: 0;
}

.links {
    text-align: center;
}

.links a {
    color: #000;
}

.window-video-bg {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
.window-video {
    /*background: transparent url("../img/game/windows/youtube-video-border.png");*/
    background: transparent url("..game/windows/youtube-video-border.png");
    -webkit-background-size: contain;
    background-size: contain;
    width: 0px;
    height: 0px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0px;
    margin-top: -0px;
    padding: 0px 0px 0 0px;
}
.window-video-top {
    /*background: transparent url("../img/game/windows/youtube-video-top.png");*/
    background: transparent url("..game/windows/youtube-video-top.png");
    position: absolute;
    top: -0px;
    left: -0px;
    width: 0px;
    height: 0px;
}



.window-contest-bg {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.window-contest {
    /*background: url(../img/game/windows/window-contest.png);*/
    background: url(..game/windows/window-contest.png);
    -webkit-background-size: contain;
    background-size: contain;
    width: 838px;
    height: 484px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -486px;
    margin-top: -250px;
    padding-top: 56px;
}

.window-contest a {
    color: #000;
    text-decoration: underline;
}
.window-contest a:hover {text-decoration: none;}

.window-contest .table-row:after, .window-contest .table-row:before {
    display: table;
    content: ' ';
}

.window-contest .table-row:after {
    clear: both;
}

.window-contest .table-row.center {
    text-align: center;
    margin-top: 14px;
    height: 100px;
    padding-right: 57px;
    padding-left: 57px;
}

.window-contest .table-col {
    width: 275px;
    padding-left: 10px;
    padding-right: 10px;
    float: left;
}
.window-contest .table-col2 {
    /*padding-left: 10px;
    padding-right: 10px;*/
    float: left;
    text-align: left;
    min-height: 35px;
    width: 55%;
    /*padding-right: 57px;
    padding-left: 57px;*/
}
.window-contest .table-col2.narrow {
    width: 42%;
}
.window-contest .table-col2 label {
    display: inline;
}
/*.window-contest .table-col2:nth-child(odd)  {   width: 45%; padding-left: 57px; }
.window-contest .table-col2:nth-child(even)  {   padding-right: 57px; }*/
.window-contest .fb-user {
    text-align: center;
}
.window-contest .fb-user .table-row {
    margin-top: 15px;
}
.window-contest .no-fb-user {
    margin-top: 12px;
}
.window-contest .no-fb-user .table-row {
    margin-top: 5px;
}
.window-contest .fb-logo {
     /*background: url(../img/game/icons/ico-fb.png);*/
     background: url(..game/icons/ico-fb.png);
     -webkit-background-size: cover;
     background-size: cover;
     width: 25px;
     height: 25px;
     display: inline-block;
     margin-right: 10px;
 }
.window-contest .fb-name {
    font-size: 30px;
    display: inline-block;
}
.window-contest .img {
    width: 57px;
    height: 57px;
    border-radius: 30px;
    display: inline-block;
    position: relative;
    top: 15px;
    margin-right: 10px;
}
.window-contest .poll {
    position: absolute;
    top:265px;
    width: 100%;
}
.window-contest .table-col {
    padding-right: 57px;
}
.window-contest .table-col:first-child {
    padding-left: 57px;
}

.window-contest .poll .table-col:first-child div label {
    margin-bottom: 0;
}

.window-contest input[type="radio"], .window-contest input[type="checkbox"] {
    margin-right: 10px;
}
.btn-send {
    /*background: url(../img/game/windows/btn-send.png) no-repeat;*/
    background: url(..game/windows/btn-send.png) no-repeat;
    color: rgb(255,246,212);
}
.btn-send:hover, .btn-send:focus {
    color: rgb(255,246,212);
    outline: none;
}
.btn-cancel {
    /*background: url(../img/game/windows/btn-cancel.png) no-repeat;*/
    background: url(..game/windows/btn-cancel.png) no-repeat;
    color: rgb(213,104,24);
}
.window-contest .buttons {
    position: absolute;
    top: 435px;
    left: 50%;
    margin-left: -100px;
    width: 200px;
    text-align: center;
}
.btn {
    -webkit-transition: all 0.35s ease-in-out;-moz-transition: all 0.35s ease-in-out;-ms-transition: all 0.35s ease-in-out;-o-transition: all 0.35s ease-in-out;transition: all 0.35s ease-in-out;
    font-weight: bold;
    line-height: 23px;
    -webkit-background-size: cover;
    background-size: cover;
    width: 64px;
    height: 23px;
    padding: 0;
    text-align: center;
    margin: 0 10px;
    display: inline-block;
}
.btn:hover, .btn:focus {
    -webkit-transform: scale(1.25);-moz-transform: scale(1.25);-ms-transform: scale(1.25);-o-transform: scale(1.25);transform: scale(1.25);
}
.window-contest label {
    margin-bottom: 0;
}
.window-contest textarea {
    width: 100%;
    height: 114px;
}
.window-contest .error {
    color: rgb(144,0,0);
    display: block;
    height: 5px;
    margin-top: -7px;
}
.window-contest .fb-login {
    text-transform: uppercase;
    /*background: url(../img/game/icons/ico-fb-blue.png) no-repeat center right;*/
    background: url(..game/icons/ico-fb-blue.png) no-repeat center right;
    -webkit-background-size: contain;
    background-size: contain;
    font-weight: bold;
    text-align: right;
    padding: 0 40px 0 0;
    height: 30px;
    line-height: 15px;
    display: block;
    white-space: pre-wrap;
    width: 180px;
    font-size: 14px;
}
.window-contest h2 {
    color: rgb(144,0,0);
    padding: 0;
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
}

.window-login {
    /*background: url(../img/game/windows/window-login.png);*/
    background: url(..game/windows/window-login.png);
    -webkit-background-size: cover;
    background-size: cover;
    width: 562px;
    height: 204px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -281px;
    margin-top: -138px;
    padding-top: 60px;
    padding-left: 10px;
}
.window-login input[type=email], .window-login input[type=password], .window-login input[type=text] {

    line-height: 30px;
    padding-left: 5px;
    font-size: 16px;

    margin-bottom: 5px;
    width: 180px;
}

.window-login.register {
    /*background: url(../img/game/windows/window-login-big.png);*/
    background: url(..game/windows/window-login-big.png);
    -webkit-background-size: cover;
    background-size: cover;
    width: 562px;
    height: 284px;
    margin-top: -142px;
    padding-top: 60px;
}

.window-login.login .header {
    background: url(..game/windows/header-login.png);
    width: 0px;
    height: 0px;
    -webkit-background-size: cover;
    background-size: cover;
    position: absolute;
    top: -0px;
    left: 50%;
    margin-left: -0px;
}

.window-login.register .header {
    /*background: url(../img/game/windows/header-register.png) no-repeat;*/
    background: url(..game/windows/header-register.png) no-repeat;
    width: 0px;
    height: 0px;
    -webkit-background-size: contain;
    background-size: contain;
    position: absolute;
    top: -0px;
    left: 50%;
    margin-left: -0px;
}

.window-login.register dt:nth-of-type(1) label, .window-login.register dt:nth-of-type(3) label
{
    width: 70px; /*50*/
}

.window-login.register dt:nth-of-type(2) label, .window-login.register dt:nth-of-type(4) label
{
    width: 130px; /*90*/
}

.window-login.register dl.break {
    padding-top: 10px;
}

label.wide, .window-login.register dt label.wide {
    /*width: 350px!important;*/
    width: 350px;
}
.window-login.register dl.break dt, .window-login.register dl.break dd {
    display: block;
    height: 40px;
    /*border: 1px solid red;*/
    float: left;
}
.window-login.register dl.break dd {
    width: 30px;
    clear: left;
}

.window-login.register dt:nth-of-type(1) label.wide {

}

.window-login.register dt:last-of-type label.wide {
    width: 100%;
}

.window-login input[type=checkbox] { margin-left: 14px;

}
.window-login a {
    color: #cd170a;
    font-weight: normal;

}
.window-login a:hover, .window-login a:focus {
    outline: none;
    text-decoration: underline;
}

.window-login.register input[type=email], .window-login.register input[type=password]{
    width: 135px; /*170*/
}

.window-login.login .btn-send {
    font-size: 10px;
    margin-left: 60px;
    margin-top: 15px;
}

.window-login.register .btn-send {
    font-size: 10px;
    margin-left: 68px;
    margin-top: 5px;
}

.window-login.login .links
{
    position: absolute;
    top: 120px;
    left: 285px;
    text-align: left;
    color: #cd170a;
}
.window-login .cls {
    /*background: url(../img/game/windows/close.png) no-repeat;*/
    background: url(..game/windows/close.png) no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    width: 0px;
    height: 0px;
    position: absolute;
    right: -3px;
    top: 0px;
    cursor: pointer;
}
.window-login.register .cls {
    top: -0px;
}
.window-login.password .cls {
    top: 20px;
    right: -10px;
}
.window-login.login .links span {
    cursor: pointer;
}
.window-login.login .links span:hover {
    text-decoration: underline;
}

.window-login label {
    margin-left: 0px;
    margin-right: 5px;
}

.window-login .break dt label
{
    margin-left: 0;
}

.window-login.password {
    /*background: url(../img/game/windows/window-password.png);*/
    background: url(..game/windows/window-password.png);
    -webkit-background-size: cover;
    background-size: cover;
    width: 360px;
    height: 260px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -180px;
    margin-top: -130px;
    padding-top: 95px;
    padding-left: 35px;
}

.window-login dl {
    margin-bottom: 0;
}

.window-login dd, dt {
    display: inline-block;
    position: relative;
}

.window-login.password .btn-send {
    margin-top: 5px;
    margin-left: 60px;
    font-size: 10px;
}

.window-login.password #msg {
    display: block;
    width: 250px;
    margin-left: 15px;
    margin-top: 5px;
    line-height: 1.1;
}

.mfcc.error {
    position: absolute;
    color: #cd170a;
    font-weight: normal;
    left: 5px;
    top: 5px;
    margin-left: 0;
    margin-right: 0;
    z-index: 20;
    line-height: 1;
    padding-right: 5px;
}

.window-login.register form .btn{

    position: absolute;
    top: 230px;
    left: 400px;
}

dl.break label.mfcc.error {
    width: 350px;
    top: 20px;
    left: 14px;
    max-width: 350px;
}

.mfcc.error.relative {
    position: relative;
    left: 0;
    top: 0;
}

.mfcc.success {
    position: absolute;
    font-weight: bold;
    z-index: 25;
}

.mfcc.success.user {
    top: 175px;
    left: 270px;
}

input.mfcc.has-error {
    color: rgba(0,0,0,0);
}