body {
	margin: 0px;
	font-family: "trebuchet ms";
	font-size: 0.9em;
	background-color: #f5f5f5;
}

a img {
    border-width: 0;
}

#container {
    position: relative;
	margin: 0 10px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	background-image: url(pics/container_bg.png);
	background-repeat: repeat-y;
	background-color: white;
	max-width: 1150px;
}

#header {
	height: 7em;
	background-image: url(pics/header_bg.png);
	background-repeat: no-repeat;
	background-position: bottom center;
	background-color: white;
	border-bottom: 1px solid #ccc;
	padding: 0 0 0 130px;
}

#header h1 {
	font-size: 230%;
	text-align: left;
	letter-spacing: 0.1em;
	margin: 0;
}

#header .red {
	color: #da2810;
}

#header .orange {
	color: #e16f09;
}

#header p {
	font-size: 120%;
    margin: 0;
}

#header .lang {
    position: absolute;
    top: 5em;
    right: 1em;
}

#footer {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	clear: both;
	padding: 0.3em;
	font-size: 80%;
	height: 1.7em;
	color: #ccc;
	background-color: white;
}

#footer form, #footer form p {
    margin: 0;
}

#footer .login {
    float: right;
}

#footer a {
    color: #ccc;
}

#footer .mod {
    float: left; 
}

#footer input {
	color: #efefef;
	background-color: white;
	border: 1px solid #efefef;
}

#menu {
    position: absolute;
    top: 7em;
    left: 0;
	width: 150px;
	padding: 1em 0em;
	z-index: 1000;
	margin: 50px 0 0 0;
}

#menu ul {
	list-style-type: none;
	margin: 0em;
	padding: 0em;
}

#menu li {
    margin: 0px -1px;
    padding: 0.2em 0.5em;
}

#menu li#active {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid white;
    border-left: 1px solid #ccc;
	background-color: white;
}

#menu li a {
    text-decoration: none;
    color: #304b1a;
}

#menu .order {
    width: 1.5em; 
}

#sponsors {
    position: absolute;
    right: 10px;
    top: 7em;
    float: right;
    margin: 0px;
    padding: 4px;
	border-left: 1px solid #ccc;
}
#container>#sponsors {
    right: 0;
}    

#content {
    font-size: 90%;
	padding: 1em 1em;
	margin-left: 150px;
	margin-right: 155px;
	border-left: 1px solid #ccc;
	background-color: white;
	height: 800px;
}
#container>#content { /* >= IE7 ja muut */
	min-height: 800px;
	height: auto;
}

.message {
    border-bottom: 1px solid #ffae44;
    margin: 1em;
    padding: 0.5em;
}

.error {
    color: red;
}

textarea.editcontent {
	width: 100%;
	height: 40em;
}

input, textarea {
	border: 1px solid #ccc;
}

fieldset {
	border: 1px solid #eee;
}

fieldset legend {
	color: #aaa;
}

textarea {
    width: 80%;
}

fieldset legend {
    font-weight: bold;
}

input:focus, textarea:focus {
    background-color: #fffcea;
}

form label {
    border-top: 1px solid #d0d0d0;
    background-color: #f7f7f7;
    padding: 0 0.5em;
}

pre {
    font-size: 10pt;
}
#content>pre {
    position: relative;
	z-index: 1000;
}

.kvlogo {
    position: absolute;
    right: 4%;
    top: 1em;
}

#header>.kvlogo {
    right: 1em;
}

.kisalogo {
    position: absolute;
    left: 0.3em;
    top: 1em; 
}

a img {
    border-width: 0px;
}

h2 {
    margin: 0.1em 0 1em 0;
    border-bottom: 2px solid #ffae44;
}

.notfound {
    color: #ddd;
}

@media print {
    #container, #content {
        margin: 0px;
        border-width: 0px;
    }
    #menu, #footer form, .kisalogo, .kvlogo, #sponsors {
        display: none;
    }
    #header {
        padding: 0;
    }
}

