/* template.css, gemeinde.schladming.at, gerald petter, juni 2014 */

/* Normalisierung ------------------------------------------------------------------------------------------------------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, 
canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video, main {
  margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

*, *:after, *:before {
  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;}

h1, h2, h3, h4, h5, h6 { 
  font-weight: normal;}

nav ul {
  list-style: none;}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main { 
  display: block;}

blockquote, q {
  quotes: none;}
  
address, caption, cite, code, dfn, th, var { 
  font-style: normal; font-weight: normal;}

table {  
  border-collapse: collapse; border-spacing: 0;}

caption, th {  
  text-align: left;}

blockquote:before, blockquote:after, q:before, q:after {
    content: ''; content: none;}

input, select {
  vertical-align: middle;}

/* =============================================================================================================== */
body {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.3em;
  padding: 0px 0 10px;
}

small {
  font-size: 0.8em;
}

strong {
  color: rgb( 40, 40, 40);
  font-weight: 600;
}

.clear {
  clear: both;
}

.tooltip-inner {
  display: none;
}

/* Top ========================================================================================================= */
aside#top {
  width: 100%;
  background: rgb(151, 0, 12);
  background: linear-gradient(to bottom, rgba(151, 0, 12, 1) 0%, rgba(180, 15, 25, 1) 100%);
  border-bottom: solid 2px rgb(90, 1, 1);
  padding: 0 13%;
  min-height: 54px;
}
  @media (max-width: 1440px) { 
    aside#top {
      padding: 0 4%;
    }
  }
    @media (max-width: 1160px) { 
      aside#top {
        padding: 0 2%;
      }
    }
  
aside#top:after {
  content: "";
  display: block;
  clear: both;
}

/* Benutzermenü ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
ul.menu-user {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 0.9em;
  list-style: none;
}

ul.menu-user a {
  color: transparent;
  text-decoration: none;
}

ul.menu-user a:hover {
  color: rgb(230, 230, 230);
}

/* Suchmodule ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.search {
  float: left;
  margin-top: 15px;
  margin-right: 30px;
}

div.search label {
  display: none;
}

/* Icon Facebook Top ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
aside#top div.custom-icon-facebook {
  float: left;
  margin-top: 5px;
  margin-right: 30px;
}

/* Logo Audi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.custom-logo-audi {
  float: right;
  margin-top: 8px;
}
  @media (max-width: 520px) { 
      div.custom-logo-audi {
        float: left;
        margin: 8px 30px 0px 0;
      }
    }

/* Google Translate Element ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.custom-google-translate-element {
  float: right;
  margin-top: 14px;
  margin-right: 100px;
}
  @media (max-width: 780px) { 
    div.custom-google-translate-element {
      margin-right: 30px;
    }
  }
    @media (max-width: 730px) { 
      div.custom-google-translate-element {
        float: left;
        margin: 14px 30px 10px 0;
      }
    }
  
.goog-te-gadget-simple {
  background-color: transparent !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: rgb(255, 255, 255) !important;
}

/* Header ================================================================================================= */
header {
  margin: 30px 13% 0;
  display: -webkit-box;
  display: -ms-flexbox;
  -ms-flex-pack: justify;  /* IE 10 */
  display: flex;
  justify-content: space-between;
}
  @media (max-width: 1440px) { 
    header {
      margin: 30px 4% 0;
    }
  }
    @media (max-width: 1160px) { 
      header {
        margin: 30px 2% 0;
      }
    }

/* Main Image ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.custom-mainimg  {
  -webkit-flex: 0 1 38.5%;
  -ms-flex: 0 1 38.5%;
  flex-basis: 38.5%;
  width: 38.5%;
  margin-right: 10%;
}

div.custom-mainimg img {
  vertical-align: bottom;
  width: 100%;
  max-width: 560px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.3);
}

/* Logo Schladming ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.custom-logo-schladming  {
  -webkit-flex: 0 1 44%;
  -ms-flex: 0 1 44%;
  flex-basis: 44%;
  width: 44%;
  text-align: right;
}

div.custom-logo-schladming img {
  width: 100%;
  max-width: 591px;
}

div.custom-logo-schladming-small  {
  -webkit-flex: 0 1 303px;
  -ms-flex: 0 1 303px;
  flex-basis: 303px;
  margin: 0 0 0 auto;
}

/* Hauptmenü ============================================================================================================ */
nav#menu-main {
  clear: both;
  margin: 0 13%;
}
  @media (max-width: 1440px) { 
    nav#menu-main {
      clear: both;
      margin: 0 4%;
    }
  }
    @media (max-width: 1160px) { 
      nav#menu-main {
        clear: both;
        margin: 0 2%;
      }
    }

