/* Оконный интерфейс */
.UI .Windows {
	display: none;
	z-index: 100;
	}

.UI .Windows .Window {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #F5F5F5;
	overflow-y: hidden;
	}

.UI .Windows .Window .Header {
	position: absolute;
	width: 100%;
	height: 60px;
	top: 0;
	left: 0;
	background: #3F51B5;
	box-shadow: 0px 0px 10px 0px #999;
	z-index: 1000;
	}

.UI .Windows .Window .Header .Logo {
	float: right;
	width: 60px;
	margin: 0 10px;
	padding: 6px 0;
	}

.UI .Windows .Window .Header .Logo.Left {
	float: left;
	}

.UI .Windows .Window .Header .Logo img {
	width: 60px;
	height: 48px;
	border: none;
	}

.UI .Windows .Window .Header .Button {
	float: left;
	display: block;
	width: 60px;
	height: 60px;
	margin: 0;
	text-decoration: none;
	background: url(/img/back_icon.png) center center no-repeat;
	}

.UI .Windows .Window .Header .Title {
	float: left;
	margin: 0 10px;
	padding: 10px 0;
	color: #F5F5F5;
	}

.UI .Windows .Window .Header .Title .Name {
	display: block;
	font-size: large;
	line-height: 20px;
	font-family: Play;
	}

.UI .Windows .Window .Header .Title .Description {
	display: block;
	font-size: small;
	line-height: 20px;
	font-family: Play;
	}

.UI .Windows .Window .Content {
	height: 100%;
	padding: 60px 0 0;
	overflow-y: auto;
	}

.UI .Windows .Window .Content .Menu {
	width: 100%;
	margin: 0 0 10px;
	table-layout: fixed;
	background: #5C6BC0;
	}

.UI .Windows .Window .Content .Menu a {
	display: inline-block;
	width: 100%;
	color: #F5F5F5;
	font-family: Play;
	font-size: small;
	line-height: 35px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	}

.UI .Windows .Window .Content .Games {
	list-style: none;
	margin: 0;
	}

.UI .Windows .Window .Content .Games li {
	border-bottom: solid 1px #AEAEAE;
	}

.UI .Windows .Window .Content .Games li:last-of-type {
	border-bottom: none;
	}

.UI .Windows .Window .Content .Games li a {
	display: block;
	height: 60px;
	padding: 5px 0;
	text-decoration: none;
	}

.UI .Windows .Window .Content .Games li a .Score {
	float: right;
	margin: 0 10px;
	font-size: xx-large;
	line-height: 50px;
	}

.UI .Windows .Window .Content .Games li a .Player {
	display: block;
	margin: 0 10px;
	color: #AEAEAE;
	font-size: small;
	line-height: 20px;
	}

.UI .Windows .Window .Content .Games li a .Player.Opponent {
	color: #FF7043;
	font-size: x-large;
	line-height: 30px;
	}

.UI .Windows .Window .Content .NewGame {
	margin: 10px 0 0;
	}

.UI .Windows .Window .Content .NewGame a {
	display: block;
	width: 100%;
	height: 80px;
	color: #F5F5F5;
	font-family: Play;
	font-size: xx-large;
	line-height: 80px;
	text-align: center;
	text-decoration: none;
	background: #66BB6A;
	}

.UI .Windows .Window .Content .Questions {
	list-style: none;
	margin: 0;
	}

.UI .Windows .Window .Content .Questions li {
	float: left;
	display: block;
	width: 50%;
	margin: 0;
	overflow: hidden;
	}

.UI .Windows .Window .Content .Questions li a {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	height: auto;
	overflow: hidden;
	}

.UI .Windows .Window .Content .Questions li a img {
	display: block;
	width: 100%;
	margin: 0;
	height: auto;
	}

.UI .Windows .Window .Content .Questions li a .Status {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.4;
	background: url(/img/wait.png) center center no-repeat;
	}

.UI .Windows .Window .Content .Questions li a .Status.Success {
	opacity: 0.4;
	background: url(/img/success.png) center center no-repeat;
	}

.UI .Windows .Window .Content .Questions li a .Status.Wrong {
	opacity: 0.4;
	background: url(/img/wrong.png) center center no-repeat;
	}

.UI .Windows .Window .Content .Language {
	width: 100%;
	padding: 0 20px 20px;
	}

