/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(/images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(/images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(/images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */



/* End of 'Accessibility and cross-browser tools' */

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


div#fpnews {margin: 6px;}
div#fpnews p.newsdate {font-size: .7em; margin: 0;}
#content div#fpnews h2 {margin: 0; padding: 0; }
div#fpnews {padding: 6px; border-right: 1px solid #ccc; }





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

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_horiz {
font-family: arial,helvetica,sans-serif;
   background-color: transparent;  /* background color for the entire menu row */
 /*  width: 100%; inkompatibel mit IE6 */
   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;
   padding: 0 0 1px 20px;
   border-bottom: 1px solid #666;

   height:1.6em;
}


/* menu list items */
div#menu_horiz li {
   flat: left; /* makes the list horizontal */
  display: inline-block;

   list-style: none; /* hides the list bullet */ 
   margin: 0 0 0 2px;
   border: 1px solid #666;

background-color: #dc8;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}

div#menu_horiz li.currentpage {
border-bottom: 2px solid #eeb
}

/* the links, that is each list item */
div#menu_horiz a {

   padding: .3em .6em .3em .6em; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; 
   color: #18507C;
font-weight: 700;

   display: block; /* IE has problems with this, fixed above */
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}

div#menu_horiz li h3 {
   padding: .2em .6em .2em .6em; 
   margin: 0; 
   text-decoration: none; 
   color: #000;
   background-color: #eeb;
   display: block; /* IE has problems with this, fixed above */
   font-size: 1em;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
                          
}


/* hover state for links */
div#menu_horiz li a:hover {
   background-color: #eeb;
}
div#menu_horiz a.activeparent:hover {
   background-color: #C3D4DF;
   color: #18507C;
}

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



/* End of 'Navigation: Simple - Horizontal' */

/* Start of CMSMS style sheet 'Navigation: Simple - Vertical' */
/********************
MENU
*********************/
#menu_vert {
font-family: arial,helvetica,sans-serif;
font-size: 1.2em;
text-align: right;
   padding: 0 13px 0 0;

}

div#menu_vert ul {padding-top: .5em}

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

}

/** 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 0.5em; /* some air for it */
   color: #000; /* this will be link color for all levels */
   font-weight: 700;
background: #dc8;
   min-height: 1em; /* Fixes IE7 whitespace bug */ 
line-height: 2.5em;
   border: 3px ridge #d90;

}

div#menu_vert a:before{
  color: #F4E0B2;
  border-right: 6px solid;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  display: inline-block;
  content: '';
  position: absolute;
  left: -9px;top:-3px;
}
div#menu_vert a {


  position: relative;
}






/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 90%;
   padding: 0.1em 0.8em 0.1em .9em;
   background-position: 1.5em center;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(/images/cms/dash.gif) no-repeat 2.8em center; 
}

/* hover state for all links */
div#menu_vert a:hover {
   background-color: #eea;
}
div#menu_vert a.activeparent:hover {
   background-color: #ffe;
   color: #000;
}

/* 
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: #ffe;
   color: #000;
}

div#menu_vert ul ul li a.activeparent {

   background-color: #ffe;
   color: #000;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {

   background-color: #fc9;
   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 
*/
div#menu_vert ul ul h3 {
display: inline;
   font-size: 90%;
   padding: 0.1em 0.8em 0.2em .8em;
   background-color: #fc9;
   color: #000;  
line-height: 2.5em;
   border: 3px ridge #d90;   
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(/images/cms/arrow-right-active.gif) no-repeat 2.7em center; 
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   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 'Layout: Top menu + 2 columns' */
/*****************
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, Geneva, Arial, Helvetica, sans-serif;
   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: 0;
}

/*
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: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #ffc;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ffd;
   color: #000;
padding-top:40px;
}

/* center wrapper, min max width */
div#pagewrapper {
border: 1px solid #aa9;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 1000px; /* IE wont understand these, so we will use javascript magick */
   min-width: 320px;
   color: black;
background: #dda url(/images/fauxcol.gif) repeat-y;
}


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

}

div#header h1 a {
/* you can set your own image here */
   line-height: 140%;

   display: block; 
   height: 90px;             /* adjust according your image size */
   /* text-indent: 180px;  this hides the text */
padding: 10px 0 0 0;
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#header h1 a:hover {background-color: transparent;}
div#header h1  img {float: left;

position: relative;
top: -30px;
left: -10px;
margin: 0 20px 0 0;
}