nav#menu-main > a {
  display: none;
}

ul.menu-main {
  padding-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  -ms-flex-pack: center;
  -ms-flex-pack: justify;  /* IE 10 */
  display: flex;
  justify-content: space-between;
}
  @media (max-width: 1024px) { 
    ul.menu-main {
      padding-top: 0px;
      display: block;
    }
  }

ul.menu-main a {
  text-decoration: none;
}

ul.menu-main a[href="#"], ul.menu-main ul a[href="#"]:hover{
  text-decoration: none;
  color: rgb(0, 0, 0);
  cursor: default;
}

ul.menu-main a[href="#"]:hover span {
  text-decoration: none;
  color: rgb(230, 230, 230);
  cursor: default;
}

ul.menu-main > li {
  position: relative;
  width: 18%;
  margin: 0 0 0 2%;
  background-color: rgb(242, 242, 242);
}
  @media (max-width: 1024px) { 
    ul.menu-main > li {
      clear: both;
      width: 100%;
      margin-top: 50px;
      margin-left: 0;
    }
    ul#menu-standard.menu-main > li {
      clear: both;
      width: 100%;
      margin: 10px 0 0;
    }
  }

ul.menu-main > li:nth-child(2) {
  margin-left: 0;
}

@media (max-width: 1024px) { 
  ul.menu-main > li:after {
    content: "";
    display: block;
    clear: both;
  }
}
    
ul.menu-main li.item-101 { /* damit Menü Startseite nicht angezeigt wird */
  display: none;
}

ul.menu-main > li img {
  width: 100%;
}
  @media (max-width: 1024px) { 
    ul.menu-main > li img {
      width: 50%;
      max-width: 250px;
      float: left;
      padding-right: 30px;
    }
  }
    @media (max-width: 500px) { 
      ul.menu-main > li img {
        width: 45%;
        padding-right: 20px;
      }
    }

ul#menu-standard.menu-main li img {
  display: none;
}

ul.menu-main > li > a > span {
  font-weight: 400;
  display: block;
  position: absolute;
  top: -20px;
  width: 100%;
  background-color: rgb(181, 14, 25);
  color: rgb(230, 230, 230);
  font-size: 1.4vw;
  text-align: right;
  padding: 7px 10px;
}
  @media (max-width: 1200px) { 
    ul.menu-main > li > a > span {
      font-size: 1.1em;
    }
  }
    @media (max-width: 1024px) { 
      ul.menu-main > li > a > span {
        font-size: 1.2em;
      }
      ul#menu-standard.menu-main > li > a > span {
        position: relative;
        top: 0;
      }
    }
  
ul.menu-main > li > a > span:hover {
  color: rgb(255, 255, 255);
}

ul.menu-main ul {
  padding: 10px 20px;
  width: 100%;
}
  @media (max-width: 1024px) { 
    ul.menu-main ul {
      padding: 10px 10px;
      width: auto;
    }
  }
    @media (max-width: 1024px) { 
      ul.menu-main ul {
        padding-top: 30px;
        padding-left: 0;
        margin-left: 250px;
      }
      ul#menu-standard.menu-main  >li > ul {
        padding: 0px 10px;
        margin-left: 30px;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        transition: max-height 1s ease-out;
      }
    }
      @media (max-width: 500px) { 
        ul.menu-main ul {
          padding-top: 20px;
          margin-left: 46%;
        }
      }

ul#menu-standard.menu-main > li > ul {
  display: none;
  z-index: 2;
}
  @media (max-width: 1024px) { 
    ul#menu-standard.menu-main > li > ul {
      display: block;
    }
  }

ul#menu-standard.menu-main > li:hover > ul {
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
  background-color: rgba(242, 242, 242, 0.9);
  width: 100%;
}
  @media (max-width: 1024px) { 
    ul#menu-standard.menu-main > li:hover > ul {
      position: relative;
      top: 0;
      background-color: rgba(242, 242, 242, 0.9);
      max-height: 500px;
      transition: max-height 1s ease-in-out;
    }
  }
  
