@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700);

/* ############################################################################# *
 *                                Style für Desktop                              *
 * ############################################################################# */

body {
	margin: 0;
	font-size: 1em;
}
 
header{
  height: 290px;
  text-align: center;
}

header img {
  width: 100%;
  max-width: 1200px;
}

main {
	margin-left: 5%;
	margin-right: 5%;
  padding: 2%;
  overflow: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.image-container {
  text-align: center;
}

#spalten{
	display: table;
    content: " ";
}

footer {
	margin-left: 5%;
	margin-right: 5%;
    padding: 0.8em 20px;
}

nutzer {
	text-align: right;
}

img{
	height: auto;
	width: 50%;
}

svg {
  width: 100%;
  height: auto;
}

#inhalt{
	width: 80%;
	float: left;
}

aside{
	width: 20%;
	float: right;
}

table {
	width: 100%;
  text-align: left;
  border-collapse: collapse;
}

table td, table th {
  border: 1px solid #ddd;
  padding: 8px;
}

table tr:nth-child(even){background-color: #f2f2f2;}

table tr.subheader {
  background-color: #f3bb96;
}

table tr.subheader td {
  border: none;
}

table tr:not(.subheader):hover  {background-color: #ddd;}

table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #f97b29;
  color: white;
}

sup {
  color: #f97b29;
  border-bottom:1px dotted black;
}

/* Zubehoerteilliste */

div.box_list { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

div.tr {
    content: "";
    display: block;
    text-align: center;
    margin: 10px;
    border-radius: 10px;
    border: 1px solid;
}

a.details {
    float: right;
    padding: 5px;
    margin: 5px;
    background-color: #BBBBBB;
    border-radius: 3px;
}

a.details:hover {
    text-decoration: none;
    color: black;
}

div.content {
    /*position: absolute;*/
    display: contents;
    width: 100%;
    height: 100%;
}

.zubehoer-head {
  display: flex;
}

/* Zubehoerkarten */

.card {
  background-color: transparent;
  max-width: 300px;
}

.card_inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card:hover .card_inner {
  transform: rotateY(180deg);
}

.card_foreground, .card_background {
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.card_background {
  transform: rotateY(180deg);
  top: 0;
  position: absolute;
}

.card img {
  height: 100%;
  width: 100%;
}

/* ----------------------------------------------------------------------------- *
 *                             Textauszeichnungen                                *
 * ----------------------------------------------------------------------------- */

 h1 {
   margin-top: 0;
 }

 h2 {
	font-size: 2.1875em;
	line-height: 1.2em;
	margin: 0.3em 0 0;
}

h2 {
    margin: 0.6em 20px;
}

ul, ol {
    padding: 0;
    margin: 0 0 0.625em 20px;
}

.artikel {
	margin-top: 0.5%;
	margin-left: 1%;
	margin-right: 1%;
	padding: 0.5%;
}

div.artikel img {
	height: 100px;
    width: auto;
}

pre{
	padding-left: 5px;
	line-height: 1;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

div.detail {
	padding: 2%;
}

/* ----------------------------------------------------------------------------- *
 *                                   Bilder                                      *
 * ----------------------------------------------------------------------------- */


.img .gross {
	display: flex; 
    justify-content: center; 
    align-items: center;
}


/* ----------------------------------------------------------------------------- *
 *                                   PinWand                                     *
 * ----------------------------------------------------------------------------- */

div.pinwand {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.article.image {
  background-size: cover;
  background-position: center center;
  height: 250px;
}

article {
  margin: 10px;
}

.article .article_video {
  width: 100%;
  height: 100%;
}
/* ----------------------------------------------------------------------------- *
 *                                  Suchzeile                                    *
 * ----------------------------------------------------------------------------- */
 
 #cssmenu .suche {
	display: block;
	margin: 0;
	padding-left: 5px;
	color: inherit;
	/*width: 100%;*/
	height: 100%;
	font-family: inherit;
	font-size: var(--inputFontSize);
	font-weight: inherit;
	line-height: var(--inputLineHeight);
	border: none;
	border-radius: 0.4rem;
	transition: box-shadow var(--transitionDuration);
}

#cssmenu form {
  display: block;
  float: left;
}

/* ------------Suchanzeige------------ */

#suchergebnis{
    padding: 10px;
	margin: 5px;
    display: block;
}

/* ----------------------------------------------------------------------------- * 
 *                                     Details                                   *
 * ----------------------------------------------------------------------------- */

#detailsPopup {
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

#detailsPopup .detailsKasten {
  background-color: #fefefe;
  margin: 4% auto 15% auto;
  border: 1px solid #888;
  width: 40%;
  padding-bottom: 30px;
}

.detailsKasten h1 {
  color: black !important;
}

.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,.close:focus {
  color: red;
  cursor: pointer;
}

.detailsDesc {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

.detailsText {
  text-align: left;
}

/* ----------------------------------------------------------------------------- * 
 *                                     Eingabe                                   *
 * ----------------------------------------------------------------------------- */
 
formular > form {
	width: 60;
	margin-right: 45%;
}

formular > img{
	float: right;
	width: 40%;
}

input, textarea, select {
	font-size:20px;
	width:300px;
	min-height:30px;
	display:block;
	margin-bottom:15px;
	margin-top:5px;
	outline: none;

	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	-o-border-radius:5px;
	-ms-border-radius:5px;
	border-radius:5px;
}

input[type=submit] {
	padding:10px;
}

/* ----------------------------------------------------------------------------- *
 *                                  Navigation                                   *
 * ----------------------------------------------------------------------------- */
#cssmenu {
  background: #4cb6ea;
  margin: 0;
  width: auto;
  padding: 0;
  line-height: 1;
  display: block;
  position: relative;
  font-family: 'PT Sans', sans-serif;
}
#cssmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
#cssmenu ul:after,
#cssmenu:after {
  content: " ";
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}
#cssmenu ul li {
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}
#cssmenu ul li a {
  text-decoration: none;
  display: block;
  margin: 0;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu ul li ul {
  position: absolute;
  left: -9999px;
  top: auto;
}
#cssmenu ul li ul li {
  max-height: 0;
  position: absolute;
  -webkit-transition: max-height 0.4s ease-out;
  -moz-transition: max-height 0.4s ease-out;
  -ms-transition: max-height 0.4s ease-out;
  -o-transition: max-height 0.4s ease-out;
  transition: max-height 0.4s ease-out;
  background: #ffffff;
}
#cssmenu ul li ul li.has-sub:after {
  display: block;
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background: #000000;
  z-index: 1;
  top: 13px;
  right: 15px;
}
#cssmenu.align-right ul li ul li.has-sub:after {
  right: auto;
  left: 15px;
}
#cssmenu ul li ul li.has-sub:before {
  display: block;
  position: absolute;
  content: "";
  height: 0;
  width: 0;
  border: 3px solid transparent;
  border-left-color: #ffffff;
  z-index: 2;
  top: 15px;
  right: 15px;
}
#cssmenu.align-right ul li ul li.has-sub:before {
  right: auto;
  left: 15px;
  border-left-color: transparent;
  border-right-color: #ffffff;
}
#cssmenu ul li ul li a {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  color: #000000;
  letter-spacing: 0;
  display: block;
  width: 170px;
  padding: 11px 10px 11px 20px;
}
#cssmenu ul li ul li:hover > a,
#cssmenu ul li ul li.active > a {
  color: #4cb6ea;
}
#cssmenu ul li ul li:hover:after,
#cssmenu ul li ul li.active:after {
  background: #4cb6ea;
}
#cssmenu ul li ul li:hover > ul {
  left: 100%;
  top: 0;
}
#cssmenu ul li ul li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu.align-center > ul > li {
  float: none;
  display: inline-block;
}
#cssmenu.align-center > ul {
  text-align: center;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul {
  float: right;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu.align-right ul ul li:hover > ul {
  right: 100%;
  left: auto;
}
#cssmenu.align-right ul ul li a {
  text-align: right;
}
#cssmenu > ul > li:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  z-index: 0;
  background: #ffffff;
  -webkit-transition: height .2s;
  -moz-transition: height .2s;
  -ms-transition: height .2s;
  -o-transition: height .2s;
  transition: height .2s;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 40px;
}
#cssmenu > ul > li.has-sub > a:after {
  display: block;
  content: "";
  background: #ffffff;
  height: 12px;
  width: 12px;
  position: absolute;
  border-radius: 13px;
  right: 14px;
  top: 16px;
}
#cssmenu > ul > li.has-sub > a:before {
  display: block;
  content: "";
  border: 4px solid transparent;
  border-top-color: #4cb6ea;
  z-index: 2;
  height: 0;
  width: 0;
  position: absolute;
  right: 16px;
  top: 21px;
}
#cssmenu > ul > li > a {
  color: #ffffff;
  padding: 15px 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  z-index: 2;
  position: relative;
}
#cssmenu > ul > li:hover:after,
#cssmenu > ul > li.active:after {
  height: 100%;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #000000;
}
#cssmenu > ul > li:hover > a:after,
#cssmenu > ul > li.active > a:after {
  background: #000000;
}
#cssmenu > ul > li:hover > a:before,
#cssmenu > ul > li.active > a:before {
  border-top-color: #ffffff;
}
#cssmenu > ul > li:hover > ul {
  left: 0;
}
#cssmenu > ul > li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu > ul > li > a {
  display: block;
}
#cssmenu > ul > li {
  width: auto;
}
#cssmenu > ul > li > ul {
  width: 170px;
  display: block;
}
#cssmenu > ul > li > ul > li {
  width: 170px;
  display: block;
}
#cssmenu > ul > li.last {
  margin-right: 5px;
}

