* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}
.wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.buttons a {
	font-family: 'Oswald', sans-serif;
}
.full h1,
.full h2,
.full h3,
.full h4,
.full h5,
.full h6,
.buttons a {
	color: #eee;
	text-shadow: 1px 1px 1px #333;
}
p {
	font-family: 'Roboto', sans-serif;
	color: #222;
	margin-top: 10px;
}
a {
	color: #911;
	text-decoration: none;
}
.slogan {
	text-align: center;
}
.slogan span {
	color: darksalmon;
}
.slogan p {
	color: #ccc;
}
h1 {
	font-weight: 700;
	font-size: 50px;
}
h3 {
	font-size: 40px;
}
h4 {
	font-size: 20px;
}

.logo {
	background-image: url(../img/logo_white_red_600.png);
	background-size: contain;
	width: 200px;
	height: 200px;
	margin: 60px auto;
}
.full {
	background: url(../img/bg1.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.timetostart,
.timetostart_s {
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	max-width: 700px;
	justify-content: space-around;
	margin-top: 30px;
}
.timetostart div {
	width: 105px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .6);
	border: 1px solid white;
	font-size: 30px;
	font-family: 'Oswald', sans-serif;
	text-align: center;
	padding: 30px 0;
}
.timetostart_s {
	margin-top: 10px;
}
.timetostart_s div {
	font-size: 20px;
	font-family: 'Oswald', sans-serif;
	text-align: center;
	color: #eee;
	width: 25%
}
.buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 30px;
}
.buttons a {
	display: block;
	padding: 10px;
	min-width: 100px;
	text-align: center;
	margin: 10px 40px;
	border-radius: 10px;
	text-decoration: none;
	transition: .5s;
	text-shadow: none;

}

.buttons :nth-child(2n+1) {
	background-color: #333;
	border: 2px solid #333;
}
.buttons :nth-child(2n+1):hover {
	background-color: #111;
	border: 2px solid #eee;
}
.buttons :nth-child(2n) {
	background-color: #eee;
	border: 2px solid #eee;
	color: #333;
}
.buttons :nth-child(2n):hover {
	background-color: #bbb;
	border: 2px solid #eee;
}
.credits {
	margin: 20px auto;
	margin-top: 20px;
	margin-bottom: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.credits>div {
	width: 250px;
	height: 80px;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 5px;
	margin: 10px;
	font-size: 12px;
	font-family: 'Roboto', sans-serif;
	color: #444;
	padding: 5px;
	display: flex;
	align-items: center;
}
.credits>div img {
	float: left;
	margin: 5px;
	height: 40px;
}
.credits a {
	font-size: 12px;
	font-family: sans-serif;
	color: #444;
	text-decoration: none;
	text-shadow: none;
}
.liner {
	margin: 20px auto;
	text-align: center;
}
.container {
	width: 90%;
	max-width: 1000px;
	margin: 0 auto;
	padding-top: 20px;
}
.mainmenu {
	display: flex;
}
nav.menu {
	border-bottom: 2px solid #333;
	padding-bottom: 10px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
nav.menu a {
	font-family: 'Oswald', sans-serif;
	color: #333;
	text-decoration: none;
	display: block;
	padding: 8px;
	transition: .5s;
	border-radius: 5px;
}
nav.menu a:hover {
	background-color: #eee;
}
.usermenu {
	display: flex;
}
a.logosmall {
	display: block;
	background-image: url(../img/logo_black_red_600.png);
	background-size: contain;
	width: 40px;
	height: 40px;
}
.content {
	font-family: 'Roboto', sans-serif;
	flex: 1 0 auto;
}
footer {
	border-top: 2px solid #333;
	background-color: #222;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	margin-top: 20px;
	padding-bottom: 20px;
	flex: 0 0 auto;
	
}
.footerLinks {
	display: flex;
	margin-bottom: 20px;
}
.footerLinks a {
	display: block;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #fff;
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: 20px;
}
.link_binom {
	background-image: url(../img/binom100.png);
}
.link_pushkin {
	background-image: url(../img/pushkin100.png);
}
.link_rit {
	background-image: url(../img/rit100.png);
}
.link_byl {
	background-image: url(../img/byl100.png);
}
.link_okt {
	background-image: url(../img/okt.jpg);
}
.userDiv {
	margin: 40px auto;
	text-align: center;
}
.avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
}
.smallAvatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	margin-right: 10px;
}
.role0 {
	border: 2px dashed #222;
}
.role1 {
	border: 2px solid #888;
}
.role2,
.role3 {
	border: 3px solid #090;
}

