/* Start of CMSMS style sheet 'daufogpede - Layout' */
/*****************
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;
   font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
   font-size: 11px;
   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;
   color: #444;
   
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #444;

}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;

}

/*****************
basic layout 
*****************/
body {
   background-color: #35241b;
   color: #6e6e6e;
}

div#background{
   position: absolute;
   background: url(uploads/daufogpede_elements/bg_.png) no-repeat;
   height: 450px;
   width: 890px; 
   padding: 200px;
   margin: -150px 0px -100px -170px;
   z-index: 100;
}

 /* this is only IE6.0 */
*html div#background{
   position: absolute;
   background: url(uploads/daufogpede_elements/bg_.png) no-repeat;
   height: 450px;
   width: 890px; 
   padding: 200px;
   margin: -150px 0px -100px -168px;
   z-index: 100;
}

 /* this is only IE7.0 */
*+html div#background{
   position: absolute;
   background: url(uploads/daufogpede_elements/bg_.png) no-repeat;
   height: 450px;
   width: 890px; 
   padding: 200px;
   margin: -150px 0px -100px -167px;
   z-index: 100;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 80px auto;     /* this centers wrapper */
   max-width: 87em; /* IE wont understand these, so we will use javascript magick */
   min-width: 70em;
   background-color: #fff;
   color: #6e6e6e;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 110px; /* adjust according your image size */
   background-color: #ffffff;
   border-bottom: 2px solid #4c3327;
}

div#logo{
   position:relative;
   width: 160px;
   height: 60px;             /* adjust according your image size */
   float: right;
   padding: 44px 20px 0 0;
   z-index: 100;
}

div#content {
   margin: 0px 110px 0px 96px;
}

div#content p a {
     color: #444; /* needed becuse footer link would be same color as background otherwise */
}

div#content img, div#content p, div#footer p, div#right p{
   position: relative;
   z-index:100;
}

div#main {
   margin: 70px 0 50px 0px;
}

 /* this is only IE7.0 */
*+html div#main {
   margin: 40px 10px 50px 10px;

}
/* this is only IE6.0 */
* html div#main {
   margin: 40px 0 50px 0px;
}

div#main img{
   border: 1px solid #4c3327;
}

div#footer{
   clear:both;
}

div#footer p {
   font-size: 0.8em;
   padding: 6px;
   text-align: center; /* centered text */
   border-top: 1px solid #35241b;
}

 /* this is only IE7.0 */
*+html div#footer p {
    padding: 4px 4px 0px 4px;
}

 /* this is only IE6.0 */
*html div#footer p {
   padding: 4px 4px 0px 4px;
}

div#footer p a {
     color: #6e6e6e; /* needed becuse footer link would be same color as background otherwise */
}

div#bottom {
    background: #fef5d8 url(uploads/daufogpede_elements/bund.jpg) no-repeat;
    height:50px;
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px solid #333;
}

/* relational links under content */
div.left49 {
  float: left;
  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
*********************/

/* HEADINGS */
div#content h1 {
   color: #6e6e6e;
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #6e6e6e;
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #e7ab0b; 
   border-left: 1.1em solid #e7ab0b; 
  line-height: 1.7em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #6e6e6e;
   font-size: 1.3em;
   line-height: 1.7em;
   margin: 0px;
}
div#content h4 {
   color: #6e6e6e;
   font-size: 1.2em;
   line-height: 1.7em;
   margin: 0px;
}
div#content h5 {
   color: #6e6e6e;
   font-size: 1.1em;
  line-height: 1.7em;
   margin: 0px;
}
h6 {
   color: #6e6e6e;
   font-size: 1em;
   line-height: 1.7em;
   margin: 0px;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 10px 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
   color: #6e6e6e;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */
/* LISTS */
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;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* Small album pictures */
div#left{
  position: relative;
  width: 300px;
  height: 330px; 
  float:left;
  margin: 0 0 0 10px;
  z-index: 200;
}

div#left td:hover{
  border: 1px solid #b4b4b4;
  background-color: #b4b4b4;
}

div#left a{
  text-decoration:none;
  color: #4c3327;
  font-weight: bold;
}

div#left td img{
  border: 1px solid white;
}

.inactive{
  border: 1px solid #4c3327;
}

.active {
   border: 1px solid #b4b4b4;
   background-color: #b4b4b4;
}

/* big album picture and text */
div#right{
   width: 420px;
   height: 350px; 
   float:right;
   margin:7px 0 10px 0;
}

div#right img{
   position:relative;
   z-index: 200;
}

div#comment{
 position: absolute;
 width:150px;
 margin-right: 10px;
 z-index: 200;
}

.txt{
   font-size: 1em;
   margin: 0 0 10px 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
   color: #6e6e6e;
}

.big_pic{
  margin-top: 6px; 
  padding: 2px;
  background-color: white;
  float:right;
}


/* End of 'daufogpede - Layout' */

