/*
Theme Name: Baldos 2009
Description: Wordpress theme for Team Baldos 2009
Author: Jonas Jonsson <jonas@ludd.ltu.se>
*/
* {
  margin: 0;
  padding: 0;
}

body {
  background: #8caace url('images/gradient.png') repeat-x scroll 0 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 75%; /* 12px */
  line-height: 1.4;
}
h1, h2, h3 {
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  color: #335283;
  margin: 0 0 0.67em 0;
  display: block;
  font-weight: bold;
}
img {
  border: 0;
}

h1 {
  font-size: 2em;
}
h2 {
  font-size: 1.5em;
}
h3 {
  font-size: 1.17em;
}

a {
  color: #335283;
}
a:hover {
  color: #c31040;
}
p {
  margin: 1em 0;
}
ul {
  padding-left: 2em;
}
h1 a, h2 a, h3 a {
  text-decoration: none;
}

#page {
  width: 770px;
  margin: 0 auto;
}
#header {
  background: transparent url('images/header.png') no-repeat scroll 0 0;
  position: relative;
  height: 135px;
  margin-bottom: 19px;
}

#header div.logo {
  position: relative;
  left: 24px;
  top: 12px;
  width: 217px;
}

#content {
  background-color: #fff;
  width: 526px; /* 550 - 2*12 */
  float: left;
  padding: 4px;
}

#sidebar {
  width: 200px;
  float: right;
}

#footer {
  clear: both;
  color: #335283;
  padding: 1em;
  text-align: center;
}
#footer p {
  margin: 0;
}

div.page small {
  display: none;
}

/* Menu */
div.menu {
  margin: 0 -4px;
  line-height: 2;
}
div.menu ul {
  list-style-type: none;
  padding-left: 0;
}
div.menu ul li {
  display: inline;
}
div.menu a {
  color: #fff;
  font-size: 1.168em;
  text-decoration: none;
  padding: 0 0.4em;
  line-height: 1.7;
  font-weight: bold;
}
div.menu .current_page_item a,
div.menu .current_page_parent a {
  text-decoration: underline;
}
div.menu a:hover {
  color: #335283;
}
#submenu {
  background-color: #c31040;
  margin: -4px -12px 1em -12px;
}
  
#header-menu {
  position: absolute;
  bottom: 0;
  left: 280px;
}
/* Fixes for sidebar */
#sidebar div.widget {
  margin-bottom: 36px;
}
#text-275604741 {
  padding: 10px;
}

/* Recent news */
#recent-news ul {
  list-style-type: none;
}

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	padding-top: 5px;
	margin: 10px;
	-moz-border-radius: 9px;
	-khtml-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
}

#sidebar #searchform #s {
	width: 153px;
	padding: 2px;
}

#sidebar #searchsubmit {
	padding: 1px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

select {
	width: 130px;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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
	}
/* End Images */

/* Corners */
div.corner {
  position: relative;
  background-color: #fff;
  margin: 8px;
}
div.corner div.tl {
  background: transparent url('images/roundcorners.png') no-repeat scroll left top;
  height: 8px;
  width: 8px;
  left: -8px;
  top: -8px;
  position: absolute;
  z-index: -1;
}
div.corner div.tr {
  background: transparent url('images/roundcorners.png') no-repeat scroll right top;
  height: 8px;
  width: 8px;
  right: -8px;
  top: -8px;
  position: absolute;
  z-index: -1;
}
div.corner div.bl {
  background: transparent url('images/roundcorners.png') no-repeat scroll left bottom;
  height: 8px;
  width: 8px;
  left: -8px;
  bottom: -8px;
  position: absolute;
  z-index: -1;
}
div.corner div.br {
  background: transparent url('images/roundcorners.png') no-repeat scroll right bottom;
  height: 8px;
  width: 8px;
  right: -8px;
  bottom: -8px;
  position: absolute;
  z-index: -1;
}
div.corner div.t {
  background-color: #fff;
  height: 8px;
  width: 100%;
  top: -8px;
  left: 0px;
  position: absolute;
  z-index: -1;
}
div.corner div.b {
  background-color: #fff;
  height: 8px;
  width: 100%;
  bottom: -8px;
  left: 0px;
  position: absolute;
  z-index: -1;
}
div.corner div.r {
  background-color: #fff;
  height: 100%;
  width: 8px;
  right: -8px;
  top: 0px;
  position: absolute;
  z-index: -1;
}
div.corner div.l {
  background-color: #fff;
  height: 100%;
  width: 8px;
  left: -8px;
  top: 0px;
  position: absolute;
  z-index: -1;
}
