/*   
Theme Name: Multidisciplinary University
Theme URI: 
Description: Theme for official university sites. Change colours and imagery from theme options.
VERSION: 1.0
AUTHOR: Jere Majava
AUTHOR URI: http://blogs.helsinki.fi/jeremajava/
Template: helsinki2
Version: 2.0
*/


/* Resets
==========================*/

* {
	padding: 0;
	margin: 0;
	font-size: 1em;
}

ul, ul > li {
	display: block;
	list-style-type: none;
}

/* Layout
==========================*/

body {
	text-align: center;
	padding-bottom: 1em;
}

div#wrapper {
	margin: 0 auto;
	text-align: left;
	width: 744px;
	position: relative;
}

div#container {
	float: left;
	width: 100%;
}

div#content {
	margin: 0 175px 0 220px;
}

div.sidebar {
	float: left;
	overflow: visible;
}

div#primary {
	margin: 0 0 0 -735px;
	width: 192px;
}

* html div#primary {
 	left: 9px;
 	position: relative;
}

div#secondary {
 	margin:0 0 0 -156px;
	width: 147px;
}

div#footer {
	clear: left;
}

/* Single page two column layout
--------------------------------*/

body.single div#secondary,
body.page div#secondary {
	display: none;
}

body.single div#content,
body.page div#content {
	margin-right: 9px;
}

body.home div#secondary {
	display: block !important;
}

body.home div#content {
	margin-right: 175px !important;
}


/* Main navigation
--------------------------------*/

#access {
	height: 36px;
	background-color: #fff;
	width: 100%;
	overflow: hidden;
}

body.page-parent #access,
body.page-child #access {
	height: 54px;
}

html body.page-parent .hidenavi,
html body.page-child .hidenavi,
html body.page-child .linknavi {
	height: 36px !important;
}

.hidenavi li {
	display: none;

}
#access li#alma {
	display: block;
}


#menu {
	position: relative;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #fff url(images/nav_bg.png) scroll repeat-x 0 bottom;
	height: 16px;
	line-height: 16px;
}

#menu li {
	float: left;
}
#menu li#alma {
	float: right;
}
#menu li ul {
	display: none;
}
#menu li.current_page_item ul,
#menu li.current_page_parent ul,
#menu li.current_page_ancestor ul {
	display: block;
	position: absolute;
	left: 0;
	top: 17px;
	height: 18px;
	padding: 0 3px;
	width: 738px;
}
#menu li li ul {
	display: none !important;
}
#menu > ul > li > a {
	float: left;
	line-height: 16px;
	padding: 0 7px;
	color: #555 !important;
	background: #fbfbfb url(images/navtop_bg_item.gif) scroll repeat-x 0 bottom;
	text-decoration: none !important;
	border-right: 1px solid #ccc;
}
#menu > ul > li#alma > a {
	border-right: none;
	border-left: 1px solid #ccc;
}
#menu li.homelink a {
	padding-left: 9px;
}#menu li a:hover {
	color: #000 !important;
}
#menu li.current_page_item a,
#menu li.current_page_ancestor a {
	margin-bottom: -1px;
	padding-bottom: 1px;
}
body.home #menu a.homelink,
#menu > ul > li.current_page_item > a,
#menu > ul > li.current_page_parent > a {
	background-image: none;
}
#menu li li {
	margin-top: 2px;
	line-height: 15px;
}
#menu li li a {
	float: left;
	text-decoration: none !important;
	padding: 0 7px 2px 6px;
	border: none;
	color: #fff;
	background: url(images/navtop_2nd_sep.gif) scroll no-repeat right center;
}
#menu li li.current_page_item a,
#menu li li.current_page_ancestor a,
#menu li li.current_page_item a:hover,
#menu li li.current_page_parent a:hover {
	background-color: #fff;
	margin-left: -1px;
	padding-left: 7px;
	color: #333 !important;
}


/* Hide and remove
==========================*/

hr.hr-sep,
.skip-link ,
#nav-above {
	display: none;
}

/* Design and typography
==========================*/
	
