* {
	box-sizing: border-box
}

html,
body {
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
	font-family: 'Helvetica', 'Verdana', sans-serif;
	font-weight: 400;
	color: #444;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}

body {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-pack: start;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	background: #ececec
}

form {
	text-align: center
}

select {
	font-family: inherit;
	background-color: transparent;
	padding: 4px 0;
	font-size: 16px;
	position: static;
	border: none;
	border-bottom: 2px solid rgba(0, 0, 0, 0.12);
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none
}

select:focus {
	outline: none
}

.selectfield {
	position: relative
}

.selectfield:after {
	position: absolute;
	top: 0.75em;
	right: 0.5em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: .25em solid transparent;
	border-right: .25em solid transparent;
	border-top: 0.375em solid rgba(0, 0, 0, 0.12);
	pointer-events: none
}

.header {
	width: 100%;
	height: 56px;
	color: #FFF;
	background: #007bff;
	position: fixed;
	font-size: 20px;
	box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 2px 9px 1px rgba(0, 0, 0, 0.12), 0 4px 2px -2px rgba(0, 0, 0, 0.2);
	padding: 16px 16px 0 16px;
	will-change: transform;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-pack: start;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-transition: -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
	transition: -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
	transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
	transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s, -webkit-transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
	z-index: 997
}

.header__title {
	font-weight: 400;
	font-size: 20px;
	margin: 0;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1
}

.main {
	margin-top: 60px
}

.loader {
	z-index: 998;
	left: 50%;
	top: 50%;
	position: fixed;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%)
}

.loader #spinner {
	box-sizing: border-box;
	stroke: #673AB7;
	stroke-width: 3px;
	-webkit-transform-origin: 50%;
	transform-origin: 50%;
	-webkit-animation: line 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite, rotate 1.6s linear infinite;
	animation: line 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite, rotate 1.6s linear infinite
}

@-webkit-keyframes "rotate" {
	from {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	to {
		-webkit-transform: rotate(450deg);
		transform: rotate(450deg);
	}
}

@keyframes "rotate" {
	from {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	to {
		-webkit-transform: rotate(450deg);
		transform: rotate(450deg);
	}
}

@-webkit-keyframes "line" {
	0% {
		stroke-dasharray: 2, 85.964;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	50% {
		stroke-dasharray: 65.973, 21.9911;
		stroke-dashoffset: 0;
	}
	100% {
		stroke-dasharray: 2, 85.964;
		stroke-dashoffset: -65.973;
		-webkit-transform: rotate(90deg);
		transform: rotate(90deg);
	}
}

@keyframes "line" {
	0% {
		stroke-dasharray: 2, 85.964;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	50% {
		stroke-dasharray: 65.973, 21.9911;
		stroke-dashoffset: 0;
	}
	100% {
		stroke-dasharray: 2, 85.964;
		stroke-dashoffset: -65.973;
		-webkit-transform: rotate(90deg);
		transform: rotate(90deg);
	}
}

#main {
	padding: 55px 0;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch
}

.flag {
	width: 152px;
	height: 132px;
	float: left;
	text-align: center;
	text-decoration: none;
	padding: 16px;
	position: relative;
	box-sizing: border-box;
	background: #fff;
	border-radius: 2px;
	margin: 16px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)
}

.flag:hover {
	box-shadow: none
}

div.flag svg {
	-webkit-box-shadow: -1px 2px 5px 0px rgba(133, 131, 133, 1);
	-moz-box-shadow: -1px 2px 5px 0px rgba(133, 131, 133, 1);
	box-shadow: -1px 2px 5px 0px rgba(133, 131, 133, 1)
}

ins.adsbygoogle {
	margin: 16px
}

.card {
	text-align: center;
	padding: 16px;
	position: relative;
	box-sizing: border-box;
	background: #fff;
	border-radius: 2px;
	margin: 16px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)
}

.zone {
	margin: 16px;
	text-align: center
}

.btn {
	min-width: 20px;
	cursor: pointer;
	font-size: 1.5em;
	color: #FFF;
	background: #007bff;
	margin: 15px;
	padding: 10px;
	border: none;
	border-radius: 2px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)
}

.danger {
	background: red
}

#task {
	font-size: 2em;
	text-align: center
}

.header .headerButton {
	width: 24px;
	height: 24px;
	margin-right: 16px;
	text-indent: -30000px;
	overflow: hidden;
	opacity: 0.54;
	-webkit-transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
	transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
	border: none;
	outline: none;
	cursor: pointer
}

.header #butAdd {
	background: url(../img/hum.svg) center center no-repeat
}

.dialog-container {
	z-index: 999;
	background: rgba(0, 0, 0, 0.57);
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	will-change: opacity;
	-webkit-transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
	transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1)
}

.dialog {
	z-index: 1000;
	background: #FFF;
	border-radius: 2px;
	box-shadow: 0 0 14px rgba(0, 0, 0, 0.24), 0 14px 28px rgba(0, 0, 0, 0.48);
	min-width: 280px;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%) translateY(30px);
	transform: translate(-50%, -50%) translateY(30px);
	-webkit-transition: -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
	transition: -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
	transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
	transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s, -webkit-transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
	padding: 16px
}

.dialog-buttons {
	text-align: right
}

.dialog-container--visible {
	opacity: 1;
	pointer-events: auto
}

.dialog-body ul li {
	margin-bottom: 16px
}

div#variants.zone.card {
	min-height: 300px
}

#lessonNumber {
	text-align: center;
	font-size: 1.5em
}

ins.adsbygoogle {
	background-color: #fff;
	margin: 40px auto;
	border-radius: 2px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)
}

input::-webkit-input-placeholder {
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out
}

input {
	margin: 0;
	width: 100%;
	display: block;
	border: none;
	padding: 10px 0;
	border-bottom: solid 1px #28a745
}

input:focus,
input:valid {
	box-shadow: none;
	outline: none;
	background-position: 0 0
}

input:focus::-webkit-input-placeholder,
input:valid::-webkit-input-placeholder {
	color: #007bff;
	-webkit-transform: translateY(-20px);
	transform: translateY(-20px);
	visibility: visible !important
}

#footer {
	text-align: center;
}

#wideMenu {
	display: none;
	margin: 0;
}

#wideMenu li {
	float: right;
	list-style-type: none;
	margin-left: 16px;
}

#wideMenu li a {
	color: #ffffff;
	font-size: 0.6em;
	text-decoration: none;
}

#wideMenu li a:hover {
	color: #ffffff;
	font-size: 0.6em;
	text-decoration: underline;
}

@media screen and (min-width: 1000px) {
	#wideMenu {
		display: block;
	}
	#butAdd {
		display: none;
	}
}

img {
	min-height: 150px;
}

#results {
	text-align: center;
}

#taskCard {
	overflow: hidden;
	transition-property: all;
	transition-duration: 1.5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.hidden {
	font-size: 0;
	padding: 0;
	line-height: 0;
	color: transparent;
}

.hidden img,
.hidden audio,
.hidden button {
	display: none;
	height: 0;
}