* {
	padding: 0;
	margin: 0;
}
img {
	border: 0;
}
body {
	font-family: sans-serif;
	margin-top: -0.6em;
}
p {
	margin-bottom: 1.0em;
	line-height: 1.5em;
}
a:link, a:active {
	text-decoration: none;
	color: #4978a4;
	border-bottom: 1px dotted #4978a4;
}
a:visited {
	color: #7b99b4;
	text-decoration: none;
	border-bottom: 1px dotted #7b99b4;
}
a:hover {
	border-color: #85baec;
	color: #85baec;
}
input[type="text"] {
	background: url(../kuvat/liuku2.png) top left repeat-x;
	border: 1px solid #ccc;
	padding: 0.3em !important;
	width: 12em;
}
input[type="text"]:focus {
	border-color: #7eb2ec;
}
input[type="submit"]:hover {
	cursor: pointer;
}
#yla {
	border-bottom: 0.4em solid #636363;
	background-color: #343434;
	padding-bottom: 5px;
}
#yla a {
	text-decoration: none;
	text-transform: lowercase;
	letter-spacing: -4px;
	color: #4cbeff;
	border: 0;
	font-size: 80px;
}
#yla a strong {
	position: relative;
	z-index: 20;
	color: #fff;
	font-size: 65px;
}
#yla a em {
	position: relative;
	z-index: 10;
	font-size: 40px;
	font-style: normal;
	font-weight: bold;
	padding: 5px;
	margin-left: -5px;
	color: #fff;
}
#yla a:focus {
	outline: none;
}
#yla p {
	position: absolute;
	top: 78px;
	left: 10px;
	z-index: 12;
	font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	color: #fff;
	font-weight: bold;
	margin-top: 6px;
	margin-left: 0.2em;
	font-size: 16px;
	line-height: 1em;
}
#yla div {
	padding-left: 10px;
	background: #343434 url(../kuvat/logo.png) -10px 8px no-repeat;
	height: 114px;
	width: 400px;
	position: relative;
	z-index: 10;
}
#menu {
	list-style: none;
	margin-bottom: 0.8em;
	padding-left: 0.2em;
}
#menu li {
	display: inline;
	margin-left: -4px;
}
#menu li a, #menu li a:visited {
	color: #000;
	text-decoration: none;
	font-weight: bold;
	border-bottom: 3px solid #878787;
	padding: 0 7px;
	border-left: 1px solid #b3b3b3;
	line-height: 1.6em;
}
#menu li:first-child a {
	padding-left: 1px;
	border-left: 0;
}
#menu li a#valittu {
	border-bottom: 3px solid #000;
}
#menu li a:hover {
	border-bottom: 3px solid #1db0f5 !important;
	color: #848484;
}
#sisalto {
	padding: 1.2em 1.5em;
	min-width: 40em;
	background-color: #fff;
	padding-bottom: 2em;
	min-height: 550px;
}
.etu a:link, .etu a:active {
	color: #000;
	text-decoration: none;
	border: 0;
}
.etu a:visited {
	color: #585858;
	text-decoration: none;
	border: 0;
}
.etu a:hover {
	color: #3a8cf2;
	text-decoration: none;
	border: 0;
}
#sisalto h1 {
	font-size: 1.1em;
	margin-bottom: 0.5em;
}
#sisalto h2 {
	border-bottom: 1px dotted #bbb;
	font-size: 1.0em;
	padding-bottom: 0em;
	margin-bottom: 0.6em;
	color: #227ae7;
	background: url(../kuvat/nelio.png) 2px 0.3em no-repeat;
	padding-left: 18px;
	margin-left: 0.2em;
	padding-bottom: 0.2em;
}
#sisalto h2 a {
	border: 0;
}
.etu img {
	max-width: 100%;
	padding-left: 0.4em;
	margin-bottom: 0.7em;
	font-family: "Lucida Console", Courier, serif;
	color: #bebebe;
	font-size: 0.7em;
}
#sisalto h3 {
	margin: 0.8em 0 0.4em 0.6em;
	font-size: 0.9em;
	font-weight: normal;
}
#jalusta {
	clear: both;
	border-top: 0.4em solid #636363;
	background-color: #343434;
	color: #fff;
	font-size: 0.9em;
	padding-top: 1em;
	margin-top: 2em;
}
#jalusta_vasen a {
	background-color: #444444;
	display: block;
	width: 14em;
	padding: 0.7em 0.2em;
	text-align: center;
	margin-bottom: 0.8em;
	text-decoration: none;
	color: #fff;
	font-size: 0.8em;
	font-weight: bold;
	margin-top: 2em;
	border: 0;
}
#jalusta_vasen a:hover {
	background-color: #515151;
}
#jalusta_vasen a:focus {
	outline: none;
}
#jalusta_vasen p {
	text-align: center;
}
#jalusta_vasen {
	width: 12em;
	float: left;
	padding: 0.8em 1em 2em 0.8em;
}
#jalusta_oikea {
	max-width: 45em;
	margin-left: 14em;
	padding: 0.6em;
}
#jalusta_oikea p {
	margin-top: 0.6em;
	margin-bottom: 1.2em;
}
#jalusta_ala {
	clear: both;
	background-color: #262626;
	padding: 0.5em 0.5em 0.6em 0.5em;
	border-top: 0.4em solid #161616;
	text-align: center;
	font-size: 0.9em;
}
#jalusta_ala a {
	color: #fff;
	border-color: #fff;
}
#jalusta_oikea a:link, #jalusta_oikea a:visited, #jalusta_oikea a:active, #paivitykset a:link, #paivitykset a:visited, #paivitykset a:active {
	color: #84b4e0;
	border-color: #84b4e0;
}
#jalusta_oikea a:hover, #paivitykset a:hover {
	color: #c7def2;
	border-color: #c7def2;
}
.clr {
	clear: both;
}
#asetukset {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -22em;
	margin-top: -15em;
	width: 44em;
	background-color: #fff;
	border: 6px solid #505050;
	display: none;
	font-size: 0.9em;
	z-index: 300;
}

