html {
    height: 100%;
}
body {
    height: 100%;
	/* overflow-y: hidden; /* PIILOTTAA VERTIKAALISEN BASIC SCROLLIN */
	background-color: #000;
	font-family: "Lato", sans-serif;
	overflow-x: scroll;
	margin: 0;
}
.sidebar {
	height: 100%;
	width: 250px;
	position: fixed;
	z-index: 20;
	top: 0;
	left: 0;
	background-color: #000;
	overflow-x: hidden;
	padding-top: 20px;
	/* border-right: 2px solid white; */ 
	padding: 10px;
}
.sidebar p {
  color: white;
}
.sidebar a {
	padding: 5px 15px 5px 15px;
	text-decoration: none;
	font-size: 25px;
	color: #000;
	display: block;
	border: 1px inset #fff;
	margin: 10px 0;
	background-color: #fff;
}
	.sidebar a:hover {
		color: #fff;
		background-color: #000;
	}
	.sidebar a:first-child {
		border: 0;
		background-color: transparent;
	}
	.henkays_logo {
		width: 100%;
		margin: 38px 0px;
	}
.content {
	height: 98.8%;
	width: auto;
	aspect-ratio: 1 / 1;
	margin: 0 0 0 245px;
	/* background-color: grey; */
	padding: 5px;
}
.kuvat {
	height: 100%;
	margin: 0;
}
.privi {
	height: 100%;
	width: ;
	display: inline-block;
	margin-left: -5px;
	/* background-color: grey; */
}
.privi:last-child {
		margin-right: -5px;
	}
	.TOIMII1 {
		background-color: #E40303;
	}
	.TOIMII2 {
		background-color: #FF8C00;
	}
	.TOIMII3 {
		background-color: #FFED00;
	}
	.TOIMII4 {
		background-color: #008026;
	}
	.TOIMII5 {
		background-color: #004CFF;
	}
	.TOIMII6 {
		background-color: #732982;
	}
	.TOIMII7 {
		background-color: white;
	}
.kuvat {
	white-space: nowrap;
}
div.c_image {
	height: 26%;
	aspect-ratio: 1 / 1;
	/* display: inline-block; horizontal */
	/* display: block; vertical */
	border: 2px inset white;
	background-color: #fff;
	/* margin: 20px 0px 0px 20px; */
	margin: 40px 0 40px 40px;
	position: relative;
	/* filter: grayscale(1) contrast(1) brightness(1); /* /* change contrast */
	/* -webkit-filter: grayscale(0);
	-moz-filter: grayscale(0);
	filter: grayscale(0);
	transition: all 0.3s ease; */
	cursor: pointer;
	transition: all 0.5s ease;
}
	c_image:hover {
		/* -webkit-filter: grayscale(100%);
		-moz-filter: grayscale(100%);
		filter: grayscale(100%); */
		/* filter: grayscale(1) contrast(1) brightness(1); change value increase to lower grayscale */
	}
	.ck {
		-webkit-filter: grayscale(100%);
		-moz-filter: grayscale(100%);
		filter: grayscale(100%); 
		-webkit-transition: all 1s ease-out;
		-moz-transition: all 1s ease-out;
		-o-transition: all 1s ease-out;
		transition: all 0.3s ease;
	}
	.ckh {
		-webkit-filter: grayscale(0);
		-moz-filter: grayscale(0);
		filter: grayscale(0); 
		-webkit-transition: all 1s ease-out;
		-moz-transition: all 1s ease-out;
		-o-transition: all 1s ease-out;
		transition: all 0.3s ease;
	}
	
	/* .kuvat div:nth-child(3n+4) {
		background-color: yellow;
		margin-left: 296px;
		top: 0;
		margin-top: -822px;
		float: left;
	}
	.kuvat div:nth-child(3n+5) {
		background-color: red;
	}
	.kuvat div:nth-child(3n+6) {
		background-color: green;
	} */
	.c_image > img {
		display: block;
		margin-left: auto;
		margin-right: auto;
		max-width: 230px;
		max-height: 230px;
		/* float: left; */
		margin: auto;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.tags {
		width: 25%;
		height: 25%;
		z-index: 10;
		position: relative;
		border-radius: 100px;
		pointer-events: none;
		opacity: 13%;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		-webkit-filter: grayscale(0);
		-moz-filter: grayscale(0);
		filter: grayscale(0) !important;
	}
		.tred { background-color: #E40303; }
		.torange { background-color: #FF8C00; }
		.tyellow { background-color: #FFED00; }
		.tgreen { background-color: #008026; }
		.tblue { background-color: #004CFF; }
		.tpurple { background-color: #732982; }