/* Start of CMSMS style sheet 'Module: News' */
div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  border: 1px solid #000; 
  background: #FFE9AF; 
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

.NewsSummary {
    padding: 0.5em 0.5em 1em; /* padding for the news article summary */
    margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
    border-bottom: 1px solid #ccc; 
}

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummaryLink {
    font-weight: bold;
    padding-top: 0.2em;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
 }

.NewsSummaryMorelink {
  padding-top: 0.5em;
}

#NewsPostDetailDate {
  font-size: 90%;
  margin-bottom: 5px;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */

/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/
/* End of 'Module: News' */

/* Start of CMSMS style sheet 'Navigation: Simple - Horizontal' */
/********************
MENU
*********************/

/* hack for Internet Explorer */
* html div#menu_horiz {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

#menu_horizHome{
float: right;
width: 90px;
height: 30px;
}

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_horiz {
   background-color: #edebda;  /* background color for the entire menu row */
   width: 940px;
   margin: 0;
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   margin: 0;
   height: 33px;
   background: #fff url(images/niclaw/bg_logo.gif) no-repeat top right;
}

div#home {
   position: relative;
   margin-top: -35px;
   float: right;
   height: 25px;
   width: 90px;
}

div#home a.home{
   background-color: transparent;
}

/* menu list items */
div#menu_horiz li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0;
   padding-left: 15px;
   padding-right: 0px;
}


/* the links, that is each list item */
div#menu_horiz a {
   padding-top: 0px; /* padding inside the list item box */
   padding-bottom: 0px;
   margin:0px; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #666666;
   display: block; /* IE has problems with this, fixed above */
   text-transform: uppercase;
   background-color: #edebda;
} 


/* hover state for links */
div#menu_horiz li a:hover {
   background-color: #edebda;
   color: #000;
}
div#menu_horiz a.activeparent:hover {

   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #000;
   background-color: #edebda;
   display: block; /* IE has problems with this, fixed above */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
   font-weight: normal;
   text-transform: uppercase;
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a {
   color: #000;
   padding-top: 11px; /* padding inside the list item box */
padding-bottom: 3px;
}

div#menu_horiz h3 {
   padding-top: 11px; /* padding inside the list item box */
padding-bottom: 3px;
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #000;
   background-color: #edebda;
   display: block; /* IE has problems with this, fixed above */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
   font-weight: normal;
   text-transform: uppercase;
}

div#menu_horiz ul li.currentpage{
   height: 32px;
   background-color: #738d38;
   padding:0;
}

div#menu_horiz ul li.currentpage h3{
padding-left: 0px;
}

div#menu_horiz ul li.activeparent  a.activeparent{
padding: 0px;
margin: 0px;
}

div#menu_horiz ul li.activeparent{
   height: 32px;
   background-color: #738d38;
   padding: 0em;
}


div#menu_horiz ul li.notcurrent{
   padding: 0px;
}
/* End of 'Navigation: Simple - Horizontal' */

/* Start of CMSMS style sheet 'Navigation: Simple - Vertical' */
/********************
MENU
*********************/
#menu_vert {
   padding-top: 8px;
   margin: 0px;
   width: 320px;
   min-height: 296px;
}

#menu_vert_home{
   padding: 0;
   margin-top: -7px;
   width: 350px;
   height: 341px;
   background: #385C72 url(uploads/images/bg_start.gif) no-repeat 0 0; 
}

a{
outline: none;
}
/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   display: block;
}

#menu_vert ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
 padding: 0.8em 0.5em 0.8em 1.5em;   /* some air for it */
   color: #999999; /* this will be link color for all levels */
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 95.8%;
   padding: 8px 8px 0px 18px;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
}

/* hover state for all links */
div#menu_vert a:hover {
   color: #738D38;
}
div#menu_vert a.activeparent:hover {
   color: #738D38;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   background-color: #385C72;
   color: #fff;
}

div#menu_vert ul ul li a.activeparent {
   background-position: 1.5em center; 
   background-color: transparent;
   color: #738D38;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul .subnavi {
   background-color: #385C72;
   display: block; 
   padding: 0.8em 0.5em 0.8em 1.5em;  /* some air for it */
   color: #fff;                                 /* this will be link color for all levels */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
Subnavigation grün evtl. fett
*/
div#menu_vert ul ul .subnavi {
   font-size: 95.8%;
   padding: 8px 8px 0px 18px;
   background-position: 1.4em center;
   background-color: transparent;
   border-bottom: none;
   color: #738D38;
   font-weight: normal;     
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 140%;
   font-weight: normal;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}



/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}
/* End of 'Navigation: Simple - Vertical' */

