html,
body {
	height: 100%;
}

html {
	font-size: 1vw;
}

body {
	position: relative;
	overflow: hidden;
	font-size: 1rem;
	line-height: 1.5;
}

button {
	padding: 0;
	border: none;
	outline: none;
	box-shadow: none;
	background-color: transparent;
	color: black;
}

button.js-controls:hover {
	color: red;
}

.fixedCtrlBtn {
	position: fixed;
	right: 0;
	z-index: 100;
	padding: 1rem;
	border: none;
	outline: none;
	box-shadow: none;
	background-color: transparent;
	color: black;
	font-size: 2rem;
	line-height: 1;
}

.fixedCtrlBtn:hover {
	color: red;
}

#menu-toggle {
	top: 0;
	z-index: 200;
}

#menu-toggle:hover {
	color: red;
}

#js-clearBtn {
	top: 14.5vw;
}

#js-pageControls button {
	position: relative;
	margin-top: 0.5rem;
	padding: 1rem;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1;
	border: 1px solid black;
	border-radius: 1rem;
}

#js-pageControls button:hover {
	border: 1px solid red;
}

#js-pageControls button:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	border: 1px solid black;
}

#js-pageControls button:disabled:hover {
	opacity: 0.3;
	color: black;
	cursor: not-allowed;
}

#js-pageControls > button {
	margin-right: 2rem;
}

.js-hidden {
	display: none;
}

fieldset.js-invisible {
	max-height: 3rem;
	overflow: hidden;
}

.js-invisible {
	max-height: 0;
	overflow: hidden;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 96.285vw;
	background-color: white;
}

.header {
	float: left;
	padding: 1rem;
	width: 30vw;
}

.header h1 {
	position: relative;
	margin-top: 1rem;
	margin-bottom: 1rem;
	color: black;
	font-family: 'Raleway', 'sans-serif';
	font-size: 2.5rem;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	-webkit-user-select: none; /* Chrome all / Safari all */
	-moz-user-select: none; /* Firefox all */
	-ms-user-select: none; /* IE 10+ */
	user-select: none;
	cursor: default;
}

#js-pageControls {
	float: left;
	padding: 1rem;
}

#js-playBtn {
	margin-top: 1rem;
}

#errorMessage {
	margin-top: 2rem;
	font-size: 1.5rem;
	color: red;
	opacity: 1;
	-webkit-transition: opacity 1s ease 0s;
	-moz-transition: opacity 1s ease 0s;
	-ms-transition: opacity 1s ease 0s;
	-o-transition: opacity 1s ease 0s;
	transition: opacity 1s ease 0s;
}

#errorMessage.js-hidden {
	display: block;
	opacity: 0;
	max-height: 1.5rem;
}

.setInfoDisplay {
	position: relative;
	left: 30vw;
	top: 6.75vw;
	padding: 1rem;
	padding-top: 0;
	width: 66.285vw;
}

.setInfo {
	padding: 1rem;
	border: 1px solid black;
	border-radius: 1rem;
	font-size: 1.1rem;
}

.setInfo h3 {
	font-size: 1.1rem;
	font-weight: bold;
	display: inline-block;
	margin-top: 0.5rem;
	margin-right: 1rem;
	margin-bottom: 0;
	min-width: 6rem;
}

.setInfo h3:first-of-type {
	margin-top: 0.5rem;
}

.infoBoxSmall {
	display: inline-block;
	width: 25%;
}

.js-inactive {
	opacity: 0.2;
}

.infoLarge {
	display: inline-block;
	width: 60%;
}

.timer {
	display: inline-block;
	width: 30%;
}