ul.menu-main ul li {
  padding: 3px 0;
  position: relative;
}

ul.menu-main ul li.deeper > a {
  background-image: url(../images/pfeil_mainmenu.png);
  background-repeat: no-repeat;
  background-position: right 8px;
  padding-right: 20px;
}
  
ul.menu-main ul a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  position: relative;
}

ul.menu-main ul a:hover {
  color: rgb(17, 17, 238);
  text-decoration: underline;
}

ul.menu-main ul ul {
  padding: 2px 8px 2px 20px;
  max-height: 0;
  overflow: hidden;
  width: 100%;
  z-index: 2;
  border-radius: 2px;
  transition: max-height 3s ease-out;
  font-size: 0.9em;
}
  @media (max-width: 1024px) { 
    ul.menu-main ul ul {
      position: relative;
      top: 0px;
      left: 0px;
      margin-left: 30px;
      background-color: rgba(242, 242, 242, 0.9);
      background-image: none;
      box-shadow: none;
      width: auto;
      display: block;
    }
  }
    @media (max-width: 640px) { 
      ul.menu-main ul ul {
        margin-left: 10px;
      } 
    }
  
ul.menu-main ul ul ul {
  width: auto;
}
  @media (max-width: 1480px) { 
    ul.menu-main ul ul ul {
      white-space: normal;
    }
  }
    @media (max-width: 1024px) { 
      ul.menu-main ul ul ul {
        position: relative;
        top: 0px;
        left: 0px;
        background-color: rgba(242, 242, 242, 0.9);
        width: auto;
        display: block;
      }
    }
  
ul.menu-main ul li:hover > ul {
  max-height: 500px;
  transition: max-height 1s ease-in-out;
}

ul.menu-main ul ul li {
  background-image: url(../images/list_style_menu.png);
  background-repeat: no-repeat;
  background-position: 0px 11px; 
  padding: 0px 0 0px 10px;
}

ul.menu-main ul ul li:hover > ul {
  display: block;
}

/* Breadcrumb ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
ul.breadcrumb {
  margin: 40px 0 0;
  background-color: rgb(247, 247, 248);
  padding: 4px 10px;
  list-style: none;
  font-size: 1em;
}
      
ul.breadcrumb li {
  display: inline-block;
  padding: 0 5px;
}

ul.breadcrumb li a[href="#"] { /* damit Untermenüs auf Tablets sich öffnen ohne dass eine Seite aufgeht */
  text-decoration: none;
  color: rgb(0, 0, 0);
  cursor: default;
}

ul.breadcrumb li span.divider {
  position: relative;
  top: -1px;
  left: 5px;
}

/* Article ================================================================================================= */
article {
  margin: 20px 13% 30px;
  font-size: 1.2em;
  line-height: 1.2em;
}
  @media (max-width: 1440px) { 
    article {
      margin: 20px 4% 30px;
    }
  }
    @media (max-width: 1160px) { 
      article {
        margin: 20px 2% 30px;
      }
    }
      @media (max-width: 800px) { 
        article {
          display: block;
        }
      }

/* Blog ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.blog div.items-row, div.blog-featured div.items-row  {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
  @media (max-width: 800px) { 
    div.blog div.items-row, div.blog-featured div.items-row {
      display: block;
    }
  }
  
div.blog div.items-row div.span6, div.blog-featured div.items-row div.span6 {
  background-color: rgb(247, 247, 248);
  margin: 0px 0 20px 0;
  padding: 20px;
  width: 49%;
}
  @media (max-width: 800px) { 
    div.blog div.items-row div.span6, div.blog-featured div.items-row div.span6 {
      width: 100%;
    }
  }

div.blog div.items-row div.span6::after, div.blog-featured div.items-row div.span6::after {
  content: '';
  display: block;
  clear: both;
}

div.blog div.items-row div.span6:first-of-type, div.blog-featured div.items-row div.span6:first-of-type {
  margin-right: 2%;
}

div.blog div.item div.page-header, div.blog-featured div.item h2 {
  background-color: rgb(204, 204, 204);
  font-size: 1.2em;
  padding: 5px 10px;
  margin-bottom: 10px;
  line-height: 0.9em;
}

div.blog div.item div.page-header a, div.blog-featured div.item h2 a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

div.blog div.item div.page-header a:hover, div.blog-featured div.item h2 a:hover {
  text-decoration: underline;
}

div.blog div.item div.item-image, div.blog-featured div.item div.item-image {
  float: left;
  padding: 0 20px 0px 0;
  width: 40%;
}

div.blog div.item div.item-image img, div.blog-featured div.item div.item-image img {
  max-width: 300px;
  width: 100%;
}

div.blog div.item p, div.blog-featured div.item p {
  padding: 6px 0;
}

/* Liste von Beiträgen in der Blog-Ansicht */
div.items-more ol.nav {
  list-style: none;
}

