* {
	padding:0;
	margin:0;
	box-sizing:border-box;
	outline:none;
}
a {
	text-decoration:none;
	color:#212529;
}
ul {
	margin:0;
	padding:0;
	list-style:none;
}
body, html {
	height:100%;
	width:100%;
}
body {
	background-color:#f1f3f5;
	background-image: url('../images/logo-small-gray.svg');
	background-position: center right;
	background-repeat:no-repeat;
	background-size:50%;
	color:#212529;
	font-family: 'Roboto', sans-serif;
}
.data {
	max-width:70vw;
	margin:0 auto;
}
.data span {
	display:block;
	padding:40px;
}
.flex {
	display:flex;
}
.flex-center {
	align-items:center;
}
.flex-column {
	flex-direction:column;
}
.flex-stretch {
	align-items:stretch;
}
.flex-between {
	justify-content:space-between;
}
.flex-even > * {
	flex:1;
}
.flex-grow {
	flex-grow:1;
}
.justify-center {
	justify-content:center;
}
.justify-between {
	justify-content:space-between;
}
.userTest {
	margin:0 auto;
}
#logo {
	display:flex;	
	justify-content:center;
	margin-bottom:50px;
}
#logo svg {
	height:70px;
	width:auto;
}
.sidebar {
	flex: 250px 0 0;
	background:#212529;
	padding:50px 30px 0;
	display:flex;
	flex-direction:column;
}
p.title {
	font-size:13px;
	font-weight:bold;
	text-transform:uppercase;
	margin-bottom:20px;
}
p.title svg {
	width:24px;
	height:24px;
	margin-right:12px;
}
p.title svg path {
	fill:#868e96;
}
.main {
	flex-grow:1;
	overflow:auto;
	padding:30px;
}
.tests {
	margin-bottom:50px;
	padding-bottom:50px;
	border-bottom:1px solid #dee2e6;
}
.finish-test {
	display:block;
	margin:20px 0 0;
	text-align:center;
	font-size:14px;
	text-transform:uppercase;
	font-weight:bold;
	background:#ffd43b;
	color:#212529;
	border-radius:3px;
	padding:20px;
}
.tests ul {
	display:grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap:5px;
}
.tests ul li.random {
	grid-column-end: span 5;
}
.tests ul li a {
	position:relative;
	display:block;
	padding:15px;
	/*background:#212529 url('../images/logo-small.svg') center right 4px no-repeat;*/
	/*background-size:30%;*/
	background-color:#212529;
	color:#fff;
}
.tests ul li a:before {
	transition: width .5s ease-in;
	display:block;
	height:2px;
	content:'';
	position:absolute;
	left:0;
	bottom:0;
	width:0%;
	background:#f6ec13;
}
.tests ul li a:hover:before {
	width:100%;
}
.tests ul li a svg path {
	fill:#343a40;
	transition: fill .3s linear;
}
.tests ul li a:hover svg path {
	fill:#f6ec13;
}
.tests ul li a.dimmed {
	opacity:0.5;
}
.tests ul li svg {
	width:40px;
	height:40px;
}
.test-item {
	font-weight:bold;
	font-size:13px;
	text-transform:uppercase;
}
.test-item small {
	display:block;
	color:#adb5bd;
	font-size:11px;
	margin-top:10px;
}
.results {
	padding:15px 0;
	color:#495057;
	font-size:14px;
	display:flex;
}
.results span {
	border-right:1px solid #adb5bd;
	display:block;
	padding:0 15px;
}
.results span:last-of-type {
	border-right:none;
}
.sidebar ul li {
	margin:0 -30px;
}
.sidebar ul li a {
	display:block;
	padding:15px 30px;
	font-size:14px;
	color:#868e96;
}
.sidebar ul li.active {
	background:#343a40;
}
.sidebar ul li.active a {
	color:#f6ec13;
}
.question {
	padding:50px;
	border-bottom:1px solid #DEE2E6;
}
.question > div {	
	width:60vw;
}
.question .answers ul {
	list-style:none;
	flex-grow:1;
	align-items:stretch;
}
.question .answers ul li {
	flex:1;
	display:flex;
	padding:15px;
}
.question .answers ul li svg {
	width:24px;
	height:24px;
	display:block;
}
.question .answers img {
	margin:0 10px;
}
.question .answers ul li svg path {
	fill:#ced4da;
}
.question .answers ul li svg.correct path {
	fill:#20c997;
}
.question .number {
	color:#329af0;
	font-weight:bold;
	font-size:11px;
	text-transform:uppercase;
	margin-top:10px;
}
.question .text {
	font-size:20px;
	font-weight:400;
}
.question .text.green {
	color:#20c997;
}
.question .text.red {
	color:#fa5252;
}
.answers {
	margin-top:30px;
	background:#fff;
	border-radius:3px;
}
.answers input[type=checkbox] {
	display:none;
}
.answers label, .answers ul li {
	flex-grow:1;
}
.answers ul li {
	border-bottom:1px solid #dee2e6;	
}
.answers label {	
	padding:20px;
}
.answers label .box, .answers div .box {
	font-size:16px;
	font-weight:600;
	display:flex;
	align-items:center;
	justify-content:center;
	width:40px;
	height:40px;
	border-radius:50%;
	color: #212529;
	border:2px solid #212529;
	margin-right:20px;
	flex-shrink:0;
}
.answers input[type=checkbox]:checked + label {
	background:#ffd43b;
}
.answers input[type=checkbox]:checked + label .box {
	color:#3bc9db;
	border-color:#3bc9db;
}
.question .answers ul li.correct {
	background:#c3fae8;        
}
.question .answers ul li.false {
	background:#ffe3e3;        
}
/*
 * header
 */
