@charset "utf-8";
html, body {
	height: 100%;
	margin:0;
	clear:both;
	font-family:Roboto;
	font-size:100%;
	background:gray;
	overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header {
	padding:3% 4% 2%;
	font-size:1.8vmax;
	float:left;
	width:84%;
	white-space: initial;
}

header.hidden{
	display:none;
}

nav.hidden{
	display:none;
}

strong{
	font-weight:700;
}

h1, h2, h3, h4, h5, h6 {
	font-weight:300;
	color: #eb0500;
	margin: 2% 0;
}

h1 {
	font-size: 5vmax;
}

h1.invert {
	color: #fff;
	background-color: #eb0500;
	padding: 3px 12px;
}

h2 {
	font-size: 3vmax;
}

.cards-wrapper {
	width:100%;
	height: 100%;
	background:gray;
	/*display:inline-block;
	overflow:hidden;*/
	white-space:nowrap;
	top:0;
}


.container {
	margin: 1% 2% 1%;
	height:96%;
	width:96%;
	/*border-radius: 20px;*/
	background:white;
	overflow:hidden;
	display:inline-block;
	position:relative;
}

.container.scrollable{
	overflow-y: scroll; 
}

.info-card{
	position:relative;
	width:75%;
	white-space:normal;
	margin:8% auto;
	top:0;
}

.cite{
	padding: 0 0 0 6%;
	border-left:2vw solid #eee;
}

.next-lesson-button{
	-webkit-border-radius: 150px;
	-moz-border-radius:    150px;
	border-radius:         150px;
	background:#0695df;
	color:white;
	padding:2% 7%;
	display:table;
	margin: 0 auto;
	cursor:pointer;
}

.center-wrapper{
}

.back-arrow {
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.forward-arrow {
  right: 0;
}

.back-arrow, .forward-arrow {
  position: absolute;
  top: 42%;
  height: 10%;
  margin: 0 2%;
  z-index: 150;
  cursor: pointer;
}

.close-button{
	float:right;
	cursor:pointer;
	display:block;
	background-image: url('../im/close-button.svg');
	background-size: contain;
	background-repeat:no-repeat;
	width:3vmax;
	margin:3.6% 2.5% 0 0;
}

.close-button.hidden{
	display:none;
}

.syllables, .keys, .basic-letters{
	display:table;
	margin:0 auto 3%;
	padding:0;
}

.syllables.lonely-syllables{
	margin-top:16%;
}

#cards-wrapper li {
	display:inline-block;
}

#cards-wrapper .info-card p {
	line-height:150%;
	font-size:140%;
}

#cards-wrapper .info-card img {
	margin:2% auto 5%;
	display:block;
	width:100%;
}

#cards-wrapper .info-card li {
	display:list-item;
	margin-left:33%;
	line-height:150%;
	font-size:140%;
}

#cards-wrapper .info-card ul.wide li{
	margin: 0 8% 0 3%;
}

.full-syllable, .key-syllable {
	text-align: center;
	display: block;
}

.syllable-image{
	height:24vh;
}

.syllables > li{
	margin: 0 3%;
	min-width: 19vh;
	text-align: center;
}

.syllables > li:first-child{
	margin: 0 3% 0 -5%;
}

.syllables li .full-syllable {
  text-align: center;
  font-size: 1.5vmax;
  display: block;
}

.syllables li .letters-syllable {
  text-align: center;
  font-size: 3.5vmax;
  display: block;
  font-weight:700;
}

.syllables li.big-syllable-li {
	display:inline-table;
}

.syllables li .big-syllable {
	text-align: center;
	font-size: 10vmax;
	display: inline-table;
	margin-top: -16vmax;
	vertical-align: middle;
	font-weight: 700;
}

.syllables li .big-syllable.dont-raise-me{
	margin-top: 0;
}

/*.syllables li .big-syllable:before {
	content: ".";
	display: block;
	clear: both;
	color: white;
	font-size: 2vmax;
}*/

.keys {
	padding: 0;
	/*width: 92%;
	/*display: flex;*/
}

.keys > li {
  border: 1px solid #eee;
  margin: 0 0.3vmax;
  padding: 0 0 2% 0;
}

/*.keys > :first-child {
	margin: 0 0.3% 0 -3%;
}

.keys > :last-child  {
	margin: 0 -3% 0 0.3%;
}*/

.keys li .key-syllable {
	text-align: center;
	font-weight: 700;
	font-size: 2.5vmax;
	display: block;
}

.keys li .lonely-key-syllable {
	font-size: 3vmax;
	margin: 40% 0 30% 0;
	min-width:6vmax;
}

.key-image{
	height:13vh;
}

.small-keys{
	height:10vh;
}

.basic-letters {
  padding: 9% 0;
}

.basic-letters > li {
  border: 1px solid #eee;
  margin: 0 0.8%;
  padding: 0 0.5% 2% 0.5%;
}

.basic-letters > li:first-child {
	margin: 0 0.8% 0 -4%;
}

.basic-letters-image{
	height: 19vh;
}
/*.basic-letters .image-container {
  min-height: 20%;
}*/

.basic-letters li .basic-letters-syllable {
  text-align: center;
  font-weight: 700;
  font-size: 4.5vmax;
  display: block;
}