div.items-more ol.nav  li {
  padding: 3px 0 3px 12px;
  background-image: url(../images/list_style.png);
  background-repeat: no-repeat;
  background-position: 0px 13px;
}

/* Category List ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.category-list {
  background-color: rgb(247, 247, 248);
}

div.category-list div.content-category h1 {
  background-color: rgb(204, 204, 204);
  font-size: 1.7em;
  padding: 10px 20px;
  margin-bottom: 10px;
  line-height: 0.9em;
}

table th[id*="categorylist_header"] a {
  color: rgb(220, 220, 220);
  font-size: 0.8em;
}

div.category-list form#adminForm {
  padding: 20px 40px;
}
  @media (max-width: 800px) { 
    div.category-list form#adminForm {
      padding: 10px 20px;
    }
  }
  
/* Item Page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div.item-page {
  background-color: rgb(247, 247, 248);
}

div.item-page div.page-header {
  background-color: rgb(204, 204, 204);
  font-size: 1.7em;
  padding: 10px 20px;
  margin-bottom: 10px;
  line-height: 0.9em;
}

div.item-page div.page-header h2 a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

div.item-page h3 {
  font-size: 1.2em;
  padding: 15px 0px 10px;
  font-weight: 600;
}

div.item-page h3.sehenswertes {
  clear: both;
}

div.item-page h3.sehenswertes::first-letter {
  font-size: 1.0em;
  padding: 0px 3px;
  margin-right: 10px;
  font-weight: 400;
  background-color: rgb(247, 238, 68);
}

div.item-page h4 {
  font-size: 1.1em;
  padding: 10px 0px 5px;
  font-weight: 600;
  color: rgb(90, 90, 90);
}

div.item-page h5 {
  font-weight: 600;
}

div.item-page div[itemprop=articleBody] {
  padding: 20px 40px;
}
  @media (max-width: 800px) { 
    div.item-page div[itemprop=articleBody] {
      padding: 10px 20px;
    }
  }
  
div.item-page p {
  padding: 6px 0;
}

/* Bilder */
figure{ 
  position: relative;
}

figure.img-left {
  float: left;
  margin: 10px 20px;
}

figure.img-right {
  float: right;
  margin: 10px 20px;
}

figure.img-center {
  margin: 10px 20px;
  text-align: center;
}

figure a:after {
  content: url('../images/loupe.png');
  position: absolute;
  top: 3px;
  left: 3px;
  opacity: 0.5;
}

figure a:hover:after {
  opacity: 1;
}

figure img {
  vertical-align: bottom;
  width: 100%;
}

img.size-middle {
  width: 300px;
}
  @media (max-width: 580px) { 
    img.size-middle {
      width: 100%;
    }
  }

figure figcaption {
  background-color: rgb(70, 70, 70);
  font-size: 0.8em;
  text-align: right;
  padding: 2px 5px 2px 0;
  color: rgb(255, 255, 255);
}

/* Listen */
article ul {
  padding: 10px 10px 10px 30px;
  list-style: none;
}

article ul li {
  padding: 3px 0 3px 12px;
  background-image: url(../images/list_style.png);
  background-repeat: no-repeat;
  background-position: 0px 13px;
}

article ul.no-list-style li {
  background-image: none;
}

article ul.personen {
  padding-left: 0px;
  margin: 0 auto;
  text-align: center;
}

article ul.personen:after {
  content: "";
  display: block;
  clear: both;
}

article ul.personen li {
  background-image: none;
  float: left;
  padding: 0px 0 15px;
  width: 326px;
  min-height: 250px; /* wenn der Name über zwei zeilen geht */
  font-size: 0.9em;
  text-align: left;
}