.paused {
	-webkit-animation-name: pausedState;
	-webkit-animation-duration: 2s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;

	-moz-animation-name: pausedState;
	-moz-animation-duration: 2s;
	-moz-animation-timing-function: linear;
	-moz-animation-iteration-count: infinite;

	animation-name: pausedState;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@-moz-keyframes pausedState {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-webkit-keyframes pausedState {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes pausedState {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Form */

.controls {
	position: absolute;
	top: 6.75rem;
	bottom: 0;
	left: 0;
	z-index: 10;
	overflow-x: auto;
	padding: 1rem;
	padding-top: 0;
	border-right: 1px solid black;
	border-top: 1px solid black;
	border-top-right-radius: 1rem;
	width: 30vw;
	color: black;
	background-color: white;
}

.controls h3 {
	font-size: 1.1rem;
}

.leftscrollbar {
	overflow: auto;
	direction: rtl;
}
.leftscrollbar > form {
	direction: ltr;
}

.controls label {
	margin-top: 0.8rem;
	margin-bottom: 0.3rem;
	font-size: 1rem;
	font-weight: normal;
}

.userInput {
	display: block;
	width: 100%;
	height: 2rem;
	padding: 6px 12px;
	font-size: 0.8rem;
	line-height: 1.5;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 0.4rem;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
	-o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
	transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.radioButton {
	position: relative;
	display: inline-block;
	padding-left: 20px;
	margin-bottom: 0;
	vertical-align: middle;
	font-weight: normal;
	cursor: pointer;
}

label {
	vertical-align: center;
}

fieldset > label:first-of-type {
	margin-top: 0;
}

fieldset {
	margin-top: 0.5rem;
	padding: 1rem;
	padding-top: 0;
	border: 1px solid black;
	border-radius: 1rem;
	font-size: 1.3rem;
	max-height: 500px;
	overflow-y: hidden;

	-webkit-transition: max-height 1s ease 0s;
	-moz-transition: max-height 1s ease 0s;
	-ms-transition: max-height 1s ease 0s;
	-o-transition: max-height 1s ease 0s;
	transition: max-height 1s ease 0s;
}

legend {
	display: inline;
	margin: 0;
	border: 0;
	width: auto;
	color: inherit;
	font-size: 1.5rem;
	font-weight: bold;
	cursor: pointer;
}

legend:hover {
	color: red;
	transition: color 0.3s linear;
}

.rate,
.lang {
	display: inline-block;
	width: 40%;
}

.pause,
.random {
	display: inline-block;
	width: 40%;
}

.random {
	margin-left: 4.5rem;
}

.rate {
	float: left;
}

.pause {
	float: right;
}

.lang {
	margin-left: 0;
}

.checkbox {
	display: inline-block;
}

h3.checkbox {
	margin-right: 1rem;
}

h3.randomMode {
	text-align: left;
}

.js-multiple {
	max-height: 500px;
	overflow-y: hidden;

	-webkit-transition: max-height 0.5s ease 0s;
	-moz-transition: max-height 0.5s ease 0s;
	-ms-transition: max-height 0.5s ease 0s;
	-o-transition: max-height 0.5s ease 0s;
	transition: max-height 0.5s ease 0s;
}

.js-multiple.js-invisible {
	max-height: 0px;
}

/*numberSet*/

.displayResult {
	position: absolute;
	top: 14.5vw;
	bottom: 0;
	left: 30vw;
	z-index: 10;
	overflow-x: auto;
	margin-top: 1rem;
	padding: 1rem;
	padding-top: 0;
	width: 66.285vw;
	color: black;
	background-color: white;
}

.js-session {
	margin-bottom: 1rem;
	border: 1px solid black;
	border-radius: 1rem;
	max-height: 0;
	overflow-x: hidden;
	opacity: 1;
}

.js-session.fade {
	opacity: 0;
	-webkit-transition: opacity 1s linear;
	-moz-transition: opacity 1s linear;
	-o-transition: opacity 1s linear;
	transition: opacity 1s linear;
}

.js-session.slideDown {
	-webkit-animation: slideDown 15s;
	animation: slideDown 15s;
	max-height: 10000px;
}

@-webkit-keyframes fade {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}
@keyframes fade {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@-webkit-keyframes slideDown {
	from {
		max-height: 0;
	}
	to {
		max-height: 10000px;
	}
}
@keyframes slideDown {
	from {
		max-height: 0;
	}
	to {
		max-height: 10000px;
	}
}

@-webkit-keyframes slideUp {
	from {
		max-height: 10000px;
	}
	to {
		max-height: 0;
	}
}
@keyframes slideUp {
	from {
		max-height: 10000px;
	}
	to {
		max-height: 0;
	}
}

.js-session h2 {
	margin: 0;
	margin-right: 1rem;
	/*	font-size: 1.5rem;*/
}

.js-session button {
	font-size: 1.5rem;
	margin-right: 0.5rem;
	color: black;
	cursor: pointer;
	opacity: 1;
}

.js-session button:hover {
	color: red;
}

/* Playing state */

.js-playing button,
.js-paused button {
	cursor: not-allowed;
	opacity: 0.3;
	color: black;
}

.js-playing button:hover,
.js-paused button:hover {
	cursor: not-allowed;
	opacity: 0.3;
	color: black;
}

/* Playing state - current session*/

.js-session.js-currentSession button {
	cursor: pointer;
	opacity: 1;
}

.js-session.js-currentSession button:hover {
	color: red;
	cursor: pointer;
	opacity: 1;
}

/* Paused state */
.js-paused .js-currentSession button.js-pauseBtn {
	display: none;
}

.js-paused .js-currentSession button.js-playBtn {
	display: inline-block;
}

.js-session button.js-pauseBtn {
	display: none;
}

.js-session button.js-playBtn {
	display: inline-block;
}

.js-session button.wrapBtn {
	color: black;
	opacity: 1;
	cursor: pointer;
}

.js-session button.closeBtn {
	color: black;
	opacity: 1;
	cursor: pointer;
}

.js-currentSession button.js-pauseBtn {
	display: inline-block;
}

.js-currentSession button.js-playBtn {
	display: none;
}

.heading {
	padding-top: 1rem;
	padding-left: 1rem;
	padding-right: 1rem;
	line-height: 1.5rem;
	vertical-align: middle;
}

.heading h2 {
	display: inline-block;
	font-size: 1.1rem;
	vertical-align: middle;
}

.heading .controlPlay {
	display: inline-block;
	line-height: 1.5;
	vertical-align: middle;
}

.heading button {
	display: inline-block;
	font-size: 1.1rem;
	height: 1.1rem;
}

.heading button.js-hidden {
	display: none;
}

.controlPlay input {
	display: inline-block;
	margin-left: 1rem;
	width: 5rem;
	vertical-align: middle;
}

.controlWindow {
	float: right;
}

.js-numberSet {
	margin-top: 1rem;
	padding-top: 1rem;
	margin-left: 1rem;
	margin-right: 1rem;
	border-top: 1px solid black;
	font-size: 1.3rem;
}

.numberSetWrapper {
	overflow-y: hidden;
	max-height: 200rem;
	padding-bottom: 1rem;
	-webkit-transition: max-height 1s ease-in-out;
	-moz-transition: max-height 1s ease-in-out;
	-o-transition: max-height 1s ease-in-out;
	transition: max-height 1s ease-in-out;
}

.js-currentSpan {
	color: red;
}

.js-currentSession {
	border: 1px solid red;
}

.js-currentSession h2 {
	color: red;
}

.js-activeSpan {
	color: red;
}

.js-numberSet span {
	float: left;
	margin-right: 0.5rem;
}

.js-numberSet span::after {
	content: ';';
}

.js-numberSet span:last-of-type::after {
	content: '';
}

.js-wrapped .numberSetWrapper {
	max-height: 0;
	-webkit-transition: all 1s cubic-bezier(0, 1, 0, 1);
	-moz-transition: all 1s cubic-bezier(0, 1, 0, 1);
	-o-transition: all 1s cubic-bezier(0, 1, 0, 1);
	transition: all 1s cubic-bezier(0, 1, 0, 1);
}

.rateCaption {
	display: inline-block;
	margin-left: 2rem;
}

/* Welcome */

.welcome {
	padding: 1rem;
	border: 1px solid black;
	border-radius: 1rem;
}

.welcome h2 {
	margin: 0;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	font-weight: bold;
}

.welcome p {
	margin: 0;
	margin-bottom: 1rem;
}

.welcome .shortkeys {
	margin: 0;
	margin-bottom: 0.5rem;
}

.welcome .key {
	display: inline-block;
	width: 8rem;
	font-weight: bold;
}

/* Menu */

html,
body {
	padding: 0;
	margin: 0;
}

#js-numTrainer {
	opacity: 1;
	-webkit-transition: opacity 1s ease 0s;
	-moz-transition: opacity 1s ease 0s;
	-ms-transition: opacity 1s ease 0s;
	-o-transition: opacity 1s ease 0s;
	transition: opacity 1s ease 0s;
}

#menu-toggle {
	-webkit-transition: color 1s ease 0s;
	-moz-transition: color 1s ease 0s;
	-ms-transition: color 1s ease 0s;
	-o-transition: color 1s ease 0s;
	transition: color 1s ease 0s;
}

#menu-toggle.js-rotate {
	transform: rotate(-90deg);
	-webkit-transition: all 1s ease 0s;
	-moz-transition: all 1s ease 0s;
	-ms-transition: all 1s ease 0s;
	-o-transition: all 1s ease 0s;
	transition: all 1s ease 0s;
}

#menu-toggle.active {
	color: red;
}

#js-numTrainer.js-menuOn {
	-webkit-transition: all 1s ease 0s;
	-moz-transition: all 1s ease 0s;
	-ms-transition: all 1s ease 0s;
	-o-transition: all 1s ease 0s;
	transition: all 1s ease 0s;
}

.screen {
	position: absolute;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: transparent;
}

.screen .bottom {
	position: absolute;
	z-index: 100;
	top: 6.75rem;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.7);
}

