html, body { 
  margin:0; 
  padding:0; 
  height:100%; 
}
body{
    margin: 0px;
	background-image:url(../skooly-buch/images/wood.jpg);
	font-family: '<?php echo $font?>', 'Roboto', Tahoma, Verdana, sans-serif;
/* 	font-weight: 200; */
	font-size: 14px;
	/*border-left: 50px solid #fff transparent;
	border-right: 50px solid #fff transparent;*/
}

#flipbook{
	margin: auto;
    margin-top: 30px;
    background: #fff;
    border: 1px solid #000;
    -moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 10px 0 15px -5px #888;
    box-shadow: 10px 0 15px -5px #888;
    overflow-y: hidden;
    padding: 0px;
    min-height: 90%;
}

.content{
	padding-left: 20px;
	padding-right: 20px;
	height: 80%;
	padding-bottom: 50px;	
	/*overflow: scroll;*/
}

.here:after { /*Mittellinie*/
    content:"";
    position: absolute;
    z-index: 9;
    top: 40px;
    bottom: 0;
    left: 50%;
    border-left: 2px solid #efefef;
    transform: translate(-50%);
    height: 90%;
}
.hereDel:after { /*Mittellinie*/
    content:"";
    position: absolute;
    z-index: 9;
    top: 40px;
    bottom: 0;
    left: 50%;
    border-left: 0px solid #efefef;
    opacity: 0;
    transform: translate(-50%);
    height: 90%;
}
.seiteRahmen{
	width: 98%;
	height: 90%;
	float: left;
	overflow-y:auto;
	overflow-x: hidden;
}
.seiteLinks{
	width: 49%;
	height: 90%;
	float: left;
	min-width: 400px;
	font-size: 1vw;
}
.seiteRechts{
	width: 49%; 
	height: 90%;
	float: left;
	margin-left: 2%;
	min-width: 400px;
	font-size: 1vw;
}
.seiteLinksDel{
	width: 98%;
	height: 90%;
	float: left;
}
.seiteRechtsDel{
	width: 98%; 
	height: 90%;
	float: left;
	margin-left: 0px;
}
.footer{
	margin-top: 10px;
	height: 50px; 
	float: left;
	width: 98%; 
	border-top: 1px dotted #333;
}
.footerLinks{
	width: 49%; 
	
}
.footerRechts{
	width: 49%; 
	margin-left: 2%;
}
nav ul li {
  width: auto;
  float: left;
  display:flex;  
  list-style:none;
}
nav {
  height: 46px;
  left: 0;
  top: 0px;
  z-index: 9999;
  zoom: 1;

}
nav a {
  display: block;
  height: 46px;
  width: 48px;
  padding: 0;
  background: #000000 no-repeat;
  
  background-position: 8px 7px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
nav #zoomin {
  background-image: url(../skooly-buch/images/icons/zoom_in.png);
  cursor: pointer;
}
nav #zoomout {
  background-image: url(../skooly-buch/images/icons/zoom_out.png);
  cursor: pointer;
}
nav #erste {
  background-image: url(../skooly-buch/images/icons/arrow_double_left.png);
   border-bottom-left-radius: 5px;
   border-top-left-radius: 5px;
   cursor: pointer;
}
nav #letzte {
  background-image: url(../skooly-buch/images/icons/arrow_double_right.png);
  cursor: pointer;
}
nav #thumbs {
  background-image: url(../skooly-buch/images/icons/thumbs.png);
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  cursor: pointer;
}
nav #gemerkt {
  background-image: url(../skooly-buch/images/icons/arrow_gemerkt.png);
  cursor: pointer;
}
nav #speichern {
  background-image: url(../skooly-buch/images/icons/save.png);
  cursor: pointer;
}
nav #bildergalerie {
  background-image: url(../skooly-buch/images/icons/bildergalerie.png);
  cursor: pointer;
}
nav #suchen {
  background-image: url(../skooly-buch/images/icons/suchen.png);
  cursor: pointer;
}
nav #inhaltsvz {
  background-image: url(../skooly-buch/images/icons/inhaltsvz.png);
  cursor: pointer;
}
nav .weiter {
  background-image: url(../skooly-buch/images/icons/arrow_right.png);
  cursor: pointer;url(../skooly-buch/images/icons/arrow_gemerkt.png)
}
nav .zurueck {
  background-image: url(../skooly-buch/images/icons/arrow_left.png);
  cursor: pointer;
}

nav a:active,
nav a:hover,
nav a {
  outline: none;
}
.leftscrollbar {
    height:100px;
    overflow:auto;
    direction: rtl;
}
.leftscrollbar > div {
    direction: ltr;
}