.UI .Windows .Window .Content .Lang {
	float: right;
	display: block;
	margin: -5px 0 0 10px;
	padding: 10px 5px 5px;
	color: #F5F5F5;
	font-family: Play;
	font-size: large;
	text-decoration: none;
	background: #AB47BC;
	}

.UI .Windows .Window .Content .String {
	padding: 10px 10px 0;
	}

.UI .Windows .Window .Content .ComingSoon {
	padding: 10px;
	}

/* Интерфейс авторизации */
.UI .Login {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background: url(/img/pc_mode_bg.png) center center #C5CAE9;
	z-index: 1000;
	}

.UI .Login .Header {
	width: 100%;
	padding: 20px;
	background: #3F51B5;
	box-shadow: 0px 0px 10px 0px #999;
	}

.UI .Login .Header img {
	float: left;
	width: 75px;
	height: 60px;
	margin: 0;
	}

.UI .Login .Header span {
	display: block;
	width: 100%;
	color: #F5F5F5;
	font-family: Play;
	text-align: right;
	line-height: 100%;
	}

.UI .Login .Header span.Title {
	height: 30px;
	font-size: x-large;
	}

.UI .Login .Header span.Slogan {
	height: 20px;
	font-size: small;
	}

.UI .Login .Language {
	width: 100%;
	padding: 0 20px 20px;
	}

.UI .Login .Language .Lang {
	float: right;
	display: block;
	margin: -5px 0 0 10px;
	padding: 10px 5px 5px;
	color: #F5F5F5;
	font-family: Play;
	font-size: large;
	text-decoration: none;
	background: #AB47BC;
	}

.UI .Login .Auth {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px;
	background: #3F51B5;
	}

.UI .Login .Retrieve {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px;
	background: #3F51B5;
	}

.UI .Login input {
	width: 100%;
	margin: 0 0 10px;
	padding: 5px 10px;
	border: none;
	background: #F5F5F5;
	}

.UI .Login .Button {
	display: block;
	width: 100%;
	margin: 0;
	padding: 5px 10px;
	color: #F5F5F5;
	font-family: Play;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	background: #AB47BC;
	}

.UI .Login .Button.doLogin {
	float: left;
	width: 50%;
	}

.UI .Login .Button.doRegister {
	float: right;
	width: 40%;
	}

.UI .Login .Button.doSwitch {
	margin: 10px 0 0;
	padding: 2px 10px;
	font-size: small;
	background: none;
	}

/* Загрузчик (типа прогресс-бар) */
.UI .Loader {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 2000;
	background: rgba(0, 0, 0, 0.5);
	}

.UI .Loader .LoadIndicator {
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 44px;
	opacity: 0;
	background: url(/img/loader_indicator.png) no-repeat;
	-webkit-animation: LoaderIndicator 1.5s infinite;
	-moz-animation: LoaderIndicator 1.5s infinite;
	animation: LoaderIndicator 1.5s infinite;
	
	-webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
    animation-timing-function: linear;
	}

@keyframes LoaderIndicator {
	0% {opacity: 0; background-position: -10% 0;}
	20% {opacity: 1; background-position: 10% 0;}
	80% {opacity: 1; background-position: 90% 0;}
	100% {opacity: 0; background-position: 110% 0;}
}

/* Уведомление (ошибки) */
.UI .Alert {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 3000;
	background: rgba(0, 0, 0, 0.7);
	}

.UI .Alert .Header {
	width: 100%;
	padding: 50px 20px;
	color: #F5F5F5;
	font-family: Play;
	font-size: x-large;
	text-align: center;
	background: rgba(0, 0, 0, 0.5);
	background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 70%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 70%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	}

.UI .Alert .Header .TitleError {
	display: none;
	}

.UI .Alert .Header .TitleAlert {
	display: none;
	}

.UI .Alert .Content {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 0;
	padding: 0 20px;
	color: #F5F5F5;
	text-align: center;
	}

.UI .Alert .Content span {
	display: inline-block;
	margin: 5px 0;
	padding: 5px 10px;
	font-family: Play;
	background: rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	}

.UI .Alert .Buttons {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	padding: 30px 20px;
	background: rgba(0, 0, 0, 0.5);
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#80000000',GradientType=0 ); /* IE6-9 */
	}

.UI .Alert .Buttons .Button {
	display: block;
	width: 100%;
	margin: 0;
	padding: 5px 10px;
	color: #F5F5F5;
	font-family: Play;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	background: #AB47BC;
	}