/* CSS Main Stylesheet for regionalgeschichte.net 4.0 */

/* Temp CSS */

dfn.section,
div.sectionmenu dfn {
  display: none;
}

/* Reset & base-config */

@font-face {
  font-family: Axel;
  src: url('../fonts/Axel-Regular.ttf');
}

@font-face {
  font-family: Axel;
  font-weight: bold;
  src: url('../fonts/Axel-Bold.ttf');
}

@font-face {
  font-family: Droid Serif;
  src: url('../fonts/DroidSerif-Regular.ttf');
}

@font-face {
  font-family: Droid Serif;
  font-weight: bold;
  src: url('../fonts/DroidSerif-Bold.ttf');
}

@font-face {
  font-family: Droid Serif;
  font-style: italic;
  src: url('../fonts/DroidSerif-Italic.ttf');
}
*/

html {}

body {

  margin: 0;
  padding: 0;
  font-family: "Droid Serif", Cambria, Georgia, Times, Serif;
  font-size: 100%;
  background: url(../images/bg_header.png) top left repeat-x;
}

h1 {
  margin: 0;
}

a {
  text-decoration: none;
  color: #4868DE;
}

a:hover {
  text-decoration: underline;
}

div#container {
  position: relative;
  width: 960px;
  margin: 0 auto 0 auto;
}



/* #################### Header ####################################*/

header {
  position: relative;
  display: block;
  margin: 0;
  height: 189px;
  /* width: 100%; */
  z-index: 40;
  /* box-shadow: inset 5px -5px 5px #ccc; */
}

body#zentrale-dienste header {
  box-shadow: none;
}

header div#logobg {
  position: absolute;
  top: 0em;
  left: -10em;
  width: 600px;
  height: 200px;
  background: url(../images/bg_logo.png) no-repeat;
  z-index: -51;
  overflow: hidden;
}

header div#logowrap {
  position: absolute;
  top: 1em;
  left: -0.5em;
  z-index: 1000; /* sonst unter dem h1 Element */
}

header div#logowrap img {
  border: none;
  width: 239px;
  height: auto;
}

/* NAVMETA */

div#meta {
  position: relative;
  height: 2em;
  border-bottom: 1px #ccc solid;
  margin: 0 0 0 14.2em;
  z-index: 50;
}

header div#meta ul {
  position: relative;
  /* clear: left; */
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0 0 0 1em;
  font-family: "Trebuchet MS", Verdana, Helvetica;
  font-size: 0.9em;
  font-weight: bold;
  color: #999;
  z-index: 50;
}

header div#meta ul li {
  float: left;
  width: 6em;
  padding: 0.5em;
}

header div#meta ul li a {
  text-decoration: none;
  color: #999;
  padding-right: 1em;
  background: url(../images/meta_pfeil.png) center right no-repeat;
}

header div#meta ul li ul {
  position: absolute;
  left: -2999em;
  width: 11em;
  margin: 0 0 0 0;
  padding: 0;
  color: white;
  font-weight: normal;
  z-index: 90;
}

header div#meta ul li:hover,
header div#meta ul li:hover a {
  background-color: #999;
  color: white;
}

header div#meta ul li:hover a {
  background: url(../images/meta_pfeil_hover.png) center right no-repeat;
}

header div#meta ul li:hover ul {
  position: absolute;
  left: auto;
  margin: 0.5em 0 0 -0.6em;
  padding: 0.5em 0 1em 0;
  background-color: #999;
  /*box-shadow: 4px 4px 5px #000; */
}

header div#meta ul li:hover ul li {
  width: 10em;
  padding: 0 0.5em 0 0.5em;
}

header div#meta ul li:hover ul li a {
  display: block;
  width: 100%;
  color: white;
  text-decoration: none;
  background: none;
}

header div#meta ul li:hover ul li a:hover {
  text-decoration: underline;
}

header div#meta ul li.home {
  width: 2em;
}


header div#meta ul li.home a,
header div#meta ul li.home:hover a,
header div#meta ul li.home:hover {
  background: none;
}

header div#meta ul li.home span {
  display: block;
  position: absolute;
  left: -10000px;
}

header div#meta ul li.home img {
  border: none; /* for IE */
}


/* Überschrift */