#thumbs_holder {
	position: fixed;
	bottom: 0px;
	width: 100%;
	height: 110px;
	left: 0;
	border: 1px solid #000;
	overflow: hidden;
	white-space:nowrap;
	background: rgba(00, 00, 00, .2);
	z-index: 99999;
}
#slider_holder {
	position: fixed;
	bottom: 0px;
	width: 100%;
	height: 80px;
	left: 0;
	overflow: hidden;
	z-index: 99998;
	vertical-align: bottom;
	padding-top: 90px;
}
#slider-bar-rahmen{
	width: 100%;
	background: #fff;
	height: 30px;
}
#thumbs_bg {
	top: 0px;
    bottom: 0px;
    left: 0px;
    bottom: -15px;
    height: 125px;
    overflow: auto;
    margin-top: 2px;
}
.thumbs{
	width: 120px;
	height: 70px;
	border: 8px solid #9a9a9a;
	padding: 10px;
	display: inline-block;
	vertical-align:top;
	margin-left:20px;
	white-space:normal;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
}
.temp{
	color: red
}
.buttons{
	position: fixed; 
	opacity: 0.5;
	top: 200px; 
	width: 80px;
	height: 120px; 
	cursor: pointer;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
h6{
	font-size: 2vw;
	margin: 10px 0 10px 0
}
p{
	min-height: 14px;
}
@media (max-width:800px) {
    h6 {
       font-size: 32px;
    }
 }
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .buttons {
    width: 120px;
	height: 180px;
  }
}

@media screen and (orientation:portrait)
{
   .img_h{
		margin: 20px;
		height:400px;
	}
	.big-checkbox + label {
		padding: 32px;
	}
	
	.big-checkbox:checked + label:after {
		font-size: 42px;
		left: 12px;
	}
	.big{
		font-size: 42px
	}
}
#divspeichern{
	text-align: center;
	width:100%;
	font-size: 15px;
	padding: 30px 50px 30px 50px;
	background-color: #c75a5a;
	font-weight:bold;
	color:#ffffff;
	top: 20px;
	position:absolute;
	z-index: 999999999
}
.insertImage{
	max-width: 100%;	
	height: auto;
}
a{
	color: blue;
	text-decoration: underline;
}
a:hover{
	color: blue;
	text-decoration: none;
}
.close{
	display: block;
	position:fixed; 
	right:5px; 
	top:5px; 
}
.snrc{
	font-size: 1vmin;
}
.ui-helper-hidden {
	display: none;
}
.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
.ui-corner-all{
    -moz-border-radius: 4px 4px 4px 4px;
}
.ui-widget-content{
    border: 1px solid #ff4500;
    color: #222222;
    background-color: #fff;
    z-index: 9999;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
.ui-widget{
    font-family: Verdana,Arial,sans-serif;
    font-size: 13px;
}
.ui-menu{
    display: block;
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 2px;
}
.ui-autocomplete{
    cursor: default;
    position: absolute;
}
.ui-menu .ui-menu-item{
    clear: left;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
.ui-menu .ui-menu-item a{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    cursor: pointer;
    background-color: #fff;
}
.ui-menu .ui-menu-item a:hover{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    color: #ff4500;
    cursor: pointer;
    text-decoration: underline;
}
.ui-widget-content a{
    color: #222222;
}
#bottomInfo{
	position: fixed;
	height: 12vh;
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	z-index:99;
	text-align:center;
	font-family: Verdana, sans-serif;
	font-size: 1.2vmin;
}
.inputs input {
  width: 20px;
  line-height: 100%;
  background-color: transparent;
  border: 0;
  outline: 0;
  color: #efefef;
  font-size: 20px;
  word-spacing: 0px;
  overflow: hidden;
  text-align: center;
}
.escapeCode{
	border: 3px solid #666;
	background-color: #000;
	border-radius: 5px;
	padding: 10px;
	text-align: center;
	margin-bottom: 30px;
}
/* orange */
.orange {
	color: #fff;
	border: solid 1px #da7c0c;
	background: #f78d1d;
	background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
	background: -moz-linear-gradient(top,  #faa51a,  #f47a20);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
}
.orange:visited {
	color: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
	background: -moz-linear-gradient(top,  #f47a20,  #faa51a);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');
}
.orange:hover {
	color: #fff;
	background: #f47c20;
	background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
	background: -moz-linear-gradient(top,  #f88e11,  #f06015);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015');
}
.orange:active {
	color: #fff;
}
.button {
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Tahoma, Verdana, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	/*text-shadow: 0 1px 1px rgba(0,0,0,.3);*/
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

.bigrounded {
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
}
.medium {
	font-size: 12px;
	padding: .4em 1.5em .42em;
}
.small {
	font-size: 11px;
	padding: .2em 1em .275em;
}
.divfertig, .divfertig_r{
	display: none;
	position:relative;
	height:150px;
	width:150px;
	top: -203px;
	left: 0px;
	background: url(../images/smiley_richtig.jpg) no-repeat center center #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 2px dotted #ff4500;
	text-align: center;
	background-size: 150px;
}	
input[type=radio] {
    width: 20px !important;
    height: 20px !important;
    background: #fff;
}
.yt-embed { display: inline-block; } /* damit Breite/Höhe wirken */
.yt-placeholder{
  position: relative;
  background: #fff;
  border-radius: 8px;
  border: 3px solid #f53c1b;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.yt-play{
  width: 30%;
  max-width: 180px;
  min-width: 80px;
  height: auto;
  opacity: 0.95;
}

.yt-hint{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  font-size: 13px;
  line-height: 1.25;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
