﻿/* Header */
header {
  background: #FFFFFF;
  padding-top: 30px;
  margin-top: -10px;
  min-height: 70px;   /* wichtig bei responsive: min. Höhe */
  border-bottom: #D8D8D8 4px solid;
  width: 100%;
  position: fixed;
  height: 1em;
}

header a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

header a:hover {
  border-bottom: #FFCC00 2px solid;
}

header li {
  float: left;
  display: inline;    /* Listenelemente nebeneinander */
  padding: 0 20px 0 20px; /* top 0px right 20px bottom 0 px left 2o px */
}

header #branding {
  float: left;        /* Firmenname ist links am Rand */
  font-weight: bold;
}

header #branding img {
  width: 100%;
  min-width: 150px;
}

header #branding a:hover {
  border-bottom: none;
}

header #lang {
  float: right;     /* Sprachen sind rechts am Rand */
  margin-right: 27%;
  margin-top: 10px;
}

header .highlight,
header .current a,
nav .current a {
  color: #FF0500;
  font-weight: bold;
}

/* Navigation */
nav {
  padding-top: 7em;
  margin-bottom: 10px;
  padding-left: 12px;
  width:80%;          /* bei 80% Füllung umbrechen */
  margin: auto;       /* Inhalt mittig platzieren */
  overflow: hidden;
}

nav a {
  color: #000000;
  text-decoration: none;
}

nav a:hover {
  border-bottom: #FFCC00 2px solid;
}

nav .menuepunkte {
  float: left;
  width: 20%;       /* responsive, deswegen mit Prozentangabe */
  padding: 10px;
  margin-bottom: 10px;
}

nav #kategorie {
  font-weight: bolder;
  font-size: 120%;
  margin-top: 10px;
  margin-bottom: 5px;
}

nav .menuepunkte ul {
  list-style: none;
}

nav .menuepunkte a {
  color: #848484;
}

nav .menuepunkte .current {
  color: #FF0000;
  font-weight: bold;
  list-style-type: disc;
}

nav .menuepunkte .current a {
  color: #000000;
  font-weight: bold;
  list-style-type: circle;
}

#menu-icon {
  display: none;
  width: 40px;
  height: 40px;
  background:url('../img/menu-icon.png') center;
}

/* Body */
body {
  font-family: 'trebuchet ms', arial, sans-serif;
  font-size: 16px;
  /*padding: 0;
  margin: 20px;*/
  background-color: #ffffff;
}

body p {
  font-size: 16px;
  width: 90%;
  line-height: 25px;
  max-width: 1000px;
}

body h1 {
  margin-top: 50px;
  font-size: 45px;
  margin-bottom: 10px;
  /*font-variant: small-caps;*/
	font-weight: bolder;
  color: #006666;
}

body h2 {
  font-size: 23px;
}

body h3 {
  font-size: 18px;
}

body a {
  color: #000000;
  text-decoration: none;
}

body a:hover {
  border-bottom: #FFCC00 2px solid;
}

/* Global */
.container {
  width:80%;          /* bei 80% Füllung umbrechen */
  margin: auto;       /* Inhalt mittig platzieren */
  overflow: hidden;
}

ul {                   /* Listen ohne Aufzählzeichen */
  margin: 0;
  padding: 0;
}

/* Content */
#contenthome {
  min-height: 400px;
  /*background:url('../img/home.jpg') no-repeat;
  background-size: cover; /*andere Optionen: "100% 100%" oder contain */
	color: #000000; /* #006666; /* grün wie im Bild auf der Startseite */
  padding-bottom: 3.5em; /* damit kein Inhalt hinter dem Footer verschwindet */
}


#contenthome img {
  max-width: 100%;
  height: auto;
  width: auto;
}

/* Messestaende-Seite */
#contentstaende {
  padding-bottom: 3.5em; /* damit kein Inhalt hinter dem Footer verschwindet */
}

#contentstaende img {
  padding-bottom: 6px;
}

#lageplan img {
  padding-top: 50px;
}

/* Für die Links zu den Unterseiten */
.unterseiten {
  text-align: center;
}
.unterseiten a {
  color: #FFFFFF;
}
.unterseiten a {
  text-decoration: none;
}

.unterseiten a:hover {
  border-bottom: none;
}


/* Footer */
footer {
  background-color: #FFFFFF;
  padding: 7px;
  text-align: center;
  border-top: #D8D8D8 4px solid;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 2.5em;
}



/**
Bildergalerie
**/
.gallery {
    margin: 5px;
    border: 2px solid #D8D8D8;
    float: left;
    width: 180px;
    height: 300px;
    padding: 4px 4px 4px 4px;
}

.gallery-2d3d {
    margin: 5px;
    border: 2px solid #D8D8D8;
    float: left;
    width: 80%;
    max-width: 850px;
    height: 30%;
    padding: 4px 4px 4px 4px;
}

.gallery-noshow {
    visibility: hidden;
    width: 1px;
    height: 1px;
}

.gallery:hover,
.gallery-2d3d:hover {
    border: 2px solid #FFCC00;
}

.gallery img,
.gallery-2d3d img {
    width: 100%;
    height: auto;
}

.gallery a:hover,
.gallery-2d3d a:hover {
    border-bottom: none;
}

.gallery desc,
.gallery-2d3d desc {
    padding: 15px;
    text-align: center;
}


