@font-face{
	font-family:'lato';
	src:url('lato.ttf');
}
body{
	background-color: #f9f9f9;
	font-family: lato;
	padding-top: 90px;
	user-select: none;
	padding-bottom: 50px;
	
	
}
h1, h2, h3, h4, h5{
	margin: 0;
	margin-bottom: 15px;
}
h3{
	padding-right: 20px;
}
p{
	margin-bottom: 20px;
	text-align: justify;
}
#appbar{
	background-color: rgba(255,255,255,.95);
	position: fixed;
	top: 0;
	left: 0; 
	right: 0;
	padding: 20px;
}
#appbar .appbaritem{
	vertical-align: middle;
	display: inline-block;
	margin-right: 10px;
}
#navdrawer{
	position: fixed;
	top: 0;
	left: -280px;
	bottom: 0;
	padding-top: 100px;
	padding-bottom: 100px;
	background-color: #303030;
	width: 280px;
	overflow-y: auto;
	display: none;
	color: white;
	font-size: 14px;
}

#navdrawer .nditem{
	border-bottom: 1px solid #636363;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 15px;
}

#navdrawer .nditem:active{
	background-color: black;
}

.searchresultitem{
    border-bottom: 1px solid #636363;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 15px;
}

#searchui{
    position: fixed;
	top: 0;
	right: -280px;
	bottom: 0;
	background-color: #303030;
	width: 280px;
	overflow-y: auto;
	display: none;
	color: white;
	font-size: 14px;
	padding: 10px;
}

#dimmer{
	background-color: rgba(0,0,0,.5);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}
#dimmerwhite{
	background-color: rgba(255,255,255,.75);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}
.story{
	color: white;
	background-color: #474747;
	padding: 15px;
	border-radius: 15px;
	margin-bottom: 5px;
	font-size: 14px;
}

.story:active{
	background-color: #666666;
}

.tag{
	border-radius: 3px;
	background-color: #666666;
	padding: 3px;
	font-size: 8px;
	display: block;
	margin-top: 5px;
}

#storyreader{
	position: fixed;
	top: 110px;
	left: 20px;
	right: 20px;
	bottom: 20px;
	background-color: white;
	border-radius: 3px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	display: none;
	overflow-y: auto;
	padding: 10px;
	padding-bottom: 50px;
	font-size: 14px;
	color: #3a3a3a;
	user-select: text;
	
	background: url(images/bg.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.bookref{
	text-align: right;
	font-size: 11px;
	color: grey;
}

/* SCROLLBAR STYLING */
/* width */
::-webkit-scrollbar {
	width: 2px;
	height: 2px;
}
/* Track */
::-webkit-scrollbar-track {
	background: white; 
}
/* Handle */
::-webkit-scrollbar-thumb {
	background: black; 
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: black; 
}

.box {
  height: 100%;
}

#aimaslides{
	user-select: none;
	margin-bottom: 10px;
}

.slidebg1{ background: url(images/m1.jpg) no-repeat center center; }
.slidebg2{ background: url(images/m2.jpg) no-repeat center center; }
.slidebg3{ background: url(images/m3.jpg) no-repeat center center; }
.slidebg4{ background: url(images/m4.jpg) no-repeat center center; }
.slidebg5{ background: url(images/m5.jpg) no-repeat center center; }
.slidebg6{ background: url(images/m6.jpg) no-repeat center center; }
.slidebg7{ background: url(images/m7.jpg) no-repeat center center; }
.slidebg8{ background: url(images/m8.jpg) no-repeat center center; }
.slidebg9{ background: url(images/m9.jpg) no-repeat center center; }
.slidebg10{ background: url(images/m10.jpg) no-repeat center center; }
.slidebg11{ background: url(images/m11.jpg) no-repeat center center; }
.slidebg12{ background: url(images/m12.jpg) no-repeat center center; }
.slidebg13{ background: url(images/m13.jpg) no-repeat center center; }
.slidebg14{ background: url(images/m14.jpg) no-repeat center center; }

.aslide{
	outline: none;
	vertical-align: middle;
	border-radius: 15px;
	margin: 5px;
	padding: 30px;
	min-height: 100px;
	max-height: 100px;
	margin: 2px;

	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}