.screen .right {
	position: absolute;
	z-index: 100;
	top: 0;
	left: 30%;
	bottom: 6.75rem;
	width: 30%;
	background-color: rgba(255, 255, 255, 0.7);
}

.menuWrapperItem {
	position: absolute;
	z-index: 150;
	top: 6.75rem;
	bottom: 0;
	left: -69.5rem;
	width: 80vw;
	overflow-x: auto;
	max-height: 0;

	-webkit-transition: max-height 0.5s ease 0s;
	-moz-transition: max-height 0.5s ease 0s;
	-ms-transition: max-height 0.5s ease 0s;
	-o-transition: max-height 0.5s ease 0s;
	transition: max-height 0.5s ease 0s;
}

.menuWrapperItem.active {
	left: 1rem;
}

.menuWrapperItem.slideDown {
	max-height: 50rem;
}

.menuWrapperList {
	position: absolute;
	z-index: 150;
	top: 6.75rem;
	left: 100vw;
	width: 17vw;
	overflow-x: auto;
	padding: 0;
	-webkit-transition: all 0.3s linear 0s;
	-moz-transition: all 0.3s linear 0s;
	-ms-transition: all 0.3s linear 0s;
	-o-transition: all 0.3s linear 0s;
	transition: all 0.3s linear 0s;
}