body {
	background: #f0f1f3;
	color: #000;
	font: 12px/16px Arial, Helvetica, sans-serif;
	text-align: center;
}

#wrapper, html body.home div#wrapper {
	background: #fff url(images/bg_3_palstaa.gif) scroll repeat-y 9px 0;
	border: 1px solid #8b8b8b;
	border-top: none;
}

body.single div#wrapper,
body.page div#wrapper  {
	background: #fff url(images/bg_2_palstaa.gif) scroll repeat-y 9px 0;
}

p, table {
	margin-bottom: 1em;
}

h2, h3 {
	margin-bottom: 1ex;
}

body.archive h3 {
	margin-bottom: 0.1em;
}

h2, #secondary h3 {
	color: #666;
	border-bottom: 1px solid #999;
	padding-top 1px;
}

h2,
h2 a,
#secondary h3 ,
#secondary h3  a {
	color: #666 !important;
	text-decoration: none !important;
	font-weight: bold;
}

#primary h3 {
	font-weight: bold;
	padding: 2px 4px;
}

.sidebar h3 a {
	text-decoration: none !important;
}

.entry-meta {
	font-size: 0.9em;
	margin-bottom: 1ex;
}
.meta-sep {
	padding: 0 0.2em;
}

abbr.published  {
	border: none;
}

blockquote {
	padding-left: 8px;
	margin-left: 8px;
	border-left: 4px solid #d1d3d2;
}

/* Language bar
--------------------------------*/

#topbar  {
	background: #fff;
	border-bottom: 1px solid #ccc;
	position: relative;
	height: 14px;
}
#topbar .topbar-sep {
	display: none;
}
#topbar a  {
	float: left;
	height: 14px;
	line-height: 14px;
	font-size: .9em;
	padding: 0 7px;
	color: #555 !important;
	text-decoration: none !important;
	background: #fbfbfb url(images/navtop_bg_item.gif) scroll repeat-x 0 bottom;
	border-right: 1px solid #ccc;
}
#topbar a:hover  {
	color: #000 !important;
}
#topbar a.university-home {
	font-size: 9px;
	height: 14px;
	line-height: 13px;
	padding: 0 9px;
	color: #fff !important;
	font-weight: bold;
	background-color: #888;
	background-image: none;
}


/* Header
--------------------------------*/

#header {
	height: 100px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
#university-logo {
	float: left;
	width: 128px;
}
#university-logo a {
	display: block;
	width: 100%;
	height: 100px;
	line-height: 100px;
}
#university-logo a  img{
	display: block;
	padding: 0;
	background-color: #8c8c8c;
}

a#titlefield {
	float: left;
	color: #333 !important;
	text-decoration: none !important;
	font-weight: bold;
	font-size: 1.22em;
	text-transform: uppercase;
	background: url(images/mask.png) scroll no-repeat 0 0;
	width: 616px;
	overflow: hidden;
	padding-top: 42px;
	height: 58px;
}
a.twolines {
	height: 66px !important;
	padding-top: 34px !important;
}
div#blog-description {
	display: none;
}
a.twolines #blog-description {
	display: block !important;
}
h1, #blog-description {
	white-space: nowrap;
	line-height: 16px;
}

#colorbox {
	display: none;
	right: 0;
	top: 37px;
	position: absolute;
	height: 58px;
	width: 30px;
}
#access {
	clear: left;
}

/* Posts and pages
-------------------------------------*/

.post {
	overflow: hidden;
}
body.blog .post {
	margin-bottom: 1em;
}
body.blog .post object,
body.blog .post embed {
	max-width: 349px;
}
body.single .entry-meta {
	margin: 0;
	padding: 1ex 0;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}
#nav-below {
	font-size: 0.9em;
	margin: 1em 0;
	overflow: hidden;
}
div.nav-previous {
	float: left;
	width: 48%;
}
div.nav-next {
	float: right;
	text-align: right;
	width: 48%;
}

.post ul.entry-meta li {
	display: inline;
	background-image: none !important;
	padding: 0 !important;
}

.post ul.entry-meta li:before {
	content: " â?? "
}

