/* Stylesheet für http://www.spielmaterial-kusel.de */


/* Allgemeine Angaben für alle Bildschirmgrößen */

html, body {
  height: 99%;
}

body {
  background-color: #F4D27A;
}

/* Aufbauideen */

.aufbauideen img {
  width: 500px;
  height: auto;
  border: 1px solid;
}
@media (min-width:922px) {
  .aufbauideen img {
    margin: 5px;
  }
}

/* Listen der Produkte */

main ul {
  list-style-type: square;
  list-style-position: inside;
}
main ul li {
  color: #4F3900;
  margin: 3px;
}
main ul ul {
  padding-left: 20px;
}

/* Monatsangebote */

@media (max-width:790px) {
  .monatsangebote {
    width: 100%;
  }
  .monatsangebote img {
    width: 100%;
  }
}
@media (min-width:791px) {
  .monatsangebote {
    width: 766px;
  }
  .monatsangebote img {
    width: 510px;
    height: 762px;
    text-align: center;
  }
}
.monatsangebote img {
  border: 2px solid #C45033;
  margin: 10px 0;
}

/* Breadcrumbs */

.breadcrumbs {
  clear: left;
  padding-bottom: 10px;
}

.breadcrumbs h3 {
  display: none;
}
@media (min-width:791px) {
  .breadcrumbs ul {
    padding: 20px 0 0 50px;
  }
}
@media (max-width:790px) {
    .breadcrumbs ul {
    padding: 20px 0 0 10px;
  }
}

.breadcrumbs ul li {
  list-style-type: none;
  float: left;
  font-size: 80%;
  color: #4F3900;
}

.divider {
  padding-right: 2px;
}

/* Kontaktformular */

.moduletable h3 {
  margin-bottom: 20px;
}

form th {
  font-weight: normal;
  font-family: "Century Gothic", Arial, sans-serif;
  color: #4F3900;
  vertical-align: top;
  padding-top: 5px;
}

/* Menü */

nav ul {
  list-style-type: none;
}

nav ul li {
  font-size: 120%;
}

nav ul li a:link {
  text-decoration: none;
}

nav ul li:first-child {
  border: none;
}



.current.active > a {
  color: #CB2129; /*vorher: #C45033 */
}

/* Inhalt */

a, p, label, input, h3, h2, h1, span, li, textarea {
  color: #4F3900;
  text-decoration: none;
  font-family: "Century Gothic", Arial, sans-serif;
}

h1 {
  margin-bottom: 15px;
}

h2 {
  margin-bottom: 20px;
  clear: left;
}

main h3 {
  padding-top: 12px;
}

p {
  margin: 10px 0;
}

a:link {
  text-decoration: underline;
}

/* ab 928px (Tablet und Computer, Menü und der Großteil 
 * des Inhalts sind identisch */

@media (min-width:928px) {

  * {
    margin: 0;
    padding: 0;
  }

  body {
    margin-top: 10px;
    margin-left: 50px;
  }

  /* Header */

  header {
    margin-bottom: 20px;
  }

  header img {
    width: 541px;
    height: 150px;
  }

  /* Menü */

  nav ul {
    padding: 0 20px;
  }

  nav ul li {
    float: left;
    padding: 20px 20px;
    border-left: 1px solid #4F3900;
  }

  nav ul li a {
    font-weight: bold;
  }

  nav ul a:hover, nav ul ul li a:hover, nav ul ul ul li a:hover {
    color: #F7B826;
  }

  nav ul ul {
    margin: 20px 0 0 -21px;
    position: absolute;
    z-index: 2;
    display: none;
    padding: 0;
    border: 1px solid #4F3900;
    border-top: none;
    background-color: #F4D27A;
  }

  nav ul ul li {
    width: 250px;
    clear: left;
    border: none;
    padding: 8px 20px;
    font-size: 90%;
  }

  nav ul ul li a {
    color: #CB2129;
    font-weight: normal;
  }

  nav ul li:hover ul {
    display: block;
  }

  nav ul li:hover ul ul {
    display: none;
  }

  nav ul ul ul {
    margin-left: 270px;
    margin-top: -25px;
    padding: 0;
    border: 1px solid #4F3900;
  }

  nav ul ul ul li {
    clear: left;
  }

  nav ul ul li:hover ul {
    display: block;
  }

  /* Inhalt */

  main {
    clear: left;
    text-align: justify;
  }


  #wrapper {
    position: relative;
    min-height: 100%;
  }

  /* Inhalt */

  main {
    padding: 20px 300px 30px 50px;
  }

  /* Footer */

  footer {
    position: absolute;
    height:200px;
    bottom: 0;
    right: 0;
    z-index: -1;
  }

  footer img {
    width: 554px;
    height: 200px;
  }

  footer a {
    display: none;
  }

}

/* bis 927px (Tablet & Handy, anderes Menü und Darstellung von Bildern sowie
 * Seitenabstände) */

@media (max-width:927px) {
  
  iframe {
    width: 100% !important;
  }

  body {
    font-size: 120%
  }

  header img {
    width: 100% !important;
    height: auto !important;
  }

  /* Menü */

  nav ul {
    text-align: center;
    padding: 0 10px;
  }

  nav ul li {
    padding: 10px 10px;
    border-top: 1px solid #4F3900;
  }

  nav ul ul {
    display: none !important;
  }

  /* Footer */

  footer {
    text-align: center;
    padding-bottom: 5px;
  }

  footer img {
    display: none;
  }

  a img {
    width: 100% !important;
    height: auto !important;
  }

}

/* Änderung der Darstellung der Bilder (ansonsten zu groß) */

@media (max-width:320px) {
  img.important {
    width: 100% !important;
    height: auto !important;
  }
}

@media only print {
  footer {
    display: none;
  }

  a, p, label, input, h3, h1 {
    color: #000000;
  }

  main {
    padding: 20px;
  }

  wrapper, body, html {
    height: auto;
    margin: 0;
    padding: 0;
  }

  nav {
    display: none;
  }
}
