@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic,cyrillic-ext');

* {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	box-sizing: border-box;
}

body {
	margin:0;
	padding-top: 70px;
	padding-bottom: 80px;
	background: #dedede;
	min-width: 600px;
}

.green { background-color: #a7eaa2; }
.yellow { background-color: #efeebd; }
.red { background-color: #efbdbd; }

a, a:visited {
	color: black;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.clanline {
	margin: 6px;
}

.clanline * {
	font-family: Verdana;
	font-size: 10pt;
}

.clanline img {
	margin-right: 3px;
}

.clanline span {
	display: inline-flex;
	padding: 2px 5px;
}

.clanline span:first-of-type {
	min-width: 250px;
}

b.rate {
	color: maroon;
	margin-left: 5px;
}

#clanlist {
	width: 350px;
}

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;
	white-space: nowrap;
}

header .title a {
	font-size: inherit;
	color: inherit;
	text-decoration: underline;
}

header .clanname {
	display: flex;
	align-items: center;
	color: #ffeb3b;
	font-size: 14px;
}

header .clanname .weektext {
	width: 270px;
	text-align: center;
}

header #clanname {
	margin-left: 10px;
	width: 250px;
}

dottes {
	padding: 2px 5px;
	display: inline-flex;
}



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;
	
	color: #ffe;
}

footer a, footer a:visited {
	color: #ffe;
	text-decoration: underline;
}

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 .header {
	font-size: 16px;
	font-weight: bold;
}

footer .text {
	max-width: 700px;
}

footer .state {
	position: absolute;
	right: 30px;
	top: 10px;
	width: 225px;
}

footer .state #active {
	font-weight: bold;
}

footer .state #autoscroll {
	font-weight: bold;
}

.counter {
	position: absolute;
	right: 24px;
	top: 24px;
}