/* ############################################################################# *
 *                                  Ab hier Mobil                                *
 * ############################################################################# */

@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {

*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}
/* ----------------------------------------------------------------------------- */
*{padding:0px;margin:0px;}

body {
	
}

header {
    /*padding: 0.5em 20px;*/
	height: 150px;
	/*margin-left: 5%;
	margin-right: 5%;*/
}

header img {
  max-width: 100%;
}

main {
	margin-left: 0%;
	margin-right: 0%;
	padding: 2%;
}

footer {
	margin-left: 0%;
	margin-right: 0%;
    padding: 0.6em 20px;
}

img{
	height: auto;
	width: 100%;
}

#inhalt{
	width: 100%;
	float: left;
}

aside{
	width: 100%;
	float: left;
}

table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

/* Zubehoerteilliste */

div.td{
	float: left;
	width: 50%;
}

div.img{
	float: left;
	width: 100%;
}

.zubehoer-head {
  flex-direction: column;
  align-items: center;
}


/* ----------------------------------------------------------------------------- *
 *                             Textauszeichnungen                                *
 * ----------------------------------------------------------------------------- */
/*h1 {
    margin: 0;
}*/

h2 {
    margin: 0.6em 20px;
}

  h3 {

    margin-block-start: 1em;
    margin-block-end: 0.5em;
  }