div#search {
   float: right;
   width: 23em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.4em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: .8em 0 1.2em 1em; /* 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 ;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
background-color: #eeb;
border: 1px solid #eeb;
}

div#content {

background-color: #dda;
   margin: 0 50px 0 230px; /* some air above and under menu and content */

   /* margin-left: 230px;  this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
 /*   margin-right: 2%; and some air on the right */

}

div#main {
background-color: #eeb;
border: 1px solid #eeb;
padding: 0 20px;
min-height: 500px;
}


div#sidebar {
background: #abf url(/images/fels2.jpg) no-repeat left bottom;



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

}

div#pole {width:200px;
background: transparent url(/images/pole1.gif) 
no-repeat 186px 0;
min-height: 580px;

}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 200px;  /* 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: #bb8; /* same bg color as in header */
}

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;
   margin: 1em;
   border-bottom: 1px dotted black;
}






/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 1.6em;  /* font size for h1 */
   line-height: 1em;
   margin-bottom: 0.2em;
}
div#content h2 {
   color: #363; 
   font-size: 1.4em; 
   text-align: left; 

 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0.5em 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.2em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.1em;
   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 */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
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;
}




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


/* new styles */

iframe.sgmap {width: 100%;
height: 500px;}
iframe.yt {width: 100%;
height: 360px;}
iframe.yt[seamless] {width: 100%;
height: 355px;
background-color:transparent;
     border: none;
    padding: 0;

}

dl#fewo dt {
font-size: 1.2em;
margin-bottom: .5em;
font-weight: bold;
}

dl#fewo dd {
margin-left: 30px;
margin-bottom: 10px;
}

dl#fewo dd p {
margin: 4px;
}



div#efa {float: right;
text-align: right;
margin: 80px 13px;
padding: 4px;
   border: 3px ridge #d90;
background-color: #dda;
font-family: arial,helvetica,sans-serif;
}

div#efa p{margin: 0;}


img.rechts {border: 1px solid #c90; float: right;
margin: 0 0 10px 25px;  width: 250px;}
img.links {border: 1px solid #c90; float: left;
margin: 4px 25px 10px 0; width: 250px;}
img.frei {border: none; float: right;
margin: 0 0 10px 20px; }

textarea {background: #ffe; width: 90%}
legend {color: #009}
form li {list-style-type: none;}
form.anfrage {width: 80%}
form.anfrage input.text {width: 50%; margin-right: 30px;}
form.anfrage input#rueckruf { margin-right: 24px;}
form.anfrage fieldset {padding: 1em;}
form.anfrage label {padding: .5em;}
form.anfrage legend {padding: .5em;}
form.anfrage textarea {margin-bottom: .5em;}
fieldset.text {text-align: right;}
fieldset {border: 1px solid #987}
input.text {background: #ffe; border: 1px solid #987}

div#gmapmarker {width: 300px !important}
div#gmapmarker p {
}

/* ------------- mobile ------------ */
      
@media screen and (max-width: 460px){
        #spalte img,
        div.rthumb,
        div.lthumb {width:100%;height:auto}
}

@media screen and (max-width: 800px){
  #main p img {width:40%;height:auto}
}

#sidebar input {display:none}

@media screen and (max-width: 780px){
  #content {margin: 0 10px 0 70px!important}
#sidebar
{
  display: block;
  position: relative;
  top: 0;
  left: 0;
  width:50px!important;
  z-index: 1;
  padding-top:90px!important;
  -webkit-user-select: none;
  user-select: none;
}

#sidebar input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: 5px;
  left: 6px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#sidebar span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  top:-80px;
    left:8px;
  background: #000;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#sidebar span:first-child
{
  transform-origin: 0% 0%;
}

#sidebar span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#sidebar input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#sidebar input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#sidebar input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#pole
{
  position: absolute;
  width: 250px;
  margin: -26px 0 0 0px;
background-color: #647291!important;

 

  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}



/*
 * And let's fade it in from the left
 */
#sidebar input:checked ~ div
{
  transform: scale(1.0, 1.0);
  opacity: 1;
}  
    
  
  
}

@media screen and (max-width: 700px){
h1 {font-size: 1.4em!important;}
}

@media screen and (max-width:572px){
.breadcrumbs {margin-top:0px!important}
#search {float:none!important;margin:30px 0 0 10px!important;text-align:left!important}
}

@media screen and (max-width: 480px){
h1 {font-size: 1.2em!important;}
  h1 img {width:40%;height:auto;}
}

@media screen and (max-width:390px){

#search {margin:40px 0 0 10px!important;}
}
