body {
  margin: 0;
  border: 0;
  padding: 0;
  color: black;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 80%;
  text-align: center;
  background: #ffffff url('background.jpg') repeat-y top center;
}

body#home {
  background-image: url('background_home.jpg');
}

h1, h2, h3, h4, h5, h6 { padding: 0; margin: 0; }
h4 { font-size: 100%; margin: 8px 0 0 0; }
p { margin: 0 0 8px 0; }
a { color: #5e459b; text-decoration: underline; }
a:hover { text-decoration: none; }
a:visited { color: #8f0000; }
a img { border: none; }

#site{
  width: 896px;
  margin: 0em auto;
  text-align: left;
}

#pageheader {
  background-color: white;
  height: 64px;
}

#pageheader h1 { display: none; }

#pagefooter {
  clear: both;
  text-align: center;
  font-size: 80%;
}

div.mainnav
{
  background: #ff8b00 url('one_block.jpg') no-repeat top left;
  position: absolute;
  top: 64px;
  width: 164px;
  height: 100%;
}
div.mainnav a { color: black; text-decoration: none; }
div.mmainnav a:hover { text-decoration: underline; }
div.mainnav a:visited { color: black; }
div.level1
{
  background-image: url('three_blocks.jpg');
}
div.level2
{
  background-image: url('two_blocks.jpg');
}
ul.subnav
{
  list-style-type: none;
  margin: 50px 0 16px 0;
  padding: 0;
}
ul.subnav ul.level3 /* second level ul */
{
  padding: 0 0px 0 15px;
  margin: 0;
}
ul.subnav li
{
  padding: 0 5px 0 22px;
}
ul.subnav li.active
{
  background: url('one_block.jpg') no-repeat center left;
}
ul.level1 li
{
  margin:16px 0;
  font-weight: bold;
}
ul.level2 li
{
  margin:0;
  font-size:90%;
}

#languageswitch a { color: #ffffff; }
#languageswitch a:hover { color: #ffffff; }
#languageswitch a:visited { color: #ffffff; }

ul#universities
{
  margin:0;
  padding:0;
}

ul#universities li
{
  list-style-type: none;
}

ul.navpath
{
  margin:0;
  padding:10px 0;
  font-size:75%;
  list-style-type: disc;
}
ul.navpath li
{
  display:inline;
  padding:0 10px 0 0;
}
ul.navpath li a,ul.navpath li a:hover,ul.navpath li a:visited
{
  text-decoration:none;
}
ul.navpath span.separator
{
  padding:0 0 0 10px;
}

#content {
  position: absolute;
  top: 64px;
  margin-left: 164px;

  width: 494px; /* 510-2*8 */
  padding: 8px;
  
}

#home #content {
  width: 494px;
}

#rootheader {
  margin: -8px -8px 0 -8px;
  background-color: #b8b8ba;
  color: white;
  width: 510px;
  height: 8em;
  clear: both;
}

#subheader {
  margin: -8px -8px 0 -8px;
  background-color: #b8b8ba;
  color: white;
  width: 510px;
  height: 103px;
  clear: both;
}

#default #contentheader span { display: none; }
#default #contentheader h2 {
  width: 500px;
  height: 45px;
}

#default #contentheader h3 {
  width: 496px;
  height: 45px;
}

#contentheader h2 {
  color: #ddd8d2;
  font-size: 300%;
  margin-left: 5px;
  margin-right: 5px;
}

#home #contentheader {
  height: 320px;
  width: 732px;
  background: #b8b8ba url('home_image.jpg') no-repeat top center;
  margin-bottom: 50px;
}

#saihome #contentheader{
  height: 320px;
  width: 732px;
  background: #b8b8ba url('http://www.3tu.nl/fileadmin/tmpl/sai_internet.jpg') no-repeat top center;
  margin-bottom: 50px;
}

#home #contentheader h2 {
  color: white;
  font-size: 100%;
  padding-top: 270px;
  margin: 0px 8px 4px 8px;
}

#content #subheader h2 {
 color: #DBD9D3;
 font-size: 300%;
 margin-left: 8px;
}

#content #subheader h3 {
 margin-left: 8px;
}

#saihome #contentheader h2 {
  color: white;
  font-size: 100%;
  padding-top: 270px;
  margin: 0px 8px 4px 8px;
}

#saipathmenu {
  margin: 0px;
  padding: 0px 8px 4px 8px;
  background-color: #cccccc;
  }

#contentheader h3 {
  font-size: 100%;
  margin-left: 7px;
  margin-right: 7px;
}

#home #contentheader h3
{
  padding-bottom: 8px; /* Margin doesn't work in Firefox :( */
}

.news {
  margin: 0 -8px 0 -8px;
  width: 732px; /* 510+222 */
  height: 150px;
  border-top: 1px solid #ddd8d2;
  border-bottom: 8px solid #ddd8d2;
}

.news-article {
  margin: 0 -8px 0 -8px;
  width: 732px; /* 510+222 */
}

.news-content {
  float: left;
  width: 493px; /* 510-2*8 */
  padding: 8px;
  height: 134px; /* 150-2*8 */
  border-right: 1px solid #ddd8d2;
}

.news-img {
  margin: 0;
  padding: 0;
  float: right;
  width: 222px;
  height: 150px;
  background-color: #ddd8d2;
}

.news .news-img a {
  display: block;
  padding-right: 5px;
  text-align: right;
  color: #5e459b;
  font-weight: bold;
}

.news-morelink a { color: #29964d; font-weight: bold; }
.news .news-img a:visited, .news-morelink a:visited { color: #8f0000; }


