
@font-face {
    font-family: 'einfachvorlesen_cr55_medium';
    src: url('/themes/einfach-vorlesen-nov2018/assets/fonts/einfachvorlesen_cr55_medium.woff2') format('woff2'),
         url('/themes/einfach-vorlesen-nov2018/assets/fonts/einfachvorlesen_cr55_medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'norddruckregular';
    src: url('/themes/einfach-vorlesen-nov2018/assets/fonts/norddruc-webfont.woff2') format('woff2'),
         url('/themes/einfach-vorlesen-nov2018/assets/fonts/norddruc-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body,
html {
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#reader-container .main-loader.hidden .cover-loader {
	display: none !important;
	opacity: 0 !important;
}

.header .logo {
  font-weight: 300;
  font-size: 1.6em;
  color: #fff;
}
.header .center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  padding: 8px;
  padding-left: 210px;
}
.header .center #showbutton {
  float: right;
}
.header .center .button {
  position: relative;
  display: inline-block;
  text-align: center;
  height: 48px;
  width: auto;
  line-height: 48px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  margin: 0 4px;
  -moz-transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .center .button a {
  padding: 0 16px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.87);
  text-transform: uppercase;
  width: 100%;
  height: 100%;
  display: block;
}
.header .center .button:hover {
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
}
.header .center .button:active {
  -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.header .center .button.active {
  background: #303F9F;
}
.header .center .button.active a {
  color: rgba(255, 255, 255, 0.87);
}
.demo-info {
  position: absolute;
  width: 500px;
  top: 200px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 3;
  padding: 16px;
  max-width: 100vw;
  background: #fff;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -moz-transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-info.hidden {
  -moz-transform: translate(0, -300%);
  -ms-transform: translate(0, -300%);
  -o-transform: translate(0, -300%);
  -webkit-transform: translate(0, -300%);
  transform: translate(0, -300%);
}
.demo-info h1 {
  margin-top: 0;
  font-weight: 500;
}
.demo-info .button,
.demo-info a {
  color: #fff;
  background: #303F9F;
  display: inline-block;
  text-align: center;
  padding: 0 16px;
  height: 48px;
  line-height: 48px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 500;
  text-transform: uppercase;
}
.demo-info .button {
  float: right;
  width: auto;
}
.demo-info a {
  text-decoration: none;
  margin: 8px 0;
}
.demo-info ul {
  list-style: square;
}
#reader-container {
  width: 80%;
  height: calc(100% - 50px);
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  /*bottom: 16px;*/
  margin: auto;
  background: transparent;
  z-index: 2;
}
#background {
  z-index: 1;
  background: url(../images/background.png) 50% 50% no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-filter: sepia(50%) hue-rotate(155deg) saturate(20%);
  filter: sepia(50%) hue-rotate(155deg) saturate(20%);
}
.icon {
  color: rgba(0, 0, 0, 0.87);
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* Preferred icon size */
  display: inline-block;
  line-height: 48px;
  text-transform: none;
  text-align: center;
  letter-spacing: normal;
  -ms-word-wrap: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  -moz-font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}
.icon.invert {
  color: rgba(255, 255, 255, 0.87);
}
.mobile-only {
  display: none;
}

.tasche {
	position: relative;
	width:100%;
	height:100px;
}

.tasche img {
	position: absolute;
	width:200px;
	right:0px;
	height:252px;
	top:-70px;
}

@media only screen and (max-width: 880px) {
	.tasche {
		text-align: center;
		height:200px;
	}
	.tasche img {
		position: relative;
		margin-left:auto;
		margin-right:auto;
		top:0px;
	}
}


@media only screen and (max-width: 1220px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: initial;
  }
}

@media only screen and (max-width: 670px) {
  .header .center {
    padding-left: 8px;
  }
  #reader-container {
    width: 100%;
    height: 85%;
  }
  .demo-info {
    top: 90px;
  }
}
@media only screen and (max-width: 419px) {
  .header .center .button {
    margin: 0;
  }
  .header .center .button a {
    padding: 0 8px;
  }
}

a.backbutton {
	display: inline-block;
	background: #284b91;
	padding: 6px 20px 6px 20px;
	color: #fff;
	border: 1px solid #89c5e5;
	border-radius: 10px;
	font-family: 'einfachvorlesen_cr55_medium';
	font-size: 1rem;
	font-weight: normal;
	position:absolute;
	top:15px;
	left:15px;
	z-index:999;
	text-decoration: none;
}