.post ul.entry-meta li.author:before {
	content: ""
}

.comment-meta {
	font-size: 0.9em;
	margin: 0.5em 0;
}

body.search div.page div.entry-date {
	display: none;
}


/* Footer
--------------------------------*/

#footer {
	padding: 24px 11px 0;
	text-align: right;
	background: #fff url(images/liukuvari.gif) repeat-x scroll 0 10px; 
	overflow: auto; /* for IE to create hasLayout property to avoid douple padding bug */
}

#footer form {
	margin: 0;
	padding: 0;
}

ul#university-meta {
	padding: 0;
	margin: 0 0 1em 0;
}
ul#university-meta li {
	display: inline;
	padding: 0 7px;
	border-right: 1px solid #999;
}
ul#university-meta li.uni-feedback {
	border-right: none;
}
ul#university-meta li.uni-search {
	border-right: none;
	padding-right: 0;
}
div#license  {
	font-size: 0.9em;
	padding: 0 11px 8px;
	background: #fff url(images/bg_footer.png) repeat-x scroll 0 bottom;
	margin: 0 -11px;
}


/* Comments
--------------------------------*/

div#comments {

	padding-top: 1em;
}


/* Links
--------------------------------*/

a:link, a:active  {
	color: #34399f;
	text-decoration: underline;
}
a:visited, a:hover {
	color: #666699;
}

a img {
	border: none;
}
/* Images
-------------------------------------*/

div.entry-content img[src] {
	overflow: hidden;
	padding: 0;
	padding: 1px 0;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}
div.entry-content img[align=right],
div.entry-content .alignright,
.comment-author img,
img.avatar {
	float: right;
	margin-left: 8px;
	padding: 0 !important;
	background-color: #fff;
}
div.entry-content img[align=left],
div.entry-content .alignleft {
	float: left;
	margin-right: 8px;
	padding: 0 !important;
	background-color: #fff;
}
div.entry-content img[align=right],
div.entry-content .alignright,
div.entry-content img[align=left],
div.entry-content .alignleft {
	border: 4px solid #d1d3d2 !important;
}
html body div.entry-content img.noborder,
.wp-caption img {
	border: none !important;
}
.wp-caption  p {
	margin: 0;
	text-align: center;
	font-size: 0.9em;
	background-color: #f9f9f9;
}
li.widget_rss h3 a:first-child {
	display: block;
	float: right;
	height: 16px;
	width: 16px;
	background: url(images/feedicon.png) scroll no-repeat center center;
	position: relative;
	left: 3px;
}
li.widget_rss h3 a:first-child img {
	display: none;
}
.sidebar li#rss-links ul li,
.sidebar li.widget_rss_links ul li {
	padding-left: 3px;
	background: none;
} 
li#rss-links a,
li.widget_rss_links a {
	background: url(images/feedicon.png) scroll no-repeat 0 center;
	padding-left: 15px;
}

.news-entry img {
width: 90px;
height: auto;
}

.news-entry .more-link {
display: block;
margin-top: 1em;
}



/* Tables
-------------------------------------*/

table {
	border-collapse: collapse;
}

th, td {
	text-align: left;
	padding: 2px 4px;
	border-bottom: 1px solid #eee;
}

th {
	background-color: #eee;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

/* Calendar
-------------------------------------*/

.widget_calendar table {
	width: 100%;
}
.widget_calendar table th,
.widget_calendar table thead {
	text-align: center;
	border: 1px solid #ccc;
}
.widget_calendar table td {
	text-align: center;
	border: 1px solid #eee;
	border-width: 0 1px 1px 1px;
}
.widget_calendar table tfoot td {
	text-align: right;
	border: none;
}
.widget_calendar table td#prev {
	text-align: left;
}
#secondary .widget_calendar table th, td {
	padding: 1px 2px;
	font-size: 0.9em;
}


/* Lists
-------------------------------------*/

#content ul {
	margin-bottom: 1em;
}

#content ol {
	margin: 0 0 1em 20px;
}

#content li ul,
#content li ol {
	margin-bottom: 0;
}


