* {
padding:0;
margin:0;
}

body {
text-align: center;
background-image: URL("http://tiitula.com/wp-content/themes/kesa2009/images/background.jpg");
padding-bottom: 20px;
font-family: verdana, arial, "times new roman";
}

#page{
background-image: URL("http://tiitula.com/wp-content/themes/kesa2009/images/ylatausta.png");
background-repeat: repeat-x;
}


#header a, #menu a {
color: #454545;
text-decoration: none;
}

#content a, .sidebar a, #footer a {
text-decoration:none;
color: #285177;
}

#content a:hover, .sidebar a:hover, #footer a:hover {
text-decoration: underline;
color: black;
}

#content h2 a{
color: #990000;
font-size: 20px;
}



#header {
margin: 0px auto 0px auto;
text-align: left;
width: 900px;
background-image: URL("http://tiitula.com/wp-content/themes/kesa2009/images/header_tausta.png");
background-repeat: no-repeat;
background-position: top center;
height: 280px;
}

#menu {
text-align: left;
margin: auto;
margin-top:5px;
height: 1px;
}


#menu ul li {
float:left;
margin-left: 20px;
margin-right: 70px;
list-style-type: none;
}


#wrapper {
text-align: left;
margin: auto;
width: 900px;
border-left: solid #F1E8B9 1px;
border-right: solid #F1E8B9 1px;
background-image: URL("http://tiitula.com/wp-content/themes/kesa2009/images/sisalto.jpg");
}


.sidebar {
width: 150px;
float:right;
font-size: 70%;
padding-top: 20px;
}


.sidebar h3 {
font-size: 15px;
}


#primary {
float:left;
padding-left: 30px;
}

#secondary {
float:right;
padding-right: 30px;
}



.sidebar img {
float: left;
}

.sidebar ul li {
list-style-type: none;
clear: both;
}



#content {
width: 500px;
float:left;
padding: 20px;
font-size: 80%;
}

#content p {
text-align: justify;
}


#content ul, #content ol {
margin-left: 30px;
}



#footer {
background-image: URL("http://tiitula.com/wp-content/themes/kesa2009/images/footer.jpg");
background-repeat: repeat-x;
background-position: bottom center;
clear:both;
width: 900px;
height: 28px;
padding: 10px 0 10px 0;
text-align: center;
font-size: 80%;
}

h1, h2, h3, p {
padding:7px 0px 7px 0px;
margin:0;
}


a img {
border: none;
margin:7px 0px 7px 0px;
}

.sivulinkki  {
padding-top: 5px;
margin-left:30px;
margin-right:32px;
}
 
#menu .lippu {
margin-left:40px;
margin-bottom:15px;
}

#blog-title a img {
padding-top:70px;
padding-left:50px;
padding-bottom:0px;
margin-bottom:0px;
}

#blog-description {
padding-top:0px;
margin-top:0px;
margin-left:140px;
}


.tag-links {
display: block;
}


.entry-title {
clear:both;
text-align: left;
}

.entry-meta {
clear:both;
text-align: center;
padding-top: 10px;
padding-bottom: 20px;
}


form#commentform .form-label {
margin:1em 0 0;
}

form#commentform span.required {
background:#fff;
color:#c30;
}

form#commentform,form#commentform p {
padding:0;
}

input#author,input#email,input#url,textarea#comment {
padding:0.2em;
}

div.comments ol li {
margin:0 0 3.5em;
}

textarea#comment {
height:13em;
margin:0 0 0.5em;
overflow:auto;
width:66%;
}

.alignright,img.alignright{
float:right;
margin:1em 0 0 1em;
}

.alignleft,img.alignleft{
float:left;
margin:1em 1em 0 0;
}

.aligncenter,img.aligncenter{
display:block;
margin:1em auto;
text-align:center;
}

div.gallery {
clear:both;
height:180px;
margin:1em 0;
width:100%;
}

p.wp-caption-text{
font-style:italic;
}

div.gallery dl{
margin:1em auto;
overflow:hidden;
text-align:center;
}

div.gallery dl.gallery-columns-1 {
width:100%;
}

div.gallery dl.gallery-columns-2 {
width:49%;
}

div.gallery dl.gallery-columns-3 {
width:33%;
}

div.gallery dl.gallery-columns-4 {
width:24%;
}

div.gallery dl.gallery-columns-5 {
width:19%;
}

div#nav-above {
margin-bottom:1em;
}

div#nav-below {
margin-top:1em;
}

div#nav-images {
height:150px;
margin:1em 0;
}

div.navigation {
height:1.25em;
}

div.navigation div.nav-next {
float:right;
text-align:right;
}


div.sidebar input#s {
width:7em;
}

div.sidebar li {
list-style:none;
margin:0;
}

div.sidebar li form {
margin:0.2em 0 0;
padding:0;
}


div#menu ul li,div.gallery dl,div.navigation div.nav-previous {
float:left;
}


input#author,input#email,input#url,div.navigation div {
width:50%;
}