.header {
	display:none;
	align-items:center;
	justify-content:space-between;
	padding:10px;
	background:#fff;
	margin:-30px -30px 30px -30px;
}
/*
 * hamburger
 */
.hamburger {
  padding: 10px;
  display: block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; }
  .hamburger:hover {
    opacity: 0.7; }

.hamburger-box {
  width: 24px;
  height: 16px;
  display: block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: #000;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -8px; }
  .hamburger-inner::after {
    bottom: -8px; }
    /*
   * Spin
   */
.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }
  .hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  .hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
  .hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }
@media only screen and (max-width: 1366px) {
}
@media only screen and (max-width: 1024px) {
	.answers.flex.flex-stretch {
		flex-direction:column;
	}
	.answers label {
		width:100%;
	}
	.main {
		padding:10px;
	}
	.question > div {
		width:100%;
	}
	.question {
		padding:5px;
	}
	.answers img {
		max-width:100%;
	}
	.flex-stretch {
		align-items:center;
	}
	.header {
		display:flex;
    	margin: -10px -10px 10px -10px;
	}
	.sidebar {
		position:absolute;
		top:0;
		left:0;
		bottom:0;
		width:250px;
		z-index:2;
		transform: translateX(-100%);
		transition: transform .15s linear;
	}
	.sidebar.open {
		display:flex;
		transform: translateX(0%);
	}
	.tests ul {
		grid-template-columns: repeat(3, 1fr);
	}
	.tests ul li.random {
	    grid-column-end: span 3;
	}
	.question .text {
		margin-top:20px;
		font-size:16px;
	}
	.question .answers ul {
		width:100%;
	}
	.question .answers img {
		margin:10px 0;
	}
	.question .answers ul li {
		font-size:13px;
	}
	.data span {
		font-size:16px;
		padding:0;
	}
	.data {
		justify-content:space-between;
		background:#fff;
		padding:20px;
		max-width:100vw;
	}
	.data span.points {
		font-size:30px;
	}
}
@media only screen and (max-width: 800px) {
	.tests ul {
		grid-template-columns: repeat(2, 1fr);
	}
	.tests ul li.random {
	    grid-column-end: span 2;
	}
}