#content ul > li {
	padding-left: 20px;
	background: url(images/bullet.gif) no-repeat scroll 4px 0;
}

#content li {
	margin: 0.3em 0;
}



/* Sidebar
-------------------------------------*/

.sidebar li.widget_pages ul li li {
	display: none;
}
.sidebar li.widget_pages ul li.current_page_item li,
.sidebar li.widget_pages ul li.current_page_ancestor li,
.sidebar li.widget_pages ul li.current_page_parent li,
.sidebar li.widget_pages ul li.current-cat li,
.sidebar li.widget_pages ul li.current-cat-parent li {
	display: block;
}

.sidebar ul ul {
	margin-bottom: 1em;
}

.sidebar ul ul ul {
	margin-bottom: 0 !important;
}

.sidebar ul li {
	margin-bottom: 1em;
}

.sidebar ul ul li {
	margin: 0.3em 0;
	padding-left: 10px;
	background: url(images/bullet.gif) no-repeat scroll 0 0;
}

/* Form elements
-------------------------------------*/
.roskapostiansa {
	display: none;
}
form {
	margin: 0;
	padding: 0;
	display: inline;
}
input, textarea {
	font-size: 1em;
	font-family: Arial, Helvetica, Sans-Serif;
	color: #333;
}
textarea {
	width: 320px;
}
input[type=submit], input[type=button], input[type=reset] {
	color: #fff;
	background-color: #999;
	font-weight: bold;
	line-height: 14px;
	padding: 0 18px;
	border: 1px solid #999;
	margin-top: 1px;
}
#footer input.text {
	width: 154px;
	font-size: 1em;
	display: inline;
	margin-top: 0;
}
.widget_search {
	margin-top: 1em;
}
.sidebar #search br {
	display: none;
}
.sidebar input[type=text] {
	width: auto;
}
.sidebar input[type=submit] {
	padding: 0 6px;
}
fieldset {
	padding: 2px 4px;
	border: none;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	margin-bottom: 1em;
}
fieldset ol, fieldset li
{
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: block;
}
legend {
	font-weight: bold;
}
fieldset input, fieldset textarea {
	display: block;
	margin-left: 106px;
	margin-bottom: 0.5em;
}
fieldset label {
	float: left;
	width: 100px;
	text-align: right;
	padding: 0;
}
fieldset li {
	overflow: auto;
}
input#searchsubmit {
	display: none;
}

/* Tagclouds
--------------------------------*/

.widget_tag_cloud a,
#tagcloud a {
	text-decoration: none;
	padding: 0 2px;
}

a.tagsz-1 { background-color: #fff; }
a.tagsz-2 { background-color: #e4ffd1; }
a.tagsz-3 { background-color: #d3ffb2; }
a.tagsz-4 { background-color: #c2ff93; }
a.tagsz-5 { background-color: #c2ff93; font-weight: bold; }

#tagcloud {
	margin: 1em -2px;
	line-height: 2.5em;
}

#tagcloud a {
	vertical-align: middle;
}

#tagcloud a.tagsz-2 { font-size: 1.2em; }
#tagcloud a.tagsz-3 { font-size: 1.5em; }
#tagcloud a.tagsz-4 { font-size: 2em; }
#tagcloud a.tagsz-5 { font-size: 2.5em; font-weight: normal; }



#tag_cloud a:hover {
}


/* Faculty colours
--------------------------------*/

#primary h3,
#colorbox,
#menu li ul,
body.home #menu a.homelink,
#menu li.current_page_item a,
#menu li.current_page_ancestor a {
	background-color: rgb(140,140,140);
}

#primary h3,
#primary h3 a,
body.home #menu a.homelink,
#menu li.current_page_item a,
#menu li.current_page_ancestor a,
#menu li li a,
#menu li li a:hover {
	color: white !important;
}

/* Custom header image
--------------------------------*/

#header {
	background: #fff url(/wp-content/themes/helsinki2/headers/threestudents.jpg) scroll no-repeat right 0;
}

/* Hacks for poor old IE6
--------------------------------*/
