/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
family-font: "Verdana";
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: none;
 }

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #b60000; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #b60000;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   color: #ffd200;
}

/*****************
basic layout 
*****************/
body {
   background: url(uploads/images/bg.png) repeat-x;
   color: #333;
   margin:1em;    /* gives some air for the pagewrapper */
background-color: #000;
}

/* center wrapper, min max width */
div#pagewrapper {
 
   margin: 0 auto;       /* this centers wrapper */
   max-width: 907px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 907px;

   color: #ffd200;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 172px;    /* adjust according your image size */
background: url(uploads/images/header.png) no-repeat;       
}

div#header h1 a {
/* you can set your own image here */
   display: block;
   height: 172px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#muziek{
width: 300px;
padding-left: 10px;
padding-top: 130px;
}

/* position for the search box */
div#search {
   float: right;
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }

div#brief {
color: #000000;
font-family: "Times New Roman";
font-style: italic;
font-size: 16px;
background: url(uploads/images/scroll.png) no-repeat;
width: 441px;
height: 593px;
margin-left: 130px;
margin-bottom: 15px;
}
div#brief_text{
width: 365px;
height: 450px;
padding: 75px 0 0 0;
}
div#brief_stamp{
background: url(uploads/images/an_StNicolaaslogo.gif) no-repeat;
width: 96px;
height: 80px;
position: absolute;
margin: 50px 0 0 230px;
}
div#brief_voet{
background: url(uploads/images/an_StNicolaas.gif) no-repeat;
width: 380px;
height: 122px;
position: absolute;
margin: -115px 0 0 60px;
}

div#content {
font-family: "Verdana";
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
}

div#main_top{
background: url(uploads/images/main_top.png) no-repeat;
height: 50px;
margin-left: 265px;
}
div#main_middle {
background: url(uploads/images/main_middle.png) repeat-y;
   margin-left: 265px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
min-height: 365px;
}

/* fixes foto page */
div#main_middle li{
margin: 15px;
}

div#main_bottom {
background: url(uploads/images/main_bottom.png) no-repeat;
height: 60px;
margin-left: 265px;

}

/* mainbottom1 and 2 fixes black space "brieven van sint"*/

div#main_bottom1 {
background: url(uploads/images/main_bottom.png) no-repeat;
height: 60px;
margin-left: 265px;
margin-top: -18px;
}

div#main_bottom2{
background: url(uploads/images/main_bottom.png) no-repeat;
height: 60px;
margin-left: 265px;
margin-top: -15px;
}

/* dagboek divs */

div#closed_book{
background: url(uploads/images/book/closed_book_01.png) no-repeat;
width: 288px;
height: 412px;
}
div#closed_book_arrow{
background: url(uploads/images/book/closed_book_02.png) no-repeat;
width: 33px;
height: 70px;
float: left;
}
div#closed_book_bottom{
background: url(uploads/images/book/closed_book_03.png) no-repeat;
width: 255px;
height: 70px;
float: right;
}

div#closed_book_back{
background: url(uploads/images/book/closed_book_back_01.png);
width: 288px;
height: 416px;
}

div#closed_book_back_bottom{
background: url(uploads/images/book/closed_book_back_02.png);
width: 256px;
height: 66px;
float: left;
}

div#closed_book_back_arrow{
float: right;
}


div#open_book {
background: url(uploads/images/book/open_book_01.png) no-repeat;
width: 583px; height:337px; 
padding-top:20px;
}

div#left_content {
width: 240px; height: 338px;
position:absolute;
margin-top: 18px;
margin-left: 45px;
overflow: hidden;
}

div#left_content p {
font-size: 12px;
color: #000;
margin-left:0px;
margin-right:0px;
line-height: 1.2em;
}
div#separator {
border-left: solid 1px black;
width:1px; height: 360px;
position:absolute;
margin-left: 295px;
margin-top: 20px;
}

div#right_content {
width: 230px; height: 337px;
position: absolute;
margin-left: 310px;
margin-top: 18px;
overflow: hidden;
}

div#right_content p {
font-size: 12px;
color: #000;
margin-left:0px;
margin-right: 0px;
line-height: 1.2em;
}

div#left_corner { 
background: url(uploads/images/book/open_book_02.png) no-repeat;
width: 40px; height:43px; 

}

div#left_arrow {
background: url(uploads/images/book/open_book_03.png) no-repeat;
width: 28px; height:43px; }


div#middle_bar {
background: url(uploads/images/book/open_book_04.png) no-repeat;
width: 448px; height:43px; 

}

div#right_arrow{
background: url(uploads/images/book/open_book_05.png) no-repeat;
width: 27px; height:43px; }

div#right_corner {
background: url(uploads/images/book/open_book_06.png) no-repeat;
width: 40px; height:43px; }

.book_table {
border-collapse:collapse;
margin-left: 25px;
}

.book_closed_table {
border-collapse:collapse;
margin-left: 300px;
}

/* einde dagboek-divs */

/* bakpiet divs */

div#bakpiet_bg {
background: url(uploads/images/bakpiet_bg.png) repeat-y;
padding: 0 0 0 100px;
margin-left: 4px;
min-height:700px;
}

div#bakpiet {
background: url(uploads/images/bakpiet.gif);
width:200px;
height: 272px;
position: absolute;
margin: 450px 0 0 15px;
}

div#bakpiet_spreekwolk {
background: url(uploads/images/bakpiet_spreekwolk2.png);
width: 472px;
height: 294px;
position: absolute;
margin: 220px 0 0 140px;
}

/* einde bakpiet divs */
div#sidebar_top_top {
width: 130px;
height: 130px;
margin-top: -108px;
margin-left: 29px;
background: url(uploads/images/menu_top3_top.png);
position: absolute;
}
div#sidebar_top_left {
width: 45px;
height: 176px;
margin-top: -108px;
margin-left: -16px;
background: url(uploads/images/menu_top3_left.png);
position: absolute;
}

div#sidebar_top {
font-family: "Lucida Handwriting";
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 250px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
background: url(uploads/images/menu_top.png);
height: 50px;
}

div#sidebar_middle {
font-family: "Lucida Handwriting";
background: url(uploads/images/menu_middlenieuw.PNG) no-repeat;
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 250px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
  width: 250px;
   margin-left: 0;
line-height: 150px;
margin-top: 0px;


}
div#sidebar_bottom {
font-family: "Lucida Handwriting";
background: url(uploads/images/menu_bottom.png) no-repeat ;
width: 250px;
height: 150px;
margin-top: -33px;
position: block;
}

div#divje{
height: 30px;
}

div#banner{
height: 50px;
width: 190px;
margin-top: -15px;
margin-left: px;
position: block;
visibility: visible;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
font-family: "Verdana";
background: url(uploads/images/footer.png) no-repeat;
width: 907px;
height: 75px;

}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
	color: #ffd200; 
font-family: "Lucida Handwriting";
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #ffd200; 
	font-size: 16pt;
font-family: "Lucida Handwriting"; 
	text-align: left; 
/* some air around the text */
	padding-left: 30px;
	padding-bottom: 1px;


        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
font-family: "Lucida Handwriting";
   color: #ffd200; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 30px;
}
div#content h4 {
font-family: "Lucida Handwriting";
   color: #ffd200; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
font-family: "Lucida Handwriting";
   color: #ffd200; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
font-family: "Lucida Handwriting";
   color: #ffd200; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 30px 1.5em 30px; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'Layout: Left sidebar + 1 column' */

