
.loader {
	position: absolute;
	width:100%;
	height: 100%;
	background:rgba(255,255,255,0.5);
}

.spinner {
	margin: 100px auto;
	width: 50px;
	height: 40px;
	text-align: center;
	font-size: 10px;
}

.spinner > div {
	background-color: #fff;
	height: 100%;
	width: 6px;
	display: inline-block;
	-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
	animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s;
}

.spinner .rect3 {
	-webkit-animation-delay: -1.0s;
	animation-delay: -1.0s;
}

.spinner .rect4 {
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s;
}

.spinner .rect5 {
	-webkit-animation-delay: -0.8s;
	animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
	0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
	20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
	0%, 40%, 100% { 
		transform: scaleY(0.4);
		-webkit-transform: scaleY(0.4);
	}  20% { 
		transform: scaleY(1.0);
		-webkit-transform: scaleY(1.0);
	}
}

.hide{display:none;}
.visuallyhidden{visibility:hidden;}
.display_hidden{position:absolute; top:-1000px; left:-1000px;}

html,body{height:100%;min-height:100%;overflow:hidden;}
body.mal, .mal .loader {background-color: #1dd1a1/*rgb(0, 188, 212)*/;}
body.mal{overflow:scroll;}
.mal .loader{z-index:1000;}
.mal nav{padding:0 0 0 5px; margin-bottom:10px; background-color: #1dd1a1;} /*background-color:rgb(0, 188, 212)*/
.mal nav h4{margin:0;}
.mal h2 {
	font-weight: 1.8em;
}
.mal .container{width:100%;max-width:100%;height:100%;}
.mal section.valign-wrapper{/*height:100%;*/}
.mal section.valign-wrapper .valign{width:100%;}
.mal .btn.selected, .mal .selected{box-shadow:none;border:3px solid #fff; line-height: 30px;}
.mal .container .row{margin:0;}

.padding-top-20{padding-top:20px !important;}
.margin-top-20{margin-top:20px;}
.margin-bottom-20{margin-bottom:20px;}
.margin-top-40{margin-top:40px;}

.mal.book main section{background:rgba(255,255,255,1);padding:20px;box-shadow: inset 0px 0px 10px 5px rgba(0,0,0,0.1);}
.mal.book main section.sentence{margin-bottom:20px;text-align:left;}
.relative{position:relative !important;}
.mal.book #bloc-level .fixed-action-btn{position:relative;padding:0;bottom:0;right:0;}
.mal.book #bloc-level .fixed-action-btn ul{bottom:45px;left:0;width:300px;}
.mal.book #bloc-level .fixed-action-btn ul li{text-align:center;}
.mal.book #next{margin-left:auto;margin-right:auto;}

.shadow {
	box-shadow: -2px 10px 52px 0px rgba(0,0,0,0.55);
}
.mal img.shadow {
	margin-bottom: 20px;
	max-width: 100%;
}
.mal img.vignette{max-width:20%}
.blink_it {
	animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;  
	-webkit-animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;  
}
.btn-large.btn-extra-large{width:150px;height:150px;line-height:185px;}
.btn-large.btn-extra-large i{font-size:3rem;}
#home .btn.bt-book{margin:0.5rem; width:280px; height: 165px; padding: 0 0.5rem;}
#home .btn.bt-book strong {
	display: block;
	font-size: 3rem;
	position: relative;
    top: 60px;	
}
#home .btn.bt-book span{display: block; width: 150px; height: 100px; background-repeat: no-repeat; background-size: cover; margin: 2px auto; background-position: center;}
.nav-wrapper .material-icons{display:inline-block;height:auto;line-height:1;}
.nav .nav-wrapper{display:block;overflow:hidden;}

.action-js{width:70%; margin:0 auto; background-color:#FFF; border-radius:3px; padding:5px 10px;}

.text-white {
	color: white;
}

.pt-1 {
	padding-top: 1rem !important;
}
.pt-2 {
	padding-top: 2rem !important;
}
.pb-1 {
	padding-bottom: 1rem !important;
}
.pb-2 {
	padding-bottom: 2rem !important;
}

#home .btn-large {
	line-height: 20px;
}

.pointer {
	cursor: pointer;
}
.btn-large i {
    font-size: 3rem;
}
.btn-floating.btn-large i {
    line-height: 57px;
	padding-right: 15px;
}

.btn, .btn-large {
	padding: 0 10px;
}


  
  /*Test Design 1*/
  	.waves .layer {
		background-image: url("../img/layer.png");
		background-repeat: repeat-x;
		width: 100%;
		height: 168px;
	}

	#new-stories {
		background: #fff;
	}

	/*Pages*/
	@media screen and (max-width: 600px) {
		button.bt-book {
			width: 100%;
		}
	}
  
  .design1 .mal-notebook {
	height: 250px;
	width: 175px;
	position: relative;
	transition: 0.4s ease-in-out;
	border-radius: 5px 15px 15px 5px;
	transform-origin: left center 0px;
	display: inline-block;
	margin: 30px;
	perspective: 800px;
  }

  .design1 .mal-notebook:hover {
	transform: rotateZ(-10deg);
  }

  .design1 .mal-notebook:hover .notebook-cover {
	transform: rotateY(-50deg);
	z-index: 999;
	box-shadow: 20px 10px 50px rgba(0, 0, 0, 0.2);
  }
  
  .design1 .notebook-cover {
	background: #cc4b48;
	height: 250px;
	width: 175px;
	position: absolute;
	border-radius: 5px 15px 15px 5px;
	z-index: 10;
	transition: 0.5s linear;
	transform-style: preserve-3d;
	transform-origin: left center 0px;
  }

  .design1 .notebook-cover:before {
	content: "";
	position: absolute;
	width: 10px;
	height: calc(100% + 2px);
	top: -1px;
	z-index: 100;
	border-radius: 2px;
	right: 25px;
	transition: 2s ease;
	background: linear-gradient(to right, #9c2e2b 0%, #cc4b48 12%, #9c2e2b 25%, #cc4b48 37%, #9c2e2b 50%, #cc4b48 62%, #9c2e2b 75%, #cc4b48 87%, #9c2e2b 100%);
  }
  
  .design1 .notebook-cover.blue {
	background: #2e95aa;
  }

  .design1 .notebook-cover.blue:before {
	background: linear-gradient(to right, #1e606e 0%, #2e95aa 12%, #1e606e 25%, #2e95aa 37%, #1e606e 50%, #2e95aa 62%, #1e606e 75%, #2e95aa 87%, #1e606e 100%);
  }

  .design1 .notebook-cover.green {
	background: #abc3b5;
  }

  .design1 .notebook-cover.green:before {
	background: linear-gradient(to right, #7ea38e 0%, #abc3b5 12%, #7ea38e 25%, #abc3b5 37%, #7ea38e 50%, #abc3b5 62%, #7ea38e 75%, #abc3b5 87%, #7ea38e 100%);
  }
  .design1 .notebook-cover.yellow {
	background: #fed754;
  }

  .design1 .notebook-cover.yellow:before {
	background: linear-gradient(to right, #ebb501 0%, #fed754 12%, #ebb501 25%, #fed754 37%, #ebb501 50%, #fed754 62%, #ebb501 75%, #fed754 87%, #ebb501 100%);
  }

  .design1 .notebook-img {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100%;
    border-radius: 5px 15px 15px 5px;
  }
  
  .design1 .notebook-skin {
	height: auto;
	background: #e8e8e0;
	/*margin-top: 80px;*/
	position: absolute;
    bottom: 20px;
	width: 100%;
	padding: 15px;
	font-size: 12px;
	/*position: relative;*/
	z-index: 10;
	color: #222;
	text-align: left;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  }

  .design1 .notebook-skin:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 15px;
	left: 0;
	bottom: 0;
	background: #cddc39;
  }
  
  .design1 .notebook-page {
	height: 100%;
	width: 175px;
	position: absolute;
	background-color: #fbfae8;
	z-index: 0;
	border-radius: 5px 16px 16px 5px;
	overflow: hidden;
  }

  .design1 .notebook-page.ruled {
	background: linear-gradient(to bottom, #fbfae8 9px, #e4e4e4 1px);
	background-size: 100% 10px;
  }

  .design1 .notebook-page.squared {
	background-image: linear-gradient(#e4e4e4 1px, transparent 1px), linear-gradient(90deg, #e4e4e4 1px, transparent 1px);
	background-size: 10px 10px, 10px 10px, 2px 2px, 2px 2px;
  }

  .design1 .notebook-page.dotted {
	background: linear-gradient(90deg, #fbfae8 10px, transparent 1%) center, linear-gradient(#fbfae8 10px, transparent 1%) center, #999;
	background-size: 11px 11px;
  }

  .design1.mal nav {
	height: auto;
  }

  .design1 .mal-wrapper {
	width: 400px;
	max-width: 100%;
	margin-bottom: 10px;
  }

.design1 .mal-img {
    height: 200px;
	width: 100%;
    background-size: cover;
	border-radius: 16px;
}

.design1 a.btn-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    gap: 10px;
    border-radius: 16px;
    border: 1px solid #ccc;
    color: #000;
}

.design1 nav .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.design1 img#vignette {
	border-radius: 16px;
}

.design1 img.vignette {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.design1 .wide-screen-container {
	position: relative;
	height: 250px;
	padding: 15px;
}

.design1 .wide-screen {
	width: 60%;
    border-radius: 16px;
    /*background: #5369d6;*/ /*rgb(0, 188, 212)*/
    /*color: #000;*/
	color: #fff;
    height: 100%;
    z-index: 9;
    /*box-shadow: 0px -7px 45px 0 rgba(0, 0, 0, 0.16);*/
    position: relative;
    justify-content: space-around;
    display: flex;
    /*top: 100px;*/
    left: 20%;
    overflow: hidden;
	/*display: none;*/
}

.design1 img.level-img {
	width: 100%;
	max-width: 760px;
}

.design1 .choice-level {
    display: inline-flex;
    gap: 30px;
    width: 100%;
	max-width: 760px;
    align-items: center;
    justify-content: center;
}

.design1 .choice-level .btn {
	width: 30%;
	height: 100px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    justify-content: center;
}

.design1 .mal-box {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.design1 .mal-title {
    position: absolute;
    background: #fff;
    bottom: 20px;
	font-weight: 500;
    border-radius: 0 6px 6px 0;
    padding: 10px;
}

  .design1 .btn-reset {
	background: transparent;
	border: 0;
	overflow: visible;
  }

  .design1 .btn-reset:focus {
	background: none;
  }

  .design1 .logo {
	width: 60px;
  }

  .design1 .vignette-listen {
	display: flex;
	justify-content: center;
  }

.design1 .listen-table {
	list-style: none;
	padding: 0;
	width: 760px;
    margin: 0 auto;
    max-width: 100%;
}

.design1 .listen-table li {
	background-color: #fff;
	border-radius: 16px;
	margin-bottom: 10px;
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.design1 .listen-table li .play-audio {
	filter: invert(1);
}

  .design1 .btn-floating.btn-large {
    width: 100%;
    max-width: 760px;
	min-width: 75px;
	border-radius: 16px;
    height: 75px;
    display: inline-block;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}

.design1 .btn-floating.btn-large i {
    padding: 0;
}

.design1 .mb-2 {
	margin-bottom: 2rem;
}

.design1 .mt-2 {
	margin-top: 2rem;
}

.design1 .mt-1 {
	margin-top: 1rem;
}

.design1 .visuallyhidden {
    visibility: hidden;
    position: absolute;
    z-index: -1;
}

.design1 .button-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.design1 .d-flex {
	display: flex;
}

.design1 .justify-align-center {
	justify-content: center;
	align-items: center;
}

.design1 #bloc-listen-all {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

div#listen-all img {
    border-radius: 16px;
}

.design1 #bloc-listen-all .btn {
    border-radius: 16px;
    width: 450px;
    height: auto;
    max-width: 100%;
}

.design1 #bloc-listen-all .btn#back {
    width: 30%;
}

@media screen and (max-width: 600px) {
	.design1 nav {
		display: flex;
    	justify-content: space-between;
		height: auto;
	}

	.design1 nav .nav-wrapper {
		width: 100%;
	}

	.design1 img.vignette {
		max-width: 100%;
	}

	.design1 .fixed-action-btn.horizontal ul {
		width: auto;
	}

	.design1 .fixed-action-btn.horizontal ul li {
		display: block;
		margin: 15px 15px 0 0;
	}

	.design1 .action-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
	}

	.design1 .row .action-container .button-container {
		margin: 0;
	}

	.design1 .listen-table tr {
		display: flex;
		flex-direction: column;
		margin-bottom: 1rem;
	}

	.design1 .listen-table li {
		flex-direction: column;
		align-items: center;
	}

	.design1 .choice-level {
		flex-direction: column;
        gap: 25px;
        margin-bottom: 25px;
	}

	.design1 .choice-level .btn {
		width: 94%;
	}

	.design1 a#next {
		margin-bottom: 75px;
	}
	.design1 .wide-screen-container{
		height: auto;
		padding: 0 0 15px 0;
	}
	.design1 .wide-screen{
		flex-direction: column;
		width: 100%;
		left: 0;
	}
	.design1 .wide-screen img{display: none;}
	.book.design1 h4{font-size: 1.5rem;}
	.book.design1 .sentence h2#label-sentence-to-read{text-align: left; font-size: 2.5rem;}
}
div.description h2{font-size: 2.5rem;line-height: normal;}
div.description p{margin-bottom: 0; line-height: normal;}

.on-working{text-align: center; margin-top: 5%; font-weight: bold; color: #fff; font-size: 1.5rem;}
.alert .card-content span {
  font-weight: bold;
  font-size: 1.1em;
  margin-right: 4px;
}
.alert .card-content .material-icons {
  font-size: 1.5em;
  position: relative;
  top: 5px;
  margin-right: 0.5em;
}