/***** Colours *****/

/* gray */
div#categorymenu li, div#pagemenu li {
   border-color:#5b5f70;
}


/* yellow */
div#categorymenu li.active, div#pagemenu li.active, div#content a {
   border-color:#fccd22;
}


/* blue */
div#categorymenu li.active, div#pagemenu li.active, div#content a {
   color:#264672;
}



/***** Borders *****/

div#categorymenu li {
   border-width:0.3em 0.1em 0 0;
   border-style:solid;
}

div#pagemenu li {
   border-width:0.1em 0em 0 0.3em;
   border-style:solid;
}


/***** Rounded corners *****/

div#categorymenu li {
   border-top-right-radius:0.5em;
}

div#pagemenu li {
   border-top-left-radius:0.5em;
}


/***** Links and images *****/

img {
   border-style:none;
}

div#content a {
   text-decoration:underline;
}

a {
   color:inherit;
   text-decoration:none;
}

a:hover {
   text-decoration:underline;
}



/***** Fonts *****/

@font-face {
   /* http://moorstation.org/typoasis/designers/steffmann/index.htm */
   font-family: "Rotunda";
   src: url(fonts/TypographerRotunda-Alt.otf) format("opentype");
}

@font-face {
   /* http://moorstation.org/typoasis/designers/steffmann/index.htm */
   font-family: "Kanzlei";
   src: url(fonts/Flaemische_Kanzleischrift.ttf) format("truetype");
}

@font-face {
   /* http://moorstation.org/typoasis/designers/steffmann/index.htm */
   font-family: "Zentenar Fraktur";
   src: url(fonts/Zent.otf) format("opentype");
}

@font-face {
   /* http://moorstation.org/typoasis/designers/steffmann/index.htm */
   font-family: "Moderne Fraktur";
   src: url(fonts/ModerneFraktur.ttf) format("truetype");
}

@font-face {
   /* http://moorstation.org/typoasis/designers/steffmann/index.htm */
   font-family: "Alte Schwabacher";
   src: url(fonts/AlteSchwabacherOSF.ttf) format("truetype");
}

@font-face {
   /* A font by Jos Buivenga (exljbris) -> www.exljbris.com */
   font-family: "Delicious";
   src: url(fonts/Delicious-Roman.otf) format("opentype");
}

@font-face {
   font-family: "Tangerine";
   src: url(fonts/Tangerine_Regular.ttf) format("truetype");
}

@font-face {
   font-family: "Cantarell";
   src: url(fonts/Cantarell-Regular.ttf) format("truetype");
}

@font-face {
   /* A font by Jos Buivenga (exljbris) -> www.exljbris.com */
   font-family: "Calluna";
   src: url(fonts/Calluna-Regular.otf) format("opentype");
}

@font-face {
   font-family: "Vollkorn";
   src: url(fonts/Vollkorn-Regular.ttf) format("truetype");
}

body {
   font-family:"Calluna","Vollkorn",serif;
}

div#categorymenu, div#pagemenu, h1, h2, h3 {
   font-family:"Delicious","Cantarell",sans-serif;
}


div#categorymenu li {
   font-weight:bold;
   font-size:125%;
}

div#pagemenu li {
   font-weight:bold;
}

h1 {
   font-weight:bold;
   font-size:141%;
}

h2 {
   font-weight:bold;
   font-size:119%;
}

h3 {
   font-weight:bold;
   font-size:109%;
}

.sc {
   font-variant:small-caps;
}



/***** Spaces and other properties *****/


div.image {
   float:right;
}

h1 {
   margin:0;
   margin-bottom:0.5em;
   padding:0;
   text-align:center;
}

h2 {
   margin:0;
   padding:0;
   text-align:left;
}

div#header {
   margin-bottom:1em;
}

div#categorymenu {
   margin:0;
   margin-bottom:2em;
   padding:0;
   text-align:center;
}

div#categorymenu ul {
   list-style-type:none;
   display:inline-block;
   margin:0;
   padding:0;
   width:100%;
}

div#categorymenu li {
   display:inline-block;
   position:relative;
   margin:0 0.5em;
   width:8em;
   line-height:2;
}

div#pagemenu {
   float:left;
   width:11em;
}

div#pagemenu ul {
   margin:0;
   padding:0;
}

div#pagemenu li {
   list-style:none;
   margin:0;
   margin-bottom:0.5em;
   padding:0.5em 1em;
}


div#content {
   margin:0;
   margin-left:12em;
   padding:0 0.5em;
}

div#content img {
   padding:7px;
}

div#footer {
   clear:both;
   padding-top:0.5em;
   padding-bottom:0.5em;
}

address {
   float:right;
}