/**
Netzwerk / Partner-Links
**/
.partner {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.partnerreihe a:hover {
  border-bottom: none;
}

.partnerreihe { /* Create four equal columns that sits next to each other */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.partnerreihe img {
  margin-top: 8px;
  vertical-align: middle;
}


/**
CHOCOLATE LightBox
http://chocolat.insipi.de/
**/
.chocolat-zoomable.chocolat-zoomed{
    cursor : zoom-out;
}
.chocolat-open{
    overflow: hidden;
}
.chocolat-overlay{
    height:100%;
    width:100%;
    position:fixed;
    left:0;
    top:0;
    z-index:10;
    /*background-color:#fff;*/
    display: none;
    /*opacity: 0.8;*/
    background: rgba(59, 101, 164, 0.7);
}
.chocolat-wrapper{
    height:100%;
    width:100%;
    position:fixed;
    display: none;
    left:0;
    top:0;
    z-index:16;
    color: #fff;
}
.chocolat-zoomable .chocolat-img{
    cursor : zoom-in;
}
.chocolat-loader{
    height:32px;
    width:32px;
    position:absolute;
    left:50%;
    top:50% ;
    margin-left:-16px;
    margin-top:-16px;
    z-index:11;
    background:url(../img/chocolate/loader.gif);
    display:none;
}
.chocolat-content{
    position:fixed;
    width:0px;
    height:0px;
    left:50%;
    top:50%;
    z-index:14;
    text-align: left;
}
.chocolat-content .chocolat-img{
    position:absolute;
    width:100%;
    height:100%;
}
.chocolat-wrapper .chocolat-left{
    position:absolute;
    left:0;
    width:50px;
    height:100px;
    top: 50%;
    margin-top: -50px;
    cursor:pointer;
    background:url(../img/chocolate/left.png) 50% 50% no-repeat;
    z-index: 17;
    display: none;
}
.chocolat-wrapper .chocolat-right{
    position:absolute;
    right:0;
    width:50px;
    height:100px;
    top: 50%;
    margin-top: -50px;
    cursor:pointer;
    background:url(../img/chocolate/right.png)  50% 50% no-repeat;
    z-index: 17;
    display: none;
}
.chocolat-wrapper .chocolat-right.active{
    display: block;
}
.chocolat-wrapper .chocolat-left.active{
    display: block;
}
.chocolat-wrapper .chocolat-top{
    position:absolute;
    top:0px;
    right: 0;
    left: 0;
    line-height:50px;
    height:50px;
    overflow: hidden;
    z-index: 17;
    margin-bottom: 10px;
}
.chocolat-wrapper .chocolat-close{
    width:50px;
    height:50px;
    cursor:pointer;
    position: absolute;
    top: 0;
    right: 0;
    background:url(../img/chocolate/close.png) 50% 50% no-repeat;
}
.chocolat-wrapper .chocolat-bottom{
    position:absolute;
    bottom:0;
    left: 0;
    right: 0;
    line-height:23px;
    height:155px;
    font-size:20px;
    z-index: 17;
    padding-left: 15px;
    padding-right: 15px;
    /*background: rgba(0, 0, 0, 0.4);*/
    text-align: left;
    margin-top: 110px;
}
.chocolat-wrapper .chocolat-set-title{
    display: inline-block;
    padding-right: 15px;
    line-height: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.chocolat-wrapper .chocolat-pagination{
    float: right;
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 15px;
    /*border-right: 1px solid rgba(255, 255, 255, 0.2);*/
}
.chocolat-wrapper .chocolat-fullscreen{
    width: 16px;
    height: 40px;
    background: url(../img/chocolate/fullscreen.png) 50% 50% no-repeat;
    display: block;
    margin:auto;
    cursor: pointer;
    float: right;
}
.chocolat-wrapper .chocolat-description{
    display: inline-block;
    float: left;
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding-left: 10px;
    padding-right: 10px;

}

/* no container mode*/
body.chocolat-open>.chocolat-overlay{
    z-index:15;
}
body.chocolat-open>.chocolat-loader{
    z-index:15;
}
body.chocolat-open>.chocolat-content{
    z-index:17;
}


/* Media Queries - um Displaygrößen zu behandeln */
@media(max-width: 768px) {
  header #branding,
  header #lang,
  header #lang li {
    float:none;
    text-align: center;
    width: 100%
  }

  header {
    padding-bottom: 20px;
  }


  nav .menuepunkte {
    float:none;
    margin-bottom: 0px;
    margin-left: 50px;
    font-size: 90%;
  }

  #menu-icon {
    display: inline-block;
    margin-bottom: -50px;
  }

  nav #menu-icon:hover {
    border-bottom: none;
  }

  nav ul  {
    display: none;
    border-bottom: #FFCC00 2px solid;
  }

  nav:hover ul, nav:active ul {
    display: block;
    background: rgba(255, 204, 0, 0.5);
    border: 5px solid #FFCC00;
    padding: 0px 10px 0px 20px;
    z-index: 1000;
    top: 200px;
    left: 30px;
    width: 300%;
  }

  nav li {
    text-align: left;
    width: 100%;
    padding: 10px 0;
    line-height: 5px;
  }

  #contenthome h1 {
    margin-top: 30px;
  }

  .partnerreihe {
    flex: 100%;
    max-width: 100%;
  }

  .chocolat-wrapper .chocolat-bottom{
    font-size: 90%;
  }
}
