/* Tyylit */
body {
	font-family: Lucida Sans Unicode, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #5c5b5b;
	margin:0;
}

#wrapper {
	background-image: url(../img/wrapper.jpg);
	background-repeat: repeat-x;
	background-color: #ffffff;
}

p{
	margin:10px 0;
}

a, a:link, a:visited, a:active{
	color: #1a6fb0;
	text-decoration: underline;
}

/* Tällä pakotetaan editorin sisällön linkit oikean näköisiksi
   Eli yleensä sama tyyli kuin tuossa yllä a-elementille, mutta jokaisen perään !important */
.mceContentBody a,.mceContentBody a:link, .mceContentBody a:visited{
	font-family: arial !important;
	color: #1a6fb0 !important;
	text-decoration: none !important;
}
.mceContentBody{
	background:transparent !important;
}



a.news, a.news:link, a.news:visited {
	color:#0c6c94;
	text-decoration: none;
}

td {
	font-size: 12px;

}
.login {
	font-size: 12px;

}

input, select, textarea {
	font-size: 11px;
}
.text{
	width:100%;
}

img {
	border: 0px;
}

h1 {
	font-size: 21px;
	color: #1c1c1c;
	font-family: trebuchet ms;
	background: url(../img/menu_bottom.jpg) no-repeat bottom;
	padding-bottom: 15px;
}

h1.short {
	background: url(../img/h1_bg.jpg) no-repeat bottom;
}

h2 {
	font-size: 14px;
	color: #000000;
}

h3 {
	font-size: 12px;
	color: #000000;
}

h4 {
	color: #458AD7;
}

h5 {
	color: #458AD7;
}

h6 {
	color: #458AD7;
}


.error_message{
	color:#ab0000;
	margin:10px 0 20px 0;
}
.success_message{
	color:#368b1c;
	margin:10px 0 20px 0;
}

/* Dropdownmenu */
.menuarea{
	position:absolute;
	display:none;
	width:180px;
	border:1px solid #c3c3c3;
	background-color:white;
	padding-bottom:5px;
}

#menutable .menutop_a{
	color:#6D3A78;
	padding:0 4px;
}
#menutable .menutop{
	color:#3c3c3c;
	padding:0 4px;
}

#menutable .menusub_a{
	color:#6D3A78;
	padding:0 4px;
	font-weight:bold;
	display:block;
}
#menutable .menusub{
	color:#3c3c3c;
	padding:0 4px;
	display:block;
}


table.kilpailu {
	
}
td.th {
	color: #121212;
	font-weight: bold;
	font-size: 12px;
	border-bottom: 6px solid #d1d1d1;
	background-color: #ffffff;
}


/* Eliksi goes savuton koulu */

.popup_div {
	border: 6px solid #dfdfdf;
	background: #ffffff url(../img/question_bg.jpg) no-repeat bottom right;
	padding: 20px;
}

li.btn_blue, li.btn_grey, li.btn_purple {
	width: 113px; 
	height: 27px; 
	list-style-type:none; 
	background: url(../img/btn_grey.jpg) no-repeat top left; 
	margin: 0px 0px 0px 6px; 
	padding-top: 4px;
	float: left;
}
li.btn_purple {
	background: url(../img/btn_purple.jpg) no-repeat top left; 
}
li.btn_blue {
	background: url(../img/btn_blue.jpg) no-repeat top left; 
}

li.btn_grey a, li.btn_grey a:link, li.btn_grey a:visited, li.btn_grey a:active, li.btn_blue a, li.btn_blue a:link, li.btn_blue a:visited, li.btn_blue a:active, li.btn_purple a, li.btn_purple a:link, li.btn_purple a:visited, li.btn_purple a:active {
	color: #ffffff; 
	margin: 0px 0px 0px 0px; 
	text-decoration: none;
}

.tehtava {
	padding: 10px;
	border: 1px solid #d1d1d1;
	background-color: #f7f7f7;
	color: #7b7b7b;
}

.paper_bg {
	margin-left: 20px;
	background: url(../img/paper_bg.jpg) no-repeat top left;
	width: 555px;
	min-height: 400px;
	height: auto !important;
	height: 400px;
	color: #000;
}
.paper_bg .padding {
	padding: 70px 50px 0px 50px;
}

table.twoblock {
	width: 100%;
}
table.twoblock td {
	width: 50%;
	vertical-align: top;
	padding-right: 20px;
}

.green {
	color: #a7c543;
}
.purple{
	color: #74368a;
}