.basic-letters li .full-basic-letters {
  text-align: center;
  font-size: 1.5vmax;
  display: block;
}

.quiz-images.vivid {
	width: 100.2%;
	padding: 0;
	margin: 0 0 -1%;
}
.quiz-images {
	bottom: 0%;
	position: absolute;
}

.quiz-images > li {
	max-width: 16.68%;
	width: 100%;
	margin: 0 -2px;
}

.quiz-images > li > img {
	width: 100%;
}

@media screen and (min-aspect-ratio: 1/5) { /*0.2*/ 
	.container {
		height:70% !important;
		width:96% !important;
		margin: 13% 2% !important;
	}
	.basic-letters-image {
		height: initial;
		width: 9vw;
	}
	.syllables > li {
		min-width: 8vh;
	}
	.syllable-image {
		width: 19vw;
		height: initial;
	}
}

@media screen and (min-aspect-ratio: 10/9) { /*1.111*/ 
	.container {
		height:80% !important;
		width:96% !important;
		margin: 8% 2% !important;
	}
	.basic-letters-image {
		height: initial;
		width: 12vw;
	}
	.syllables > li {
		min-width: 16vh;
	}
	.syllable-image {
		width: initial;
		height: 24vh;
	}
}

@media screen and (min-aspect-ratio: 5/4) { /*1.25*/ 
	.container {
		height:86% !important;
		width:96% !important;
		margin: 5.5% 2% 1% !important;
	}
	.basic-letters-image {
		height: 16vh;
		width: initial;
	}
}

@media screen and (min-aspect-ratio: 4/3) { /*1.333*/
	.container {
		height:96% !important;
		width:96% !important;
		margin: 1.5% 2% !important;
	}
	.basic-letters-image {
		height: 16vh;
		width: initial;
	}
}

@media screen and (min-aspect-ratio: 60/37) { /*1.62*/
	.container {
		height:96% !important;
		width:86% !important;
		margin: 1% 7% 1% !important;
	}
	.basic-letters-image {
		height: 19vh;
		width: initial;
	}
}

@media screen and (min-aspect-ratio: 31/18) { /*1.72222*/
	.container {
		height:96%;
		width:80%;
		margin: 1% 10% 1%;
	}
	.keys li .key-syllable {
		font-size: 1.5vmax !important;
	}
	.keys li .lonely-key-syllable {
		font-size: 2.5vmax !important;
	}
}

@media screen and (min-aspect-ratio: 19/9) { /*2.111*/
	.container {
		height:96% !important;
		width:70% !important;
		margin: 1% 15% 1% !important;
	}
	.syllables li .big-syllable {
		font-size: 8vmax;
		margin-top: -13vmax;
	}
}

@media screen and (min-aspect-ratio: 5/2) { /*2.5*/
	.container {
		height:96% !important;
		width:64% !important;
		margin: 1% 18% 1% !important;
	}
	.syllable-image {
		height: 20vh;
	}
	.syllables li .big-syllable {
		margin-top: -9vmax;
	}
}

.notification {
	width:100%;
	height:100%;
	position:absolute;
	z-index:100;
	background: #0695df;
	color:white;
	text-align:center;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95)";
	filter: alpha(opacity=95);
	-moz-opacity: 0.95;
	-khtml-opacity: 0.95;
	opacity: 0.95;
	display:block;
}

.notification > .message {
	top:43%;
	position:relative;
	display:block;
}

.notification.hidden{
	display:none;
}



/**********************************/
/*			план уроків           */
/**********************************/


.lessonsplan-wrapper {
	width:100%;
	height: 100%;
	background:gray;
	display:block;
	overflow:hidden;
	color:white;
}

.lessonsplan-wrapper.hidden{
	display:none;
}

.lessonsplan-header{
	width:100%;
	background:#0695df;
	height:15%;
	top:0;
	text-align:center;
	display:table;
}

.lessonsplan-header span{
	display:table-cell;
	vertical-align:middle;
	font-size:6vh;
}

.lessonsplan-menu{
	background-image: url('../im/menu-icon.svg');
	background-size: 3vmax 3vmax;
	width:3vmax;
	display:none;
}

.lessonsplan-lessonnumbers {
	width:100%;
	height:70%;
	font-size:10hmax;
}

.lessonsplan-lessonnumbers ul{
	width:100%;
	height:100%;
	margin:0;
	padding:0;
	display:inline-table;
	text-align:center;
}

.lessonsplan-lessonnumbers ul li{
/*	width:25%;*/
	width:33.3333%;
	background:#a8dff4;
	display:inline-block;
	height:50%;
	margin-left: -1px;
    margin-bottom: -1px;
	border:1px solid #d9effa;
	box-sizing:border-box;
}

.lessonsplan-lessonnumbers ul li.active{
	background:#0fa1d3;
	border:1px solid #0fa1d3;
}

.lessonsplan-lessonnumbers ul li:hover{
	background:#ffae18;
	border:1px solid #ffae18;
	cursor:pointer;
}

.lessonsplan-lessonnumbers ul li span{
	position:relative;
	top:20%;
	font-size:18vh;
	pointer-events: none;/*передаємо клік до батьківського елемента*/
}

.lessonsplan-footer{
	width:94%;
	height:15%;
	font-size:3vh;
	text-align:center;
	padding:1% 3%;
}