.load {
	background: url(../kuvat/wait.gif) 0.8em 0.6em no-repeat;
	padding: 1em 1em 1em 3em;
	font-weight: bold;
}
#dim {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #000;
	z-index: 200;
}
.asetukset_sisalto {
	height: 30em;
	font-size: 0.9em;
}
.asetukset_yla {
	background: url(../kuvat/liuku3.png) repeat-x;
}
.asetukset_sisalto h2 {
	font-size: 1.1em;
	padding: 0.5em 0 1.2em 0.5em;
	float: left;
}
.sulje_nappi {
	float: right;
	padding: 0.5em;
}
#asetukset_menu {
	list-style: none;
	margin-top: 0.8em;
	border-bottom: 1px solid #ccc;
	padding-left: 0.7em;
	clear: both;
}
*:first-child+html #asetukset_menu {
	margin-top: 0;
}
#asetukset_menu li a {
	text-decoration: none;
	color: #000;
	border: 0;
}
#asetukset_menu li a:focus {
	outline: none;
}
#asetukset_menu li a:hover  {
	background-color: #f2f2f2;
}
.avalittu a:hover {
	background: none !important;
}
#asetukset_menu li {
	display: inline;
}
#asetukset_menu li a {
	padding: 0.3em 0.8em 0 0.8em;
}
.avalittu {
	border: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	font-weight: bold;
	padding-top: 0.3em !important;
	background-color: #fff;
}
*:first-child+html .avalittu {
	padding-top: 0 !important;
}
.asetukset_napit {
	padding: 1em 0 1em 1em;
	border-top: 1px solid #ccc;
	text-align: center;
	background: url(../kuvat/liuku1.png) repeat-x;
}
.asetukset_napit input, .namiska input {
	margin-right: 1em;
	padding: 0.3em;
}
.namiska {
	margin-top: 1.5em;
}
.sarjakuva_loota {
	padding-bottom: 1em;
	font-size: 0.9em;
}
.asetukset_sisalto .sarjakuva_loota {
	padding: 1em 1.5em;
	overflow: auto;
	height: 23.5em;
	font-size: 1.0em;
}
#asetukset_yleiset {
	line-height: 1.8em;
}
#asetukset_yleiset select {
	width: 4em;
}
#asetukset_yleiset select option {
	padding: 0 0.8em 0 0.3em;
}
#asetukset_tallennus label {
	display: block;
	margin-top: 0.8em;
}
#asetukset_tallennus input {
	margin-right: 0.4em;
	padding: 0.1em;
}
.ainfo {
	background-color: #eaf4ff;
	padding: 0.8em;
	margin-bottom: 1.2em;
	border: 1px dotted #cad9ea;
	line-height: 1.4em !important;
}
.sivutus {
	font-size: 0.8em;
	font-weight: bold;
	margin-top: 1.2em;
	margin-left: 0.5em;
	margin-bottom: 1.5em;
}
.sivutus a, .sivutus .hl {
	background-color: #303030;
	padding: 0.2em 0.6em;
	border: 1px solid #000 !important;
	margin-right: 1em;
}
.sivutus a:link, .sivutus a:active, .sivutus a:visited {
	color: #fff;
}
.sivutus a:hover, .sivutus .hl {
	color: #fff;
	background-color: #587ca0;
	border-color: #5a81a9 !important;
}
.arkisto {
	margin-left: 1.0em;
	line-height: 1.4em;
}
.arkisto li {
	list-style: none;
	margin-bottom: 1em;
	font-size: 1.0em;
}
.arkisto ul li {
	list-style: disc;
	margin-left: 2em;
	margin-bottom: 0;
	font-size: 1.0em;
	font-weight: normal;
	background: none;
}
.sarjakuva_vasen {
	float: left;
	margin-right: 1.5em;
	min-height: 500px;
	padding-bottom: 1.5em;
}
.sarjakuva_vasen img {
	display: block;
	margin-bottom: 1.6em;
}
.kalenteri {
	font-size: 0.9em;
	border-collapse: collapse;
	margin-bottom: 1.2em;
	border: 1px solid #3d5586;
}
.kalenteri td {
	padding: 0.2em 0.3em;
	text-align: center;
}
.kalenteri .kk {
	background-color: #52698e;
	color: #fff;
	font-weight: bold;
}
.kalenteri .kk a {
	color: #a4c5fc;
	padding: 0.3em 0.5em;
	border: 0;
}
.kalenteri .kk span {
	padding: 0.3em 0.5em;
}
.kalenteri .pv {
	background-color: #ccd6e6;
}
.kalenteri .pvalittu {
	font-weight: bold;
	background-color: #d2e3ff;
}
.kalenteri .pvalittu a {
	border: 0;
	color: #000;
}
.sarjakuva_oikea {
	padding-top: 1em;
}
.sarjakuva_oikea dl {
	width: auto;
}
.sarjakuva_oikea dd {
	margin-bottom: 0.8em;
	margin-top: 0.4em;
}
.sarjakuva_oikea dd span {
	margin-left: 1em;
}
.onnistui, .epaonnistui {
	padding: 1.0em 0.8em;
	margin-bottom: 1.2em;
	border: 1px dotted;
	line-height: 1.4em !important;
}
.onnistui {
	border-color: #a5dea6;
	background: #e0f8e0 url(../kuvat/onnistui.png) 5px center no-repeat;
	padding-left: 52px;
}
.epaonnistui {
	border-color: #e8b6b6;
	background: #f8e0e0 url(../kuvat/epaonnistui.png) 5px center no-repeat;
	padding-left: 52px;
}
.err {
	margin-top: 2em;
}
#palaute label {
	display: block;
	margin-bottom: 0.2em;
}
.text {
	width: 32em !important;
	margin-bottom: 1.5em;
	font-family: Verdana, sans-serif;
}
.text2 { 
	display: none;
}
#palaute textarea {
	font-size: 0.8em;
	font-family: Verdana, sans-serif;
	background: url(../kuvat/liuku2.png) bottom left repeat-x;
	border: 1px solid #ccc;
	padding: 0.3em !important;
	width: 33.3em;
	height: 24em;
}
#palaute textarea:focus {
	border-color: #7eb2ec;
}
.submit {
	padding: 0.3em 0.4em;
	display: block;
	margin-top: 1.8em;
}
.osoite {
	font-style: italic;
}
.vasen {
	float: left;
	margin-right: 2em;
	margin-bottom: 1.2em;
}
#feed-custom label {
	margin-top: 1.2em;
}
#feed-custom input {
	margin-left: 0.4em;
}
.fluo {
	padding: 0.3em 0.4em;
	margin-top: 1.5em;
}
#paivitykset {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	float: right;
	width: 20em;
	padding: 1.5em 0;
	color: #eee;
	font-size: 0.9em;
	font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
}
#paivitykset h4 {
	font-size: 1.1em;
	padding-right: 1em;
}
#paivitykset ul {
	padding-right: 1em;
	list-style: none;
}
#paivitykset li {
	list-style: none;
}
#ylabanneri {
	margin-bottom: 5px;
}