body {
	background-color: #ccc;
	font-family: arial, sans-serif;
	font-size: 14px;
}


h1, h2, h3, h4 {
	color: #f47721;
}

h1 {
	font-size: 32px;
	line-height: 1em;
	margin-bottom: 10px;
}

h2 {
	font-size: 22px;
	margin-bottom: 10px;
	line-height: 24px;
}

h3 {
	font-size: 18px;
	line-height: 20px;
}

p {
	margin-bottom: 20px;
}

body, p, div, table td, table th, fieldset, li {
	font-size: 12px;
	line-height: 1.4em;
	color: #333;
}

a {
	color: #f47721;
}

#site {
	width: 980px;
	padding: 0 3px;
	margin: auto;
	background: white;
	overflow: hidden;
}

#topnavi a {
	padding: 5px 20px 5px 20px;
	color: #8e8e8e;
	text-decoration: none;
	display: block;
	float: left;
}

#topnavi a:hover {
	color: #333;
}

#topnavi {
	border-top: 3px solid #f47721;
	border-bottom: 1px solid #f47721;
	padding-top: 5px;
	padding-bottom: 5px;
	overflow: hidden;
	position: relative;
}

#topnavi ul li.level1-onpath a span, #topnavi li.level1-onpath, #topnavi li.level1-onpath a {
	color: white;
}

.menu {
	margin-left: 10px;
}

.services {
	float: right;
	display: inline;
	margin-right: 30px;
	width: 300px;
}

#topnavi .services #tv {
	padding-left: 40px;
	background: transparent url(/res/mestalla/tv.png) no-repeat top left;
}

#topnavi .services #saa {
	margin-left: 20px;
	padding-left: 50px;
	background: transparent url(/res/mestalla/saa.png) no-repeat top left;
}

#header {
	position: relative;
}

#haku {
	margin-bottom: 20px;
}

#top-Q {
	border: 1px solid #ccc;
	padding: 4px;
	color: #888;
	width: 228px;
}

#haku-nappi {
	border: 1px solid #ccc;
	padding: 3px;
	color: #333;
	width: 50px;
}

#blogs {
	float: right;
	display: inline;
	margin-right: 30px;
	margin-top: 5px;
	width: 300px;
	height: 120px;
	overflow: auto;
}

a#logo {
	display: block;
	height: 130px;
	width: 210px;
	text-indent: -9999px;
	background: transparent url(/res/mestalla/logo.png) no-repeat top left;
	margin: 20px 0 20px 30px;
}

div#featurebar {
	background: #f47721;
	padding: 30px;
	padding-bottom: 10px;
	color: white;
	overflow: hidden;
}

div#featurebar h1, div#featurebar h2, div#featurebar h3, div#featurebar p, div#featurebar div, div#featurebar b, div#featurebar i {
	color: white;
}

div#featurebar h3, div#featurebar h2, div#featurebar h4 {
	margin-bottom: 10px;
}

div#featurebar p {
	font-size: 12px;
}

div#featurebar a {
	color: white !important;
	text-decoration: underline !important;
}

div#featured {
	float: left;
	width: 580px;
}

div#featured_right {
	float: right;
	width: 300px;
}


div#content {
	margin: 30px 30px;
	overflow: hidden;
}

div#main {
	float: left;
	width: 580px;
}

div#right {
	float: right;
	width: 300px;
}

div#footer {
	clear: both;
	width: 960px;
	padding-left: 26px;
	margin: 5px auto 20px;
}

div#footer a {
	color: #333;
	text-decoration: none;
}

div#footer a:hover {
	color: black;
	text-decoration: underline;
}


/*
  	Description: basic styling for topmenu
*/

div#topmenu {
	overflow: hidden;
	border-bottom: 5px solid #f47721;
	padding-left: 30px;
}

div#topmenu ul,
div#topmenu ul li {
	margin: 0; padding: 0;

	overflow: hidden;
}
div#topmenu ul li {
	font-size: 14px;
	font-weight: bold;
	float: left;
	padding: 5px 8px;
	list-style-type: none;
	/* ie6 */
	_width: auto;
}
div#topmenu ul li a {
	text-decoration: none;
	padding: 0 10px !important;
	color: #535e63;
}

