@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic,cyrillic-ext');
@import url('https://fonts.googleapis.com/css?family=Play:400,700&display=swap&subset=cyrillic,cyrillic-ext');

* {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	box-sizing: border-box;
	color: #ffe;
}

green {color: green !important;}
orange {color: orange !important;}
red {color: red !important;}
blue {color: blue !important;}

body {
	margin:0;
	padding-top: 70px;
	background: #ffe;
	min-width: 1200px;
}

.displaynone {
	display: none !important;
}

.opacity {
	opacity: 0.2 !important;
}

.overlay {
	position:fixed;
	top:0;
	bottom:0;
	width:100%;
	height:100%;
	z-index: 1000;
	background: #333;
	display: none;
}

.alert {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1100;
	background: #00ffaa;
	color: #000;
	font-weight: bold;
	padding: 5px 15px;
	border-radius: 5px;
}

.counter {
	position: absolute;
	right: 24px;
	top: 24px;
}


header {
	display: flex;
	align-items: center;
	border-bottom: 2px solid #fae0e0;
	padding: 0 20px;
	height: 70px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #333;
	z-index: 100;
}

header #logo {
	margin-right: 20px;
	height: 50px;
	width: 50px;
}

header>div {
	width: 100%;
}

header .title {
	font-size: 20px;
	/*color: #d80f00;*/
	color: #ffe;
	font-weight: bold;
	margin: 5px 0;
}

header .title a {
	font-size: inherit;
	color: inherit;
	text-decoration: underline;
}

header .weekstart {
	display: flex;
}

header .weekstart .weektext {
	font-size: 14px;
	color: #ffeb3b;
	width: 270px;
	text-align: center;
}

header .weekstart .fas {
	display: flex;
	justify-content: center;
	width: 15px;
	padding: 0 10px;
	font-size: 21px;
	color: #03A9F4;
	cursor: pointer;
}

header .weekstart .fas:hover {
	color: #ff9800;
}

header .weekstart .temphint {
	color: #f44336;
	border: 1px solid;
	padding: 0 30px;
	background: #ffeb3b;
	font-weight: bold;
}

.users {
	margin-bottom: 90px;
	background: #ffe;
	padding-top: 23px;
}

.users * {
	color: #000;
}

.users .header {
	display: flex;
	background: #be2122;
	position: fixed;
	width: 100%;
	height: 23px;
	top: 70px;
	z-index: 100;
	padding-left: 11px;
}

.users .header > div {
	padding: 2px 20px !important;
	font-weight: bold;
	font-size: 13px;
	text-align: center;
	color : #FFC107 !important;
	white-space: nowrap;
}

.users .header > div.sort:hover {
	cursor: pointer;
	border-bottom: 3px solid #FFC107;
}


.users div.statnum {
	min-width: 40px;
	font-weight: bold;
	text-align: right;
	padding-right: 10px !important;
}

.users div.clanname {
	min-width: 215px;
	font-weight: bold;
}

.users div.clanname img {
	margin-right: 3px;
	width: 24px;
	height: 15px;
}


.users div.numinfo {
	min-width: 120px;
	font-weight: bold;
	text-align: center;
}


.users .clan * {
	font-size: 13px;
}

.users .clan {
	display: flex;
	align-items: flex-start;
	margin: 3px 0;
	border: 1px dashed transparent;
	padding-left: 10px;
}

.users .clan:hover {
	cursor: pointer;
	border-bottom: 1px dashed #aaa;
}


.users .clan div.total {
	color: blue;
}

.users .clan div.wins {
	color: green;
}

.users .clan div.withdraws {
	color: orange;
}

.users .clan div.defeats {
	color: red;
}

.users .clan div.bads {
	color: #e91e63;
}

.users .clan div.eff {
	color: maroon;
}

.users .clan div.lastfight {
	min-width: 150px;
	font-weight: bold;
	text-align: center;
}


.users .claninfo * {
	font-size: 13px;
}

.users .claninfo {
	margin: 3px 0;
	border: 1px dashed transparent;
	padding-left: 77px;
	background: #e5f3ff;
	min-height: 50px;
}

.users .claninfo .clanbattle {
	display: flex;
	align-items: flex-start;
	align-items: center;
	font-weight: bold;
	margin: 5px 0;
}

.users .claninfo .clanbattle .battledate {
	color: maroon;
	margin-right: 20px;
}

.users .claninfo .clanbattle red {
	margin: 0 10px;
}

.users .claninfo .clanbattle a {
	margin: 0 10px;
	color: blue;
}

.users .claninfo .clanbattle .battleclan {
	display: flex;
	align-items: flex-start;
	min-width: 200px;
	cursor: pointer;
	border-bottom: 1px solid transparent;
}

.users .claninfo .clanbattle .battleclan:hover {
	color: #339;
	border-bottom: 1px solid #ccc;
}

.users .claninfo .clanbattle.win {
	background: #d4ffb3;
}

.users .claninfo .clanbattle.defeat {
	background: #ffdddd;
}

.users .claninfo .clanbattle .comment {
	min-width: 200px;
}

.users .claninfo .clanbattle i.fa-exclamation {
	color: red;
	margin-right: 5px;
}


footer {
	height: 80px;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #333;
	border-top: 2px solid #fae0e0;
	padding: 5px 0 5px 160px;
	z-index: 100;
}

footer .header {
	font-size: 16px;
	font-weight: bold;
}

footer .text {
	max-width: 700px;
}

footer a.flinks, footer a.flinks:visited {
	margin: 0 10px 0 0;
    color: #ffc107;
}

footer a.flinks.tournir, footer a.flinks.tournir:visited {
	font-weight: bold;
    color: #00b700;
}

footer .state {
	position: absolute;
	right: 30px;
	top: 10px;
	width: 225px;
}

footer .state #active {
	font-weight: bold;
}

footer .state #autoscroll {
	font-weight: bold;
}
