/*
Theme Name: Gaudeamus
Theme URI: http://www.gaudeamus.fi/
Description: Custom theme for Helsinki university press.
Version: 0.3
Author: Otto Salminen
Author URI: http://www.ottosalminen.net/
Tags: gaudeamus

*/

/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Arial, Sans-Serif;
	background: #002B43 url('images/aalto.png');
	color: #333;
	text-align: center;
	margin:0px;
             padding:0px;
             border:0;
             width:100%;
             min-width:780px;
             letter-spacing:0.03em;
	}
#leftbg {
	background: url('images/bgleft.png') left repeat-y;
	min-height:400px;
	width:100%;
	height:100%;
}
#rightbg {
	background: url('images/bgright.png') right repeat-y;
	min-height:400px;
	width:100%;
	height:100%;
}

#page {
	text-align: left;
	max-width:1200px;
	min-width:780px;
	margin:auto;
	background:white;
	border: 1px solid #002B43;
	}

#header {
	background: #F4EED3;
	clear:both;
              width:100%;
	height:140px;
	}

#content {
	font-size: 12px;
	margin-bottom:-12px;
	}

#footer {
font-family:"Trebuchet MS";
clear:both;
width:100%;
background: #811C1C;
border: none;
border-top:solid 1px #d5abad;
text-align:center;
color:#ffffff;
font-size: 13px;
font-weight:200;
letter-spacing:0.09em;
height:30px;
line-height:30px;
}
h1, h2, h3 {
	font-family: Arial, Sans-Serif;
	font-weight: normal;
	margin:0;
	padding:0;
	color:#002b43;
}

h1 {
	font-size: 4em;
	text-align: center;
}


h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.5em;
}

h1, h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
}


h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}
.commentlist li, #commentform input, #commentform textarea, input, textarea {
font-family: Arial, Sans-Serif;
font-size:12px;
letter-spacing:0.04em;
}

.commentlist li {
	font-weight: bold;
	color:#999;
	}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;	
	}

.commentlist p {
	font-weight: normal;
	line-height: 18px;
	font-size:12px;
	text-transform: none;
	color:#444;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}
.commentmetadata a{
	color:#778e9b;
}
code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a:hover {
	color: #811C1C;
	text-decoration: none;
	}
	

a, h2 a:hover, h3 a:hover {
	color: #811C1C;
	text-decoration: none;
	}
a{
color:#1d577a;
}
	
#leftPanel a, #rightPanel a {
	color:black;
	text-decoration: none;
	}
#leftPanel a:hover, #rightPanel a:hover {
	color:black;
	text-decoration: underline;
	}
#leftPanel h2 a, #rightPanel h2 a {
	color:#811C1C;
}
#leftPanel h2 a:hover, #rightPanel h2 a:hover {
	color:#811C1C;
}
#leftPanel .ctc a:hover, #rightPanel .ctc a:hover {
	color:#853636;
	text-decoration: none;
	
}

/* End Typography & Colors */



/* Begin Structure */
.clear {
	clear: both;
}
/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h3 {
	padding: 0;
	margin: 0 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
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;
	}
.aligncenter {
	text-align:center;	
	width:10%;
	margin:auto;	
	/*background:red;*/
	display:block;
}

.alignleft {
	float: left
	}
/* End Images */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
}

.postmetadata{
text-align:center;
font-size:12px;
margin:0;
margin-top:4px;
margin-bottom:10px;
padding:0;
}

/* End Entry Lists */



/* Begin Form Elements */

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

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

#commentform textarea {
	width: 98%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	margin-right: 30px;
	float: right;
	}
/* End Form Elements */
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

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

#commentform p {
	margin: 5px 0;
	}

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

.commentmetadata {
	margin: 0;
	display: block;
	}



#leftPanel{
/*background:lime;*/
width: 240px;
float:left;	
}
#leftPanel ul {
/*background:lime;*/
list-style: none;
}

#middlePanel{
font-size:12px;
background:none;
width: auto;
margin-left:250px;
margin-right:190px;
}
#rightPanel{
/*background:lime;*/
float:right;
width: 190px;
margin:0;
padding:0;
}

#rightPanel .textwidget{
font-family:"Trebuchet MS";
font-size:13px;
margin-left:10px;
margin-right:10px;
margin-bottom:20px;
}	
blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

	
	
blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

	
.center {
	text-align: center;
	}

hr {
	display: none;
	
	}