/* Start of CMSMS style sheet 'niclaw - Standard' */
/*****************
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: Arial, Verdana, Geneva, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
   letter-spacing: 1px;
}

img {
   border: none;
}
/*
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: 0;
}



/*****************
basic layout 
*****************/
body {
   background-color: #edebda;
   color: #333;
   margin:0; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 50px 0;     /* this centers wrapper */
   max-width: 940px; /* IE wont understand these, so we will use javascript magick */
   min-width: 940px;
   background-color: #fff;;
   color: black;
}


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

div#header {
   height: 80px; /* adjust according your image size */
   background: #385C72;           
}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; 
   display: block; 
   height: 80px;             /* 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#main {
   /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */

   margin-right: 0px; /* and some air on the right */
   margin-left: 400px;
}

div#main {
margin-top: 30px;
border: 0px solid #000;
}

div#white{
   position: absolute;
   width: 525px;
   height: 29px;
   background-color: #fff;
   top: 572px;
   left: 400px;
}

div#sidebar {
  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 280px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
   margin-top: 0px;
float:left;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #edebda; /* same bg color as in header */
   width: 940px;
}

div#footer p {
   font-size: 10px;
   padding: 0.8em 0 0 0;      /* some air for footer */
   text-align: right; /* centered text */
   margin:0;
   text-transform: uppercase;
}

div#footer p a {
   color: #737272;
   text-decoration: none;
   padding-left: 10px;
}

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

/********************
CONTENT STYLING
*********************/
div#content {
margin-top: 0px;
width:940px;
}

/* HEADINGS */
div#content h1 {
   font-size: 32px;  /* font size for h1 */
   line-height: 16px;
   margin: 0;
}
div#content h2 {
   width: 400px;
   color: #000; 
   font-size: 25px; 
   text-align: left;
   font-family: Arial;
   font-weight: bold;
   font-style: italic; 
/* some air around the text */
   padding-left: 0;
   padding-bottom: 1px;
   line-height: 25px;
/* and some air under the border */
   margin: 6px 0 20px 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */

#content p {
   font-size: 12px;
   line-height: 18px;
   padding-bottom: 12px;

}
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 */

/* NICLAW TEXT */
div#main .text {
float: left;
   padding: 0;
   width: 455px;
   margin-left: 0px;
}

/* NICLAW LOGO IM TEXT */
img.niclawlogo{
vertical-align: -0.1em;
}

/* VISITENKARTE */
#adresse{
   padding-top: 10px;
   margin-left: 18px;
   color: #727171;
}

#adresse p{
   font-size: 11px;
}

#tel{
   margin-left: 18px;
   color: #727171;
   font-size: 11px;
}

#tel p{
   font-size: 11px;
}

#balken{
   margin-left: 0px;
   background-color: #f1eee2;
   width: 350px;
   height: 7px;
}

/* FORMULAR */
table.pagetable{
   padding:0px; 
   margin-left: -12px;
}
textarea#m4fbrp__7{
   border: 1px solid #000;
   height: 180px;
   width: 400px;
}

input#fbsubmit1.fbsubmit{
   border: 1px solid #000;
   padding: 3px;
   background-color: #fff;
   color: #000;
   float: right;
   margin-right: 12px;
}

input#m4fbrp__4{
   border: 1px solid #000;
   background-color: #fff;
   height: 14px;
}

input#m4fbrp__5{
   border: 1px solid #000;
   background-color: #fff;
   height: 14px;
}

input#m4fbrp__6{
   border: 1px solid #000;
   background-color: #fff;
   height: 14px;
}

fieldset{
   border: none;
}

.contactform div{
   background-color: #fff;
}

div.contactform fieldset{
   border: none;
   background-color: #fff;
}

div.text a {
  color: #000;
  text-decoration: underline; 
}

div.textoverflow a:hover {
  color: #000;
  text-decoration: underline; 
}

div.textoverflow a {
  color: #000;
  text-decoration: underline; 
}

div.text a:hover {
  color: #000;
  text-decoration: underline; 
}

a{
  color: #333;
  text-decoration: none; 
}

a:hover {
  color: #000;
  text-decoration: none; 
}

/*LOGO FOR PRINT WHITE */
div#niclaw_logo_white{position: absolute;
visibility:hidden;}
/* End of 'niclaw - Standard' */

/* Start of CMSMS style sheet 'niclaw - TextTop BildUnten' */
/* NICLAW TEXT TOP */
div#main_kanzlei {
float: right;
width: 590px;
margin-top: 0px;
border: 0px solid #000;
}

div#main_kanzlei .texttop {
   padding-left: 14px;
   width: 569px;
}

/* NICLAW BILD UNTEN */
div#main_kanzlei .bildunten{
   margin: -4px 0 0 0;
   padding: 0;
   float: right;
   width: 590px;
}

div#main_kanzlei .bildunten img{
   width: 590px;
}

div#main_kanzlei .balkenstart {
   width: 6px;
   height: 127px;
   float: left;
   margin-top: -7px;
   background-color: #e4e1d5;
}


/* End of 'niclaw - TextTop BildUnten' */