header h1 {
  position: relative;
  padding: 1.5em 0 2.11em 0;
  font-family: Axel, Calibri, Helvetica, Arial;
  font-weight: normal;
  z-index: 0;
}

header h1 span {
  font-weight: bold;
}

header h1,
header h1 a,
header h1 a:hover {
  color: #794C24;
  text-decoration: none;
}

header img#beta {
  position: absolute;
  top: 0.5em;
  left: -7em;
  z-index: 2000;
  border: none;
}


/* ################ Searchbox ################### */

#searchbox {
  z-index: 40;
  position: absolute;
  top: 4em;
  right: 0.5em;
  background-color: transparent;
  width: 23em;
  -webkit-filter: drop-shadow( 0 0 10px #ddd);
  filter: drop-shadow( 0 0 10px #ddd);
}

#searchfield {
  width: 12.5em;
}


/* Search Box -> Sollte auf dem Produktivsystem lieber in main.css landen */

#searchbox form{
    position: relative;
    top: 50%;
    left: 100%;
    transform: translate(-100%,0);
    transition: width 0.5s ease-out;
    width: 68px;
    height: 68px;
    background: white;
    box-sizing: border-box;
    border-radius: 40px;
    border: 4px solid white;
    padding: 5px;
}

#search_text{
  background-color:white;
  color:#f08800;
}

#search_text{
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 60px;
    line-height: 30px;
    outline: 0;
    border: 0;
    font-size: 1.2em;
    border-radius: 40px;
    padding: 0 20px;
    display: none;
}

#search_button{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  vertical-align: midddle;
  margin: 0;
  padding: 0;
  border:0;
  ouline:0;

  display:block !important;
  background-color:yellow;
  
  background:url('../images/Lupe_256x256px.svg');
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
}


#search_button{
    box-sizing: border-box;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: #f6b563;
    color:white;
    text-align: center;
    font-size: 3em;
    transition: background-color 0.5s, background-size 0.2s ease;
    outline: 0;
    border: 0;
    padding-top: 0;
    cursor: pointer;
}

/* focus-within is not supported by edge and IE; split it, so those don't ignore the whole block*/
#searchbox form:hover{
    width: 23em;
    cursor: pointer;
}

#searchbox form:focus-within{
    width: 23em;
}

#searchbox form:hover #search_text,
#searchbox form:hover #search_button{
    display: block !important;
}

#searchbox form:focus-within #search_text,
#searchbox form:focus-within #search_button{
    display: block !important;
}

#searchbox form:hover #search_button{
    background-color: #f08800 !important;
    background-size:38px;
    color: white;
}

#searchbox form:focus-within #search_button{
    background-color: #f08800 !important;
    color: white;
}


/* ################ Navigation ################### */

#navregion,
#navmain {
  display: block;
  position: relative;
  font-family: Axel, Calibri, Helvetica, Arial;
  list-style-type: none;
  z-index: 30;
  font-size: 0.9em;
}

#navregion {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  z-index: 150;
}



#navregion a {
  display: block;
  float: left;
  min-width: 6em;
  margin: 0 3px 0 0;
  border: 1px #794C24 solid;
  padding: 5px 10px 5px 10px;
  font-size: 1em;
  font-weight: bold  ;
  background-color: white;
  text-align: center;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-radius: 5px;
  -khtml-border-top-radius: 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  box-shadow: inset 0 -5px 5px #ccc;
  color: #794C24;
  text-decoration: none;
}

#navregion a.region,
#navregion a.regionactive {
  padding-left: 30px;
  background: url(../images/region_home.png) no-repeat 10% 40%;
  background-color: white;
}

#navregion a.region:hover,
#navregion a.regionactive {
  background: url(../images/region_home_weiss.png) no-repeat 10% 40%;
}

#navregion a.active,
#navregion a:hover,
#navregion a.region:hover,
#navregion a.regionactive {
  background-color: #794C24;
  box-shadow: none;
}

#navregion a.active,
#navregion a:hover,
#navregion a.regionactive {
  color: white;
}


/* ##################### NAVMAIN ############################ */


div#navmain {
  z-index: 40;
  position: relative;
  width: 100%;
  margin-bottom: 3em;
  border-top: 4px #794C24 solid;
  height: 4.5em;
  background: url(../images/bg_navmain.png) repeat-x;
}