ul, ol {
    padding: 0;
    margin: 0 0 0.625em 20px;
}

.artikel {
	margin-top: 0.5%;
	margin-left: 1%;
	margin-right: 1%;
	padding: 0.5%;
}

div.artikel img {
	height: 100px;
    width: auto;
}

pre{
	padding-left: 5px;
	line-height: 1;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

div.detail {
	padding: 2%;
}

/* ----------------------------------------------------------------------------- * 
 *                                     Details                                   *
 * ----------------------------------------------------------------------------- */

#detailsPopup .detailsKasten {
  width: 90%;
}

/* ----------------------------------------------------------------------------- *
 *                                  Navigation                                   *
 * ----------------------------------------------------------------------------- */
  #cssmenu > ul {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.35s ease-out;
    -moz-transition: max-height 0.35s ease-out;
    -ms-transition: max-height 0.35s ease-out;
    -o-transition: max-height 0.35s ease-out;
    transition: max-height 0.35s ease-out;
  }
  #cssmenu > ul > li > ul {
    width: 100%;
    display: block;
  }
  #cssmenu.align-right ul li a {
    text-align: left;
  }
  #cssmenu > ul > li > ul > li {
    width: 100%;
    display: block;
  }
  #cssmenu.align-right ul ul li a {
    text-align: left;
  }
  #cssmenu > ul > li > ul > li > a {
    width: 100%;
    display: block;
  }
  #cssmenu ul li ul li a {
    width: 100%;
  }
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu.align-center > ul > li {
    display: block;
  }
  #cssmenu > ul.open {
    max-height: 1000px;
    border-top: 1px solid rgba(110, 110, 110, 0.25);
  }
  #cssmenu ul {
    width: 100%;
  }
  #cssmenu ul > li {
    float: none;
    width: 100%;
  }
  #cssmenu ul li a {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 20px;
  }
  #cssmenu ul > li:after {
    display: none;
  }
  #cssmenu ul li.has-sub > a:after,
  #cssmenu ul li.has-sub > a:before,
  #cssmenu ul li ul li.has-sub:after,
  #cssmenu ul li ul li.has-sub:before {
    display: none;
  }
  #cssmenu ul li ul,
  #cssmenu ul li ul li ul,
  #cssmenu ul li ul li:hover > ul,
  #cssmenu.align-right ul li ul,
  #cssmenu.align-right ul li ul li ul,
  #cssmenu.align-right ul li ul li:hover > ul {
    left: 0;
    position: relative;
    right: auto;
  }
  #cssmenu ul li ul li,
  #cssmenu ul li:hover > ul > li {
    max-height: 999px;
    position: relative;
    background: none;
  }
  #cssmenu ul li ul li a {
    padding: 8px 20px 8px 35px;
    color: #ffffff;
  }
  #cssmenu ul li ul ul li a {
    padding: 8px 20px 8px 50px;
  }
  #cssmenu ul li ul li:hover > a {
    color: #000000;
  }
  #cssmenu #menu-button {
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff;
    cursor: pointer;
  }
  #cssmenu #menu-button:after {
    display: block;
    content: '';
    position: absolute;
    height: 7px;
    width: 22px;
    border-top: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    right: 20px;
    top: 16px;
  }
  #cssmenu #menu-button:before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffffff;
    right: 20px;
    top: 26px;
  }

  #cssmenu .suche {
    margin: 0 0 5px 15px;
  }
}