label {
	display: block;
	width: 200px;
	float: left;
	font-size: 12px;
	clear: both;
}
input,
select {
	display: block;
	width: 400px;
}
.challengers {
	display: flex;
	flex-wrap: wrap;
	width: 90%;
	margin: 0 auto;
	justify-content: space-around;
}
.challenger {
	border: 1px solid transparent;
	width: 200px;
	text-align: center;
	padding: 10px;
	margin: 10px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px rgba(0,0,0,.5);
	transition: 1s;
}
.challenger:hover {
	background-color: #eee;
}
.fullinfo {
	background-color: azure;
}
ol {
	padding: 5px 20px;
	list-style: none; 
	counter-reset: li; 
}
li:before {
	counter-increment: li; 
	content: counters(li,".") ". ";
}
.tester {
	position: relative;
}
.tester:before {
	content: "";
	width: 30px;
	height: 30px;
	background-image: url('../img/tester40.png');
	background-size: cover;
	position: absolute;
	right: 10px;
	top: 10px;
	border-radius: 35%;
	background-color: #dfd;
}
/* ---- update 2019-04-15 ---------*/
.solved {
	background-color: lightgreen;
	padding: 10px;
	margin: 5px 0;
}
.not-solved {
	background-color: #bbb;
	padding: 10px;
	margin: 5px 0;
}
/* ---- update 2019-04-15 ---------*/

/* ---- update 2019-04-19 ---------*/
.warn {
	background-color: coral;
	text-align: center;
	padding: 20px;
}
.answer_recorded {
	background-color: lightgreen;
	text-align: center;
	padding: 20px;
}
table.rating {
	border: 1px solid black;
	border-collapse: collapse;
	vertical-align: middle;
}

table.rating tr:nth-child(even) {
	background-color: #ddd;
}

table.rating td,
table.rating th {
	margin: 0;
	padding: 5px 20px;
}

.rating img {
	border-radius: 50%;
	margin-right: 10px;
}
.protocol {
	font-size: 10px;
}
/* ---- update 2019-04-19 ---------*/

/* ---- update 2019-04-21 ---------*/
summary {
	margin: 20px;
	padding: 10px;
	background-color: #ddd;
	border-radius: 5px;
	cursor: pointer;
}
.solution {
	margin: 20px;
	padding: 10px;
	background-color: #eee;
	border-radius: 5px;
}
/* ---- update 2019-04-21 ---------*/
@media (max-width: 700px) {
	.logo {
		width: 100px;
		height: 100px;
		margin: 30px auto;
	}
	h1 {
		font-size: 30px;
	}
	h4 {
		font-size: 16px;
	}
	a.logosmall {
		width: 20px;
		height: 20px;
	}
	nav.menu {
		border-bottom: 2px solid #333;
		padding-bottom: 5px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	nav.menu a {
		font-family: 'Roboto', sans-serif;
		color: #333;
		text-decoration: none;
		display: block;
		padding: 5px;
		transition: .5s;
		border-radius: 5px;
		font-size: 12px;
	}
	.usermenu {
		flex-direction: column;
	}
	p {
		font-size: 12px;
		color: #000;
	}
}
@media (max-width: 500px) {
	.timetostart,
	.timetostart_s {
		display: none;
	}
	h1 {
		font-size: 25px;
	}
	h3 {
		font-size: 20px;
	}
	.full {
		padding: 10px;
	}
	.mainmenu {
		flex-flow: column;
	}
	footer {
		font-size: 12px;
	}
}