a img {
	border: none;
	}

#hakupalkki{
	position:relative;
             float:right;
	top:10px;
	right:10px;
	background:#811C1C;
	padding:2px;
	padding-top:0px;
	height:28px;
	border:1px solid #811C1C;
	background:#811C1C url('images/magradi.png') repeat-x;
}
#hakupalkki #s {
	background:#fff url('images/hakug.png') repeat-x;
	padding:1px;
	padding-top:2px;
	padding-bottom:2px;
	margin-bottom:2px;
	font-size:14px;
	border:1px solid #811C1C;
}
#hakupalkki #searchsubmit {
	font-family:"Trebuchet MS";
	background:none;
	color:white;
	border:none;
	font-size:16px;
	letter-spacing:0.3em;
	line-height:19px;
	padding-top:3px;
	margin:0;
	margin-left:-4px;
	margin-right:-8px;
}
#pmargin{
 margin:10px;
}
#mainNavi{
height:35px;
display:block;
background:#002B43 url('images/mgradi.png') bottom repeat-x;
margin-top:0px;
margin-bottom:8px;
padding-top:1px;
border-bottom:5px solid #811C1C;
}
#mainNavi li a, a#rightButton{
font-family:"Trebuchet MS";
text-transform: uppercase;
padding:10px;
color:white;
text-decoration:none;
height:30px;
line-height:37px;
font-size:14px;
letter-spacing:0.06em;
margin-left:1px;
margin-right:-4px;
background: url('images/reunag.png') no-repeat;
}
#mainNavi li a:hover, a#rightButton:hover{
	color:#d7e9f3;
}
a#rightButton{
float: right;line-height:29px;
margin-right:0px;
margin-left:-1px;
padding-bottom:1px;
background:#002B43 url('images/mgradi.png') bottom repeat-x;
margin-top:0px;
margin-bottom:1px;
padding-top:5px;
border-bottom:5px solid #811C1C;

}
#mainNavi .current_page_item a img, #mainNavi  .current_page_ancestor a img{
margin-left:0px;
padding-left:10px;
}


#mainNavi .current_page_item a, #mainNavi  .current_page_ancestor a{
	background:#811C1C url('images/magradi.png') repeat-x;
	border: 1px solid #811C1C; 
	border-bottom: 2px solid #811C1C; 
}


#mainNavi .current_page_item a:hover, #mainNavi  .current_page_ancestor a:hover{
color:pink;
}

#mainNavi li{
display:inline;
}

#subNavi .current_page_item a{
color:pink;
}
#subNavi{
width:100%;
height:30px;
display:block;
background:#811C1C	;
margin-top:-12px;
margin-bottom:7px;
}
#subNavi li a{
padding:6px;
color:pink;
text-decoration:none;
height:30px;
line-height:30px;
font-size:14px;
color:white;
/*background:lime;*/
letter-spacing:0.1em;
}
#subNavi li a:hover{
color:pink;
}
#subNavi li{
display:inline;
}

ul .widget, ul .widgettitle{
	list-style: none;

}
.widgettitle{
font-family:"Trebuchet MS";
font-weight:normal;
font-size:16px;
line-height:30px;
background:url(images/sivug.png) repeat-x;
color:#811C1C;
text-decoration:none;
margin-left:10px;
padding-left:5px;
height:30px;
width:220px;
letter-spacing:0.08em;
}
.widgetsubtitle{
font-family:"Trebuchet MS";
font-weight:bold;
font-size:13px;
line-height:14px;
color:#811C1C;
color:#b30013;
text-decoration:none;
margin-left:5px;
padding-left:5px;
height:24px;
width:220px;

letter-spacing:0.08em;
}

#rightPanel .widgettitle{
font-family:"Trebuchet MS";
font-weight:normal;
font-size:16px;
line-height:30px;
background:url(images/sivug.png) repeat-x;
color:#811C1C;
text-decoration:none;
margin-left:0;
padding-left:5px;
height:30px;
width:165px;
}
.widgettitle a{
font-weight:normal;
color:#811C1C	;
text-decoration:none;
}

ul li ul li{
list-style-image: url(images/bullet.png);
font-family:"Trebuchet MS";
font-weight:normal;
font-size:13px;
line-height:16px;
color:black;
margin-left:40px;
margin-bottom:8px;
}
#rightPanel ul li ul li{
margin-left:20px;
margin-right:10px;
}
.textwidget ol li{
margin-bottom:4px;

}
.textwidget ol{
/*background:red;*/
margin-left:2px;
padding-left:24px;
margin-right:10px;
}
ul li a{
color:black;
}