div#navmain nav {
  display: block;
  z-index: 30;
  height: 110%;
  position: relative;
  border-left: 1px white solid;
}

div#navmain nav li {
  min-width: 12em;
  float: left;
  border-right: 1px white solid;
}

div#navmain nav li.ortsstartseite {
  min-width: 0;
  width: 3em;
}

div#navmain nav li.ortsstartseite a {
  padding: 14px 10px 14px 10px
}

div#navmain nav li.ortsstartseite span {
  display: block;
  position: absolute;
  top: 0;
  left: -55555px;
}

/* for IE8 */
div#navmain nav li.ortsstartseite img {
  border: 0px;
}

div#navmain nav li a {
  display: block;
  padding: 14px 20px 14px 20px;
  color: white;
  text-decoration: none;
  font-size: 0.9em;
  min-height: 3.4em;
}

div#navmain nav li a span {
  font-size: 1.8em;
}

div#navmain nav li.active {
background: url(../images/bg_navmain_active.png) repeat-x;
box-shadow: inset 2px 2px 2px #000;
-moz-box-shadow: inset 2px 2px 2px #000;
-webkit-box-shadow: inset 2px 2px 2px #000;
}

div#navmain nav li:hover {
background: url(../images/bg_navmain_active.png) repeat-x;
}


/* Ausklappmenü */

div#navmain nav li ul {
  margin: 0 0 0 -0.5em;
  padding: 0;
  position: absolute;
  left: -2999em;
  width: 11em;
  color: white;
  font-weight: normal;
  z-index: 90;
}

div#navmain nav li.sub a {
  background: url(../images/bg_navmain_pfeil.png) 50% 90% no-repeat;
}
div#navmain nav li:hover {
  background: url(../images/bg_navmain_dropdown.png) top left repeat-x;
}


div#navmain nav li:hover,
div#navmain nav li:hover a {
  color: white;
}

div#navmain nav li:hover ul {
  position: absolute;
  left: auto;
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 1.1em;
  background: url(../images/bg_navmain_dropdown_2.png) 0 50% repeat;
  box-shadow: 3px 3px 3px #4F4F4F;
}

div#navmain nav li:hover ul li  {
  float: left;
  border: none;
  background: none;
  padding: 0 1em 0 1em;
}

div#navmain nav li:hover ul li a {
  width: 10em;
  display: block;
  border-bottom: 1px #F1C580 solid;
  padding: 0.5em 0 0.5em 0;
  background: none;
  min-height: 0;
}

div#navmain nav li:hover ul li.last a {
  border-bottom: none;
}

div#navmain nav li li:hover a {
  text-decoration: underline;
}


/* ################## BROTKRUMENPFAD ############################ */

section div#rootline {
  height: 2em;
  /* margin-bottom: 1em; */
  font-size: 0.9em;
  overflow: hidden;
  font-family: Axel, Calibri, Helvetica, Arial;
  color: #794C24;
  width: 100%;
}

section div#rootline ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

section div#rootline ul li {
  float: left;
  padding-right: 0.2em;
}

section div#rootline a {
  color: #794C24;
}

/* ################ CONTENT-COLUMNS ########################## */

section {
  position: relative;
  /*height: 1%;
  overflow: hidden;*/
}

div#main-column {
  position: relative;
  float: left;
  width: 35em;
  font-size: 1em;
  min-height: 30em;
}

aside {
  display: block;
  position: relative;
  margin-left: 41em;
  width: 25em;
  overflow: hidden;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 0.9em;
}


/* ################### MAIN-COLUMN ######################## */

div#main-column h1 {
  font-size: 2em;
  font-weight: normal;
  margin: 0.5em 0 0 0;
}

div#main-column h2 {
  margin: 2em 0 1em 0;
  font-size: 1.5em;
  font-weight: normal;
}


/* Größe und Zeilenabstand überprüfen!!! */
div#main-column li,
div#main-column p {
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ################ ASIDE ############################## */

aside h2 {
  display: none;
}

aside h3 {
  font-size: 1.1em;
  margin: 1em 0 0.5em 0;
  border-bottom: 1px #794C24 solid;
  padding: 0 0 0.5em 0;
  color: #794C24;
}

