/*
Theme Name: Alexander Grandin
Theme URI: http://www.grandin.fi
Description: Tema f&ouml;r ALexander Grandins hemsida
Version: 1.0
Author: Mats Tuovinen
Author URI: http://www.mtws.fi
Tags: fixed width, two columns, widgets
*/

body {
	border: 0;			/* This removes the border around the viewport in old versions of IE */
	font-family: Helvetica, Arial, Verdana, "Trebuchet MS", Tahoma;
	text-align: center;
	color: #333;
	padding: 0 5px 0 5px;
	margin: 0 5px 0 5px;
	background: fff;
	font-size: 12px;
}

h1, h2, h3 {
	font-family: 'Trebuchet MS', Arial, sans-serif;
}

h3 {
	font-size: 13px;
}

a:link, a:visited {
	color: #011222;
	text-decoration: none;
}
a:hover, a:active  {
	color: #333;
}

#wrapper{
	margin: 0 auto;
	width: 895px;
	padding: 0 9px;
	text-align: left;
	background: url(images/shadow_bg3.jpg) repeat-y;
}

#header{
	clear: both;
	padding: 0;
	background: url(images/grandin_banner.jpg) no-repeat;
	height: 169px;
}

#navibar2{
	clear: both;
	/* padding: 0 0 0 65px; */
	/* background: #011222; */
}

#navibar{
	clear: both;
	padding: 0 0 0 65px;
	background: #011222;
	font-weight: bold;
	font-size: 12px;
}

#navibar ul {
	margin: 0;
	padding: 0;
	height: 33px;
}

#navibar ul li {
   display: inline;
   list-style: none;
}

#navibar ul li a:link, #navibar ul li a:visited {
	color: #fff;
	float: left;
	text-decoration: none;
	padding: 10px 6px;
}
#navibar ul li a:hover, #navibar ul li a:active  {
	color: #011222;
	background: #fefefe;
}

#navibarclear {
	clear: left;
	margin: 0;
}

/*content*/
#content{
	float: left;
	padding: 20px 55px 20px 65px;
	width: 522px;
}

#content.narrow {
}

#content.wide {
	
}

#content h2.pagetitle{
	font-family: Helvetica, Arial, Verdana, "Trebuchet MS", Tahoma;
	font-size: 10px;
	color: #011222;
	background: #fad126;
	font-weight: bold;
	text-transform: uppercase;
	padding: 2px;
	border: 1px solid #011222;
	margin-top: 10px;
	margin-bottom: 10px;
}

#content h2.post{
	margin-top: 20px;
	margin-bottom: 0px;
	border-bottom: 2px solid #d54e21;
}


#content h3.posttitle{
	margin-bottom: 0px;
	font-size: 18px;
}

.post {
	padding-bottom: 30px;
}

.entry a:link, .entry a:visited {
	color: #011222;
	text-decoration: none;
}
.entry a:hover, .entry a:active  {
	color: #333;
	text-decoration: underline;
}

.entry ul li {
	margin-bottom: 25px;
}

.entry ul li ul li {
	margin-bottom: 15px;
}

.entry h2.widgettitle a:link, h2.widgettitle  a:visited {
	font-size: 13px;
	color: #333;
	text-decoration: none;
}
.entry h2.widgettitle  a:hover, h2.widgettitle  a:active  {
	font-size: 13px;
	color: #333;
}

.entry li.widget_rss{
	list-style: none;
}

.postmetadata {
	border-top: 1px solid #011222;
	padding-top: 5px;
	font-size: small;
}

#navisingle  {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dotted #464646;
}

/*OIKEA sidebar ALKAA*/

/*sidebar*/
#sidebar{
	width: 183px;
	float: left;
	padding: 20px 65px 20px 0;
	border-left: 0px none #464646;
	margin: 0;
}

/*OIKEA sidebar LOPPUU*/

/* sidebar yleiset ALKAA*/

/*sidebar list level1 */
#sidebar ul, #sidebar1 ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#sidebar ul li, #sidebar1 ul li {
	list-style: none;
	margin: 0;
	padding: 0 0 0 5px;
}

#sidebar ul li.sub-pages, #sidebar1 ul li.sub-pages {
	list-style: none;
	margin: 20px 0 0 0;
	padding: 10px 10px 10px 10px;
	border: 1px solid silver;
	background: #e3e3e3;
}

/*sidebar list level2 */
#sidebar ul li ul, #sidebar1 ul li ul {
	padding: 3px 5px;
	margin: 0;
	border: none;
}
#sidebar ul li ul li, #sidebar1 ul li ul li {
	padding: 2px 0 2px 0px;
	border-bottom: 1px dotted #464646;
	margin: 0;
	border-top: none;
	border-left: none;
	border-right: none;
	background: url(http://tor.fi/salibandy/wp-content/themes/tor/images/mini-page-arrow.gif) no-repeat !important;
	padding-left: 10px !important;
}

#sidebar ul li.widget_rss ul li {
	padding: 2px 0 2px 0px;
	border-bottom: none;
	margin: 0;
	border-top: none;
	border-left: none;
	border-right: none;
	background: #fff !important;
	padding-left: 0px !important;
}

h2.widgettitle a:link, h2.widgettitle  a:visited {
	font-size: 11px;
	color: #fff;
	text-decoration: none;
}
h2.widgettitle  a:hover, h2.widgettitle  a:active  {
	font-size: 11px;
	color: orange;
}


/*sidebar list level3 */
#sidebar ul li ul li ul li, #sidebar1 ul li ul li ul li {
	padding: 1px 0 1px 10px;
	border-bottom:	none;
	border-top: 1px dotted #464646;
}

/* Sidebar headers */
#sidebar h2, #sidebar1 h2 {
	font-family: Helvetica, Arial, Verdana, "Trebuchet MS", Tahoma;
	font-size: 11px;
	background:  #011222;
	background: url(images/sidebar2.jpg) no-repeat;
	color: #fff;
	padding: 7px 0 20px 10px;
	margin: 20px 0 0 0;
	text-transform: uppercase;
}

/* sidebar yleiset LOPPUU*/

#clear
{
	clear: both;
}

.clear
{
	clear: both;
}

.caption {
	text-align: center;
}

/* LINK-PAHGE */

li.linkcat {
	list-style: none;
}

/* END LINKS-PAGE */


#footer {
	clear: both;
	background: silver;
	color: #fff;
	font-size: 95%;
	padding: 7px;
}

#footer a:link, #footer a:visited {
	color: #fff;
	text-decoration: underline;
}
#footer a:hover, #footer a:active  {
	color: #333;
	text-decoration: none;
}

/* Begin Form Elements */


#searchform {
	margin: 15px 0 0;
}
#searchform br {
	display: none;
}
#searchform #s {
	width: 115px;
	margin-bottom: 2px;
}
/* search form button - to specify button only use input[type="submit"] */
#searchform input {
}

select {
	width: 130px;
	}
	
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
	
#respond {
	margin-top: 40px;
}
	
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */

/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	}
	
.commentlist li.alt {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	background: #f3f3f3;
	border: 1px solid silver;
	}
	
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}
	
.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

a img {
	border: none;
	}

.attachment {
	text-align: center;
}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
