@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(icons/MaterialIcons-Regular.woff.eot); /* For IE6-8 */
  src: local('Material Icons'),
    local('icons/MaterialIcons-Regular'),
    url(icons/MaterialIcons-Regular.woff2) format('woff2'),
    url(icons/MaterialIcons-Regular.woff) format('woff'),
    url(icons/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: 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. */
  font-feature-settings: 'liga';
}

body {
	font-size: calc(1em + 1vw);
	color:#232323;
	font-family:lexend peta, sans-serif;
	margin:0px;
}
#index {
	padding:5px;
}
.indexa {
	margin-top:4px;
	margin-left:4px;
	font-size:14px;
}
#indexsearch {
	padding:5px;
	border-radius:3px;
	border: 1px solid #323232;
	width:50%;
	margin-left:5px;
}
.section {font-weight:bold; padding:5px; margin-bottom:2px; margin-top:5px; color:#431300; display:inline-block;}

.subsection {font-weight:bold; padding-left:5px; margin:5px; margin-top:5px; color:#025252;}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 10px;
  font-family: sans-serif;
}
h1 {
  font-size: 24px;
  line-height: 24px;
  
}
h2 {
  font-size: 20px;
  line-height: 20px;
  
}

.noteimage { 
	overflow-y:auto; 
	padding-left:1px;
	height:50vh; position:fixed;
	left:0px;top:36px;right:0px;
	display:block;
	background-color:#fff;
}
#noteimage1show, #noteimage2show {
	font-size:14px;
	padding-top:2px;
}
.nimg {
	max-width:100%;
	margin:0;
	/*height:99%;*/
	max-height: 130%;
	min-height:98%;
	min-width: 30%;
	z-index:101;
}
.noteimagemaxwidth {
	height:auto;
	width:100%;
	max-width:100%;
	max-height: 250%;
}
#controls { 
	padding:2px; 
	padding-top:6px;
	height:30px; position:fixed; 
	left:0px;top:0px;right:0px;
	font-size:16px;
	display:flex;
	background-color:#2e2e2e;
	color: #fff;
}
#controls div {
	padding-left:5px;
	padding-right:5px;
	margin-left:5px;
	border-radius:3px;
	height:28px;
}
#controls .showhide {
	font-size:14px;
	padding-top:2px;
}
#controls div:hover {
	cursor:pointer;
	/*color: #C31A1D;
	background-color:#fff;*/
	text-decoration: underline;
	color: #f5f5f5;
	
}
#noteimagecont {
	
}
.maincontent {
	box-sizing: border-box;
}
.textpart {
	margin-top:calc(50vh + 22px);
	box-sizing:border-box;
	padding:10px;
	padding-bottom:20px;
}
.zoomtext {
	padding:2px;
	padding-bottom:20px;
	padding-left:8px;
	font-size: calc(1.1em + 1.7vw);
}
.textpartnoimage {
	margin-top:35px;
}
.dim {
	color:#a2a3a2;
}
.dim:hover {
	cursor:auto;
}
#tekijanoik {
	margin-top:25px;
	margin-left:5px;
	font-size:14px;
}
a {
	color: #2e2e2e;
}
a:link, a:visited {
	
	text-decoration: none;
	font-weight:600;
}
a:hover {
	border-bottom: 2px solid #2e2e2e;
}
.mp3 {
	margin-top:25px;
	margin-bottom:25px;
	margin-left:5px;
	font-size:14px;
}
.copyright {
	margin-top:30px;
	padding:10px;
	font-size:12px;
	color:#fff;
	background-color:#2e2e2e;
}
.copyright a:link, .copyright a:visited {
	color:#fff;
	font-weight: normal;
}
.copyright a:hover {
	text-decoration: underline;
	color: #f5f5f5;
}
#headersection {
	box-sizing: border-box;
	min-height: 80px;
	padding-bottom: 20px;
	padding-top: 20px;
}
#headerseccont {
	margin-left:50px;
	/*margin-left: auto;
	margin-right: auto;
	max-width: 940px;*/

}
#headertext {
	margin-left: auto;
	margin-right: auto;
	max-width: 500px;
	font-size:28px;
	display: inline-block;
	padding-top: 6px;
}
#headertextcont {
	height: 50px;
	padding:2px;
	background-color: #2e2e2e;
	color: #fff;
	text-align: center;
	margin-bottom:15px;
}
.alinkheader {
	color: #fff;
}
.alinkheader:hover {
	text-decoration: underline;
	color: #f5f5f5;
}