.menuList,
.itemDetails {
	border: 1px solid black;
	border-radius: 1rem;
	color: black;
	background-color: white;
}

.itemDetails {
	position: relative;
	text-align: justify;
	padding: 1rem;
}

.menuList {
	text-align: center;
}

.menuWrapperList.active {
	z-index: 150;
	left: 82rem;
}

.menuList ul {
	margin: auto;
	padding: 0;
	list-style: none;
	font-size: 1.5rem;
	font-weight: bold;
	cursor: pointer;
}

.menuList ul li {
	padding-bottom: 1rem;
}

.menuList ul li:first-of-type {
	padding-top: 1rem;
}

.menuList ul li:hover {
	color: red;
}

li.active {
	color: red;
}

/* MenuItem */

.menuWrapperItem .backBtn {
	position: absolute;
	top: 0;
	font-size: 2.5rem;
}

.itemDetails > div {
	/*	padding: 1rem;*/
	font-size: 1.1rem;
	text-align: left;
}

.itemDetails h1 {
	margin: 0;
	margin-bottom: 1rem;
	padding-top: 0;

	font-family: 'Raleway', 'sans-serif';
	font-size: 2.5rem;
	font-weight: 900;
	text-align: left;
}

.itemDetails h2 {
	margin: 0;
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: left;
}

.myself .personalDetails {
	float: left;
	padding-left: 1rem;
	text-align: left;
}

.myself .image {
	float: left;
	border-radius: 1rem;
	width: 15rem;
	height: 15rem;
	background-image: url('./img/myself.jpg');
	background-size: 15rem;
	background-repeat: no-repeat;
	background-position: 50% 13%;
}

.myself .client {
	display: inline-block;
}

.myself .client:after {
	content: '•';
	display: inline-block;
	width: 1rem;
	text-align: center;
}

.myself .client:last-of-type:after {
	content: '';
	display: inline-block;
	width: 0;
}

.myself .language {
	margin: 1rem auto;
}

.contact {
	float: left;
	clear: both;
	vertical-align: middle;
	line-height: 3rem;
}

.social {
	margin-top: 1rem;
	line-height: 3rem;
	display: inline-block;
	vertical-align: middle;
	width: 3rem;
	height: 3rem;
}

.facebook {
	margin-left: 4rem;
	background-image: url('./img/facebook.png');
	background-size: 3rem;
	background-repeat: no-repeat;
}

.linkedin {
	margin-left: 1rem;
	background-image: url('./img/linkedin.png');
	background-size: 3rem;
	background-repeat: no-repeat;
}

.email {
	display: inline-block;
	margin-top: 1rem;
	margin-left: 4.5rem;
	line-height: 3rem;
	vertical-align: middle;
}

.itemDetails .description {
	margin-bottom: 1rem;
}

.support {
	color: red;
}

.note {
	font-style: italic;
}

.fb-like {
	margin-top: 1rem;
}
