/*
Theme Name: Gessi.fi
Theme URI: http://www.gessi.fi
Description: Gessi-sivuston teema
Version: 1.0
Author: Tanja Malmberg
Author URI: http://www.tanjamalmberg.com
*/

html {
     overflow: -moz-scrollbars-vertical;
}

body {
	background: #ebebeb url('images/body_bg.png') repeat-x left top;
	font-size: 12px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #333;
	text-align: center;
	margin-top: 20px;
}

hr {
	color: #bbbbbd;
	background-color: #bbbbbd;
	border: none;
	height:1px;
	display: block;
	clear: both;
}

a {
	color: #59124d;
    text-decoration: underline;
}

a:link, a:visited {
	color: #59124d;
    text-decoration: underline;
}

a:hover, a:active {
	color: #59124d;
    text-decoration: none;
}


div#page {
	background-color: white;
	width: 900px;
	margin: 0 auto;
	text-align: left;
}

div#header {
	background: url('images/header.png') no-repeat left top;
	height: 130px;
}

div#logo {
	float: left;
	padding: 5px 0 0 10px;
}

div#topmenu {
	float: right;
	margin-top: 100px;
	font-size: 14px;
}

ul.topmenu {
	list-style-position: inside;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.topmenu li {
	float:left;
}

ul.topmenu li.page_item:first-child a {
	background: none;
	padding-left: 0;
}

ul.topmenu li.page_item a {
	color: #333333;
	background: url('images/separator.png') no-repeat left 6px;
	padding:0 3px 0 13px;
	text-decoration: none;
	font-weight: normal;
}

ul.topmenu li.page_item a:link, ul.topmenu li.page_item a:visited  {
	color: #333333;
	text-decoration: none;¨
	font-weight: normal;
}

ul.topmenu li.page_item a:active, ul.topmenu li.page_item a:hover  {
	color: #333333;
	text-decoration: none;
	font-weight: normal;
}

ul.topmenu li.current_page_item a {
	color: #71536C;
	text-decoration: none;
	font-weight: bold;
}

ul.topmenu li.current_page_item a:link, ul.topmenu li.current_page_item a:visited {
	color: #71536C;
	text-decoration: none;
	font-weight: bold;
}

div#contentcontainer {
	background: url('images/cc_bg.png') repeat-y left top;
	margin: 20px 30px 0px 10px;
}

div#sidebar {
	float: left;
	width: 250px;
}

div#menuopen {
	background-color: #3a3a3b;
	color: #FFF;
	font-size: 14px;
	text-transform: uppercase;
	padding: 10px 20px 10px 20px;
}

div#menu {
	padding: 20px;
}

div#content {
	float: left;
	width: 580px;
	padding: 8px 0 0 30px;
}

div#footer {
	background: url('images/bottom.png') no-repeat left top;
	height: 36px;
}

div#bottom {
	text-align: right;
	font-style: italic;
	font-size: 11px;
	color: #555555;
	padding:10px 15px 0 0;
}

div#bottom a {
	color: #555555;
	text-decoration: none;
}

div#bottom a:link, div#bottom a:visited  {
	color: #555555;
	text-decoration: none;
}

div#bottom a:active, div#bottom a:hover  {
	color: #555555;
	text-decoration: underline;
}


/*Otsikot*/

h1, h2, h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #333333;
}

h1 {
	font-size: 16px;
	margin-top:0;
}

h2 {
	font-weight: bold;
	font-size: 14px;
}

h3 {
	font-size: 14px;
}

h4 {
	font-size: 12px;
}

/*Otsikot*/


/* Kuvat */

img {
	border: none;
}

p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}
	
/* Kuvat */



/* Sivuvalikko */

div#sidebar ul {
	list-style-position: inside;
	list-style-type: none;
	margin: 0;
	padding:15px 20px 10px;
}

div#sidebar ul li ul {
	list-style-position: inside;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div#sidebar ul li ul li.page_item a {
	color: #333333;
	text-decoration: none;
	font-size: 14px;
	display: block;
	padding: 5px 0;
}

div#sidebar ul li ul li.page_item a:link, div#sidebar ul li ul li.page_item a:visited  {
	color: #333333;
	text-decoration: none;
}

div#sidebar ul li ul li.page_item a:active, div#sidebar ul li ul li.page_item a:hover  {
	color: #333333;
	text-decoration: none;
}

/*Valittu*/
div#sidebar ul li ul li.current_page_item a {
	color: #71536C;
	text-decoration: none;
	font-weight: bold;
}

div#sidebar ul li ul li.current_page_item a:link, div#sidebar ul li ul li.current_page_item a:visited {
	color: #71536C;
	text-decoration: none;
	font-weight: bold;
}

/*Alakohdat*/
div#sidebar ul li ul li ul li.page_item a {
	color: #333333;
	text-decoration: none;
	font-size: 12px;
	padding: 2px 0 2px 10px;
	display: block;
	background: url('images/submenu_item.png') no-repeat 1px 8px;	
	font-weight: normal;
}

div#sidebar ul li ul li ul li.page_item a:link, div#sidebar ul li ul li ul li.page_item a:visited  {
	color: #333333;
	text-decoration: none;
	font-weight: normal;
}

div#sidebar ul li ul li ul li.page_item a:active, div#sidebar ul li ul li ul li.page_item a:hover  {
	color: #333333;
	text-decoration: none;
	font-weight: normal;
}

/*Valittu*/
div#sidebar ul li ul li ul li.current_page_item a {
	color: #71536C;
	text-decoration: none;
	font-weight: bold;
}

div#sidebar ul li ul li ul li.current_page_item a:link, div#sidebar ul li ul li ul li.current_page_item a:visited {
	color: #71536C;
	text-decoration: none;
	font-weight: bold;
}

/* Sivuvalikko */

/* Blogi */

div#navi li {
	background: url('images/blog_separator.png') no-repeat 0px 5px;
	list-style: none;
	padding: 0 8px;
	display: inline-block;
}

div#return {
	margin-bottom: 20px;	
}

div.navigation {
	height: 40px;
}

/* Blogi */