div#topmenu ul li a:hover {
	color: black;
}

div#topmenu ul li.level1-onpath {
	background-color: #f47721;
}

div#topmenu ul li.level1-onpath a {
	color: white;
}

/* UUTISTYYLIT */

#site div.uutisetTiivistelma {
	background: transparent;
	padding: 0;
}

#site div.uutisetTiivistelma div.single_item {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 10px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

#site div.kuvallinen div.on-kuva, #site div.kuvallinen a.on-kuva {
	margin-left: 170px;
}

#site h4, #site div.app h2, #site div.tiivistelma h2, div.poll h2 {
	font-size: 14px;
	font-weight: bold;
	font-style: italic;
	border-bottom: 1px solid #f47721;
	color: #f47721;
	padding-bottom: 3px;
	margin-bottom: 10px;
}

#site div.uutisetTiivistelma div.kaikki a {
	float: right;
	color: #f47721;
}

#site div.uutisetTiivistelma div.pvm {
	color: #888;
	font-size: 11px;
}

#site div.uutisetTiivistelma a.otsikko {
	color: #535e63;
	font-size: 20px;
	line-height: 22px;
	text-decoration: none;
	display: block;
}

#site div.uutisetTiivistelma a.otsikko:hover {
	color: black;
}

#site div.uutisetTiivistelma div.ingressi {
	padding: 0;
	padding-top: 10px;
	color: #333;
	line-height: 1.4em;
}

div.token {
	margin-bottom: 20px;
}

div.caption {
	text-align: left !important;
	font-size: 11px;
	color: #888;
}

body.blogit div#content {
	padding: 0 !important;
}

/* Blogisivu */

div.blog_area {
	margin: 0 !important;
}

div.blog {
	margin-right: 320px;
}

/* Etusivun blogiupotus */
div#te-token-2876702 {
	margin-bottom: 0 !important;
}

div#blogs h2 {
	display: none;
}

div#blogs h2 a {
	color: #f47721;
	text-decoration: none;
}

div#blogs a.writeup_title {
	font-size: 16px;
	font-style: italic;
	text-decoration: none;
}

div#blogs a.writeup_title:hover {
	text-decoration: underline;
}

div#blogs div.blog_name p {
	font-size: 18px;
	margin-bottom: 10px;
	color: #444;
}

div.blog_writeupsummary table.blog_leveys {
	width: 100%;
}

/* SIDEMENU */

div#sidemenu ul, div#sidemenu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

div#sidemenu ul li a.here {
	text-decoration: underline;
	color: black;
}

div#sidemenu ul li a {
	display: block;
	padding: 4px 8px;
	background-color: #E4E4E4;
	color: #333;
	text-decoration: none;
}

div#sidemenu ul li a:hover, div#sidemenu ul li.level2 a:hover {
	background-color: #aaa;
	color: white;
}

div#sidemenu ul li a.level2 {
	background-color: #EEE;
}

div.readmore {
	float: right;
	margin: 5px 0;
}

div.readmore a {
	text-decoration: none;
	font-style: italic;
}

div.poll {
	background: #f8f8f8 !important;
	border: 1px solid #ddd;
	padding: 10px !important;
}

div.poll h2 {
	color: #f47721 !important;
}

table.poll {
	margin-left: 40px;
}

div.as_huomiolaatikko {
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 12px;
}

div#main div.content-container h2 {
	border: 0 !important;
}

div#date {
	position: absolute;
	top: 10px;
	right: 5px;
	font-size: 11px;
	color: #aaa;
}

a.addthis_button {
	display: block;
	margin-bottom: 10px;
}

a.avoine {
	float: right;
	display: block;
	padding: 1px 4px;
	background-color: white;
	border: 1px solid #aaa;
	font-size: 11px;
	color: #888 !important;
	text-decoration: none !important;
}

a.avoine:hover {
	background-color: #D52178;
	border: 1px solid white;
	color: white !important;
}