article ul.personen li figure {
  float: left;
  margin-right: 10px;
}

article ul.personen li figure img {
  width: 140px;
}

article ul.personen li figure figcaption {
  width: 140px;
  font-size: 0.7em;
}

article ul.personen li p:first-of-type {
  padding-top: 40px;
}

article ul.personen li p.mail {
  padding-top: 40px;
  font-size: 0.8em;
}

article dl {
  padding: 10px 10px 10px 30px;
}

article dt {
  font-size: 1.2em;
  color: rgb(181, 14, 25);
  font-weight: 600;
  padding-top: 5px;
}

article dd {
  padding: 6px 50px;
}

article ol {
  padding: 10px 30px 10px;
}

article ol > li {
  padding: 3px 0;
}

/* Tabellen */
article table {
  width: 80%;
  margin: 20px auto;
  border: 1px solid rgb(210, 210, 210);
  background-color: rgb(230, 230, 230);
}
  @media (max-width: 1710px) { 
    article table {
      width: 90%;
    }
  }
    @media (max-width: 1530px) { 
      article table {
        font-size: 0.9em;
      }
    }
      @media (max-width: 1090px) { 
        article table {
          width: 100%;
        }
      }

article table.mitarbeiter td {
  vertical-align: middle;
}

article table.mitarbeiter td:nth-child(1) {
  width: 20%;
}
  @media (max-width: 980px) { 
    article table.mitarbeiter td:nth-child(1) {
      width: auto;
    }
  }
  
article table.mitarbeiter td:nth-child(2) {
  width: 1%;
}
  @media (max-width: 980px) { 
    article table.mitarbeiter td:nth-child(2) {
      width: auto;
    }
  }
  
article table.mitarbeiter td:nth-child(3) {
  width: 24%;
}
  @media (max-width: 980px) { 
    article table.mitarbeiter td:nth-child(3) {
      width: auto;
    }
  }
  
article table.mitarbeiter td:nth-child(4) {
  width: 25%;
}
  @media (max-width: 980px) { 
    article table.mitarbeiter td:nth-child(4) {
      width: auto;
    }
  }
  
article table.mitarbeiter td:nth-child(5) {
  width: 27%;
}
  @media (max-width: 980px) { 
    article table.mitarbeiter td:nth-child(5) {
      width: auto;
    }
  }
  
table.mitarbeiter img {
  height: 50px;
  width: auto;
  vertical-align: middle;
}

article table tr:nth-child(2n-1) {
  background-color: rgb(255, 255, 255);
}

article table th {
  padding: 5px 10px;
  text-align: center;
  background-color: rgb(70, 70, 70);
  font-size: 1.1em;
  color: rgb(255, 255, 255);
  font-weight: 300;
}

article table tr > th:first-of-type {
  text-align: left;
}
  @media (max-width: 980px) { 
    article table tr > th:first-of-type {
      text-align: center;
    }
  }
  
article table td {
  padding: 4px 10px;
  text-align: center;
}

article table tr > td:first-of-type {
  text-align: left;
}
  @media (max-width: 980px) { 
    article table tr > td:first-of-type {
      text-align: center;
    }
  }
  
article table td strong {
  font-weight: 600;
}

article table td p {
  font-size:0.8em;
  padding: 3px 10px;
}

/* Zitate */
article blockquote {
  font-style: italic;
  width: 80%;
  margin: 10px auto;
}

article blockquote footer {
  font-style: normal;
  font-size: 0.8em;
  margin: 5px auto;
}

/* 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;
}

div.archive li {
  background-image: none;
}

div.pagination ul li {
  display: inline-block;
}

/* Impressum */
div#medieninhaber p, div#medieninhaber dl {
  padding-left: 30px;
}

div#haftungsausschluss p  {
  font-size: 0.9em;
}

/* JEvents ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
div#jevents_header {
  background-color: rgb(204, 204, 204);
  font-size: 1.7em;
  padding: 10px 20px;
  line-height: 0.9em;
}

div#jevents_body {
  background-color: rgb(247, 247, 248);
  padding: 20px 40px;
}
  @media (max-width: 800px) { 
    div#jevents_body {
      padding: 10px 20px;
    }
  }

div#jevents_body table {
  background-color: rgb(255, 255, 255);
  padding: 20px 40px;
}

/* Footer ================================================================================================= */
footer {
  margin: 30px 13% 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  position: relative;
  clear: both;
}
  @media (max-width: 1440px) { 
    footer {
      margin: 30px 4% 30px;
    }
  }
    @media (max-width: 1160px) { 
      footer {
        margin: 30px 2% 30px;
      }
    }
      @media (max-width: 800px) { 
        footer {
          display: block;
        }
      }