aside ul {
  list-style-image: url(../images/list-type.png);
  margin: 0;
  padding: 0 0 0 1em;
}

aside li {
  margin-bottom:0.25em;
}

aside img#wappen {
  position: relative;
  float: left;
  padding: 0 1em 0 0;
}

aside div#facts {
  position: relative;
  margin: 0 0 0 8.5em;
  min-height: 7em;
}

aside div#facts h3 {
  margin-top: 0;
}

aside div#facts ul {
  list-style-image: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

aside div.inhalt  {
  margin: 0 0 2em 0;
  border-top: 3px #ddd solid;
  border-bottom: 3px #ddd solid;
  padding: 1em;
  background: -moz-linear-gradient(top, #F7F7F7, #fff);
}

aside div.inhalt h3 {
  margin: 0 0 0.5em 0;
  border-bottom: none;
  padding: 0;
  color: gray;
}

aside div.inhalt ol {
  margin: 0 0 0 1.5em;
  padding: 0;
}

aside div#denkmaeler{
  position: relative;
  width: 100%;
  height: 11em;
  margin: 3em 0 3em 0;
  border-bottom: 1px #794C24 solid;
   background: url(../images/bg_denkmaeler_carousel.png) repeat-y;
}

aside div#denkmaeler h3 {
  width: 100%;
  background-color: #FFF;
}

aside div#denkmaeler a.mehrdenkmaeler {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 3.5em 0.5em 0;
  color: #794C24;
}

aside div.author {
  position: relative;
  width: 100%;
  margin: 3em 0 3em 0;
  border-bottom: 1px #794C24 solid;
/*  background: -moz-linear-gradient(top, #F7F7F7, #fff); */
}

aside div.author h3 {
  width: 100%;
  background-color: #FFF;
}

aside div.author p {
  padding: 0 0.5em 0 0.5em;
}

aside div.author img {
  float: left;
  margin: 0.6em 1em 0 0;
}


/* ######################### FOOTER ########################### */

footer {
  display: block;
  clear: both;
  position: relative;
  height: 20em;
  width: 100%;
  background-color: #794C24;
}

footer div#innerFooter {
  position: relative;
  width: 960px;
  margin: 10em auto 0 auto;
  padding: 2em 0 2em 0;
  font-size: 0.8em;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: white;
  background-color: #794C24;
  height: 20em;
}

footer div#innerFooter div {
  width: 10em;
  float: left;
}

footer div#innerFooter div a {
  color: white;
}

footer div#innerFooter div ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

footer div#innerFooter div#herausgeber {
  position: absolute;
  top: 2em;
  right: 0;
  width: 19em;
}

footer div#innerFooter div#copyright {
  position: absolute;
  top: 20em;
  left: 0;
  width: 40em;
}

footer div#fragFINN_button {
      position: absolute;
      top: 16em;
      right: 0;
}


div#ortemap {
  font-family: "Droid Serif", Georgia, Times, serif;
  overflow: hidden;
}

div#ortemap h3 {
  margin: 0 0 0 0;
  text-transform: uppercase;
}

div#ortemap img {

}

/*####################### SPECIAL AND EXTENSION STYLES ###################*/

/* gomapsext-cats */

.gme-map {
    margin: 1em 0;
}

#main-column ul.gomapsext-cats {
    margin-left: 0;
}

.gomapsext-cats li {
    list-style-type: none;
}

/*####################### CLEARING ############################*/


/* class for clearing elements */
.clearer {
  clear: both;
  visibility: hidden;
}

/* hack for Opera 8 which wrongly clears globaly with .clearer*/
html:first-child>*:first-child+body #content-03 {
  float: left;
/* Added this line to fix layout problem in Firefox caused by the Opera hack */
      width: 100%;
}

/* clearfix method - clear floats without additional markup for all FF/Moz/Op*/
/* not used anymore since we have to use an additional element for the IEs anyway */

/*
.clearfix:after {
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
  content: ".";
}
*/

/* this is needed for clearing in Safari */
/*
.clearfix {
  display: block;
}
*/

/* this is for the Geckoes; for IEs cf. ie5x.css */
#clear {
  clear: both;
  height: 1px;
}



/* disable responsive elements when not in responsive design (which is loaded instead of main.css below 768px) */

.csc-invisible-above-768px-incl {
  display:none;
}