.entry{
line-height:17px;
}
.padding_ten_px{
padding:10px;
}
ul {

margin:0;
padding:0;
}

#ctc, #tag_cloud{
margin-left:20px;
margin-bottom:10px;
width:220px;
}
#ctc h2, #tag_cloud h2{
margin-left:-10px;
width:220px;
}
#ctc a, #tag_cloud a{
font-weight:normal;
color:#c58972;
letter-spacing:0.05em;
margin:0;
padding:1px;
line-height:1.2em;
}
small{
color:#778e9b;
font-size:14px;
}
.post, .postp{
font-size:14px;
}
.post p, .postp p{
line-height:16px;
letter-spacing:0.01em;
}
.padding_ten_px .post{
margin-bottom:10px;
margin-top:0;
padding-top:0;
background:url(images/separator.png);
background-repeat:no-repeat;
background-position:bottom center;
padding-bottom:35px;
}
.padding_ten_px .postp{
margin-bottom:16px;
margin-top:0;
padding-top:0;
padding-bottom:4px;
}

.navigation{
font-size:14px;
margin-top:4px;
width:98%;
height:40px;
line-height:20px;

}

#rightPanel .padding_ten_px{
	padding-top:2px;
}



p{
/*font-family: Arial, Sans-Serif;*/
font-size:14px;

}
.buttonpic{
margin-left:4px;
vertical-align:middle;
margin-bottom: .55em;
margin-top: .45em;
}

#subNavi ul li.page_itemi{
background: url('images/subbg.png') no-repeat center left;

}

h2.pagetitle{
color:#779;
font-size:16px;
margin-bottom:10px;
}
.banneri{
background:white  url('images/btausta_219.jpg') no-repeat;
border:#D48B00 4px solid;
margin:-4px;
margin-bottom:10px;
margin-top:0px;
width:218px;
margin-left:10px;
text-align:center;
}
.banneri img{
border:solid 1px gray;
}

.banneri .btitle{
background:none;
color:#b30013;
font-family:"Trebuchet MS";
font-weight:bold;
font-size:16px;
line-height:30px;
text-decoration:none;
margin-left:10px;
letter-spacing:0.09em;
}
.banneri .btitle2{
background:none;
color:black;
font-family:"Trebuchet MS";
font-weight:normal;
font-size:16px;
line-height:30px;
text-decoration:none;
}
.banneri .btext{
background:none;
color:black;
font-family:"Trebuchet MS";
font-weight:normal;
font-size:14px;
line-height:16px;
margin-left:10px;
margin-right:10px;
margin-bottom:10px;
text-decoration:none;
}
.banneri  ul li{
list-style-image: none;
letter-spacing:0.01em;}

.banneri  .textwidgetcenter{
text-align:center;
}
.banneri hr{
display:block;
width:80%;
border:none;
border-bottom:1px solid #ccc;
margin-bottom:10px;
margin-top:-10px;
}

.kauppa{
background:white  url('images/btausta.jpg') no-repeat;
border:#D48B00 4px solid;
margin:-4px;
margin-bottom:10px;
margin-top:0px;
width:162px;
margin-left:0px;
}
.kauppa img{
/*border:solid 1px gray;*/
}

.kauppa .btitle{
background:none;
color:#b30013;
font-family:"Trebuchet MS";
font-weight:bold;
font-size:16px;
line-height:30px;
text-decoration:none;
margin-left:10px;
letter-spacing:0.09em;
}
.kauppa .btitle2{
background:none;
color:black;
font-family:"Trebuchet MS";
font-weight:normal;
font-size:16px;
line-height:30px;
text-decoration:none;
}
.kauppa .btext{
background:none;
color:black;
font-family:"Trebuchet MS";
font-weight:normal;
font-size:14px;
line-height:16px;
margin-left:10px;
margin-right:10px;
margin-bottom:10px;
text-decoration:none;
}
.kauppa  ul li{
list-style-image: none;
letter-spacing:0.01em;}

.kauppa  .textwidgetcenter{
text-align:center;
}
.kauppa hr{
height:1px;
display:block;
width:80%;
border:none;
border-bottom:1px solid #ccc;
margin-bottom:10px;
margin-top:-10px;
text-align:center;
}
a.more-link{
margin-top: 20px;
}