/* Event ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
footer div.custom-event {
  position: relative;
  -webkit-flex: 0 1 59%;
  -ms-flex: 0 1 59%;
  flex-basis: 59%;
  background-color: rgb(242, 242, 242);
}
  @media (max-width: 1024px) { 
    footer div.custom-event {
      -webkit-flex: 0 1 59.5%;
      -ms-flex: 0 1 59.5%;
      flex-basis: 59.5%;
    }
  }
    @media (max-width: 800px) { 
      footer div.custom-event {
        margin-bottom: 30px;
      }
    }
  
footer div.custom-event img {
  float: left;
  padding-right: 30px;
  width: 50%;
  max-width: 315px;
}
  @media (max-width: 1110px) { 
    footer div.custom-event img {
      width: 40%;
    }
  }

footer div.custom-event h1 {
  font-weight: 400;
  background-color: rgb(181, 14, 25);
  color: rgb(230, 230, 230);
  font-size: 1.4vw;
  padding: 7px 20px;
}
  @media (max-width: 1200px) { 
    footer div.custom-event h1 {
      font-size: 1.1em;
    }
  }

footer div.custom-event p {
  padding: 6px 20px;
}

footer div.custom-event p:first-child {
  padding: 0;
}

footer ul {
  padding: 10px 10px 10px 30px;
  list-style: none;
}

footer ul li {
  padding: 3px 0 3px 12px;
}

footer ul.links li {
  background-image: none;
}

footer ul.links a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

footer ul.links a:hover {
  color: rgb(17, 17, 238);
  text-decoration: underline;
}

/* Adresse ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
footer div.custom-address {
  position: relative;
  width: 38.5%;
  background-color: rgb(242, 242, 242);
  padding-bottom: 10px;
}
  @media (max-width: 1024px) { 
    footer div.custom-address {
      width: 39.2%;
    }
  }
    @media (max-width: 800px) { 
      footer div.custom-address {
        width: 100%;
      }
    }
  
footer div.custom-address h1 {
  font-weight: 400;
  background-color: rgb(181, 14, 25);
  color: rgb(230, 230, 230);
  font-size: 1.2vw;
  padding: 7px 30px;
}
  @media (max-width: 1200px) { 
    footer div.custom-address h1 {
      font-size: 1.1em;
    }
  }

footer div.custom-address p {
  padding: 6px 30px;
}

p#impressum {
  position: absolute;
  bottom: 10px;
  right: 0px;
}

p#impressum  a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

p#impressum  a:hover {
  color: rgb(17, 17, 238);
  text-decoration: underline;
}

/* Logos ======================================================================================================= */
aside#logo-1, aside#logo-2 {
  position: absolute;
  top: 400px;
  width: 13%;
  text-align: center;
}
  @media (max-width: 1600px) { 
    aside#logo-1, aside#logo-2 {
      top: 350px;
    }
  }
    @media (max-width: 1440px) { 
      aside#logo-1, aside#logo-2 {
        position: static;
        width: 92%;
        margin: 30px 4%;
      }
    }
      @media (max-width: 1160px) { 
        aside#logo-1, aside#logo-2 {
          width: 96%;
          margin: 30px 2%;
        }
      }
  
aside#logo-1 {
  left: 0;
}

aside#logo-2 {
  right: 0;
}

@media (max-width: 1440px) { 
  aside#logo-1 div, aside#logo-2 div {
    display: block;
  }
}

aside#logo-1 p, aside#logo-2 p  {
  padding: 10px 0;
}
  @media (max-width: 1440px) { 
    aside#logo-1 p, aside#logo-2 p {
      padding: 0 20px;
      display: inline;
    }
  }

@media (max-width: 1440px) { 
  aside#logo-1 p img, aside#logo-2 p img {
    vertical-align: middle;
  }
}
    
aside#logo-1 p:first-child, aside#logo-2 p:first-child {
  padding-top: 0;
}