a.downloadbutton {
	display: inline-block;
	background: #284b91;
	padding: 6px 20px 6px 20px;
	color: #fff;
	border: 1px solid #89c5e5;
	border-radius: 10px;
	font-family: 'einfachvorlesen_cr55_medium';
	font-size: 1rem;
	font-weight: normal;
	position:absolute;
	top:15px;
	right:15px;
	z-index:999;
	text-decoration: none;
}

.lesestartstories {
	background:linear-gradient(to bottom,#509eff 0%,#164aa2 100%);
	padding-top:60px;
	padding-bottom: 60px;
}

.lesestartstories h2 {
	color: #fff;
	font-size: 1.9rem;
	padding-bottom: 10px;
	display: inline-block;
	font-family: 'einfachvorlesen_cr55_medium';
}

.lesewrapper {
	max-width:1024px;
	margin-left:auto;
	margin-right:auto;
}

.box {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; 

	flex-wrap: wrap;
	justify-content: space-between;
	margin-top:0px;
}

.story {
	width: 18%;
	cursor: pointer;
}


@media only screen and (max-width: 1024px) {
	.box {
		justify-content: flex-start;
	}
	
	.wrapper {
		max-width:90%;
		margin-left:auto;
		margin-right:auto;
	}
	
	.story {
		width: 100px;
		flex: 0 0 32%;
		margin: 2% 0;
		cursor: pointer;
	}
	
	.story:nth-child(3n-1){
		margin-left: 2%;
		margin-right: 2%;
	}

}

@media only screen and (max-width: 580px) {
	.box {
		justify-content: space-between;
	}
	
	.lesewrapper {
		max-width:90%;
		margin-left:auto;
		margin-right:auto;
	}
	
	.story {
		flex:0 0 48%;
	}
	
	.story:nth-child(3n-1){
		margin-left: 0%;
		margin-right: 0%;
	}
}

.story img:hover {
	transform: scale(1.1);
	transition: 0.15s ease-out;
}

.story img {
	width:100%;
	border-radius: 0px 10px 10px 0px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
	transition: 0.15s ease-in;
	margin-bottom: 20px;
}

a.lesen_button {
	width: 100%;
	display: block;
	background: #284b91;
	padding: 6px 20px 6px 20px;
	color: #fff;
	border: 1px solid #89c5e5;
	border-radius: 10px;
	font-family: 'einfachvorlesen_cr55_medium';
	font-size: 1rem;
	font-weight: normal;
	text-decoration: none;
	text-align: center;
}

.overlay .dimmer::after {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; 

	justify-content: center;
	align-items: center;
	content:"";
	color:#284b91;
	background-image:url("../images/hand.png");
	background-repeat: no-repeat;
	background-position: center 50%;
	height:100%;
	opacity: 1;
	background-size:cover;
}

#reader-container .content .pages .overlayer .page .overlay.open {
	background-image:none;
}

#reader-container .content .pages .overlayer .page .overlay.area:not(.open):hover .dimmer::after {
	opacity: 1.0;
}



.wrapper {
	width: 100%;
}

.header .wrapper {
	width: 88%;
	margin-left: auto;
	margin-right: auto;
}


@media only screen and (max-width: 1024px) {
	.wrapper {
	    max-width: 100%;
	    margin-left: auto;
	    margin-right: auto;
	}
	
	.lesewrapper {
		max-width: 90% !important;
	    margin-left: auto;
	    margin-right: auto;
	}
}

#overlay-hotspot #outer-hotspot {
	z-index: 9999;
	position: absolute;
	width:100vw;
	height:100vh;
	background:rgba(0,0,0,0.85);
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; 
	justify-content: center;
	align-items: center;
}

#overlay-hotspot #outer-video {
	z-index: 9999;
	position: absolute;
	width:100vw;
	height:100vh;
	background:rgba(0,0,0,.85);
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; 
	justify-content: center;
	align-items: center;
}

#overlay-hotspot #outer-video video {
	width:80%;
}


#overlay-hotspot #inner-hotspot {
	height:100vh;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; 
	justify-content: center;
	align-items: center;

}

#overlay-hotspot #inner-hotspot img {
	width:auto;
	height:80%;
	
}

#overlay-close {
	z-index:9999;
	color:#fff;
	font-size:25px;
	position: absolute;
	top:50px;
	right:50px;
	cursor: pointer;
text-shadow: 0px 0px 5px rgba(0,0,0,0.69);
}

