/* Spezielles NMSEJ Schladming ========================================================== */

/* gehört in Standard-Template */
.item-page::after {
  content: "";
  display: block;
  clear: both;
}

/* Images, Videos */
.video iframe {
  display: block;
  margin: 10px auto;
  width: 853px !important;
  height: 480px !important;
}
  @media screen and (max-width: 970px) {
    .video iframe {
      width: 560px !important;
      height: 315px !important;
    }
  }
    @media screen and (max-width: 620px) {
      .video iframe {
        width: 300px !important;
        height: 169px !important;
      }
    }

.width--300 {
  width: 300px;
}

figure.width-large {
  max-width: 900px;
  width: 80%;
  margin: 10px auto;
}

/* SIGE single */
article ul.sige_single {
  padding: 0;
}

article ul.sige_single li {
  background-image: none !important;
  padding: 0;
}

.sige_thumb {
  background: none !important;
}

.sige_thumb img {
  border: none !important;
  background: none !important;
}

/* Item-Image */
.item-image > div {
  width: 50% !important;
  margin: 0 auto;
  padding: 20px 0 0;
}
  @media screen and (max-width: 620px) {
    .item-image > div {
      width: 90% !important;
    }
  }
  
.item-image > div > img {
  width: 100%;
  vertical-align: bottom;
}

div.item-page p.img_caption {
  background-color: rgb(70, 70, 70);
  font-size: 0.8em;
  text-align: right;
  padding: 2px 5px 2px 0;
  color: rgb(255, 255, 255);
}

/* Farbe Orange ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
aside#top {
  width: 100%;
  background: rgb(151, 0, 12);
  background: linear-gradient(to bottom, rgba(191, 116, 0, 1) 0%, rgba(241, 146, 0, 1) 100%);
  border-bottom: solid 2px rgb(149, 90, 0);
  padding: 0 13%;
  min-height: 54px;
}

ul.menu-main > li > a > span {
  background-color: rgb(191, 116, 0);
}

footer div.custom-address h1 {
  background-color: rgb(191, 116, 0);
}

div.item-page h3 {
  color: rgb(191, 116, 0);
}

/* Mehrspaltige Listen */
ul.col-2 {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
  -moz-column-gap: 2em;
  -webkit-column-gap: 2em;
  column-gap: 2em;
}
  @media (max-width: 990px) { 
    ul.col-2 {
      -moz-column-count: 1;
      -webkit-column-count: 1;
      column-count: 1;
    }
  }
  
/* Slideshow */
div.flexslider  {
  -webkit-flex: 0 1 38.5%;
  -ms-flex: 0 1 38.5%;
  flex-basis: 38.5%;
  max-width: 560px;
  width: 38.5%;
  margin-right: 10%;
}

div.flexslider li {
  vertical-align: bottom;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.3);
}
  
.flex-caption {
    padding: 3px 2%;
    background-color: rgba(191, 116, 0, 0.3);
}

 /* Größe der Menüüberschrift */
ul.menu-main > li > a > span {
  font-size: 1.2vw;
}
  @media (max-width: 1440px) { 
    ul.menu-main > li > a > span {
      font-size: 1.1em;
    }
  }
    @media (max-width: 1080px) { 
      ul.menu-main > li > a > span {
        font-size: 1.0em;
      }
    }
      @media (max-width: 940px) { 
        ul.menu-main > li > a > span {
          font-size: 0.9em;
        }
      }
        @media (max-width: 800px) { 
          ul.menu-main > li > a > span {
            font-size: 1.2em;
          }
        }

/* Lehrer */
article ul.personen li figure figcaption {
  line-height: 1.2em;
  padding: 4px 5px;
}

/* Klassen */
article ul.klassen {
  padding: 10px;
  list-style: none;
  width: 90%;
  margin: 0 auto;
}
  @media screen and (max-width: 1400px) {
    article ul.klassen {
      width: 100%;
    }
  }
  
article ul.klassen li {
  background-image: none;
  padding: 0;
}

article ul.klassen li figure {
  /* float: left; */
  /* width: 46%; */
  /* margin: 0 2% 40px; */
  width: 70%;
  margin: 0 auto 40px;
}
  @media screen and (max-width: 800px) {
    article ul.klassen li figure {
      float: none;
      width: 96%;
    }
  }
  
article ul.klassen li figure img {
  width: 100%;
}
  
/* Termine */
table.schularbeiten td {
  width: 50%;
}

/* Categories List ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.categories-list {
  background-color: rgb(247, 247, 248);
}

div.categories-list h1 {
  background-color: rgb(204, 204, 204);
  font-size: 1.7em;
  padding: 10px 20px;
  margin-bottom: 10px;
  line-height: 0.9em;
}

h3 {
  padding: 5px 20px 5px 100px;
}

/* Archiv */
/* Category List ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.archive { /* gehört in Standard-Template */
  background-color: rgb(247, 247, 248);
}

div.archive form#adminForm { /* gehört in Standard-Template */
  padding: 20px 40px;
}
  @media (max-width: 800px) {  /* gehört in Standard-Template */
    div.archive form#adminForm {
      padding: 10px 20px;
    }
  }
  
div#month_chzn, div#year_chzn, div#limit_chzn {/* gehört in Standard-Template */
  width: 70px !important;
}

div#archive-items > div {/* gehört in Standard-Template */
  padding: 6px 10px;
}#archive-items .article-info {  font-size: .9em;}#archive-items .article-info-term {  display: none;}#archive-items .article-info dd {  padding: 0;}